Don't read past end of pattern in fnmatch (BZ #17062)
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-18  Andreas Schwab  <schwab@suse.de>
2
3         [BZ #17062]
4         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5         of a bracket expr not to run off the end of the string.
6         * posix/Makefile (tests): Add tst-fnmatch3.
7         * posix/tst-fnmatch3.c: New file.
8
9 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10
11         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13         [$(cross-compiling) = no]: Likewise.
14         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15         [$(cross-compiling) = no]: Likewise.
16
17 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18
19         [BZ #17031]
20         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
21         double, adjusted for any remainder from the high double.
22         * math/libm-test.inc (nearbyint): Add tests.
23         (rint): Likewise.
24
25 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26
27         * nptl/sysdeps/powerpc/Makefile: Moved ...
28         * sysdeps/powerpc/nptl/Makefile: ... here.
29         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37         * nptl/sysdeps/powerpc/tls.h: Moved ...
38         * sysdeps/powerpc/nptl/tls.h: ... here.
39
40 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
41
42         [BZ #16681]
43         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
45         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
46         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
47         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
51         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
52
53 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
54
55         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
56
57 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
58
59         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
60         defined operator.
61
62         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
63         $TIMEOUTFACTOR.
64
65 2014-06-16  Florian Weimer  <fweimer@redhat.com>
66
67         [BZ #17058]
68         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
69         non-executed part of the test.
70
71 2014-06-16  Andreas Schwab  <schwab@suse.de>
72
73         * string/bits/string2.h (strdup, strndup): Update feature guard.
74
75 2014-06-14  David S. Miller  <davem@davemloft.net>
76
77         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78
79 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
80
81         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
82         that was previously under [RESET_PID].
83         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
84
85         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
86         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
87         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
88         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
89         (__libc_vfork): New strong alias.
90         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
91
92 2014-06-14 Andi Kleen  <ak@linux.intel.com>
93
94         * sysdeps/generic/elide.h: New file.
95
96 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
97
98         * Makefile (installed-headers): Adjust path of pthread.h header.
99
100 2014-06-13  Roland McGrath  <roland@hack.frob.com>
101
102         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
103         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
104         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
105         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
106
107         * nptl/sysdeps/s390/Makefile: Moved ...
108         * sysdeps/s390/nptl/Makefile: ... here.
109         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
110         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
111         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
112         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
113         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
114         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
115         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
116         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
117         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
118         * sysdeps/s390/nptl/pthreaddef.h: ... here.
119         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
120         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
121         * nptl/sysdeps/s390/tls.h: Moved ...
122         * sysdeps/s390/nptl/tls.h: ... here.
123
124         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
125         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
126
127 2014-06-13  David S. Miller  <davem@davemloft.net>
128
129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
132         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
136         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
137         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
138         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
139         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
140         Remove RESET_PID cpp guards.
141         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
142         Remove RESET_PID cpp guards.
143         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
144
145 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
146
147         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
148         __sp to uintptr_t.
149
150 2014-06-13  Andi Kleen  <ak@linux.intel.com>
151
152         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
153         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
154         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
155         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
156         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
157         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
158         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
159         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
160         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
161         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
162         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
163         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
164         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
165         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
166         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
167         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
168         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
169         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
170         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
171         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
172
173         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
174         (pthread_rwlock_rdlock): Add elision.
175         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
176         (pthread_rwlock_wrlock): Add elision.
177         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
178         (pthread_rwlock_trywrlock): Add elision.
179         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
180         (pthread_rwlock_tryrdlock): Add elision.
181         * nptl/pthread_rwlock_unlock.c: Include elide.h.
182         (pthread_rwlock_tryrdlock): Add elision unlock.
183         * nptl/sysdeps/pthread/pthread.h:
184         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
185         (PTHREAD_RWLOCK_INITIALIZER,
186         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
187         Handle new elision field.
188         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
189         * sysdeps/arm/nptl/bits/pthreadtypes.h
190         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
191         * sysdeps/sh/nptl/bits/pthreadtypes.h
192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
193         * sysdeps/tile/nptl/bits/pthreadtypes.h
194         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
195         * sysdeps/a/nptl/bits/pthreadtypes.h
196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
197         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
198         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
199         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
200         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
201         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
202         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
203         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
204         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
205         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
207         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
208         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
209         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
210         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
211         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
213         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
214         (elision_init): Set try_xbegin to zero when no RTM.
215         * sysdeps/x86/nptl/bits/pthreadtypes.h
216         (pthread_rwlock_t): Change __pad1 to __rwelision.
217         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
218
219 2014-06-13  Andi Kleen  <ak@linux.intel.com>
220
221         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
222         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
223         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
224         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
225
226 2014-06-13  Meador Inge  <meadori@codesourcery.com>
227
228         [BZ #16996]
229         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
230         that the cached result has been set before returning it.
231
232 2014-06-12  Roland McGrath  <roland@hack.frob.com>
233
234         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
235         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
236         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
237         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
238         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
239         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
240
241         * nptl/sysdeps/sparc/Makefile: Moved ...
242         * sysdeps/sparc/nptl/Makefile: ... here.
243         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
244         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
245         * nptl/sysdeps/sparc/tls.h: Moved ...
246         * sysdeps/sparc/nptl/tls.h: ... here.
247         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
248         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
249         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
250         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
251         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
252         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
253         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
254         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
255         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
256         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
257         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
258         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
259         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
260         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
261         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
262         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
263         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
264         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
265         Update #include.
266         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
267         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
268         Update #include.
269         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
270         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
271         Update #include.
272         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
273         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
274         Update #include.
275
276         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
277
278         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
279         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
280
281         * sysdeps/pthread/posix-timer.h: Include <list.h>.
282         (struct list_links): Type removed.
283         (struct thread_node, struct timer_node): Replace struct list_links
284         with struct list_head.
285         (list_unlink_ip): Likewise.
286         * sysdeps/pthread/timer_routines.c
287         (timer_free_list, thread_free_list, thread_active_list): Likewise.
288         (list_append, list_insbefore): Likewise.
289         (list_init): Function removed.
290         (thread_init, init_module): Use INIT_LIST_HEAD instead.
291         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
292         * sysdeps/pthread/Makefile: ... here, new file.
293
294         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
295         * sysdeps/nptl/Implies: ... here.
296         * sysdeps/unix/sysv/linux/Implies: Add nptl.
297         * nptl/sysdeps/pthread/list.h: Moved ...
298         * include/list.h: ... here.
299         * nptl/sysdeps/pthread/createthread.c: Moved ...
300         * nptl/createthread.c: ... here.
301         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
302         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
303         * nptl/pt-longjmp.c: ... here.
304         * nptl/sysdeps/pthread/Makefile: Moved ...
305         * sysdeps/nptl/Makefile: ... here.
306         * nptl/sysdeps/pthread/Subdirs: Moved ...
307         * sysdeps/nptl/Subdirs: ... here.
308         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
309         * sysdeps/nptl/aio_misc.h: ... here.
310         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
311         * sysdeps/nptl/bits/libc-lock.h: ... here.
312         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
313         * sysdeps/nptl/bits/libc-lockP.h: ... here.
314         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
315         * sysdeps/nptl/bits/stdio-lock.h: ... here.
316         * nptl/sysdeps/pthread/configure: Moved ...
317         * sysdeps/nptl/configure: ... here.
318         * nptl/sysdeps/pthread/configure.ac: Moved ...
319         * sysdeps/nptl/configure.ac: ... here.
320         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
321         * sysdeps/nptl/gai_misc.h: ... here.
322         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
323         * sysdeps/nptl/librt-cancellation.c: ... here.
324         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
325         * sysdeps/nptl/malloc-machine.h: ... here.
326         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
327         * sysdeps/nptl/pthread-functions.h: ... here.
328         * nptl/sysdeps/pthread/pthread.h: Moved ...
329         * sysdeps/nptl/pthread.h: ... here.
330         * nptl/sysdeps/pthread/setxid.h: Moved ...
331         * sysdeps/nptl/setxid.h: ... here.
332         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
333         * sysdeps/nptl/sigfillset.c: ... here.
334         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
335         * sysdeps/nptl/tcb-offsets.h: ... here.
336         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
337         * sysdeps/nptl/tst-mqueue8x.c: ... here.
338         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
339         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
340         * nptl/sysdeps/pthread/allocalim.h: Moved ...
341         * sysdeps/pthread/allocalim.h: ... here.
342         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
343         * sysdeps/pthread/bits/sigthread.h: ... here.
344         * nptl/sysdeps/pthread/flockfile.c: Moved ...
345         * sysdeps/pthread/flockfile.c: ... here.
346         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
347         * sysdeps/pthread/ftrylockfile.c: ... here.
348         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
349         * sysdeps/pthread/funlockfile.c: ... here.
350         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
351         * sysdeps/pthread/posix-timer.h: ... here.
352         * nptl/sysdeps/pthread/timer_create.c: Moved ...
353         * sysdeps/pthread/timer_create.c: ... here.
354         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
355         * sysdeps/pthread/timer_delete.c: ... here.
356         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
357         * sysdeps/pthread/timer_getoverr.c: ... here.
358         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
359         * sysdeps/pthread/timer_gettime.c: ... here.
360         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
361         * sysdeps/pthread/timer_routines.c: ... here.
362         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
363         * sysdeps/pthread/timer_settime.c: ... here.
364         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
365         * sysdeps/pthread/tst-timer.c: ... here.
366         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
367         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
368
369         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
370         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
371
372         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
373         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
374         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
375         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
376         Update #include target.
377         * nptl/sysdeps/i386/i686/Makefile: Moved ...
378         * sysdeps/i386/i686/nptl/Makefile: ... here.
379         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
380         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
381         Update #include target.
382         * nptl/sysdeps/i386/i686/tls.h: Moved ...
383         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
384         * nptl/sysdeps/i386/Makefile: Moved ...
385         * sysdeps/i386/nptl/Makefile: ... here.
386         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
387         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
388         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
389         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
390         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
391         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
392         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
393         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
394         * sysdeps/i386/nptl/pthreaddef.h: ... here.
395         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
396         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
397         * nptl/sysdeps/i386/tls.h: Moved ...
398         * sysdeps/i386/nptl/tls.h: ... here.
399
400         * sysdeps/sh/Makefile [$(subdir) = csu]
401         (gen-as-const-headers): Add tcb-offsets.sym.
402         * nptl/sysdeps/sh/Makefile: File removed.
403         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
404         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
405         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
406         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
407         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
408         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
409         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
410         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
411         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
412         * sysdeps/sh/nptl/pthreaddef.h: ... here.
413         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
414         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
415         * nptl/sysdeps/sh/tls.h: Moved ...
416         * sysdeps/sh/nptl/tls.h: ... here.
417         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
418         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
419         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
420         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
421         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
422         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
423         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
424         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
425         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
426         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
427         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
428         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
429         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
430         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
431         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
432         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
433         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
434         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
435         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
436         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
437         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
438         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
439         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
440         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
441         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
442         Moved ...
443         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
444         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
445         Moved ...
446         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
447         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
448         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
449         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
450         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
451         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
452         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
453         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
454         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
455         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
456         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
457         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
458         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
459         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
460         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
461         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
462         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
463         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
464         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
465
466 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
467
468         * posix/spawn_faction_addopen.c: Include string.h.
469
470 2014-06-11  Roland McGrath  <roland@hack.frob.com>
471
472         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
473         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
474         * nptl/sysdeps/x86_64/Makefile: Moved ...
475         * sysdeps/x86_64/nptl/Makefile: ... here.
476         * nptl/sysdeps/x86_64/configure: Moved ...
477         * sysdeps/x86_64/nptl/configure: ... here.
478         * nptl/sysdeps/x86_64/configure.ac: Moved ...
479         * sysdeps/x86_64/nptl/configure.ac: ... here.
480         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
481         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
482         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
483         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
484         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
485         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
486         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
487         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
488         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
489         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
490         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
491         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
492         * nptl/sysdeps/x86_64/tls.h: Moved ...
493         * sysdeps/x86_64/nptl/tls.h: ... here.
494         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
495         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
496         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
497         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
498
499         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
500
501 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
502
503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
504
505 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
506
507         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
508         type.
509         [POSIX] (off_t): Likewise.
510         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
511         [POSIX] (S_ISBLK): Require macro.
512         [POSIX] (S_ISCHR): Likewise.
513         [POSIX] (S_ISDIR): Likewise.
514         [POSIX] (S_ISFIFO): Likewise.
515         [POSIX] (S_ISREG): Likewise.
516         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
517         optional-macro.
518         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
519         type.
520         [POSIX] (time_t): Likewise.
521         [POSIX] (timer_t): Likewise.
522
523 2014-06-11  Florian Weimer  <fweimer@redhat.com>
524
525         [BZ #17048]
526         * posix/spawn_int.h (struct __spawn_action): Make the path string
527         non-const to support deallocation.
528         * posix/spawn_faction_addopen.c
529         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
530         * posix/spawn_faction_destroy.c
531         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
532         path in all spawn_do_open actions.
533         * posix/tst-spawn.c (do_test): Exercise the copy operation in
534         posix_spawn_file_actions_addopen.
535
536 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
537
538         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
539         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
540         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
541         conditional code always true.
542         (__libc_vfork): New alias.
543
544 2014-06-11  Roland McGrath  <roland@hack.frob.com>
545
546         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
547         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
548
549         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
550
551         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
552         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
553
554         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
555         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
556
557         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
558         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
559
560 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
561
562         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
563         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
564         multiarch strcmp for PPC64.
565         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
566         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
568         multiarch optimizations.
569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
570         (__libc_ifunc_impl_list): Likewise.
571
572 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
573
574         * benchtests/scripts/validate_benchout.py: New script.
575         * benchtests/Makefile (bench-func): Call it.
576         * benchtests/scripts/benchout.schema.json: New file.
577
578 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
579
580         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
581         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
582         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
583         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
584         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
585         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
586         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
587         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
588         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
589         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
590         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
591         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
592         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
593         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
594         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
595         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
597         Moved ...
598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
599         ... here.
600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
601         Moved ...
602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
604         Moved ...
605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
606         ... here.
607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
608         Moved ...
609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
610         ... here.
611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
612         Moved ...
613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
615         Moved ...
616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
617         ... here.
618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
619         Moved ...
620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
621         ... here.
622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
623         Moved ...
624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
626         Moved ...
627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
628         ... here.
629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
630         Moved ...
631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
632         ... here.
633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
634         Moved ...
635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
636         ... here.
637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
638         Moved ...
639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
641         Moved ...
642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
643         ... here.
644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
645         Moved ...
646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
647         ... here.
648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
649         Moved ...
650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
651         ... here.
652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
653         Moved ...
654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
656         Moved ...
657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
658         ... here.
659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
660         Moved ...
661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
662         ... here.
663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
664         Moved ...
665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
667         Moved ...
668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
669         ... here.
670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
671         Moved ...
672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
674         Moved ...
675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
677         Moved ...
678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
679         ... here.
680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
681         Moved ...
682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
683         ... here.
684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
685         Moved ...
686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
687         ... here.
688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
689         Moved ...
690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
692         Moved ...
693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
694         ... here.
695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
696         Moved ...
697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
698         ... here.
699         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
700         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
702         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
703         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
704         Moved ...
705         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
706         ... here.
707         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
708         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
710         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
711         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
712         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
713         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
714         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
715         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
716         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
718         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
719         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
720         Moved ...
721         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
722         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
723         Moved ...
724         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
726         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
727         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
728         Moved ...
729         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
731         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
732         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
733         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
734         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
735         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
736
737 2014-06-10  Wilco  <wdijkstr@arm.com>
738
739         * math/test-fenv-return.c: New file.
740         * math/Makefile: Add new test test-fenv-return.
741
742 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
743
744         [BZ #17042]
745         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
746         when x - 1 is zero.
747         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
748         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
749         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
750         0.0L for an argument of 1.0L.
751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
752         Likewise.
753         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
754         value when x - 1 is zero.
755         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
756         * sysdeps/i386/fpu/libm-test-ulps: Update.
757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
758
759 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
760
761         [BZ #15119]
762         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
763
764 2014-06-09  Roland McGrath  <roland@hack.frob.com>
765
766         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
767         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
768
769 2014-06-09  Roland McGrath  <roland@hack.frob.com>
770
771         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
772         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
773
774         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
775         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
776
777         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
778         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
779
780         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
781         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
782
783         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
784         if not already defined.
785         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
786         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
787         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
788         (TLS_INIT_TP): Use it.
789         (TLS_DEFINE_INIT_TP): New macro.
790         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
791
792 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
793
794         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
795         constant.
796         [POSIX] (IXANY): Likewise.
797         [POSIX] (OLCUC): Likewise.
798         [POSIX || POSIX2008] (CBAUD): Do not allow.
799         [POSIX || POSIX2008] (DEFECHO): Likewise.
800         [POSIX || POSIX2008] (ECHOCTL): Likewise.
801         [POSIX || POSIX2008] (ECHOKE): Likewise.
802         [POSIX || POSIX2008] (ECHOPRT): Likewise.
803         [POSIX || POSIX2008] (EXTA): Likewise.
804         [POSIX || POSIX2008] (EXTB): Likewise.
805         [POSIX || POSIX2008] (FLUSHO): Likewise.
806         [POSIX || POSIX2008] (LOBLK): Likewise.
807         [POSIX || POSIX2008] (PENDIN): Likewise.
808         [POSIX || POSIX2008] (SWTCH): Likewise.
809         [POSIX || POSIX2008] (VDISCARD): Likewise.
810         [POSIX || POSIX2008] (VDSUSP): Likewise.
811         [POSIX || POSIX2008] (VLNEXT): Likewise.
812         [POSIX || POSIX2008] (VREPRINT): Likewise.
813         [POSIX || POSIX2008] (VSTATUS): Likewise.
814         [POSIX || POSIX2008] (VWERASE): Likewise.
815         (B*): Change to B[0123456789]*.
816         * conform/data/time.h-data [POSIX || UNIX98]
817         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
818         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
819         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
820         [POSIX] (tm_*): Do not allow.
821
822 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
823
824         * Makefile (install): Don't set LANGUAGE.
825         * Makefile.in (install): Likewise.
826         * assert/Makefile (test-assert-ENV): Remove variable.
827         (test-assert-perr-ENV): Likewise.
828         * elf/Makefile (neededtest4-ENV): Likewise.
829         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
830         [$(cross-compiling) = no]: Don't set LANGUAGE.
831         * io/ftwtest-sh (LANG): Remove variable.
832         * libio/Makefile (tst-widetext-ENV): Likewise.
833         * manual/install.texi (Running make install): Don't refer to
834         environment settings for make install.
835         * INSTALL: Regenerated.
836         * nptl/tst-tls6.sh: Don't set LANG.
837         * posix/globtest.sh (LANG): Remove variable.
838         * string/Makefile (tester-ENV): Likewise.
839         (inl-tester-ENV): Likewise.
840         (noinl-tester-ENV): Likewise.
841         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
842         [$(cross-compiling) = no]: Don't set LANGUAGE.
843         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
844         without explicit environment settings.
845
846 2014-06-06  Roland McGrath  <roland@hack.frob.com>
847
848         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
849         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
850         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
851         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
852
853 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
854
855         * crypt/crypt-private.h [DOS]: Add some includes taken from the
856         other files in the crypt directory.
857         * crypt/crypt.c: Remove duplicate includes.
858         * crypt/crypt-entry.c: Likewise.
859         * crypt/crypt_util.c: Likewise.
860
861 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
862
863         * Makeconfig (run-program-env): New variable.
864         (run-program-prefix-before-env): Likewise.
865         (run-program-prefix-after-env): Likewise.
866         (run-program-prefix): Define in terms of new variables.
867         (built-program-cmd-before-env): New variable.
868         (built-program-cmd-after-env): Likewise.
869         (built-program-cmd): Define in terms of new variables.
870         (test-program-prefix-before-env): New variable.
871         (test-program-prefix-after-env): Likewise.
872         (test-program-prefix): Define in terms of new variables.
873         (test-program-cmd-before-env): New variable.
874         (test-program-cmd-after-env): Likewise.
875         (test-program-cmd): Define in terms of new variables.
876         * Rules (make-test-out): Use $(run-program-env).
877         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
878         (help): Do not mention environment variables.  Mention
879         --timeoutfactor option.
880         (timeoutfactor): New variable.
881         (blacklist_exports): Remove function.
882         (exports): Remove variable.
883         (command): Do not include ${exports}.
884         * manual/install.texi (Configuring and compiling): Do not mention
885         test wrappers preserving environment variables.  Mention that last
886         assignment to a variable must take precedence.
887         * INSTALL: Regenerated.
888         * benchtests/Makefile (run-bench): Use $(run-program-env).
889         * catgets/Makefile ($(objpfx)test1.cat): Use
890         $(built-program-cmd-before-env), $(run-program-env) and
891         $(built-program-cmd-after-env).
892         ($(objpfx)test2.cat): Do not specify environment variables
893         explicitly.
894         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
895         $(run-program-env) and $(built-program-cmd-after-env).
896         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
897         $(run-program-env) and $(test-program-cmd-after-env).
898         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
899         explicitly.
900         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
901         run_program_env and test_program_cmd_after_env arguments.
902         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
903         * elf/tst-pathopt.sh: Use run_program_env argument.
904         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
905         $(test-wrapper-env) and $(run-program-env).
906         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
907         run_program_env arguments.
908         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
909         * intl/Makefile ($(objpfx)tst-gettext.out): Use
910         $(test-program-prefix-before-env), $(run-program-env) and
911         $(test-program-prefix-after-env).
912         ($(objpfx)tst-gettext2.out): Likewise.
913         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
914         run_program_env and test_program_prefix_after_env arguments.
915         * intl/tst-gettext2.sh: Likewise.
916         * intl/tst-gettext4.sh: Do not set environment variables
917         explicitly.
918         * intl/tst-gettext6.sh: Likewise.
919         * intl/tst-translit.sh: Likewise.
920         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
921         $(test-program-prefix-before-env), $(run-program-env) and
922         $(test-program-prefix-after-env).
923         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
924         run_program_env and test_program_prefix_after_env arguments.
925         * math/Makefile (run-regen-ulps): Use $(run-program-env).
926         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
927         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
928         explicitly with each use of ${test_wrapper_env}.
929         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
930         $(test-program-prefix-before-env), $(run-program-env) and
931         $(test-program-prefix-after-env).
932         * posix/tst-getconf.sh: Do not set environment variables
933         explicitly.
934         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
935         run_program_env and test_program_prefix_after_env arguments.
936         * stdio-common/tst-printf.sh: Do not set environment variables
937         explicitly.
938         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
939         $(test-program-prefix-before-env), $(run-program-env) and
940         $(test-program-prefix-after-env).
941         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
942         run_program_env and test_program_prefix_after_env arguments.
943         Split $test calls into $test_pre and $test.
944         * timezone/Makefile (build-testdata): Use
945         $(built-program-cmd-before-env), $(run-program-env) and
946         $(built-program-cmd-after-env).
947
948 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
949
950         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
951         strlen for non SHARED builds.
952
953 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
954
955         * nptl/allocatestack.c (check_list): Inlined function...
956         (__reclaim_stacks): ... here.
957
958 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
959
960         [BZ #15698]
961         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
962         memory overrun.
963
964 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
965
966         * Rules (make-test-out): Include
967         LOCPATH=$(common-objpfx)localedata in default environment.
968         * debug/Makefile (tst-chk1-ENV): Remove variable.
969         (tst-chk2-ENV): Likewise.
970         (tst-chk3-ENV): Likewise.
971         (tst-chk4-ENV): Likewise.
972         (tst-chk5-ENV): Likewise.
973         (tst-chk6-ENV): Likewise.
974         (tst-lfschk1-ENV): Likewise.
975         (tst-lfschk2-ENV): Likewise.
976         (tst-lfschk3-ENV): Likewise.
977         (tst-lfschk4-ENV): Likewise.
978         (tst-lfschk5-ENV): Likewise.
979         (tst-lfschk6-ENV): Likewise.
980         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
981         (tst-iconv7-ENV): Likewise.
982         * intl/Makefile (LOCPATH-ENV): Likewise.
983         (tst-codeset-ENV): Likewise.
984         (tst-gettext3-ENV): Likewise.
985         (tst-gettext5-ENV): Likewise.
986         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
987         (tst-fopenloc-ENV): Likewise.
988         (tst-fgetws-ENV): Remove variable.
989         (tst-ungetwc1-ENV): Likewise.
990         (tst-ungetwc2-ENV): Likewise.
991         (bug-ungetwc2-ENV): Likewise.
992         (tst-swscanf-ENV): Likewise.
993         (bug-ftell-ENV): Likewise.
994         (tst-fgetwc-ENV): Likewise.
995         (tst-fseek-ENV): Likewise.
996         (tst-ftell-partial-wide-ENV): Likewise.
997         (tst-ftell-active-handler-ENV): Likewise.
998         (tst-ftell-append-ENV): Likewise.
999         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1000         (tst-regexloc-ENV): Likewise.
1001         (bug-regex1-ENV): Likewise.
1002         (tst-regex-ENV): Likewise.
1003         (tst-regex2-ENV): Likewise.
1004         (bug-regex5-ENV): Likewise.
1005         (bug-regex6-ENV): Likewise.
1006         (bug-regex17-ENV): Likewise.
1007         (bug-regex18-ENV): Likewise.
1008         (bug-regex19-ENV): Likewise.
1009         (bug-regex20-ENV): Likewise.
1010         (bug-regex22-ENV): Likewise.
1011         (bug-regex23-ENV): Likewise.
1012         (bug-regex25-ENV): Likewise.
1013         (bug-regex26-ENV): Likewise.
1014         (bug-regex30-ENV): Likewise.
1015         (bug-regex32-ENV): Likewise.
1016         (bug-regex33-ENV): Likewise.
1017         (bug-regex34-ENV): Likewise.
1018         (bug-regex35-ENV): Likewise.
1019         (tst-rxspencer-ENV): Likewise.
1020         (tst-rxspencer-no-utf8-ENV): Likewise.
1021         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1022         (tst-sscanf-ENV): Likewise.
1023         (tst-swprintf-ENV): Likewise.
1024         (tst-swscanf-ENV): Likewise.
1025         (test-vfprintf-ENV): Likewise.
1026         (scanf13-ENV): Likewise.
1027         (bug14-ENV): Likewise.
1028         (tst-grouping-ENV): Likewise.
1029         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1030         (tst-strtod3-ENV): Likewise.
1031         (tst-strtod4-ENV): Likewise.
1032         (tst-strtod5-ENV): Likewise.
1033         (testmb2-ENV): Likewise./
1034         * string/Makefile (tst-strxfrm-ENV): Likewise.
1035         (tst-strxfrm2-ENV): Likewise.
1036         (bug-strcoll1-ENV): Likewise.
1037         (test-strcasecmp-ENV): Likewise.
1038         (test-strncasecmp-ENV): Likewise.
1039         * time/Makefile (tst-strptime-ENV): Likewise.
1040         (tst-ftime_l-ENV): Likewise.
1041         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1042         (tst-mbrtowc-ENV): Likewise.
1043         (tst-wcrtomb-ENV): Likewise.
1044         (tst-mbrtowc2-ENV): Likewise.
1045         (tst-c16c32-1-ENV): Likewise.
1046         (tst-mbsnrtowcs-ENV): Likewise.
1047
1048 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1049
1050         * manual/resource.texi (How to get information about the memory
1051         subsystem?): Fix typo.
1052         Reported by Peon de la Parra Ivan <peon@keba.com>
1053
1054 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1055
1056         [BZ #16882]
1057         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1058         (pthread_spin_lock): Branch out of spin loop to proper location.
1059         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1060         (pthread_spin_lock): Likewise.
1061
1062         * nptl/tst-spin4.c: New test.
1063         * nptl/Makefile (tests): Add tst-spin4.
1064
1065 2014-06-03  Andreas Schwab  <schwab@suse.de>
1066
1067         [BZ #15946]
1068         * resolv/res_send.c (send_dg): Reload file descriptor after
1069         calling reopen.
1070
1071 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1072
1073         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1074
1075 2014-06-03  Richard Henderson  <rth@redhat.com>
1076
1077         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1078         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1079         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1080         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1081         in the SAVE_PID block.
1082         (__libc_vfork): New alias.
1083         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1084
1085         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1086         child in registers, not on the stack.  Remove RESET_PID conditionals.
1087         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1088
1089 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1090
1091         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1092
1093 2014-06-03  Wilco  <wdijkstr@arm.com>
1094
1095         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1096         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1097         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1098         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1099         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1100         Likewise.
1101
1102 2014-06-03  Wilco  <wdijkstr@arm.com>
1103
1104         * sysdeps/aarch64/fpu/math_private.h
1105         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1106         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1107         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1108         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1109         Fix declarations.
1110
1111 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1112
1113         * crypt/crypt-private.h: Include ufc-crypt.h.
1114         (__b64_from_24bit): Declare extern.
1115         * crypt/crypt_util.c(__b64_from_24bit): New function.
1116         (b64t): New static const variable.
1117         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1118         (b64t): Remove variable.
1119         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1120         * crypt/sha256-crypt.c: Include crypt-private.h.
1121         (b64t): Remove variable.
1122         (__sha256_crypt_r): Remove b64_from_24bit and replace
1123         with __b64_from_24bit.
1124         * crypt/sha512-crypt.c: Likewise.
1125
1126 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1127
1128         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1129         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1130         Label the code __libc_vfork rather than __vfork.
1131         [!NOT_IN_libc] (vfork): Define as weak alias.
1132         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1133         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1134         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1135
1136 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1137
1138         * malloc/malloc.c (malloc_info): Fix format specifier for
1139         n_mmaps.
1140
1141 2014-06-02  Wilco  <wdijkstr@arm.com>
1142
1143         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1144         FPCR write.
1145
1146 2014-06-02  Wilco  <wdijkstr@arm.com>
1147
1148         [BZ #17009]
1149         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1150         Rewrite to reduce FPCR/FPSR accesses.
1151
1152 2014-06-01  David S. Miller  <davem@davemloft.net>
1153
1154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1155
1156 2014-05-31  David S. Miller  <davem@davemloft.net>
1157
1158         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1159         to occur in round to nearest mode when |x| >= 2.0
1160
1161 2014-05-30  Richard Henderson  <rth@twiddle.net>
1162
1163         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1164         (PSEUDO_RET_NOERRNO): Remove.
1165         (ret): Don't redefine.
1166         (ret_NOERRNO): Define in terms of ret.
1167         (ret_ERRVAL): Likewise.
1168
1169         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1170         use of PSEUDO_RET; perform the error check directly.
1171
1172 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1173
1174         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1175         with __int128_t.
1176
1177 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1178
1179         * malloc/malloc (malloc_info): Fix formatting.
1180
1181 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1182             Roland McGrath  <roland@hack.frob.com>
1183
1184         * malloc/malloc (malloc_info): Also print mmapped statistics.
1185
1186 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1187
1188         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1189         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1190
1191 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1192
1193         * malloc/malloc.c (malloc_info): Inline mi_arena.
1194
1195 2014-05-29  Richard Henderson  <rth@twiddle.net>
1196
1197         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1198         Remove comma before expanding ASM_ARGS_##nr.
1199         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1200         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1201         of ASM_ARGS_##nr.
1202         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1203         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1204         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1205         (ASM_ARGS_1): Add leading comma.
1206
1207         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1208         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1209         to __errno_location.
1210         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1211         Remove the expected plt for __errno_location.
1212
1213         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1214         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1215         call to __read_tp.
1216
1217         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1218         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1219         it and break it down.
1220         (DOCARGS_0, DOCARGS_1): Do nothing.
1221         (DOCARGS_2): Update to store into the new stack frame.
1222         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1223         (UNDOCARGS_1): Update to restore from the new stack frame.
1224         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1225         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1226
1227         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1228         (SINGLE_THREAD_P): New parameter for result regno.
1229         (PSEUDO): Update to match; use cbz instead of beq.
1230
1231         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1232         Use ENTRY to define the _nocancel entry point.  Share the syscall
1233         and syscall error check paths with the cancel path.
1234         (PSEUDO_END): New.
1235
1236         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1237         whitespace; tabs before and after asm mnemonics.
1238
1239 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1240
1241         [BZ #15132]
1242         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1243         Call fstat64 or stat64 internally, depending on arguments passed.
1244         Replace stat buffer argument with file descriptor argument.
1245         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1246         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1247         Pass fd to __internal_statvfs instead of calling fstat64.
1248         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1249         Pass fd to __internal_statvfs64 instead of calling fstat64.
1250         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1251         Pass -1 to __internal_statvfs instead of calling stat64.
1252         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1253         Pass -1 to __internal_statvfs64 instead of calling stat64.
1254
1255 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1256
1257         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1258         that was previously under [RESET_PID].
1259         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1260
1261         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1262         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1263
1264 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1265
1266         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1267
1268         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1269         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1270
1271 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1272
1273         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1274
1275 2014-05-27  Andreas Schwab  <schwab@suse.de>
1276
1277         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1278         TLS_INIT_TP macro.
1279         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1280         * elf/rtld.c (init_tls, dl_main): Likewise.
1281         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1282         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1283         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1284         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1285         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1286         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1287         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1288         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1289         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1290         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1291         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1292         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1293         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1294         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1295         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1296         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1297         * sysdeps/generic/tls.h: Update description.
1298
1299 2014-05-27  Will Newton  <will.newton@linaro.org>
1300
1301         [BZ #16990]
1302         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1303         and restore r2 rather than just restoring.
1304
1305 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1306
1307         [BZ #16724]
1308         * libio/tst-ftell-append.c: New test case.
1309         * libio/Makefile (tests): Add test case.
1310         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1311         append mode.
1312         * libio/wfileops.c (do_ftell_wide): Likewise.
1313
1314 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1315
1316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1317
1318         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1319         ...
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1322         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1323         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1324         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1325         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1326         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1327         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1329         Moved ...
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1332         Moved ...
1333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1334         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1335         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1336         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1337         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1338         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1339         ...
1340         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1341         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1342         Moved ...
1343         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1344         here.
1345         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1346         ...
1347         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1348         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1349         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1350
1351         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1352         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1353         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1354         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1355
1356         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1357         merge into ...
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1359         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1360         ...
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1362         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1363         ...
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1365         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1366         Moved ...
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1368         here.
1369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1370         Moved ...
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1373         Moved ...
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1375
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1377         conditional [RESET_PID].
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1380         removed.
1381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1382         removed.
1383
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1385         <tcb-offsets.h>.
1386         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1387         (__libc_vfork): New strong alias.
1388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1389         removed.
1390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1391         Removed.
1392
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1394         <tcb-offsets.h>.
1395         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1396         (__libc_vfork): New strong alias.
1397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1398         removed.
1399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1400         removed.
1401
1402 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1403
1404         * malloc/malloc.c (mi_arena): New function.
1405         (malloc_info): Remove nested function mi_arena. Call non-nosted
1406         function mi_arena.
1407
1408 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1409
1410         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1411         by insrwi.
1412         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1413         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1414         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1415         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1416         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1417         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1418         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1419
1420 2014-05-26  Andreas Schwab  <schwab@suse.de>
1421
1422         [BZ #16984]
1423         * locale/programs/repertoire.c (repertoire_read): Add slash
1424         between I18NPATH element and file name.
1425         * locale/programs/locfile.c (locfile_read): Likewise.
1426
1427 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1428
1429         * nptl/pthread_mutexattr_settype.c
1430         (__pthread_mutexattr_settype):
1431         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1432
1433 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1434
1435         * nptl/tst-mutex5 (do_test):
1436         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1437
1438 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1439
1440         * benchtests/README: Document 'init' directive.
1441         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1442         BENCH_INIT.
1443         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1444         (parse_file): Recognize 'init' directive.
1445
1446 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1447
1448         [BZ #16796]
1449         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1450         alignment of struct pthread.
1451
1452 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1453
1454         [BZ #16878]
1455         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1456         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1457         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1458         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1459
1460 2014-05-25  Richard Henderson  <rth@twiddle.net>
1461
1462         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1463         (SINGLE_THREAD_P_PIC): Remove.
1464         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1465         (SINGLE_THREAD_P_PIC): Remove.
1466
1467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1468         branch to syscall error ...
1469         (PSEUDO): ... here.
1470         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1471         from __local_syscall_error to .Lsyscall_error.
1472         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1473         (SYSCALL_ERROR): Update label name.
1474
1475         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1476         Do not use DOARGS/UNDOARGS.
1477         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1478         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1479         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1480         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1481         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1482
1483         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1484         block comment.
1485
1486         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1487         define if !NOT_IN_libc.
1488         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1489         define with non-default symbol versions.
1490
1491 2014-05-23  Richard Henderson  <rth@twiddle.net>
1492
1493         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1494         (vfork, __vfork): Define via compat_symbol.
1495
1496         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1497         [!HAVE_IFUNC] (vfork_compat): Remove.
1498         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1499
1500 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1501
1502         [BZ #16978]
1503         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1504         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1505         variable.
1506
1507 2014-05-23  Richard Henderson  <rth@twiddle.net>
1508
1509         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1510         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1511         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1512         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1513
1514         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1515         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1516         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1517         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1518         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1519         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1520         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1521         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1522         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1523         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1524         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1525         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1526         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1527         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1528         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1529         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1530         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1531         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1532         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1533         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1534         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1535         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1536         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1537         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1538         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1539         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1540         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1541         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1542         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1543         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1544         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1545         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1547         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1548         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1549         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1550         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1551         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1552         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1553         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1554         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1555         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1556         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1557         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1558         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1559         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1561         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1562         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1563         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1564         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1565         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1566         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1567         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1568         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1569         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1570
1571         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1572         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1573         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1574         before exiting on error.
1575         (__libc_vfork): New strong alias.
1576         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1577         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1578
1579         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1580         that was previously under [RESET_PID].
1581         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1582
1583         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1584
1585 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1586
1587         [BZ #16977]
1588         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1589         value when x - 1 is zero.
1590         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1591         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1592         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1593         0.0L for an argument of 1.0L.
1594         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1595         Likewise.
1596         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1597         value when x - 1 is zero.
1598         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1599         * sysdeps/i386/fpu/libm-test-ulps: Update.
1600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1601
1602 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1603
1604         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1605         alphasort and versionsort.
1606
1607 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1608
1609         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1610         macro.
1611         [copysignf]: Likewise.
1612
1613 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1614
1615         * crypt/md5-crypt.c: Fix formatting.
1616
1617 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1618
1619         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1620         (b64_from_24bit): New function.
1621
1622 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1623
1624         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1625         libc_hidden_builtin_def to ifunc.
1626         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1627         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1628
1629 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1630
1631         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1632         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1633
1634 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1635
1636         * nscd/Depend (linuxthreads): Remove.
1637         (nptl): Add.
1638         * resolv/Depend (linuxthreads): Remove.
1639         * rt/Depend (linuxthreads): Remove.
1640
1641         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1642         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1643         $(common-objpfx)elf/.
1644         (link-libc-before-gnulib): Likewise.
1645         (elfobjdir): Remove variable.
1646         * Makefile (install): Use $(elf-objpfx) instead of
1647         $(common-objpfx)elf/.
1648         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1649         $(elfobjdir)/.
1650         (link-libc-deps): Likewise.
1651         ($(common-objpfx)libc.so): Likewise.
1652         ($(common-objpfx)linkobj/libc.so): Likewise.
1653         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1654         instead of $(common-objpfx)elf/.
1655         (symbolic-link-list): Likewise.
1656         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1657         [$(cross-compiling) = no]: Likewise.
1658         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1659         $(elfobjdir)/.
1660         (static-gnulib-arch): Likewise.
1661         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1662         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1663         $(common-objpfx)elf/.
1664
1665 2014-05-21  Richard Henderson  <rth@redhat.com>
1666
1667         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1668         (SINGLE_THREAD_P): Use the correct width load.  Fold
1669         into the ldr offset.
1670
1671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1672         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1673
1674 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1675
1676         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1677         (libgcc_s_resume): Use __attribute_used__.
1678         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1679         Likewise.
1680
1681 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1682
1683         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1684         optimization when used with float constants.
1685
1686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1687
1688 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1689
1690         [BZ #16915]
1691         * locale/nl_langinfo_l.c: Make direct reference to every
1692         _nl_current_CATEGORY symbol.
1693         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1694         (tests-static): Add tst-langinfo-static.
1695         (tests-special): Add tst-langinfo-static.out.
1696         ($(objpfx)tst-langinfo.out): Redirect output.
1697         ($(objpfx)tst-langinfo-static.out): New.
1698         * localedata/tst-langinfo.sh: Send output to stdout.
1699         * localedata/tst-langinfo-static.c: New file.
1700
1701         [BZ #16965]
1702         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1703         when the shift amount is modulo the limb size.
1704
1705 2014-05-20  Richard Henderson  <rth@redhat.com>
1706
1707         [BZ #16967]
1708         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1709         Change type of sa_flags from unsigned int to int.
1710
1711         [BZ #16966]
1712         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1713
1714         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1715
1716 2014-05-20  Will Newton  <will.newton@linaro.org>
1717
1718         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1719         Test the return value of the system call in the nocancel case.
1720
1721 2014-05-20  Will Newton  <will.newton@linaro.org>
1722             Yvan Roux  <yvan.roux@linaro.org>
1723
1724         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1725         #include of asm/ptrace.h.
1726         (PTRACE_GET_THREAD_AREA): Remove #undef.
1727         (PTRACE_GETHBPREGS): Likewise.
1728         (PTRACE_SETHBPREGS): Likewise.
1729         (struct user_regs_struct): New structure.
1730         (struct user_fpsimd_struct): New structure.
1731         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1732         #include of asm/ptrace.h and second #include of sys/user.h.
1733         (PTRACE_GET_THREAD_AREA): Remove #undef.
1734         (PTRACE_GETHBPREGS): Likewise.
1735         (PTRACE_SETHBPREGS): Likewise.
1736         (ELF_NGREG): Use new struct user_regs_struct.
1737         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1738
1739 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1740
1741         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1742         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1743
1744 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1745
1746         [BZ #16958]
1747         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1748         membar to avoid block loads/stores to overlap previous stores.
1749
1750 2014-05-17  Richard Henderson  <rth@redhat.com>
1751
1752         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1753         Create the __##syscall_name##_nocancel entry point.
1754         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1755         Remove; let the sysdep-cancel.h code create it.
1756
1757 2014-05-17  David S. Miller  <davem@davemloft.net>
1758
1759         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1760         Protect with __USE_GNU.
1761         (TIOCSET_TEMPT): Likewise.
1762         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1763         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1764         these are already provided in bits/ioctl-types.h
1765
1766 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1767
1768         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1769         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1770
1771         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1772         Use wait4 regardless of [__NR_waitpid].
1773
1774 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1775
1776         PR libgcc/60166
1777         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1778         (_FP_NANSIGN_Q): Set the quiet bit.
1779
1780 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1781
1782         * benchtests/Makefile
1783         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1784         not $(common-objpfx)math/libm.so.
1785         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1786         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1787         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1788         $(common-objpfx)dlfcn/libdl.so.
1789         ($(objpfx)tst-audit8): Depend on $(libm), not
1790         $(common-objpfx)math/libm.so.
1791         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1792         not $(common-objpfx)dlfcn/libdl.so.
1793         * math/Makefile
1794         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1795         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1796         [$(build-shared) = yes].
1797         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1798         $(common-objpfx)nptl/libpthread.so.
1799         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1800         $(common-objpfx)math/libm.so$(libm.so-version) or
1801         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1802         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1803         $(common-objpfx)dlfcn/libdl.so.
1804         * setjmp/Makefile (link-libm): Remove variable.
1805         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1806         * stdio-common/Makefile (link-libm): Remove variable.
1807         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1808         * stdlib/Makefile (link-libm): Remove variable.
1809         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1810         ($(objpfx)tst-strtod-round): Likewise.
1811         ($(objpfx)tst-tininess): Likewise.
1812         ($(objpfx)tst-strtod-underflow): Likewise.
1813         ($(objpfx)tst-strtod6): Likewise.
1814         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1815         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1816         $(common-objpfx)dlfcn/libdl.so.
1817
1818 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1819
1820         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1821         BSD terminal modes definitions.
1822
1823 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1824
1825         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1826         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1827
1828         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1829         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1830         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1831         Don't do #include_next.
1832         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1833         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1834         Don't do #include_next.
1835         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1836         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1837         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1838         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1839
1840 2014-05-16  Allan McRae  <allan@archlinux.org>
1841
1842         * po/sv.po: Update Swedish translation from translation project.
1843
1844         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1845         in sed expression.
1846
1847 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1848
1849         [BZ #16917]
1850         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1851         errno if the TIOCGPTN ioctl fails with an error different than
1852         EINVAL.
1853         * login/tst-ptsname.c: New file.
1854         * login/Makefile (tests): Add tst-ptsname.
1855
1856         [BZ #16943]
1857         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1858         and prlimit64.
1859
1860 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1861
1862         [BZ #16849]
1863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1864         herrno to return EAI_AGAIN.
1865
1866 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1867
1868         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1869         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1870         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1871         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1872         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1873         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1874         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1875         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1876         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1877         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1878         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1879         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1880         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1881         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1882         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1883         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1884         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1885         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1886         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1887         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1888         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1889         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1890         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1891         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1892         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1893         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1894         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1895         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1896         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1897         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1899         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1901         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1903         Moved ...
1904         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1906         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1908         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1910         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1912         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1914         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1918         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1920         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1924         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1926         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1928         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1930         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1932         Moved ...
1933         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1935         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1937         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1939         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1941         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1943         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1945         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1947         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1949         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1951         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1953         Moved ...
1954         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1957
1958         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1959         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1960         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1961         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1962         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1963         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1964         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1965         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1966         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1967         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1968         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1969         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1970         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1971         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1972         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1973         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1974         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1975         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1976         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1977         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1978         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1979         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1980         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1981         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1982         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1983         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1984         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1985         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1986         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1987         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1988         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1989
1990         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1991         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1992
1993         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1994         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1995         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1996         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1997         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1998         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1999         Moved ...
2000         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2001         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2002         Moved ...
2003         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2004         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2005         Moved ...
2006         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2007         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2008         Moved ...
2009         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2010         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2011         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2012         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2013         Moved ...
2014         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2015         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2016         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2017         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2019         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2020         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2021         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2022         Moved ...
2023         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2024         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2025         Moved ...
2026         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2027         ... here.
2028         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2029         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2030         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2031         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2032         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2033         Moved ...
2034         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2035         ... here.
2036         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2037         Moved ...
2038         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2039         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2040         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2041         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2042         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2043         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2044         Moved ...
2045         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2046         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2047         Moved ...
2048         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2049         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2050         Moved ...
2051         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2052         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2053         Moved ...
2054         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2055         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2056         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2057         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2058         Moved ...
2059         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2061         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2062         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2063         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2064         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2065         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2066         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2067         Moved ...
2068         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2069         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2070         Moved ...
2071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2072         ... here.
2073         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2074         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2075         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2076         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2077         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2078         Moved ...
2079         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2080         ... here.
2081         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2082         Moved ...
2083         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2084         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2085         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2086         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2087         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2088         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2089         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2090         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2091         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2092         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2093         Moved ...
2094         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2095         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2096         Moved ...
2097         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2098         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2099         Moved ...
2100         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2101         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2102         Moved ...
2103         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2104         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2105         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2106         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2107         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2108         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2109         Moved ...
2110         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2111         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2112         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2113         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2114         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2115         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2116         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2117         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2118         Moved ...
2119         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2120         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2121         Moved ...
2122         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2123         ... here.
2124         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2125         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2126         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2127         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2128         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2129         Moved ...
2130         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2131         ... here.
2132         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2133         Moved ...
2134         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2135         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2136         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2137         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2138         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2139         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2140         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2141         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2142         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2143         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2144         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2145
2146         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2147         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2148
2149         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2150         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2151
2152         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2153         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2154         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2155         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2156         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2157         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2158         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2159         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2160         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2161         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2162         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2163         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2164         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2165         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2166         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2167         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2168         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2169         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2170         Moved ...
2171         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2172         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2173         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2174         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2175         Moved ...
2176         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2177         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2178         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2179         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2180         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2181         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2182         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2183         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2184         Moved ...
2185         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2186         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2187         Moved ...
2188         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2189         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2190         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2191         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2192         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2194         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2195         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2196         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2197         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2198         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2199         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2200         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2201         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2202         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2203         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2204         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2205
2206         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2207         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2208         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2209         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2210         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2211
2212         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2213         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2214         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2215         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2216         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2217         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2218         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2219         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2220         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2221         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2222
2223         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2224         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2225
2226         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2227         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2228         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2229         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2230         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2231         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2232         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2233         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2234         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2235         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2236         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2237         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2238         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2239         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2241         Update #include.
2242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2243         Likewise.
2244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2245         Likewise.
2246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2247         Likewise.
2248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2249         Likewise.
2250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2251         Likewise.
2252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2253         Likewise.
2254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2255         Likewise.
2256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2257         Likewise.
2258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2259         Likewise.
2260         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2264         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2265         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2266         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2267         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2268         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2269         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2270         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2271         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2272         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2273         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2274         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2275
2276         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2277         that was previously under [RESET_PID].
2278         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2279         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2280         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2281
2282         * sysdeps/i386/nptl/Implies: New file.
2283         * sysdeps/x86_64/nptl/Implies: New file.
2284         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2285         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2286         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2287         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2288
2289         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2290         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2291         (__libc_vfork): New strong alias.
2292         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2293         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2294
2295         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2296         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2297         (__libc_vfork): New strong alias.
2298         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2299         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2300
2301         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2302         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2303         (__libc_vfork): New strong alias.
2304         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2305         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2306         * nptl/pt-vfork.c: New file.
2307         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2308         (libpthread: GLIBC_2.20): New version set (empty).
2309
2310 2014-05-14  Will Newton  <will.newton@linaro.org>
2311
2312         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2313         rather than #if.
2314
2315 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2316
2317         [BZ #16564]
2318         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2319         arguments with exponent 65 or above.
2320         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2321         arguments 0x1p113L or above.
2322         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2323         to arguments 0x1p107L or above.
2324         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2325         positive arguments with exponent 65 or above.
2326         * math/auto-libm-test-in: Add more tests of log1p.
2327         * math/auto-libm-test-out: Regenerated.
2328
2329         [BZ #16928]
2330         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2331         non-finite arguments is +0.
2332         * math/s_cacosf.c (__cacosf): Likewise.
2333         * math/s_cacosl.c (__cacosl): Likewise.
2334         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2335         * sysdeps/i386/fpu/libm-test-ulps: Update.
2336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2337
2338         [BZ #16927]
2339         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2340         value.
2341         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2342         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2343         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2344         for explicit high bit of mantissa when testing for argument equal
2345         to 1.
2346         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2347         * sysdeps/i386/fpu/libm-test-ulps: Update.
2348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2349
2350         [BZ #16516]
2351         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2352         (__erf): Scale by 16 instead of 8 in potentially underflowing
2353         case.  Ensure exception if result actually underflows.
2354         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2355         (__erff): Scale by 16 instead of 8 in potentially underflowing
2356         case.  Ensure exception if result actually underflows.
2357         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2358         (efx8): Remove variable.
2359         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2360         case.  Ensure exception if result actually underflows.
2361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2362         (efx8): Remove variable.
2363         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2364         case.  Ensure exception if result actually underflows.
2365         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2366         (efx8): Remove variable.
2367         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2368         case.  Ensure exception if result actually underflows.
2369         * math/auto-libm-test-in: Add more tests of erf.
2370         * math/auto-libm-test-out: Regenerated.
2371
2372 2014-05-14  Andreas Schwab  <schwab@suse.de>
2373
2374         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2375         Remove code conditionalized on USE___THREAD.
2376
2377         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2378         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2379         not definedness.
2380
2381 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2382
2383         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2384         Define unconditionally.
2385         (__ASSUME_O_CLOEXEC): Likewise.
2386         (__ASSUME_SOCK_CLOEXEC): Likewise.
2387         (__ASSUME_IN_NONBLOCK): Likewise.
2388         (__ASSUME_PIPE2): Likewise.
2389         (__ASSUME_EVENTFD2): Likewise.
2390         (__ASSUME_SIGNALFD4): Likewise.
2391         (__ASSUME_DUP3): Likewise.
2392         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2393         (__ASSUME_DUP3): Do not define.
2394         (__ASSUME_EVENTFD2): Likewise.
2395         (__ASSUME_IN_NONBLOCK): Likewise.
2396         (__ASSUME_O_CLOEXEC): Likewise.
2397         (__ASSUME_PIPE2): Likewise.
2398         (__ASSUME_SIGNALFD4): Likewise.
2399         (__ASSUME_SOCK_CLOEXEC): Likewise.
2400         (__ASSUME_UTIMES): Undefine.
2401         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2402         (__ASSUME_UTIMES): Do not define.
2403         (__ASSUME_O_CLOEXEC): Likewise.
2404         (__ASSUME_SOCK_CLOEXEC): Likewise.
2405         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2406         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2407         0x020621].
2408         (__ASSUME_PIPE2): Likewise.
2409         (__ASSUME_EVENTFD2): Likewise.
2410         (__ASSUME_SIGNALFD4): Likewise.
2411         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2412         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2413         Do not define.
2414         (__ASSUME_EVENTFD2): Likewise.
2415         (__ASSUME_SIGNALFD4): Likewise.
2416         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2417         (__ASSUME_32BITUIDS): Likewise.
2418         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2419         (__ASSUME_IPC64): Likewise.
2420         (__ASSUME_ST_INO_64_BIT): Likewise.
2421         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2422         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2423         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2424         (__ASSUME_UTIMES): Do not define.
2425         (__ASSUME_PSELECT): Likewise.
2426         (__ASSUME_PPOLL): Likewise.
2427         (__ASSUME_O_CLOEXEC): Likewise.
2428         (__ASSUME_SOCK_CLOEXEC): Likewise.
2429         (__ASSUME_IN_NONBLOCK): Likewise.
2430         (__ASSUME_PIPE2): Likewise.
2431         (__ASSUME_EVENTFD2): Likewise.
2432         (__ASSUME_SIGNALFD4): Likewise.
2433         (__ASSUME_DUP3): Likewise.
2434         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2435         (__ASSUME_UTIMES): Likewise.
2436         (__ASSUME_O_CLOEXEC): Likewise.
2437         (__ASSUME_SOCK_CLOEXEC): Likewise.
2438         (__ASSUME_IN_NONBLOCK): Likewise.
2439         (__ASSUME_PIPE2): Likewise.
2440         (__ASSUME_EVENTFD2): Likewise.
2441         (__ASSUME_SIGNALFD4): Likewise.
2442         (__ASSUME_DUP3): Likewise.
2443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2444         (__ASSUME_UTIMES): Likewise.
2445         (__ASSUME_O_CLOEXEC): Likewise.
2446         (__ASSUME_SOCK_CLOEXEC): Likewise.
2447         (__ASSUME_IN_NONBLOCK): Likewise.
2448         (__ASSUME_PIPE2): Likewise.
2449         (__ASSUME_EVENTFD2): Likewise.
2450         (__ASSUME_SIGNALFD4): Likewise.
2451         (__ASSUME_DUP3): Likewise.
2452         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2453         Likewise.
2454         (__ASSUME_UTIMES): Likewise.
2455         (__ASSUME_EVENTFD2): Likewise.
2456         (__ASSUME_SIGNALFD4): Likewise.
2457         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2458         (__ASSUME_O_CLOEXEC): Likewise.
2459         (__ASSUME_SOCK_CLOEXEC): Likewise.
2460         (__ASSUME_IN_NONBLOCK): Likewise.
2461         (__ASSUME_PIPE2): Likewise.
2462         (__ASSUME_EVENTFD2): Likewise.
2463         (__ASSUME_SIGNALFD4): Likewise.
2464         (__ASSUME_DUP3): Likewise.
2465         (__ASSUME_UTIMES): Undefine.
2466
2467         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2468         feclearexcept.  Remove symbol versioning code.
2469         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2470         symbol versioning code.
2471         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2472         symbol versioning code.
2473         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2474         feupdateenv.  Remove symbol versioning code.
2475         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2476         fegetexceptflag.  Remove symbol versioning code.
2477         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2478         fesetexceptflag.  Remove symbol versioning code.
2479         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2480         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2481         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2482         (__posix_fadvise64_l32): Remove prototype.
2483         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2484         code.
2485
2486 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2487
2488         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2489         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2490         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2491         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2492
2493 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2494
2495         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2496         current working directory
2497
2498 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2499
2500         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2501         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2502         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2503         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2504         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2505         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2506         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2507         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2508         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2509         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2510         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2511         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2512         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2513         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2514         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2515         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2516         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2517         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2518         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2519         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2520         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2521         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2522         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2523         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2524         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2525         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2526         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2527         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2528         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2529         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2530         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2531         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2532         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2533         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2534         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2535         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2536         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2537         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2538         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2539         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2540         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2541         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2542
2543         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2544         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2545
2546         * sysdeps/unix/sysv/linux/arm/Makefile
2547         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2548         Add rt-aeabi_unwind_cpp_pr1.
2549         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2550         Add nptl-aeabi_unwind_cpp_pr1.
2551         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2552         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2553         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2554         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2555         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2556         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2557
2558         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2559         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2560         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2561         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2562
2563         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2564         Deconditionalize the code that was previously under [RESET_PID].
2565         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2566
2567         * sysdeps/generic/exit-thread.h: New file.
2568         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2569         * include/unistd.h (__exit_thread): Remove declaration.
2570         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2571         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2572         * csu/libc-start.c: Include <exit-thread.h>.
2573         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2574         * nptl/pthread_create.c: Include <exit-thread.h>.
2575         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2576         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2577         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2578         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2579         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2580         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2581         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2582         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2583         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2584         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2585         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2586         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2587         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2588         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2589         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2590         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2591         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2592
2593 2014-05-13  Andreas Schwab  <schwab@suse.de>
2594
2595         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2596
2597 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2598
2599         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2600         (__ASSUME_UTIMES): Do not condition on kernel version.
2601         (__ASSUME_PSELECT): Define unconditionally.
2602         (__ASSUME_PPOLL): Likewise.
2603         (__ASSUME_ATFCTS): Likewise.
2604         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2605         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2606         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2607         (__ASSUME_UTIMENSAT): Define unconditionally.
2608         (__ASSUME_PRIVATE_FUTEX): Likewise.
2609         (__ASSUME_FALLOCATE): Likewise.
2610         (__ASSUME_O_CLOEXEC): Likewise.
2611         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2612         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2613         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2614         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2615         (__ASSUME_IN_NONBLOCK): Likewise.
2616         (__ASSUME_PIPE2): Likewise.
2617         (__ASSUME_EVENTFD2): Likewise.
2618         (__ASSUME_SIGNALFD4): Likewise.
2619         (__ASSUME_DUP3): Likewise.
2620         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2621         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2622         (__ASSUME_AT_RANDOM): Likewise.
2623         (__ASSUME_PREADV): Likewise.
2624         (__ASSUME_PWRITEV): Likewise.
2625         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2626         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2627         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2628         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2629         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2631         (__ASSUME_O_CLOEXEC): Define unconditionally.
2632         (__ASSUME_PSELECT): Do not undefine conditionally.
2633         (__ASSUME_PPOLL): Likewise.
2634         (__ASSUME_ATFCTS): Likewise.
2635         (__ASSUME_SET_ROBUST_LIST): Likewise.
2636         (__ASSUME_UTIMENSAT): Likewise.
2637         (__ASSUME_FDATASYNC): Define unconditionally.
2638         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2639         (__ASSUME_SIGFRAME_V2): Likewise.
2640         )__ASSUME_EVENTFD2): Likewise.
2641         (__ASSUME_SIGNALFD4): Likewise.
2642         (__ASSUME_PSELECT): Do not undefine conditionally.
2643         (__ASSUME_PPOLL): Likewise.
2644         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2645         (__ASSUME_PSELECT): Define unconditionally.
2646         (__ASSUME_PPOLL): Likewise.
2647         (__ASSUME_O_CLOEXEC): Likewise.
2648         (__ASSUME_SOCK_CLOEXEC): Likewise.
2649         (__ASSUME_IN_NONBLOCK): Likewise.
2650         (__ASSUME_PIPE2): Likewise.
2651         (__ASSUME_EVENTFD2): Likewise.
2652         (__ASSUME_SIGNALFD4): Likewise.
2653         (__ASSUME_DUP3): Likewise.
2654         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2655         (__ASSUME_O_CLOEXEC): Likewise.
2656         (__ASSUME_SOCK_CLOEXEC): Likewise.
2657         (__ASSUME_IN_NONBLOCK): Likewise.
2658         (__ASSUME_PIPE2): Likewise.
2659         (__ASSUME_EVENTFD2): Likewise.
2660         (__ASSUME_SIGNALFD4): Likewise.
2661         (__ASSUME_DUP3): Likewise.
2662         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2663         (__ASSUME_EVENTFD2): Likewise.
2664         (__ASSUME_SIGNALFD4): Likewise.
2665         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2666
2667 2014-05-12  Andreas Schwab  <schwab@suse.de>
2668
2669         [BZ #16932]
2670         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2671         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2672         than maximum RPC packet size.
2673         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2674         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2675         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2676         (_nss_nis_getservbyport_r): Likewise.
2677
2678 2014-05-12  Will Newton  <will.newton@linaro.org>
2679
2680         * malloc/Makefile (tests): Add tst-mallopt.
2681         * malloc/tst-mallopt.c: New file.
2682
2683 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2684
2685         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2686         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2687
2688 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2689
2690         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2691         (tst-tlsmod6.so): Likewise.
2692
2693 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2694
2695         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2696
2697 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2698
2699         [BZ #16064]
2700         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2701         and <dl-procinfo.h>.
2702         (__fegetenv): Save SSE state in envp->__eip if supported.
2703         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2704         envp->__eip if supported.
2705         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2706         and <dl-procinfo.h>.
2707         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2708         __data_offset and __data_selector in environment to 0.  Set SSE
2709         state if supported.
2710         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2711         test-fenv-sse.
2712         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2713         -mfpmath=sse.
2714         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2715
2716 2014-05-09  Will Newton  <will.newton@linaro.org>
2717
2718         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2719         and libc_relro_required for ARM.
2720         * sysdeps/arm/preconfigure: Regenerate.
2721
2722 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2723             Stefan Liebler  <stli@linux.vnet.ibm.com>
2724
2725         * config.make.in (enable-lock-elision): New Makefile variable.
2726         * configure.ac: Likewise.
2727         * configure: Regenerate.
2728         * sysdeps/s390/configure.ac:
2729         Add check for gcc transactions support.
2730         * sysdeps/s390/configure: Regenerate.
2731         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2732         Build elision files if enabled.
2733         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2734         Add lock elision support for s390.
2735         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2736         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2737         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2738         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2739         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2740         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2741         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2742         Likewise.
2743         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2744         Likewise.
2745         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2746         Likewise.
2747         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2748         Likewise.
2749         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2750         (__lll_timedlock_elision, __lll_lock_elision)
2751         (__lll_unlock_elision, __lll_trylock_elision)
2752         (lll_timedlock_elision, lll_lock_elision)
2753         (lll_unlock_elision, lll_trylock_elision): Add.
2754         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2755         (pthread_mutex_t): Add lock elision support for s390.
2756
2757 2014-05-14  Wilco  <wdijkstr@arm.com>
2758
2759         * sysdeps/arm/fclrexcpt.c: Cleanup.
2760         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2761         * sysdeps/arm/feenablxcpt.c: Cleanup.
2762         * sysdeps/arm/fegetenv.c: Cleanup.
2763         * sysdeps/arm/fegetexcept.c: Cleanup.
2764         * sysdeps/arm/fegetround.c: Cleanup.
2765         * sysdeps/arm/feholdexcpt.c: Cleanup.
2766         * sysdeps/arm/fesetenv.c: Cleanup.
2767         * sysdeps/arm/fesetround.c: Cleanup.
2768         * sysdeps/arm/feupdateenv.c: Cleanup.
2769         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2770         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2771         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2772         * sysdeps/arm/ftestexcept.c: Cleanup.
2773         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2774         * sysdeps/arm/setfpucw.c: Cleanup.
2775
2776 2014-05-09  Will Newton  <will.newton@linaro.org>
2777
2778         * sysdeps/arm/armv7/strcmp.S: New file.
2779         * NEWS: Mention addition of ARMv7 optimized strcmp.
2780
2781 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2782
2783         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2784         look for %.ac rather than %.in.
2785
2786         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2787         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2788         * sysdeps/mach/hurd/configure: Regenerated.
2789         * sysdeps/unix/sysv/linux/configure: Regenerated.
2790
2791         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2792
2793 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2794
2795         [BZ# 16922]
2796         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2797         (LONG_SUB): Ditto.
2798         (PTR_SUB): Ditto.
2799
2800 2014-05-07  Andreas Schwab  <schwab@suse.de>
2801
2802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2803         when skipping over non-matching result from nscd.
2804
2805 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2806
2807         [BZ #16876]
2808         * nptl/sockperf.c (client): Check socket return value.
2809
2810         [BZ #16877]
2811         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2812         nscd security class.
2813
2814 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2815
2816         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2817         * sysdeps/arm/unwind.h: ... here.
2818
2819 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2820
2821         [BZ# 16916]
2822         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2823         Define.
2824
2825 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2826
2827         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2828         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2829         multiarch strncpy for PPC64.
2830         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2831         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2833         multiarch optimizations.
2834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2835         (__libc_ifunc_impl_list): Likewise.
2836         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2837         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2838         multiarch stpncpy for PPC64.
2839         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2840         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2841
2842 2014-05-06  Andreas Schwab  <schwab@suse.de>
2843
2844         [BZ #16912]
2845         * gmon/mcount.c (_MCOUNT_DECL): Use
2846         atomic_compare_and_exchange_bool_acq instead of
2847         catomic_compare_and_exchange_bool_acq.
2848
2849 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2850
2851         * elf/Makefile (others, install-bin): Remove pldd.
2852         (pldd-modules): Variable removed.
2853         ($(objpfx)pldd): Target removed.
2854         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2855         (others, install-bin): Append pldd here.
2856         ($(objpfx)pldd): New target.
2857
2858         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2859         to 0, so the first #if test emitted later doesn't see it undefined.
2860         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2861         * sysdeps/gnu/errlist.c: Regenerated.
2862
2863 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2864
2865         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2866         [libc_hidden_builtin_def]: Define to empty value.
2867         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2868         [libc_hidden_builtin_def]: Likewise.
2869         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2870         [libc_hidden_builtin_def]: Likewise.
2871         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2872         [libc_hidden_builtin_def]: Likewise.
2873         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2874         __redirect_memcpy and define ifunc as default hidden symbol.
2875         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2876         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2877
2878 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2879
2880         * locale/iso-4217.def: Reintroduce XDR currency.
2881
2882 2014-05-04  Allan McRae  <allan@archlinux.org>
2883
2884         * po/eo.po: Update Esperanto translation from translation project.
2885
2886 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2887
2888         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2889         and FEATURE_INDEX_MAX to 1.
2890         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2891
2892 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2893
2894         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2895         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2896         * iconvdata/big5.c (ONE_DIRECTION): Define.
2897         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2898         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2899         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2900         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2901         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2902         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2903         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2904         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2905         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2906         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2907         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2908         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2909         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2910         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2911         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2912         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2913         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2914         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2915         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2916         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2917         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2918         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2919         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2920         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2921         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2922         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2923         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2924         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2925         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2926         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2927         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2928         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2929         * iconvdata/johab.c (ONE_DIRECTION): Define.
2930         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2931         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2932         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2933         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2934         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2935         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2936         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2937         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2938         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2939         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2940
2941 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2942
2943         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2944         (_IO_JUMPS_OFFSET): Define to 0.
2945
2946         * nptl/sysdeps/pthread/bits/libc-lock.h
2947         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2948         (__libc_lock_define_initialized_recursive): Always define using
2949         initializer.  Modern compilers treat uninitialized (implicit zero) and
2950         explicit zero initializers the same (i.e. put the datum in bss).
2951
2952 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2953
2954         * nscd/nscd-client.h: Include <string.h>.
2955
2956 2014-05-01  David S. Miller  <davem@davemloft.net>
2957
2958         [BZ #16885]
2959         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2960         multiple zero bytes exist at the end of a string.
2961         Reported by Aurelien Jarno <aurelien@aurel32.net>
2962
2963         * string/test-strcmp.c (check): Add explicit test for situations where
2964         there are multiple zero bytes after the first.
2965
2966 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2967
2968         [BZ #16890]
2969         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2970         when compiling wprintf.
2971         * stdio-common/tstdiomisc.c (t3): New function.
2972         (main): Call it.
2973
2974 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2975
2976         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2977         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2978         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2979         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2980
2981 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2982
2983         * stdlib/longlong.h: Updated from GCC.
2984
2985 2014-05-01  Will Newton  <will.newton@linaro.org>
2986             Bernard Ogden  <bernie.ogden@linaro.org>
2987
2988         * NEWS: Update fixed bug list.
2989
2990         [BZ #15119]
2991         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2992
2993 2014-04-30  David S. Miller  <davem@davemloft.net>
2994
2995         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2996         (libc_feholdexcept_setround_sparc_ctx): New function.
2997         (libc_fesetenv_sparc_ctx): Likewise.
2998         (libc_feupdateenv_sparc_ctx): Likewise.
2999         (libc_feholdsetround_sparc_ctx): Likewise.
3000         (libc_feholdexcept_setround_ctx): Define.
3001         (libc_feholdexcept_setroundf_ctx): Likewise.
3002         (libc_feholdexcept_setroundl_ctx): Likewise.
3003         (libc_fesetenv_ctx): Likewise.
3004         (libc_fesetenvf_ctx): Likewise.
3005         (libc_fesetenvl_ctx): Likewise.
3006         (libc_feupdateenv_ctx): Likewise.
3007         (libc_feupdateenvf_ctx): Likewise.
3008         (libc_feupdateenvl_ctx): Likewise.
3009         (libc_feresetround_ctx): Likewise.
3010         (libc_feresetroundf_ctx): Likewise.
3011         (libc_feresetroundl_ctx): Likewise.
3012         (libc_feholdsetround_ctx): Likewise.
3013         (libc_feholdsetroundf_ctx): Likewise.
3014         (libc_feholdsetroundl_ctx): Likewise.
3015
3016         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3017         with __USE_GNU instead of XOPEN cpp guards.
3018
3019         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3020         0.
3021
3022         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3023         with XOPEN cpp guards.
3024
3025 2014-04-30  Julian Brown  <julian@codesourcery.com>
3026
3027         [BZ #16888]
3028         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3029         handling.
3030
3031 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3032
3033         [BZ #9894]
3034         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3035         Change to 2.6.32.
3036         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3037         * sysdeps/unix/sysv/linux/configure: Regenerated.
3038         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3039         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3040         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3041         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3042         * README: Update reference to required Linux kernel version.
3043         * manual/install.texi (Linux): Update reference to required Linux
3044         kernel headers version.
3045         * INSTALL: Regenerated.
3046
3047         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3048         header inclusion.
3049         [POSIX] (limits.h): Likewise.
3050         [POSIX] (math.h): Likewise.
3051         [POSIX] (sys/wait.h): Likewise.
3052         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3053         function.
3054         [POSIX] (stddef.h): Do not allow header inclusion.
3055
3056 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3057
3058         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3059
3060 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3061
3062         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3063         Return immediately after lll_futex_wake.
3064
3065 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3066
3067         [BZ #16791]
3068         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3069         structure.
3070         (datahead_init_pos): Call datahead_init_common early.
3071         (datahead_init_neg): Likewise.
3072
3073         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3074         datahead_init_neg): New functions.
3075         * nscd/aicache.c (addhstaiX): Use them.
3076         * nscd/grpcache.c (cache_addgr): Likewise.
3077         * nscd/hstcache.c (cache_addhst): Likewise.
3078         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3079         * nscd/netgroupcache.c (do_notfound): Likewise.
3080         (addgetnetgrentX): Likewise.
3081         (addinnetgrX): Likewise.
3082         * nscd/pwdcache.c (cache_addpw): Likewise.
3083         * nscd/servicescache.c (cache_addserv): Likewise.
3084
3085 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3086             Atsushi Onoe  <atsushi@onoe.org>
3087
3088         [BZ #14308]
3089         [BZ #12994]
3090         [BZ #13651]
3091         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3092         one response is valid.
3093         * resolv/res_send.c (send_dg): Check for validity of other
3094         response if the current response is a referral.
3095
3096 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3097
3098         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3099
3100 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3101
3102         [BZ #16823]
3103         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3104         Always divide by positive zero when computing -Inf result.
3105         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3106         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3107
3108 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3109
3110         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3111         FPSCR if value do not change.
3112         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3113         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3114         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3115         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3116         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3117         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3118         function.
3119
3120 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3121
3122         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3123         * sysdeps/unix/sysv/linux/hppa: Move directory from
3124         ports/systeps/unix/sysv/linux/hppa.
3125         * README: Update listing for hppa-*-linux-gnu.
3126
3127 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3128
3129         [BZ #16754]
3130         * manual/stdio.texi (Hook functions): Fix types of stream hook
3131         functions.
3132         [BZ #16854]
3133         * socket/sys/socket.h: Fix typo in comment.
3134
3135 2014-04-28  Wilco  <wdijkstr@arm.com>
3136
3137         * sysdeps/arm/fenv_private.h: New file.
3138         * sysdeps/arm/math_private.h: New file.
3139         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3140
3141 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3142
3143         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3144         with __int128_t.
3145         (La_x86_64_retval): Likewise.
3146
3147 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3148
3149         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3150         fpsr if value didn't change.
3151         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3152         to fpcr if value didn't change.
3153         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3154         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3155         fpsr or fpcr if value didn't change.
3156         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3157         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3158         fpcr if value didn't change.
3159         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3160         to fpsr if value didn't change.
3161
3162 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3163
3164         * nptl/tst-sem3.c: Use test-skeleton.c
3165         (main): Rename to do_test.  Use return instead of
3166         exit.
3167         * nptl/tst-sem4.c: Use test-skeleton.c
3168         (main): Rename to do_test.
3169
3170 2014-04-22  David S. Miller  <davem@davemloft.net>
3171
3172         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3173         (struct sigaction): New struct member __glibc_reserved0, change
3174         type of sa_flags to int.
3175
3176 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3177
3178         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3179         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3180
3181 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3182
3183         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3184         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3185
3186 2014-04-22  Will Newton  <will.newton@linaro.org>
3187             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3188
3189         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3190         (__longjmp): Add longjmp and longjmp_target SystemTap
3191         probes.
3192         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3193         (__sigsetjmp): Add setjmp SystemTap probe.
3194
3195 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3196
3197         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3198         match manual order.
3199
3200 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3201
3202         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3203
3204         * sysdeps/powerpc/fpu/fenv_private.h
3205         (libc_feholdexcept_setroundl_ctx): Define to
3206         libc_feholdexcept_setround_ppc_ctx.
3207         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3208         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3209         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3210         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3211
3212 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3213
3214         * sysdeps/aarch64/math-tests.h: New file.
3215
3216 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3217
3218         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3219         New.
3220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3221         Check and set bit_AVX2_Usable.
3222         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3223         macro.
3224         (bit_AVX2): Likewise.
3225         (index_AVX2_Usable): Likewise.
3226         (CPUID_AVX2): Likewise.
3227         (HAS_AVX2): Likewise.
3228
3229 2014-04-17  Will Newton  <will.newton@linaro.org>
3230
3231         * manual/setjmp.texi (System V contexts): Add note that
3232         calling setcontext on a context created by a call to a
3233         signal handler is undefined.  Update text to note that
3234         setcontext from a signal handler is possible but not
3235         recommended.
3236
3237         [BZ #16629]
3238         * stdlib/tst-setcontext.c: Include signal.h.
3239         (main): Check that the signal stack before and
3240         after swapcontext is the same.
3241
3242         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3243         Re-implement to restore registers in user code and avoid
3244         rt_sigreturn system call.
3245
3246 2014-04-17  Wilco  <wdijkstr@arm.com>
3247
3248         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3249         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3250         * math/test-fenv.c: Skip exception trap tests on targets which only
3251         support non-stop mode.
3252
3253 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3254             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3255
3256         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3257         (libc_feholdsetround_aarch64_ctx)
3258         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3259         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3260         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3261         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3262         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3263         (libc_feresetround_noexl_ctx): Define.
3264
3265 2014-04-16  Richard Henderson  <rth@redhat.com>
3266
3267         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3268
3269         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3270         unwind tables.
3271
3272         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3273         const from the non-libc, non-ldso copy.
3274
3275         * sysdeps/alpha/libm-test-ulps: Regenerate.
3276
3277 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3278             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3279
3280         * sysdeps/aarch64/fpu/math_private.h: New file.
3281
3282 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3283
3284         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3285
3286 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3287
3288         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3289         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3290         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3291         Intel MPX bound registers before _dl_profile_fixup.
3292         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3293         registers after _dl_profile_fixup.  Save and restore bound
3294         registers bnd0/bnd1 when calling _dl_call_pltexit.
3295         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3296         (LR_BND_OFFSET): Likewise.
3297         (LRV_BND0_OFFSET): Likewise.
3298         (LRV_BND1_OFFSET): Likewise.
3299
3300 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3301
3302         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3303         to...
3304         * sysdeps/mach/hurd/i386/tls.h: ... here.
3305         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3306         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3307         fields.
3308
3309 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3310
3311         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3312
3313 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3314
3315         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3316
3317 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3318
3319         [BZ #14770]
3320         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3321         * sysdeps/s390/configure: Regenerate.
3322
3323         [BZ #16824]
3324         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3325         Set round-to-nearest internally to reduce error accumulation.
3326
3327 2014-04-16  Alan Modra  <amodra@gmail.com>
3328
3329         [BZ #16740]
3330         [BZ #16619]
3331         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3332         * math/libm-test.inc (frexp_test_data): Add tests.
3333         * NEWS: Update fixed bug list.
3334
3335 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3336
3337         * benchtests/Makefile: Depend on libraries in build directory.
3338         (bench-math): Separate out math tests.
3339         (bench-pthread): Separate out pthread tests.
3340         (bench): Include math and pthread tests.
3341
3342 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3343
3344         [BZ #16831]
3345         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3346         _dl_debug_initialize.
3347
3348         * configure.ac: Remove SELinux header check.
3349         * configure: Regenerate.
3350         * nscd/selinux.c (perms): Array of const char* to permission names.
3351         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3352         default policy. Call string_to_security_class and string_to_av_perm to
3353         translate strings. Enforce default policy and call avs_has_perm with
3354         results of translated strings.
3355
3356 2014-04-13  David S. Miller  <davem@davemloft.net>
3357
3358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3359
3360 2014-04-12  Allan McRae  <allan@archlinux.org>
3361
3362         [BZ #16838]
3363         * manual/string.texi (Collation Functions): Fix qsort argument
3364         order in example.
3365         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3366
3367 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3368
3369         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3370         Make the test a no-op if there are no exceptions defined.
3371
3372 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3373
3374         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3375         enable-hardcoded-path-in-tests
3376
3377 2014-04-11  Will Newton  <will.newton@linaro.org>
3378
3379         * benchtests/Makefile (extra-objs): Add json-lib.o.
3380         (bench-func): Tidy up JSON output.
3381         * benchtests/bench-skeleton.c: Include json-lib.h.
3382         (main): Use JSON library functions to do output of
3383         benchmark results.
3384         * benchtests/bench-timing-type.c (main): Output the
3385         timing type simply, leaving formatting to the user.
3386         * benchtests/json-lib.c: New file.
3387         * benchtests/json-lib.h: Likewise.
3388
3389 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3390
3391         [BZ #15215]
3392         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3393         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3394         memory barriers.  Add comments.
3395         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3396         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3397         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3398         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3399         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3400         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3401
3402 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3403
3404         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3405         * sysdeps/s390/s390-64/configure.ac: ... this ...
3406         * sysdeps/s390/configure.ac: ... to here.
3407         * sysdeps/s390/s390-32/configure: Delete file.
3408         * sysdeps/s390/s390-64/configure: Delete file.
3409         * sysdeps/s390/configure: Regenerate.
3410
3411 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3412
3413         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3414
3415 2014-04-11  Will Newton  <will.newton@linaro.org>
3416
3417         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3418         to zero if it is not defined elsewhere.  (mtrim): Test
3419         the value of MALLOC_DEBUG with #if rather than #ifdef.
3420
3421 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3422
3423         * benchtests/pthread_once-inputs: New file.
3424         * benchtests/pthread_once-source.c: New file.
3425         * benchtests/README: Update documentation.
3426
3427 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3428             H.J. Lu  <hongjiu.lu@intel.com>
3429
3430         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3431         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3432         * sysdeps/x86_64/configure: Regenerated.
3433         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3434         macro.
3435         (REGISTER_SAVE_RAX): Likewise.
3436         (REGISTER_SAVE_RCX): Likewise.
3437         (REGISTER_SAVE_RDX): Likewise.
3438         (REGISTER_SAVE_RSI): Likewise.
3439         (REGISTER_SAVE_RDI): Likewise.
3440         (REGISTER_SAVE_R8): Likewise.
3441         (REGISTER_SAVE_R9): Likewise.
3442         (REGISTER_SAVE_BND0): Likewise.
3443         (REGISTER_SAVE_BND1): Likewise.
3444         (REGISTER_SAVE_BND2): Likewise.
3445         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3446         bound registers when calling _dl_fixup.
3447
3448 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3449
3450         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3451         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3452         of its definition.
3453         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3454         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3455         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3456         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3457         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3458         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3459         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3460
3461 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3462
3463         [BZ #15514]
3464         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3465         pathconf(_PC_NAME_MAX).
3466
3467 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3468
3469         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3470         Remove macro usage.
3471         (__PTHREAD_SPINS): Move definition to ...
3472         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3473         (__PTHREAD_SPINS): ... here.
3474         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3475         (__PTHREAD_SPIN): Likewise.
3476         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3477         (__PTHREAD_SPIN): Likewise.
3478         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3479         (__PTHREAD_SPIN): Likewise.
3480         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3481         (__PTHREAD_SPIN): Likewise.
3482         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3483         (__PTHREAD_SPIN): Likewise.
3484         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3485         (__PTHREAD_SPIN): Likewise.
3486         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3487         (__PTHREAD_SPIN): Likewise.
3488         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3489         (__PTHREAD_SPIN): Likewise.
3490         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3491         (__PTHREAD_SPIN): Likewise.
3492         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3493         (__PTHREAD_SPIN): Likewise.
3494         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3495         (__PTHREAD_SPIN): Likewise.
3496         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3497         (__PTHREAD_SPIN): Likewise.
3498
3499         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3500         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3501         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3502         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3503         imply folder.
3504         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3505         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3506         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3507         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3508         correct imply path.
3509         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3510         strlen symbol for non multi-arch builds.
3511         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3512         missing hidden_def and weak_alias.
3513
3514 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3515
3516         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3517
3518 2014-04-07  Will Newton  <will.newton@linaro.org>
3519
3520         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3521         and contents.  [!_LIBC] Remove #ifndef and contents.
3522         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3523         * string/memccpy.c (__memccpy): Use ANSI prototype.
3524         * string/memfrob.c (memfrob): Likewise.
3525         * string/strcoll.c (STRCOLL): Likewise.
3526         * string/strlen.c (strlen): Likewise.
3527         * string/strtok.c (STRTOK): Likewise.
3528         * string/strcat.c: Remove unused #include of memcopy.h.
3529         (strcat): Use ANSI prototype.
3530         * string/strchr.c: Remove unused #include of memcopy.h.
3531         (strchr): Use ANSI prototype.
3532         * string/strcmp.c: Remove unused #include of memcopy.h.
3533         (strcmp): Use ANSI prototype.
3534         * string/strcpy.c: Remove unused #include of memcopy.h.
3535         (strcpy): Use ANSI prototype.
3536
3537 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3538
3539         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3540         * config.make.in (config-extra-cppflags): Set it from
3541         libc_extra_cppflags.
3542         * configure.ac (libc_extra_cflags): Make it accumulate over
3543         configure fragments.
3544         (libc_extra_cppflags): New flag.
3545         * configure. Regenerate.
3546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3547         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3548         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3550
3551         [BZ #16815]
3552         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3553         result for FE_DOWNWARD rounding mode.
3554         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3555         Likewise.
3556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3557
3558 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3559
3560         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3561         in function argument name.
3562
3563 2014-04-03  David Svoboda  <svoboda@cert.org>
3564
3565         [BZ #5666]
3566         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3567         explicitly.
3568
3569 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3570
3571         * elf/dl-unmap-segments.h: New file.
3572         * sysdeps/generic/ldsodefs.h
3573         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3574         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3575         * elf/dl-fptr.c: Likewise.
3576         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3577         * sysdeps/aarch64/tlsdesc.c: Likewise.
3578         * sysdeps/arm/tlsdesc.c: Likewise.
3579         * sysdeps/i386/tlsdesc.c: Likewise.
3580         * sysdeps/tile/dl-runtime.c: Likewise.
3581         * sysdeps/x86_64/tlsdesc.c: Likewise.
3582         * elf/dl-load.h: New file.
3583         * elf/dl-load.c: Include it.
3584         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3585         Macros moved to dl-load.h.
3586         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3587         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3588         Use _dl_unmap_segments in place of __munmap.
3589         Break out segment-mapping loop into ...
3590         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3591
3592 2014-04-03  Will Newton  <will.newton@linaro.org>
3593
3594         * elf/dl-lookup.c (do_lookup_x): Remove comment
3595         referring to nested function and move variable
3596         declarations down to before first use.
3597
3598 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3599
3600         [BZ #16799]
3601         [BZ #16800]
3602         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3603         with 0 numerator.
3604         * math/s_catanf.c (__catanf): Likewise.
3605         * math/s_catanh.c (__catanh): Likewise.
3606         * math/s_catanhf.c (__catanhf): Likewise.
3607         * math/s_catanhl.c (__catanhl): Likewise.
3608         * math/s_catanl.c (__catanl): Likewise.
3609         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3610         by positive zero when computing -Inf result.
3611         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3612         (catanh_test): Likewise.
3613         * sysdeps/i386/fpu/libm-test-ulps: Update.
3614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3615
3616         [BZ #16789]
3617         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3618         instead of using underflowing value in computing result.
3619         * math/s_clog10.c (__clog10): Likewise.
3620         * math/s_clog10f.c (__clog10f): Likewise.
3621         * math/s_clog10l.c (__clog10l): Likewise.
3622         * math/s_clogf.c (__clogf): Likewise.
3623         * math/s_clogl.c (__clogl): Likewise.
3624         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3625         (clog10_test): Likewise.
3626         * sysdeps/i386/fpu/libm-test-ulps: Update.
3627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3628
3629 2014-04-02  Alan Modra  <amodra@gmail.com>
3630
3631         [BZ #16739]
3632         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3633         output when value is near a power of two.  Use int64_t for lx and
3634         remove casts.  Use decimal rather than hex exponent constants.
3635         Don't use long double multiplication when double will suffice.
3636         * math/libm-test.inc (nextafter_test_data): Add tests.
3637         * NEWS: Add 16739 and 16786 to bug list.
3638
3639         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3640
3641         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3642
3643 2014-04-01  Will Newton  <will.newton@linaro.org>
3644
3645         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3646         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3647
3648 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3649
3650         [BZ #13347]
3651         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3652         * nptl/tst-setuid2.c: New file.
3653         * nptl/Makefile (xtests): Add tst-setuid2.
3654
3655 2014-04-01  Alan Modra  <amodra@gmail.com>
3656
3657         [BZ #16786]
3658         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3659
3660 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3661
3662         [BZ #6803]
3663         [BZ #6804]
3664         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3665         set errno as appropriate.
3666         * math/w_scalbf.c (__scalbf): Likewise.
3667         * math/w_scalbl.c (__scalbl): Likewise.
3668         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3669         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3670         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3671         Add more NaN tests.
3672
3673         [BZ #16349]
3674         * math/w_atan2.c: Include <errno.h>.
3675         (__atan2): Set errno for result underflowing to zero.
3676         * math/w_atan2f.c: Include <errno.h>.
3677         (__atan2f): Set errno for result underflowing to zero.
3678         * math/w_atan2l.c: Include <errno.h>.
3679         (__atan2l): Set errno for result underflowing to zero.
3680         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3681         tests.
3682         * math/auto-libm-test-out: Regenerated.
3683
3684 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3685
3686         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3687         Encode instruction correctly in little endian.
3688         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3689         Likewise.
3690         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3691         Likewise.
3692         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3693         Likewise.
3694         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3695         Likewise.
3696
3697 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3698
3699         [BZ #9894]
3700         * sysdeps/unix/sysv/linux/kernel-features.h
3701         [__sparc__ && !__arch64__ && !__sparc_v9__]
3702         (__ASSUME_SET_ROBUST_LIST): Do not define.
3703         [__sparc__ && !__arch64__ && !__sparc_v9__]
3704         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3705         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3706         Likewise.
3707         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3708         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3709         (__ASSUME_REQUEUE_PI): Likewise.
3710         (__ASSUME_SET_ROBUST_LIST): Likewise.
3711         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3712         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3713         Undefine.
3714         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3715         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3716         Likewise.
3717         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3718         Likewise.
3719         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3720         Likewise.
3721         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3722         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3723         Undefine.
3724         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3725         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3726         Likewise.
3727
3728         [BZ #16648]
3729         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3730         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3731         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3732
3733 2014-03-31  Will Newton  <will.newton@linaro.org>
3734
3735         * benchtests/Makefile (bench): Add ffs and ffsll to list
3736         of tests.
3737         * benchtests/ffs-inputs: New file.
3738         * benchtests/ffsll-inputs: Likewise.
3739
3740 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3741
3742         [BZ #16770]
3743         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3744         too large before casting to int.
3745         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3746         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3747         * math/libm-test.inc (scalb_test_data): Add more tests.
3748
3749 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3750
3751         * benchtests/Makefile (DETAILED_OPT): New make option.
3752         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3753         set.
3754         * benchtests/bench-skeleton.c: Include stdbool.h.
3755         (main): Store and print timings per input.
3756         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3757         member to each argument value.
3758         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3759         (_print_arg_data): Initialize per-input timing to 0.
3760
3761         * benchtests/Makefile (timing-type): New binary.
3762         (bench-clean): Also remove bench-timing-type.
3763         (bench): New target for timing-type.
3764         (bench-func): Print output in JSON format.
3765         * benchtests/bench-skeleton.c (main): Print output in JSON
3766         format.
3767         * benchtests/bench-timing-type.c: New file.
3768         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3769         (TIMING_PRINT_STATS): Remove.
3770         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3771         name separately.
3772
3773         * benchtests/bench-modf.c: Remove.
3774         * benchtests/modf-inputs: New inputs file.
3775
3776 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3777
3778         [BZ #16362]
3779         * math/s_clog10.c (M_PI_LOG10E): New macro.
3780         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3781         imaginary parts are 0.
3782         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3783         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3784         imaginary parts are 0.
3785         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3786         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3787         imaginary parts are 0.
3788         * math/libm-test.inc (clog10_test_data): Update expected results
3789         for when real and imaginary parts are 0.
3790
3791 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3792
3793         * elf/dl-load.c: Finish conversion of __builtin_expect into
3794         __glibc_{un}likely.
3795
3796 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3797
3798         [BZ #16348]
3799         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3800         1+x for argument with exponent below -67.
3801         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3802         Likewise.
3803         * math/auto-libm-test-in: Add more tests of exp.
3804         * math/auto-libm-test-out: Regenerated.
3805
3806 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3807
3808         [BZ #16759]
3809         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3810         (nscd_getnetgrent): Use it.
3811
3812         [BZ #16760]
3813         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3814         of stpcpy.
3815
3816 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3817
3818         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3819         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3820         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3821         (lll_robust_unlock): Remove out of line section. Use cfi
3822         intrinsics.
3823         (LLL_STUB_UNWIND_INFO*): Remove.
3824         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3825         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3826         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3827         (lll_robust_unlock): Remove out of line section. Use cfi
3828         intrinsics.
3829         (LLL_STUB_UNWIND_INFO*): Remove.
3830
3831 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3832
3833         [BZ #16758]
3834         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3835         blank values.
3836
3837 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3838
3839         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3840
3841 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3842
3843         [BZ #16198]
3844         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3845         fnstenv.
3846         * math/test-fenv-preserve.c: New file.
3847         * math/Makefile (tests): Add test-fenv-preserve.
3848
3849 2014-03-26  Will Newton <will.newton@linaro.org>
3850
3851         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3852
3853 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3854
3855         * scripts/versionlist.awk: Partition the version sets and emit all
3856         GLIBC_* (sorted) before all others (sorted).
3857
3858 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3859
3860         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3861         GLIBC_2.2.5 version.
3862
3863 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3864
3865         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3866         calls.
3867
3868         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3869         previous change.
3870
3871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3872
3873 2014-03-25  Andreas Schwab  <schwab@suse.de>
3874
3875         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3876         label to be used after in6ailist is initialized.
3877
3878 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3879
3880         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3881         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3882
3883 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3884
3885         [BZ #16357]
3886         [BZ #16599]
3887         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3888         min_plus_half.
3889         (fp_formats): Update initializers.
3890         (init_fp_formats): Initialize new field.
3891         (output_for_one_input_case): Allow underflow for results up to
3892         min_plus_half.
3893         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3894         * math/auto-libm-test-in: Don't mark some underflows from asin and
3895         atanh as spurious.
3896         * math/auto-libm-test-out: Regenerated.
3897         * sysdeps/i386/fpu/libm-test-ulps: Update.
3898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3899
3900 2014-03-25  Andreas Schwab  <schwab@suse.de>
3901
3902         * libio/Makefile (tst-ftell-partial-wide-ENV)
3903         (tst-ftell-active-handler-ENV): Define.
3904
3905 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3906
3907         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3908
3909 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3910
3911         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3912
3913 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3914
3915         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3916         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3917         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3918
3919 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3920
3921         [BZ #16634]
3922         * elf/dl-load.c (open_verify): Add mode parameter.
3923         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3924         (open_path): Change from boolean 'secure' to complete flag 'mode'
3925         (_dl_map_object): Adjust.
3926         * elf/Makefile (tests): Add tst-dlopen-aout.
3927         * elf/tst-dlopen-aout.c: New test.
3928
3929 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3930
3931         [BZ #16714]
3932         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3933         (struct stat): Rename member pad0 to __glibc_reserved0.
3934
3935         [BZ #16712]
3936         * sysdeps/s390/s390-32/bits/wordsize.h
3937         (__WORDSIZE32_SIZE_ULONG): New define.
3938         * sysdeps/s390/s390-64/bits/wordsize.h
3939         (__WORDSIZE32_SIZE_ULONG): Likewise.
3940         * sysdeps/generic/stdint.h (SIZE_MAX):
3941         Define as UL if __WORDSIZE32_SIZE_ULONG.
3942
3943         [BZ #16713]
3944         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3945         (__glibc_reserved0): New variable.
3946         (sa_flags): Change type to int.
3947
3948         * posix/Makefile (before-compile): Use += before-compile instead
3949         of a :=.
3950
3951         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3952         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3953
3954 2014-03-20  Andreas Schwab  <schwab@suse.de>
3955
3956         [BZ #16743]
3957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3958         non-matching result from nscd.
3959
3960 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3961
3962         * scripts/bench.py: Moved to ...
3963         * benchtests/scripts/bench.py: ... here.
3964         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3965
3966 2014-03-24  Andreas Schwab  <schwab@suse.de>
3967
3968         [BZ #16002]
3969         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3970         alloca_account and account alloca use for struct in6ailist.
3971
3972 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3973
3974         [BZ #16284]
3975         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3976         rounding mode to recompute results that overflow to infinity or
3977         underflow to zero.
3978         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3979         bug 16284.
3980         * math/auto-libm-test-out: Regenerated.
3981         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3982         (ccosh_test): Likewise.
3983         (csin_test_data): Use plus_oflow.
3984         (csin_test): Use ALL_RM_TEST.
3985         (csinh_test_data): Use plus_oflow.
3986         (csinh_test): Use ALL_RM_TEST.
3987         * sysdeps/i386/fpu/libm-test-ulps: Update.
3988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3989
3990 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
3991
3992         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3993         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3994         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3995
3996         [BZ #16731]
3997         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3998         when x - 1 is zero.
3999         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4000         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4001         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4002         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4003         argument is 1.
4004         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4005         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4006         zero.
4007         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4008         * sysdeps/i386/fpu/libm-test-ulps: Update.
4009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4010
4011 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4012
4013         * scripts/bench.pl: Remove file.
4014         * scripts/bench.py: New benchmark script.
4015         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4016         * benchtests/README: Mention python dependency.
4017         * scripts/pylintrc: New file.
4018         * scripts/pylint: New file.
4019
4020         * bits/mathdef.h: Use #ifdef instead of #if.
4021         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4022         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4023         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4024         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4025         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4026         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4027
4028 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4029             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4030
4031         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4033         and strpbrk-ppc64 objects.
4034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4035         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4036         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4037         multiarch strpbrk for POWER7.
4038         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4039         multiarch strpbrk for PPC64.
4040         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4041         ifunc selector.
4042         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4043         strpbrk for POWER7.
4044
4045 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4046
4047         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4048         (atan_test): Likewise.
4049         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4050         (atanh_test): Use ALL_RM_TEST.
4051         (atan2_test_data): Likewise.
4052         (cabs_test): Likewise.
4053         (cacosh_test): Likewise.
4054         (carg_test): Likewise.
4055         (casin_test): Likewise.
4056         (casinh_test): Likewise.
4057         (cbrt_test): Likewise.
4058         (csqrt_test): Likewise.
4059         (erf_test): Likewise.
4060         (erfc_test): Likewise.
4061         (pow10_test): Likewise.
4062         (exp2_test): Likewise.
4063         (hypot_test): Likewise.
4064         (j0_test): Likewise.
4065         (j1_test): Likewise.
4066         (lgamma_test): Likewise.
4067         (gamma_test): Likewise.
4068         (sincos_test): Likewise.
4069         (tanh_test): Likewise.
4070         (y0_test): Likewise.
4071         (y1_test): Likewise.
4072         * sysdeps/i386/fpu/libm-test-ulps: Update.
4073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074
4075 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4076
4077         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4079         and strcspn-ppc64 objects.
4080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4081         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4082         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4083         multiarch strcspn for POWER7.
4084         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4085         multiarch strcspn for PPC64.
4086         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4087         ifunc selector.
4088         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4089         strcspn for POWER7.
4090
4091 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4092
4093         * math/gen-libm-test.pl (generate_testfile): Expect only function
4094         name as argument to AUTO_TESTS_* and pass results for all rounding
4095         modes to parse_args.
4096         (parse_auto_input): Separate inputs of automatic tests from
4097         outputs before storing in %auto_tests.
4098         * math/libm-test.inc (acos_test_data): Update call to
4099         AUTO_TESTS_f_f.
4100         (acos_test): Use ALL_RM_TEST.
4101         (acos_tonearest_test_data): Remove.
4102         (acos_test_tonearest): Likewise.
4103         (acos_towardzero_test_data): Likewise.
4104         (acos_test_towardzero): Likewise.
4105         (acos_downward_test_data): Likewise.
4106         (acos_test_downward): Likewise.
4107         (acos_upward_test_data): Likewise.
4108         (acos_test_upward): Likewise.
4109         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4110         (asin_test_data): Likewise.
4111         (asin_test): Use ALL_RM_TEST.
4112         (asin_tonearest_test_data): Remove.
4113         (asin_test_tonearest): Likewise.
4114         (asin_towardzero_test_data): Likewise.
4115         (asin_test_towardzero): Likewise.
4116         (asin_downward_test_data): Likewise.
4117         (asin_test_downward): Likewise.
4118         (asin_upward_test_data): Likewise.
4119         (asin_test_upward): Likewise.
4120         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4121         (atan_test_data): Likewise.
4122         (atanh_test_data): Likewise.
4123         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4124         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4125         (carg_test_data): Likewise.
4126         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4127         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4128         (ccosh_test_data): Likewise.
4129         (cexp_test_data): Likewise.
4130         (clog_test_data): Likewise.
4131         (clog10_test_data): Likewise.
4132         (cos_test_data): Update call to AUTO_TESTS_f_f.
4133         (cos_test): Use ALL_RM_TEST.
4134         (cos_tonearest_test_data): Remove.
4135         (cos_test_tonearest): Likewise.
4136         (cos_towardzero_test_data): Likewise.
4137         (cos_test_towardzero): Likewise.
4138         (cos_downward_test_data): Likewise.
4139         (cos_test_downward): Likewise.
4140         (cos_upward_test_data): Likewise.
4141         (cos_test_upward): Likewise.
4142         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4143         (cosh_test): Use ALL_RM_TEST.
4144         (cosh_tonearest_test_data): Remove.
4145         (cosh_test_tonearest): Likewise.
4146         (cosh_towardzero_test_data): Likewise.
4147         (cosh_test_towardzero): Likewise.
4148         (cosh_downward_test_data): Likewise.
4149         (cosh_test_downward): Likewise.
4150         (cosh_upward_test_data): Likewise.
4151         (cosh_test_upward): Likewise.
4152         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4153         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4154         (ctan_test_data): Likewise.
4155         (ctan_test): Use ALL_RM_TEST.
4156         (ctan_tonearest_test_data): Remove.
4157         (ctan_test_tonearest): Likewise.
4158         (ctan_towardzero_test_data): Likewise.
4159         (ctan_test_towardzero): Likewise.
4160         (ctan_downward_test_data): Likewise.
4161         (ctan_test_downward): Likewise.
4162         (ctan_upward_test_data): Likewise.
4163         (ctan_test_upward): Likewise.
4164         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4165         (ctanh_test): Use ALL_RM_TEST.
4166         (ctanh_tonearest_test_data): Remove.
4167         (ctanh_test_tonearest): Likewise.
4168         (ctanh_towardzero_test_data): Likewise.
4169         (ctanh_test_towardzero): Likewise.
4170         (ctanh_downward_test_data): Likewise.
4171         (ctanh_test_downward): Likewise.
4172         (ctanh_upward_test_data): Likewise.
4173         (ctanh_test_upward): Likewise.
4174         (erf_test_data): Update call to AUTO_TESTS_f_f.
4175         (erfc_test_data): Likewise.
4176         (exp_test_data): Likewise.
4177         (exp_test): Use ALL_RM_TEST.
4178         (exp_tonearest_test_data): Remove.
4179         (exp_test_tonearest): Likewise.
4180         (exp_towardzero_test_data): Likewise.
4181         (exp_test_towardzero): Likewise.
4182         (exp_downward_test_data): Likewise.
4183         (exp_test_downward): Likewise.
4184         (exp_upward_test_data): Likewise.
4185         (exp_test_upward): Likewise.
4186         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4187         (exp10_test): Use ALL_RM_TEST.
4188         (exp10_tonearest_test_data): Remove.
4189         (exp10_test_tonearest): Likewise.
4190         (exp10_towardzero_test_data): Likewise.
4191         (exp10_test_towardzero): Likewise.
4192         (exp10_downward_test_data): Likewise.
4193         (exp10_test_downward): Likewise.
4194         (exp10_upward_test_data): Likewise.
4195         (exp10_test_upward): Likewise.
4196         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4197         (expm1_test_data): Likewise.
4198         (expm1_test): Use ALL_RM_TEST.
4199         (expm1_tonearest_test_data): Remove.
4200         (expm1_test_tonearest): Likewise.
4201         (expm1_towardzero_test_data): Likewise.
4202         (expm1_test_towardzero): Likewise.
4203         (expm1_downward_test_data): Likewise.
4204         (expm1_test_downward): Likewise.
4205         (expm1_upward_test_data): Likewise.
4206         (expm1_test_upward): Likewise.
4207         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4208         (fma_test): Use ALL_RM_TEST.
4209         (fma_towardzero_test_data): Remove.
4210         (fma_test_towardzero): Likewise.
4211         (fma_downward_test_data): Likewise.
4212         (fma_test_downward): Likewise.
4213         (fma_upward_test_data): Likewise.
4214         (fma_test_upward): Likewise.
4215         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4216         (j0_test_data): Update call to AUTO_TESTS_f_f.
4217         (j1_test_data): Likewise.
4218         (jn_test_data): Update call to AUTO_TESTS_if_f.
4219         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4220         (log_test_data): Update call to AUTO_TESTS_f_f.
4221         (log10_test_data): Likewise.
4222         (log1p_test_data): Likewise.
4223         (log2_test_data): Likewise.
4224         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4225         (pow_tonearest_test_data): Likewise.
4226         (sin_test_data): Update call to AUTO_TESTS_f_f.
4227         (sin_test): Use ALL_RM_TEST.
4228         (sin_tonearest_test_data): Remove.
4229         (sin_test_tonearest): Likewise.
4230         (sin_towardzero_test_data): Likewise.
4231         (sin_test_towardzero): Likewise.
4232         (sin_downward_test_data): Likewise.
4233         (sin_test_downward): Likewise.
4234         (sin_upward_test_data): Likewise.
4235         (sin_test_upward): Likewise.
4236         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4237         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4238         (sinh_test): Use ALL_RM_TEST.
4239         (sinh_tonearest_test_data): Remove.
4240         (sinh_test_tonearest): Likewise.
4241         (sinh_towardzero_test_data): Likewise.
4242         (sinh_test_towardzero): Likewise.
4243         (sinh_downward_test_data): Likewise.
4244         (sinh_test_downward): Likewise.
4245         (sinh_upward_test_data): Likewise.
4246         (sinh_test_upward): Likewise.
4247         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4248         (sqrt_test): Use ALL_RM_TEST.
4249         (sqrt_tonearest_test_data): Remove.
4250         (sqrt_test_tonearest): Likewise.
4251         (sqrt_towardzero_test_data): Likewise.
4252         (sqrt_test_towardzero): Likewise.
4253         (sqrt_downward_test_data): Likewise.
4254         (sqrt_test_downward): Likewise.
4255         (sqrt_upward_test_data): Likewise.
4256         (sqrt_test_upward): Likewise.
4257         (tan_test_data): Update call to AUTO_TESTS_f_f.
4258         (tan_test): Use ALL_RM_TEST.
4259         (tan_tonearest_test_data): Remove.
4260         (tan_test_tonearest): Likewise.
4261         (tan_towardzero_test_data): Likewise.
4262         (tan_test_towardzero): Likewise.
4263         (tan_downward_test_data): Likewise.
4264         (tan_test_downward): Likewise.
4265         (tan_upward_test_data): Likewise.
4266         (tan_test_upward): Likewise.
4267         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4268         (tgamma_test_data): Likewise.
4269         (y0_test_data): Likewise.
4270         (y1_test_data): Likewise.
4271         (yn_test_data): Update call to AUTO_TESTS_if_f.
4272         (main): Do not call removed functions.
4273
4274 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4275
4276         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4277         (ldexp_test_data): Remove.
4278         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4279         scalbn_test_data.
4280         (scalb_test): Use ALL_RM_TEST.
4281
4282 2014-03-19  Andreas Schwab  <schwab@suse.de>
4283
4284         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4285
4286 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4287
4288         [BZ #16649]
4289         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4290         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4291         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4292         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4293         (__ASSUME_PREADV): Undefine.
4294         (__ASSUME_PWRITEV): Likewise.
4295
4296 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4297
4298         * bits/mman-linux.h: Add comment about non-Linux use.
4299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4300         bits/mman-linux.h resting place.
4301
4302         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4303         * bits/mman-linux.h: ... here.
4304
4305 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4306
4307         * conform/conformtest.pl: Add standard definition when calling C
4308         preprocessor on data files.
4309         (checknamespace): Remove unused variable.
4310
4311 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4312
4313         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4314         minus_oflow, plus_uflow and minus_uflow in expected results.
4315         * math/libm-test.inc (scalbn_test_data): Add more tests of
4316         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4317         minus_uflow.
4318         (scalbn_test): Use ALL_RM_TEST.
4319         (scalbln_test_data): Add more tests of negative arguments.  Use
4320         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4321         (scalbln_test): Use ALL_RM_TEST.
4322
4323 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4324
4325         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4326
4327 2014-03-18  Will Newton  <will.newton@linaro.org>
4328
4329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4330         inaccurate comment.
4331
4332 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4333
4334         * Makerules [!subdir] (check-abi): Exit with error status if a
4335         test failed.
4336
4337 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4338
4339         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4340         for rint.  Include results for all rounding modes.
4341         (nearbyint_test): Use ALL_RM_TEST.
4342         (rint_test_data): Include all tests used for nearbyint.
4343
4344 2014-03-17  Will Newton  <will.newton@linaro.org>
4345
4346         * nptl/sysdeps/pthread/pthread.h: Revert previous
4347         change.
4348
4349         * sysdeps/generic/ldsodefs.h: Revert previous
4350         change.
4351
4352         * libio/genops.c: Revert previous change.
4353         * libio/libioP.h: Likewise.
4354         * stdio-common/vfprintf.c: Likewise.
4355
4356         * sysdeps/generic/math_private.h: Revert previous
4357         change.
4358
4359         * sysdeps/generic/math_private.h: Check whether
4360         HAVE_RM_CTX is defined with #ifdef rather
4361         than #if.
4362
4363         * argp/argp-fmtstream.h: Check whether
4364         __STRICT_ANSI__ is defined with #ifdef rather
4365         than #if.
4366         * argp/argp.h: Likewise.
4367
4368         * libio/genops.c: Check whether
4369         _IO_JUMPS_OFFSET is defined with #ifdef rather
4370         than #if.
4371         * libio/libioP.h: Likewise.
4372         * stdio-common/vfprintf.c: Likewise.
4373
4374         * sysdeps/generic/ldsodefs.h: Check whether
4375         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4376         than #if.
4377
4378         * nptl/sysdeps/pthread/pthread.h: Check
4379         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4380         its value.
4381
4382 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4383
4384         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4385         setting O_APPEND.
4386         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4387         test case.
4388
4389         [BZ #16680]
4390         * libio/fileops.c (_IO_file_open): Seek to end of file but
4391         don't cache the offset.
4392         (get_file_offset): Remove function.
4393         (do_ftell): Use cached offset when available.
4394         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4395         don't cache the offset.
4396         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4397         case.
4398         (do_one_test): Call it.
4399         (do_ftell_test): Fix up expected old offset for a+ mode.
4400         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4401         available.
4402
4403         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4404         up test status with function return status.
4405         (do_write_test): Likewise.
4406         (do_append_test): Likewise.
4407
4408         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4409         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4410         Remove.
4411
4412 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4413
4414         * math/gen-libm-test.pl (parse_args): Handle results specified for
4415         each rounding mode separately.
4416         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4417         tests and results from lrint_tonearest_test_data,
4418         lrint_towardzero_test_data, lrint_downward_test_data and
4419         lrint_upward_test_data.
4420         (lrint_test): Use ALL_RM_TEST.
4421         (lrint_tonearest_test_data): Remove.
4422         (lrint_test_tonearest): Likewise.
4423         (lrint_towardzero_test_data): Likewise.
4424         (lrint_test_towardzero): Likewise.
4425         (lrint_downward_test_data): Likewise.
4426         (lrint_test_downward): Likewise.
4427         (lrint_upward_test_data): Likewise.
4428         (lrint_test_upward): Likewise.
4429         (llrint_test_data): Merge in per-rounding-mode tests and results
4430         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4431         llrint_downward_test_data and llrint_upward_test_data.
4432         (llrint_test): Use ALL_RM_TEST.
4433         (llrint_tonearest_test_data): Remove.
4434         (llrint_test_tonearest): Likewise.
4435         (llrint_towardzero_test_data): Likewise.
4436         (llrint_test_towardzero): Likewise.
4437         (llrint_downward_test_data): Likewise.
4438         (llrint_test_downward): Likewise.
4439         (llrint_upward_test_data): Likewise.
4440         (llrint_test_upward): Likewise.
4441         (rint_test_data): Merge in per-rounding-mode tests and results
4442         from rint_tonearest_test_data, rint_towardzero_test_data,
4443         rint_downward_test_data and rint_upward_test_data.  Add
4444         per-rounding-mode results for tests not in those arrays.
4445         (rint_test): Use ALL_RM_TEST.
4446         (rint_tonearest_test_data): Remove.
4447         (rint_test_tonearest): Likewise.
4448         (rint_towardzero_test_data): Likewise.
4449         (rint_test_towardzero): Likewise.
4450         (rint_downward_test_data): Likewise.
4451         (rint_test_downward): Likewise.
4452         (rint_upward_test_data): Likewise.
4453         (rint_test_upward): Likewise.
4454         (main): Don't call removed functions.
4455
4456 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4457
4458         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4459         "Compiled on ..." crapola.  It is anti-useful.
4460
4461 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4462
4463         * scripts/evaluate-test.sh: Handle fourth argument to determine
4464         whether test run should stop on failure.
4465         * Makeconfig (stop-on-test-failure): New variable.
4466         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4467         $(stop-on-test-failure).
4468         * Makefile (tests): Give a summary of results from testing and
4469         exit with failure status if they include an ERROR or FAIL.
4470         (xtests): Likewise.
4471         * manual/install.texi (Configuring and compiling): Mention
4472         stop-on-test-failure=y.
4473         * INSTALL: Regenerated.
4474
4475 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4476
4477         * scripts/versionlist.awk: New file.
4478         * Makerules [$(build-shared) = yes]
4479         (postclean-generated): Add Versions.def, not Versions.def.v and
4480         Versions.def.v.i.
4481         ($(common-objpfx)Versions.def.v.i): Target removed.
4482         ($(common-objpfx)Versions.def): New target.
4483         ($(common-objpfx)Versions.all): Depend on that rather that
4484         $(common-objpfx)Versions.def.v.
4485         * Versions.def: File removed.
4486
4487         * Makeconfig (+gccwarn): Add -Wundef.
4488         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4489         a dl-sysdep.h breaking its contract.
4490         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4491         * include/stackinfo.h: New file.
4492         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4493         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4494         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4495         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4496         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4497         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4498         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4499         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4500         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4501         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4502         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4503         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4504         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4505         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4506         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4507
4508 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4509
4510         [BZ #16707]
4511         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4512         implementation.
4513         * math/libm-test.inc (round_test_data): Add more tests.
4514
4515         [BZ #16706]
4516         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4517         implementation.
4518         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4519
4520         [BZ #16701]
4521         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4522         implementation.
4523         * math/libm-test.inc (ceil_test_data): Add more tests.
4524
4525         * math/libm-test.inc (trunc_test_data): Add more tests related to
4526         BZ#16414.
4527
4528 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4529
4530         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4531         with #if rather than #ifdef.
4532         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4533
4534 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4535
4536         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4537         first.  Disable AVX-512 GCC support if assembler doesn't support
4538         it.
4539         * sysdeps/x86_64/configure: Regenerated.
4540
4541 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4542
4543         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4544         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4545         (__old_pthread_attr_setstack): Likewise.
4546         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4547         [!_STACK_GROWS_DOWN]: Likewise.
4548
4549 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4550
4551         * config.make.in (have-bash2): Delete.
4552         * configure.ac (libc_cv_have_bash2): Delete.
4553         * configure: Regenerate.
4554         * elf/Makefile (common-ldd-rewrite): Rename to ...
4555         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4556         (sh-ldd-rewrite): Delete.
4557         (bash-ldd-rewrite): Delete.
4558         (have-bash2): Delete checks.
4559         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4560         ldd-rewrite.
4561
4562         * config.make.in (have-ksh): Delete.
4563         (KSH): Delete.
4564         * configure.ac (libc_cv_have_ksh): Delete.
4565         * configure: Regenerate.
4566
4567         * elf/Makefile: Delete $(have-ksh) check.
4568         ($(objpfx)sotruss): Change KSH to BASH.
4569         * elf/sotruss.ksh: Rename to ...
4570         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4571         function style to match POSIX.  Drop ksh vim mode setting.
4572
4573         * manual/time.texi (Specifying the Time Zone with TZ): Change
4574         Tuesday to Thursday.
4575
4576         * debug/tst-longjmp_chk2.c: Update header comment.
4577         (stackoverflow_handler): Add comment.  Call assert on pass value.
4578
4579 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4580
4581         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4582         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4583         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4584         (La_x86_64_vector): Add zmm.
4585         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4586         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4587         ($(objpfx)tst-audit10): New target.
4588         ($(objpfx)tst-audit10.out): Likewise.
4589         (tst-audit10-ENV): New.
4590         (AVX512-CFLAGS): Likewise.
4591         (CFLAGS-tst-audit10.c): Likewise.
4592         (CFLAGS-tst-auditmod10a.c): Likewise.
4593         (CFLAGS-tst-auditmod10b.c): Likewise.
4594         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4595         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4596         * sysdeps/x86_64/configure: Regenerated.
4597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4598         AVX-512 zmm register support.
4599         (_dl_x86_64_save_sse): Likewise.
4600         (_dl_x86_64_restore_sse): Likewise.
4601         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4602         size vector registers.
4603         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4604         (ZMM_SIZE): Likewise.
4605         * sysdeps/x86_64/tst-audit10.c: New file.
4606         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4607         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4608
4609 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4610
4611         * configure.ac (HAVE_EHDR_START): New check.
4612         * configure: Regenerated.
4613         * config.h.in (HAVE_EHDR_START): New #undef.
4614         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4615         assuming the lowest-addressed segment maps the start of the file.
4616
4617 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4618
4619         * INSTALL: Regenerated.
4620
4621 2014-03-13  Will Newton  <will.newton@linaro.org>
4622
4623         * manual/setjmp.texi (System V contexts): Improve
4624         clarity and grammar of documentation.
4625
4626 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4627
4628         [BZ #16381]
4629         * elf/Makefile (tests): Add tst-pie2.
4630         (tests-pie): Add tst-pie2.
4631         * elf/tst-pie2.c: New file.
4632         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4633         for ET_EXEC.
4634         * elf/rtld.c (map_doit): Load executable as lt_executable.
4635         (dl_main): Likewise.
4636
4637 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4638
4639         [BZ #16642]
4640         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4641         (__ASSUME_PSELECT): Undefine.
4642
4643 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4644
4645         [BZ #16689]
4646         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4647         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4648         static build.
4649         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4650         selector for static builds.
4651
4652 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4653
4654         [BZ #16695]
4655         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4656         key in the buffer.
4657
4658 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4659
4660         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4661         IFUNC selector for static builds.
4662
4663 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4664
4665         * sysdeps/mips/math_private.h [__mips_hard_float]
4666         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4667         libc_feresetround_mips_ctx.
4668         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4669         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4670         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4671
4672         [BZ #16677]
4673         * math/s_nextafter.c (__nextafter): Do not return value from
4674         overflowing computation.
4675         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4676         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4677         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4678         Likewise.
4679         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4680         Likewise.
4681         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4682         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4683
4684 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4685
4686         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4687         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4688         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4689         the new mov targetting sp.
4690
4691 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4692
4693         [BZ #16683]
4694         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4695         Define it for static builds as well.
4696         (NO_BZERO_IMPL): Likewise.
4697
4698 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4699
4700         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4701         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4702         multiarch strspn for PPC64.
4703         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4704         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4706         (__libc_ifunc_impl_list): Likewise.
4707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4708         multiarch optimizations
4709         * string/strspn.c (strspn): Using macro to redefine symbol name.
4710
4711 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4712             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4713
4714         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4715         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4716         multiarch strncat for PPC64.
4717         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4718         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4720         (__libc_ifunc_impl_list): Likewise.
4721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4722         multiarch optimizations
4723
4724 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4725
4726         [BZ #16639]
4727         * nscd/nscd.service: Make service type forking.
4728
4729 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4730
4731         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4732         sign in non default rounding modes.
4733         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4734
4735 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4736
4737         * math/libm-test.inc (ALL_RM_TEST): New macro.
4738         (ceil_test): Use ALL_RM_TEST.
4739         (cimag_test): Likewise.
4740         (conj_test): Likewise.
4741         (copysign_test): Likewise.
4742         (cproj_test): Likewise.
4743         (creal_test): Likewise.
4744         (fabs_test): Likewise.
4745         (floor_test): Likewise.
4746         (fmax_test): Likewise.
4747         (fmin_test): Likewise.
4748         (fmod_test): Likewise.
4749         (fpclassify_test): Likewise.
4750         (frexp_test): Likewise.
4751         (ilogb_test): Likewise.
4752         (isfinite_test): Likewise.
4753         (finite_test): Likewise.
4754         (isgreater_test): Likewise.
4755         (isgreaterequal_test): Likewise.
4756         (isinf_test): Likewise.
4757         (isless_test): Likewise.
4758         (islessequal_test): Likewise.
4759         (islessgreater_test): Likewise.
4760         (isnan_test): Likewise.
4761         (isnormal_test): Likewise.
4762         (issignaling_test): Likewise.
4763         (isunordered_test): Likewise.
4764         (logb_test): Likewise.
4765         (logb_downward_test_data): Remove.
4766         (logb_test_downward): Likewise.
4767         (lround_test): Use ALL_RM_TEST.
4768         (llround_test): Likewise.
4769         (modf_test): Likewise.
4770         (nexttoward_test): Likewise.
4771         (remainder_test): Likewise.
4772         (drem_test): Likewise.
4773         (remainder_tonearest_test_data): Likewise.
4774         (remainder_test_tonearest): Likewise.
4775         (drem_test_tonearest): Likewise.
4776         (remainder_towardzero_test_data): Likewise.
4777         (remainder_test_towardzero): Likewise.
4778         (drem_test_towardzero): Likewise.
4779         (remainder_downward_test_data): Likewise.
4780         (remainder_test_downward): Likewise.
4781         (drem_test_downward): Likewise.
4782         (remainder_upward_test_data): Likewise.
4783         (remainder_test_upward): Likewise.
4784         (drem_test_upward): Likewise.
4785         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4786         (round_test): Use ALL_RM_TEST.
4787         (signbit_test): Likewise.
4788         (trunc_test): Likewise.
4789         (significand_test): Likewise.
4790         (main): Don't call removed functions.
4791
4792 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4793
4794         [BZ #16674]
4795         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4796         || __USE_XOPEN2K8].
4797         (ILL_ILLOPN): Likewise.
4798         (ILL_ILLADR): Likewise.
4799         (ILL_ILLTRP): Likewise.
4800         (ILL_PRVOPC): Likewise.
4801         (ILL_PRVREG): Likewise.
4802         (ILL_COPROC): Likewise.
4803         (ILL_BADSTK): Likewise.
4804         (FPE_INTDIV): Likewise.
4805         (FPE_INTOVF): Likewise.
4806         (FPE_FLTDIV): Likewise.
4807         (FPE_FLTOVF): Likewise.
4808         (FPE_FLTUND): Likewise.
4809         (FPE_FLTRES): Likewise.
4810         (FPE_FLTINV): Likewise.
4811         (FPE_FLTSUB): Likewise.
4812         (SEGV_MAPERR): Likewise.
4813         (SEGV_ACCERR): Likewise.
4814         (BUS_ADRALN): Likewise.
4815         (BUS_ADRERR): Likewise.
4816         (BUS_OBJERR): Likewise.
4817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4818         (TRAP_TRACE): Likewise.
4819         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4820         __USE_XOPEN2K8].
4821         (CLD_KILLED): Likewise.
4822         (CLD_DUMPED): Likewise.
4823         (CLD_TRAPPED): Likewise.
4824         (CLD_STOPPED): Likewise.
4825         (CLD_CONTINUED): Likewise.
4826         (POLL_IN): Likewise.
4827         (POLL_OUT): Likewise.
4828         (POLL_MSG): Likewise.
4829         (POLL_ERR): Likewise.
4830         (POLL_PRI): Likewise.
4831         (POLL_HUP): Likewise.
4832         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4833         Likewise.
4834         (ILL_ILLOPN): Likewise.
4835         (ILL_ILLADR): Likewise.
4836         (ILL_ILLTRP): Likewise.
4837         (ILL_PRVOPC): Likewise.
4838         (ILL_PRVREG): Likewise.
4839         (ILL_COPROC): Likewise.
4840         (ILL_BADSTK): Likewise.
4841         (FPE_INTDIV): Likewise.
4842         (FPE_INTOVF): Likewise.
4843         (FPE_FLTDIV): Likewise.
4844         (FPE_FLTOVF): Likewise.
4845         (FPE_FLTUND): Likewise.
4846         (FPE_FLTRES): Likewise.
4847         (FPE_FLTINV): Likewise.
4848         (FPE_FLTSUB): Likewise.
4849         (SEGV_MAPERR): Likewise.
4850         (SEGV_ACCERR): Likewise.
4851         (BUS_ADRALN): Likewise.
4852         (BUS_ADRERR): Likewise.
4853         (BUS_OBJERR): Likewise.
4854         (BUS_MCEERR_AR): Likewise.
4855         (BUS_MCEERR_AO): Likewise.
4856         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4857         (TRAP_TRACE): Likewise.
4858         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4859         __USE_XOPEN2K8].
4860         (CLD_KILLED): Likewise.
4861         (CLD_DUMPED): Likewise.
4862         (CLD_TRAPPED): Likewise.
4863         (CLD_STOPPED): Likewise.
4864         (CLD_CONTINUED): Likewise.
4865         (POLL_IN): Likewise.
4866         (POLL_OUT): Likewise.
4867         (POLL_MSG): Likewise.
4868         (POLL_ERR): Likewise.
4869         (POLL_PRI): Likewise.
4870         (POLL_HUP): Likewise.
4871         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4872         (ILL_ILLOPN): Likewise.
4873         (ILL_ILLADR): Likewise.
4874         (ILL_ILLTRP): Likewise.
4875         (ILL_PRVOPC): Likewise.
4876         (ILL_PRVREG): Likewise.
4877         (ILL_COPROC): Likewise.
4878         (ILL_BADSTK): Likewise.
4879         (FPE_INTDIV): Likewise.
4880         (FPE_INTOVF): Likewise.
4881         (FPE_FLTDIV): Likewise.
4882         (FPE_FLTOVF): Likewise.
4883         (FPE_FLTUND): Likewise.
4884         (FPE_FLTRES): Likewise.
4885         (FPE_FLTINV): Likewise.
4886         (FPE_FLTSUB): Likewise.
4887         (SEGV_MAPERR): Likewise.
4888         (SEGV_ACCERR): Likewise.
4889         (BUS_ADRALN): Likewise.
4890         (BUS_ADRERR): Likewise.
4891         (BUS_OBJERR): Likewise.
4892         (BUS_MCEERR_AR): Likewise.
4893         (BUS_MCEERR_AO): Likewise.
4894         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4895         (TRAP_TRACE): Likewise.
4896         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4897         __USE_XOPEN2K8].
4898         (CLD_KILLED): Likewise.
4899         (CLD_DUMPED): Likewise.
4900         (CLD_TRAPPED): Likewise.
4901         (CLD_STOPPED): Likewise.
4902         (CLD_CONTINUED): Likewise.
4903         (POLL_IN): Likewise.
4904         (POLL_OUT): Likewise.
4905         (POLL_MSG): Likewise.
4906         (POLL_ERR): Likewise.
4907         (POLL_PRI): Likewise.
4908         (POLL_HUP): Likewise.
4909         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4910         Likewise.
4911         (ILL_ILLOPN): Likewise.
4912         (ILL_ILLADR): Likewise.
4913         (ILL_ILLTRP): Likewise.
4914         (ILL_PRVOPC): Likewise.
4915         (ILL_PRVREG): Likewise.
4916         (ILL_COPROC): Likewise.
4917         (ILL_BADSTK): Likewise.
4918         (ILL_BADIADDR): Likewise.
4919         (ILL_BREAK): Likewise.
4920         (FPE_INTDIV): Likewise.
4921         (FPE_INTOVF): Likewise.
4922         (FPE_FLTDIV): Likewise.
4923         (FPE_FLTOVF): Likewise.
4924         (FPE_FLTUND): Likewise.
4925         (FPE_FLTRES): Likewise.
4926         (FPE_FLTINV): Likewise.
4927         (FPE_FLTSUB): Likewise.
4928         (FPE_DECOVF): Likewise.
4929         (FPE_DECDIV): Likewise.
4930         (FPE_DECERR): Likewise.
4931         (FPE_INVASC): Likewise.
4932         (FPE_INVDEC): Likewise.
4933         (SEGV_MAPERR): Likewise.
4934         (SEGV_ACCERR): Likewise.
4935         (SEGV_PSTKOVF): Likewise.
4936         (BUS_ADRALN): Likewise.
4937         (BUS_ADRERR): Likewise.
4938         (BUS_OBJERR): Likewise.
4939         (BUS_MCEERR_AR): Likewise.
4940         (BUS_MCEERR_AO): Likewise.
4941         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4942         (TRAP_TRACE): Likewise.
4943         (TRAP_BRANCH): Likewise.
4944         (TRAP_HWBKPT): Likewise.
4945         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4946         __USE_XOPEN2K8].
4947         (CLD_KILLED): Likewise.
4948         (CLD_DUMPED): Likewise.
4949         (CLD_TRAPPED): Likewise.
4950         (CLD_STOPPED): Likewise.
4951         (CLD_CONTINUED): Likewise.
4952         (POLL_IN): Likewise.
4953         (POLL_OUT): Likewise.
4954         (POLL_MSG): Likewise.
4955         (POLL_ERR): Likewise.
4956         (POLL_PRI): Likewise.
4957         (POLL_HUP): Likewise.
4958         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4959         (ILL_ILLOPN): Likewise.
4960         (ILL_ILLADR): Likewise.
4961         (ILL_ILLTRP): Likewise.
4962         (ILL_PRVOPC): Likewise.
4963         (ILL_PRVREG): Likewise.
4964         (ILL_COPROC): Likewise.
4965         (ILL_BADSTK): Likewise.
4966         (FPE_INTDIV): Likewise.
4967         (FPE_INTOVF): Likewise.
4968         (FPE_FLTDIV): Likewise.
4969         (FPE_FLTOVF): Likewise.
4970         (FPE_FLTUND): Likewise.
4971         (FPE_FLTRES): Likewise.
4972         (FPE_FLTINV): Likewise.
4973         (FPE_FLTSUB): Likewise.
4974         (SEGV_MAPERR): Likewise.
4975         (SEGV_ACCERR): Likewise.
4976         (BUS_ADRALN): Likewise.
4977         (BUS_ADRERR): Likewise.
4978         (BUS_OBJERR): Likewise.
4979         (BUS_MCEERR_AR): Likewise.
4980         (BUS_MCEERR_AO): Likewise.
4981         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4982         (TRAP_TRACE): Likewise.
4983         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4984         __USE_XOPEN2K8].
4985         (CLD_KILLED): Likewise.
4986         (CLD_DUMPED): Likewise.
4987         (CLD_TRAPPED): Likewise.
4988         (CLD_STOPPED): Likewise.
4989         (CLD_CONTINUED): Likewise.
4990         (POLL_IN): Likewise.
4991         (POLL_OUT): Likewise.
4992         (POLL_MSG): Likewise.
4993         (POLL_ERR): Likewise.
4994         (POLL_PRI): Likewise.
4995         (POLL_HUP): Likewise.
4996         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4997         (ILL_ILLOPN): Likewise.
4998         (ILL_ILLADR): Likewise.
4999         (ILL_ILLTRP): Likewise.
5000         (ILL_PRVOPC): Likewise.
5001         (ILL_PRVREG): Likewise.
5002         (ILL_COPROC): Likewise.
5003         (ILL_BADSTK): Likewise.
5004         (FPE_INTDIV): Likewise.
5005         (FPE_INTOVF): Likewise.
5006         (FPE_FLTDIV): Likewise.
5007         (FPE_FLTOVF): Likewise.
5008         (FPE_FLTUND): Likewise.
5009         (FPE_FLTRES): Likewise.
5010         (FPE_FLTINV): Likewise.
5011         (FPE_FLTSUB): Likewise.
5012         (SEGV_MAPERR): Likewise.
5013         (SEGV_ACCERR): Likewise.
5014         (BUS_ADRALN): Likewise.
5015         (BUS_ADRERR): Likewise.
5016         (BUS_OBJERR): Likewise.
5017         (BUS_MCEERR_AR): Likewise.
5018         (BUS_MCEERR_AO): Likewise.
5019         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5020         (TRAP_TRACE): Likewise.
5021         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5022         __USE_XOPEN2K8].
5023         (CLD_KILLED): Likewise.
5024         (CLD_DUMPED): Likewise.
5025         (CLD_TRAPPED): Likewise.
5026         (CLD_STOPPED): Likewise.
5027         (CLD_CONTINUED): Likewise.
5028         (POLL_IN): Likewise.
5029         (POLL_OUT): Likewise.
5030         (POLL_MSG): Likewise.
5031         (POLL_ERR): Likewise.
5032         (POLL_PRI): Likewise.
5033         (POLL_HUP): Likewise.
5034         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5035         (ILL_ILLOPN): Likewise.
5036         (ILL_ILLADR): Likewise.
5037         (ILL_ILLTRP): Likewise.
5038         (ILL_PRVOPC): Likewise.
5039         (ILL_PRVREG): Likewise.
5040         (ILL_COPROC): Likewise.
5041         (ILL_BADSTK): Likewise.
5042         (FPE_INTDIV): Likewise.
5043         (FPE_INTOVF): Likewise.
5044         (FPE_FLTDIV): Likewise.
5045         (FPE_FLTOVF): Likewise.
5046         (FPE_FLTUND): Likewise.
5047         (FPE_FLTRES): Likewise.
5048         (FPE_FLTINV): Likewise.
5049         (FPE_FLTSUB): Likewise.
5050         (SEGV_MAPERR): Likewise.
5051         (SEGV_ACCERR): Likewise.
5052         (BUS_ADRALN): Likewise.
5053         (BUS_ADRERR): Likewise.
5054         (BUS_OBJERR): Likewise.
5055         (BUS_MCEERR_AR): Likewise.
5056         (BUS_MCEERR_AO): Likewise.
5057         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5058         (TRAP_TRACE): Likewise.
5059         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5060         __USE_XOPEN2K8].
5061         (CLD_KILLED): Likewise.
5062         (CLD_DUMPED): Likewise.
5063         (CLD_TRAPPED): Likewise.
5064         (CLD_STOPPED): Likewise.
5065         (CLD_CONTINUED): Likewise.
5066         (POLL_IN): Likewise.
5067         (POLL_OUT): Likewise.
5068         (POLL_MSG): Likewise.
5069         (POLL_ERR): Likewise.
5070         (POLL_PRI): Likewise.
5071         (POLL_HUP): Likewise.
5072         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5073         (ILL_ILLOPN): Likewise.
5074         (ILL_ILLADR): Likewise.
5075         (ILL_ILLTRP): Likewise.
5076         (ILL_PRVOPC): Likewise.
5077         (ILL_PRVREG): Likewise.
5078         (ILL_COPROC): Likewise.
5079         (ILL_BADSTK): Likewise.
5080         (ILL_DBLFLT): Likewise.
5081         (ILL_HARDWALL): Likewise.
5082         (FPE_INTDIV): Likewise.
5083         (FPE_INTOVF): Likewise.
5084         (FPE_FLTDIV): Likewise.
5085         (FPE_FLTOVF): Likewise.
5086         (FPE_FLTUND): Likewise.
5087         (FPE_FLTRES): Likewise.
5088         (FPE_FLTINV): Likewise.
5089         (FPE_FLTSUB): Likewise.
5090         (SEGV_MAPERR): Likewise.
5091         (SEGV_ACCERR): Likewise.
5092         (BUS_ADRALN): Likewise.
5093         (BUS_ADRERR): Likewise.
5094         (BUS_OBJERR): Likewise.
5095         (BUS_MCEERR_AR): Likewise.
5096         (BUS_MCEERR_AO): Likewise.
5097         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5098         (TRAP_TRACE): Likewise.
5099         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5100         __USE_XOPEN2K8].
5101         (CLD_KILLED): Likewise.
5102         (CLD_DUMPED): Likewise.
5103         (CLD_TRAPPED): Likewise.
5104         (CLD_STOPPED): Likewise.
5105         (CLD_CONTINUED): Likewise.
5106         (POLL_IN): Likewise.
5107         (POLL_OUT): Likewise.
5108         (POLL_MSG): Likewise.
5109         (POLL_ERR): Likewise.
5110         (POLL_PRI): Likewise.
5111         (POLL_HUP): Likewise.
5112         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5113         (ILL_ILLOPN): Likewise.
5114         (ILL_ILLADR): Likewise.
5115         (ILL_ILLTRP): Likewise.
5116         (ILL_PRVOPC): Likewise.
5117         (ILL_PRVREG): Likewise.
5118         (ILL_COPROC): Likewise.
5119         (ILL_BADSTK): Likewise.
5120         (FPE_INTDIV): Likewise.
5121         (FPE_INTOVF): Likewise.
5122         (FPE_FLTDIV): Likewise.
5123         (FPE_FLTOVF): Likewise.
5124         (FPE_FLTUND): Likewise.
5125         (FPE_FLTRES): Likewise.
5126         (FPE_FLTINV): Likewise.
5127         (FPE_FLTSUB): Likewise.
5128         (SEGV_MAPERR): Likewise.
5129         (SEGV_ACCERR): Likewise.
5130         (BUS_ADRALN): Likewise.
5131         (BUS_ADRERR): Likewise.
5132         (BUS_OBJERR): Likewise.
5133         (BUS_MCEERR_AR): Likewise.
5134         (BUS_MCEERR_AO): Likewise.
5135         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5136         (TRAP_TRACE): Likewise.
5137         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5138         __USE_XOPEN2K8].
5139         (CLD_KILLED): Likewise.
5140         (CLD_DUMPED): Likewise.
5141         (CLD_TRAPPED): Likewise.
5142         (CLD_STOPPED): Likewise.
5143         (CLD_CONTINUED): Likewise.
5144         (POLL_IN): Likewise.
5145         (POLL_OUT): Likewise.
5146         (POLL_MSG): Likewise.
5147         (POLL_ERR): Likewise.
5148         (POLL_PRI): Likewise.
5149         (POLL_HUP): Likewise.
5150         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5151         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5152
5153         [BZ #16670]
5154         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5155         before #include of <time.h>.
5156         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5157         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5158         (test-xfail-UNIX98/sched.h/conform): Likewise.
5159
5160 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5161
5162         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5163         error absence of trapping exception support.
5164         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5165
5166 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5167
5168         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5169         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5170         * timezone/Makefile (testdata): Move definition above include of
5171         Rules.
5172         (test-zones): New variable.
5173         (tests-special): Add zone files.
5174         (build-testdata): Use $(evaluate-test).
5175
5176         * elf/Makefile (tests-special): Rename tests to end with .out.
5177         ($(objpfx)noload-mem): Likewise.
5178         ($(objpfx)tst-leaks1-mem): Likewise.
5179         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5180         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5181         $(objpfx)test-iconvconfig.out.
5182         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5183         set -e inside subshell and redirect output to file.
5184         * iconvdata/Makefile (generated): Rename tests to end with .out.
5185         Correct type.
5186         (tests-special): Rename tests to end with .out.
5187         ($(objpfx)mtrace-tst-loading): Likewise.
5188         * intl/Makefile (generated): Likewise.
5189         (tests-special): Likewise.
5190         ($(objpfx)mtrace-tst-gettext): Likewise.
5191         * misc/Makefile (generated): Likewise.
5192         (tests-special): Likewise.
5193         ($(objpfx)tst-error1-mem): Likewise.
5194         * nptl/Makefile (tests-special): Likewise.
5195         ($(objpfx)tst-stack3-mem): Likewise.
5196         (generated): Likewise.
5197         * posix/Makefile (generated): Likewise.
5198         (tests-special): Likewise.
5199         (xtests-special): Likewise.
5200         ($(objpfx)tst-fnmatch-mem): Likewise.
5201         ($(objpfx)bug-regex2-mem): Likewise.
5202         ($(objpfx)bug-regex14-mem): Likewise.
5203         ($(objpfx)bug-regex21-mem): Likewise.
5204         ($(objpfx)bug-regex31-mem): Likewise.
5205         ($(objpfx)tst-vfork3-mem): Likewise.
5206         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5207         ($(objpfx)tst-pcre-mem): Likewise.
5208         ($(objpfx)tst-boost-mem): Likewise.
5209         ($(objpfx)bug-ga2-mem): Likewise.
5210         ($(objpfx)bug-glob2-mem): Likewise.
5211         * resolv/Makefile (generate): Likewise.
5212         (tests-special): Likewise.
5213         (xtests-special): Likewise.
5214         (generated): Likewise.
5215         ($(objpfx)mtrace-tst-leaks): Likewise.
5216         ($(objpfx)mtrace-tst-leaks2): Likewise.
5217
5218         * scripts/merge-test-results.sh: New file.
5219         * Makefile (tests-special-notdir): New variable.
5220         (tests): Run merge-test-results.sh.
5221         (xtests): Likewise.
5222         * Rules (tests-special-notdir): New variable.
5223         (xtests-special-notdir): Likewise.
5224         (tests): Run merge-test-results.sh
5225         (xtests): Likewise.
5226
5227         * Makeconfig (test-xfail-name): New variable.
5228         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5229         compute variable name for expected failures.
5230         * conform/Makefile (conformtest-headers-data): New variable.
5231         (conformtest-standards): Likewise.
5232         (conformtest-headers-ISO): Likewise.
5233         (conformtest-headers-ISO99): Likewise.
5234         (conformtest-headers-ISO11): Likewise.
5235         (conformtest-headers-POSIX): Likewise.
5236         (conformtest-headers-XPG3): Likewise.
5237         (conformtest-headers-XPG4): Likewise.
5238         (conformtest-headers-UNIX98): Likewise.
5239         (conformtest-headers-XOPEN2K): Likewise.
5240         (conformtest-headers-POSIX2008): Likewise.
5241         (conformtest-headers-XOPEN2K8): Likewise.
5242         (conformtest-header-list-base): Likewise.
5243         (conformtest-header-list-tests): Likewise.
5244         (conformtest-header-base): Likewise.
5245         (conformtest-header-tests): Likewise.
5246         (tests-special): Add $(conformtest-header-list-tests).  If
5247         [$(fast-check) && !$(cross-compiling)], add
5248         $(conformtest-header-tests) instead of
5249         $(objpfx)run-conformtest.out.
5250         (generated): Add $(conformtest-header-list-base).  If
5251         [$(fast-check) && !$(cross-compiling)], add
5252         $(conformtest-header-base).  Remove previous setting.
5253         ($(conformtest-header-list-tests)): New target.
5254         (test-xfail-run-conformtest): Remove variable.
5255         ($(objpfx)run-conformtest.out): Remove target.
5256         (test-xfail-ISO11/complex.h/conform): New variable.
5257         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5258         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5259         (test-xfail-XPG3/varargs.h/conform): Likewise.
5260         (test-xfail-XPG4/varargs.h/conform): Likewise.
5261         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5262         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5263         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5264         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5265         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5266         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5267         (test-xfail-XPG3/ftw.h/conform): Likewise.
5268         (test-xfail-XPG3/grp.h/conform): Likewise.
5269         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5270         (test-xfail-XPG3/limits.h/conform): Likewise.
5271         (test-xfail-XPG3/pwd.h/conform): Likewise.
5272         (test-xfail-XPG3/search.h/conform): Likewise.
5273         (test-xfail-XPG3/signal.h/conform): Likewise.
5274         (test-xfail-XPG3/stdio.h/conform): Likewise.
5275         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5276         (test-xfail-XPG3/string.h/conform): Likewise.
5277         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5278         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5279         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5280         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5281         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5282         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5283         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5284         (test-xfail-XPG3/termios.h/conform): Likewise.
5285         (test-xfail-XPG3/time.h/conform): Likewise.
5286         (test-xfail-XPG3/unistd.h/conform): Likewise.
5287         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5288         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5289         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5290         (test-xfail-XPG4/netdb.h/conform): Likewise.
5291         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5292         (test-xfail-XPG4/signal.h/conform): Likewise.
5293         (test-xfail-XPG4/stdio.h/conform): Likewise.
5294         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5295         (test-xfail-XPG4/stropts.h/conform): Likewise.
5296         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5297         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5298         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5299         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5300         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5301         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5302         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5303         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5304         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5305         (test-xfail-XPG4/termios.h/conform): Likewise.
5306         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5307         (test-xfail-XPG4/unistd.h/conform): Likewise.
5308         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5309         (test-xfail-POSIX/sched.h/conform): Likewise.
5310         (test-xfail-POSIX/signal.h/conform): Likewise.
5311         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5312         (test-xfail-POSIX/tar.h/conform): Likewise.
5313         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5314         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5315         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5316         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5317         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5318         (test-xfail-UNIX98/sched.h/conform): Likewise.
5319         (test-xfail-UNIX98/signal.h/conform): Likewise.
5320         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5321         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5322         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5323         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5324         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5325         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5326         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5327         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5328         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5329         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5330         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5331         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5332         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5333         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5334         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5335         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5336         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5337         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5338         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5339         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5340         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5341         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5342         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5343         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5344         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5345         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5346         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5347         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5348         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5349         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5350         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5351         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5352         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5353         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5354         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5355         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5356         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5357         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5358         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5359         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5360         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5361         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5362         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5363         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5364         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5365         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5366         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5367         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5368         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5369         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5370         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5371         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5372         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5373         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5374         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5375         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5376         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5377         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5378         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5379         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5380         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5381         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5382         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5383         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5384         (conformtest-cc-flags): Likewise.
5385         ($(conformtest-header-tests): New target.
5386         * conform/check-header-lists.sh: New file.
5387         * conform/run-conformtest.sh: Remove.
5388
5389         * conform/conformtest.pl: Allow ' and \ in values given for
5390         constants.
5391         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5392         inclusion.
5393         [POSIX] (sys/types.h): Likewise.
5394         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5395         inclusion.
5396         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5397         inclusion.
5398         * conform/data/signal.h-data (SIGIO): Remove expectation.
5399         [XPG3] (SIGBUS): Do not expect.
5400         [POSIX || XPG3] (SIGPOLL): Likewise.
5401         [POSIX || XPG3] (SIGPROF): Likewise.
5402         [POSIX || XPG3] (SIGSYS): Likewise.
5403         [XPG3] (SIGTRAP): Likewise.
5404         [POSIX || XPG3] (SIGURG): Likewise.
5405         [POSIX || XPG3] (SIGVTALRM): Likewise.
5406         [POSIX || XPG3] (SIGXCPU): Likewise.
5407         [POSIX || XPG3] (SIGXFSZ): Likewise.
5408         [POSIX] (SA_SIGINFO): Expect.
5409         [XPG3] (siginfo_t): Do not expect type or contents.
5410         [POSIX] (si_pid): Do not expect element.
5411         [POSIX] (si_uid): Likewise.
5412         [POSIX] (si_addr): Likewise.
5413         [POSIX] (si_status): Likewise.
5414         [POSIX] (si_band): Likewise.
5415         [XPG4] (si_value): Likewise.
5416         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5417         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5418         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5419         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5420         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5421         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5422         [POSIX || XPG3] (ILL_COPROC): Likewise.
5423         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5424         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5425         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5426         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5427         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5428         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5429         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5430         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5431         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5432         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5433         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5434         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5435         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5436         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5437         [POSIX || XPG3] (CLD_EXITED): Likewise.
5438         [POSIX || XPG3] (CLD_KILLED): Likewise.
5439         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5440         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5441         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5442         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5443         [POSIX || XPG3] (POLL_IN): Likewise.
5444         [POSIX || XPG3] (POLL_OUT): Likewise.
5445         [POSIX || XPG3] (POLL_MSG): Likewise.
5446         [POSIX || XPG3] (POLL_ERR): Likewise.
5447         [POSIX || XPG3] (POLL_PRI): Likewise.
5448         [POSIX || XPG3] (POLL_HUP): Likewise.
5449         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5450         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5451         (SIG*): Do not allow.
5452         [XPG3] (si_*): Likewise.
5453         [XPG3] (SI_*): Likewise.
5454         [XPG3 || XPG4] (sigev_*): Likewise.
5455         [XPG3 || XPG4] (SIGEV_*): Likewise.
5456         [XPG3 || XPG4] (sival_*): Likewise.
5457         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5458         [POSIX || XPG3] (BUS_*): Likewise.
5459         [POSIX || XPG3] (CLD_*): Likewise.
5460         [POSIX || XPG3] (FPE_*): Likewise.
5461         [POSIX || XPG3] (ILL_*): Likewise.
5462         [POSIX || XPG3] (POLL_*): Likewise.
5463         [POSIX || XPG3] (SEGV_*): Likewise.
5464         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5465         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5466         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5467         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5468         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5469         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5470         Specify type and value.
5471         (TVERSLEN): Likewise.
5472         (REGTYPE): Likewise.
5473         (AREGTYPE): Likewise.
5474         (LNKTYPE): Likewise.
5475         (SYMTYPE): Likewise.
5476         (CHRTYPE): Likewise.
5477         (BLKTYPE): Likewise.
5478         (DIRTYPE): Likewise.
5479         (FIFOTYPE): Likewise.
5480         (CONTTYPE): Likewise.
5481         (TSUID): Likewise.
5482         (TSGID): Likewise.
5483         (TSVTX): Likewise.
5484         (TUREAD): Likewise.
5485         (TUWRITE): Likewise.
5486         (TUEXEC): Likewise.
5487         (TGREAD): Likewise.
5488         (TGWRITE): Likewise.
5489         (TGEXEC): Likewise.
5490         (TOREAD): Likewise.
5491         (TOWRITE): Likewise.
5492         (TOEXEC): Likewise.
5493         [POSIX] (TSVTX): Expect constant.
5494
5495 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5496
5497         * Makefile (tests): Change dependencies to ....
5498         (tests-special): ... additions to this variable.
5499         (tests): Depend on $(tests-special).
5500         * Makerules (check-abi-list): New variable.
5501         (check-abi): Depend on $(check-abi-list).
5502         [$(subdir) = elf] (tests-special): Add
5503         $(objpfx)check-abi-libc.out.
5504         [$(build-shared) = yes && subdir] (tests-special): Add
5505         $(check-abi-list).
5506         [$(build-shared) = yes && subdir] (tests): Do not depend on
5507         check-abi.
5508         * Rules (tests): Depend on $(tests-special).
5509         (xtests): Depend on $(xtests-special).
5510         * catgets/Makefile (tests): Change dependencies to ....
5511         (tests-special): ... additions to this variable.
5512         * conform/Makefile (tests): Change dependencies to ....
5513         (tests-special): ... additions to this variable.
5514         * elf/Makefile (tests): Change dependencies to ....
5515         (tests-special): ... additions to this variable.
5516         * grp/Makefile (tests): Change dependencies to ....
5517         (tests-special): ... additions to this variable.
5518         * iconv/Makefile (xtests): Change dependencies to ....
5519         (xtests-special): ... additions to this variable.
5520         * iconvdata/Makefile (tests): Change dependencies to ....
5521         (tests-special): ... additions to this variable.
5522         * intl/Makefile (tests): Change dependencies to ....
5523         (tests-special): ... additions to this variable.  Also add
5524         $(objpfx)tst-gettext.out.
5525         * io/Makefile (tests): Change dependencies to ....
5526         (tests-special): ... additions to this variable.
5527         * libio/Makefile (tests): Change dependencies to ....
5528         (tests-special): ... additions to this variable.
5529         * malloc/Makefile (tests): Change dependencies to ....
5530         (tests-special): ... additions to this variable.
5531         * misc/Makefile (tests): Change dependencies to ....
5532         (tests-special): ... additions to this variable.
5533         * nptl/Makefile (tests): Change dependencies to ....
5534         (tests-special): ... additions to this variable.
5535         * nptl_db/Makefile (tests): Change dependencies to ....
5536         (tests-special): ... additions to this variable.
5537         * posix/Makefile (tests): Change dependencies to ....
5538         (tests-special): ... additions to this variable.
5539         (xtests): Change dependencies to ....
5540         (xtests-special): ... additions to this variable.
5541         * resolv/Makefile (tests): Change dependencies to ....
5542         (tests-special): ... additions to this variable.
5543         (xtests): Change dependencies to ....
5544         (xtests-special): ... additions to this variable.
5545         * stdio-common/Makefile (tests): Change dependencies to ....
5546         (tests-special): ... additions to this variable.
5547         (do-tst-unbputc): Remove target.
5548         (do-tst-printf): Likewise.
5549         * stdlib/Makefile (tests): Change dependencies to ....
5550         (tests-special): ... additions to this variable.
5551         * string/Makefile (tests): Change dependencies to ....
5552         (tests-special): ... additions to this variable.
5553         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5554         (tests-special): ... additions to this variable.
5555
5556         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5557         whole file.
5558         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5559         whole file.
5560         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5561         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5562
5563         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5564         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5565         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5566         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5567         * conform/data/libgen.h-data [XPG3]: Likewise.
5568         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5569         * conform/data/ndbm.h-data [XPG3]: Likewise.
5570         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5571         * conform/data/netdb.h-data [XPG3]: Likewise.
5572         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5573         * conform/data/poll.h-data [XPG3]: Likewise.
5574         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5575         * conform/data/strings.h-data [XPG3]: Likewise.
5576         * conform/data/stropts.h-data [XPG3]: Likewise.
5577         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5578         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5579         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5580         Likewise.
5581         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5582         * conform/data/sys/time.h-data [XPG3]: Likewise.
5583         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5584         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5585         * conform/data/sys/un.h-data [XPG3]: Likewise.
5586         * conform/data/syslog.h-data [XPG3]: Likewise.
5587         * conform/data/ucontext.h-data [XPG3]: Likewise.
5588         * conform/data/utmpx.h-data [XPG3]: Likewise.
5589         * conform/data/varargs.h-data [UNIX98]: Enable file.
5590
5591         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5592
5593         * math/libm-test.inc (struct test_f_f_data): Move expected results
5594         into structure for each rounding mode.
5595         (struct test_ff_f_data): Likewise.
5596         (struct test_ff_f_data_nexttoward): Likewise.
5597         (struct test_fi_f_data): Likewise.
5598         (struct test_fl_f_data): Likewise.
5599         (struct test_if_f_data): Likewise.
5600         (struct test_fff_f_data): Likewise.
5601         (struct test_c_f_data): Likewise.
5602         (struct test_f_f1_data): Likewise.
5603         (struct test_fF_f1_data): Likewise.
5604         (struct test_ffI_f1_data): Likewise.
5605         (struct test_c_c_data): Likewise.
5606         (struct test_cc_c_data): Likewise.
5607         (struct test_f_i_data): Likewise.
5608         (struct test_ff_i_data): Likewise.
5609         (struct test_f_l_data): Likewise.
5610         (struct test_f_L_data): Likewise.
5611         (struct test_fFF_11_data): Likewise.
5612         (RM_): New macro.
5613         (RM_FE_DOWNWARD): Likewise.
5614         (RM_FE_TONEAREST): Likewise.
5615         (RM_FE_TOWARDZERO): Likewise.
5616         (RM_FE_UPWARD): Likewise.
5617         (RUN_TEST_LOOP_f_f): Update references to expected results.
5618         (RUN_TEST_LOOP_2_f): Likewise.
5619         (RUN_TEST_LOOP_fff_f): Likewise.
5620         (RUN_TEST_LOOP_c_f): Likewise.
5621         (RUN_TEST_LOOP_f_f1): Likewise.
5622         (RUN_TEST_LOOP_fF_f1): Likewise.
5623         (RUN_TEST_LOOP_fI_f1): Likewise.
5624         (RUN_TEST_LOOP_ffI_f1): Likewise.
5625         (RUN_TEST_LOOP_c_c): Likewise.
5626         (RUN_TEST_LOOP_cc_c): Likewise.
5627         (RUN_TEST_LOOP_f_i): Likewise.
5628         (RUN_TEST_LOOP_f_i_tg): Likewise.
5629         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5630         (RUN_TEST_LOOP_f_b): Likewise.
5631         (RUN_TEST_LOOP_f_b_tg): Likewise.
5632         (RUN_TEST_LOOP_f_l): Likewise.
5633         (RUN_TEST_LOOP_f_L): Likewise.
5634         (RUN_TEST_LOOP_fFF_11): Likewise.
5635         * math/gen-libm-test.pl (parse_args): Output four copies of
5636         expected results for each test.
5637
5638         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5639         (__ASSUME_UTIMES): Remove.
5640         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5641         (__ASSUME_UTIMES): Likewise.
5642
5643         * math/gen-auto-libm-tests.c: Update comment on output format.
5644         (output_for_one_input_case): Generate before-rounding and
5645         after-rounding information as conditions on output flags not
5646         floating-point format.
5647         * math/auto-libm-test-out: Regenerated.
5648         * math/gen-libm-test.pl (cond_value): New function.
5649         (or_cond_value): Use cond_value.
5650         (generate_testfile): Handle conditional exceptions.
5651
5652 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5653
5654         * math/libm-test.inc (max_valid_error): New variable.
5655         (init_max_error): Take new argument specifying whether function
5656         results are exactly determined.  Set max_valid_error and bound
5657         other variables for errors based on this argument.
5658         (set_max_error): Do not record results above max_valid_error.
5659         (check_float_internal): Only accept errors of up to 0.5ulps if
5660         also at most max_valid_error.
5661         (START): Take new argument EXACT and pass it to init_max_error.
5662         (acos_test): Update call to START.
5663         (acos_test_tonearest): Likewise.
5664         (acos_test_towardzero): Likewise.
5665         (acos_test_downward): Likewise.
5666         (acos_test_upward): Likewise.
5667         (acosh_test): Likewise.
5668         (asin_test): Likewise.
5669         (asin_test_tonearest): Likewise.
5670         (asin_test_towardzero): Likewise.
5671         (asin_test_downward): Likewise.
5672         (asin_test_upward): Likewise.
5673         (asinh_test): Likewise.
5674         (atan_test): Likewise.
5675         (atanh_test): Likewise.
5676         (atan2_test): Likewise.
5677         (cabs_test): Likewise.
5678         (cacos_test): Likewise.
5679         (cacosh_test): Likewise.
5680         (carg_test): Likewise.
5681         (casin_test): Likewise.
5682         (casinh_test): Likewise.
5683         (catan_test): Likewise.
5684         (catanh_test): Likewise.
5685         (cbrt_test): Likewise.
5686         (ccos_test): Likewise.
5687         (ccosh_test): Likewise.
5688         (ceil_test): Likewise.
5689         (cexp_test): Likewise.
5690         (cimag_test): Likewise.
5691         (clog_test): Likewise.
5692         (clog10_test): Likewise.
5693         (conj_test): Likewise.
5694         (copysign_test): Likewise.
5695         (cos_test): Likewise.
5696         (cos_test_tonearest): Likewise.
5697         (cos_test_towardzero): Likewise.
5698         (cos_test_downward): Likewise.
5699         (cos_test_upward): Likewise.
5700         (cosh_test): Likewise.
5701         (cosh_test_tonearest): Likewise.
5702         (cosh_test_towardzero): Likewise.
5703         (cosh_test_downward): Likewise.
5704         (cosh_test_upward): Likewise.
5705         (cpow_test): Likewise.
5706         (cproj_test): Likewise.
5707         (creal_test): Likewise.
5708         (csin_test): Likewise.
5709         (csinh_test): Likewise.
5710         (csqrt_test): Likewise.
5711         (ctan_test): Likewise.
5712         (ctan_test_tonearest): Likewise.
5713         (ctan_test_towardzero): Likewise.
5714         (ctan_test_downward): Likewise.
5715         (ctan_test_upward): Likewise.
5716         (ctanh_test): Likewise.
5717         (ctanh_test_tonearest): Likewise.
5718         (ctanh_test_towardzero): Likewise.
5719         (ctanh_test_downward): Likewise.
5720         (ctanh_test_upward): Likewise.
5721         (erf_test): Likewise.
5722         (erfc_test): Likewise.
5723         (exp_test): Likewise.
5724         (exp_test_tonearest): Likewise.
5725         (exp_test_towardzero): Likewise.
5726         (exp_test_downward): Likewise.
5727         (exp_test_upward): Likewise.
5728         (exp10_test): Likewise.
5729         (exp10_test_tonearest): Likewise.
5730         (exp10_test_towardzero): Likewise.
5731         (exp10_test_downward): Likewise.
5732         (exp10_test_upward): Likewise.
5733         (pow10_test): Likewise.
5734         (exp2_test): Likewise.
5735         (expm1_test): Likewise.
5736         (expm1_test_tonearest): Likewise.
5737         (expm1_test_towardzero): Likewise.
5738         (expm1_test_downward): Likewise.
5739         (expm1_test_upward): Likewise.
5740         (fabs_test): Likewise.
5741         (fdim_test): Likewise.
5742         (floor_test): Likewise.
5743         (fma_test): Likewise.
5744         (fma_test_towardzero): Likewise.
5745         (fma_test_downward): Likewise.
5746         (fma_test_upward): Likewise.
5747         (fmax_test): Likewise.
5748         (fmin_test): Likewise.
5749         (fmod_test): Likewise.
5750         (fpclassify_test): Likewise.
5751         (frexp_test): Likewise.
5752         (hypot_test): Likewise.
5753         (ilogb_test): Likewise.
5754         (isfinite_test): Likewise.
5755         (finite_test): Likewise.
5756         (isgreater_test): Likewise.
5757         (isgreaterequal_test): Likewise.
5758         (isinf_test): Likewise.
5759         (isless_test): Likewise.
5760         (islessequal_test): Likewise.
5761         (islessgreater_test): Likewise.
5762         (isnan_test): Likewise.
5763         (isnormal_test): Likewise.
5764         (issignaling_test): Likewise.
5765         (isunordered_test): Likewise.
5766         (j0_test): Likewise.
5767         (j1_test): Likewise.
5768         (jn_test): Likewise.
5769         (ldexp_test): Likewise.
5770         (lgamma_test): Likewise.
5771         (gamma_test): Likewise.
5772         (lrint_test): Likewise.
5773         (lrint_test_tonearest): Likewise.
5774         (lrint_test_towardzero): Likewise.
5775         (lrint_test_downward): Likewise.
5776         (lrint_test_upward): Likewise.
5777         (llrint_test): Likewise.
5778         (llrint_test_tonearest): Likewise.
5779         (llrint_test_towardzero): Likewise.
5780         (llrint_test_downward): Likewise.
5781         (llrint_test_upward): Likewise.
5782         (log_test): Likewise.
5783         (log10_test): Likewise.
5784         (log1p_test): Likewise.
5785         (log2_test): Likewise.
5786         (logb_test): Likewise.
5787         (logb_test_downward): Likewise.
5788         (lround_test): Likewise.
5789         (llround_test): Likewise.
5790         (modf_test): Likewise.
5791         (nearbyint_test): Likewise.
5792         (nextafter_test): Likewise.
5793         (nexttoward_test): Likewise.
5794         (pow_test): Likewise.
5795         (pow_test_tonearest): Likewise.
5796         (pow_test_towardzero): Likewise.
5797         (pow_test_downward): Likewise.
5798         (pow_test_upward): Likewise.
5799         (remainder_test): Likewise.
5800         (drem_test): Likewise.
5801         (remainder_test_tonearest): Likewise.
5802         (drem_test_tonearest): Likewise.
5803         (remainder_test_towardzero): Likewise.
5804         (drem_test_towardzero): Likewise.
5805         (remainder_test_downward): Likewise.
5806         (drem_test_downward): Likewise.
5807         (remainder_test_upward): Likewise.
5808         (drem_test_upward): Likewise.
5809         (remquo_test): Likewise.
5810         (rint_test): Likewise.
5811         (rint_test_tonearest): Likewise.
5812         (rint_test_towardzero): Likewise.
5813         (rint_test_downward): Likewise.
5814         (rint_test_upward): Likewise.
5815         (round_test): Likewise.
5816         (scalb_test): Likewise.
5817         (scalbn_test): Likewise.
5818         (scalbln_test): Likewise.
5819         (signbit_test): Likewise.
5820         (sin_test): Likewise.
5821         (sin_test_tonearest): Likewise.
5822         (sin_test_towardzero): Likewise.
5823         (sin_test_downward): Likewise.
5824         (sin_test_upward): Likewise.
5825         (sincos_test): Likewise.
5826         (sinh_test): Likewise.
5827         (sinh_test_tonearest): Likewise.
5828         (sinh_test_towardzero): Likewise.
5829         (sinh_test_downward): Likewise.
5830         (sinh_test_upward): Likewise.
5831         (sqrt_test): Likewise.
5832         (sqrt_test_tonearest): Likewise.
5833         (sqrt_test_towardzero): Likewise.
5834         (sqrt_test_downward): Likewise.
5835         (sqrt_test_upward): Likewise.
5836         (tan_test): Likewise.
5837         (tan_test_tonearest): Likewise.
5838         (tan_test_towardzero): Likewise.
5839         (tan_test_downward): Likewise.
5840         (tan_test_upward): Likewise.
5841         (tanh_test): Likewise.
5842         (tgamma_test): Likewise.
5843         (trunc_test): Likewise.
5844         (y0_test): Likewise.
5845         (y1_test): Likewise.
5846         (yn_test): Likewise.
5847         (significand_test): Likewise.
5848
5849         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5850         individual tests in comment.
5851         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5852         (prev_max_error): New variable.
5853         (prev_real_max_error): Likewise.
5854         (prev_imag_max_error): Likewise.
5855         (compare_ulp_data): Don't refer to test names in comment.
5856         (find_test_ulps): Remove function.
5857         (find_function_ulps): Likewise.
5858         (find_complex_function_ulps): Likewise.
5859         (init_max_error): Take function name as argument.  Look up ulps
5860         for that function.
5861         (print_ulps): Remove function.
5862         (print_max_error): Use prev_max_error instead of calling
5863         find_function_ulps.
5864         (print_complex_max_error): Use prev_real_max_error and
5865         prev_imag_max_error instead of calling find_complex_function_ulps.
5866         (check_float_internal): Take max_ulp parameter instead of calling
5867         find_test_ulps.  Don't call print_ulps.
5868         (check_float): Update call to check_float_internal.
5869         (check_complex): Update calls to check_float_internal.
5870         (START): Pass argument to init_max_error.
5871         * math/gen-libm-test.pl (%results): Don't include "kind"
5872         information.
5873         (parse_ulps): Don't handle ulps of individual tests.
5874         (print_ulps_file): Likewise.
5875         (output_ulps): Likewise.
5876         * math/README.libm-test: Update.
5877         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5878         individual tests.
5879         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5880         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5881         * sysdeps/arm/libm-test-ulps: Likewise.
5882         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5883         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5884         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5885         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5886         * sysdeps/microblaze/libm-test-ulps: Likewise.
5887         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5888         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5889         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5890         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5891         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5892         * sysdeps/sh/libm-test-ulps: Likewise.
5893         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5894         * sysdeps/tile/libm-test-ulps: Likewise.
5895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5896
5897 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5898
5899         * math/libm-test.inc (print_complex_max_error): Check separately
5900         whether real and imaginary errors are within allowed range and
5901         pass 0 to print_complex_function_ulps instead of value within
5902         allowed range.
5903
5904 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5905
5906         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5907         formatting.
5908         (get_handles_fopen): Likewise.
5909         (do_write_test): Likewise.
5910
5911         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5912
5913         * libio/fileops.c (do_ftell): Use cached offset when
5914         available.
5915         * libio/iofwide.c (do_ftell_wide): Likewise.
5916         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5917         _IO_file_attach.
5918         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5919
5920         [BZ #16532]
5921         * libio/libioP.h (get_file_offset): New function.
5922         * libio/fileops.c (get_file_offset): Likewise.
5923         (do_ftell): Likewise.
5924         (_IO_new_file_seekoff): Split out ftell logic.
5925         * libio/wfileops.c (do_ftell_wide): Likewise.
5926         (_IO_wfile_seekoff): Split out ftell logic.
5927         * libio/tst-ftell-active-handler.c: New test case.
5928         * libio/Makefile (tests): Add it.
5929
5930 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5931
5932         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5933         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5934
5935 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5936
5937         [BZ #16639]
5938         * nscd/connections.c (nscd_init): Call do_exit.
5939         (start_threads): Call do_exit and notify_parent.
5940         (begin_drop_privileges): Call do_exit.
5941         (finish_drop_privileges): Likewise.
5942         * nscd/selinux.c (preserve_capabilities): Likewise.
5943         (install_real_capabilities): Likewise.
5944         (nscd_selinux_enabled): Likewise.
5945         (avc_create_thread): Likewise.
5946         (avc_alloc_lock): Likewise.
5947         (nscd_avc_init): Likewise.
5948         * nscd/nscd.c (parent_fd): New static variable.
5949         (main): Create a pipe between parent and child processes.
5950         Skip closing parent_fd.
5951         (monitor_child): New function.
5952         (do_exit): Likewise.
5953         (notify_parent): Likewise.
5954         * nscd/nscd.h (notify_parent): Likewise.
5955         (do_exit): Likewise.
5956
5957 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5958
5959         * malloc/malloc.c (__libc_calloc): Revert last change.
5960
5961 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5962
5963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5964
5965 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5966
5967         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5969         implementation.
5970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5971         (__libc_ifunc_impl_list): Likewise.
5972         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5973         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5974         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5975         * string/strrchr.c: Define STRRCHR.
5976
5977 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5978
5979         * benchtest/bench-strtok.c (simple_strtok): Delete.
5980         (strtok_string): Use as benchmark.
5981         * string/strtok (STRTOK): New macro.
5982
5983 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
5984
5985         * manual/threads.texi: Add header and standard comments to all
5986         functions.
5987
5988         * elf/dl-lookup.c (check_match): New function.
5989         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5990         (do_lookup_x): Remove nested function check_match. Use non-nested
5991         function check_match.
5992
5993 2014-02-28  Roland McGrath  <roland@hack.frob.com>
5994
5995         * csu/Makefile (generated, before-compile): Use += rather than =.
5996         * catgets/Makefile (generated, generated-dirs): Likewise.
5997         * debug/Makefile (generated): Likewise.
5998         * dlfcn/Makefile (generated): Likewise.
5999         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6000         * iconvdata/Makefile (before-compile, generated): Likewise.
6001         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6002         * libio/Makefile (generated): Likewise.
6003         * malloc/Makefile (generated): Likewise.
6004         * manual/Makefile (generated, generated-dirs): Likewise.
6005         * misc/Makefile (generated): Likewise.
6006         * posix/Makefile (generated): Likewise.
6007         * resolv/Makefile (generated): Likewise.
6008         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6009         * timezone/Makefile (generated, generated-dirs): Likewise.
6010
6011         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6012
6013 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6014
6015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6016         power8 implementation.
6017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6018         file: POWER8 llround ifunc implementation.
6019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6020         (__lllround): Add POWER8 implementation.
6021         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6022         POWER8 llround implementation.
6023
6024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6025         power8 implementation.
6026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6027         file: POWER8 llrint ifunc implementation.
6028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6029         Add POWER8 implementation.
6030         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6031         POWER8 llrint implementation.
6032
6033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6034         power8 implementation.
6035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6036         file: POWER8 finite ifunc implementation.
6037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6038         Add POWER8 implementation.
6039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6040         Likewise.
6041         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6042         POWER8 finite implementation.
6043         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6044
6045         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6046         power8 implementation.
6047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6048         file: POWER8 isinf ifunc implementation.
6049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6050         POWER8 implementation.
6051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6052         Likewise.
6053         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6054         isinf implementation.
6055         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6056
6057         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6058         (INIT_ARCH): Add hwcap2 initialization.
6059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6060         power8 implementation.
6061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6062         file: POWER8 isnan ifunc implementation.
6063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6064         POWER8 implementation.
6065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6066         Likewise.
6067         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6068         isnan implementation.
6069         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6070
6071 2014-02-27  Joey Ye  <joey.ye@arm.com>
6072
6073         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6074         (_FP_NANFRAC_Q): Set to zero.
6075
6076 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6077
6078         [BZ #16623]
6079         * math/auto-libm-test-in: New test inputs.
6080         * math/auto-libm-test-out: Regenerate.
6081         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6082         and DA.
6083         (__cos): Likewise.
6084         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6085
6086 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6087
6088         * scripts/evaluate-test.sh: Take new argument indicating whether
6089         failure is expected.
6090         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6091         indicating whether failure is expected.
6092         * conform/Makefile (test-xfail-run-conformtest): New variable.
6093         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6094         level.
6095         * posix/Makefile (test-xfail-annexc): New variable.
6096         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6097
6098 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6099
6100         * argp/Makefile: Include Makeconfig immediately after defining
6101         subdir.
6102         * assert/Makefile: Likewise.
6103         * benchtests/Makefile: Likewise.
6104         * catgets/Makefile: Likewise.
6105         * conform/Makefile: Likewise.
6106         * crypt/Makefile: Likewise.
6107         * csu/Makefile: Likewise.
6108         (all): Remove target.
6109         * ctype/Makefile: Include Makeconfig immediately after defining
6110         subdir.
6111         * debug/Makefile: Likewise.
6112         * dirent/Makefile: Likewise.
6113         * dlfcn/Makefile: Likewise.
6114         * gmon/Makefile: Likewise.
6115         * gnulib/Makefile: Likewise.
6116         * grp/Makefile: Likewise.
6117         * gshadow/Makefile: Likewise.
6118         * hesiod/Makefile: Likewise.
6119         * hurd/Makefile: Likewise.
6120         (all): Remove target.
6121         * iconvdata/Makefile: Include Makeconfig immediately after
6122         defining subdir.
6123         * inet/Makefile: Likewise.
6124         * intl/Makefile: Likewise.
6125         * io/Makefile: Likewise.
6126         * libio/Makefile: Likewise.
6127         (all): Remove target.
6128         * locale/Makefile: Include Makeconfig immediately after defining
6129         subdir.
6130         * login/Makefile: Likewise.
6131         * mach/Makefile: Likewise.
6132         (all): Remove target.
6133         * malloc/Makefile: Include Makeconfig immediately after defining
6134         subdir.
6135         (all): Remove target.
6136         * manual/Makefile: Include Makeconfig immediately after defining
6137         subdir.
6138         * math/Makefile: Likewise.
6139         * misc/Makefile: Likewise.
6140         * nis/Makefile: Likewise.
6141         * nss/Makefile: Likewise.
6142         * po/Makefile: Likewise.
6143         (all): Remove target.
6144         * posix/Makefile: Include Makeconfig immediately after defining
6145         subdir.
6146         * pwd/Makefile: Likewise.
6147         * resolv/Makefile: Likewise.
6148         * resource/Makefile: Likewise.
6149         * rt/Makefile: Likewise.
6150         * setjmp/Makefile: Likewise.
6151         * shadow/Makefile: Likewise.
6152         * signal/Makefile: Likewise.
6153         * socket/Makefile: Likewise.
6154         * soft-fp/Makefile: Likewise.
6155         * stdio-common/Makefile: Likewise.
6156         * stdlib/Makefile: Likewise.
6157         * streams/Makefile: Likewise.
6158         * string/Makefile: Likewise.
6159         * sunrpc/Makefile: Likewise.
6160         (all): Remove target.
6161         * sysvipc/Makefile: Include Makeconfig immediately after defining
6162         subdir.
6163         * termios/Makefile: Likewise.
6164         * time/Makefile: Likewise.
6165         * timezone/Makefile: Likewise.
6166         (all): Remove target.
6167         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6168         subdir.
6169         * wctype/Makefile: Likewise.
6170
6171 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6172
6173         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6174         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6175         (libc_feholdexcept_setround_mips): Ditto.
6176         (libc_feholdsetround): New.
6177         (libc_feholdsetroundf): New.
6178         (libc_feholdsetroundl): New.
6179         (libc_feupdateenv_test_mips): New.
6180         (libc_feupdateenv_test): New.
6181         (libc_feupdateenv_testf): New.
6182         (libc_feupdateenv_testl): New.
6183         (libc_feresetround): New.
6184         (libc_feresetroundf): New.
6185         (libc_feresetroundl): New.
6186         (libc_fetestexcept_mips): New.
6187         (libc_fetestexcept): New.
6188         (libc_fetestexceptf): New.
6189         (libc_fetestexceptl): New.
6190         (HAVE_RM_CTX): New.
6191         (libc_feholdexcept_setround_mips_ctx): New.
6192         (libc_feholdexcept_setround_ctx): New.
6193         (libc_feholdexcept_setroundf_ctx): New.
6194         (libc_feholdexcept_setroundl_ctx): New.
6195         (libc_fesetenv_mips_ctx): New.
6196         (libc_fesetenv_ctx): New.
6197         (libc_fesetenv_ctxf): New.
6198         (libc_fesetenv_ctxl): New.
6199         (libc_feupdateenv_mips_ctx): New.
6200         (libc_feupdateenv_ctx): New.
6201         (libc_feupdateenvf_ctx): New.
6202         (libc_feupdateenvl_ctx): New.
6203         (libc_feholdsetround_mips_ctx): New.
6204         (libc_feholdsetround_ctx): New.
6205         (libc_feholdsetroundf_ctx): New.
6206         (libc_feholdsetroundl_ctx): New.
6207         (libc_feresetround_mips_ctx): New.
6208         (libc_feresetround_ctx): New.
6209         (libc_feresetroundf_ctx): New.
6210         (libc_feresetroundl_ctx): New.
6211
6212 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6213
6214         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6215
6216         * manual/ipc.texi: New file.
6217         * manual/Makefile (chapters): Add ipc.
6218         * manual/job.texi: Add "Inter-Process Communication" to next.
6219         * manual/process.texi: Add "Inter-Process Communication" to prev.
6220
6221 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6222
6223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6224
6225 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6226
6227         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6228
6229         * manual/arith.texi: Fix spaces after sentences.
6230         * manual/charset.texi: Likewise.
6231         * manual/errno.texi: Likewise.
6232         * manual/install.texi: Likewise.
6233         * manual/llio.texi: Likewise.
6234         * manual/locale.texi: Likewise.
6235         * manual/maint.texi: Likewise.
6236         * manual/math.texi: Likewise.
6237         * manual/memory.texi: Likewise.
6238         * manual/message.texi: Likewise.
6239         * manual/probes.texi: Likewise.
6240         * manual/resource.texi: Likewise.
6241         * manual/signal.texi: Likewise.
6242         * manual/socket.texi: Likewise.
6243         * manual/stdio.texi: Likewise.
6244         * manual/string.texi: Likewise.
6245         * manual/time.texi: Likewise.
6246         * manual/users.texi: Likewise.
6247
6248 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6249
6250         [BZ #16632]
6251         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6252         _DEFAULT_SOURCE is defined.
6253
6254 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6255             Carlos O'Donell  <carlos@redhat.com>
6256
6257         [BZ #16613]
6258         * elf/dl-tls.c (_dl_count_modids): New function.
6259         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6260         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6261         audit library and increment generation counter.
6262         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6263         * elf/tst-audit9.c: New file.
6264         * elf/tst-auditmod9a.c: New file.
6265         * elf/tst-auditmod9b.c: New file.
6266         * elf/Makefile: Add rules to build and run tst-audit9.
6267
6268 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6269
6270         [BZ #15347]
6271         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6272
6273 2014-02-25  Will Newton  <will.newton@linaro.org>
6274
6275         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6276         (__longjmp): Restore sp and lr before restoring callee
6277         saved registers.  Add longjmp and longjmp_target
6278         SystemTap probe point.
6279         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6280         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6281         Define to zero to match jmpbuf layout.
6282         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6283         (__sigsetjmp): Save sp and lr before saving callee
6284         saved registers.  Add setjmp SystemTap probe point.
6285
6286 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6287
6288         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6289
6290 2014-02-24  Andreas Schwab  <schwab@suse.de>
6291
6292         [BZ #15804]
6293         * elf/pldd.c (wait_for_ptrace_stop): New function.
6294         (main): Call it after attaching.
6295
6296 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6297
6298         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6299         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6300         Versions files is now verboten.
6301         * hurd/Versions (libc: GLIBC_2.0):
6302         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6303         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6304         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6305         * mach/Versions: Likewise.
6306
6307         * csu/Versions: Remove unused %include.
6308         * resolv/Versions: Likewise.
6309
6310 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6311
6312         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6313         ($(objpfx)check-local-headers.out): Likewise.
6314         ($(objpfx)begin-end-check.out): Likewise.
6315         * Makerules (check-abi-%.out): Likewise.
6316         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6317         ($(objpfx)test2.cat): Likewise.
6318         ($(objpfx)de/libc.cat): Likewise.
6319         ($(objpfx)test-gencat.out): Likewise.
6320         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6321         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6322         ($(objpfx)noload-mem): Likewise.
6323         ($(objpfx)tst-pathopt.out): Likewise.
6324         ($(objpfx)tst-rtld-load-self.out): Likewise.
6325         ($(objpfx)tst-array1-cmp.out): Likewise.
6326         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6327         ($(objpfx)tst-array2-cmp.out): Likewise.
6328         ($(objpfx)tst-array3-cmp.out): Likewise.
6329         ($(objpfx)tst-array4-cmp.out): Likewise.
6330         ($(objpfx)tst-array5-cmp.out): Likewise.
6331         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6332         ($(objpfx)check-textrel.out): Likewise.
6333         ($(objpfx)check-execstack.out): Likewise.
6334         ($(objpfx)check-localplt.out): Likewise.
6335         ($(objpfx)order2-cmp.out): Likewise.
6336         ($(objpfx)tst-leaks1-mem): Likewise.
6337         ($(objpfx)tst-leaks1-static-mem): Likewise.
6338         ($(objpfx)tst-initorder-cmp.out): Likewise.
6339         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6340         ($(objpfx)tst-unused-dep.out): Likewise.
6341         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6342         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6343         * iconv/Makefile (test-iconvconfig): Likewise.
6344         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6345         ($(objpfx)iconv-test.out): Likewise.
6346         ($(objpfx)tst-tables.out): Likewise.
6347         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6348         ($(objpfx)tst-gettext.out): Likewise.
6349         ($(objpfx)tst-translit.out): Likewise.
6350         ($(objpfx)tst-gettext2.out): Likewise.
6351         ($(objpfx)tst-gettext4.out): Likewise.
6352         ($(objpfx)tst-gettext6.out): Likewise.
6353         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6354         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6355         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6356         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6357         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6358         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6359         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6360         ($(objpfx)wordexp-tst.out): Likewise.
6361         ($(objpfx)annexc.out): Likewise.
6362         ($(objpfx)tst-fnmatch-mem): Likewise.
6363         ($(objpfx)bug-regex2-mem): Likewise.
6364         ($(objpfx)bug-regex14-mem): Likewise.
6365         ($(objpfx)bug-regex21-mem): Likewise.
6366         ($(objpfx)bug-regex31-mem): Likewise.
6367         ($(objpfx)tst-vfork3-mem): Likewise.
6368         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6369         ($(objpfx)tst-pcre-mem): Likewise.
6370         ($(objpfx)tst-boost-mem): Likewise.
6371         ($(objpfx)tst-getconf.out): Likewise.
6372         ($(objpfx)bug-ga2-mem): Likewise.
6373         ($(objpfx)bug-glob2-mem): Likewise.
6374         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6375         ($(objpfx)mtrace-tst-leaks2): Likewise.
6376         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6377         ($(objpfx)tst-printf.out): Likewise.
6378         ($(objpfx)tst-setvbuf1.out): Likewise.
6379         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6380         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6381         ($(objpfx)tst-fmtmsg.out): Likewise.
6382         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6383         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6384
6385         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6386         * bits/sigaction.h [__USE_MISC]: Likewise.
6387         * bits/waitstatus.h: Update #endif comments.
6388         * ctype/ctype.h: Likewise.
6389         * dirent/dirent.h: Likewise.
6390         [__USE_MISC]: Remove redundant conditionals.
6391         * grp/grp.h: Update #endif comments.
6392         [__USE_GNU]: Remove redundant conditionals.
6393         [__USE_MISC]: Likewise.
6394         * inet/netinet/in.h [__USE_GNU]: Likewise.
6395         * io/sys/stat.h [__USE_MISC]: Likewise.
6396         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6397         * libio/bits/stdio.h: Update #endif comments.
6398         [__USE_MISC]: Remove redundant conditionals.
6399         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6400         * libio/stdio.h: Update #endif comments.
6401         [__USE_MISC]: Remove redundant conditionals.
6402         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6403         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6404         * math/math.h: Update #else and #endif comments.
6405         [__USE_MISC]: Remove redundant conditionals.
6406         * misc/sys/uio.h: Update #endif comments.
6407         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6408         * posix/glob.h [__USE_MISC]: Likewise.
6409         * posix/sys/types.h: Update #endif comments.
6410         [__USE_MISC]: Remove redundant conditionals.
6411         * posix/sys/wait.h: Update #endif comments.
6412         [__USE_MISC]: Remove redundant conditionals.
6413         * posix/unistd.h: Update #endif comments.
6414         [__USE_MISC]: Remove redundant conditionals.
6415         * pwd/pwd.h [__USE_GNU]: Likewise.
6416         [__USE_MISC]: Likewise.
6417         * resolv/netdb.h [__USE_GNU]: Likewise.
6418         * signal/signal.h: Update #endif comments.
6419         [__USE_MISC]: Remove redundant conditionals.
6420         * stdlib/stdlib.h: Update #else and #endif comments.
6421         [__USE_MISC]: Remove redundant conditionals.
6422         [__USE_GNU]: Likewise.
6423         * string/bits/string2.h [__USE_MISC]: Likewise.
6424         * string/string.h: Update #endif comments.
6425         [__USE_MISC]: Remove redundant conditionals.
6426         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6427         Likewise.
6428         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6429         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6430         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6431         Likewise.
6432         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6433         Likewise.
6434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6435         comments.
6436         [__USE_MISC]: Remove redundant conditionals.
6437         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6438         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6439         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6440         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6441         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6442         Likewise.
6443         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6444         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6445         Likewise.
6446         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6447         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6448         Likewise.
6449         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6450         Likewise.
6451         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6452         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6453         Likewise.
6454         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6455         Likewise.
6456         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6457         * sysdeps/x86/bits/string.h: Update #endif comments.
6458         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6459         conditionals.
6460         * time/sys/time.h: Update #endif comments.
6461         * time/time.h: Likewise.
6462         [__USE_MISC]: Remove redundant conditionals.
6463
6464 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6465
6466         [BZ #16600]
6467         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6468
6469 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6470
6471         * Versions.def (librt): Add GLIBC_2.17.
6472
6473 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6474
6475         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6476         synonym for _SYS_AUXV_H to allow direct inclusion.
6477         * sysdeps/sparc/bits/hwcap.h: Likewise.
6478         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6479         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6480         * sysdeps/sparc/sysdep.h: Likewise.
6481
6482 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6483
6484         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6485
6486 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6487
6488         * benchtests/bench-strrchr.c: Print length instead of position.
6489
6490 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6491
6492         [BZ #16611]
6493         * sysdeps/unix/sysv/linux/kernel-features.h
6494         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6495         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6496         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6497         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6498         Likewise.
6499         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6500         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6501         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6502         (__ASSUME_SENDMMSG): Define instead of using previous
6503         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6504         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6505         (__ASSUME_SENDMMSG_SYSCALL): Define.
6506         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6507         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6508         Likewise.
6509         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6510         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6511         Likewise.
6512         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6513         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6514         Likewise.
6515         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6516         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6517         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6518         [__ASSUME_SENDMMSG]: Change conditionals to
6519         [__ASSUME_SENDMMSG_SOCKETCALL].
6520         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6521         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6522         Define.
6523         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6524         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6525         Likewise.
6526         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6527         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6528         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6529         [!__ASSUME_SENDMMSG]: Change conditional to
6530         [!__ASSUME_SENDMMSG_SOCKETCALL].
6531         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6532         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6533         Define.
6534
6535         [BZ #16610]
6536         * sysdeps/unix/sysv/linux/kernel-features.h
6537         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6538         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6539         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6540         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6541         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6542         [__i386__ || __sparc__]
6543         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6544         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6545         (__ASSUME_RECVMMSG): Define instead of using previous
6546         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6547         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6548         (__ASSUME_RECVMMSG_SYSCALL): Define.
6549         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6550         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6551         Likewise.
6552         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6553         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6554         Likewise.
6555         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6556         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6557         Likewise.
6558         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6559         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6560         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6561         [__ASSUME_RECVMMSG]: Change condition to
6562         [__ASSUME_RECVMMSG_SOCKETCALL].
6563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6564         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6565         Define.
6566         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6567         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6568         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6569         Likewise.
6570         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6571         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6572         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6573         [!__ASSUME_RECVMMSG]: Change condition to
6574         [!__ASSUME_RECVMMSG_SOCKETCALL].
6575         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6576         (__ASSUME_RECVMMSG_SYSCALL): Define.
6577
6578         [BZ #16609]
6579         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6580         __powerpc__ || __s390__ || __sh__ || __sparc__]
6581         (__ASSUME_SOCKETCALL): Define.
6582         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6583         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6584         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6585         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6586         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6587         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6588         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6589         (__ASSUME_ACCEPT4): Define instead of using previous
6590         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6591         __powerpc__ || __sparc__ || __s390__)] condition.
6592         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6593         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6594         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6595         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6596         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6597         [!__ASSUME_ACCEPT4]: Change condition to
6598         [!__ASSUME_ACCEPT4_SOCKETCALL].
6599         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6600         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6601         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6602         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6603         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6604         __ASSUME_ACCEPT4_SYSCALL.
6605         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6606         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6607         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6608         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6609         __ASSUME_ACCEPT4_SYSCALL.
6610         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6611         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6612         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6613         [__ASSUME_ACCEPT4]: Change condition to
6614         [__ASSUME_ACCEPT4_SOCKETCALL].
6615         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6616         (__ASSUME_SOCKETCALL): Define.
6617         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6618         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6619         (__ASSUME_SOCKETCALL): Define.
6620         (__ASSUME_ACCEPT4): Remove.
6621         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6622         Define.
6623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6624         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6625         Likewise.
6626         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6627         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6628
6629         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6630         macro.
6631         (HWCAP_ARM_LPAE): Likewise.
6632         (HWCAP_ARM_EVTSTRM): Likewise.
6633         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6634         Add vpfd32, lpae and evtstrm.
6635         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6636         Increase to 22.
6637
6638 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6639
6640         * math/auto-libm-test-in: Add tests of clog10.
6641         * math/auto-libm-test-out: Regenerated.
6642         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6643         * sysdeps/i386/fpu/libm-test-ulps: Update.
6644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6645
6646 2014-02-18  Andreas Schwab  <schwab@suse.de>
6647
6648         [BZ #16574]
6649         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6650         Store non-zero if the second buffer was newly allocated.
6651         (send_dg): Likewise.
6652         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6653         to send_vc and send_dg.
6654         (res_nsend): Pass NULL for ansp2_malloced.
6655         * resolv/res_query.c (__libc_res_nquery): Add parameter
6656         answerp2_malloced and pass it down to __libc_res_nsend.
6657         (res_nquery): Pass additional NULL to __libc_res_nquery.
6658         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6659         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6660         second answer buffer if answerp2_malloced was set.
6661         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6662         (__libc_res_nquerydomain): Add parameter
6663         answerp2_malloced and pass it down to __libc_res_nquery.
6664         (res_nquerydomain): Pass additional NULL to
6665         __libc_res_nquerydomain.
6666         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6667         additional NULL to __libc_res_nsend and __libc_res_nquery.
6668         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6669         additional NULL to __libc_res_nsearch.
6670         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6671         parameter of __libc_res_nsearch to check for separately allocated
6672         second buffer.
6673         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6674         __libc_res_nquery.
6675         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6676         additional NULL to __libc_res_nquery.
6677         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6678         __libc_res_nsearch.
6679         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6680         * include/resolv.h: Update prototypes of __libc_res_nquery,
6681         __libc_res_nsearch, __libc_res_nsend.
6682
6683 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6684
6685         * math/auto-libm-test-in: Add tests of fma.
6686         * math/auto-libm-test-out: Regenerated.
6687         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6688         (fma_towardzero_test_data): Likewise.
6689         (fma_downward_test_data): Likewise.
6690         (fma_upward_test_data): Likewise.
6691         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6692         mpc_mode.
6693         (rounding_modes): Add values for new field.
6694         (func_calc_method): Add value mpfr_fff_f.
6695         (func_calc_desc): Add mpfr_fff_f union field.
6696         (test_function): Add field exact_args.
6697         (FUNC): Add macro argument EXACT_ARGS.
6698         (FUNC_mpfr_f_f): Update call to FUNC.
6699         (FUNC_mpfr_f_f): Likewise.
6700         (FUNC_mpfr_ff_f): Likewise.
6701         (FUNC_mpfr_if_f): Likewise.
6702         (FUNC_mpc_c_f): Likewise.
6703         (FUNC_mpc_c_c): Likewise.
6704         (test_functions): Add fma.  Update calls to FUNC.
6705         (handle_input_arg): Add argument exact_args.
6706         (add_test): Update call to handle_input_arg.
6707         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6708         (output_for_one_input_case): Update call to calc_generic_results.
6709         Recalculate exact zero results in each rounding mode.
6710
6711         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6712         non-negative before setting low bit.
6713         * math/auto-libm-test-in: Mark one asin test possibly having
6714         spurious underflow.
6715         * math/auto-libm-test-out: Regenerated.
6716         * sysdeps/i386/fpu/libm-test-ulps: Update.
6717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6718
6719 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6720
6721         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6722         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6723         ports/sysdeps/unix/sysv/linux/microblaze.
6724         * README: Add missing listing for microblaze*-*-linux-gnu.
6725
6726 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6727
6728         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6729         * sysdeps/unix/sysv/linux/ia64: Move directory from
6730         ports/sysdeps/unix/sysv/linux/ia64.
6731         * README: Update listing for ia64-*-linux-gnu.
6732
6733 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6734             Joseph Myers  <joseph@codesourcery.com>
6735
6736         * Makeconfig (test-name): New variable.
6737         (evaluate-test): Likewise.
6738         * Makerules (do-test-clean): Remove .test-result files.
6739         (common-mostlyclean): Likewise.
6740         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6741         * scripts/evaluate-test.sh: New file.
6742
6743 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6744
6745         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6746         separate $(objpfx)tst-fopenloc-cmp.out and
6747         $(objpfx)tst-fopenloc-mem.out targets.
6748         (tests): Update dependencies.
6749         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6750         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6751         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6752         (tst-rxspencer-no-utf8-ARGS): New variable.
6753         (tst-rxspencer-no-utf8-ENV): Likewise.
6754         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6755         instead of $(objpfx)tst-rxspencer-mem.
6756         ($(objpfx)tst-rxspencer-mem): Change target to
6757         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6758         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6759         * posix/tst-rxspencer-no-utf8.c: New file.
6760
6761         * elf/Makefile ($(objpfx)order.out): Remove rule.
6762         [$(run-built-tests) = yes] (tests): Depend on
6763         $(objpfx)order-cmp.out.
6764         ($(objpfx)order-cmp.out): New rule.
6765         [$(run-built-tests) = yes] (tests): Depend on
6766         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6767         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6768         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6769         $(objpfx)tst-array5-static-cmp.out.
6770         ($(objpfx)tst-array1.out): Remove rule.
6771         ($(objpfx)tst-array1-cmp.out): New rule.
6772         ($(objpfx)tst-array1-static.out): Remove rule.
6773         ($(objpfx)tst-array1-static-cmp.out): New rule.
6774         ($(objpfx)tst-array2.out): Remove rule.
6775         ($(objpfx)tst-array2-cmp.out): New rule.
6776         ($(objpfx)tst-array3.out): Remove rule.
6777         ($(objpfx)tst-array3-cmp.out): New rule.
6778         ($(objpfx)tst-array4.out): Remove rule.
6779         ($(objpfx)tst-array4-cmp.out): New rule.
6780         ($(objpfx)tst-array5.out): Remove rule.
6781         ($(objpfx)tst-array5-cmp.out): New rule.
6782         ($(objpfx)tst-array5-static.out): Remove rule.
6783         ($(objpfx)tst-array5-static-cmp.out): New rule.
6784         [$(run-built-tests) = yes] (tests): Depend on
6785         $(objpfx)order2-cmp.out.
6786         ($(objpfx)order2.out): Remove rule.
6787         ($(objpfx)order2-cmp.out): New rule.
6788         ($(objpfx)tst-initorder.out): Remove rule.
6789         [$(run-built-tests) = yes] (tests): Depend on
6790         $(objpfx)tst-initorder-cmp.out.
6791         ($(objpfx)tst-initorder-cmp.out): New rule.
6792         ($(objpfx)tst-initorder2.out): Remove rule.
6793         [$(run-built-tests) = yes] (tests): Depend on
6794         $(objpfx)tst-initorder2-cmp.out.
6795         ($(objpfx)tst-initorder2-cmp.out): New rule.
6796         [$(run-built-tests) = yes] (tests): Depend on
6797         $(objpfx)tst-unused-dep-cmp.out.
6798         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6799         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6800         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6801         on $(objpfx)tst-setvbuf1-cmp.out.
6802         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6803         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6804         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6805         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6806         ($(objpfx)tst-svc.out): Remove rule.
6807         ($(objpfx)tst-svc-cmp.out): New rule.
6808
6809 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6810
6811         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6812         * ctype/ctype.h [__USE_MISC]: Likewise.
6813         * dirent/dirent.h [__USE_MISC]: Likewise.
6814         * grp/grp.h [__USE_MISC]: Likewise.
6815         * io/fcntl.h [__USE_MISC]: Likewise.
6816         * io/sys/stat.h [__USE_MISC]: Likewise.
6817         * libio/stdio.h [__USE_MISC]: Likewise.
6818         * posix/unistd.h [__USE_MISC]: Likewise.
6819         * pwd/pwd.h [__USE_MISC]: Likewise.
6820         * stdlib.h [__USE_MISC]: Likewise.
6821         * string/bits/string2.h [__USE_MISC]: Likewise.
6822         * string/string.h [__USE_MISC]: Likewise.
6823         * time/time.h [__USE_MISC]: Likewise.
6824
6825 2014-02-13  Andreas Schwab  <schwab@suse.de>
6826
6827         [BZ #16574]
6828         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6829         second answer buffer if it was separately allocated.
6830
6831 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6832
6833         * sysdeps/mips/math-tests.h: Include <features.h>.
6834         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6835         (ROUNDING_TESTS_long_double): Do not define.
6836         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6837         (EXCEPTION_TESTS_long_double): Likewise.
6838         * sysdeps/mips/mips64/libm-test-ulps: Update.
6839
6840         * include/features.h (__USE_BSD): Remove macro definitions.
6841         (__USE_SVID): Likewise.
6842         (_BSD_SOURCE): Likewise.
6843         (_SVID_SOURCE): Likewise.
6844         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6845         from definition of _DEFAULT_SOURCE.
6846         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6847         [_DEFAULT_SOURCE].
6848         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6849         * bits/mman.h [__USE_BSD]: Likewise.
6850         * bits/termios.h [__USE_BSD]: Likewise.
6851         * bits/waitstatus.h [__USE_BSD]: Likewise.
6852         * ctype/ctype.h [__USE_SVID]: Likewise.
6853         * dirent/dirent.h [__USE_BSD]: Likewise.
6854         * grp/grp.h [__USE_SVID]: Likewise.
6855         [__USE_BSD]: Likewise.
6856         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6857         * io/fcntl.h [__USE_BSD]: Likewise.
6858         * io/ftw.h [__USE_BSD]: Likewise.
6859         * io/sys/stat.h [__USE_BSD]: Likewise.
6860         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6861         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6862         * libio/stdio.h [__USE_SVID]: Likewise.
6863         [__USE_BSD]: Likewise.
6864         * math/math.h [__USE_SVID]: Likewise.
6865         [__USE_BSD]: Likewise.
6866         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6867         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6868         * misc/search.h [__USE_SVID]: Likewise.
6869         * misc/sys/mman.h [__USE_BSD]: Likewise.
6870         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6871         * misc/sys/uio.h [__USE_BSD]: Likewise.
6872         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6873         * posix/glob.h [__USE_BSD]: Likewise.
6874         * posix/regex.h [__USE_BSD]: Likewise.
6875         * posix/sys/types.h [__USE_BSD]: Likewise.
6876         [__USE_SVID]: Likewise.
6877         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6878         * posix/sys/wait.h [__USE_BSD]: Likewise.
6879         [__USE_SVID]: Likewise.
6880         * posix/unistd.h [__USE_BSD]: Likewise.
6881         [__USE_SVID]: Likewise.
6882         * pwd/pwd.h [__USE_SVID]: Likewise.
6883         * resolv/netdb.h [__USE_BSD]: Likewise.
6884         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6885         * signal/signal.h [__USE_BSD]: Likewise.
6886         [__USE_SVID]: Likewise.
6887         * socket/sys/socket.h [__USE_BSD]: Likewise.
6888         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6889         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6890         [__USE_SVID]: Likewise.
6891         * string/bits/string2.h [__USE_BSD]: Likewise.
6892         [__USE_SVID]: Likewise.
6893         * string/bits/string3.h [__USE_BSD]: Likewise.
6894         * string/endian.h [__USE_BSD]: Likewise.
6895         * string/string.h [__USE_SVID]: Likewise.
6896         [__USE_BSD]: Likewise.
6897         * string/strings.h [__USE_BSD]: Likewise.
6898         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6899         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6900         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6901         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6902         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6903         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6904         Likewise.
6905         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6906         Likewise.
6907         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6908         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6909         Likewise.
6910         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6911         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6912         Likewise.
6913         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6914         Likewise.
6915         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6916         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6917         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6918         Likewise.
6919         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6920         Likewise.
6921         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6922         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6923         * termios/termios.h [__USE_BSD]: Likewise.
6924         * time/sys/time.h [__USE_BSD]: Likewise.
6925         * time/time.h [__USE_BSD]: Likewise.
6926         [__USE_SVID]: Likewise.
6927
6928         * Makefile (subdir_targets): Remove subdir_lint.out.
6929
6930         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6931         (do-tst-printf): Likewise.
6932         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6933         $(objpfx)tst-printf.out.
6934
6935         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6936
6937         * Makerules (check-abi-%): Change target to
6938         $(objpfx)check-abi-%.out.
6939         (check-abi target): Update dependencies.
6940         (check-abi-pattern variable): Redirect output of diff to $@.
6941         (check-abi variable): Likewise.
6942         * elf/Makefile (check-abi): Update dependencies.
6943
6944         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6945         unused.
6946         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6947         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6948         subnormal range.
6949         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6950         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6951         value has largest subnormal exponent.
6952         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6953         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6954         * sysdeps/aarch64/soft-fp/sfp-machine.h
6955         (_FP_TININESS_AFTER_ROUNDING): New macro.
6956         * sysdeps/alpha/soft-fp/sfp-machine.h
6957         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6958         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6959         Likewise.
6960         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6961         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6962         * sysdeps/mips/soft-fp/sfp-machine.h
6963         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6964         * sysdeps/powerpc/soft-fp/sfp-machine.h
6965         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6966         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6967         Likewise.
6968         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6969         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6970         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6971         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6972         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6973         Likewise.
6974
6975 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6976
6977         [BZ #16545]
6978         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6979         model 1.
6980
6981 2014-02-12  Richard Henderson  <rth@redhat.com>
6982
6983         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6984         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6985         * sysdeps/unix/sysv/linux/alpha: Move directory from
6986         ports/sysdeps/unix/sysv/linux/alpha.
6987         * README: Update listing for alpha-*-linux-gnu.
6988
6989 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
6990
6991         * include/features.h: Update comment documenting feature test
6992         macros.
6993         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
6994         _DEFAULT_SOURCE.
6995         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6996         (_SVID_SOURCE): Likewise.
6997         (_DEFAULT_SOURCE): Update description of default features.
6998         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6999         with _GNU_SOURCE.
7000         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7001         (S_ISVTX): Likewise.
7002         * manual/math.texi (Mathematical Constants): Likewise.
7003         * manual/signal.texi (Interrupted Primitives): Likewise.
7004         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7005         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7006         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7007         Don't refer to _SVID_SOURCE in warning text.
7008
7009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7010
7011         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7012         already defined.
7013         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7014         * sysdeps/mips/dl-lookup.c: Remove.
7015         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7016
7017 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7018
7019         [BZ #16447]
7020         * math/auto-libm-test-in: Add testcase for expl.
7021         * math/auto-libm-test-out: Regenerate.
7022         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7023         calculation of unsafe.
7024         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7025
7026 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7027
7028         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7029         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7030         ports/sysdeps/unix/sysv/linux/aarch64.
7031         * README: Update listing for aarch64*-*-linux-gnu.
7032
7033 2014-02-11  Will Newton  <will.newton@linaro.org>
7034
7035         * manual/probes.texi (Mathematical Function Probes): Use
7036         "triggered" instead of "hit".
7037
7038         * manual/probes.texi (Internal Probes): Add documentation
7039         of setjmp, longjmp and longjmp_target probes.
7040
7041         * include/stap-probe.h: Add comment about probe argument
7042         format.
7043
7044         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7045         definition.  (tr_where, tr_freehook, tr_mallochook,
7046         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7047
7048 2014-02-11  David S. Miller  <davem@davemloft.net>
7049
7050         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7051         processing int_tests.
7052
7053 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7054
7055         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7056         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7057         * sysdeps/unix/sysv/linux/mips: Move directory from
7058         ports/sysdeps/unix/sysv/linux/mips.
7059         * README: Update listing for mips-*-linux-gnu and
7060         mips64-*-linux-gnu.
7061
7062 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7063
7064         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7065         * sysdeps/unix/sysv/linux/m68k: Move directory from
7066         ports/sysdeps/unix/sysv/linux/m68k.
7067         * README: Update listing for m68k-*-linux-gnu.
7068
7069 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7070
7071         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7072         * sysdeps/unix/sysv/linux/generic: Move directory from
7073         ports/sysdeps/unix/sysv/linux/generic.
7074         * sysdeps/unix/sysv/linux/tile: Move directory from
7075         ports/sysdeps/unix/sysv/linux/tile.
7076         * README: Update listing for tile*-*-linux-gnu.
7077
7078 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7079
7080         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7081         __builtin_expect.
7082         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7083         * catgets/open_catalog.c (__open_catalog): Likewise.
7084         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7085         * debug/confstr_chk.c: Likewise.
7086         * debug/fread_chk.c (__fread_chk): Likewise.
7087         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7088         * debug/getgroups_chk.c: Likewise.
7089         * debug/mbsnrtowcs_chk.c: Likewise.
7090         * debug/mbsrtowcs_chk.c: Likewise.
7091         * debug/mbstowcs_chk.c: Likewise.
7092         * debug/memcpy_chk.c: Likewise.
7093         * debug/memmove_chk.c: Likewise.
7094         * debug/mempcpy_chk.c: Likewise.
7095         * debug/memset_chk.c: Likewise.
7096         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7097         * debug/strcat_chk.c (__strcat_chk): Likewise.
7098         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7099         * debug/strncat_chk.c (__strncat_chk): Likewise.
7100         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7101         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7102         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7103         * debug/wcpncpy_chk.c: Likewise.
7104         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7105         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7106         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7107         * debug/wcsncpy_chk.c: Likewise.
7108         * debug/wcsnrtombs_chk.c: Likewise.
7109         * debug/wcsrtombs_chk.c: Likewise.
7110         * debug/wcstombs_chk.c: Likewise.
7111         * debug/wmemcpy_chk.c: Likewise.
7112         * debug/wmemmove_chk.c: Likewise.
7113         * debug/wmempcpy_chk.c: Likewise.
7114         * debug/wmemset_chk.c: Likewise.
7115         * dirent/scandirat.c (SCANDIRAT): Likewise.
7116         * dlfcn/dladdr1.c (dladdr1): Likewise.
7117         * dlfcn/dladdr.c (dladdr): Likewise.
7118         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7119         * dlfcn/dlerror.c (__dlerror): Likewise.
7120         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7121         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7122         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7123         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7124         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7125         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7126         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7127         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7128         Likewise.
7129         * elf/dl-conflict.c: Likewise.
7130         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7131         * elf/dl-dst.h: Likewise.
7132         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7133         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7134         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7135         * elf/dl-init.c (call_init, _dl_init): Likewise.
7136         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7137         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7138         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7139         Likewise.
7140         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7141         Likewise.
7142         * elf/dl-minimal.c (__libc_memalign): Likewise.
7143         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7144         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7145         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7146         * elf/dl-sym.c (do_sym): Likewise.
7147         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7148         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7149         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7150         * elf/dl-writev.h (_dl_writev): Likewise.
7151         * elf/ldconfig.c (search_dir): Likewise.
7152         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7153         (dl_main): Likewise.
7154         * elf/setup-vdso.h (setup_vdso): Likewise.
7155         * grp/compat-initgroups.c (compat_call): Likewise.
7156         * grp/fgetgrent.c (fgetgrent): Likewise.
7157         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7158         * grp/putgrent.c (putgrent): Likewise.
7159         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7160         Likewise.
7161         * hurd/hurdinit.c: Likewise.
7162         * iconvdata/8bit-gap.c (struct): Likewise.
7163         * iconvdata/ansi_x3.110.c : Likewise.
7164         * iconvdata/big5.c : Likewise.
7165         * iconvdata/big5hkscs.c : Likewise.
7166         * iconvdata/cp1255.c: Likewise.
7167         * iconvdata/cp1258.c : Likewise.
7168         * iconvdata/cp932.c : Likewise.
7169         * iconvdata/euc-cn.c: Likewise.
7170         * iconvdata/euc-jisx0213.c : Likewise.
7171         * iconvdata/euc-jp.c: Likewise.
7172         * iconvdata/euc-jp-ms.c : Likewise.
7173         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7174         * iconvdata/gb18030.c : Likewise.
7175         * iconvdata/gbbig5.c (const): Likewise.
7176         * iconvdata/gbgbk.c: Likewise.
7177         * iconvdata/gbk.c : Likewise.
7178         * iconvdata/ibm1364.c : Likewise.
7179         * iconvdata/ibm930.c : Likewise.
7180         * iconvdata/ibm932.c: Likewise.
7181         * iconvdata/ibm933.c : Likewise.
7182         * iconvdata/ibm935.c : Likewise.
7183         * iconvdata/ibm937.c : Likewise.
7184         * iconvdata/ibm939.c : Likewise.
7185         * iconvdata/ibm943.c: Likewise.
7186         * iconvdata/iso_11548-1.c: Likewise.
7187         * iconvdata/iso-2022-cn.c : Likewise.
7188         * iconvdata/iso-2022-cn-ext.c : Likewise.
7189         * iconvdata/iso-2022-jp-3.c: Likewise.
7190         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7191         * iconvdata/iso-2022-kr.c : Likewise.
7192         * iconvdata/iso646.c (gconv_end): Likewise.
7193         * iconvdata/iso_6937-2.c : Likewise.
7194         * iconvdata/iso_6937.c : Likewise.
7195         * iconvdata/iso8859-1.c: Likewise.
7196         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7197         * iconvdata/shift_jisx0213.c : Likewise.
7198         * iconvdata/sjis.c : Likewise.
7199         * iconvdata/t.61.c : Likewise.
7200         * iconvdata/tcvn5712-1.c : Likewise.
7201         * iconvdata/tscii.c: Likewise.
7202         * iconvdata/uhc.c : Likewise.
7203         * iconvdata/unicode.c (gconv_end): Likewise.
7204         * iconvdata/utf-16.c (gconv_end): Likewise.
7205         * iconvdata/utf-32.c (gconv_end): Likewise.
7206         * iconvdata/utf-7.c (base64): Likewise.
7207         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7208         * iconv/gconv_close.c (__gconv_close): Likewise.
7209         * iconv/gconv_open.c (__gconv_open): Likewise.
7210         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7211         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7212         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7213         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7214         (ucs4le_internal_loop_single): Likewise.
7215         * iconv/iconv.c (iconv): Likewise.
7216         * iconv/iconv_close.c: Likewise.
7217         * iconv/loop.c (SINGLE): Likewise.
7218         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7219         * include/atomic.h: Likewise.
7220         * inet/inet6_option.c (option_alloc): Likewise.
7221         * intl/bindtextdom.c (set_binding_values): Likewise.
7222         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7223         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7224         * intl/localealias.c (read_alias_file): Likewise.
7225         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7226         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7227         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7228         * libio/fmemopen.c (fmemopen): Likewise.
7229         * libio/iofgets.c (_IO_fgets): Likewise.
7230         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7231         * libio/iofgetws.c (fgetws): Likewise.
7232         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7233         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7234         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7235         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7236         * locale/findlocale.c (_nl_find_locale): Likewise.
7237         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7238         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7239         Likewise.
7240         * locale/setlocale.c (setlocale): Likewise.
7241         * login/programs/pt_chown.c (main): Likewise.
7242         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7243         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7244         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7245         (mmap, mmap64, mremap, munmap): Likewise.
7246         * math/e_exp2l.c: Likewise.
7247         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7248         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7249         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7250         * math/s_catan.c (__catan): Likewise.
7251         * math/s_catanf.c (__catanf): Likewise.
7252         * math/s_catanh.c (__catanh): Likewise.
7253         * math/s_catanhf.c (__catanhf): Likewise.
7254         * math/s_catanhl.c (__catanhl): Likewise.
7255         * math/s_catanl.c (__catanl): Likewise.
7256         * math/s_ccosh.c (__ccosh): Likewise.
7257         * math/s_ccoshf.c (__ccoshf): Likewise.
7258         * math/s_ccoshl.c (__ccoshl): Likewise.
7259         * math/s_cexp.c (__cexp): Likewise.
7260         * math/s_cexpf.c (__cexpf): Likewise.
7261         * math/s_cexpl.c (__cexpl): Likewise.
7262         * math/s_clog10.c (__clog10): Likewise.
7263         * math/s_clog10f.c (__clog10f): Likewise.
7264         * math/s_clog10l.c (__clog10l): Likewise.
7265         * math/s_clog.c (__clog): Likewise.
7266         * math/s_clogf.c (__clogf): Likewise.
7267         * math/s_clogl.c (__clogl): Likewise.
7268         * math/s_csin.c (__csin): Likewise.
7269         * math/s_csinf.c (__csinf): Likewise.
7270         * math/s_csinh.c (__csinh): Likewise.
7271         * math/s_csinhf.c (__csinhf): Likewise.
7272         * math/s_csinhl.c (__csinhl): Likewise.
7273         * math/s_csinl.c (__csinl): Likewise.
7274         * math/s_csqrt.c (__csqrt): Likewise.
7275         * math/s_csqrtf.c (__csqrtf): Likewise.
7276         * math/s_csqrtl.c (__csqrtl): Likewise.
7277         * math/s_ctan.c (__ctan): Likewise.
7278         * math/s_ctanf.c (__ctanf): Likewise.
7279         * math/s_ctanh.c (__ctanh): Likewise.
7280         * math/s_ctanhf.c (__ctanhf): Likewise.
7281         * math/s_ctanhl.c (__ctanhl): Likewise.
7282         * math/s_ctanl.c (__ctanl): Likewise.
7283         * math/w_pow.c: Likewise.
7284         * math/w_powf.c: Likewise.
7285         * math/w_powl.c: Likewise.
7286         * math/w_scalb.c (sysv_scalb): Likewise.
7287         * math/w_scalbf.c (sysv_scalbf): Likewise.
7288         * math/w_scalbl.c (sysv_scalbl): Likewise.
7289         * misc/error.c (error_tail): Likewise.
7290         * misc/pselect.c (__pselect): Likewise.
7291         * nis/nis_callback.c (__nis_create_callback): Likewise.
7292         * nis/nis_call.c (__nisfind_server): Likewise.
7293         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7294         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7295         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7296         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7297         * nis/nis_lookup.c (nis_lookup): Likewise.
7298         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7299         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7300         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7301         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7302         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7303         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7304         * nis/nss_compat/compat-initgroups.c (add_group)
7305         (internal_getgrent_r): Likewise.
7306         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7307         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7308         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7309         (internal_getspnam_r): Likewise.
7310         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7311         (_nss_nis_getaliasbyname_r): Likewise.
7312         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7313         (_nss_nis_getntohost_r): Likewise.
7314         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7315         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7316         (_nss_nis_getgrgid_r): Likewise.
7317         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7318         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7319         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7320         (_nss_nis_gethostbyname4_r): Likewise.
7321         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7322         (initgroups_netid): Likewise.
7323         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7324         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7325         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7326         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7327         (_nss_nis_getprotobynumber_r): Likewise.
7328         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7329         (_nss_nis_getsecretkey): Likewise.
7330         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7331         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7332         (_nss_nis_getpwuid_r): Likewise.
7333         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7334         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7335         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7336         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7337         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7338         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7339         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7340         Likewise.
7341         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7342         (_nss_nisplus_getntohost_r): Likewise.
7343         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7344         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7345         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7346         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7347         Likewise.
7348         * nis/nss_nisplus/nisplus-initgroups.c
7349         (_nss_nisplus_initgroups_dyn): Likewise.
7350         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7351         (_nss_nisplus_getnetbyaddr_r): Likewise.
7352         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7353         (_nss_nisplus_getprotobynumber_r): Likewise.
7354         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7355         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7356         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7357         Likewise.
7358         * nis/nss_nisplus/nisplus-service.c
7359         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7360         (_nss_nisplus_getservbyport_r): Likewise.
7361         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7362         (_nss_nisplus_getspnam_r): Likewise.
7363         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7364         Likewise.
7365         * nscd/aicache.c (addhstaiX): Likewise.
7366         * nscd/cache.c (cache_search, prune_cache): Likewise.
7367         * nscd/connections.c (register_traced_file, send_ro_fd)
7368         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7369         (main_loop_epoll): Likewise.
7370         * nscd/grpcache.c (addgrbyX): Likewise.
7371         * nscd/hstcache.c (addhstbyX): Likewise.
7372         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7373         * nscd/mem.c (gc, mempool_alloc): Likewise.
7374         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7375         (addinnetgrX): Likewise.
7376         * nscd/nscd-client.h (__nscd_acquire_maplock)
7377         (__nscd_drop_map_ref): Likewise.
7378         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7379         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7380         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7381         Likewise.
7382         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7383         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7384         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7385         (__nscd_get_map_ref): Likewise.
7386         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7387         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7388         Likewise.
7389         * nscd/pwdcache.c (addpwbyX): Likewise.
7390         * nscd/selinux.c (preserve_capabilities): Likewise.
7391         * nscd/servicescache.c (addservbyX): Likewise.
7392         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7393         * posix/fnmatch.c (fnmatch): Likewise.
7394         * posix/getopt.c (_getopt_internal_r): Likewise.
7395         * posix/glob.c (glob, glob_in_dir): Likewise.
7396         * posix/wordexp.c (exec_comm_child): Likewise.
7397         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7398         (getanswer_r, gaih_getanswer_slice): Likewise.
7399         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7400         * resolv/res_init.c: Likewise.
7401         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7402         * resolv/res_query.c (__libc_res_nquery): Likewise.
7403         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7404         Likewise.
7405         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7406         * stdio-common/perror.c (perror): Likewise.
7407         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7408         * stdio-common/tmpnam.c (tmpnam): Likewise.
7409         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7410         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7411         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7412         Likewise.
7413         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7414         * stdlib/putenv.c (putenv): Likewise.
7415         * stdlib/setenv.c (__add_to_environ): Likewise.
7416         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7417         * stdlib/strtol_l.c (INTERNAL): Likewise.
7418         * string/memmem.c (memmem): Likewise.
7419         * string/strerror.c (strerror): Likewise.
7420         * string/strnlen.c (__strnlen): Likewise.
7421         * string/test-memmem.c (simple_memmem): Likewise.
7422         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7423         * sunrpc/pm_getport.c (__get_socket): Likewise.
7424         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7425         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7426         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7427         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7428         Likewise.
7429         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7430         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7431         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7432         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7433         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7434         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7435         Likewise.
7436         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7437         Likewise.
7438         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7439         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7440         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7441         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7442         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7444         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7445         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7446         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7447         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7448         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7449         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7450         Likewise.
7451         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7452         Likewise.
7453         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7454         Likewise.
7455         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7456         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7457         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7458         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7459         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7460         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7461         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7462         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7463         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7464         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7465         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7466         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7467         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7468         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7469         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7470         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7471         Likewise.
7472         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7473         Likewise.
7474         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7475         Likewise.
7476         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7477         Likewise.
7478         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7480         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7481         Likewise.
7482         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7483         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7484         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7485         * sysdeps/posix/sleep.c: Likewise.
7486         * sysdeps/posix/tempname.c: Likewise.
7487         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7488         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7489         Likewise.
7490         * sysdeps/powerpc/powerpc32/dl-machine.h
7491         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7492         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7493         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7494         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7495         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7496         Likewise.
7497         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7498         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7499         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7500         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7501         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7502         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7503         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7504         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7505         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7506         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7507         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7508         (elf_machine_lazy_rel): Likewise.
7509         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7510         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7511         (elf_machine_lazy_rel): Likewise.
7512         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7513         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7514         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7515         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7516         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7517         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7518         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7519         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7520         Likewise.
7521         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7522         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7523         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7524         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7525         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7526         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7527         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7528         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7529         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7530         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7531         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7532         Likewise.
7533         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7534         (__posix_fallocate64_l64): Likewise.
7535         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7536         (posix_fallocate): Likewise.
7537         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7538         Likewise.
7539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7540         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7541         (getifaddrs_internal): Likewise.
7542         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7543         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7544         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7545         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7546         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7547         (__posix_fallocate64_l64): Likewise.
7548         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7549         Likewise.
7550         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7551         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7552         (__get_clockfreq): Likewise.
7553         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7554         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7555         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7556         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7558         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7559         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7560         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7561         Likewise.
7562         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7563         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7564         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7565         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7566         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7567         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7568         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7569         Likewise.
7570         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7571         (posix_fallocate): Likewise.
7572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7573         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7574         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7575         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7576         (elf_machine_rela, elf_machine_rela_relative)
7577         (elf_machine_lazy_rel): Likewise.
7578         * time/asctime.c (asctime_internal): Likewise.
7579         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7580         * time/tzset.c (__tzset_parse_tz): Likewise.
7581         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7582         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7583         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7584         * wcsmbs/wcsmbsload.h: Likewise.
7585
7586         [BZ #15894]
7587         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7588
7589         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7590         (arena_get2): Remove THREAD_STATS conditionals.
7591         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7592         (__malloc_stats, int): Likewise.
7593
7594 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7595
7596         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7597         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7598
7599         * manual/setjmp.texi: Fix typos/grammar errors.
7600
7601         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7602         Only return early when n is <= 0.  Delete unused return statement.
7603
7604         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7605         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7606         * debug/tst-longjmp_chk3.c: New file.
7607
7608         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7609         (test_main): Replace code with set_fortify_handler call.
7610         * debug/test-strcpy_chk.c: Likewise.
7611         * debug/tst-chk1.c: Likewise.
7612         * debug/tst-longjmp_chk.c: Likewise.
7613         * test-skeleton.c: Include fcntl.h & paths.h
7614         (set_fortify_handler): Define.
7615
7616         * debug/tst-longjmp_chk.c: Add header comment and include
7617         ../test-skeleton.c.
7618         (do_test): Mark static.
7619         (TEST_FUNCTION): Define.
7620
7621         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7622         (IP_PMTUDISC_INTERFACE): Likewise.
7623         (IP_MULTICAST_IF): Likewise.
7624         (IP_MULTICAST_TTL): Likewise.
7625         (IP_MULTICAST_LOOP): Likewise.
7626         (IP_ADD_MEMBERSHIP): Likewise.
7627         (IP_DROP_MEMBERSHIP): Likewise.
7628         (IP_UNBLOCK_SOURCE): Likewise.
7629         (IP_BLOCK_SOURCE): Likewise.
7630         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7631         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7632         (IP_MSFILTER): Likewise.
7633         (MCAST_JOIN_GROUP): Likewise.
7634         (MCAST_BLOCK_SOURCE): Likewise.
7635         (MCAST_UNBLOCK_SOURCE): Likewise.
7636         (MCAST_LEAVE_GROUP): Likewise.
7637         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7638         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7639         (MCAST_MSFILTER): Likewise.
7640         (IP_MULTICAST_ALL): Likewise.
7641         (IP_UNICAST_IF): Likewise.
7642
7643         * timezone/Makefile: Delete $(have-ksh) check.
7644         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7645         * timezone/tzselect.ksh: Add +x mode bits.
7646
7647         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7648         (ANON_INODE_FS_MAGIC): Likewise.
7649         (BDEVFS_MAGIC): Likewise.
7650         (BINFMTFS_MAGIC): Likewise.
7651         (BTRFS_TEST_MAGIC): Likewise.
7652         (CRAMFS_MAGIC_WEND): Likewise.
7653         (DEBUGFS_MAGIC): Likewise.
7654         (ECRYPTFS_SUPER_MAGIC): Likewise.
7655         (EXT3_SUPER_MAGIC): Likewise.
7656         (EXT4_SUPER_MAGIC): Likewise.
7657         (FUTEXFS_SUPER_MAGIC): Likewise.
7658         (HOSTFS_SUPER_MAGIC): Likewise.
7659         (HUGETLBFS_MAGIC): Likewise.
7660         (MINIX3_SUPER_MAGIC): Likewise.
7661         (MTD_INODE_FS_MAGIC): Likewise.
7662         (NILFS_SUPER_MAGIC): Likewise.
7663         (OPENPROM_SUPER_MAGIC): Likewise.
7664         (PIPEFS_MAGIC): Likewise.
7665         (PSTOREFS_MAGIC): Likewise.
7666         (QNX6_SUPER_MAGIC): Likewise.
7667         (RAMFS_MAGIC): Likewise.
7668         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7669         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7670         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7671         (SECURITYFS_MAGIC): Likewise.
7672         (SELINUX_MAGIC): Likewise.
7673         (SMACK_MAGIC): Likewise.
7674         (SOCKFS_MAGIC): Likewise.
7675         (SQUASHFS_MAGIC): Likewise.
7676         (STACK_END_MAGIC): Likewise.
7677         (TMPFS_MAGIC): Likewise.
7678         (USBDEVICE_SUPER_MAGIC): Likewise.
7679         (V9FS_MAGIC): Likewise.
7680         (XENFS_SUPER_MAGIC): Likewise.
7681         (CRAMFS_MAGIC): Fix typo in comment.
7682         (EXT2_SUPER_MAGIC): Update comment.
7683         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7684
7685 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7686
7687         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7688         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7689         * sysdeps/unix/sysv/linux/arm: Move directory from
7690         ports/sysdeps/unix/sysv/linux/arm.
7691         * README: Update listing for arm-*-linux-gnueabi.
7692
7693         * README: Remove mention of am33.
7694
7695 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7696
7697         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7698         than the comma operator, to avoid "rhs of comma has no effect"
7699         compiler warnings.
7700         (__sigfillset, __sigandset, __sigorset): Likewise.
7701         * include/signal.h (__sigemptyset): Likewise.
7702         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7703
7704 2014-02-07  Allan McRae  <allan@archlinux.org>
7705
7706         * version.h (RELEASE): Set to "development".
7707         (VERSION): Set to "2.19.90"
7708         * NEWS: Add 2.20 section.
7709
7710 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7711
7712         [BZ #16529]
7713         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7714
7715 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7716
7717         * manual/contrib.texi: Update entry for Carlos O'Donell,
7718         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7719
7720 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7721
7722         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7723
7724         * sysdeps/unix/sysv/linux/kernel-features.h
7725         [__LINUX_KERNEL_VERSION >= 0x020621]
7726         (__ASSUME_PROC_PID_TASK_COMM): Define.
7727
7728 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7729
7730         [BZ #16398]
7731         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7732         conversion when destination buffer does not have enough space.
7733         * libio/tst-ftell-partial-wide.c: New test case.
7734         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7735
7736         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7737         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7738         Leonard and Allan McRae.
7739
7740 2014-02-04  David S. Miller  <davem@davemloft.net>
7741
7742         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7743         32-bit.
7744
7745 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7746
7747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7748         New file
7749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7750         New file
7751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7752         New file.
7753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7754         New file.
7755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7756         New file.
7757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7758         New file.
7759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7760         New file.
7761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7762         New file.
7763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7764         New file.
7765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7766         New file.
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7768         New file.
7769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7770         New file.
7771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7772         New file.
7773
7774 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7775
7776         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7777         * shlib-versions: Likewise.
7778
7779 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7781
7782         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7783         (abilist-pattern): New variable, set to %-le.abilist.
7784
7785         * Makerules (abilist-pattern): New variable.
7786         (vpath): Use $(abilist-pattern) in place of %.abilist.
7787         (check-abi-% pattern rule): Likewise.
7788         (check-abi, update-abi): Likewise.
7789
7790 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7791
7792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7793
7794 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7795
7796         * manual/startup.texi: Add next, previous, and top entries for
7797         the `Program Arguments' and `Environment Variables' nodes.
7798
7799 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7800
7801         * manual/macros.texi: Add comments before MTASC-safety macros.
7802
7803         * manual/users.texi: Document MTASC-safety properties.
7804
7805         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7806         (pthread_getspecific, pthread_setspecific): Format with
7807         @deftypefun, and add @safety note.
7808         * manual/signal.texi: Move comments that analyze the above
7809         functions to their home place.
7810
7811 2014-02-03  Allan McRae  <allan@archlinux.org>
7812
7813         * po/sl.po: Update Slovenian translation from translation project.
7814
7815 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7816
7817         * manual/time.texi (timegm): Add missing blank after @c.
7818         Reported by Joseph Myers <joseph@codesourcery.com>.
7819
7820 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7821
7822         * manual/check-safety.sh: New.
7823         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7824
7825         * manual/terminal.texi: Document MTASC-safety properties.
7826
7827         * manual/filesys.texi: Document MTASC-safety properties.
7828
7829         * manual/errno.texi: Document MTASC-safety properties.
7830
7831         * manual/intro.texi: Document safety identifiers and
7832         conditionals.
7833
7834         * manual/string.texi (wcstok): Fix prototype.
7835         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7836
7837         * manual/time.texi: Document MTASC-safety properties.
7838
7839         * manual/string.texi: Document MTASC-safety properties.
7840
7841         * manual/threads.texi: Document MTASC-safety properties.
7842
7843         * manual/stdio.texi: Document MTASC-safety properties.
7844
7845         * manual/syslog.texi: Document MTASC-safety properties.
7846
7847         * manual/sysinfo.texi: Document MTASC-safety properties.
7848
7849         * manual/startup.texi: Document MTASC-safety properties.
7850
7851         * manual/socket.texi: Document MTASC-safety properties.
7852
7853         * manual/signal.texi: Document MTASC-safety properties.
7854
7855 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7856
7857         * manual/setjmp.texi: Document MTASC-safety properties.
7858
7859         * manual/search.texi: Document MTASC-safety properties.
7860
7861         * manual/resource.texi: Document MTASC-safety properties.
7862
7863         * manual/process.texi: Document MTASC-safety properties.
7864
7865         * manual/platform.texi: Document MTASC-safety properties.
7866
7867         * manual/pipe.texi: Document MTASC-safety properties.
7868
7869         * manual/pattern.texi: Document MTASC-safety properties.
7870
7871         * manual/message.texi: Document MTASC-safety properties.
7872
7873         [BZ #12751]
7874         * manual/memory.texi: Document MTASC-safety properties.
7875
7876         * manual/math.texi: Document MTASC-safety properties.
7877
7878         * manual/locale.texi: Document MTASC-safety properties.
7879
7880         * manual/llio.texi: Document MTASC-safety properties.
7881
7882         * manual/libdl.texi: New.
7883
7884         * manual/lang.texi: Document MTASC-safety properties.
7885
7886         * manual/job.texi: Document MTASC-safety properties.
7887
7888         * manual/getopt.texi: Document MTASC-safety properties.
7889
7890         * manual/ctype.texi: Document MTASC-safety properties.
7891
7892 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7893
7894         [BZ #16046]
7895         * csu/libc-tls.c (static_map): Remove variable.
7896         (__libc_setup_tls): Use main executable's link map for TLS data.
7897         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7898         casing for LM_ID_BASE and GL(dl_nns).
7899         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7900         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7901         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7902         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7903         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7904         member.
7905         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7906         l_phnum members.
7907
7908 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7909
7910         * manual/debug.texi: Document MTASC-safety properties.
7911
7912 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7913
7914         [BZ #16510]
7915         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7916         of __x86_64__ when disabling x87 inline functions.
7917
7918 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7919
7920         * manual/charset.texi: Document MTASC-safety properties.
7921
7922         * manual/crypt.texi: Document MTASC-safety properties.
7923
7924         * manual/conf.texi: Document MTASC-safety properties.
7925
7926         * manual/arith.texi: Document MTASC-safety properties.
7927
7928         * manual/argp.texi: Document MTASC-safety properties.
7929
7930         * manual/macros.texi: Introduce macros to document multi
7931         thread, asynchronous signal and asynchronous cancellation
7932         safety properties.
7933         * manual/intro.texi: Introduce the properties themselves.
7934
7935 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7936
7937         * sysdeps/sh/sh4/Makefile: New file.
7938
7939 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7940
7941         * math/gen-libm-test.pl ($srcdir): New variable.
7942         ($auto_input): Use it.
7943
7944 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7945
7946         [BZ #16506]
7947         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7948         access beyond array bounds when parsing netgroups file.
7949
7950         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7951         the old buffer before realloc.
7952
7953 2014-01-27  Allan McRae  <allan@archlinux.org>
7954
7955         * po/fr.po: Update French translation from translation project.
7956
7957 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7958
7959         * sysdeps/sh/libm-test-ulps: Regenerate.
7960
7961 2014-01-24  David S. Miller  <davem@davemloft.net>
7962
7963         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7964
7965 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7966
7967         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7968         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7969
7970 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7971
7972         [BZ #16474]
7973         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7974         string pointers after reallocation.
7975
7976 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7977
7978         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7979         __SH4A__ instead of __SH_FPU_ANY__.
7980
7981 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7982
7983         * sysdeps/sh/fpu_control.h: New file.
7984         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7985         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7986         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7987         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7988         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7989         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7990         * sysdeps/sh/sys/ucontext.h: Remove.
7991         * sysdeps/sh/sys: Remove directory.
7992
7993 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7994
7995         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7996         s390/sys/ucontext.h.
7997         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7998         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7999
8000 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8001
8002         [BZ #15605]
8003         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8004
8005 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8006
8007         [BZ#16431]
8008         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8009         Adjust the vDSO correctly for internal calls.
8010         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8011
8012 2014-01-20  Allan McRae  <allan@archlinux.org>
8013
8014         * po/ca.po: Update Catalan translation from translation project.
8015
8016 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8017
8018         * sysdeps/s390/sotruss-lib.c: New file.
8019
8020 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8021
8022         [BZ#16430]
8023         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8024         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8025         local calls issues by not having a PLT stub required for IFUNC calls.
8026         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8027
8028 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8029
8030         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8031         * math/test-fpucw-static.c: Likewise.
8032
8033 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8034
8035         [BZ #16453]
8036         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8037
8038 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8039
8040         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8041         implementation for powerpc.
8042
8043 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8044
8045         [BZ #14782]
8046         * sysdeps/posix/system.c (__libc_system): Do not enable
8047         asynchronous cancellation.
8048
8049 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8050
8051         [BZ #16427]
8052         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8053         handling only for numbers special also in the IEEE case.
8054
8055 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8056
8057         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8058
8059 2014-01-11  Allan McRae  <allan@archlinux.org>
8060
8061         * po/bg.po: Update Bulgarian translation from translation project.
8062
8063         * po/de.po: Update German translation from translation project.
8064
8065 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8066
8067         * sysdeps/generic/gcc-compat.h: New file.
8068
8069 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8070
8071         * benchtests/asin-inputs: Correct slow inputs.
8072         * benchtests/acos-inputs: Likewise.
8073
8074 2014-01-10  Allan McRae  <allan@archlinux.org>
8075
8076         * po:sv.po: Update Swedish translation from translation project.
8077
8078         * po/vi.po: Update Vietnamese translation from translation project.
8079
8080         * po/eo.po: Update Esperanto translation from translation project.
8081
8082         * po/cs.po: Update Czech translation from translation project.
8083
8084         * po/nl.po: Update Dutch translation from translation project.
8085
8086         * po/pl.po: Update Polish translation from translation project.
8087
8088         * po/ru.po: Update Russian translation from translation project.
8089
8090         * po/uk.po: Update Ukrainian translation from translation project.
8091
8092 2014-01-08  Brooks Moses  <bmoses@google.com>
8093
8094         * elf/dl-load.c: Fix comment typo.
8095
8096 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8097
8098         * po/header.pot: Rename to...
8099         * po/pot.header: ... this.
8100         * po/Makefile: Use pot.header.
8101
8102 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8103             Maxim Kuvyrkov  <maxim@kugelworks.com>
8104
8105         [BZ #16394]
8106         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8107         SRC and DEST against LEN.
8108
8109 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8110
8111         [BZ #16414]
8112         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8113         implementation.
8114         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8115
8116 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8117
8118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8119
8120 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8121
8122         [BZ #16408]
8123         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8124         for large positive arguments.
8125
8126 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8127
8128         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8129
8130         * math/auto-libm-test-in: Mark various tests with
8131         xfail-rounding:ldbl-128ibm.
8132         * math/auto-libm-test-out: Regenerated.
8133
8134         [BZ #16407]
8135         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8136         Increase overflow threshold.
8137
8138 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8139
8140         [BZ #14286]
8141         * stdio-common/vfprintf.c: Check for integer overflow.
8142
8143 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8144
8145         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8146         the first argument and return value of __tls_get_addr_internal.
8147
8148 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8149
8150         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8151         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8152
8153 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8154
8155         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8156         * sysdeps/s390/rtld-global-offsets.sym: New file.
8157         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8158         GLIBC_2.19 symbol.
8159         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8160         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8161         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8162         ... this.
8163         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8164         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8165         ... this.
8166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8167         Regenerate.
8168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8169         Regenerate.
8170         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8171         halfs of GPRs for high_gprs contexts.
8172         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8173         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8174         field.
8175         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8176         uc_flags field.
8177         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8178         64 bit versions:
8179         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8180         for high GPRs (uc_high_gprs) and for future extensions
8181         (__reserved).
8182         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8183         for future extensions (__reserved).
8184         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8185         64 bit versions:
8186         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8187         SC_HIGHGPRS offset definition.
8188         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8189         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8190
8191         * Versions.def: Add GLIBC_2.19 for libpthread.
8192         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8193         siglongjmp for libpthread with GLIBC_2.19 symver.
8194         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8195         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8196         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8197         * sysdeps/s390/__longjmp.c: New file.
8198         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8199         * sysdeps/s390/longjmp.c: New file.
8200         * sysdeps/s390/setjmp.S: New file.
8201         * sysdeps/s390/sigjmp.S: New file.
8202         * sysdeps/s390/v1-longjmp.c: New file.
8203         * sysdeps/s390/v1-setjmp.h: New file.
8204         * sysdeps/s390/v1-sigjmp.c: New file.
8205         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8206         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8207         GLIBC_2.19 version.
8208         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8209         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8210         versioned symbols for ____longjmp_chk.
8211         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8212         Likewise.
8213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8214         Regenerate.
8215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8216         Regenerate.
8217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8218         Regenerate.
8219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8220         Regenerate.
8221         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8222         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8223         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8224         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8225         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8226         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8227         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8228         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8229         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8230         * sysdeps/s390/rtld-__longjmp.c: New file.
8231         * sysdeps/s390/rtld-setjmp.S: New file.
8232
8233 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8234
8235         [BZ #16400]
8236         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8237         Return -__logl (x) for small positive arguments without evaluating
8238         a polynomial.
8239
8240 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8241
8242         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8243         Rename to ...
8244         (__ptrace_peeksiginfo_args): ... this.
8245         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8246         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8247         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8248
8249 2014-01-06  Allan McRae  <allan@archlinux.org>
8250
8251         * inet/netinet/in.h: Fix typo in comment.
8252
8253 2014-01-05  Andreas Jaeger  <aj@suse.de>
8254
8255         * sysdeps/i386/fpu/libm-test-ulps: Update.
8256
8257 2014-01-05  Allan McRae  <allan@archlinux.org>
8258
8259         * po/libc.pot: Regenerated.
8260
8261         * malloc/memusagestat.c: Fix gettext call formatting.
8262
8263 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8264
8265         * nscd/nscd.c: Improve usage() output.
8266
8267 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8268
8269         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8270         * sysdeps/unix/sysv/linux/configure: Regenerated.
8271         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8272         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8273
8274 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8275
8276         [BZ #16390]
8277         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8278         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8279
8280 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8281
8282         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8283         extra tokens at end of #undef directive.
8284         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8285         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8286         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8287
8288 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8289
8290         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8291
8292         * math/auto-libm-test-in: Mark various tests with
8293         xfail-rounding:ldbl-128ibm.
8294         * math/auto-libm-test-out: Regenerated.
8295
8296 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8297
8298         [BZ #16386]
8299         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8300         numbers with subnormal high part when calculating exponent.
8301
8302         [BZ #16385]
8303         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8304         fabs.
8305
8306         [BZ #16384]
8307         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8308         M_LN2l.
8309         (__ieee754_acoshl): Use __log1pl not __log1p.
8310
8311 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8312
8313         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8314         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8315         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8316         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8317         (reused_arena, arena_get2): Convert to GNU style.
8318         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8319         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8320         (memalign_check, __malloc_set_state): Likewise.
8321         * malloc/mallocbug.c (main): Likewise.
8322         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8323         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8324         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8325         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8326         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8327         (__posix_memalign, malloc_info): Likewise.
8328         * malloc/malloc.h: Likewise.
8329         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8330         (mallochook, memalignhook, reallochook, mabort): Likewise.
8331         * malloc/mcheck.h: Likewise.
8332         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8333         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8334         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8335         * malloc/morecore.c (__default_morecore): Likewise.
8336         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8337         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8338         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8339         (print_and_abort): Likewise.
8340         * malloc/obstack.h: Likewise.
8341         * malloc/set-freeres.c (__libc_freeres): Likewise.
8342         * malloc/tst-mallocstate.c (main): Likewise.
8343         * malloc/tst-mtrace.c (main): Likewise.
8344         * malloc/tst-realloc.c (do_test): Likewise.
8345
8346 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8347
8348         [BZ #16366]
8349         * nscd/netgroupcache.c (do_notfound): New function.
8350         (addgetnetgrentX): Use it.
8351
8352         [BZ # 16365]
8353         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8354         NSS_STATUS_NOTFOUND.
8355
8356 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8357
8358         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8360
8361 2014-01-01  Allan McRae  <allan@archlinux.org>
8362
8363         * scripts/update-copyrights: Update configure input file suffix.
8364
8365         * NEWS: Update copyright year.
8366         * catgets/gencat.c: Likewise.
8367         * csu/version.c: Likewise.
8368         * debug/catchsegv.sh: Likewise.
8369         * debug/pcprofiledump.c: Likewise.
8370         * debug/xtrace.sh: Likewise.
8371         * elf/ldconfig.c: Likewise.
8372         * elf/ldd.bash.in: Likewise.
8373         * elf/pldd.c: Likewise.
8374         * elf/sotruss.ksh: Likewise.
8375         * elf/sprof.c: Likewise.
8376         * iconv/iconv_prog.c: Likewise.
8377         * iconv/iconvconfig.c: Likewise.
8378         * locale/programs/locale.c: Likewise.
8379         * locale/programs/localedef.c: Likewise.
8380         * login/programs/pt_chown.c: Likewise.
8381         * malloc/memusage.sh: Likewise.
8382         * malloc/memusagestat.c: Likewise.
8383         * malloc/mtrace.pl: Likewise.
8384         * manual/libc.texinfo: Likewise.
8385         * nscd/nscd.c: Likewise.
8386         * nss/getent.c: Likewise.
8387         * nss/makedb.c: Likewise.
8388         * posix/getconf.c: Likewise.
8389         * scripts/test-installation.pl: Likewise.
8390
8391         * All files with FSF copyright notices: Update copyright dates
8392         using scripts/update-copyrights.
8393         * intl/plural.c: Regenerated.
8394         * locale/programs/charmap-kw.h: Likewise.
8395         * locale/programs/locfile-kw.h: Likewise.
8396
8397 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8398
8399         * sysdeps/unix/sysv/linux/configure: Regenerated.
8400         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8401         the linux/fanotify.h header.
8402         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8403         HAVE_LINUX_FANOTIFY_H is defined.
8404
8405 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8406
8407         * benchtests/cos-inputs: New inputs.
8408         * benchtests/sin-inputs: Likewise.
8409
8410         * benchtests/atan-inputs: New inputs. Fix name of multiple
8411         precision fallback inputs.
8412
8413         * benchtests/atanh-inputs: New inputs.
8414         * benchtests/tanh-inputs: Likewise.
8415
8416         * benchtests/acosh-inputs: New inputs.
8417         * benchtests/asinh-inputs: Likewise.
8418
8419         * benchtests/cosh-inputs: New inputs.
8420         * benchtests/sinh-inputs: Likewise.
8421
8422         * benchtests/acos-inputs: Add more inputs.
8423         * benchtests/asin-inputs: Likewise.
8424
8425 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8426
8427         [BZ #16375]
8428         * manual/arith.texi: Fix spelling.
8429         * manual/charset.texi: Likewise.
8430         * manual/errno.texi: Likewise.
8431         * manual/filesys.texi: Likewise.
8432         * manual/lang.texi: Likewise.
8433         * manual/llio.texi: Likewise.
8434         * manual/locale.texi: Likewise.
8435         * manual/message.texi: Likewise.
8436         * manual/resource.texi: Likewise.
8437         * manual/search.texi: Likewise.
8438         * manual/setjmp.texi: Likewise.
8439         * manual/stdio.texi: Likewise.
8440         * manual/string.texi: Likewise.
8441         * manual/sysinfo.texi: Likewise.
8442         * manual/time.texi: Likewise.
8443
8444 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8445
8446         * po/sl.po: New file.
8447
8448 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8449
8450         * .gitignore: Add core/.gdbinit/.gdb_history.
8451
8452 2013-12-27  Allan McRae  <allan@archlinux.org>
8453
8454         [BZ #16369]
8455         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8456         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8457
8458 2013-12-24  Brooks Moses  <bmoses@google.com>
8459
8460         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8461         all compilers that claim C++98 compliance, not just GCC.
8462         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8463         Likewise.
8464
8465 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8466
8467         * NEWS: Restore accidentally deleted bug-fix entries.
8468
8469 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8470             Ondřej Bílka  <neleai@seznam.cz>
8471
8472         [BZ #15073]
8473         * malloc/malloc.c (_int_free): Perform sanity check only if we
8474         have_lock.
8475
8476 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8477
8478         [BZ #12986]
8479         * manual/stdio.texi (String Input Conversions): Clarify that character
8480         classes are not supported.
8481
8482 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8483
8484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8485
8486 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8487
8488         [BZ #16337]
8489         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8490         Calculate results for small negative arguments directly rather
8491         than using reflection formula with special underflow handling.
8492
8493         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8494         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8495         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8496         (fchflags): Likewise.
8497         (revoke): Likewise.
8498         (setlogin): Likewise.
8499         (sigaltstack): Likewise.
8500         (wait4): Likewise.
8501         (sigblock): Remove.
8502         (sigsetmask): Likewise.
8503         (wait3): Likewise.
8504         (waitpid): Likewise.
8505         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8506         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8507         file.
8508         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8509         * sysdeps/unix/bsd/Makefile: ... here.
8510         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8511         * sysdeps/unix/bsd/Versions: ... here.
8512         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8513         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8514         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8515         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8516         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8517         * sysdeps/unix/bsd/sigblock.c: ... here.
8518         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8519         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8520         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8521         * sysdeps/unix/bsd/sigvec.c: ... here.
8522         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8523         * sysdeps/unix/bsd/tcdrain.c: ... here.
8524         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8525         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8526         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8527         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8528         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8529         * sysdeps/unix/bsd/wait.c: ... here.
8530         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8531         * sysdeps/unix/bsd/wait3.c: ... here.
8532         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8533         * sysdeps/unix/bsd/waitpid.c: ... here.
8534
8535 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8536
8537         [BZ #16356]
8538         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8539         round-to-nearest for [!USE_AS_EXPM1L].
8540         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8541         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8542         more tests of exp and exp10.  Expect some exp10 tests to miss
8543         exceptions or fail in directed rounding modes.
8544         * math/auto-libm-test-out: Regenerated.
8545         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8546         (exp10_test_tonearest): New function.
8547         (exp10_towardzero_test_data): New array.
8548         (exp10_test_towardzero): New function.
8549         (exp10_downward_test_data): New array.
8550         (exp10_test_downward): New function.
8551         (exp10_upward_test_data): New array.
8552         (exp10_test_upward): New function.
8553         (main): Call the new functions.
8554         * sysdeps/i386/fpu/libm-test-ulps: Update.
8555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8556
8557 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8558
8559         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8560         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8561         * math/auto-libm-test-out: Regenerated.
8562         * math/libm-test.inc (acosh_test_data): Add more tests.
8563         (atanh_test_data): Likewise.
8564         (ceil_test_data): Likewise.
8565         (copysign_test_data): Likewise.
8566         * sysdeps/i386/fpu/libm-test-ulps: Update.
8567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8568
8569         * timezone/checktab.awk: Update from tzcode 2013i.
8570         * timezone/private.h: Likewise.
8571         * timezone/scheck.c: Likewise.
8572         * timezone/tzfile.h: Likewise.
8573         * timezone/tzselect.ksh: Likewise.
8574         * timezone/zdump.c: Likewise.
8575         * timezone/zic.c: Likewise.
8576
8577         * math/auto-libm-test-in: Add tests of cpow.
8578         * math/auto-libm-test-out: Regenerated.
8579         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8580         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8581         mpc_cc_c.
8582         (func_calc_desc): Add mpc_cc_c union field.
8583         (test_functions): Add cpow.
8584         (special_fill_2pi): New function.
8585         (special_real_inputs): Add 2pi.
8586         (calc_generic_results): Handle mpc_cc_c.
8587         * sysdeps/i386/fpu/libm-test-ulps: Update.
8588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8589
8590         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8591         csqrt, ctan and ctanh.
8592         * math/auto-libm-test-out: Regenerated.
8593         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8594         (TEST_COND_x86): Likewise.
8595         (ccos_test_data): Use AUTO_TESTS_c_c.
8596         (ccosh_test_data): Likewise.
8597         (cexp_test_data): Likewise.
8598         (clog_test_data): Likewise.
8599         (csqrt_test_data): Likewise.
8600         (ctan_test_data): Likewise.
8601         (ctan_tonearest_test_data): Likewise.
8602         (ctan_towardzero_test_data): Likewise.
8603         (ctan_downward_test_data): Likewise.
8604         (ctan_upward_test_data): Likewise.
8605         (ctanh_test_data): Likewise.
8606         (ctanh_tonearest_test_data): Likewise.
8607         (ctanh_towardzero_test_data): Likewise.
8608         (ctanh_downward_test_data): Likewise.
8609         (ctanh_upward_test_data): Likewise.
8610         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8611         mpc_c_c.
8612         (func_calc_desc): Add mpc_c_c union field.
8613         (FUNC_mpc_c_c): New macro.
8614         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8615         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8616         ctanh.
8617         (special_fill_min_subnorm_p120): New function.
8618         (special_real_inputs): Add min_subnorm_p120.
8619         (calc_generic_results): Handle mpc_c_c.
8620         * sysdeps/i386/fpu/libm-test-ulps: Update.
8621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8622
8623 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8624
8625         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8626         (do_sin_slow): New functions.
8627         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8628         (cslow2, csloww1, csloww2): Use the new functions.
8629
8630         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8631         Use M to change sign of result instead of X.  Assume X is
8632         positive.
8633         (csloww1): Likewise.
8634         (__sin): Adjust.
8635         (__cos): Adjust.
8636
8637         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8638         arguments A and DA.
8639         (__sin): Adjust.
8640         (__cos): Likewise.
8641
8642         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8643         (__cos): Likewise.
8644         (sloww1): Don't adjust sign of DX.
8645         (csloww1): Likewise.
8646         (sloww2): Use X directly and don't adjust sign of DX.
8647         (csloww2): Likewise.
8648
8649 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8650
8651         * math/auto-libm-test-in: Add tests of cabs and carg.
8652         * math/auto-libm-test-out: Regenerated.
8653         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8654         (carg_test_data): Likewise.
8655         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8656         mpc_c_f.
8657         (func_calc_desc): Add mpc_c_f union field.
8658         (test_functions): Add cabs and carg.
8659         (calc_generic_results): Handle mpc_c_f.
8660
8661         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8662         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8663         as a macro and a compat symbol.
8664         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8665         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8666         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8667         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8668         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8669         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8670         not use .hidden.
8671         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8672         Likewise.
8673         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8674         Likewise.
8675         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8676         Likewise.
8677         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8678         Likewise.
8679         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8680         Likewise.
8681         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8682         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8683         from GLIBC_2.3.2.
8684
8685 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8686
8687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8688
8689 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8690
8691         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8692         trailing whitespace removed.
8693         * scripts/config.guess: Update to version 2013-11-29.
8694         * scripts/config.sub: Update to version 2013-10-01.
8695
8696         * math/auto-libm-test-in: Add tests of sincos.
8697         * math/auto-libm-test-out: Regenerated.
8698         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8699         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8700         mpfr_f_11.
8701         (func_calc_desc): Add mpfr_f_11 union field.
8702         (test_functions): Add sincos.
8703         (calc_generic_results): Handle mpfr_f_11.
8704         * sysdeps/i386/fpu/libm-test-ulps: Update.
8705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8706
8707 2013-12-19  Andreas Schwab  <schwab@suse.de>
8708
8709         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8710         CALL_MCOUNT.
8711         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8712         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8713         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8714
8715 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8716
8717         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8718         * sysdeps/i386/fpu/libm-test-ulps: Update.
8719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8720
8721         [BZ #16293]
8722         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8723         round-to-nearest mode when using frndint.
8724         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8725         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8726         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8727         Likewise.
8728         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8729         sinh test to fail.
8730         * math/auto-libm-test-out: Regenerated.
8731         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8732         (TEST_COND_x86): Likewise.
8733         (expm1_tonearest_test_data): New array.
8734         (expm1_test_tonearest): New function.
8735         (expm1_towardzero_test_data): New array.
8736         (expm1_test_towardzero): New function.
8737         (expm1_downward_test_data): New array.
8738         (expm1_test_downward): New function.
8739         (expm1_upward_test_data): New array.
8740         (expm1_test_upward): New function.
8741         (main): Run the new test functions.
8742         * sysdeps/i386/fpu/libm-test-ulps: Update.
8743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8744
8745         * include/features.h: Update comment documenting feature test
8746         macros.  Mention _DEFAULT_SOURCE in comment.
8747         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8748         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8749         _BSD_SOURCE and _SVID_SOURCE.
8750         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8751         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8752         !_SVID_SOURCE]: Likewise.
8753         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8754         (__USE_POSIX_IMPLICITLY): Define.
8755         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8756         (_POSIX_SOURCE): Undefine and redefine.
8757         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8758         (_POSIX_C_SOURCE): Likewise.
8759         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8760         (Feature Test Macros): Update documentation of default features.
8761
8762 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8763
8764         * benchtests/Makefile: Add bench-strtok.
8765         * benchtests/bench-strtok.c: New file: strtok benchtest.
8766
8767 2013-12-19  Allan McRae  <allan@archlinux.org>
8768
8769         * manual/install.texi: Suppress menu for plain text output.
8770         * INSTALL: Regenerated.
8771
8772 2013-12-18  Brooks Moses  <bmoses@google.com>
8773
8774         [BZ #15846]
8775         * misc/getauxval.c: Include errno.h.
8776         (__getauxval): Set errno to ENOENT if the requested type is not
8777         found.
8778         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8779         don't declare with __attribute_const__.
8780         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8781         * manual/startup.texi: Document that getauxval sets errno.
8782
8783 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8784
8785         * math/auto-libm-test-in: Add tests of jn and yn.
8786         * math/auto-libm-test-out: Regenerated.
8787         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8788         (yn_test_data): Likewise.
8789         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8790         mpfr_if_f.
8791         (func_calc_desc): Add mpfr_if_f union field.
8792         (FUNC_mpfr_if_f): New macro.
8793         (test_functions): Add jn and yn.
8794         (calc_generic_results): Assert type of second input for
8795         mpfr_ff_f.  Handle mpfr_if_f.
8796         (output_for_one_input_case): Disable all checking for arguments
8797         fitting floating-point types in case of an integer argument.
8798         * sysdeps/i386/fpu/libm-test-ulps: Update.
8799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8800
8801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8802         Don't expect fegetround reference in libm.so.
8803
8804 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8805
8806         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8807         $(config-cflags-nofma).
8808
8809 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8810
8811         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8812         * math/auto-libm-test-out: Regenerated.
8813
8814         [BZ #16338]
8815         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8816         to determine exponent and adjust argument to have exponent of -1.
8817         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8818         log2.
8819         * math/auto-libm-test-out: Regenerated.
8820         * sysdeps/i386/fpu/libm-test-ulps: Update.
8821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8822
8823 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8824
8825         * manual/probes.texi: Remove cases when per-thread arenas are
8826         disabled.
8827
8828 2013-12-18  Andreas Schwab  <schwab@suse.de>
8829
8830         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8831         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8832         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8833         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8834         * sysdeps/i386/i686/multiarch/Makefile: Update.
8835         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8836
8837 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8838
8839         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8840         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8841
8842 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8843
8844         [BZ #15968]
8845         Support TZ transition times < 00:00:00.
8846         This is needed for version-3 tz-format files; it supports time
8847         stamps past 2037 for America/Godthab (the only entry in the tz
8848         database for which this change is relevant).
8849         * manual/time.texi (TZ Variable): Document transition times
8850         from -167:59:59 through -00:00:01.
8851         * time/tzset.c (tz_rule): Time of day is now signed.
8852         (__tzset_parse_tz): Parse negative time of day.
8853
8854         Document TZ transition times >= 25:00:00.
8855         * manual/time.texi (TZ Variable): Document transition times from
8856         25:00:00 through 167:59:59.  These are already supported, and this
8857         support will help with version-3 tz-format files.
8858
8859         * manual/time.texi (TZ Variable): Modernize North America example
8860         to reflect current (i.e., 2007-and-later) daylight saving rules.
8861
8862         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8863
8864 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8865
8866         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8867         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8868         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8869         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8870         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8871         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8872         * sysdeps/unix/bsd/clock.c: Likewise.
8873         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8874         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8875         * sysdeps/unix/bsd/init-posix.c: Likewise.
8876         * sysdeps/unix/bsd/poll.c: Likewise.
8877         * sysdeps/unix/bsd/ptsname.c: Likewise.
8878         * sysdeps/unix/bsd/seekdir.c: Likewise.
8879         * sysdeps/unix/bsd/setegid.c: Likewise.
8880         * sysdeps/unix/bsd/seteuid.c: Likewise.
8881         * sysdeps/unix/bsd/setgid.c: Likewise.
8882         * sysdeps/unix/bsd/setrgid.c: Likewise.
8883         * sysdeps/unix/bsd/setruid.c: Likewise.
8884         * sysdeps/unix/bsd/setsid.c: Likewise.
8885         * sysdeps/unix/bsd/setuid.c: Likewise.
8886         * sysdeps/unix/bsd/sigaction.c: Likewise.
8887         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8888         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8889         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8890         * sysdeps/unix/bsd/telldir.c: Likewise.
8891         * sysdeps/unix/bsd/times.c: Likewise.
8892         * sysdeps/unix/bsd/usleep.c: Likewise.
8893
8894         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8895         ($(objpfx)libbsd-compat.a): Remove rule.
8896
8897         * include/features.h (__FAVOR_BSD): Do not define.
8898         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8899         features conflicting with POSIX.
8900         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8901         (_BSD_SOURCE): Remove description of not being a subset of other
8902         feature test macros.
8903         * manual/job.texi (getpgrp): Do not document BSD version.
8904         (getpgid): Do not document by reference to BSD getpgrp.
8905         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8906         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8907         * signal/signal.h [__FAVOR_BSD]: Likewise.
8908         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8909         instead of making contents conditional on [__FAVOR_BSD].
8910         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8911
8912 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8913
8914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8915
8916 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8917
8918         [BZ #16314]
8919         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8920         values below 2**-450, not 2**-500.
8921         * math/auto-libm-test-in: Don't allow spurious underflow from
8922         hypot.
8923         * math/auto-libm-test-out: Regenerated.
8924
8925         [BZ #16316]
8926         [BZ #16330]
8927         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8928         values of ha and hb and sort them after adjusting subnormal
8929         arguments.
8930         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8931         Likewise.
8932         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8933         values of ea and eb and sort them after adjusting subnormal
8934         arguments.
8935         * math/auto-libm-test-in: Do not expect some hypot tests of
8936         subnormals to fail.  Add more hypot tests.
8937         * math/auto-libm-test-out: Regenerated.
8938
8939 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8940
8941         [BZ #13304]
8942         * sysdeps/sh/s_fma.c: New file.
8943         * sysdeps/sh/s_fmaf.c: New file.
8944         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8945         version.
8946         * sysdeps/sh/Implies: Add sh/soft-fp.
8947
8948 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8949
8950         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8951         level of indirection to members `objname', `errstring', `malloced'.
8952         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8953         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8954         it as the __longjmp argument (just pass 1 instead).
8955         (_dl_catch_error): Initialize C with argument pointers and address of
8956         volatile local ERRCODE rather than copying values out of C at return.
8957
8958 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8959
8960         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8961         * math/auto-libm-test-out: Regenerated.
8962         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8963         (hypot_test_data): Likewise.
8964         (pow_test_data): Likewise.
8965         (pow_tonearest_test_data): Likewise.
8966         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8967         mpfr_ff_f.
8968         (func_calc_desc): Add mpfr_ff_f union field.
8969         (FUNC_mpfr_ff_f): New macro.
8970         (test_functions): Add atan2, hypot and pow.
8971         (special_fill_min): New function.
8972         (special_fill_minus_min): Likewise.
8973         (special_fill_min_subnorm): Likewise.
8974         (special_fill_minus_min_subnorm): Likewise.
8975         (special_real_inputs): Add min, -min, min_subnorm and
8976         -min_subnorm.
8977         (calc_generic_results): Handle mpfr_ff_f.
8978         * sysdeps/i386/fpu/libm-test-ulps: Update.
8979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8980
8981 2013-12-16  Will Newton  <will.newton@linaro.org>
8982
8983         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8984         (Aligned Memory Blocks): Add documentation for aligned_alloc
8985         and suggest it as an alternative to posix_memalign.
8986         (Hooks for Malloc): Document __memalign_hook is also called
8987         for aligned_alloc.  (Summary of Malloc): Add summary for
8988         aligned alloc.  Document __memalign_hook is also called
8989         for aligned_alloc.
8990
8991 2013-12-16  Will Newton  <will.newton@linaro.org>
8992
8993         * manual/memory.texi (Malloc Examples): Clarify default
8994         alignment documentation.  Suggest posix_memalign rather
8995         than memalign or valloc.
8996         (Aligned Memory Blocks): Remove suggestion to use memalign
8997         or valloc.  Remove obsolete comment about BSD.
8998         Document memalign errno values and mark the function obsolete.
8999         Document posix_memalign returned error codes.  Mark valloc
9000         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9001         called for posix_memalign and valloc.
9002         (Summary of Malloc): Add posix_memalign to function summary.
9003         __memalign_hook is also called for posix_memalign and valloc.
9004
9005 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9006
9007         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9008         TAYLOR_SIN.
9009         (__sin): Adjust.
9010         (__cos): Likewise.
9011         (sloww): Use mynumber union.  Expand ternary operator into
9012         if-else statements.
9013         (cslow): use mynumber union.
9014
9015 2013-12-16  Allan McRae  <allan@archlinux.org>
9016
9017         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9018         * configure: Regenerated.
9019
9020         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9021
9022         [BZ #14120]
9023         * configure.ac: Added --enable-maintainer-mode. Check for
9024         autoconf when enabled.
9025         * configure: Regenerated.
9026
9027         * nscd/nscd.service: New file.
9028         * nscd/nscd.tmpfiles: New file.
9029
9030 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9031
9032         [BZ #12100]
9033         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9034         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9035         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9036         (strstr): Add __strstr_sse2_unaligned ifunc.
9037         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9038         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9039         (strcasestr): Remove __strcasestr_sse42 ifunc.
9040         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9043
9044 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9045
9046         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9047         * sysdeps/sh/bits/fenv.h: ... here.
9048         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9049
9050 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9051
9052         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9053
9054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9055         hypotf multiarch implementations.
9056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9057         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9058         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9059         multiarch hypot for PPC64.
9060         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9061         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9062         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9063         multiarch hypotf for PPC64.
9064
9065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9066         modff multiarch implementations.
9067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9070         multiarch modf for PPC64.
9071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9074         multiarch modff for PPC64.
9075
9076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9077         and logl multiarch implementations.
9078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9081         multiarch logb for PPC64.
9082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9085         multiarch logb for PPC64.
9086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9089         multiarch logb for PPC64.
9090
9091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9092         isinff multiarch implementation.
9093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9094         file.
9095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9097         multiarch isinf for PPC64.
9098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9099         file.
9100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9101         multiarch isinff for PPC64.
9102
9103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9104         finitef multiarch implementation.
9105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9106         file.
9107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9109         multiarch finite for PPC64.
9110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9111         file.
9112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9113         multiarch finitef for PPC64.
9114
9115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9116         lrint multiarch implementation.
9117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9118         file.
9119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9121         multiarch llrint for PPC64.
9122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9123         multiarch lrint for PPC64.
9124
9125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9126         copysignf multiarch implementation.
9127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9128         file.
9129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9130         file.
9131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9132         multiarch copysign for PPC64.
9133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9134         multiarch copysignf for PPC64.
9135
9136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9137         multiarch implementation.
9138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9139         file.
9140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9141         file.
9142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9143         file.
9144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9145         file.
9146         multiarch llround for PPC64.
9147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9148         multiarch trunc for PPC64.
9149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9150         multiarch truncf for PPC64.
9151
9152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9153         multiarch implementation.
9154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9155         file.
9156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9157         file.
9158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9159         file.
9160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9161         file.
9162         multiarch llround for PPC64.
9163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9164         multiarch round for PPC64.
9165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9166         multiarch roundf for PPC64.
9167
9168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9169         multiarch implementation.
9170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9171         file.
9172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9173         file.
9174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9175         file.
9176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9177         file.
9178         multiarch llround for PPC64.
9179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9180         multiarch floor for PPC64.
9181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9182         multiarch floorf for PPC64.
9183
9184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9185         multiarch implementation.
9186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9187         file.
9188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9189         file.
9190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9191         file.
9192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9193         file.
9194         multiarch llround for PPC64.
9195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9196         multiarch ceil for PPC64.
9197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9198         multiarch ceilf for PPC64.
9199
9200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9201         multiarch implementation.
9202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9203         file.
9204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9205         file.
9206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9207         file.
9208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9209         multiarch llround for PPC64.
9210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9211         multiarch lround for PPC64.
9212
9213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9214         multiarch implementation.
9215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9218         file.
9219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9222         multiarch isnan for PPC64.
9223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9224         multiarch isnanf for PPC64.
9225
9226         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9227         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9228         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9229         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9230         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9232
9233         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9234         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9235         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9236         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9237
9238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9239         multiarch implementations.
9240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9241         (__libc_ifunc_impl_list): Likewise.
9242         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9243         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9244         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9245         multiarch stpcpy for PPC64.
9246
9247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9248         multiarch implementations.
9249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9250         (__libc_ifunc_impl_list): Likewise.
9251         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9252         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9253         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9254         multiarch strcpy for PPC64.
9255
9256         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9257         redefine function name.
9258         (_wordcopy_fwd_dest_aligned): Likewise.
9259         (_wordcopy_bwd_aligned): Likewise.
9260         (_wordcopy_bwd_dest_aligned): Likewise.
9261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9262         multiarch implementations.
9263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9264         (__libc_ifunc_impl_list): Likewise.
9265         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9266         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9267         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9268         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9269         multiarch wcscpy for PPC64.
9270
9271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9272         multiarch implementations.
9273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9274         (__libc_ifunc_impl_list): Likewise.
9275         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9276         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9277         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9278         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9279         multiarch wcscpy for PPC64.
9280
9281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9282         multiarch implementations.
9283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9284         (__libc_ifunc_impl_list): Likewise.
9285         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9286         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9287         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9288         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9289         multiarch wcsrchr for PPC64.
9290
9291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9292         multiarch implementations.
9293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9294         (__libc_ifunc_impl_list): Likewise.
9295         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9296         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9297         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9298         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9299         multiarch wcschr for PPC64.
9300
9301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9302         multiarch implementations.
9303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9304         (__libc_ifunc_impl_list): Likewise.
9305         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9306         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9307         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9308         multiarch strchrnul for PPC64.
9309
9310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9311         implementations.
9312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9313         (__libc_ifunc_impl_list): Likewise.
9314         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9315         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9316         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9317         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9318         strchr for PPC64.
9319
9320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9321         implementations.
9322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9323         (__libc_ifunc_impl_list): Likewise.
9324         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9325         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9326         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9327         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9328         strncmp for PPC64.
9329
9330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9331         multiarch implementations.
9332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9333         (__libc_ifunc_impl_list): Likewise.
9334         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9335         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9336         strncasecmp for PPC64.
9337         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9338         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9339         multiarch strncasecmp_l for PPC64.
9340
9341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9342         multiarch implementations.
9343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9344         (__libc_ifunc_impl_list): Likewise.
9345         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9346         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9347         multiarch strcasecmp for PPC64.
9348         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9349         file.
9350         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9351         multiarch strcasecmp_l for PPC64.
9352
9353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9354         implementations.
9355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9356         (__libc_ifunc_impl_list): Likewise.
9357         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9358         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9359         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9360         strnlen for PPC64.
9361
9362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9363         implementations.
9364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9365         (__libc_ifunc_impl_list): Likewise.
9366         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9367         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9368         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9369         strlen for PPC64.
9370
9371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9372         implementations.
9373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9374         (__libc_ifunc_impl_list): Likewise.
9375         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9376         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9377         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9378         rawmemrchr for PPC64.
9379
9380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9381         implementation.
9382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9383         (__libc_ifunc_impl_list): Likewise.
9384         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9385         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9386         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9387         memrchr for PPC64.
9388
9389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9390         implementation.
9391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9392         (__libc_ifunc_impl_list): Likewise.
9393         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9394         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9395         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9396         memchr for PPC64.
9397
9398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9399         implementation.
9400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9401         (__libc_ifunc_impl_list): Likewise.
9402         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9403         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9404         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9405         mempcpy for PPC64.
9406
9407         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9408         avoid cretion of __bzero symbol.
9409         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9410         Likewise.
9411         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9412         Likewise.
9413         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9414         Likewise.
9415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9416         multiarch implementations.
9417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9418         (__libc_ifunc_impl_list): Likewise.
9419         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9420         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9421         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9422         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9423         bzero for PPC32.
9424         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9425         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9426         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9427         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9428         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9429         memset for PPC64.
9430         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9431
9432         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9434         implementations.
9435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9436         (__libc_ifunc_impl_list): Likewise.
9437         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9438         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9439         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9440         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9441         memcmp for PPC64.
9442
9443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9444         multiarch for POWER/PPC64.
9445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9446         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9448         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9449         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9450         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9451         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9452         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9453         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9454         memcpy for PPC64.
9455
9456         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9457         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9458         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9459         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9460         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9461         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9462         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9463         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9464         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9465         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9466         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9467         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9468         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9469         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9470         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9478
9479 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9480
9481         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9482
9483 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9484
9485         * benchtests/Makefile (bench): Add exp2 and log2.
9486         (LDLIBS-bench-exp2): Add -lm.
9487         (LDLIBS-bench-log2): Likewise.
9488         * benchtests/exp2-inputs: New inputs file.
9489         * benchtests/log2-inputs: New inputs file.
9490         * benchtests/log-inputs: Add new inputs.
9491         * benchtests/tan-inputs: Likewise.
9492
9493 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9494
9495         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9496         definition...
9497         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9498         (csloww2): ... from here.
9499
9500         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9501         instead of structures.
9502         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9503         (POLYNOMIAL): Likewise.
9504         (TAYLOR_SLOW): Likewise.
9505         (__sin): Likewise.
9506         (__cos): Likewise.
9507         (slow1): Likewise.
9508         (slow2): Likewise.
9509         (sloww): Likewise.
9510         (sloww1); Likewise.
9511         (sloww2): Likewise.
9512         (bsloww1): Likewise.
9513         (bsloww2): Likewise.
9514         (cslow2): Likewise.
9515         (csloww): Likewise.
9516         (csloww1): Likewise.
9517         (csloww2): Likewise.
9518
9519 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9520
9521         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9522         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9523         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9524         * malloc/hooks.c (realloc_check): Likewise.
9525
9526         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9527         * malloc/arena.c: Remove PER_THREAD conditional.
9528         [!PER_THREAD]: Remove code.
9529         (ptmalloc_unlock_all2): Likewise.
9530         (ptmalloc_init): Likewise.
9531         (_int_new_arena): Likewise.
9532         (arena_get2): Likewise.
9533         * malloc/hooks.c (__malloc_get_state): Likewise.
9534         (__malloc_set_state): Likewise.
9535         * malloc/malloc.c: Likewise.
9536         (struct malloc_state): Likewise.
9537         (struct malloc_par): Likewise.
9538         (__libc_realloc): Likewise.
9539         (__libc_mallopt): Likewise.
9540
9541 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9542
9543         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9544
9545 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9546
9547         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9548         macro to a function.  Check for zero perturb_byte.
9549         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9550
9551         * malloc/malloc.c: (force_reg): Remove.
9552         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9553         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9554         force_reg by atomic_forced_read.
9555         * malloc/arena.c (ptmalloc_init): Likewise.
9556         * malloc/hooks.c (top_check): Likewise.
9557
9558 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9559
9560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9561
9562 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9563
9564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9565
9566 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9567
9568         * math/auto-libm-test-in: Add tests of lgamma.
9569         * math/auto-libm-test-out: Regenerated.
9570         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9571         (M_LOG_2_SQRT_PIl): Likewise.
9572         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9573         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9574         mpfr_f_f1.
9575         (func_calc_desc): Add mpfr_f_f1 union field.
9576         (ARGS1): New macro.
9577         (ARGS2): Likewise.
9578         (ARGS3): Likewise.
9579         (ARGS4): Likewise.
9580         (RET1): Likewise.
9581         (RET2): Likewise.
9582         (CALC): Likewise.
9583         (FUNC): Likewise.
9584         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9585         (test_functions): Add lgamma.
9586         (calc_generic_results): Handle mpfr_f_f1.
9587         * sysdeps/i386/fpu/libm-test-ulps: Update.
9588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9589
9590 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9591
9592         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9593         __mpn_add_n for PowerPC64/POWER7.
9594         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9595         __mpn_sub_n for PowerPC64/POWER7.
9596
9597         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9598         __mpn_addmul_1 for PowerPC64.
9599         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9600         __mpn_submul_1 for PowerPC64.
9601         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9602         for PowerPC64.
9603         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9604         for PowerPC64.
9605
9606 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9607
9608         [BZ #15089]
9609         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9610
9611 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9612
9613         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9614
9615         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9616         add multiarch folders.
9617         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9618         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9619         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9620         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9621         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9622         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9623         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9624         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9625         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9626         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9627         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9634
9635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9636         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9638         New file.
9639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9640         New file.
9641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9642         multiarch __ieee754_hypot for PowerPC32.
9643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9644         New file.
9645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9646         New file.
9647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9648         multiarch __ieee754_hypotf for PowerPC32.
9649
9650         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9651         long_double_symbol only if __logbl is defined.
9652         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9653         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9654         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9655         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9656         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9657         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9658         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9659         path for implementation.
9660         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9661         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9663         logb, and logbl multiarch implementations for PowerPC32.
9664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9665         file.
9666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9667         file.
9668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9669         multiarch logb for PowerPC32.
9670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9671         file.
9672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9673         file.
9674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9675         multiarch logbf for PowerPC32.
9676         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9678         file.
9679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9680         multiarch logbl implementation for PowerPC32.
9681
9682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9683         and modff multiarch implementations.
9684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9685         New file.
9686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9687         New file.
9688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9689         multiarch modf for PowerPC32.
9690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9691         New file.
9692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9693         New file.
9694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9695         multiarch modff for PowerPC32.
9696
9697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9698         and lrintf multiarch implementations.
9699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9700         New file.
9701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9702         New file.
9703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9704         multiarch lrint for PowerPC32.
9705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9706         file: multiarch lrintf for PowerPC32.
9707
9708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9709         and lroundf multiarch implementations.
9710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9711         New file.
9712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9713         New file.
9714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9715         New file.
9716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9717         multiarch lround for PowerPC32.
9718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9719         file: multiarch lroundf for PowerPC32.
9720
9721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9722         copysign and copysignf multiarch implementations.
9723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9724         New file.
9725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9726         New file.
9727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9728         file: multiarch copysign for PowerPC32.
9729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9730         file: multiarch copysignf for PowerPC32.
9731
9732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9733         and truncf multiarch implementations.
9734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9735         New file.
9736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9737         file.
9738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9739         multiarch trunc for PowerPC32.
9740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9741         New file.
9742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9743         New file.
9744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9745         multiarch truncf for PowerPC32.
9746
9747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9748         and roundf multiarch implementations.
9749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9750         New file.
9751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9752         file.
9753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9754         multiarch round for PowerPC32.
9755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9756         New file.
9757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9758         New file.
9759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9760         multiarch roundf for PowerPC32.
9761
9762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9763         and floorf multiarch implementations.
9764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9765         New file.
9766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9767         file.
9768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9769         multiarch floor for PowerPC32.
9770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9771         New file.
9772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9773         New file.
9774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9775         multiarch floorf for PowerPC32.
9776
9777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9778         and ceilf multiarch implementations.
9779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9780         New file.
9781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9782         file.
9783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9784         multiarch ceil for PowerPC32.
9785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9786         New file.
9787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9788         file.
9789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9790         multiarch ceilf for PowerPC32.
9791
9792         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9793         is defined.
9794         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9795         FINITEF is defined.
9796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9797         and finitef multiarch implementations.
9798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9799         New file.
9800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9801         file.
9802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9803         multiarch finite for PowerPC32.
9804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9805         New file.
9806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9807         file: multiarch finitef for PowerPC32.
9808
9809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9810         and isinff multiarch implementations.
9811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9812         file.
9813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9814         file.
9815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9816         multiarch isinf for PowerPC32.
9817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9818         New file.
9819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9820         multiarch isinff for PowerPC32.
9821
9822         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9823         alias when __isnan is defined.
9824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9825         and isnanf multiarch implementations.
9826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9827         file.
9828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9829         file.
9830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9831         file.
9832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9833         file.
9834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9835         multiarch isnan for PowerPC32.
9836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9837         New file.
9838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9839         New file.
9840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9841         multiarch isnanf for PowerPC32.
9842
9843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9844         and sqrtf multiarch implementations.
9845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9846         file.
9847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9848         file.
9849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9850         multiarch sqrt for PowerPC32.
9851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9852         file.
9853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9854         file.
9855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9856         multiarch sqrtf for PowerPC32.
9857
9858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9859         and llroundf multiarch implementations.
9860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9861         New file.
9862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9863         New file.
9864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9865         New file.
9866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9867         file: multiarch llround for PowerPC32.
9868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9869         file: multiarch llroundf for PowerPC32.
9870
9871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9872         multiarch PowerPC32 fpu implementations.
9873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9874         New file.
9875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9876         New file.
9877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9878         multiarch llrint for PowerPC32.
9879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9880         New file.
9881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9882         New file.
9883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9884         file.
9885
9886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9887
9888         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9889         file.
9890         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9891         file.
9892         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9893         file.
9894         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9895         multiarch wordcopy for PPC32.
9896         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9897         wordcopy objects.
9898         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9899         (__libc_ifunc_impl_list): Likewise.
9900         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9901         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9902         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9903         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9904         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9905         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9906
9907         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9909         file.
9910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9911         file.
9912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9913         file.
9914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9915         multiarch wcscpy for PPC32.
9916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9917         multiarch objects.
9918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9919         (__libc_ifunc_impl_list): Likewise.
9920         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9921         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9922         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9923         sysdeps/powerpc/power6/wcscpy.c.
9924
9925         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9927         file.
9928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9929         file.
9930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9931         file.
9932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9933         multiarch wcsrchr for PPC32.
9934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9935         multiarch objects.
9936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9937         (__libc_ifunc_impl_list): Likewise.
9938         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9939         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9940         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9941         sysdeps/powerpc/power6/wcsrchr.c.
9942
9943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9944         file.
9945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9946         file.
9947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9949         multiarch wcschr for PPc32.
9950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9951         multiarch objects.
9952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9953         (__libc_ifunc_impl_list): Likewise.
9954         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9955         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9956         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9957         sysdeps/powerpc/power6/wcschr.c.
9958
9959         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9960         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9961         file.
9962         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9963         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9964         file: multiarch strchr for PPC32.
9965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9966         multiarch objects.
9967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9968         (__libc_ifunc_impl_list): Likewise.
9969
9970         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9971         name.
9972         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9973         file.
9974         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9975         file.
9976         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9977         multiarch strchrnul for PPC32.
9978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9979         multiarch objects.
9980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9981         (__libc_ifunc_impl_list): Likewise.
9982
9983         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9984         file.
9985         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9986         multiarch strncasecmp for PPC32.
9987         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9988         file.
9989         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9990         multiarch strncasecmp_l for PPC32.
9991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9992         strncasecmp multiarch objects.
9993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9994         (__libc_ifunc_impl_list): Likewise.
9995
9996         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9997         file.
9998         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9999         multiarch strncasecmp for PPC32.
10000         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10001         New file.
10002         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10003         multiarch strcasecmp_l for PPC32.
10004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10005         multiarch objects.
10006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10007         (__libc_ifunc_impl_list): Likewise.
10008
10009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10010         file.
10011         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10012         file.
10013         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10014         multiarch strncmp for PPC32.
10015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10016         multiarch objects.
10017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10018         (__libc_ifunc_impl_list): Likewise.
10019
10020         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10021         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10022         file.
10023         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10024         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10026         multiarch objects.
10027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10028         (__libc_ifunc_impl_list): Likewise.
10029
10030         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10031         file.
10032         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10033         file.
10034         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10036         multiarch objects.
10037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10038         (__libc_ifunc_impl_list): Likewise.
10039
10040         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10041         file.
10042         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10043         file.
10044         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10045         multiarch rawmemchr for PPC32.
10046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10047         multiarch objects.
10048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10049         (__libc_ifunc_impl_list): Likewise.
10050
10051         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10052         file.
10053         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10054         file.
10055         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10056         file: memrchr multiarch for PPC32.
10057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10058         multiarch objects.
10059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10060         (__libc_ifunc_impl_list): Likewise.
10061
10062         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10063         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10064         file.
10065         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10066         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10067         multiarch memchr for PPC32.
10068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10069         multiarch objects.
10070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10071         (__libc_ifunc_impl_list): Likewise.
10072
10073         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10074         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10075         file.
10076         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10077         file.
10078         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10079         file: multiarch mempcpy for PPC32.
10080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10081         multiarch objects.
10082         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10083         (__libc_ifunc_impl_list): Likewise.
10084
10085         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10086         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10087         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10088         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10089         multiarch bzero for PPC32.
10090         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10091         file.
10092         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10093         file.
10094         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10095         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10096         file: multiarch memset for PPC32.
10097         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10099         memset multiarch objects.
10100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10101         (__libc_ifunc_impl_list): Likewise.
10102
10103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10104         file.
10105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10106         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10107         memcmp for PPC32.
10108         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10110         multiarch objects.
10111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10112         (__libc_ifunc_impl_list): Likewise.
10113
10114         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10115         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10116         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10117         file.
10118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10119         file.
10120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10121         file.
10122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10123         multiarch memcpy for PPC32.
10124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10125         multiarch objects.
10126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10127         (__libc_ifunc_impl_list): Likewise.
10128
10129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10130         support multiarch for POWER/PPC32.
10131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10132         Likewise.
10133         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10135         Implies file to make multiarch folder appers before the fpu and
10136         default folder for power4 configuration.
10137
10138 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10139
10140         * scripts/bench.pl: Append volatile keyword to type.
10141
10142 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10143
10144         * sysdeps/sh/sotruss-lib.c: New file.
10145         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10146
10147 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10148
10149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10150
10151 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10152
10153         [BZ #6810]
10154         * math/w_tgamma.c: Include <errno.h>.
10155         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10156         * math/w_tgammaf.c: Include <errno.h>.
10157         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10158         * math/w_tgammal.c: Include <errno.h>.
10159         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10160         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10161         underflow.  Add more tgamma tests.
10162         * math/auto-libm-test-out: Regenerated.
10163         * sysdeps/i386/fpu/libm-test-ulps: Update.
10164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10165
10166         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10167         sin, sinh, tan, tanh, tgamma, y0 and y1.
10168         * math/auto-libm-test-out: Regenerated.
10169         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10170         (TEST_COND_x86): Likewise.
10171         (M_E2l): Remove macro.
10172         (M_E3l): Likewise.
10173         (M_2_SQRT_PIl): Likewise.
10174         (M_SQRT_PIl): Likewise.
10175         (M_1_DIV_El): Likewise.
10176         (log_test_data): Use AUTO_TESTS_f_f.
10177         (log10_test_data): Likewise.
10178         (log1p_test_data): Likewise.
10179         (log2_test_data): Likewise.
10180         (sin_test_data): Likewise.
10181         (sin_tonearest_test_data): Likewise.
10182         (sin_towardzero_test_data): Likewise.
10183         (sin_downward_test_data): Likewise.
10184         (sin_upward_test_data): Likewise.
10185         (sinh_test_data): Likewise.
10186         (sinh_tonearest_test_data): Likewise.
10187         (sinh_towardzero_test_data): Likewise.
10188         (sinh_downward_test_data): Likewise.
10189         (sinh_upward_test_data): Likewise.
10190         (tan_test_data): Likewise.
10191         (tan_tonearest_test_data): Likewise.
10192         (tan_towardzero_test_data): Likewise.
10193         (tan_downward_test_data): Likewise.
10194         (tan_upward_test_data): Likewise.
10195         (tanh_test_data): Likewise.
10196         (tgamma_test_data): Likewise.
10197         (y0_test_data): Likewise.
10198         (y1_test_data): Likewise.
10199         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10200         (special_real_inputs): Add pi/4.
10201         * sysdeps/i386/fpu/libm-test-ulps: Update.
10202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10203
10204 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10205
10206         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10207         "longjmp_target" static probes.
10208         (__longjmp): Rename to __longjmp_symbol.
10209         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10210         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10211         on which longjmp to generate.
10212         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10213         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10214         probe.
10215         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10216         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10217         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10218         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10219         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10220         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10222         __longjmp_symbol based on which __longjmp to generate.
10223         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10224         probe.
10225         (setjmp): Rename to setjmp_symbol.
10226         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10227         (_setjmp): Rename to _setjmp_symbol.
10228         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10229         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10230         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10231         which setjmp to generate.
10232         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10233         "longjmp_target" static probes.
10234
10235 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10236
10237         * benchtests/README: Add note about output arguments.
10238         * benchtests/bench-sincos.c: Remove file.
10239         * benchtests/sincos-inputs: New file.
10240         * scripts/bench.pl: Identify output arguments and define
10241         static variables for them.
10242
10243         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10244
10245         [BZ #15941]
10246         * Makefile (INSTALL): Add install-plain.texi as the primary
10247         dependency.
10248         * manual/install-plain.texi: New file.
10249         * manual/install.texi: Include node directive only for
10250         non-plaintext output.
10251
10252 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10253
10254         * stdlib/longlong.h: Update from GCC.
10255
10256         [BZ #6807]
10257         [BZ #15901]
10258         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10259         * math/w_j0f.c (y0f): Likewise.
10260         * math/w_j0l.c (__y0l): Likewise.
10261         * math/w_j1.c (y1): Likewise.
10262         * math/w_j1f.c (y1f): Likewise.
10263         * math/w_j1l.c (__y1l): Likewise
10264         * math/w_jn.c (yn): Likewise.
10265         * math/w_jnf.c (ynf): Likewise.
10266         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10267         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10268         value for Bessel function domain errors outside _SVID_ mode.
10269         Adjust sign of return value for yn (negative integer, 0).
10270         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10271         by zero in return for negative x and set sign appropriately for
10272         negative n.
10273         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10274         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10275         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10276         expectations in error cases.
10277         (y1_test_data): Likewise.
10278         (yn_test_data): Likewise.
10279         * sysdeps/i386/fpu/libm-test-ulps: Update.
10280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10281
10282 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10283
10284         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10285         "64" to "64-v1".  Add "64-v2".
10286         (abi-64-options): Rename to ...
10287         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10288         (abi-64-condition): Rename to ...
10289         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10290         (abi-64-ld-soname): Rename to ...
10291         (abi-64-v1-ld-soname): ... this.
10292         (abi-64-v2-options): Define.
10293         (abi-64-v2-condition): Likewise.
10294         (abi-64-v2-ld-soname): Likewise.
10295         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10296         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10300
10301 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10302             Alan Modra  <amodra@gmail.com>
10303
10304         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10305         New versions for use with the ELFv2 ABI.
10306         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10307         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10308         declaration.
10309         (struct La_ppc64v2_retval): Likewise.
10310         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10311         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10312         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10313         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10314         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10315         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10316         Do not save or restore CR.
10317         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10318         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10319         return values for ELFv2 ABI.  Fix location of FPR return registers.
10320         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10321         updated values for _CALL_ELF == 2.
10322         (La_regs, La_retval, int_retval): Likewise.
10323
10324 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10325
10326         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10327         (FRAME_MIN_SIZE_PARM): Likewise.
10328         (FRAME_BACKCHAIN): Likewise.
10329         (FRAME_CR_SAVE): Likewise.
10330         (FRAME_LR_SAVE): Likewise.
10331         (FRAME_TOC_SAVE): Likewise.
10332         (FRAME_PARM_SAVE): Likewise.
10333         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10334         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10335         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10336         (call_mcount_parm_offset): New macro.
10337         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10338         (PROF): Use symbolic stack frame offsets.
10339         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10340         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10341         Redefine in terms of FRAME_MIN_SIZE.
10342         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10343         (_dl_profile_resolve): Likewise.  Update comment.
10344         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10345         symbols stack frame offsets.
10346         (__sigsetjmp): Likewise.
10347         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10348         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10349         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10350         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10351
10352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10353         (FRAME_BACKCHAIN): Remove.
10354         (FRAME_CR_SAVE): Likewise.
10355         (FRAME_LR_SAVE): Likewise.
10356         (FRAME_COMPILER_DW): Likewise.
10357         (FRAME_LINKER_DW): Likewise.
10358         (FRAME_TOC_SAVE): Likewise.
10359         (FRAME_PARM_SAVE): Likewise.
10360         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10361         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10362         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10364         (CHECK_SP): Use symbolic stack frame offsets.
10365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10366         zone" instead of caller's parameter save area for temp storage.
10367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10368         Likewise.  Also, use symbolic stack frame offsets.
10369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10370         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10371         our own stack frame instead of the caller's.
10372         (__socket): Use symbolic stack frame offsets.
10373
10374 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10375             Alan Modra  <amodra@gmail.com>
10376
10377         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10378         Define.
10379         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10380         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10381         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10382         New function.
10383         (elf_machine_fixup_plt): Call it.
10384         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10385         reloc arguments.
10386         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10387         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10388         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10389         r2 before calling target.
10390
10391 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10392             Alan Modra  <amodra@gmail.com>
10393
10394         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10395         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10396         versions of macros to support ELFv2 ABI.
10397         (LOCALENTRY): New macro.
10398         (ENTRY, EALIGN): Use it.
10399         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10400         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10401         fall through into ENTRY entry point.
10402         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10403         Only define if _CALL_ELF != 2.
10404
10405         (elf_machine_matches_host): Verify ABI version matches.
10406         (RTLD_START): Use LOCALENTRY.
10407         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10408         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10409         (PLT_ENTRY_WORDS): New macro.
10410         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10411         (elf_machine_runtime_setup): Support ELFv2 ABI.
10412         (elf_machine_fixup_plt): Likewise.
10413         (elf_machine_plt_conflict): Likewise.
10414         (resolve_ifunc): Likewise.
10415         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10416         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10417         Likewise.
10418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10419         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10421         (makecontext): Support ELFv2 ABI.
10422         * elf/elf.h (EF_PPC64_ABI): Define.
10423
10424 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10425
10426         * sysdeps/powerpc/powerpc64/sysdep.h
10427         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10428         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10429         (ENTRY) [ASSEMBLER]: ... but instead here ...
10430         (EALIGN) [ASSEMBLER]: ... and here.
10431         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10432         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10433         (ENTRY_2) [!ASSEMBLER]: Use it.
10434         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10435         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10436         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10437         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10438         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10440         Use PPC64_LOAD_FUNCPTR.
10441
10442         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10443
10444 2013-12-04  Alan Modra  <amodra@gmail.com>
10445
10446         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10447         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10448         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10449         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10450
10451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10452         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10453         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10454         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10455         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10456         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10457
10458 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10459
10460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10461         (__makecontext): Fix incorrect CFI when backtracing out of
10462         context created via makecontext.
10463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10464         (__setcontext): Fix incorrect CFI during switch to new context.
10465         (__novec_setcontext): Likewise.
10466
10467 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10468
10469         [BZ #4772]
10470         * time/strptime_l.c (__strptime_internal): Allow modifiers
10471         in strptime.
10472         * time/tst-strptime.c (day_tests): Add testcase.
10473
10474 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10475
10476         * scripts/bench.pl: Skip over blank lines.
10477
10478 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10479
10480         [BZ #926]
10481         * manual/time.texi (Calendar Time): Clarify what timezone functions
10482         use.
10483
10484 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10485
10486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10487
10488 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10489
10490         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10491         implementation.
10492         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10493         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10494         * debug/memset_chk.c (__memset_chk): Likewise.
10495         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10496         * debug/strncpy_chk.c: Likewise.
10497
10498 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10499
10500         [BZ #15268]
10501         [BZ #15425]
10502         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10503         (__ieee754_exp): For possibly underflowing results, check size of
10504         result and force underflow exception if required.
10505         * math/auto-libm-test-in: Add more tests of exp.
10506         * math/auto-libm-test-out: Regenerated.
10507         * sysdeps/i386/fpu/libm-test-ulps: Update.
10508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10509
10510         [BZ #16283]
10511         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10512         * math/w_exp2f.c (__exp2f): Likewise.
10513         * math/w_exp2l.c (__exp2l): Likewise.
10514         * math/auto-libm-test-in: Do not allow missing errno on exp2
10515         underflow.
10516         * math/auto-libm-test-out: Regenerated.
10517
10518 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10519
10520         [BZ #16274]
10521         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10522         handle filename validation.
10523         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10524         (do_open): Delete.
10525
10526 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10527
10528         [BZ #6786]
10529         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10530         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10531         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10532         <float.h>.
10533         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10534         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10535         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10536         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10537         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10538         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10539         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10540         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10541         Add more erfc tests.
10542         * math/auto-libm-test-out: Regenerated.
10543         * sysdeps/i386/fpu/libm-test-ulps: Update.
10544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10545
10546         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10547         exp2, expm1, j0 and j1.
10548         * math/auto-libm-test-out: Regenerated.
10549         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10550         (erfc_test_data): Likewise.
10551         (exp_test_data): Likewise.
10552         (exp_tonearest_test_data): Likewise.
10553         (exp_towardzero_test_data): Likewise.
10554         (exp_downward_test_data): Likewise.
10555         (exp_upward_test_data): Likewise.
10556         (exp10_test_data): Likewise.
10557         (exp2_test_data): Likewise.
10558         (expm1_test_data): Likewise.
10559         (j0_test_data): Likewise.
10560         (j1_test_data): Likewise.
10561         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10562         (input_flag_type): Add flag_xfail_rounding.
10563         (input_flags): Add xfail-rounding.
10564         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10565         (output_for_one_input_case): Handle flag_xfail_rounding.
10566         * sysdeps/i386/fpu/libm-test-ulps: Update.
10567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10568
10569 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10570
10571         [BZ #16289]
10572         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10573         division by 0.
10574
10575 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10576
10577         [BZ #16195]
10578         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10579         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10580         (STAP_PROBE0): New macro.
10581         (STAP_PROBE1): Likewise.
10582         (STAP_PROBE2): Likewise.
10583         (STAP_PROBE3): Likewise.
10584         (STAP_PROBE4): Likewise.
10585
10586 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10587
10588         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10589
10590 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10591
10592         * benchtests/Makefile (bench): Add sqrt.
10593         (LDLIBS-bench-sqrt): New.
10594         * benchtests/sqrt-input: New.
10595
10596 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10597
10598         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10599         (GAIH_EAI): Likewise.
10600         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10601         (gaih_inet): Likewise.
10602         (getaddrinfo): Don't use GAIH_EAI.
10603
10604         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10605         (struct gaih): Remove definition.
10606
10607 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10608
10609         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10610         Use HERRNOP directly.
10611
10612 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10613
10614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10615
10616 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10617
10618         * math/gen-auto-libm-tests.c (test_functions): Add more
10619         single-argument functions.
10620         (special_fill_pi_2): New function.
10621         (special_fill_minus_pi_2): Likewise.
10622         (special_fill_pi_6): Likewise.
10623         (special_fill_minus_pi_6): Likewise.
10624         (special_fill_pi_3): Likewise.
10625         (special_fill_2pi_3): Likewise.
10626         (special_fill_e): Likewise.
10627         (special_fill_1_e): Likewise.
10628         (special_fill_e_minus_1): Likewise.
10629         (special_real_inputs): Add more special inputs.
10630         (output_for_one_input_case): Do not require ERANGE on underflow to
10631         zero if round-to-nearest result does not underflow to zero, unless
10632         exact results required.
10633         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10634         atan, atanh, cbrt, cos and cosh.
10635         * math/auto-libm-test-out: Regenerated.
10636         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10637         (acos_tonearest_test_data): Likewise.
10638         (acos_towardzero_test_data): Likewise.
10639         (acos_downward_test_data): Likewise.
10640         (acos_upward_test_data): Likewise.
10641         (acosh_test_data): Likewise.
10642         (asin_test_data): Likewise.
10643         (asin_tonearest_test_data): Likewise.
10644         (asin_towardzero_test_data): Likewise.
10645         (asin_upward_test_data): Likewise.
10646         (asinh_test_data): Likewise.
10647         (atan_test_data): Likewise.
10648         (atanh_test_data): Likewise.
10649         (cbrt_test_data): Likewise.
10650         (cos_test_data): Likewise.
10651         (cos_tonearest_test_data): Likewise.
10652         (cos_towardzero_test_data): Likewise.
10653         (cos_downward_test_data): Likewise.
10654         (cos_upward_test_data): Likewise.
10655         (cosh_test_data): Likewise.
10656         (cosh_tonearest_test_data): Likewise.
10657         (cosh_towardzero_test_data): Likewise.
10658         (cosh_downward_test_data): Likewise.
10659         (cosh_upward_test_data): Likewise.
10660         * sysdeps/i386/fpu/libm-test-ulps: Update.
10661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10662
10663 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10664
10665         [BZ #6787]
10666         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10667         * math/w_exp10f.c (__exp10f): Likewise.
10668         * math/w_exp10l.c (__exp10l): Likewise.
10669         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10670         errno settings in existing tests.
10671
10672         [BZ #14032]
10673         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10674         precision control set to double precision.
10675         * sysdeps/i386/fpu/w_sqrt.c: New file.
10676         * math/auto-libm-test-in: Add more tests.
10677         * math/auto-libm-test-out: Update.
10678
10679         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10680         (sqrt_test_tonearest): New function.
10681         (sqrt_towardzero_test_data): New variable.
10682         (sqrt_test_towardzero): New function.
10683         (sqrt_downward_test_data): New variable.
10684         (sqrt_test_downward): New function.
10685         (sqrt_upward_test_data): New variable.
10686         (sqrt_test_upward): New function.
10687         (main): Call the new functions.
10688
10689         * math/gen-auto-libm-tests.c: New file.
10690         * math/auto-libm-test-in: Likewise.
10691         * math/auto-libm-test-out: New generated file.
10692         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10693         variables.
10694         (%beautify): Add generated representations of zero.
10695         (top level): Set $auto_input and call parse_auto_input.
10696         (beautify): Remove trailing "f" from hex float constants.
10697         (parse_args): Handle XFAIL_TEST.
10698         (convert_condition): New function.
10699         (or_value): Likewise.
10700         (or_cond_value): Likewise.
10701         (generate_testfile): Handle AUTO_TESTS_* lines.
10702         (parse_auto_input): New function.
10703         * math/libm-test.inc (XFAIL_TEST): New macro.
10704         (ERRNO_UNCHANGED): Update value.
10705         (ERRNO_EDOM): Likewise.
10706         (ERRNO_ERANGE): Likewise.
10707         (IGNORE_RESULT): Likewise.
10708         (TEST_COND_flt_32): New macro.
10709         (TEST_COND_dbl_64): Likewise.
10710         (TEST_COND_ldbl_96_intel): Likewise.
10711         (TEST_COND_ldbl_96_m68k): Likewise.
10712         (TEST_COND_ldbl_128): Likewise.
10713         (TEST_COND_ldbl_128ibm): Likewise.
10714         (TEST_COND_long32): Likewise.
10715         (TEST_COND_long64): Likewise.
10716         (TEST_COND_before_rounding): Likewise.
10717         (TEST_COND_after_rounding): Likewise.
10718         (enable_test): Handle XFAIL_TEST flag.
10719         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10720         with finite results.
10721         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10722         auto-libm-test-out.
10723
10724 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10725             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10726
10727         [BZ #16214]
10728         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10729         __tls_get_addr_internal instead of __tls_get_offset in order to
10730         avoid GOT pointer dependency.  Make rtld export
10731         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10732         __tls_get_addr since we are a __tls_get_offset platform.
10733         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10734         GOT pointer being set up before.
10735         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10736
10737 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10738
10739         * manual/math.texi (Errors in Math Functions): Document accuracy
10740         goals.
10741
10742         [BZ #15004]
10743         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10744         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10745         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10746         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10747         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10748         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10749         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10750         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10751         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10752         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10753         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10754         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10755         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10756         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10757         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10758         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10759
10760         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10761         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10762         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10763         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10764         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10765         Likewise.
10766         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10767         Likewise.
10768         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10769         Likewise.
10770         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10771         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10772         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10773         atomic-feupdateenv and flt-rounds.
10774         * sysdeps/powerpc/nofpu/Versions (libc): Add
10775         __atomic_feholdexcept, __atomic_feclearexcept,
10776         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10777         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10778         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10779         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10780         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10781         here.
10782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10783         Update.
10784
10785         * manual/arith.texi (FP Exceptions): Document that exceptions may
10786         not be raised when matherr is used.
10787         (Math Error Reporting): Document overflow in directed rounding
10788         modes.  Document that errno may not be set when finite values are
10789         returned on overflow.  Document intent to set errno on underflow
10790         only for underflow to zero.
10791
10792         [BZ #16271]
10793         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10794         round-to-nearest then adjust result for other rounding modes.
10795         * include/fenv.h (fegetround): Use libm_hidden_proto.
10796         * math/fegetround.c (fegetround): Use libm_hidden_def.
10797         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10798         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10799         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10800         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10801         Likewise.
10802         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10803         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10804         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10805         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10806
10807 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10808
10809         [BZ #16077]
10810         * nss/Versions (libnss_files): Add
10811         _nss_files_gethostbyname3_r.
10812         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10813         New function.
10814         (HOST_DB_LOOKUP): Remove macro.
10815         (_nss_files_gethostbyname_r): Implement function without the
10816         HOST_DB_LOOKUP macro.
10817         (_nss_files_gethostbyname2_r): Likewise.
10818
10819 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10820
10821         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10822
10823 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10824
10825         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10826         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10827         warning.
10828
10829 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10830
10831         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10832         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10833         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10834         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10835         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10836         __fe_nomask_env_priv and attribute_hidden.
10837         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10838         (libc_feupdateenv_test_ppc): Likewise.
10839         (libc_feresetround_ppc): Likewise.
10840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10841         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10842         compat_symbol macro.
10843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10844         (__fe_nomask_env): Likewise.
10845         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10846
10847 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10848
10849         * string/Makefile: Remove ifunc tests.
10850         * string/test-string.h: Define TEST_IFUNC.
10851         * string/test-bcopy-ifunc.c: Remove.
10852         * string/test-bzero-ifunc.c: Likewise.
10853         * string/test-memccpy-ifunc.c: Likewise.
10854         * string/test-memchr-ifunc.c: Likewise.
10855         * string/test-memcmp-ifunc.c: Likewise.
10856         * string/test-memcpy-ifunc.c: Likewise.
10857         * string/test-memmem-ifunc.c: Likewise.
10858         * string/test-memmove-ifunc.c: Likewise.
10859         * string/test-mempcpy-ifunc.c: Likewise.
10860         * string/test-memrchr-ifunc.c: Likewise.
10861         * string/test-memset-ifunc.c: Likewise.
10862         * string/test-rawmemchr-ifunc.c: Likewise.
10863         * string/test-stpcpy-ifunc.c: Likewise.
10864         * string/test-stpncpy-ifunc.c: Likewise.
10865         * string/test-strcasecmp-ifunc.c: Likewise.
10866         * string/test-strcasestr-ifunc.c: Likewise.
10867         * string/test-strcat-ifunc.c: Likewise.
10868         * string/test-strchr-ifunc.c: Likewise.
10869         * string/test-strchrnul-ifunc.c: Likewise.
10870         * string/test-strcmp-ifunc.c: Likewise.
10871         * string/test-strcpy-ifunc.c: Likewise.
10872         * string/test-strcspn-ifunc.c: Likewise.
10873         * string/test-strlen-ifunc.c: Likewise.
10874         * string/test-strncasecmp-ifunc.c: Likewise.
10875         * string/test-strncat-ifunc.c: Likewise.
10876         * string/test-strncmp-ifunc.c: Likewise.
10877         * string/test-strncpy-ifunc.c: Likewise.
10878         * string/test-strnlen-ifunc.c: Likewise.
10879         * string/test-strpbrk-ifunc.c: Likewise.
10880         * string/test-strrchr-ifunc.c: Likewise.
10881         * string/test-strspn-ifunc.c: Likewise.
10882         * string/test-strstr-ifunc.c: Likewise.
10883
10884 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10885
10886         * benchtests/Makefile: Remove ifunc tests.
10887         * benchtests/bench-string.h: Define TEST_IFUNC.
10888         * benchtests/bench-bcopy-ifunc.c: Remove.
10889         * benchtests/bench-bzero-ifunc.c: Likewise.
10890         * benchtests/bench-memccpy-ifunc.c: Likewise.
10891         * benchtests/bench-memchr-ifunc.c: Likewise.
10892         * benchtests/bench-memcmp-ifunc.c: Likewise.
10893         * benchtests/bench-memcpy-ifunc.c: Likewise.
10894         * benchtests/bench-memmem-ifunc.c: Likewise.
10895         * benchtests/bench-memmove-ifunc.c: Likewise.
10896         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10897         * benchtests/bench-memrchr-ifunc.c: Likewise.
10898         * benchtests/bench-memset-ifunc.c: Likewise.
10899         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10900         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10901         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10902         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10903         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10904         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10905         * benchtests/bench-strcat-ifunc.c: Likewise.
10906         * benchtests/bench-strchr-ifunc.c: Likewise.
10907         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10908         * benchtests/bench-strcmp-ifunc.c: Likewise.
10909         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10910         * benchtests/bench-strcpy-ifunc.c: Likewise.
10911         * benchtests/bench-strcspn-ifunc.c: Likewise.
10912         * benchtests/bench-strlen-ifunc.c: Likewise.
10913         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10914         * benchtests/bench-strncat-ifunc.c: Likewise.
10915         * benchtests/bench-strncmp-ifunc.c: Likewise.
10916         * benchtests/bench-strncpy-ifunc.c: Likewise.
10917         * benchtests/bench-strnlen-ifunc.c: Likewise.
10918         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10919         * benchtests/bench-strrchr-ifunc.c: Likewise.
10920         * benchtests/bench-strsep-ifunc.c: Likewise.
10921         * benchtests/bench-strspn-ifunc.c: Likewise.
10922         * benchtests/bench-strstr-ifunc.c: Likewise.
10923
10924 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10925
10926         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10927
10928 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10929
10930         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10931         * rt/aio.h: Likewise.
10932         * sysdeps/gnu/bits/utmp.h: Likewise.
10933         * sysdeps/gnu/bits/utmpx.h: Likewise.
10934         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10935         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10936         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10937         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10938         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10939         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10940         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10941         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10942         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10943         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10944         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10945         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10946         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10948         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10949         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10950         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10951         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10952         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10953         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10954         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10955         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10956         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10957         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10958         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10960         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10961         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10962         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10963         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10964         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10965         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10966         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10967         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10968         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10969         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10970         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10971         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10972         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10973         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10974         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10975         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10976
10977 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10978
10979         [BZ #16245]
10980         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10981         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10982
10983 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
10984
10985         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10986         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10987         Likewise.
10988
10989 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10990
10991         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10992         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10993         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10994         (__fesetround): Remove define.
10995         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10996         rounding and exceptions handling.
10997         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10998         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10999         (__fe_nomask_env): Likewise.
11000         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11001         __fegetround instead of fegetround.
11002         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11003         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11004
11005 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11006
11007         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11008         it's there.
11009
11010         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11011
11012 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11013
11014         [BZ #11157]
11015         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11016         (encrypt_r): Likewise.
11017         * malloc/obstack.h (obstack_free): Likewise.
11018         * posix/unistd.h (encrypt): Likewise.
11019
11020 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11021
11022         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11023         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11024         DL_CALL_DT_FINI() that call the functions directly.
11025         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11026         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11027         * elf/dl-fini.c: Likewise.
11028
11029 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11030
11031         * malloc/hooks.c (memalign_check): Add alignment rounding.
11032         * malloc/malloc.c (_mid_memalign): New function.
11033         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11034         Implement by calling _mid_memalign.
11035         * manual/probes.texi (Memory Allocation Probes): Remove
11036         memory_valloc_retry and memory_pvalloc_retry.
11037
11038 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11039
11040         * locale/programs/locarchive.c (open_archive): Add const
11041         qualifier to ARCHIVEFNAME and copy default fname to
11042         DEFAULT_FNAME.
11043
11044         [BZ #15601]
11045         * libio/tst-widetext.input: Rename Oriya to Odia.
11046         * locale/iso-639.def: Likewise.
11047
11048         * manual/probes.texi (Mathematical Function Probes): Add
11049         documentation for sin, cos, asin and acos probes.
11050         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11051         (__sin32): Add slowasin probe.
11052         (__cos32): Add slowacos probe.
11053         (__mpsin): Add slowsin probe.
11054         (__mpcos): Add slowcos probe.
11055
11056 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11057
11058         [BZ #15483]
11059         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11060         thread-local __sim_exceptions_thread and global
11061         __sim_exceptions_global.
11062         (__sim_disabled_exceptions): Change to thread-local
11063         __sim_disabled_exceptions_thread and global
11064         __sim_disabled_exceptions_global.
11065         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11066         and global __sim_round_mode_global.
11067         (__simulate_exceptions): Use thread-local floating-point state and
11068         set global state from it as needed.
11069         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11070         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11071         __sim_round_mode_thread.
11072         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11073         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11074         and global __sim_exceptions_global.
11075         (__sim_disabled_exceptions): Change to thread-local
11076         __sim_disabled_exceptions_thread and global
11077         __sim_disabled_exceptions_global.
11078         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11079         and global __sim_round_mode_global.
11080         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11081         (SIM_SET_GLOBAL): Likewise.
11082         * sysdeps/powerpc/soft-fp/sfp-machine.h
11083         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11084         __sim_round_mode_thread.
11085         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11086         __sim_disabled_exceptions_thread.
11087         (__sim_exceptions): Change to __sim_exceptions_thread.
11088         (__sim_disabled_exceptions): Change to
11089         __sim_disabled_exceptions_thread.
11090         (__sim_round_mode): Change to __sim_round_mode_thread.
11091         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11092         thread-local floating-point state and set global state from it as
11093         needed.
11094         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11095         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11096         (__sim_disabled_exceptions): Remove extern declaration.
11097         (feenableexcept): Use thread-local floating-point state and set
11098         global state from it as needed.
11099         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11100         extern declaration.
11101         (__sim_disabled_exceptions): Likewise.
11102         (__sim_round_mode): Likewise.
11103         (__fegetenv): Use thread-local floating-point state.
11104         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11105         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11106         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11107         floating-point state and set global state from it as needed.
11108         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11109         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11110         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11111         Likewise.
11112         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11113         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11114         Likewise.
11115         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11116         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11117         Use __sim_round_mode_thread.
11118         * math/test-fenv-tls.c: New file.
11119         * math/Makefile (tests): Add test-fenv-tls.
11120         ($(objpfx)test-fenv-tls): Depend on
11121         $(common-objpfx)nptl/libpthread.so.
11122
11123 2013-11-19  Andreas Schwab  <schwab@suse.de>
11124
11125         * locale/programs/locale.c (show_info): Decode wordarray elements.
11126         * locale/categories.def (LC_MONETARY): Add element for
11127         _NL_MONETARY_CRNCYSTR.
11128         * locale/C-monetary.c (conversion_rate): New variable.
11129         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11130         element.
11131
11132 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11133
11134         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11135         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11136
11137 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11138
11139         * elf/Makefile (tst-auxv): New test.
11140         * elf/tst-auxv.c: New
11141         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11142
11143 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11144
11145         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11146         (hidden_proto): Caller changed.
11147         (hidden_tls_proto): New macro.
11148         (libc_hidden_tls_proto): Likewise.
11149         (rtld_hidden_tls_proto): Likewise.
11150         (libm_hidden_tls_proto): Likewise.
11151         (libresolv_hidden_tls_proto): Likewise.
11152         (librt_hidden_tls_proto): Likewise.
11153         (libdl_hidden_tls_proto): Likewise.
11154         (libnss_files_hidden_tls_proto): Likewise.
11155         (libnsl_hidden_tls_proto): Likewise.
11156         (libnss_nisplus_hidden_tls_proto): Likewise.
11157         (libutil_hidden_tls_proto): Likewise.
11158
11159 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11160
11161         [BZ #10253]
11162         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11163         (decompose_rpath): Defer expansion to fillin_rpath.
11164         (_dl_init_paths): Pass linkmap to fillin_rpath.
11165
11166 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11167
11168         * benchtests/Makefile: Add strsep.
11169         * benchtests/bench-strsep.c: New file: strsep benchtest.
11170         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11171
11172 2013-11-18  Andreas Schwab  <schwab@suse.de>
11173
11174         * locale/programs/locale.c (show_info) [case byte]: Check for
11175         '\377' instead of '\177'.
11176         * locale/C-monetary.c (not_available): Always use "\377".
11177         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11178         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11179         detect unavailable sign_posn locale elements.
11180         * locale/localeconv.c (__localeconv): For grouping and
11181         mon_grouping handle "\177" and "\377" like no grouping.
11182         (INT_ELEM): New macro.  Use it to set all numeric members.
11183         * locale/programs/ld-monetary.c (monetary_read)
11184         <tok_mon_grouping>: Normalize single -1 to the empty string.
11185         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11186         Likewise.
11187
11188 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11189
11190         [BZ #16055]
11191         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11192         when we match (nil).
11193         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11194
11195 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11196
11197         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11198         (NO_TEST_INLINE): Update value.
11199         (ERRNO_UNCHANGED): Likewise.
11200         (ERRNO_EDOM): Likewise.
11201         (ERRNO_ERANGE): Likewise.
11202         (IGNORE_RESULT): Likewise.
11203         (check_float_internal): Check signs of NaN results if
11204         TEST_NAN_SIGN used.
11205         (check_complex): Pass TEST_NAN_SIGN flag through to second
11206         check_float_internal call.
11207         (copysign_test_data): Add tests with quiet NaNs as second
11208         argument.  Use TEST_NAN_SIGN.
11209         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11210         TEST_NAN_SIGN.
11211         (signbit_test_data): Add tests of quiet NaN argument.
11212         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11213
11214         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11215         $ignore_result.
11216         (parse_args): Handle function results specified as IGNORE.
11217         * math/libm-test.inc (IGNORE_RESULT): New macro.
11218         (check_float_internal): Do not check numerical result if flag
11219         IGNORE_RESULT set.
11220         (check_complex): Pass through IGNORE_RESULT to second
11221         check_float_internal call.
11222         (check_int): Do not check numerical result if flag IGNORE_RESULT
11223         set.
11224         (check_long): Likewise.
11225         (check_bool): Likewise.
11226         (check_longlong): Likewise.
11227         (lrint_test_data): Add tests of infinite and NaN arguments.
11228         (lrint_tonearest_test_data): Likewise.
11229         (lrint_towardzero_test_data): Likewise.
11230         (lrint_downward_test_data): Likewise.
11231         (lrint_upward_test_data): Likewise.
11232         (llrint_test_data): Likewise.
11233         (llrint_tonearest_test_data): Likewise.
11234         (llrint_towardzero_test_data): Likewise.
11235         (llrint_downward_test_data): Likewise.
11236         (llrint_upward_test_data): Likewise.
11237         (lround_test_data): Likewise.
11238         (llround_test_data): Likewise.
11239
11240         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11241         (ERRNO_UNCHANGED): Update value.
11242         (ERRNO_EDOM): Likewise.
11243         (ERRNO_ERANGE): Likewise.
11244         (NO_TEST_INLINE_FLOAT): New macro.
11245         (NO_TEST_INLINE_DOUBLE): Likewise.
11246         (enable_test): New function.
11247         (RUN_TEST_f_f): Check enable_test before running test.
11248         (RUN_TEST_2_f): Likewise.
11249         (RUN_TEST_fff_f): Likewise.
11250         (RUN_TEST_c_f): Likewise.
11251         (RUN_TEST_f_f1): Likewise.
11252         (RUN_TEST_fF_f1): Likewise.
11253         (RUN_TEST_fI_f1): Likewise.
11254         (RUN_TEST_ffI_f1): Likewise.
11255         (RUN_TEST_c_c): Likewise.
11256         (RUN_TEST_cc_c): Likewise.
11257         (RUN_TEST_f_i): Likewise.
11258         (RUN_TEST_f_i_tg): Likewise.
11259         (RUN_TEST_ff_i_tg): Likewise.
11260         (RUN_TEST_f_b): Likewise.
11261         (RUN_TEST_f_b_tg): Likewise.
11262         (RUN_TEST_f_l): Likewise.
11263         (RUN_TEST_f_L): Likewise.
11264         (RUN_TEST_fFF_11): Likewise.
11265         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11266         conditionals.
11267         (cosh_test_data): Likewise.
11268         (exp_test_data): Likewise.
11269         (expm1_test_data): Likewise.
11270         (hypot_test_data): Likewise.
11271         (pow_test_data): Likewise.
11272         (sinh_test_data): Likewise.
11273         (tanh_test_data): Likewise.
11274         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11275         flags argument.
11276
11277         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11278         tests with quiet NaN input and output.
11279         (acosh_test_data): Likewise.
11280         (asin_test_data): Likewise.
11281         (asinh_test_data): Likewise.
11282         (atan_test_data): Likewise.
11283         (atanh_test_data): Likewise.
11284         (atan2_test_data): Likewise.
11285         (cbrt_test_data): Likewise.
11286         (cos_test_data): Likewise.
11287         (cosh_test_data): Likewise.
11288         (erf_test_data): Likewise.
11289         (erfc_test_data): Likewise.
11290         (exp_test_data): Likewise.
11291         (exp10_test_data): Likewise.
11292         (exp2_test_data): Likewise.
11293         (expm1_test_data): Likewise.
11294         (hypot_test_data): Likewise.
11295         (j0_test_data): Likewise.
11296         (j1_test_data): Likewise.
11297         (jn_test_data): Likewise.
11298         (lgamma_test_data): Likewise.
11299         (log_test_data): Likewise.
11300         (log10_test_data): Likewise.
11301         (log1p_test_data): Likewise.
11302         (log2_test_data): Likewise.
11303         (pow_test_data): Likewise.
11304         (scalb_test_data): Likewise.
11305         (sin_test_data): Likewise.
11306         (sincos_test_data): Likewise.
11307         (sinh_test_data): Likewise.
11308         (tan_test_data): Likewise.
11309         (tanh_test_data): Likewise.
11310         (tgamma_test_data): Likewise.
11311         (y0_test_data): Likewise.
11312         (y1_test_data): Likewise.
11313         (yn_test_data): Likewise.
11314
11315         [BZ #16167]
11316         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11317         argument being NaN and avoid computations with second argument in
11318         that case.
11319         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11320         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11321         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11322
11323 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11324
11325         * locale/iso-639.def: Add Chitwani Tharu (the).
11326
11327 2013-11-14  Andreas Schwab  <schwab@suse.de>
11328
11329         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11330         word instead of empty string.
11331
11332 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11333
11334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11335         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11337         (__fe_nomask_env): Likewise.
11338
11339 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11340
11341         * benchtests/bench-timing.h: Include time.h.
11342
11343 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11344
11345         [BZ #15997]
11346         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11347         to 3.4.0 for x32.
11348         * sysdeps/unix/sysv/linux/configure: Regenerated.
11349
11350 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11351
11352         [BZ #16151]
11353         * stdlib/strtod_l.c (round_and_return): Do not consider
11354         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11355         exponent one less than half the least subnormal exponent.
11356         * stdlib/test-strtod-round-data: Add more tests.
11357         * stdlib/tst-strtod-round.c (tests): Regenerated.
11358
11359 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11360
11361         [BZ #14143]
11362         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11363         (__fe_mask_env): Likewise.
11364         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11365         libm_hidden_proto and add function prototype.
11366         (__fe_mask_env): Add function prototype.
11367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11368         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11370         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11372         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11373
11374 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11375
11376         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11377         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11378
11379 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11380
11381         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11382         of htab_find_slot().
11383
11384 2013-11-11  David S. Miller  <davem@davemloft.net>
11385
11386         [BZ #16150]
11387         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11388         symbol in the non-vis3 case in static builds.
11389         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11390         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11391         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11392         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11393
11394 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11395
11396         [BZ #387]
11397         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11398         it is empty.
11399
11400 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11401
11402         * benchtests/Makefile: Add bench-strtod.
11403         * benchtests/bench-strtod.c: New file: strtod benchtest
11404
11405 2013-11-11  Andreas Schwab  <schwab@suse.de>
11406
11407         [BZ #16153]
11408         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11409         terminating NUL in key length.
11410
11411 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11412
11413         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11414         Add artificial ODP entry for vDSO symbol for PPC64.
11415         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11416         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11417
11418 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11419
11420         [BZ #15374]
11421         * nss/getent.c (services_keys): Recognize services starting with digit.
11422
11423 2013-11-06  David S. Miller  <davem@davemloft.net>
11424
11425         [BZ #15985]
11426         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11427         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11428
11429 2013-11-06  Will Newton  <will.newton@linaro.org>
11430
11431         * manual/memory.texi (Malloc Examples): Remove register
11432         keyword from examples.
11433
11434 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11435
11436         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11437
11438 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11439
11440         [BZ #6981]
11441         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11442         depending on [__GCC_IEC_559 > 0].
11443         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11444         depending on [__GCC_IEC_559_COMPLEX > 0].
11445
11446 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11447
11448         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11449         to iso-639.def.
11450
11451 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11452
11453         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11454
11455 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11456
11457         [BZ #16112]
11458         * malloc/malloc (malloc_info): Do not handle first bin as
11459         special case.
11460
11461 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11462
11463         * locale/iso-639.def: Add Central Nahuatl (nhn).
11464
11465 2013-11-01  Bruno Haible  <bruno@clisp.org>
11466
11467         [BZ #7003]
11468         * manual/math.texi (BSD Random): Specify range upper bound as
11469         in POSIX.
11470
11471 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11472
11473         * locale/iso-639.def: Add Meadow Mari (mhr).
11474
11475 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11476
11477         [BZ #14752], [BZ #15763]
11478         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11479         Validate name.
11480         * rt/tst_shm.c: Add test for escaping directory.
11481
11482 2013-10-31  Andreas Schwab  <schwab@suse.de>
11483
11484         [BZ #15917]
11485         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11486         followed by 'x' as part of digit sequence.
11487         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11488
11489 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11490
11491         [BZ #16037]
11492         * configure.ac: allow GNU Make 4.0 and greater.
11493         * configure: Regenerated.
11494
11495 2013-10-30  Will Newton  <will.newton@linaro.org>
11496
11497         [BZ #16038]
11498         * malloc/hooks.c (memalign_check): Limit alignment to the
11499         maximum representable power of two.
11500         * malloc/malloc.c (__libc_memalign): Likewise.
11501         * malloc/tst-memalign.c (do_test): Add test for very
11502         large alignment values.
11503         * malloc/tst-posix_memalign.c (do_test): Likewise.
11504
11505 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11506
11507         [BZ #11087]
11508         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11509         (munmap_chunk): Likewise.
11510         (mremap_chunk): Likewise.
11511
11512 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11513
11514         [BZ #15799]
11515         * stdlib/div.c (div): Remove obsolete code.
11516         * stdlib/ldiv.c (ldiv): Likewise.
11517         * stdlib/lldiv.c (lldiv): Likewise.
11518
11519 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11520
11521         [BZ #16071]
11522         * nss/nss_files/files-XXX.c (get_contents_ret): New
11523         enumerator.
11524         (get_contents): New function.
11525         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11526
11527 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11528
11529         * configure.in: Moved to ...
11530         * configure.ac: ... here. Change reference to configure.in
11531         to configure.ac.
11532         * sysdeps/arm/preconfigure.ac: ... here.
11533         configure.in to configure.ac.
11534         * sysdeps/gnu/configure.in: Moved to ...
11535         * sysdeps/gnu/configure.ac: ... here.
11536         * sysdeps/i386/configure.in: Moved to ...
11537         * sysdeps/i386/configure.ac: ... here.
11538         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11539         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11540         * sysdeps/mach/configure.in: Moved to ...
11541         * sysdeps/mach/configure.ac: ... here.
11542         * sysdeps/mach/hurd/configure.in: Moved to ...
11543         * sysdeps/mach/hurd/configure.ac: ... here.
11544         * sysdeps/powerpc/configure.in: Moved to ...
11545         * sysdeps/powerpc/configure.ac: ... here.
11546         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11547         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11548         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11549         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11550         * sysdeps/s390/s390-32/configure.in: Moved to ...
11551         * sysdeps/s390/s390-32/configure.ac: ... here.
11552         * sysdeps/s390/s390-64/configure.in: Moved to ...
11553         * sysdeps/s390/s390-64/configure.ac: ... here.
11554         * sysdeps/sh/configure.in: Moved to ...
11555         * sysdeps/sh/configure.ac: ... here.
11556         * sysdeps/sparc/configure.in: Moved to ...
11557         * sysdeps/sparc/configure.ac: ... here.
11558         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11559         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11560         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11561         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11562         * sysdeps/x86_64/configure.in: Moved to ...
11563         * sysdeps/x86_64/configure.ac: ... here.
11564         * sysdeps/x86_64/preconfigure.in: Moved to ...
11565         * sysdeps/x86_64/preconfigure.ac: ... here.
11566         * aclocal.m4: Change reference to configure.in to configure.ac.
11567         * config.h.in: Likewise.
11568         * manual/install.texi: Likewise.
11569         * manual/maint.texi: Likewise.
11570         * Makefile: Likewise.
11571         * malloc/Makefile: Likewise.
11572         * nscd/Makefile: Likewise.
11573         * Makeconfig: Change reference to configure.in and
11574         preconfigure.in to configure.ac and preconfigure.ac
11575         respectively.
11576         * INSTALL: Regenerated.
11577         * configure: Likewise.
11578         * sysdeps/gnu/configure: Likewise.
11579         * sysdeps/i386/configure: Likewise.
11580         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11581         * sysdeps/mach/configure: Likewise.
11582         * sysdeps/mach/hurd/configure: Likewise.
11583         * sysdeps/powerpc/configure: Likewise.
11584         * sysdeps/powerpc/powerpc32/configure: Likewise.
11585         * sysdeps/powerpc/powerpc64/configure: Likewise.
11586         * sysdeps/s390/s390-32/configure: Likewise.
11587         * sysdeps/s390/s390-64/configure: Likewise.
11588         * sysdeps/sh/configure: Likewise.
11589         * sysdeps/sparc/configure: Likewise.
11590         * sysdeps/unix/sysv/linux/configure: Likewise.
11591         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11592         * sysdeps/x86_64/configure: Likewise.
11593         * sysdeps/x86_64/preconfigure: Likewise.
11594
11595 2013-10-29  Andreas Schwab  <schwab@suse.de>
11596
11597         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11598
11599 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11600
11601         * benchtests/pow-inputs: Add new inputs.
11602
11603         * benchtests/exp-inputs: Add new inputs.
11604
11605         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11606         conditional check for return value.
11607         (__cos32): Likewise.
11608
11609 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11610
11611         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11612         to provide a boost for large inputs with word alignment.
11613         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11614         implementation based on optimized PPC64 strcpy.
11615         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11616         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11617         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11618         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11619
11620 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11621
11622         [BZ #2801]
11623         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11624
11625 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11626
11627         [BZ #14876]
11628         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11629         * time/tst-strptime.c (day_tests): Add testcase.
11630
11631 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11632
11633         [BZ #14029]
11634         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11635
11636 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11637
11638         [BZ #16074]
11639         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11640         MAP_FAILED on error.
11641
11642 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11643
11644         [BZ #16072]
11645         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11646         heap for large requests.
11647
11648 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11649
11650         [BZ #9954]
11651         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11652         result if the result has no associated interface.
11653         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11654         interface for all 127.X.Y.Z addresses.
11655
11656 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11657
11658         * locale/iso-639.def: Add Ligurian (lij)
11659
11660 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11661
11662         [BZ #15825]
11663         * sunrpc/rpc_main.c: Document rpcgen -5.
11664
11665 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11666
11667         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11668
11669 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11670
11671         [BZ #10278]
11672         * posix/glob.c: Match only directories when trailing slash is present.
11673         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11674         (main): Add testcase.
11675
11676 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11677
11678         [BZ #15670]
11679         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11680
11681 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11682
11683         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11684         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11685         AUTH_DES and cindex for FIPS 140-2.
11686         (DES Encryption): Add cindex FIPS 46-3.
11687
11688         * locale/locarchive.h (struct locarhandle): Add fname.
11689         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11690         if an optional argument was specified to --list-archive,
11691         otherwise NULL.
11692         * locale/programs/locarchive.c (show_archive_content): Take new
11693         argument fname and pass it via ah.fname to open_archive.
11694         * locale/programs/localedef.h: Update decl.
11695         (open_archive): If AH->fname is non-null, open that file
11696         rather than the default file name, and don't ignore ENOENT.
11697         (create_archive): Set AH.fname to NULL.
11698         (delete_locales_from_archive): Likewise.
11699         (add_locales_to_archive): Likewise.
11700         * locale/programs/locfile.c (write_all_categories): Likewise.
11701
11702 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11703             Aldy Hernandez  <aldyh@redhat.com>
11704
11705         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11706         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11707         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11708         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11709         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11710         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11711         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11712         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11713         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11714         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11715         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11716         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11717         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11718         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11719         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11720         Likewise.
11721         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11722         Likewise.
11723         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11724         Likewise.
11725         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11726         Likewise.
11727         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11728         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11729         Likewise.
11730         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11731         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11732         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11733         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11734         Likewise.
11735         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11736         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11737         * sysdeps/powerpc/preconfigure: Likewise.
11738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11739         Likewise.
11740         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11741         Replace contents of file by #include of <fenv_libc.h>.
11742         * sysdeps/powerpc/soft-fp/sfp-machine.h
11743         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11744         and <sys/prctl.h>.
11745         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11746         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11747         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11748         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11749         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11750         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11752         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11753         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11754         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11755         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11756         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11758         Allow copysignl PLT reference to be missing.
11759
11760 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11761             Joseph Myers  <joseph@codesourcery.com
11762
11763         [BZ #15948]
11764         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11765         single character.
11766         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11767
11768 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11769
11770         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11771         * elf/tst-tls1.c: Likewise.
11772         * elf/tst-tls10.h: Likewise.
11773         * elf/tst-tls14.c: Likewise.
11774         * elf/tst-tls2.c: Likewise.
11775         * elf/tst-tls3.c: Likewise.
11776         * elf/tst-tls4.c: Likewise.
11777         * elf/tst-tls5.c: Likewise.
11778         * elf/tst-tls6.c: Likewise.
11779         * elf/tst-tls7.c: Likewise.
11780         * elf/tst-tls8.c: Likewise.
11781         * elf/tst-tls9.c: Likewise.
11782         * elf/tst-tlsmod1.c: Likewise.
11783         * elf/tst-tlsmod13.c: Likewise.
11784         * elf/tst-tlsmod13a.c: Likewise.
11785         * elf/tst-tlsmod14a.c: Likewise.
11786         * elf/tst-tlsmod16a.c: Likewise.
11787         * elf/tst-tlsmod16b.c: Likewise.
11788         * elf/tst-tlsmod2.c: Likewise.
11789         * elf/tst-tlsmod3.c: Likewise.
11790         * elf/tst-tlsmod4.c: Likewise.
11791         * elf/tst-tlsmod5.c: Likewise.
11792         * elf/tst-tlsmod6.c: Likewise.
11793
11794 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11795
11796         [BZ #12486]
11797         * malloc/malloc.c: remove checks for statistics.
11798
11799 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11800
11801         [BZ #15277]
11802         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11803         * inet/tst-network.c: Add testcase.
11804
11805 2013-10-17  Andreas Schwab  <schwab@suse.de>
11806
11807         [BZ #15218]
11808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11809         to determine canonical name.
11810
11811 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11812
11813         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11814         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11816         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11818         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11819         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11820         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11821         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11822         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11823         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11824         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11825         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11826         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11827         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11828         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11829         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11830         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11831         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11832         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11833         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11834         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11835         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11836         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11837         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11838         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11839         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11840         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11841         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11842         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11843         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11844         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11845         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11846         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11847         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11848         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11849         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11850         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11851         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11852         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11853         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11854         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11855         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11856         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11857         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11858         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11859         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11860         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11861         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11862         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11863         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11864         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11865         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11866         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11867         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11868         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11869         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11870         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11871
11872 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11873
11874         [BZ #16041]
11875         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11876         make result into a quiet NaN.
11877
11878 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11879
11880         * soft-fp/adddf3.c: Fix horizontal whitespace.
11881         * soft-fp/addsf3.c: Likewise.
11882         * soft-fp/addtf3.c: Likewise.
11883         * soft-fp/divdf3.c: Likewise.
11884         * soft-fp/divsf3.c: Likewise.
11885         * soft-fp/divtf3.c: Likewise.
11886         * soft-fp/double.h: Likewise.
11887         * soft-fp/eqdf2.c: Likewise.
11888         * soft-fp/eqsf2.c: Likewise.
11889         * soft-fp/eqtf2.c: Likewise.
11890         * soft-fp/extenddftf2.c: Likewise.
11891         * soft-fp/extended.h: Likewise.
11892         * soft-fp/extendsfdf2.c: Likewise.
11893         * soft-fp/extendsftf2.c: Likewise.
11894         * soft-fp/extendxftf2.c: Likewise.
11895         * soft-fp/fixdfdi.c: Likewise.
11896         * soft-fp/fixdfsi.c: Likewise.
11897         * soft-fp/fixdfti.c: Likewise.
11898         * soft-fp/fixsfdi.c: Likewise.
11899         * soft-fp/fixsfsi.c: Likewise.
11900         * soft-fp/fixsfti.c: Likewise.
11901         * soft-fp/fixtfdi.c: Likewise.
11902         * soft-fp/fixtfsi.c: Likewise.
11903         * soft-fp/fixtfti.c: Likewise.
11904         * soft-fp/fixunsdfdi.c: Likewise.
11905         * soft-fp/fixunsdfsi.c: Likewise.
11906         * soft-fp/fixunsdfti.c: Likewise.
11907         * soft-fp/fixunssfdi.c: Likewise.
11908         * soft-fp/fixunssfsi.c: Likewise.
11909         * soft-fp/fixunssfti.c: Likewise.
11910         * soft-fp/fixunstfdi.c: Likewise.
11911         * soft-fp/fixunstfsi.c: Likewise.
11912         * soft-fp/fixunstfti.c: Likewise.
11913         * soft-fp/floatdidf.c: Likewise.
11914         * soft-fp/floatdisf.c: Likewise.
11915         * soft-fp/floatditf.c: Likewise.
11916         * soft-fp/floatsidf.c: Likewise.
11917         * soft-fp/floatsisf.c: Likewise.
11918         * soft-fp/floatsitf.c: Likewise.
11919         * soft-fp/floattidf.c: Likewise.
11920         * soft-fp/floattisf.c: Likewise.
11921         * soft-fp/floattitf.c: Likewise.
11922         * soft-fp/floatundidf.c: Likewise.
11923         * soft-fp/floatundisf.c: Likewise.
11924         * soft-fp/floatunditf.c: Likewise.
11925         * soft-fp/floatunsidf.c: Likewise.
11926         * soft-fp/floatunsisf.c: Likewise.
11927         * soft-fp/floatunsitf.c: Likewise.
11928         * soft-fp/floatuntidf.c: Likewise.
11929         * soft-fp/floatuntisf.c: Likewise.
11930         * soft-fp/floatuntitf.c: Likewise.
11931         * soft-fp/fmadf4.c: Likewise.
11932         * soft-fp/fmasf4.c: Likewise.
11933         * soft-fp/fmatf4.c: Likewise.
11934         * soft-fp/gedf2.c: Likewise.
11935         * soft-fp/gesf2.c: Likewise.
11936         * soft-fp/getf2.c: Likewise.
11937         * soft-fp/ledf2.c: Likewise.
11938         * soft-fp/lesf2.c: Likewise.
11939         * soft-fp/letf2.c: Likewise.
11940         * soft-fp/muldf3.c: Likewise.
11941         * soft-fp/mulsf3.c: Likewise.
11942         * soft-fp/multf3.c: Likewise.
11943         * soft-fp/negdf2.c: Likewise.
11944         * soft-fp/negsf2.c: Likewise.
11945         * soft-fp/negtf2.c: Likewise.
11946         * soft-fp/op-1.h: Likewise.
11947         * soft-fp/op-2.h: Likewise.
11948         * soft-fp/op-4.h: Likewise.
11949         * soft-fp/op-8.h: Likewise.
11950         * soft-fp/op-common.h: Likewise.
11951         * soft-fp/quad.h: Likewise.
11952         * soft-fp/single.h: Likewise.
11953         * soft-fp/soft-fp.h: Likewise.
11954         * soft-fp/sqrtdf2.c: Likewise.
11955         * soft-fp/sqrtsf2.c: Likewise.
11956         * soft-fp/sqrttf2.c: Likewise.
11957         * soft-fp/subdf3.c: Likewise.
11958         * soft-fp/subsf3.c: Likewise.
11959         * soft-fp/subtf3.c: Likewise.
11960         * soft-fp/truncdfsf2.c: Likewise.
11961         * soft-fp/trunctfdf2.c: Likewise.
11962         * soft-fp/trunctfsf2.c: Likewise.
11963         * soft-fp/trunctfxf2.c: Likewise.
11964         * soft-fp/unorddf2.c: Likewise.
11965         * soft-fp/unordsf2.c: Likewise.
11966         * soft-fp/unordtf2.c: Likewise.
11967
11968 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11969
11970         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11971         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11972
11973 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11974
11975         * elf/dl-libc.c: Clear initfini list after freeing.
11976
11977 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11978
11979         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11980         * soft-fp/addsf3.c: Likewise.
11981         * soft-fp/addtf3.c: Likewise.
11982         * soft-fp/divdf3.c: Likewise.
11983         * soft-fp/divsf3.c: Likewise.
11984         * soft-fp/divtf3.c: Likewise.
11985         * soft-fp/double.h: Likewise.
11986         * soft-fp/eqdf2.c: Likewise.
11987         * soft-fp/eqsf2.c: Likewise.
11988         * soft-fp/eqtf2.c: Likewise.
11989         * soft-fp/extenddftf2.c: Likewise.
11990         * soft-fp/extended.h: Likewise.
11991         * soft-fp/extendsfdf2.c: Likewise.
11992         * soft-fp/extendsftf2.c: Likewise.
11993         * soft-fp/extendxftf2.c: Likewise.
11994         * soft-fp/fixdfdi.c: Likewise.
11995         * soft-fp/fixdfsi.c: Likewise.
11996         * soft-fp/fixdfti.c: Likewise.
11997         * soft-fp/fixsfdi.c: Likewise.
11998         * soft-fp/fixsfsi.c: Likewise.
11999         * soft-fp/fixsfti.c: Likewise.
12000         * soft-fp/fixtfdi.c: Likewise.
12001         * soft-fp/fixtfsi.c: Likewise.
12002         * soft-fp/fixtfti.c: Likewise.
12003         * soft-fp/fixunsdfdi.c: Likewise.
12004         * soft-fp/fixunsdfsi.c: Likewise.
12005         * soft-fp/fixunsdfti.c: Likewise.
12006         * soft-fp/fixunssfdi.c: Likewise.
12007         * soft-fp/fixunssfsi.c: Likewise.
12008         * soft-fp/fixunssfti.c: Likewise.
12009         * soft-fp/fixunstfdi.c: Likewise.
12010         * soft-fp/fixunstfsi.c: Likewise.
12011         * soft-fp/fixunstfti.c: Likewise.
12012         * soft-fp/floatdidf.c: Likewise.
12013         * soft-fp/floatdisf.c: Likewise.
12014         * soft-fp/floatditf.c: Likewise.
12015         * soft-fp/floatsidf.c: Likewise.
12016         * soft-fp/floatsisf.c: Likewise.
12017         * soft-fp/floatsitf.c: Likewise.
12018         * soft-fp/floattidf.c: Likewise.
12019         * soft-fp/floattisf.c: Likewise.
12020         * soft-fp/floattitf.c: Likewise.
12021         * soft-fp/floatundidf.c: Likewise.
12022         * soft-fp/floatundisf.c: Likewise.
12023         * soft-fp/floatunsidf.c: Likewise.
12024         * soft-fp/floatunsisf.c: Likewise.
12025         * soft-fp/floatuntidf.c: Likewise.
12026         * soft-fp/floatuntisf.c: Likewise.
12027         * soft-fp/floatuntitf.c: Likewise.
12028         * soft-fp/fmadf4.c: Likewise.
12029         * soft-fp/fmasf4.c: Likewise.
12030         * soft-fp/fmatf4.c: Likewise.
12031         * soft-fp/gedf2.c: Likewise.
12032         * soft-fp/gesf2.c: Likewise.
12033         * soft-fp/getf2.c: Likewise.
12034         * soft-fp/ledf2.c: Likewise.
12035         * soft-fp/lesf2.c: Likewise.
12036         * soft-fp/letf2.c: Likewise.
12037         * soft-fp/muldf3.c: Likewise.
12038         * soft-fp/mulsf3.c: Likewise.
12039         * soft-fp/multf3.c: Likewise.
12040         * soft-fp/negdf2.c: Likewise.
12041         * soft-fp/negsf2.c: Likewise.
12042         * soft-fp/negtf2.c: Likewise.
12043         * soft-fp/op-1.h: Likewise.
12044         * soft-fp/op-2.h: Likewise.
12045         * soft-fp/op-4.h: Likewise.
12046         * soft-fp/op-8.h: Likewise.
12047         * soft-fp/op-common.h: Likewise.
12048         * soft-fp/quad.h: Likewise.
12049         * soft-fp/single.h: Likewise.
12050         * soft-fp/soft-fp.h: Likewise.
12051         * soft-fp/sqrtdf2.c: Likewise.
12052         * soft-fp/sqrtsf2.c: Likewise.
12053         * soft-fp/sqrttf2.c: Likewise.
12054         * soft-fp/subdf3.c: Likewise.
12055         * soft-fp/subsf3.c: Likewise.
12056         * soft-fp/subtf3.c: Likewise.
12057         * soft-fp/truncdfsf2.c: Likewise.
12058         * soft-fp/trunctfdf2.c: Likewise.
12059         * soft-fp/trunctfsf2.c: Likewise.
12060         * soft-fp/trunctfxf2.c: Likewise.
12061         * soft-fp/unorddf2.c: Likewise.
12062         * soft-fp/unordsf2.c: Likewise.
12063         * soft-fp/unordtf2.c: Likewise.
12064
12065 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12066
12067         [BZ #15672]
12068         * misc/error.c (error_tail): Fix possible buffer overflow.
12069
12070 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12071
12072         [BZ #13028]
12073         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12074         address.
12075
12076 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12077
12078         [BZ #832]
12079         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12080         testing pipefail option.
12081
12082 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12083
12084         * soft-fp/double.h: Indent preprocessor directives inside #if.
12085         * soft-fp/extended.h: Likewise.
12086         * soft-fp/op-2.h: Likewise.
12087         * soft-fp/op-4.h: Likewise.
12088         * soft-fp/op-common.h: Likewise.
12089         * soft-fp/quad.h: Likewise.
12090         * soft-fp/single.h: Likewise.
12091         * soft-fp/soft-fp.h: Likewise.
12092
12093 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12094
12095         * iconv/iconv_prog.c: Fix typos.
12096         * stdio-common/psiginfo-data.h: Likewise.
12097
12098 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12099
12100         [BZ #15764]
12101         * locale/setlocale.c: Fix typo.
12102
12103 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12104
12105         [BZ #16036]
12106         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12107         signaling NaN arguments.
12108         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12109         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12110
12111         [BZ #14910]
12112         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12113         unordered operands.
12114         * soft-fp/gesf2.c (__gesf2): Likewise.
12115         * soft-fp/getf2.c (__getf2): Likewise.
12116         * soft-fp/ledf2.c (__ledf2): Likewise.
12117         * soft-fp/lesf2.c (__lesf2): Likewise.
12118         * soft-fp/letf2.c (__letf2): Likewise.
12119
12120         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12121         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12122         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12123         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12124         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12125         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12126         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12127         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12128         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12129         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12130         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12131         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12132         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12133         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12134         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12135         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12136         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12137         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12138         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12139         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12140         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12141         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12142         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12143         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12144         * soft-fp/floattidf.c (__floattidf): Likewise.
12145         * soft-fp/floattisf.c (__floattisf): Likewise.
12146         * soft-fp/floattitf.c (__floattitf): Likewise.
12147         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12148         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12149         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12150         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12151         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12152         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12153         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12154         * soft-fp/gesf2.c (__gesf2): Likewise.
12155         * soft-fp/getf2.c (__getf2): Likewise.
12156         * soft-fp/ledf2.c (__ledf2): Likewise.
12157         * soft-fp/lesf2.c (__lesf2): Likewise.
12158         * soft-fp/letf2.c (__letf2): Likewise.
12159
12160         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12161         Undefine and redefine.
12162         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12163         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12164         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12165         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12166         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12167         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12168         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12169         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12170         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12171         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12172         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12173         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12174         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12175         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12176         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12177
12178         [BZ #16032]
12179         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12180         without decrementing exponent if mantissa >= that for the
12181         denominator, not >.
12182         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12183         denominator, not >.  Decrement exponent in < case instead of
12184         incrementing in >= case.
12185         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12186         without decrementing exponent if mantissa >= that for the
12187         denominator, not >.
12188
12189         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12190         computing saturated result for unsigned overflow.
12191
12192 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12193             Jeff Law  <law@redhat.com>
12194
12195         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12196         (atan2Mp): Add systemtap probe marker.
12197         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12198         (__ieee754_log): Add systemtap probe marker.
12199         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12200         (atanMp): Add systemtap probe marker.
12201         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12202         (tanMp): Add systemtap probe marker.
12203         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12204         (__slowexp): Add systemtap probe marker.
12205         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12206         (__slowpow): Add systemtap probe marker.
12207         * manual/probes.texi: Document probes.
12208
12209 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12210
12211         [BZ #15362]
12212         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12213         written.
12214         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12215         written.
12216         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12217         written to buffer but not flushed.
12218         * libio/iofwrite_u.c:  Likewise.
12219         * libio/iopadn.c:  Return bytes returned even if EOF was
12220         encountered.
12221         * libio/iowpadn.c:  Likewise.
12222         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12223         if _IO_padn does not write the whole buffer.
12224         [!COMPILE_WPRINTF] (PAD): Likewise.
12225
12226 2013-10-10  David S. Miller  <davem@davemloft.net>
12227
12228         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12229         directory block.
12230
12231 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12232
12233         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12234         instead of FSF address.
12235         * soft-fp/fixdfti.c: Likewise.
12236         * soft-fp/fixsfti.c: Likewise.
12237         * soft-fp/fixtfti.c: Likewise.
12238         * soft-fp/fixunsdfti.c: Likewise.
12239         * soft-fp/fixunssfti.c: Likewise.
12240         * soft-fp/fixunstfti.c: Likewise.
12241         * soft-fp/floattidf.c: Likewise.
12242         * soft-fp/floattisf.c: Likewise.
12243         * soft-fp/floattitf.c: Likewise.
12244         * soft-fp/floatuntidf.c: Likewise.
12245         * soft-fp/floatuntisf.c: Likewise.
12246         * soft-fp/floatuntitf.c: Likewise.
12247         * soft-fp/trunctfxf2.c: Likewise.
12248
12249         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12250         * soft-fp/fixdfti.c: Likewise.
12251         * soft-fp/fixsfti.c: Likewise.
12252         * soft-fp/fixtfti.c: Likewise.
12253         * soft-fp/fixunsdfti.c: Likewise.
12254         * soft-fp/fixunssfti.c: Likewise.
12255         * soft-fp/fixunstfti.c: Likewise.
12256         * soft-fp/floattidf.c: Likewise.
12257         * soft-fp/floattisf.c: Likewise.
12258         * soft-fp/floattitf.c: Likewise.
12259         * soft-fp/floatuntidf.c: Likewise.
12260         * soft-fp/floatuntisf.c: Likewise.
12261         * soft-fp/floatuntitf.c: Likewise.
12262         * soft-fp/trunctfxf2.c: Likewise.
12263
12264 2013-10-10  David S. Miller  <davem@davemloft.net>
12265
12266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12267
12268 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12269
12270         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12271         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12272         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12273         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12274         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12275         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12276         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12277
12278         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12279         for NaNs before doing comparisons on argument.
12280         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12281         Likewise.
12282
12283 2013-10-10  Will Newton  <will.newton@linaro.org>
12284
12285         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12286         passed to _int_memalign does not overflow.
12287
12288 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12289
12290         * scripts/bench.pl: Add include-sources directive.
12291         * benchtests/README: Update documentation.
12292
12293 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12294
12295         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12296         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12297         instead of FP_INIT_ROUNDMODE.
12298         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12299         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12300
12301         [BZ #16034]
12302         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12303         copy class of input value.
12304         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12305         not handle exceptions.
12306         * soft-fp/negsf2.c (__negsf2): Likewise.
12307         * soft-fp/negtf2.c (__negtf2): Likewise.
12308         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12309
12310 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12311
12312         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12313         semicolon.  From Linux kernel.
12314
12315 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12316
12317         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12318
12319 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12320
12321         [BZ #156]
12322         * manual/socket.texi: Added statement about buffer
12323         for gethostbyname2_r.
12324
12325 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12326
12327         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12328         Use .p2align directive instead, throughout.
12329         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12330         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12331         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12332         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12333         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12334         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12335         * sysdeps/x86_64/strchr.S: Likewise.
12336         * sysdeps/x86_64/strrchr.S: Likewise.
12337
12338 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12339
12340         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12341
12342         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12343
12344         * sysdeps/generic/math_private.h (__mpsin1): Remove
12345         declaration.
12346         (__mpcos1): Likewise.
12347         (__mpsin): New argument __range_reduce.
12348         (__mpcos): Likewise.
12349         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12350         (slow): Use __mpsin and __mpcos.
12351         (slow1): Likewise.
12352         (slow2): Likewise.
12353         (sloww): Likewise.
12354         (sloww1): Likewise.
12355         (sloww2): Likewise.
12356         (bsloww): Likewise.
12357         (bsloww1): Likewise.
12358         (bsloww2): Likewise.
12359         (cslow2): Likewise.
12360         (csloww): Likewise.
12361         (csloww1): Likewise.
12362         (csloww2): Likewise.
12363         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12364         range_reduce.  Merge in __mpsin1.
12365         (__mpcos): Likewise.
12366         (__mpsin1): Remove.
12367         (__mpcos1): Likewise.
12368
12369 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12370
12371         * locale/loadlocale.c (_nl_intern_locale_data): Use
12372         LOCFILE_ALIGNED_P.
12373         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12374         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12375         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12376         obstack data is appropriately aligned.
12377         (obstack_int32_grow_fast): Likewise.
12378         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12379         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12380         (add_locale_uint32_array): Likewise.
12381
12382 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12383
12384         * benchtests/Makefile: Remove ARGLIST and RET variables.
12385         ($(objpfx)bench-%.c): Pass only function name to the script.
12386         * benchtests/README: Update documentation.
12387         * benchtests/acos-inputs: Add new directives.
12388         * benchtests/acosh-inputs: Likewise.
12389         * benchtests/asin-inputs: Likewise.
12390         * benchtests/asinh-inputs: Likewise.
12391         * benchtests/atan-inputs: Likewise.
12392         * benchtests/atanh-inputs: Likewise.
12393         * benchtests/cos-inputs: Likewise.
12394         * benchtests/cosh-inputs: Likewise.
12395         * benchtests/exp-inputs: Likewise.
12396         * benchtests/log-inputs: Likewise.
12397         * benchtests/pow-inputs: Likewise.
12398         * benchtests/rint-inputs: Likewise.
12399         * benchtests/sin-inputs: Likewise.
12400         * benchtests/sinh-inputs: Likewise.
12401         * benchtests/tan-inputs: Likewise.
12402         * benchtests/tanh-inputs: Likewise.
12403         * scripts/bench.pl: Add support for new directives.
12404
12405 2013-10-07  Alan Modra  <amodra@gmail.com>
12406
12407         * README: Fix careless merge.
12408
12409 2013-10-05  Alan Modra  <amodra@gmail.com>
12410
12411         * NEWS: Mention powerpc64le support and bugs fixed.
12412         * README: Both big-endian and little-endian powerpc64 supported.
12413
12414 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12415
12416         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12417         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12418         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12419         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12420
12421 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12422
12423         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12424         match prototype.
12425
12426 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12427
12428         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12429         Move -mhard-float appending from
12430         ports/sysdeps/powerpc/powerpc32/Makefile.
12431         [$(with-fp) = yes] (ASFLAGS): Likewise.
12432         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12433         * sysdeps/powerpc/nofpu: Move directory from
12434         ports/sysdeps/powerpc/nofpu.
12435         * sysdeps/powerpc/soft-fp: Move directory from
12436         ports/sysdeps/powerpc/soft-fp.
12437         * sysdeps/powerpc/powerpc32/405: Move directory from
12438         ports/sysdeps/powerpc/powerpc32/405.
12439         * sysdeps/powerpc/powerpc32/440: Move directory from
12440         ports/sysdeps/powerpc/powerpc32/440.
12441         * sysdeps/powerpc/powerpc32/464: Move directory from
12442         ports/sysdeps/powerpc/powerpc32/464.
12443         * sysdeps/powerpc/powerpc32/476: Move directory from
12444         ports/sysdeps/powerpc/powerpc32/476.
12445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12446         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12448         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12450         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12452         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12454         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12455         * README: Update for powerpc-*-linux-gnu software floating point
12456         support in libc.
12457
12458         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12459         case to powerpc/powerpc32*.
12460         * sysdeps/unix/sysv/linux/configure: Regenerated.
12461
12462         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12463         (_FPU_MASK_OM): Define as 0x04.
12464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12466         0x00c10080.
12467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12468         0x0000003c.
12469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12470
12471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12472         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12473         getcontext_e500.
12474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12475         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12476         setcontext_e500.
12477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12478         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12479         and setcontext_e500.
12480
12481 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12482
12483         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12484
12485 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12486
12487         * manual/threads.texi (Default Thread Attributes): Fix typo.
12488
12489 2013-10-04  Will Newton  <will.newton@linaro.org>
12490
12491         * malloc/Makefile: Add tst-memalign.
12492         * malloc/tst-memalign.c: New file.
12493
12494         * malloc/tst-posix_memalign.c: Add comments.
12495         (do_test): Add comments and call free on all potentially
12496         allocated pointers. Add space after cast.
12497
12498         * malloc/tst-pvalloc.c: Add comments.
12499         (do_test): Add comments and call free on all potentially
12500         allocated pointers. Remove duplicate check for NULL pointer.
12501         Add space after cast.
12502
12503         * malloc/tst-valloc.c: Add comments.
12504         (do_test): Add comments and call free on all potentially
12505         allocated pointers. Remove duplicate check for NULL pointer.
12506         Add space after cast.
12507
12508 2013-10-04  Alan Modra  <amodra@gmail.com>
12509
12510         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12511         Use stdint types in rather than __attribute__((mode())).
12512         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12513
12514 2013-10-04  Alan Modra  <amodra@gmail.com>
12515
12516         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12517         Correct handling of unaligned relocs for little-endian.
12518         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12519
12520 2013-10-04  Alan Modra  <amodra@gmail.com>
12521
12522         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12523         * configure: Regenerate.
12524         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12525         * shlib-versions: Likewise.
12526
12527 2013-10-04  Alan Modra  <amodra@gmail.com>
12528
12529         * string/tester.c (test_memrchr): Increment reported test cycle.
12530
12531 2013-10-04  Alan Modra  <amodra@gmail.com>
12532
12533         * string/test-memcpy.c (do_one_test): When reporting errors, print
12534         string address and don't overrun end of string.
12535
12536 2013-10-04  Alan Modra  <amodra@gmail.com>
12537
12538         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12539         insrdi.  Make better use of reg selection to speed exit slightly.
12540         Schedule entry path a little better.  Remove useless "are we done"
12541         checks on entry to main loop.  Handle wrapping around zero address.
12542         Correct main loop count.  Handle single left-over word from main
12543         loop inline rather than by using loop_small.  Remove extra word
12544         case in loop_small caused by wrong loop count.  Add little-endian
12545         support.
12546         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12547         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12548         cache hint.
12549         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12550         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12551         support.  Avoid rlwimi.
12552         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12553
12554 2013-10-04  Alan Modra  <amodra@gmail.com>
12555
12556         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12557         insrdi.  Formatting.
12558         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12559         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12560         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12561         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12562         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12563         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12564
12565 2013-10-04  Alan Modra  <amodra@gmail.com>
12566
12567         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12568         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12569         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12570         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12571         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12572         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12573         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12574         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12575         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12576         use of regs.  Use power7 mtocrf.  Tidy function tails.
12577
12578 2013-10-04  Alan Modra  <amodra@gmail.com>
12579
12580         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12581         Formatting.  Consistently use rXXX register defines or rN defines.
12582         Use early exit labels that avoid restoring unused non-volatile regs.
12583         Make cr field use more consistent with rWORDn compares.  Rename
12584         regs used as shift registers for unaligned loop, using rN defines
12585         for short lifetime/multiple use regs.
12586         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12587         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12588         addi 1,1,64 to pop stack frame.  Simplify return value code.
12589         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12590
12591 2013-10-04  Alan Modra  <amodra@gmail.com>
12592
12593         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12594         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12595         rather than rlwimi.
12596         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12597         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12598         little-endian support.  Correct typos.
12599         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12600         rather than rlwimi.
12601         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12602         in loop and entry code to keep "and." results.
12603         (strchr): Add little-endian support.  Comment.  Move cntlzd
12604         earlier in tail.
12605         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12606
12607 2013-10-04  Alan Modra  <amodra@gmail.com>
12608
12609         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12610         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12611         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12612         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12613
12614 2013-10-04  Alan Modra  <amodra@gmail.com>
12615
12616         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12617         (rTMP): Define as r11.
12618         (strcmp): Add little-endian support.  Optimise tail.
12619         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12620         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12621         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12622         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12623         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12624         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12625         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12626
12627 2013-10-04  Alan Modra  <amodra@gmail.com>
12628
12629         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12630         little-endian support.  Remove unnecessary "are we done" tests.
12631         Handle "s" wrapping around zero and extremely large "size".
12632         Correct main loop count.  Handle single left-over word from main
12633         loop inline rather than by using small_loop.  Correct comments.
12634         Delete "zero" tail, use "end_max" instead.
12635         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12636
12637 2013-10-04  Alan Modra  <amodra@gmail.com>
12638
12639         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12640         support.  Don't branch over align.
12641         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12642         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12643         support.  Rearrange tmp reg use to suit.  Comment.
12644         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12645
12646 2013-10-04  Alan Modra  <amodra@gmail.com>
12647
12648         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12649
12650 2013-10-04  Alan Modra  <amodra@gmail.com>
12651
12652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12653         conditional form of branch and link when obtaining pc.
12654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12655
12656 2013-10-04  Alan Modra  <amodra@gmail.com>
12657
12658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12659         HIWORD/LOWORD.
12660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12662
12663 2013-10-04  Alan Modra  <amodra@gmail.com>
12664
12665         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12666         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12667         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12668         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12669         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12670         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12671         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12672         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12673         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12674         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12675
12676 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12677             Alistair Popple <alistair@ozlabs.au.ibm.com>
12678             Alan Modra <amodra@gmail.com>
12679
12680         [BZ #15723]
12681         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12682         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12683         _dl_hwcap access for little-endian.
12684         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12685         destroy vmx regs when saving unaligned.
12686         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12687         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12688         destroy vmx regs when saving unaligned.
12689
12690 2013-10-04  Alan Modra  <amodra@gmail.com>
12691
12692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12693         Don't use a union to pack hi/low value.
12694
12695 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12696
12697         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12698         for little-endian.
12699         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12700         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12701         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12702         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12703         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12704
12705 2013-10-04  Alan Modra  <amodra@gmail.com>
12706
12707         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12708         constants to usual value for .cst8 section, and remove redundant
12709         high address load.
12710         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12711         constant for 0x1p52.  Load little-endian words of double from
12712         correct stack offsets.
12713
12714 2013-10-04  Alan Modra  <amodra@gmail.com>
12715
12716         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12717         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12718         words of double from correct stack offsets.
12719         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12720         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12721         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12722         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12723         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12724         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12725         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12726         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12727         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12728         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12729         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12730         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12731         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12732         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12733         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12734         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12735         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12736
12737 2013-10-04  Alan Modra  <amodra@gmail.com>
12738
12739         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12740         64-bit int/double union.
12741         (_FPU_SETCW): Likewise.
12742         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12743         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12744
12745 2013-10-04  Alan Modra  <amodra@gmail.com>
12746
12747         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12748         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12749
12750 2013-10-04  Alan Modra  <amodra@gmail.com>
12751
12752         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12753         use vector int constants.
12754         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12755
12756 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12757
12758         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12759         array with long long.
12760         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12761         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12762         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12763         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12764         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12765         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12766         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12767         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12768         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12769         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12770         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12771         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12772         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12773
12774 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12775
12776         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12777         (__signbit): Likewise.  Correct for little-endian.
12778         (__signbitl): Call __signbit.
12779         (lrint): Correct for little-endian.
12780         (lrintf): Call lrint.
12781
12782 2013-10-04  Alan Modra  <amodra@gmail.com>
12783
12784         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12785         union 32-bit int array member with 64-bit int array.
12786         (t515, tm256): Double rather than long double.
12787         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12788
12789 2013-10-04  Alan Modra  <amodra@gmail.com>
12790
12791         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12792         Delete.
12793         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12794         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12795         version of math_ldbl.h.
12796
12797 2013-10-04  Alan Modra  <amodra@gmail.com>
12798
12799         [BZ #15734], [BZ #15735]
12800         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12801         all uses of ieee875 long double macros and unions.  Simplify test
12802         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12803         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12804         normalize after ldbl_extract_mantissa, and don't add hidden bit
12805         already handled.  Don't treat low word of ieee854 mantissa like
12806         low word of IBM long double and mask off bit when testing for
12807         zero.
12808         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12809         all uses of ieee875 long double macros and unions.  Simplify tests
12810         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12811         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12812         two1022, instead use their values.  Recognise that tests for large
12813         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12814         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12815         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12816         test for 0.0L and nan.  Correct negation.
12817         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12818         ieee875 long double macros and unions.  Correct output for large
12819         magnitude x.  Correct absolute value calculation.
12820         (__erfcl): Likewise.
12821         * math/libm-test.inc: Add tests for errors discovered in IBM long
12822         double versions of fmodl, remainderl, erfl and erfcl.
12823
12824 2013-10-04  Alan Modra  <amodra@gmail.com>
12825
12826         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12827         all uses of ieee854 long double macros and unions.  Simplify tests
12828         for long doubles that are fully specified by the high double.
12829         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12830         Likewise.
12831         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12832         Remove dead code too.
12833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12834         (__ieee754_ynl): Likewise.
12835         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12836         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12838         Remove dead code too.
12839         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12840         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12841         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12842         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12843         Simplify.
12844         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12845         Simplify.
12846         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12847         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12849         Comment on variable precision.
12850         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12851         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12852         Likewise.
12853         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12854         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12855         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12856         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12857         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12858
12859 2013-10-04  Alan Modra  <amodra@gmail.com>
12860
12861         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12862         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12863         all uses of ieee854 long double macros and unions.
12864         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12865         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12866         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12867         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12868         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12869         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12870         Likewise.
12871         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12872         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12873         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12874         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12875         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12876         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12877         Simplify sign and nan test too.
12878         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12879         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12880         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12881         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12882         Likewise.
12883         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12884         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12885         Likewise.
12886         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12887         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12888         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12889         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12890         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12892
12893 2013-10-04  Alan Modra  <amodra@gmail.com>
12894
12895         * stdio-common/printf_size.c (__printf_size): Don't use
12896         union ieee854_long_double in fpnum union.
12897         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12898         signbit macro to retrieve sign from long double.
12899         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12900         retrieve sign from long double.
12901         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12902         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12903         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12904         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12905         * math/test-misc.c (main): Don't use union ieee854_long_double.
12906
12907 2013-10-04  Alan Modra  <amodra@gmail.com>
12908
12909         [BZ #15680]
12910         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12911         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12912         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12913         calculation.  Remove unnecessary test for denormal exponent.
12914         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12915         Correct handling of denormals.  Avoid undefined shift behaviour.
12916         Correct normalisation of low mantissa when low double is denormal.
12917         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12918         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12919         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12920         Correct normalisation of low mantissa.  Test for overflow of high
12921         mantissa and normalise.
12922         (ldbl_nearbyint): Use more readable constant for two52.
12923         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12924         (__mpn_construct_long_double): Fix test for overflow of high
12925         mantissa and correct normalisation.  Avoid undefined shift.
12926
12927 2013-10-04  Alan Modra  <amodra@gmail.com>
12928
12929         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12930         (union ibm_extended_long_double): Define as an array of ieee754_double.
12931         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12932         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12933         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12934         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12935         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12936         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12937         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12938         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12939         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12940         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12941         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12942
12943 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12944
12945         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12946         page size instead of calling getpagesize.
12947
12948         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12949         (LOCFILE_ALIGN_MASK): Likewise.
12950         (LOCFILE_ALIGN_UP): Likewise.
12951         (LOCFILE_ALIGNED_P): Likewise.
12952         * locale/programs/ld-collate.c (collate_output): Use the new
12953         macros instead of __alignof__ (int32_t).
12954         * locale/weight.h (findidx): Likewise.
12955
12956 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12957
12958         [BZ #431]
12959         * manual/string.texi: Fix strncat and wcsncat.
12960
12961 2013-10-03  Brooks Moses  <bmoses@google.com>
12962
12963         [BZ #15915]
12964         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12965         * Makerules: ...here, and adjust associated comments.
12966
12967 2013-10-02  Will Newton  <will.newton@linaro.org>
12968
12969         * malloc/Makefile: Add tst-pvalloc.
12970         * malloc/tst-pvalloc.c: New file.
12971
12972 2013-10-02  Will Newton  <will.newton@linaro.org>
12973
12974         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12975         improve test coverage.
12976
12977 2013-10-02  Will Newton  <will.newton@linaro.org>
12978
12979         * malloc/Makefile: Add tst-posix_memalign.
12980         * malloc/tst-posix_memalign.c: New file.
12981
12982 2013-10-01  Eric Blake  <eblake@redhat.com>
12983
12984         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12985         Use __THROWNL rather than __THROW on static functions.
12986
12987 2013-09-30  Petr Machata  <pmachata@redhat.com>
12988
12989         * elf/elf.h (R_AARCH64_ABS16): New macro.
12990         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12991         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12992         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12993         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12994         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12995         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12996         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12997         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12998         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12999         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13000         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13001         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13002         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13003         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13004         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13005         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13006         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13007         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13008         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13009         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13010         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13011         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13012         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13013         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13014         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13015         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13016         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13017         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13018         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13019         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13020         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13021         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13022         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13023         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13024         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13025         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13026         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13027         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13028         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13029         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13030         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13031         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13032         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13033         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13034         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13035         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13036         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13037         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13038         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13039         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13040         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13041         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13042         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13043         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13044         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13045         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13046         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13047         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13048         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13049         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13050         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13051         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13052         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13053         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13054         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13055         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13056         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13057         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13058         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13059         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13060         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13061         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13062         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13063         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13064         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13065         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13066         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13067         (R_AARCH64_TLSDESC_LDR): Likewise.
13068         (R_AARCH64_TLSDESC_ADD): Likewise.
13069         (R_AARCH64_TLSDESC_CALL): Likewise.
13070
13071 2013-09-30  Andreas Schwab  <schwab@suse.de>
13072
13073         [BZ #15048]
13074         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13075         the nss database lookup.
13076         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13078
13079 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13080
13081         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13082
13083 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13084
13085         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13086         ${Bash-specific parameter/pattern/string} parameter expansion.
13087         * sysdeps/unix/make-syscalls.sh: Likewise.
13088
13089 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13090
13091         * sysdeps/sh/stackguard-macros.h: New file.
13092
13093 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13094
13095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13097         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13098         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13099         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13100         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13101
13102 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13103
13104         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13105         Fix thread ID register.
13106
13107 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13108
13109         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13110         [POSIX || UNIX98]: Require rather than permitting all symbols from
13111         <time.h>.
13112         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13113         element of struct sched_param.
13114         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13115         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13116         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13117         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13118         constant.
13119
13120 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13121
13122         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13123         argument calculation.
13124
13125 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13126
13127         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13128         Expect macro.
13129         [POSIX] (pthread_attr_t): Do not require type.
13130         [POSIX] (pthread_cond_t): Likewise.
13131         [POSIX] (pthread_condattr_t): Likewise.
13132         [POSIX] (pthread_key_t): Likewise.
13133         [POSIX] (pthread_mutex_t): Likewise.
13134         [POSIX] (pthread_mutexattr_t): Likewise.
13135         [POSIX] (pthread_once_t): Likewise.
13136         [POSIX] (pthread_t): Likewise.
13137         [POSIX-based standards] (pthread_atfork): Expect function.
13138
13139 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13140             Richard Sandiford  <richard@codesourcery.com>
13141
13142         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13143         (swap_endianness_p): New extern variable.
13144         (set_big_endian): New inline function.
13145         (maybe_swap_uint32): Likewise.
13146         (maybe_swap_uint32_array): Likewise.
13147         (maybe_swap_uint32_obstack): Likewise.
13148         * locale/programs/locfile.c: Include <stdbool.h>.
13149         (swap_endianness_p): New variable.
13150         (add_locale_uint32): Call maybe_swap_uint32.
13151         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13152         (write_locale_data): Call maybe_swap_uint32_array.
13153         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13154         maybe_swap_uint32.
13155         (obstack_int32_grow_fast): Likewise.
13156         (output_weightwc): Call maybe_swap_uint32_obstack.
13157         (collate_output): Likewise.
13158         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13159         (OPT_LITTLE_ENDIAN): Likewise.
13160         (options): Add --little-endian and --big-endian options.
13161         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13162         * locale/programs/locarchive.c: Include "locfile.h".
13163         (GET): New macro.
13164         (SET): Likewise.
13165         (INC): Likewise.
13166         (create_archive): Use the new macros to access fields of
13167         structures directly mapped from or written to locale archives.
13168         (oldlocrecentcmp): Likewise.
13169         (enlarge_archive): Likewise.
13170         (insert_name): Likewise.
13171         (add_alias): Likewise.
13172         (add_locale): Likewise.
13173         (delete_locales_from_archive): Likewise.
13174         (show_archive_content): Likewise.
13175         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13176         locale data.
13177
13178 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13179
13180         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13181         http://www.gnu.org/doc/freemanuals.texi.
13182         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13183
13184 2013-09-24  Will Newton  <will.newton@linaro.org>
13185
13186         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13187         macro.
13188
13189 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13190
13191         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13192         unsigned char.
13193
13194 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13195
13196         * manual/threads.texi (POSIX Threads): Fix a typo.
13197
13198 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13199
13200         [BZ #14547]
13201         * string/tst-strcoll-overflow.c: New test case.
13202         * string/Makefile (xtests): Add tst-strcoll-overflow.
13203         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13204         cache if string sizes may cause integer overflow.
13205
13206         [BZ #14547]
13207         * string/strcoll_l.c (coll_seq): New members rule, idx,
13208         save_idx and back_us.
13209         (get_next_seq_nocache): New function.
13210         (do_compare_nocache): New function.
13211         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13212         when malloc fails.
13213
13214 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13215
13216         [BZ #15754]
13217         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13218         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13219         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13220
13221         [BZ #15754]
13222         * elf/Makefile (tests): Add tst-ptrguard1.
13223         (tests-static): Add tst-ptrguard1-static.
13224         (tst-ptrguard1-ARGS): Define.
13225         (tst-ptrguard1-static-ARGS): Define.
13226         * elf/tst-ptrguard1.c: New file.
13227         * elf/tst-ptrguard1-static.c: New file.
13228         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13229         * sysdeps/i386/stackguard-macros.h: Likewise.
13230         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13231         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13232         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13233         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13234         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13235         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13236
13237 2013-09-23  Hector Marco  <hecmargi@upv.es>
13238             Ismael Ripoll  <iripoll@disca.upv.es>
13239             Carlos O'Donell  <carlos@redhat.com>
13240
13241         [BZ #15754]
13242         * sysdeps/generic/stackguard-macros.h: Define
13243         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13244         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13245         Define __pointer_chk_guard_local.
13246         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13247         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13248
13249 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13250
13251         [BZ #15859]
13252         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13253
13254 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13255
13256         * include/string.h (__ffs): Declare as hidden.
13257         * string/ffs.c (__ffs): Define as hidden.
13258         * sysdeps/i386/ffs.c (__ffs): Likewise.
13259         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13260         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13261         * sysdeps/s390/ffs.c (__ffs): Likewise.
13262         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13263
13264 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13265
13266         * NEWS: Mention malloc probes.
13267
13268         * malloc/arena.c (new_heap): New memory_heap_new probe.
13269         (grow_heap): New memory_heap_more probe.
13270         (shrink_heap): New memory_heap_less probe.
13271         (heap_trim): New memory_heap_free probe.
13272         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13273         (systrim): New memory_sbrk_less probe.
13274         * manual/probes.texi: Document them.
13275
13276         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13277         * manual/probes.texi: Document it.
13278
13279         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13280         (__libc_realloc): Add memory_realloc_retry probe.
13281         (__libc_memalign): Add memory_memalign_retry probe.
13282         (__libc_valloc): Add memory_valloc_retry probe.
13283         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13284         (__libc_calloc): Add memory_calloc_retry probe.
13285         * manual/probes.texi: Document them.
13286
13287         * malloc/arena.c (get_free_list): Add probe
13288         memory_arena_reuse_free_list.
13289         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13290         and memory_arena_reuse.
13291         (arena_get2) [!PER_THREAD]: Likewise.
13292         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13293         memory_arena_reuse_realloc.
13294         * manual/probes.texi: Document them.
13295
13296         * malloc/malloc.c (__libc_free): Add
13297         memory_mallopt_free_dyn_thresholds probe.
13298         (__libc_mallopt): Add multiple memory_mallopt probes.
13299         * manual/probes.texi: Document them.
13300
13301         * malloc/malloc.c: Include stap-probe.h.
13302         (__libc_mallopt): Add memory_mallopt probe.
13303         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13304         * manual/probes.texi: New.
13305         * manual/Makefile (chapters): Add probes.
13306         * manual/threads.texi: Set next node.
13307
13308 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13309
13310         [BZ #15963, #13985]
13311         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13312         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13313         Add `Chinese' to `nan' entry name.
13314
13315 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13316
13317         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13318         (POLYNOMIAL): Likewise.
13319         (TAYLOR_SINCOS): Likewise.
13320         (TAYLOR_SLOW): Likewise.
13321         (__sin): Use TAYLOR_SINCOS.
13322         (__cos): Likewise.
13323         (slow): Use TAYLOR_SLOW.
13324         (sloww): Likewise.
13325         (bsloww): Likewise.
13326         (csloww): Likewise.
13327
13328 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13329
13330         * stdlib/strtod_l.c: Fix buffer overrun.
13331
13332 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13333
13334         * benchtests/Makefile (bench): Add sincos.
13335         * benchtests/bench-sincos.c: New file.
13336
13337         * math/libm-test.inc (cos_test_data): New test inputs.
13338         (sin_test_data): Likewise.
13339
13340         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13341         macro.
13342         (__sin): Use it.
13343         (__cos): Likewise.
13344         (slow1): Likewise.
13345         (slow2): Likewise.
13346         (sloww1): Likewise.
13347         (sloww2): Likewise.
13348         (bsloww1): Likewise.
13349         (bsloww2): Likewise.
13350         (cslow2): Likewise.
13351         (csloww1): Likewise.
13352         (csloww2): Likewise.
13353
13354         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13355         function.
13356         (__sin): Use it.
13357         (__cos): Likewise.
13358
13359         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13360         gotos.
13361         (__cos): Likewise.
13362
13363 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13364
13365         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13366         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13367         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13368         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13369         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13370         * elf/cache.c (print_entry): Handle the new cache flags.
13371
13372 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13373             Aldy Hernandez  <aldyh@redhat.com>
13374
13375         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13376         Change condition to [_SOFT_FLOAT].
13377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13380         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13382         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13383         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13384         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13389         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13392         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13393         declaration.
13394
13395 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13396
13397         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13398         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13399         (__longjmp): Use LOAD_GP to load saved GPRs.
13400         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13401         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13402         (__sigsetjmp): Use SAVE_GP to save GPRs.
13403
13404         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13405         Do not append -msoft-float.
13406         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13407
13408 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13409
13410         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13411
13412 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13413
13414         [BZ #15966]
13415         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13416         (_FPU_GETCW): Use initial "__" on variable and field names but not
13417         on macro parameter name.
13418         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13419         parentheses around reference to macro parameter.
13420
13421 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13422
13423         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13424         prototype.
13425         (ctype_startup): Use uint32_t in cast and sizeof for
13426         ctype->charnames.
13427
13428 2013-09-11  Jia Liu  <proljc@gmail.com>
13429
13430         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13431         __daddr_t_defined.
13432         [__FreeBSD__]: Likewise.
13433
13434 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13435
13436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13437         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13438         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13439         (strchr): Remove __strchr_sse42 ifunc selection.
13440         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13441         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13442
13443 2013-09-11  Will Newton  <will.newton@linaro.org>
13444
13445         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13446         parameter to RES. Remove hardcoded 1000 value.
13447         * benchtests/bench-skeleton.c (main): Pass RES parameter
13448         to TIMING_INIT and multiply result by 1000.
13449
13450 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13451
13452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13453
13454 2013-09-11  Andreas Schwab  <schwab@suse.de>
13455
13456         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13457         if not defined.
13458         (O_TMPFILE) [__USE_GNU]: Define.
13459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13460         Define.
13461
13462 2013-09-11  Will Newton  <will.newton@linaro.org>
13463
13464         [BZ #15857]
13465         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13466         does not overflow.
13467
13468 2013-09-11  Will Newton  <will.newton@linaro.org>
13469
13470         [BZ #15856]
13471         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13472         does not overflow.
13473
13474 2013-09-11  Will Newton  <will.newton@linaro.org>
13475
13476         [BZ #15855]
13477         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13478         does not overflow.
13479
13480 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13481
13482         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13483         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13484         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13485         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13486         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13487
13488 2013-09-10  Allan McRae  <allan@archlinux.org>
13489
13490         [BZ #15748]
13491         * manual/arith.texi (Parsing of Floats): Clarify
13492         cross-reference.
13493
13494         [BZ #15849]
13495         * manual/install.texi (Running make install): Mention
13496         --enable-pt-chown.
13497         * INSTALL: Regenerated.
13498
13499 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13500
13501         * csu/init-first.c (_init): Remove the !SHARED condition around
13502         FPU control word initialization.
13503         * elf/dl-support.c (_dl_fpu_control): New variable.
13504         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13505         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13506         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13507         * math/test-fpucw-static.c: New file.
13508         * math/test-fpucw-ieee.c: New file.
13509         * math/test-fpucw-ieee-static.c: New file.
13510         * math/Makefile (tests): Add `test-fpucw-ieee' and
13511         `$(tests-static)'.
13512         (tests-static): New variable.
13513         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13514         dependency to...
13515         [($(build-shared),yes)]
13516         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13517         ... this.
13518         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13519         New dependency.
13520
13521 2013-09-09  Allan McRae  <allan@archlinux.org>
13522
13523         [BZ #15939]
13524         * manual/string.texi (Collation Functions): Fix typo in
13525         strcoll example.
13526         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13527
13528         [BZ #15893]
13529         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13530
13531         [BZ #15892]
13532         * libio/memstream.c (open_memstream): Fix memory leak.
13533         * libio/wmemstream.c (open_wmemstream): Likewise.
13534
13535         [BZ #15895]
13536         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13537
13538 2013-09-09  Will Newton  <will.newton@linaro.org>
13539
13540         * malloc/Makefile: Add tst-realloc to tests.
13541         * malloc/tst-realloc.c: New file.
13542
13543 2013-09-09  Allan McRae  <allan@archlinux.org>
13544
13545         [BZ #15844]
13546         * COPYING: Update from GNU website to fix FSF address.
13547         * COPYING.LIB: Likewise.
13548
13549 2013-09-06  David S. Miller  <davem@davemloft.net>
13550
13551         * po/zh_TW.po: Update Chinese (traditional) translation from
13552         translation project.
13553
13554 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13555             Joseph Myers  <joseph@codesourcery.com>
13556
13557         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13558         "localeinfo.h".
13559         (obstack_chunk_alloc): New macro.
13560         (obstack_chunk_free): Likewise.
13561         (record_offset): New function.
13562         (init_locale_data): Likewise.
13563         (align_locale_data): Likewise.
13564         (add_locale_empty): Likewise.
13565         (add_locale_raw_data): Likewise.
13566         (add_locale_raw_obstack): Likewise.
13567         (add_locale_string): Likewise.
13568         (add_locale_wstring): Likewise.
13569         (add_locale_uint32): Likewise.
13570         (add_locale_uint32_array): Likewise.
13571         (add_locale_char): Likewise.
13572         (start_locale_structure): Likewise.
13573         (end_locale_structure): Likewise.
13574         (start_locale_prelude): Likewise.
13575         (end_locale_prelude): Likewise.
13576         (write_locale_data): Take locale_file structure rather than an
13577         iovec.
13578         * locale/programs/locfile.h: Include "obstack.h".
13579         (struct locale_file): Change to store locale file contents instead
13580         of header.
13581         (init_locale_data): New prototype.
13582         (align_locale_data): Likewise.
13583         (add_locale_empty): Likewise.
13584         (add_locale_raw_data): Likewise.
13585         (add_locale_raw_obstack): Likewise.
13586         (add_locale_string): Likewise.
13587         (add_locale_wstring): Likewise.
13588         (add_locale_uint32): Likewise.
13589         (add_locale_uint32_array): Likewise.
13590         (add_locale_char): Likewise.
13591         (start_locale_structure): Likewise.
13592         (end_locale_structure): Likewise.
13593         (start_locale_prelude): Likewise.
13594         (end_locale_prelude): Likewise.
13595         (write_locale_data): Update prototype.
13596         * locale/programs/3level.h (struct TABLE): Remove result field.
13597         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13598         Use new locale_file interface.
13599         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13600         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13601         * locale/programs/ld-address.c (address_output): Use new
13602         locale_file interface.
13603         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13604         NO_ADD_LOCALE.
13605         (collate_finish): Don't call collseq_table_finalize.
13606         (collate_output): Use new locale_file interface.
13607         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13608         in file.
13609         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13610         (TABLE): Move defines earlier in file.
13611         (ELEMENT): Likewise.
13612         (DEFAULT): Likewise.
13613         (wctrans_table_add): Move macro and inline function earlier in
13614         file.
13615         (struct wctype_table): Move type earlier in file.
13616         (add_locale_wctype_table): New static prototype.
13617         (struct locale_ctype_t): Use logical types instead of struct iovec
13618         pointers for members.
13619         (ctype_output): Use new locale_file interface.
13620         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13621         new locale_file interface.
13622         (allocate_arrays): Update for use of new locale_file interface.
13623         * locale/programs/ld-identification.c (identification_output): Use
13624         new locale_file interface.
13625         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13626         * locale/programs/ld-messages.c (messages_output): Likewise.
13627         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13628         * locale/programs/ld-name.c (name_output): Likewise.
13629         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13630         * locale/programs/ld-paper.c (paper_output): Likewise.
13631         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13632         * locale/programs/ld-time.c (time_output): Likewise.
13633
13634 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13635
13636         * benchtests/Makefile: Add memrchr benchmark.
13637         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13638         benchmark as memrchr.
13639         * benchtests/bench-memrchr-ifunc.c: New file.
13640         * benchtests/bench-memrchr.c: New file.
13641
13642 2013-09-06   Will Newton  <will.newton@linaro.org>
13643
13644         * benchtests/Makefile (string-bench): Add memcpy.
13645
13646 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13647             Cong Wang  <amwang@redhat.com>
13648
13649         [BZ #15850]
13650         * sysdeps/unix/sysv/linux/bits/in.h
13651         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13652         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13653         before __USE_KERNEL_IPV6_DEFS uses.
13654         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13655         IPPROTO_BEETPH.
13656         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13657         sockaddr_in6, or ipv6_mreq.
13658
13659 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13660
13661         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13662         memory access for final bytes in some large inputs.
13663         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13664
13665 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13666
13667         * string/test-memrchr.c: New file.
13668         * string/test-memrchr-ifunc.c: New file.
13669         * string/Makefile: Add new memrchr testcase.
13670
13671 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13672
13673         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13674         fanotify_init returns EPERM.
13675
13676 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13677
13678         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13679         errors.
13680         (top level): Treat second token from macro or constant entries for
13681         allowed headers as allowed.
13682         * include/complex.h: Condition internal declarations on
13683         [!_ISOMAC].
13684         * include/fenv.h: Condition include of <stdbool.h> and internal
13685         declarations on [!_ISOMAC].
13686
13687 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13688
13689         [BZ #15923]
13690         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13691
13692 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13693
13694         * configure.in (--enable-versioning): Remove configure option.
13695         (libc_cv_asm_symver_directive): Remove configure test.
13696         (libc_cv_ld_version_script_option): Likewise.
13697         (VERSIONING): Remove variable and AC_SUBST.
13698         (DO_VERSIONING): Remove AC_DEFINE.
13699         * configure: Regenerated.
13700         * config.h.in (DO_VERSIONING): Remove macro.
13701         * Makerules [$(versioning) = yes]: Change conditionals to
13702         [$(build-shared) = yes].
13703         * config.make.in (versioning): Remove variable.
13704         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13705         [$(build-shared) = yes].
13706         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13707         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13708         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13709         [$(build-shared) = yes].
13710         * extra-lib.mk [$(versioning) = yes]: Likewise.
13711         * hurd/Makefile [$(versioning) = yes]: Likewise.
13712         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13713         [SHARED].
13714         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13715         [SHARED].
13716         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13717         [SHARED && !NO_HIDDEN].
13718         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13719         [SHARED].
13720         [SHARED && DO_VERSIONING]: Likewise..
13721         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13722         [$(build-shared) = yes].
13723         * manual/install.texi (--disable-versioning): Remove
13724         documentation.
13725         * INSTALL: Regenerated.
13726         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13727         to [SHARED].
13728         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13729         [$(build-shared) = yes].
13730         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13731         * sysdeps/i386/i686/multiarch/strstr-c.c
13732         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13733         [SHARED && !NO_HIDDEN].
13734         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13735         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13736         * sysdeps/powerpc/powerpc32/dl-machine.c
13737         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13738         * sysdeps/powerpc/powerpc32/sysdep.h
13739         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13740         to [SHARED && PIC && !NO_HIDDEN].
13741         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13742         conditional to [SHARED].
13743
13744 2013-09-04   Will Newton  <will.newton@linaro.org>
13745
13746         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13747         * benchtests/bench-string.h: Include bench-timing.h instead
13748         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13749         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13750         call to HP_TIMING_DIFF_INIT.
13751         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13752         instead of hp-timing.h macros.
13753         * benchtests/bench-memchr.c: Likewise.
13754         * benchtests/bench-memcmp.c: Likewise.
13755         * benchtests/bench-memcpy.c: Likewise.
13756         * benchtests/bench-memmem.c: Likewise.
13757         * benchtests/bench-memmove.c: Likewise.
13758         * benchtests/bench-memset.c: Likewise.
13759         * benchtests/bench-rawmemchr.c: Likewise.
13760         * benchtests/bench-strcasecmp.c: Likewise.
13761         * benchtests/bench-strcasestr.c: Likewise.
13762         * benchtests/bench-strcat.c: Likewise.
13763         * benchtests/bench-strchr.c: Likewise.
13764         * benchtests/bench-strcmp.c: Likewise.
13765         * benchtests/bench-strcpy.c: Likewise.
13766         * benchtests/bench-strcpy_chk.c: Likewise.
13767         * benchtests/bench-strlen.c: Likewise.
13768         * benchtests/bench-strncasecmp.c: Likewise.
13769         * benchtests/bench-strncat.c: Likewise.
13770         * benchtests/bench-strncmp.c: Likewise.
13771         * benchtests/bench-strncpy.c: Likewise.
13772         * benchtests/bench-strnlen.c: Likewise.
13773         * benchtests/bench-strpbrk.c: Likewise.
13774         * benchtests/bench-strrchr.c: Likewise.
13775         * benchtests/bench-strspn.c: Likewise.
13776         * benchtests/bench-strstr.c: Likewise.
13777
13778 2013-09-04  Will Newton  <will.newton@linaro.org>
13779
13780         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13781
13782 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13783
13784         [BZ #15427]
13785         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13786         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13787         * math/libm-test.inc (lgamma_test_data): Add more tests.
13788         * sysdeps/i386/fpu/libm-test-ulps: Update.
13789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13790
13791 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13792
13793         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13795         Add ifunc.
13796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13797         Add strcmp-sse2-unaligned
13798         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13799
13800 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13801
13802         * Versions.def (libc): Add GLIBC_2.19.
13803
13804 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13805
13806         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13807         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13808
13809 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13810
13811         [BZ #14155]
13812         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13813         intermediate calculations in recurrence.
13814         (__ieee754_ynf): Likewise.
13815         * math/libm-test.inc (jn_test_data): Do not allow spurious
13816         underflow exception.  Add more tests.
13817         (yn_test_data): Add more tests.
13818         * sysdeps/i386/fpu/libm-test-ulps: Update.
13819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13820
13821 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13822
13823         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13824
13825 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13826
13827         * csu/init-first.c: Fix then/than typos.
13828         * locale/programs/ld-collate.c: Likewise.
13829         * locale/programs/linereader.h: Likewise.
13830         * manual/charset.texi: Likewise.
13831         * manual/filesys.texi: Likewise.
13832         * manual/stdio.texi: Likewise.
13833         * manual/string.texi: Likewise.
13834         * stdlib/fmtmsg.c: Likewise.
13835         * sysdeps/i386/stpncpy.S: Likewise.
13836         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13837         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13838         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13839         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13840
13841 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13842
13843         * elf/dl-open.c: Fix typos.
13844         * iconvdata/gbbig5.c: Likewise.
13845         * iconvdata/iso-2022-jp.c: Likewise.
13846         * iconv/gconv_int.h: Likewise.
13847         * iconv/loop.c: Likewise.
13848         * nis/rpcsvc/nis.h: Likewise.
13849         * resolv/ns_name.c: Likewise.
13850         * stdio-common/vfscanf.c: Likewise.
13851         * streams/stropts.h: Likewise.
13852         * sunrpc/rpc_thread.c: Likewise.
13853         * sysdeps/i386/strpbrk.S: Likewise.
13854         * sysdeps/ieee754/k_standard.c: Likewise.
13855         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13856         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13857         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13858         * sysdeps/mach/hurd/profil.c: Likewise.
13859         * sysdeps/s390/dl-procinfo.h: Likewise.
13860         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13861         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13862         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13863         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13864         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13865
13866 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13867
13868         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13870
13871 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13872
13873         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13874         aix specific files.
13875         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13876         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13877         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13878         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13879         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13880         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13881         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13882         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13883
13884 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13885             Roland McGrath  <roland@hack.frob.com>
13886
13887         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13888         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13889
13890 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13891
13892         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13893         __executable_start symbol instead of _start.
13894
13895 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13896
13897         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13898         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13899         Move macros to...
13900         * sysdeps/gnu/ldsodefs.h: ... this new file.
13901
13902         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13903         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13904         instead of ELFOSABI_LINUX.
13905
13906         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13907         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13908         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13909         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13910         Likewise.
13911         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13912         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13913         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13914         Likewise.
13915         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13916         (ibm_extended_long_double): Add ieee_nan member.
13917         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13918         (do_test): New function.
13919
13920         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13921         TEST_TRUNC.
13922         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13923         functions, renamed from truncdfsf_test, trunctfsf_test,
13924         trunctfdf_test.
13925         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13926         functions.
13927         (do_test): Run all these.
13928
13929 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13930
13931         * argp/argp-help.c: Fix typos.
13932         * argp/argp-parse.c: Likewise.
13933         * debug/backtracesyms.c: Likewise.
13934         * elf/elf.h: Likewise.
13935         * malloc/malloc.c: Likewise.
13936         * nis/nis_print.c: Likewise.
13937         * resolv/res_comp.c: Likewise.
13938         * stdlib/stdlib.h: Likewise.
13939         * sunrpc/clnt_tcp.c: Likewise.
13940         * sunrpc/clnt_udp.c: Likewise.
13941         * sunrpc/clnt_unix.c: Likewise.
13942         * sysdeps/unix/bsd/ptsname.c: Likewise.
13943         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13944         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13946         Likewise.
13947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13948         Likewise.
13949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13950         Likewise.
13951         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13952
13953 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13954
13955         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13957
13958 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13959
13960         [BZ #15897]
13961         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13962         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13963         ($(objpfx)bug-dl-leaf): New rule.
13964         ($(objpfx)bug-dl-leaf.so): Likewise.
13965         ($(objpfx)bug-dl-leaf.out): Likewise.
13966         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13967         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13968         * dlfcn/bug-dl-leaf.c: New test.
13969         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13970         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13971         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13972         (dlclose): Likewise.
13973         (dlmopen): Likewise.
13974
13975 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13976
13977         * include/netdb.h [!_ISOMAC]:
13978         Don't include <tls.h>.
13979         (h_errno, __libc_h_errno): Move declaration and macros out of
13980         [_LIBC_REENTRANT].
13981
13982         * include/resolv.h [_RESOLV_H_]:
13983         Don't include <tls.h>.
13984         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13985         * resolv/res_libc.c: Don't include <tls.h>.
13986         (_res): Use __attribute__ ((nocommon)) in place of
13987         __attribute__ ((section (".bss"))).
13988
13989         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13990         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13991
13992         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13993
13994         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13995         only under [SIOCGIFCONF && SIOCGIFNETMASK].
13996
13997         * resolv/res_mkquery.c: Include <sys/time.h>.
13998
13999         * inet/ifreq.c: Moved to ...
14000         * sysdeps/unix/ifreq.c: ... here.
14001         * inet/ifreq.c: New file, true stub version.
14002
14003         * socket/sa_len.c: New file.
14004         * socket/Makefile (aux): Add it.
14005         * sysdeps/unix/sysv/linux/Makefile
14006         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14007         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14008         and #include <socket/sa_len.c>.
14009         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14010         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14011
14012         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14013         * bits/socket.h: ... here.
14014
14015         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14016         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14017         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14018
14019 2013-08-27  Andreas Schwab  <schwab@suse.de>
14020
14021         [BZ #15736]
14022         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14023         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14024         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14025         * string/test-strcasecmp.c (test_main): Run tests in several
14026         locales.
14027         * string/test-strncasecmp.c (test_main): Likewise.
14028
14029         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14030         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14031         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14032         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14033         (__strncasecmp_ssse3) [PIC]: Likewise.
14034
14035 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14036
14037         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14038
14039         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14040         instead of explicitly declaring xdecrypt.
14041         * nis/nss_nis/nis-publickey.c: Likewise.
14042
14043 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14044
14045         [BZ #15890]
14046         * nscd/aicache.c: Include res_hconf.h.
14047         (addhstaiX): Initialize res_hconf.
14048
14049 2013-08-26  Andreas Schwab  <schwab@suse.de>
14050
14051         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14052         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14053
14054 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14055
14056         * nscd/aicache.c (addhstaiX): Fix indentation.
14057
14058 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14059
14060         * configure.ac: Quote $build_pt_chown test.
14061         * configure: Regenerated.
14062
14063 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14064
14065         [BZ #15532]
14066         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14067         * math/s_cexpf.c (__cexpf): Likewise.
14068         * math/s_cexpl.c (__cexpl): Likewise.
14069         * math/libm-test.inc (cexp_test_data): Correct expected return
14070         value for NaN + i0.  Add another test.
14071
14072 2013-08-22  David S. Miller  <davem@davemloft.net>
14073
14074         * po/ca.po: Update Catalan translation from translation project.
14075         * po/uk.po: Add Ukrainian translations from translation project.
14076
14077 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14078
14079         [BZ #15797]
14080         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14081         is infinite, not alongside NaN test.
14082         * math/s_fdimf.c (__fdimf): Likewise.
14083         * math/s_fdiml.c (__fdiml): Likewise.
14084         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14085         errno is unchanged.
14086
14087 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14088
14089         * argp/argp-help.c: Fix typos.
14090         * crypt/speeds.c: Likewise.
14091         * csu/check_fds.c: Likewise.
14092         * elf/dl-load.c: Likewise.
14093         * elf/dl-open.c: Likewise.
14094         * elf/reldep3.c: Likewise.
14095         * elf/reldep.c: Likewise.
14096         * elf/sprof.c: Likewise.
14097         * iconv/iconv_charmap.c: Likewise.
14098         * iconv/skeleton.c: Likewise.
14099         * iconv/strtab.c: Likewise.
14100         * io/lockf64.c: Likewise.
14101         * libio/libioP.h: Likewise.
14102         * resolv/gai_notify.c: Likewise.
14103         * resolv/ns_name.c: Likewise.
14104         * resolv/ns_samedomain.c: Likewise.
14105         * resolv/res_send.c: Likewise.
14106         * stdlib/random.c: Likewise.
14107         * sunrpc/rpc/xdr.h: Likewise.
14108         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14109         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14110         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14111         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14112         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14113         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14114         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14115         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14116         * sysdeps/mach/hurd/check_fds.c: Likewise.
14117         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14118         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14119         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14120         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14121         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14122         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14123         * sysdeps/pthread/aio_notify.c: Likewise.
14124         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14125         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14126         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14127         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14128         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14129
14130 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14131
14132         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14133         version if bit_Slow_SSE4_2 is set.
14134         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14135         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14136
14137 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14138
14139         [BZ #15867]
14140         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14141         trampoline stack frame information.
14142         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14143         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14144         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14145         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14146         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14147         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14148         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14149         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14150         sa_flags value.
14151         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14152         interrupting a syscall and set with option SA_SIGINFO.
14153
14154 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14155
14156         [BZ #15531]
14157         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14158         argument is infinite.
14159         * math/s_cprojf.c (__cprojf): Likewise.
14160         * math/s_cprojl.c (__cprojl): Likewise.
14161         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14162         * math/libm-test.inc (cproj_test_data): Add more tests.
14163
14164         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14165
14166         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14167         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14168         size.  Use __ffs to determine corresponding shift.
14169
14170 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14171             Roland McGrath  <roland@hack.frob.com>
14172
14173         * Makefile (INSTALL): Remove trailing blank lines from output of
14174         makeinfo.
14175
14176 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14177
14178         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14179         Align 32 bit compat elf_greg to 8 bytes.
14180
14181 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14182
14183         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14184
14185 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14186
14187         * string/strcoll_l.c (coll_seq): New structure.
14188         (get_next_seq_cached): New function.
14189         (get_next_seq): New function.
14190         (do_compare): New function.
14191         (STRCOLL): Use GNU style definition.  Simplify implementation
14192         by using get_next_seq, get_next_seq_cached and do_compare.
14193
14194 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14195
14196         [BZ #14699]
14197         CVE-2013-4237
14198         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14199         member.
14200         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14201         member.
14202         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14203         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14204         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14205         conditional.
14206         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14207         GETDENTS_64BIT_ALIGNED.
14208         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14209         * manual/filesys.texi (Reading/Closing Directory): Document
14210         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14211         strongly.
14212         * manual/conf.texi (Limits for Files): Add portability note to
14213         NAME_MAX, PATH_MAX.
14214         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14215
14216 2013-08-13  Andreas Schwab  <schwab@suse.de>
14217
14218         [BZ #15749]
14219         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14220         of fabs.
14221         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14222         LDBL_MAX_EXP >= 16384]: Add tests for it.
14223
14224 2013-08-12  David S. Miller  <davem@davemloft.net>
14225
14226         * version.h (RELEASE): Set to "development".
14227         (VERSION): Set to "2.18.90".
14228         * NEWS: Add 2.19 section.
14229
14230 2013-08-03  David S. Miller  <davem@davemloft.net>
14231
14232         * po/ko.po: Update Korean translation from translation project.
14233
14234 2013-08-01  David S. Miller  <davem@davemloft.net>
14235
14236         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14237         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14238         Bilka.
14239
14240 2013-07-30  David S. Miller  <davem@davemloft.net>
14241
14242         * po/fr.po: Update French translation from translation project.
14243
14244 2013-07-28  David S. Miller  <davem@davemloft.net>
14245
14246         * po/cs.po: Update Czech translation from translation project.
14247
14248         * po/sv.po: Update Swedish translation from translation project.
14249
14250 2013-07-27  David S. Miller  <davem@davemloft.net>
14251
14252         * po/eo.po: Update Esperanto translation from translation project.
14253
14254         * po/vi.po: Update Vietnamese translation from translation project.
14255
14256         * po/de.po: Update German translation from translation project.
14257
14258 2013-07-26  David S. Miller  <davem@davemloft.net>
14259
14260         * po/bg.po: Update Bulgarian translation from translation project.
14261
14262         * po/nl.po: Update Dutch translation from translation project.
14263         * po/pl.po: Update Polish translation from translation project.
14264         * po/ru.po: Update Russian translation from translation project.
14265
14266 2013-07-24  David S. Miller  <davem@davemloft.net>
14267
14268         * po/libc.pot: Update.
14269
14270 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14271
14272         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14273         variable page size.
14274         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14275         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14276         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14277
14278 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14279
14280         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14281
14282 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14283             Andreas Schwab  <schwab@suse.de>
14284             Roland McGrath  <roland@hack.frob.com>
14285             Joseph Myers  <joseph@codesourcery.com>
14286             Carlos O'Donell  <carlos@redhat.com>
14287
14288         [BZ #15755]
14289         * config.h.in: Define HAVE_PT_CHOWN.
14290         * config.make.in (build-pt-chown): New variable.
14291         * configure.in (--enable-pt_chown): New configure option.
14292         * configure: Regenerate.
14293         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14294         build-pt-chown is enabled.
14295         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14296         pt_chown to fix pty ownership.
14297         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14298         CLOSE_ALL_FDS.
14299         * manual/install.texi (Configuring and compiling): Mention
14300         --enable-pt_chown. Add @findex for grantpt.
14301         * INSTALL: Regenerate.
14302
14303 2013-07-20  David S. Miller  <davem@davemloft.net>
14304
14305         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14306         difference between 32-bit and 64-bit.
14307
14308 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14309
14310         [BZ #15711]
14311         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14312         Avoid system header dependency with -ffreestanding.
14313         ($(objpfx)bits/syscall%d): Likewise.
14314
14315 2013-07-13  David S. Miller  <davem@davemloft.net>
14316
14317         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14318         underflows from atanl/atan2l due to bug 15319.
14319         (casinh_test_data): Likewise.
14320
14321 2013-07-07  David S. Miller  <davem@davemloft.net>
14322
14323         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14324
14325 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14326
14327         * sysdeps/i386/fpu/libm-test-ulps: Update.
14328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14329
14330 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14331
14332         * configure.in (--enable-lock-elision): Fix message text.
14333         * INSTALL: Regenerate.
14334         * configure: Regenerate.
14335
14336 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14337
14338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14339
14340 2013-07-03  Andreas Jaeger  <aj@suse.de>
14341
14342         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14343         define.
14344         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14345         (ptrace_peeksiginfo_args): Add.
14346         (__ptrace_peeksiginfo_flags): Add.
14347         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14348         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14349         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14350
14351 2013-07-03  Allan McRae  <allan@archlinux.org>
14352
14353         * sysdeps/i386/fpu/libm-test-ulps: Update.
14354
14355 2013-07-02  David S. Miller  <davem@davemloft.net>
14356
14357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14358
14359 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14360
14361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14362
14363 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14364
14365         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14367
14368 2013-07-02  Andi Kleen <ak@linux.intel.com>
14369
14370         * config.h.in (ENABLE_LOCK_ELISION): Add.
14371         * configure.in (--enable-lock-elision): Add option.
14372         * manual/install.texi: Document --enable lock elision.
14373         * configure: Regenerate
14374         * INSTALL: Regenerate.
14375
14376 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14377
14378         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14379         SSE4.2 strcasecmp for libc.a.
14380         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14381
14382 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14383
14384         [BZ #13304]
14385         * soft-fp/op-common.h (_FP_FMA): New macro.
14386         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14387         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14388         (_FP_MUL_MEAT_1_imm): ... here.
14389         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14390         (_FP_MUL_MEAT_1_wide): ... here.
14391         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14392         (_FP_MUL_MEAT_1_hard): ... here.
14393         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14394         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14395         (_FP_MUL_MEAT_2_wide): ... here.
14396         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14397         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14398         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14399         (_FP_MUL_MEAT_2_gmp): ... here.
14400         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14401         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14402         (_FP_MUL_MEAT_4_wide): ... here.
14403         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14404         (_FP_MUL_MEAT_4_gmp): ... here.
14405         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14406         (_FP_WFRACBITS_DW_S): Likewise.
14407         (_FP_WFRACXBITS_DW_S): Likewise.
14408         (_FP_HIGHBIT_DW_S): Likewise.
14409         (FP_FMA_S): Likewise.
14410         (_FP_FRAC_HIGH_DW_S): Likewise.
14411         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14412         (_FP_WFRACBITS_DW_D): Likewise.
14413         (_FP_WFRACXBITS_DW_D): Likewise.
14414         (_FP_HIGHBIT_DW_D): Likewise.
14415         (FP_FMA_D): Likewise.
14416         (_FP_FRAC_HIGH_DW_D): Likewise.
14417         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14418         (_FP_WFRACBITS_DW_E): Likewise.
14419         (_FP_WFRACXBITS_DW_E): Likewise.
14420         (_FP_HIGHBIT_DW_E): Likewise.
14421         (FP_FMA_E): Likewise.
14422         (_FP_FRAC_HIGH_DW_E): Likewise.
14423         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14424         (_FP_WFRACBITS_DW_Q): Likewise.
14425         (_FP_WFRACXBITS_DW_Q): Likewise.
14426         (_FP_HIGHBIT_DW_Q): Likewise.
14427         (FP_FMA_Q): Likewise.
14428         (_FP_FRAC_HIGH_DW_Q): Likewise.
14429         * soft-fp/fmasf4.c: New file.
14430         * soft-fp/fmadf4.c: Likewise.
14431         * soft-fp/fmatf4.c: Likewise.
14432
14433 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14434
14435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14436         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14437         Silvermont.
14438         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14439         macro.
14440         (index_Slow_SSE4_2): Likewise.
14441         (index_Prefer_PMINUB_for_stringop): Likewise.
14442         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14443         bit_Slow_SSE4_2 is set.
14444         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14445         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14446
14447 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14448
14449         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14450         rtld_global._dl_hwcap2.
14451         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14452         POWER8.
14453         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14454         POWER8 feature descriptions defined in _dl_hwcap2.
14455         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14456         string handling for POWER8 feature bits.
14457         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14458         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14459         _dl_powerpc_cap_flags.
14460         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14461         * sysdeps/powerpc/rtld-global-offsets.sym
14462         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14463         _dl_hwcap2 in the rtld_global_ro structure.
14464
14465 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14466
14467         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14468         hardware capabilities in support of AT_HWCAP2.
14469         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14470         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14471         GLRO(dl_hwcap2).
14472         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14473         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14474         explicitly the unknown a_type display mechanism is used.
14475         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14476         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14477         struct member.
14478         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14479         to macro prototype for AT_HWCAP2 support.
14480         * sysdeps/i386/dl-procinfo.h: Likewise.
14481         * sysdeps/s390/dl-procinfo.h: Likewise.
14482         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14483         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14484         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14485         return -1 for unknown a_type display fallback.
14486         * sysdeps/sparc/dl-procinfo.h: Likewise.
14487         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14488         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14489
14490 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14491
14492         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14493         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14494
14495 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14496
14497         [BZ #12492]
14498         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14499         mprotect making __stack_prot writable.
14500
14501 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14502             Joseph Myers  <joseph@codesourcery.com>
14503
14504         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14505         as being properly aligned.
14506
14507 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14508
14509         * dlfcn/modstatic5.c: New file.
14510         * dlfcn/tststatic5.c: New file.
14511         * dlfcn/Makefile (tests): Add tststatic5.
14512         (tests-static): Likewise.
14513         (modules-names): Add modstatic5.
14514         (tststatic5-ENV): New variable.
14515         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14516
14517         [BZ #15022]
14518         * elf/dl-support.c (_dl_main_map): New variable.
14519         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14520         (_dl_nns, _dl_load_adds): Set to 1.
14521         (_dl_initial_searchlist): Refer to _dl_main_map.
14522         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14523         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14524         call to _dl_get_origin.
14525         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14526         around call_map.
14527         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14528         * dlfcn/modstatic3.c: New file.
14529         * dlfcn/tststatic3.c: New file.
14530         * dlfcn/tststatic4.c: New file.
14531         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14532         (tests-static): Likewise.
14533         (modules-names): Add modstatic3.
14534         (tststatic3-ENV, tststatic4-ENV): New variables.
14535         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14536         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14537
14538 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14539
14540         * configure.in (CC): Require GCC version 4.4 or later.
14541         * configure: Regenerated.
14542         * manual/install.texi (Tools for Compilation): Update GCC version
14543         requirement.
14544         * INSTALL: Regenerated.
14545
14546 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14547
14548         [BZ #15674]
14549         * string/test-memcmp.c (check2): New.
14550         (main): Call check2.
14551
14552         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14553
14554 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14555
14556         [BZ #15022]
14557         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14558         over to...
14559         (dl_open_worker) [!SHARED]: ... here.
14560
14561 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14562
14563         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14564
14565 2013-06-25  Richard Henderson  <rth@redhat.com>
14566
14567         * locale/programs/locarchive.c: Include <libc-internal.h>
14568
14569 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14570
14571         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14572         trailing whitespace removed.
14573
14574 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14575
14576         [BZ #10283]
14577         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14578         * locale/programs/locarchive.c: Include libc-mmap.h.
14579         (prepare_address_space): Take two new outputs (the mmap base and len).
14580         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14581         values.
14582         (create_archive): Declare new mmap base and len values for
14583         prepare_address_space, and store the result in ah.
14584         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14585         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14586         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14587         Declare new mmap base and len values for
14588         prepare_address_space, and store the result in new_ah.
14589         (open_archive): Declare new mmap base and len values for
14590         prepare_address_space, and store the result in ah.
14591         (close_archive): If ah->mmap_base is not NULL, use that and
14592         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14593         * sysdeps/generic/libc-mmap.h: New file.
14594
14595 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14596
14597         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14598         (ALIGN_UP): Likewise.
14599         (PTR_ALIGN_DOWN): Likewise.
14600         (PTR_ALIGN_UP): Likewise.
14601
14602 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14603
14604         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14605         entry mapped to PPC_PLATFORM_POWER8.
14606         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14607         POWER8.
14608         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14609         (_dl_string_platform): Add case for exporting platform position for
14610         POWER8.
14611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14612         search path to sysdeps/powerpc/powerpc32/power8 directory.
14613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14614         search path to sysdeps/powerpc/powerpc64/power8 directory.
14615         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14616         power7 directories.
14617         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14618         power7 directories.
14619
14620 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14621
14622         * INSTALL: Regenerate.
14623
14624         * nscd/connections.c (nscd_init): Fix comment.
14625
14626 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14627
14628         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14629
14630         [BZ #15667]
14631         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14632         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14633
14634 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14635
14636         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14637         DL_DST_REQ_STATIC.
14638         (DL_DST_REQ_STATIC): Remove macro.
14639
14640 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14641
14642         [BZ #7006]
14643         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14644         with a shift of 0 bits.
14645
14646 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14647
14648         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14649         $(tststatic-ENV).
14650
14651 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14652
14653         [BZ #15655]
14654         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14655
14656 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14657
14658         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14659         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14660         accepts -fno-tree-loop-distribute-patterns.
14661         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14662         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14663         recursive call.
14664         * string/memset.c (memset): Likewise.
14665         * string/test-memmove.c (simple_memmove): Disable loop transformation
14666         to library calls.
14667         * string/test-memset.c (simple_memset): Likewise.
14668         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14669         * benchtests/bench-memset.c (simple_memset): Likewise.
14670         * configure: Regenerated.
14671
14672 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14673
14674         * math/test-misc.c (main): Ignore fesetround failure when failures
14675         of subsequent rounding tests would be ignored.
14676
14677         [BZ #15654]
14678         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14679         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14680         * math/fegetenv.c (__fegetenv): Return 0.
14681         * math/fegetexcept.c (fegetexcept): Return 0.
14682         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14683         FE_TONEAREST.
14684         * math/feholdexcpt.c (feholdexcept): Return 0.
14685         * math/fesetenv.c (__fesetenv): Return 0.
14686         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14687         argument FE_TONEAREST.
14688         * math/feupdateenv.c (__feupdateenv): Return 0.
14689         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14690
14691 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14692
14693         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14694         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14695         ($(objpfx)rtld-%.os rules): Use them.
14696
14697 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14698
14699         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14700         fields.
14701
14702 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14703
14704         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14705         length of target pattern, then descending length of dependency pattern.
14706         * configure.in (AWK): Require gawk 3.1.2 or newer.
14707         * manual/install.texi (Tools for Compilation): Say that we do.
14708         * configure: Regenerated.
14709
14710         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14711         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14712         * scripts/sysd-rules.awk: ... this new script.
14713         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14714         than a glob-style pattern.
14715
14716 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14717
14718         * math/test-misc.c (main): Do not treat incorrectly rounded
14719         conversions as failure unless ROUNDING_TESTS passes.
14720
14721 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14722
14723         [BZ #15631]
14724         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14725         restore exception state around main square root computation, then
14726         check for inexactness explicitly.
14727
14728         * math/libm-test.inc (fma_test_data): Add another test.
14729
14730 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14731
14732         * manual/threads.texi (Non-POSIX Extensions): New document
14733         node.  Document pthread_getattr_default_np and
14734         pthread_setattr_default_np.
14735
14736         * Versions.def (libpthread): Add GLIBC_2.18.
14737         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14739         Likewise.
14740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14741         Likewise.
14742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14743         Likewise.
14744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14745         Likewise.
14746         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14747         Likewise.
14748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14749         Likewise.
14750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14751         Likewise.
14752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14753         Likewise.
14754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14755         Likewise.
14756
14757 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14758
14759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14760         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14761
14762 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14763             H.J. Lu  <hjl.tools@gmail.com>
14764
14765         [BZ #15627]
14766         * sysdeps/x86_64/rtld-memset.c: Remove file.
14767         * sysdeps/x86_64/rtld-memset.S: New file.
14768
14769 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14770
14771         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14772         (test_in_one_mode): Take arguments for whether the rounding mode
14773         is supported for each floating-point type.
14774         (do_test): Pass new arguments to test_in_one_mode using
14775         ROUNDING_TESTS.
14776
14777 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14778
14779         * posix/tst-waitid.c (do_test): Distinguish different instances of
14780         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14781         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14782         before entering the kernel for waitpid.
14783
14784 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14785
14786         * NEWS: Fix note on clock function precision.  Text by Roland
14787         McGrath.
14788
14789 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14790
14791         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14792         it into place only when and if the sanity check passes.
14793
14794 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14795
14796         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14797         output for whether conversion result is exact.  Take argument
14798         indicating whether type is IBM long double.
14799         (round_for_all): Change need_exact field to ibm_ld.
14800         * stdlib/tst-strtod-round.c (struct exactness): New type.
14801         (struct test): Change bool ld_ok field to struct exactness exact.
14802         (TEST): Update all definitions for change to field.
14803         (tests): Regenerate array contents.
14804         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14805         field value.  Check for IBM long double here.
14806         (do_test): Update calls to test_in_one_mode.
14807
14808 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14809
14810         [BZ #12515]
14811         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14812         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14813
14814 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14815
14816         [BZ #15605]
14817         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14818         generated by the compiler on loop optimizations.
14819         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14820         general definitions.
14821
14822 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14823
14824         * math/bug-nextafter.c: Include <math-tests.h>.
14825         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14826         the relevant type.
14827         * math/bug-nexttoward.c: Include <math-tests.h>.
14828         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14829         the relevant type.
14830         * math/test-misc.c: Include <math-tests.h>.
14831         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14832         the relevant type.
14833
14834 2013-06-12  Andreas Jaeger  <aj@suse.de>
14835
14836         * po/ia.po: Update Interlingua translation from translation
14837         project.
14838
14839 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14840
14841         * include/fenv.h: Include stdbool.h.
14842         (struct rm_ctx): New structure.
14843         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14844         Define macro.
14845         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14846         (SET_RESTORE_ROUNDF): Likewise.
14847         (SET_RESTORE_ROUNDL): Likewise.
14848         (SET_RESTORE_ROUND_NOEX): Likewise.
14849         (SET_RESTORE_ROUND_NOEXF): Likewise.
14850         (SET_RESTORE_ROUND_NOEXL): Likewise.
14851         (SET_RESTORE_ROUND_53BIT): Likewise.
14852         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14853         (libc_feresetround_noexf_ctx): Likewise.
14854         (libc_feresetround_noexl_ctx): Likewise.
14855         (libc_feholdsetround_53bit_ctx): Likewise.
14856         (libc_feresetround_53bit_ctx): Likewise.
14857         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14858         (libc_feholdexcept_setround_sse_ctx): New function.
14859         (libc_fesetenv_sse_ctx): Likewise.
14860         (libc_feupdateenv_sse_ctx): Likewise.
14861         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14862         (libc_feholdexcept_setround_387_ctx): Likewise.
14863         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14864         (libc_feholdsetround_387_prec_ctx): Likewise.
14865         (libc_feholdsetround_387_ctx): Likewise.
14866         (libc_feholdsetround_387_53bit_ctx): Likewise.
14867         (libc_feholdsetround_sse_ctx): Likewise.
14868         (libc_feresetround_sse_ctx): Likewise.
14869         (libc_feresetround_387_ctx): Likewise.
14870         (libc_feupdateenv_387_ctx): Likewise.
14871         (libc_feholdexcept_setroundf_ctx): Define macro.
14872         (libc_fesetenvf_ctx): Likewise.
14873         (libc_feupdateenvf_ctx): Likewise.
14874         (libc_feholdsetroundf_ctx): Likewise.
14875         (libc_feresetroundf_ctx): Likewise.
14876         (libc_feholdexcept_setround_ctx): Likewise.
14877         (libc_fesetenv_ctx): Likewise.
14878         (libc_feupdateenv_ctx): Likewise.
14879         (libc_feholdsetround_ctx): Likewise.
14880         (libc_feresetround_ctx): Likewise.
14881         (libc_feholdexcept_setroundl_ctx): Likewise.
14882         (libc_feupdateenvl_ctx): Likewise.
14883         (libc_feholdsetroundl_ctx): Likewise.
14884         (libc_feresetroundl_ctx): Likewise.
14885         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14886         (libc_feresetround_53bit_ctx): Likewise.
14887
14888 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14889
14890         * locale/iso-639.def: Convert to UTF-8.
14891
14892 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14893
14894         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14895         (EXCEPTION_TESTS_double): Likewise.
14896         (EXCEPTION_TESTS_long_double): Likewise.
14897         (EXCEPTION_TESTS): Likewise.
14898         * math/libm-test.inc (test_exceptions): Only test exceptions if
14899         EXCEPTION_TESTS (FLOAT).
14900
14901 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14902
14903         * benchtests/Makefile (string-bench): Add strcpy_chk and
14904         stpcpy_chk.
14905         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14906         * benchtests/bench-stpcpy_chk.c: New file.
14907         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14908         * benchtests/bench-strcpy_chk.c: New file.
14909         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14910         code.
14911         (do_test): Likewise.
14912
14913 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14914
14915         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14916         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14917         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14918         with tabs where appropriate.
14919         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14920         dl-procinfo.h.
14921         [PPC_PLATFORM_PPC440]: Likewise.
14922         [PPC_PLATFORM_PPC464]: Likewise.
14923         [PPC_PLATFORM_PPC476]: Likewise.
14924         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14925         ppc464, and ppc476 platform strings merging from ports/
14926         dl-procinfo.h.
14927
14928 2013-06-11  Andreas Schwab  <schwab@suse.de>
14929
14930         [BZ #14991]
14931         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14932         (from_ucs4_idx): Regenerate.
14933         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14934         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14935         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14936         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14937         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14938         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14939         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14940         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14941         from FROM_LOOP and TO_LOOP specific macros.
14942         (BODY): Handle combining characters.
14943         * iconvdata/BIG5HKSCS.irreversible: Update.
14944         * iconvdata/BIG5HKSCS.precomposed: New file.
14945         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14946         characters.
14947         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14948
14949 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14950
14951         * include/sys/time.h: Fix indentation and add copyright header.
14952
14953         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14954         (do_test): Likewise.
14955         * string/test-memchr.c (do_one_test): Likewise.
14956         (do_test): Likewise.
14957         * string/test-memcmp.c (do_one_test): Likewise.
14958         (do_test): Likewise.
14959         * string/test-memcpy.c (do_one_test): Likewise.
14960         (do_test): Likewise.
14961         * string/test-memmem.c (do_one_test): Likewise.
14962         (do_test): Likewise.
14963         (do_random_tests): Likewise.
14964         * string/test-memmove.c (do_one_test): Likewise.
14965         (do_test): Likewise.
14966         * string/test-memset.c (do_one_test): Likewise.
14967         (do_test): Likewise.
14968         * string/test-rawmemchr.c (do_one_test): Likewise.
14969         (do_test): Likewise.
14970         * string/test-strcasecmp.c (do_one_test): Likewise.
14971         (do_test): Likewise.
14972         * string/test-strcasestr.c (do_one_test): Likewise.
14973         (do_test): Likewise.
14974         * string/test-strcat.c (do_one_test): Likewise.
14975         (do_test): Likewise.
14976         * string/test-strchr.c (do_one_test): Likewise.
14977         (do_test): Likewise.
14978         * string/test-strcmp.c (do_one_test): Likewise.
14979         (do_test): Likewise.
14980         * string/test-strcpy.c (do_one_test): Likewise.
14981         (do_test): Likewise.
14982         * string/test-string.h: Likewise.
14983         (test_init): Likewise.
14984         * string/test-strlen.c (do_one_test): Likewise.
14985         (do_test): Likewise.
14986         * string/test-strncasecmp.c (do_one_test): Likewise.
14987         (do_test): Likewise.
14988         * string/test-strncat.c (do_one_test): Likewise.
14989         (do_test): Likewise.
14990         * string/test-strncmp.c (do_one_test): Likewise.
14991         (do_test_limit): Likewise.
14992         (do_test): Likewise.
14993         * string/test-strncpy.c (do_one_test): Likewise.
14994         (do_test): Likewise.
14995         * string/test-strnlen.c (do_one_test): Likewise.
14996         (do_test): Likewise.
14997         * string/test-strpbrk.c (do_one_test): Likewise.
14998         (do_test): Likewise.
14999         * string/test-strrchr.c (do_one_test): Likewise.
15000         (do_test): Likewise.
15001         * string/test-strspn.c (do_one_test): Likewise.
15002         (do_test): Likewise.
15003         * string/test-strstr.c (do_one_test): Likewise.
15004         (do_test): Likewise.
15005
15006         * benchtests/Makefile (string-bench): Add string benchmarks.
15007         * benchtests/bench-bcopy-ifunc.c: New file.
15008         * benchtests/bench-bcopy.c: New file.
15009         * benchtests/bench-bzero-ifunc.c: New file.
15010         * benchtests/bench-bzero.c: New file.
15011         * benchtests/bench-memccpy-ifunc.c: New file.
15012         * benchtests/bench-memccpy.c: New file.
15013         * benchtests/bench-memchr-ifunc.c: New file.
15014         * benchtests/bench-memchr.c: New file.
15015         * benchtests/bench-memcmp-ifunc.c: New file.
15016         * benchtests/bench-memcmp.c: New file.
15017         * benchtests/bench-memmem-ifunc.c: New file.
15018         * benchtests/bench-memmem.c: New file.
15019         * benchtests/bench-memmove-ifunc.c: New file.
15020         * benchtests/bench-memmove.c: New file.
15021         * benchtests/bench-mempcpy-ifunc.c: New file.
15022         * benchtests/bench-mempcpy.c: New file.
15023         * benchtests/bench-memset-ifunc.c: New file.
15024         * benchtests/bench-memset.c: New file.
15025         * benchtests/bench-rawmemchr-ifunc.c: New file.
15026         * benchtests/bench-rawmemchr.c: New file.
15027         * benchtests/bench-stpcpy-ifunc.c: New file.
15028         * benchtests/bench-stpcpy.c: New file.
15029         * benchtests/bench-stpncpy-ifunc.c: New file.
15030         * benchtests/bench-stpncpy.c: New file.
15031         * benchtests/bench-strcasecmp-ifunc.c: New file.
15032         * benchtests/bench-strcasecmp.c: New file.
15033         * benchtests/bench-strcasestr-ifunc.c: New file.
15034         * benchtests/bench-strcasestr.c: New file.
15035         * benchtests/bench-strcat-ifunc.c: New file.
15036         * benchtests/bench-strcat.c: New file.
15037         * benchtests/bench-strchr-ifunc.c: New file.
15038         * benchtests/bench-strchr.c: New file.
15039         * benchtests/bench-strchrnul-ifunc.c: New file.
15040         * benchtests/bench-strchrnul.c: New file.
15041         * benchtests/bench-strcmp-ifunc.c: New file.
15042         * benchtests/bench-strcmp.c: New file.
15043         * benchtests/bench-strcpy-ifunc.c: New file.
15044         * benchtests/bench-strcpy.c: New file.
15045         * benchtests/bench-strcspn-ifunc.c: New file.
15046         * benchtests/bench-strcspn.c: New file.
15047         * benchtests/bench-strlen-ifunc.c: New file.
15048         * benchtests/bench-strlen.c: New file.
15049         * benchtests/bench-strncasecmp-ifunc.c: New file.
15050         * benchtests/bench-strncasecmp.c: New file.
15051         * benchtests/bench-strncat-ifunc.c: New file.
15052         * benchtests/bench-strncat.c: New file.
15053         * benchtests/bench-strncmp-ifunc.c: New file.
15054         * benchtests/bench-strncmp.c: New file.
15055         * benchtests/bench-strncpy-ifunc.c: New file.
15056         * benchtests/bench-strncpy.c: New file.
15057         * benchtests/bench-strnlen-ifunc.c: New file.
15058         * benchtests/bench-strnlen.c: New file.
15059         * benchtests/bench-strpbrk-ifunc.c: New file.
15060         * benchtests/bench-strpbrk.c: New file.
15061         * benchtests/bench-strrchr-ifunc.c: New file.
15062         * benchtests/bench-strrchr.c: New file.
15063         * benchtests/bench-strspn-ifunc.c: New file.
15064         * benchtests/bench-strspn.c: New file.
15065         * benchtests/bench-strstr-ifunc.c: New file.
15066         * benchtests/bench-strstr.c: New file.
15067
15068         * benchtests/Makefile: Disable parallel execution of targets.
15069         (string-bench): Add memcpy.
15070         (benchset): New variable to store a list of benchmark sets.
15071         (bench-func): Renamed from bench.
15072         (bench-set): New target.
15073         (bench): Depend on bench-func and bench-set.
15074         * benchtests/README: Add section on benchmark sets.
15075         * benchtests/bench-memcpy-ifunc.c: New file.
15076         * benchtests/bench-memcpy.c: New file.
15077         * benchtests/bench-string.h: New file.
15078
15079 2013-06-11  Andreas Schwab  <schwab@suse.de>
15080
15081         [BZ #15577]
15082         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15083         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15084         values in the triple.
15085         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15086         terminator in the group key.
15087
15088 2013-06-11  Andreas Jaeger  <aj@suse.de>
15089
15090         * po/zh_TW.po: Update Chinese (traditional) translation from
15091         translation project.
15092
15093 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15094
15095         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15096         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15097         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15098         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15099         (clock_getcpuclockid): Likewise.
15100         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15101         Add weak_alias and libc_hidden_def.
15102         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15103         * rt/clock_gettime.c (clock_gettime): Rename to
15104         __clock_gettime.  Add weak_alias and libc_hidden_def.
15105         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15106         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15107         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15108         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15109         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15110         Likewise.
15111         * rt/clock_settime.c (clock_settime): Rename to
15112         __clock_settime.  Add weak_alias and libc_hidden_def.
15113         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15114
15115 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15116
15117         * mach/err_boot.sub: Remove trailing whitespace.
15118         * mach/err_ipc.sub: Likewise.
15119         * mach/err_mach.sub: Likewise.
15120
15121         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15122         (ROUNDING_TESTS_double): Likewise.
15123         (ROUNDING_TESTS_long_double): Likewise.
15124         (ROUNDING_TESTS): Likewise.
15125         * math/libm-test.inc: Include <math-tests.h>.
15126         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15127         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15128         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15129         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15130
15131 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15132
15133         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15134         of assigning.
15135
15136 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15137
15138         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15139         otherwise empty TRANS lines.
15140         * sysdeps/gnu/errlist.c: Regenerated.
15141
15142         * catgets/gencat.c (error_print): Use (void) in function
15143         definition.
15144         * crypt/crypt_util.c (__init_des): Likewise.
15145         * crypt/speeds.c (Stop): Likewise.
15146         (main): Likewise.
15147         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15148         * inet/ruserpass.c (token): Likewise.
15149         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15150         * intl/localealias.c (extend_alias_table): Likewise.
15151         * intl/plural-exp.c (init_germanic_plural): Likewise.
15152         * libio/fcloseall.c (__fcloseall): Likewise.
15153         * libio/genops.c (_IO_flush_all): Likewise.
15154         (_IO_flush_all_linebuffered): Likewise.
15155         (_IO_cleanup): Likewise.
15156         (_IO_iter_begin): Likewise.
15157         (_IO_iter_end): Likewise.
15158         (_IO_list_lock): Likewise.
15159         (_IO_list_unlock): Likewise.
15160         (_IO_list_resetlock): Likewise.
15161         * libio/getchar.c (getchar): Likewise.
15162         * libio/getchar_u.c (getchar_unlocked): Likewise.
15163         * libio/getwchar.c (getwchar): Likewise.
15164         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15165         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15166         * login/getpt.c (__getpt): Likewise.
15167         * login/tst-utmp.c (main): Likewise.
15168         * malloc/hooks.c (__malloc_check_init): Likewise.
15169         * malloc/malloc.c (__malloc_stats): Likewise.
15170         * malloc/mtrace.c (tr_break): Likewise.
15171         (mtrace): Likewise.
15172         (muntrace): Likewise.
15173         * misc/fstab.c (endfsent): Likewise.
15174         * misc/getclktck.c (__getclktck): Likewise.
15175         * misc/getdtsz.c (__getdtablesize): Likewise.
15176         * misc/gethostid.c (gethostid): Likewise.
15177         * misc/getpagesize.c (__getpagesize): Likewise.
15178         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15179         (__get_nprocs): Likewise.
15180         (__get_phys_pages): Likewise.
15181         (__get_avphys_pages): Likewise.
15182         * misc/getttyent.c (getttyent): Likewise.
15183         (setttyent): Likewise.
15184         (endttyent): Likewise.
15185         * misc/getusershell.c (getusershell): Likewise.
15186         (endusershell): Likewise.
15187         (setusershell): Likewise.
15188         (initshells): Likewise.
15189         * misc/hsearch.c (__hdestroy): Likewise.
15190         * misc/sync.c (sync): Likewise.
15191         * misc/syslog.c (closelog_internal): Likewise.
15192         (closelog): Likewise.
15193         * misc/ttyslot.c (ttyslot): Likewise.
15194         * misc/vhangup.c (vhangup): Likewise.
15195         * posix/fork.c (__fork): Likewise.
15196         * posix/getegid.c (__getegid): Likewise.
15197         * posix/geteuid.c (__geteuid): Likewise.
15198         * posix/getgid.c (__getgid): Likewise.
15199         * posix/getpid.c (__getpid): Likewise.
15200         * posix/getppid.c (__getppid): Likewise.
15201         * posix/getuid.c (__getuid): Likewise.
15202         * posix/pause.c (pause): Likewise.
15203         * posix/setpgrp.c (setpgrp): Likewise.
15204         * posix/setsid.c (__setsid): Likewise.
15205         * posix/test-vfork.c (noop): Likewise.
15206         * resolv/gethnamaddr.c (_endhtent): Likewise.
15207         (_gethtent): Likewise.
15208         (ht_endhostent): Likewise.
15209         (gethostent): Likewise.
15210         (dns_service): Likewise.
15211         * stdlib/drand48.c (drand48): Likewise.
15212         * stdlib/lrand48.c (lrand48): Likewise.
15213         * stdlib/mrand48.c (mrand48): Likewise.
15214         * stdlib/rand.c (rand): Likewise.
15215         * stdlib/random.c (__random): Likewise.
15216         * stdlib/setenv.c (clearenv): Likewise.
15217         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15218         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15219         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15220         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15221         (__get_nprocs): Likewise.
15222         (__get_phys_pages): Likewise.
15223         (__get_avphys_pages): Likewise.
15224         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15225         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15226         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15227         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15228         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15229         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15230         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15231         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15232         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15233         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15234         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15235         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15236         * sysdeps/posix/clock.c (clock): Likewise.
15237         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15238         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15239         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15240         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15241         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15242         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15243         (__get_nprocs_conf): Likewise.
15244         (__get_phys_pages): Likewise.
15245         (__get_avphys_pages): Likewise.
15246         * time/clock.c (clock): Likewise.
15247         * time/tzset.c (__tzname_max): Likewise.
15248
15249 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15250
15251         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15252         (__bswap_32): Do not use "register".
15253         * crypt/crypt.c (_ufc_doit_r): Likewise.
15254         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15255         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15256         * gmon/gmon.c (__monstartup): Likewise.
15257         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15258         * hurd/hurdmalloc.c (more_memory): Likewise.
15259         (malloc): Likewise.
15260         (free): Likewise.
15261         (realloc): Likewise.
15262         (malloc_fork_prepare): Likewise.
15263         (malloc_fork_parent): Likewise.
15264         (malloc_fork_child): Likewise.
15265         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15266         (_svcauth_des): Likewise.
15267         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15268         * inet/inet_net.c (inet_network): Likewise.
15269         * inet/inet_netof.c (inet_netof): Likewise.
15270         * inet/rcmd.c (__validuser2_sa): Likewise.
15271         * io/fts.c (fts_open): Likewise.
15272         (fts_load): Likewise.
15273         (fts_close): Likewise.
15274         (fts_read): Likewise.
15275         (fts_children): Likewise.
15276         (fts_build): Likewise.
15277         (fts_stat): Likewise.
15278         (fts_sort): Likewise.
15279         (fts_alloc): Likewise.
15280         (fts_lfree): Likewise.
15281         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15282         (_IO_file_xsgetn): Likewise.
15283         (_IO_file_xsgetn_mmap): Likewise.
15284         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15285         (_IO_cookie_write): Likewise.
15286         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15287         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15288         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15289         * malloc/obstack.c (_obstack_begin): Likewise.
15290         (_obstack_begin_1): Likewise.
15291         (_obstack_newchunk): Likewise.
15292         (_obstack_allocated_p): Likewise.
15293         (obstack_free): Likewise.
15294         (_obstack_memory_used): Likewise.
15295         * misc/getttyent.c (getttynam): Likewise.
15296         (getttyent): Likewise.
15297         (skip): Likewise.
15298         (value): Likewise.
15299         * misc/getusershell.c (initshells): Likewise.
15300         * misc/syslog.c (__vsyslog_chk): Likewise.
15301         * misc/ttyslot.c (ttyslot): Likewise.
15302         * nis/nis_hash.c (__nis_hash): Likewise.
15303         * posix/fnmatch_loop.c (FCT): Likewise.
15304         * posix/getconf.c (print_all): Likewise.
15305         (main): Likewise.
15306         * posix/getopt.c (exchange): Likewise.
15307         * posix/glob.c (globfree): Likewise.
15308         (prefix_array): Likewise.
15309         (__glob_pattern_type): Likewise.
15310         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15311         (NS_GET32): Likewise.
15312         (NS_PUT16): Likewise.
15313         (NS_PUT32): Likewise.
15314         * resolv/gethnamaddr.c (getanswer): Likewise.
15315         (gethostbyname2): Likewise.
15316         (gethostbyaddr): Likewise.
15317         (_gethtent): Likewise.
15318         (_gethtbyname2): Likewise.
15319         (_gethtbyaddr): Likewise.
15320         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15321         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15322         * resolv/res_init.c (__res_vinit): Likewise.
15323         (net_mask): Likewise.
15324         * resolv/res_mkquery.c (outchar): Likewise.
15325         (PRINT): Likewise.
15326         * stdio-common/printf_fp.c (outchar): Likewise.
15327         (PRINT): Likewise.
15328         * stdio-common/printf_fphex.c (outchar): Likewise.
15329         (PRINT): Likewise.
15330         * stdio-common/printf_size.c (outchar): Likewise.
15331         (PRINT): Likewise.
15332         * stdio-common/test_rdwr.c (main): Likewise.
15333         * stdio-common/tfformat.c (matches): Likewise.
15334         * stdio-common/vfprintf.c (outchar): Likewise.
15335         (printf_unknown): Likewise.
15336         (buffered_vfprintf): Likewise.
15337         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15338         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15339         (ReadFile): Likewise.
15340         * stdlib/qsort.c (SWAP): Likewise.
15341         (_quicksort): Likewise.
15342         * stdlib/setenv.c (__add_to_environ): Likewise.
15343         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15344         * stdlib/strtol_l.c (__strtol_l): Likewise.
15345         * stdlib/tst-strtod.c (main): Likewise.
15346         * stdlib/tst-strtol.c (main): Likewise.
15347         * stdlib/tst-strtoll.c (main): Likewise.
15348         * string/bits/string2.h (__strcmp_cc): Likewise.
15349         (__strcmp_cg): Likewise.
15350         (__strcspn_c1): Likewise.
15351         (__strcspn_c2): Likewise.
15352         (__strcspn_c3): Likewise.
15353         (__strspn_c1): Likewise.
15354         (__strspn_c2): Likewise.
15355         (__strspn_c3): Likewise.
15356         (__strsep_1c): Likewise.
15357         (__strsep_2c): Likewise.
15358         (__strsep_3c): Likewise.
15359         * string/memccpy.c (__memccpy): Likewise.
15360         * string/stpcpy.c (__stpcpy): Likewise.
15361         * string/strcmp.c (strcmp): Likewise.
15362         * string/strrchr.c (strrchr): Likewise.
15363         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15364         Likewise.
15365         * sysdeps/mach/hurd/getcwd.c
15366         (_hurd_canonicalize_directory_name_internal): Likewise.
15367         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15368         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15369         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15370         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15371         Likewise, in both definitions.
15372         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15373         definitions.
15374         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15375         64] (__bswap_64): Likewise.
15376         * time/test_time.c (main): Likewise.
15377         * time/tzfile.c (__tzfile_read): Likewise.
15378         (__tzfile_compute): Likewise.
15379         * time/tzset.c (__tzset_parse_tz): Likewise.
15380         (tzset_internal): Likewise.
15381         (compute_change): Likewise.
15382         * wcsmbs/wcscat.c (__wcscat): Likewise.
15383         * wcsmbs/wcschr.c (wcschr): Likewise.
15384         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15385         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15386         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15387         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15388         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15389         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15390         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15391         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15392         * wcsmbs/wmemset.c (wmemset): Likewise.
15393
15394 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15395
15396         * scripts/config.guess: Update to version 2013-05-16.
15397         * scripts/config.sub: Update to version 2013-04-24.
15398         * scripts/install-sh: Update to version 2011-11-20.07.
15399         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15400         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15401
15402 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15403
15404         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15405         * elf/sln.c: Likewise.
15406         * hurd/hurd/ioctl.h: Likewise.
15407         * hurd/hurdmalloc.c: Likewise.
15408         * hurd/xattr.c: Likewise.
15409         * include/shlib-compat.h: Likewise.
15410         * inet/ruserpass.c: Likewise.
15411         * libio/iofgets_u.c: Likewise.
15412         * libio/iofgetws_u.c: Likewise.
15413         * locale/programs/ld-identification.c: Likewise.
15414         * locale/programs/ld-time.c: Likewise.
15415         * mach/msg-destroy.c: Likewise.
15416         * nss/nss_files/files-netgrp.c: Likewise.
15417         * resolv/res_data.c: Likewise.
15418         * soft-fp/op-1.h: Likewise.
15419         * soft-fp/op-2.h: Likewise.
15420         * soft-fp/op-4.h: Likewise.
15421         * soft-fp/op-common.h: Likewise.
15422         * stdio-common/printf_fphex.c: Likewise.
15423         * stdlib/strtod_l.c: Likewise.
15424         * sunrpc/rpc/clnt.h: Likewise.
15425         * sysdeps/generic/framestate.c: Likewise.
15426         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15427         * sysdeps/i386/bsd-setjmp.S: Likewise.
15428         * sysdeps/i386/__longjmp.S: Likewise.
15429         * sysdeps/i386/setjmp.S: Likewise.
15430         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15431         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15432         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15433         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15434         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15435         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15436         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15437         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15438         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15439         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15440         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15441         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15442         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15443         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15444         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15445         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15446         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15447         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15448         * sysdeps/ieee754/support.c: Likewise.
15449         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15450         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15451         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15452         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15453         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15454         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15455         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15456         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15457         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15458         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15459         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15460         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15461         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15462         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15463         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15464         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15465         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15467
15468 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15469
15470         * posix/transbug.c: Remove executable mode.
15471
15472 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15473
15474         * crypt/speeds.c: Remove trailing whitespace.
15475         * dlfcn/default.c: Likewise.
15476         * elf/ifuncdep2.c: Likewise.
15477         * elf/ifuncmain1.c: Likewise.
15478         * elf/ifuncmain1vis.c: Likewise.
15479         * elf/testobj.h: Likewise.
15480         * elf/tst-stackguard1.c: Likewise.
15481         * gmon/sys/gmon.h: Likewise.
15482         * hurd/hurdmsg.c: Likewise.
15483         * hurd/new-fd.c: Likewise.
15484         * hurd/ports-get.c: Likewise.
15485         * iconvdata/ibm1008_420.c: Likewise.
15486         * inet/tst-getni1.c: Likewise.
15487         * inet/tst-getni2.c: Likewise.
15488         * libio/ioungetc.c: Likewise.
15489         * libio/wfiledoalloc.c: Likewise.
15490         * manual/libm-err-tab.pl: Likewise.
15491         * math/w_dremf.c: Likewise.
15492         * misc/ftruncate.c: Likewise.
15493         * posix/bug-glob2.c: Likewise.
15494         * posix/tst-pcre.c: Likewise.
15495         * posix/wait4.c: Likewise.
15496         * resolv/README: Likewise.
15497         * resolv/res_debug.h: Likewise.
15498         * resolv/tst-inet_ntop.c: Likewise.
15499         * setjmp/bug269-setjmp.c: Likewise.
15500         * soft-fp/extended.h: Likewise.
15501         * soft-fp/op-1.h: Likewise.
15502         * soft-fp/op-2.h: Likewise.
15503         * soft-fp/op-4.h: Likewise.
15504         * soft-fp/op-8.h: Likewise.
15505         * soft-fp/testit.c: Likewise.
15506         * stdio-common/bug16.c: Likewise.
15507         * stdlib/random.c: Likewise.
15508         * sunrpc/rpcsvc/rquota.x: Likewise.
15509         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15510         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15511         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15512         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15513         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15514         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15515         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15516         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15517         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15518         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15519         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15520         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15521         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15522         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15523         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15524         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15525         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15526         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15527         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15528         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15529         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15530         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15531         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15532         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15533         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15534         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15536         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15537         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15538         * sysdeps/ieee754/s_lib_version.c: Likewise.
15539         * sysdeps/mach/hurd/check_fds.c: Likewise.
15540         * sysdeps/mach/hurd/getsockname.c: Likewise.
15541         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15542         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15543         * sysdeps/powerpc/bits/link.h: Likewise.
15544         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15545         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15546         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15547         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15548         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15549         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15550         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15551         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15552         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15553         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15554         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15555         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15556         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15557         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15558         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15559         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15560         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15561         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15562         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15563         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15564         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15565         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15566         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15567         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15568         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15569         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15570         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15571         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15572         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15573         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15574         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15575         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15576         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15577         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15578         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15579         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15580         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15581         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15582         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15583         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15584         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15585         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15586         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15587         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15588         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15589         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15590         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15591         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15592         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15593         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15594         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15595         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15596         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15597         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15598         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15599         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15600         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15601         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15602         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15603         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15604         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15605         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15606         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15607         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15608         * sysdeps/powerpc/sysdep.h: Likewise.
15609         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15610         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15611         * sysdeps/sh/dl-trampoline.S: Likewise.
15612         * sysdeps/sh/memset.S: Likewise.
15613         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15614         * sysdeps/sh/strlen.S: Likewise.
15615         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15616         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15617         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15618         * sysdeps/sparc/sparc32/rem.S: Likewise.
15619         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15620         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15621         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15622         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15623         * sysdeps/sparc/sparc32/urem.S: Likewise.
15624         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15625         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15626         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15627         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15628         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15629         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15630         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15631         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15632         * sysdeps/unix/bsd/times.c: Likewise.
15633         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15634         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15638         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15639         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15640         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15641         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15642         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15643         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15644         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15645         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15646         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15647         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15648         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15649         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15650         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15651         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15652         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15653         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15654         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15655         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15656         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15657         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15658         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15659         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15660         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15661         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15662         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15663         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15664         * sysdeps/x86_64/strcspn.S: Likewise.
15665
15666 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15667
15668         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15669         generated file.  Regenerate properly from gen-translit.pl.
15670         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15671         locale/C-translit.h.
15672
15673 2013-06-05  Andreas Schwab  <schwab@suse.de>
15674
15675         [BZ #15100]
15676         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15677         week as 6 instead of -1.
15678         * time/tst-strptime.c (day_tests): Add test case.
15679
15680 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15681
15682         * sysdeps/generic/math_private.h
15683         (libc_feholdexcept_setround_53bit): Replace with
15684         libc_feholdsetround_53bit.
15685         (libc_feupdateenv_53bit): Replace with
15686         libc_feresetround_53bit.
15687         (SET_RESTORE_ROUND_53BIT): Adjust.
15688
15689 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15690
15691         * string/test-strchrnul.c: Add copyright header.
15692
15693         * posix/tst-getaddrinfo4.c: Increase test timeout.
15694
15695 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15696
15697         [BZ #15536]
15698         * math/libm-test.inc (MAX_EXP): Remove
15699         (MIN_EXP): Define.
15700         (ulp): Use MIN_EXP - MANT_DIG.
15701         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15702
15703 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15704
15705         * po/be.po: Revert last change.
15706         * po/zh_CN.po: Likewise.
15707         * po/header.pot: Likewise.
15708
15709 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15710
15711         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15712         link-libc-deps to empty as target-specific variable.
15713         * Makerules (link-libc-args): New variable.
15714         (libc-for-link): Likewise.
15715         (link-libc-deps): Likewise.
15716         (lib%.so): Depend on $(link-libc-deps).  Link with
15717         $(link-libc-args).
15718         (build-module): Link with $(link-libc-args).
15719         (build-module-asneeded): Likewise.
15720         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15721         list of objects.
15722         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15723         target-specific variable.
15724         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15725         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15726         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15727         libc.
15728         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15729         libc and ld.so.
15730         ($(objpfx)libpcprofile.so): Likewise.
15731         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15732         libc_nonshared.a.
15733         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15734         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15735         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15736         $(link-libc-deps).
15737         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15738         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15739         * login/Makefile ($(objpfx)libutil.so): Likewise.
15740         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15741         * math/Makefile ($(objpfx)libm.so): Likewise.
15742         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15743         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15744         variable instead of depending directly on libc.
15745         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15746         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15747         $(link-libc-deps).
15748         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15749         libc.
15750         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15751         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15752         ($(objpfx)libanl.so): Likewise.
15753         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15754         ld.so.
15755         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15756         $(link-libc-deps).
15757         * sysdeps/i386/fpu/Makefile: Remove file.
15758         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15759         ($(objpfx)libm.so): Remove dependency on ld.so.
15760
15761 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15762
15763         [BZ # 15553]
15764         * nis/yp_xdr.c (XDRMAXNAME): Define.
15765         (XDRMAXRECORD): Define.
15766         (xdr_domainname): Use XDRMAXNAME.
15767         (xdr_mapname): Likewise.
15768         (xdr_peername): Likewise.
15769         (xdr_keydat): Use XDRMAXRECORD.
15770         (xdr_valdat): Likewise.
15771
15772 2013-05-30  Jeff Law  <law@redhat.com>
15773
15774         [BZ #14256]
15775         * manual/errno.texi (ESTALE): Update to account for more than
15776         just NFS file systems.
15777         * sysdeps/gnu/errlist.c: Regenerated.
15778
15779 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15780
15781         [BZ #15465]
15782         * elf/Makefile (tests): Add tst-null-argv.
15783         (modules-names):  Add tst-null-argv-lib.
15784         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15785         (tst-null-argv-ENV): Set environment for tst-null-argv.
15786         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15787         (RTLD_PROGNAME): New macro.
15788         * elf/tst-null-argv.c: New test case.
15789         * elf/tst-null-argv-lib.c: Library for test case.
15790         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15791         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15792         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15793         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15794         * elf/dl-init.c (call_init): Likewise.
15795         (_dl_init): Likewise.
15796         * elf/dl-load.c (print_search_path): Likewise.
15797         (_dl_map_object): Likewise.
15798         * elf/dl-lookup.c (do_lookup_x): Likewise.
15799         (add_dependency): Likewise.
15800         (_dl_lookup_symbol_x): Likewise.
15801         (_dl_debug_bindings): Likewise.
15802         * elf/dl-open.c (_dl_show_scope): Likewise.
15803         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15804         * elf/dl-version.c (match_symbol): Likewise.
15805         (_dl_check_map_versions): Likewise.
15806         * elf/rtld.c (dl_main): Likewise.
15807         (print_unresolved): Use RTLD_PROGNAME.
15808         (print_missing_version): Likewise.
15809         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15810         (elf_machine_rela): Likewise.
15811         * sysdeps/powerpc/powerpc32/dl-machine.c
15812         (__process_machine_rela): Likewise.
15813         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15814         Likewise.
15815         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15816         Likewise.
15817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15818         Likewise.
15819         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15820         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15821         Likewise.
15822         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15823         Likewise.
15824         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15825
15826 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15827
15828         * po/be.po: Add descriptive title.
15829         * po/zh_CN.po: Likewise.
15830         * po/header.pot: Likewise.
15831
15832 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15833
15834         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15835         error message.
15836         (enlarge_archive): Likewise.
15837
15838 2013-05-28  Ben North  <ben@redfrontdoor.org>
15839
15840         * manual/arith.texi (frexp): It is the magnitude of the return
15841         value which lies in [0.5, 1), not the return value itself.
15842
15843 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15844
15845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15846
15847 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15848
15849         * stdio-common/bug26.c (main): Correct fscanf template.
15850
15851         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15852         declare _dl_skip_args.
15853
15854         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15855         Don't declare.
15856
15857         * manual/platform.texi: Add missing @end deftypefun.
15858
15859 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15860
15861         [BZ #15529]
15862         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15863         bit of mantissa of 2^16382.
15864         * math/libm-test.inc (hypot_test_data): Add more tests.
15865
15866         * math/libm-test.inc: Add drem and pow10 to list of tested
15867         functions.
15868         (pow10_test): New function.
15869         (drem_test): Likewise.
15870         (drem_test_tonearest): Likewise.
15871         (drem_test_towardzero): Likewise.
15872         (drem_test_downward): Likewise.
15873         (drem_test_upward): Likewise.
15874         (main): Call the new functions.
15875
15876         * math/libm-test.inc (finite_test_data): Remove.
15877         (finite_test): Run tests from isfinite_test_data.
15878         (gamma_test_data): Remove.
15879         (gamma_test): Run tests from lgamma_test_data.
15880         * sysdeps/i386/fpu/libm-test-ulps: Update.
15881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15882
15883 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15884
15885         * manual/platform.texi: Add PowerPC PPR function set documentation.
15886         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15887         implementation.
15888
15889 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15890
15891         * math/libm-test.inc (MAX_EXP): Define.
15892         (ULPDIFF): Define.
15893         (ulp): New function.
15894         (check_float_internal): Use ULPDIFF.
15895         (cpow_test): Disable failing test.
15896         (check_ulp): Test ulp() implemetnation.
15897         (main): Call check_ulp before starting tests.
15898
15899 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15900
15901         * math/gen-libm-test.pl (generate_testfile): Do not handle
15902         START_DATA and END_DATA.
15903         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15904         END_DATA.
15905         (acos_tonearest_test_data): Likewise.
15906         (acos_towardzero_test_data): Likewise.
15907         (acos_downward_test_data): Likewise.
15908         (acos_upward_test_data): Likewise.
15909         (acosh_test_data): Likewise.
15910         (asin_test_data): Likewise.
15911         (asin_tonearest_test_data): Likewise.
15912         (asin_towardzero_test_data): Likewise.
15913         (asin_downward_test_data): Likewise.
15914         (asin_upward_test_data): Likewise.
15915         (asinh_test_data): Likewise.
15916         (atan_test_data): Likewise.
15917         (atanh_test_data): Likewise.
15918         (atan2_test_data): Likewise.
15919         (cabs_test_data): Likewise.
15920         (cacos_test_data): Likewise.
15921         (cacosh_test_data): Likewise.
15922         (carg_test_data): Likewise.
15923         (casin_test_data): Likewise.
15924         (casinh_test_data): Likewise.
15925         (catan_test_data): Likewise.
15926         (catanh_test_data): Likewise.
15927         (cbrt_test_data): Likewise.
15928         (ccos_test_data): Likewise.
15929         (ccosh_test_data): Likewise.
15930         (ceil_test_data): Likewise.
15931         (cexp_test_data): Likewise.
15932         (cimag_test_data): Likewise.
15933         (clog_test_data): Likewise.
15934         (clog10_test_data): Likewise.
15935         (conj_test_data): Likewise.
15936         (copysign_test_data): Likewise.
15937         (cos_test_data): Likewise.
15938         (cos_tonearest_test_data): Likewise.
15939         (cos_towardzero_test_data): Likewise.
15940         (cos_downward_test_data): Likewise.
15941         (cos_upward_test_data): Likewise.
15942         (cosh_test_data): Likewise.
15943         (cosh_tonearest_test_data): Likewise.
15944         (cosh_towardzero_test_data): Likewise.
15945         (cosh_downward_test_data): Likewise.
15946         (cosh_upward_test_data): Likewise.
15947         (cpow_test_data): Likewise.
15948         (cproj_test_data): Likewise.
15949         (creal_test_data): Likewise.
15950         (csin_test_data): Likewise.
15951         (csinh_test_data): Likewise.
15952         (csqrt_test_data): Likewise.
15953         (ctan_test_data): Likewise.
15954         (ctan_tonearest_test_data): Likewise.
15955         (ctan_towardzero_test_data): Likewise.
15956         (ctan_downward_test_data): Likewise.
15957         (ctan_upward_test_data): Likewise.
15958         (ctanh_test_data): Likewise.
15959         (ctanh_tonearest_test_data): Likewise.
15960         (ctanh_towardzero_test_data): Likewise.
15961         (ctanh_downward_test_data): Likewise.
15962         (ctanh_upward_test_data): Likewise.
15963         (erf_test_data): Likewise.
15964         (erfc_test_data): Likewise.
15965         (exp_test_data): Likewise.
15966         (exp_tonearest_test_data): Likewise.
15967         (exp_towardzero_test_data): Likewise.
15968         (exp_downward_test_data): Likewise.
15969         (exp_upward_test_data): Likewise.
15970         (exp10_test_data): Likewise.
15971         (exp2_test_data): Likewise.
15972         (expm1_test_data): Likewise.
15973         (fabs_test_data): Likewise.
15974         (fdim_test_data): Likewise.
15975         (finite_test_data): Likewise.
15976         (floor_test_data): Likewise.
15977         (fma_test_data): Likewise.
15978         (fma_towardzero_test_data): Likewise.
15979         (fma_downward_test_data): Likewise.
15980         (fma_upward_test_data): Likewise.
15981         (fmax_test_data): Likewise.
15982         (fmin_test_data): Likewise.
15983         (fmod_test_data): Likewise.
15984         (fpclassify_test_data): Likewise.
15985         (frexp_test_data): Likewise.
15986         (gamma_test_data): Likewise.
15987         (hypot_test_data): Likewise.
15988         (ilogb_test_data): Likewise.
15989         (isfinite_test_data): Likewise.
15990         (isgreater_test_data): Likewise.
15991         (isgreaterequal_test_data): Likewise.
15992         (isinf_test_data): Likewise.
15993         (isless_test_data): Likewise.
15994         (islessequal_test_data): Likewise.
15995         (islessgreater_test_data): Likewise.
15996         (isnan_test_data): Likewise.
15997         (isnormal_test_data): Likewise.
15998         (issignaling_test_data): Likewise.
15999         (isunordered_test_data): Likewise.
16000         (j0_test_data): Likewise.
16001         (j1_test_data): Likewise.
16002         (jn_test_data): Likewise.
16003         (ldexp_test_data): Likewise.
16004         (lgamma_test_data): Likewise.
16005         (lrint_test_data): Likewise.
16006         (lrint_tonearest_test_data): Likewise.
16007         (lrint_towardzero_test_data): Likewise.
16008         (lrint_downward_test_data): Likewise.
16009         (lrint_upward_test_data): Likewise.
16010         (llrint_test_data): Likewise.
16011         (llrint_tonearest_test_data): Likewise.
16012         (llrint_towardzero_test_data): Likewise.
16013         (llrint_downward_test_data): Likewise.
16014         (llrint_upward_test_data): Likewise.
16015         (log_test_data): Likewise.
16016         (log10_test_data): Likewise.
16017         (log1p_test_data): Likewise.
16018         (log2_test_data): Likewise.
16019         (logb_test_data): Likewise.
16020         (logb_downward_test_data): Likewise.
16021         (lround_test_data): Likewise.
16022         (llround_test_data): Likewise.
16023         (modf_test_data): Likewise.
16024         (nearbyint_test_data): Likewise.
16025         (nextafter_test_data): Likewise.
16026         (nexttoward_test_data): Likewise.
16027         (pow_test_data): Likewise.
16028         (pow_tonearest_test_data): Likewise.
16029         (pow_towardzero_test_data): Likewise.
16030         (pow_downward_test_data): Likewise.
16031         (pow_upward_test_data): Likewise.
16032         (remainder_test_data): Likewise.
16033         (remainder_tonearest_test_data): Likewise.
16034         (remainder_towardzero_test_data): Likewise.
16035         (remainder_downward_test_data): Likewise.
16036         (remainder_upward_test_data): Likewise.
16037         (remquo_test_data): Likewise.
16038         (rint_test_data): Likewise.
16039         (rint_tonearest_test_data): Likewise.
16040         (rint_towardzero_test_data): Likewise.
16041         (rint_downward_test_data): Likewise.
16042         (rint_upward_test_data): Likewise.
16043         (round_test_data): Likewise.
16044         (scalb_test_data): Likewise.
16045         (scalbn_test_data): Likewise.
16046         (scalbln_test_data): Likewise.
16047         (signbit_test_data): Likewise.
16048         (sin_test_data): Likewise.
16049         (sin_tonearest_test_data): Likewise.
16050         (sin_towardzero_test_data): Likewise.
16051         (sin_downward_test_data): Likewise.
16052         (sin_upward_test_data): Likewise.
16053         (sincos_test_data): Likewise.
16054         (sinh_test_data): Likewise.
16055         (sinh_tonearest_test_data): Likewise.
16056         (sinh_towardzero_test_data): Likewise.
16057         (sinh_downward_test_data): Likewise.
16058         (sinh_upward_test_data): Likewise.
16059         (sqrt_test_data): Likewise.
16060         (tan_test_data): Likewise.
16061         (tan_tonearest_test_data): Likewise.
16062         (tan_towardzero_test_data): Likewise.
16063         (tan_downward_test_data): Likewise.
16064         (tan_upward_test_data): Likewise.
16065         (tanh_test_data): Likewise.
16066         (tgamma_test_data): Likewise.
16067         (trunc_test_data): Likewise.
16068         (y0_test_data): Likewise.
16069         (y1_test_data): Likewise.
16070         (yn_test_data): Likewise.
16071         (significand_test_data): Likewise.
16072
16073         * math/gen-libm-test.pl (@functions): Remove variable.
16074         (generate_testfile): Don't handle START and END lines.
16075         * math/libm-test.inc (START): New macro.
16076         (END): Likewise.
16077         (END_COMPLEX): Likewise.
16078         (acos_test): Use END macro without arguments.
16079         (acos_test_tonearest): Likewise.
16080         (acos_test_towardzero): Likewise.
16081         (acos_test_downward): Likewise.
16082         (acos_test_upward): Likewise.
16083         (acosh_test): Likewise.
16084         (asin_test): Likewise.
16085         (asin_test_tonearest): Likewise.
16086         (asin_test_towardzero): Likewise.
16087         (asin_test_downward): Likewise.
16088         (asin_test_upward): Likewise.
16089         (asinh_test): Likewise.
16090         (atan_test): Likewise.
16091         (atanh_test): Likewise.
16092         (atan2_test): Likewise.
16093         (cabs_test): Likewise.
16094         (cacos_test): Use END_COMPLEX macro without arguments.
16095         (cacosh_test): Likewise.
16096         (carg_test): Use END macro without arguments.
16097         (casin_test): Use END_COMPLEX macro without arguments.
16098         (casinh_test): Likewise.
16099         (catan_test): Likewise.
16100         (catanh_test): Likewise.
16101         (cbrt_test): Use END macro without arguments.
16102         (ccos_test): Use END_COMPLEX macro without arguments.
16103         (ccosh_test): Likewise.
16104         (ceil_test): Use END macro without arguments.
16105         (cexp_test): Use END_COMPLEX macro without arguments.
16106         (cimag_test): Use END macro without arguments.
16107         (clog_test): Use END_COMPLEX macro without arguments.
16108         (clog10_test): Likewise.
16109         (conj_test): Likewise.
16110         (copysign_test): Use END macro without arguments.
16111         (cos_test): Likewise.
16112         (cos_test_tonearest): Likewise.
16113         (cos_test_towardzero): Likewise.
16114         (cos_test_downward): Likewise.
16115         (cos_test_upward): Likewise.
16116         (cosh_test): Likewise.
16117         (cosh_test_tonearest): Likewise.
16118         (cosh_test_towardzero): Likewise.
16119         (cosh_test_downward): Likewise.
16120         (cosh_test_upward): Likewise.
16121         (cpow_test): Use END_COMPLEX macro without arguments.
16122         (cproj_test): Likewise.
16123         (creal_test): Use END macro without arguments.
16124         (csin_test): Use END_COMPLEX macro without arguments.
16125         (csinh_test): Likewise.
16126         (csqrt_test): Likewise.
16127         (ctan_test): Likewise.
16128         (ctan_test_tonearest): Likewise.
16129         (ctan_test_towardzero): Likewise.
16130         (ctan_test_downward): Likewise.
16131         (ctan_test_upward): Likewise.
16132         (ctanh_test): Likewise.
16133         (ctanh_test_tonearest): Likewise.
16134         (ctanh_test_towardzero): Likewise.
16135         (ctanh_test_downward): Likewise.
16136         (ctanh_test_upward): Likewise.
16137         (erf_test): Use END macro without arguments.
16138         (erfc_test): Likewise.
16139         (exp_test): Likewise.
16140         (exp_test_tonearest): Likewise.
16141         (exp_test_towardzero): Likewise.
16142         (exp_test_downward): Likewise.
16143         (exp_test_upward): Likewise.
16144         (exp10_test): Likewise.
16145         (exp2_test): Likewise.
16146         (expm1_test): Likewise.
16147         (fabs_test): Likewise.
16148         (fdim_test): Likewise.
16149         (finite_test): Likewise.
16150         (floor_test): Likewise.
16151         (fma_test): Likewise.
16152         (fma_test_towardzero): Likewise.
16153         (fma_test_downward): Likewise.
16154         (fma_test_upward): Likewise.
16155         (fmax_test): Likewise.
16156         (fmin_test): Likewise.
16157         (fmod_test): Likewise.
16158         (fpclassify_test): Likewise.
16159         (frexp_test): Likewise.
16160         (gamma_test): Likewise.
16161         (hypot_test): Likewise.
16162         (ilogb_test): Likewise.
16163         (isfinite_test): Likewise.
16164         (isgreater_test): Likewise.
16165         (isgreaterequal_test): Likewise.
16166         (isinf_test): Likewise.
16167         (isless_test): Likewise.
16168         (islessequal_test): Likewise.
16169         (islessgreater_test): Likewise.
16170         (isnan_test): Likewise.
16171         (isnormal_test): Likewise.
16172         (issignaling_test): Likewise.
16173         (isunordered_test): Likewise.
16174         (j0_test): Likewise.
16175         (j1_test): Likewise.
16176         (jn_test): Likewise.
16177         (ldexp_test): Likewise.
16178         (lgamma_test): Likewise.
16179         (lrint_test): Likewise.
16180         (lrint_test_tonearest): Likewise.
16181         (lrint_test_towardzero): Likewise.
16182         (lrint_test_downward): Likewise.
16183         (lrint_test_upward): Likewise.
16184         (llrint_test): Likewise.
16185         (llrint_test_tonearest): Likewise.
16186         (llrint_test_towardzero): Likewise.
16187         (llrint_test_downward): Likewise.
16188         (llrint_test_upward): Likewise.
16189         (log_test): Likewise.
16190         (log10_test): Likewise.
16191         (log1p_test): Likewise.
16192         (log2_test): Likewise.
16193         (logb_test): Likewise.
16194         (logb_test_downward): Likewise.
16195         (lround_test): Likewise.
16196         (llround_test): Likewise.
16197         (modf_test): Likewise.
16198         (nearbyint_test): Likewise.
16199         (nextafter_test): Likewise.
16200         (nexttoward_test): Likewise.
16201         (pow_test): Likewise.
16202         (pow_test_tonearest): Likewise.
16203         (pow_test_towardzero): Likewise.
16204         (pow_test_downward): Likewise.
16205         (pow_test_upward): Likewise.
16206         (remainder_test): Likewise.
16207         (remainder_test_tonearest): Likewise.
16208         (remainder_test_towardzero): Likewise.
16209         (remainder_test_downward): Likewise.
16210         (remainder_test_upward): Likewise.
16211         (remquo_test): Likewise.
16212         (rint_test): Likewise.
16213         (rint_test_tonearest): Likewise.
16214         (rint_test_towardzero): Likewise.
16215         (rint_test_downward): Likewise.
16216         (rint_test_upward): Likewise.
16217         (round_test): Likewise.
16218         (scalb_test): Likewise.
16219         (scalbn_test): Likewise.
16220         (scalbln_test): Likewise.
16221         (signbit_test): Likewise.
16222         (sin_test): Likewise.
16223         (sin_test_tonearest): Likewise.
16224         (sin_test_towardzero): Likewise.
16225         (sin_test_downward): Likewise.
16226         (sin_test_upward): Likewise.
16227         (sincos_test): Likewise.
16228         (sinh_test): Likewise.
16229         (sinh_test_tonearest): Likewise.
16230         (sinh_test_towardzero): Likewise.
16231         (sinh_test_downward): Likewise.
16232         (sinh_test_upward): Likewise.
16233         (sqrt_test): Likewise.
16234         (tan_test): Likewise.
16235         (tan_test_tonearest): Likewise.
16236         (tan_test_towardzero): Likewise.
16237         (tan_test_downward): Likewise.
16238         (tan_test_upward): Likewise.
16239         (tanh_test): Likewise.
16240         (tgamma_test): Likewise.
16241         (trunc_test): Likewise.
16242         (y0_test): Likewise.
16243         (y1_test): Likewise.
16244         (yn_test): Likewise.
16245         (significand_test): Likewise.
16246
16247 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16248
16249         [BZ #15381]
16250         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16251
16252 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16253
16254         [BZ #14894]
16255         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16256         __ppc_mdoio and __ppc_mdoom.
16257         * manual/platform.texi: Document new functions __ppc_yield,
16258         __ppc_mdoio and __ppc_mdoom.
16259
16260 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16261
16262         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16263         (main): Mention "tls" pseudo-hwcap is legacy.
16264         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16265
16266 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16267
16268         * math/gen-libm-test.pl (parse_args): Output only string of
16269         arguments as text for test name, not full call or descriptions of
16270         tests for extra outputs.
16271         (generate_testfile): Do not pass function name to parse_args.
16272         Generate this_func variable from START.
16273         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16274         field to arg_str.
16275         (struct test_ff_f_data): Likewise.
16276         (test_ff_f_data_nexttoward): Likewise.
16277         (struct test_fi_f_data): Likewise.
16278         (struct test_fl_f_data): Likewise.
16279         (struct test_if_f_data): Likewise.
16280         (struct test_fff_f_data): Likewise.
16281         (struct test_c_f_data): Likewise.
16282         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16283         (struct test_fF_f1_data): Likewise.
16284         (struct test_ffI_f1_data): Likewise.
16285         (struct test_c_c_data): Rename test_name field to arg_str.
16286         (struct test_cc_c_data): Likewise.
16287         (struct test_f_i_data): Likewise.
16288         (struct test_ff_i_data): Likewise.
16289         (struct test_f_l_data): Likewise.
16290         (struct test_f_L_data): Likewise.
16291         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16292         and extra2_name.
16293         (COMMON_TEST_SETUP): New macro.
16294         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16295         (COMMON_TEST_CLEANUP): Likewise.
16296         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16297         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16298         macros.
16299         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16300         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16301         macros.
16302         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16303         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16304         cleanup macros.
16305         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16306         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16307         macros.
16308         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16309         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16310         macros.
16311         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16312         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16313         cleanup macros.
16314         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16315         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16316         cleanup macros.
16317         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16318         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16319         cleanup macros.
16320         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16321         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16322         macros.
16323         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16324         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16325         macros.
16326         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16327         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16328         macros.
16329         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16330         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16331         cleanup macros.
16332         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16333         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16334         cleanup macros.
16335         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16336         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16337         macros.
16338         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16339         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16340         cleanup macros.
16341         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16342         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16343         macros.
16344         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16345         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16346         macros.
16347         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16348         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16349         cleanup macros.
16350         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16351
16352 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16353
16354         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16355         to _sifields.sigfault.
16356         (si_addr_lsb): Define new macro.
16357         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16358         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16359         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16360
16361 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16362
16363         [BZ #15441]
16364         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16365         returns -1.
16366         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16367         null return -1.
16368         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16369         loading the domain.
16370
16371 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16372
16373         * math/gen-libm-test.pl (parse_args): Do not include expected
16374         result in test name.
16375         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16376         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16377         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16378         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16379         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16381
16382 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16383
16384         * benchtests/Makefile: Sort function entries.
16385
16386         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16387         tanh, asinh, acosh, atanh.
16388         * benchtests/acos-inputs: New file.
16389         * benchtests/acosh-inputs: New file.
16390         * benchtests/asin-inputs: New file.
16391         * benchtests/asinh-inputs: New file.
16392         * benchtests/atanh-inputs: New file.
16393         * benchtests/cosh-inputs: New file.
16394         * benchtests/log-inputs: New file.
16395         * benchtests/sinh-inputs: New file.
16396         * benchtests/tanh-inputs: New file.
16397
16398 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16399
16400         [BZ #15339]
16401         * posix/tst-getaddrinfo4.c: New test.
16402         * posix/Makefile (tests): Add it.
16403
16404 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16405
16406         [BZ #15339]
16407         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16408         when no services were used.
16409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16410         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16411
16412 2013-05-21  Andreas Schwab  <schwab@suse.de>
16413
16414         [BZ #15014]
16415         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16416         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16417         successful.
16418         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16419         redundant variable declarations and reallocation of buffer when
16420         parsing as IPv6 address.  Always set NSS status when called from
16421         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16422         buffer too small.  Correct computation of needed size.
16423         * nss/Makefile (tests): Add test-digits-dots.
16424         * nss/test-digits-dots.c: New test.
16425
16426 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16427
16428         * benchtests/Makefile: Remove instructions for adding
16429         benchmark tests.
16430         * benchtests/README: New file to explain how to execute and
16431         enhance the benchmark tests.
16432
16433 2013-05-21  Andreas Schwab  <schwab@suse.de>
16434
16435         [BZ #15493]
16436         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16437         * setjmp/tst-sigsetjmp.c: New test.
16438
16439 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16440
16441         * sysdeps/x86_64/memset.S (memset): New implementation.
16442         (__bzero): Likewise.
16443         (__memset_tail): New function.
16444
16445 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16446
16447         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16448         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16449         __memcpy_sse2_unaligned ifunc selection.
16450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16451         Add memcpy-sse2-unaligned.S.
16452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16453         Add: __memcpy_sse2_unaligned.
16454
16455 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16456
16457         [BZ #15490]
16458         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16459         math_force_eval before restoring floating-point envrionment.
16460         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16461         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16462         Likewise.
16463         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16464         <math_private.h>.
16465         (__nearbyintl): Use math_force_eval before restoring
16466         floating-point environment.
16467         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16468
16469         * math/gen-libm-test.pl (special_functions): Remove.
16470         (parse_args): Don't handle TEST_extra.  Handle functions with no
16471         return value.
16472         * math/libm-test.inc (struct test_sincos_data): Replace with
16473         struct test_fFF_11_data.
16474         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16475         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16476         (sincos_test_data): Change element type to struct
16477         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16478         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16479         RUN_TEST_LOOP_sincos.
16480         * math/README.libm-test: Don't mention special handling of
16481         individual functions.
16482         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16483         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16484         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16485         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16486         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16488
16489         * math/gen-libm-test.pl (get_variable): Remove function.
16490         (parse_args): Don't show pointer parameters to call in test
16491         names.  Use "extra output N" in test names for extra outputs
16492         rather than naming variables.
16493
16494 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16495
16496         [BZ #15488]
16497         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16498         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16499         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16500         double tests.
16501         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16502         disable.
16503         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16504         check_long_double.
16505
16506         * math/gen-libm-test.pl (@tests): Remove variable.
16507         ($count): Likewise.
16508         (new_test): Remove function.
16509         (show_exceptions): New function.
16510         (special_functions): Use show_exceptions instead of new_test.
16511         (parse_args): Likewise.
16512         (generate_testfile): Pass only function name in generated call to
16513         print_max_error or print_complex_max_error.
16514         (get_ulps): Do not handle complex tests specially.
16515         (output_test): Rename to ...
16516         (get_all_ulps_for_test): ... this.  Return a string rather than
16517         printing to a file.  Require ulps to be present.
16518         (output_ulps): Generate arrays rather than #defines.
16519         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16520         (struct ulp_data): New type.
16521         (BUILD_COMPLEX_ULP): Remove macro.
16522         (compare_ulp_data): New function.
16523         (find_ulps): Likewise.
16524         (find_test_ulps): Likewise.
16525         (find_function_ulps): Likewise.
16526         (find_complex_function_ulps): Likewise.
16527         (print_max_error): Determine allowed ulps using
16528         find_function_ulps.
16529         (print_complex_max_error): Determine allowed ulps using
16530         find_complex_function_ulps.
16531         (check_float_internal): Determine max ulps using find_test_ulps.
16532         (check_float): Do not take max_ulp parameter.  Update call to
16533         check_float_internal.
16534         (check_complex): Likewise.
16535         (check_int): Do not take max_ulp parameter.
16536         (check_long): Likewise.
16537         (check_bool): Likewise.
16538         (check_longlong): Likewise.
16539         (struct test_f_f_data): Remove max_ulp field.
16540         (struct test_ff_f_data): Likewise.
16541         (struct test_ff_f_data_nexttoward): Likewise.
16542         (struct test_fi_f_data): Likewise.
16543         (struct test_fl_f_data): Likewise.
16544         (struct test_if_f_data): Likewise.
16545         (struct test_fff_f_data): Likewise.
16546         (struct test_c_f_data): Likewise.
16547         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16548         (struct test_fF_f1_data): Likewise.
16549         (struct test_ffI_f1_data): Likewise.
16550         (struct test_c_c_data): Remove max_ulp field.
16551         (struct test_cc_c_data): Likewise.
16552         (struct test_f_i_data): Likewise.
16553         (struct test_ff_i_data): Likewise.
16554         (struct test_f_l_data): Likewise.
16555         (struct test_f_L_data): Likewise.
16556         (struct test_sincos_data): Likewise.
16557         (RUN_TEST_f_f): Do not handle ulps.
16558         (RUN_TEST_LOOP_f_f): Likewise.
16559         (RUN_TEST_2_f): Likewise.
16560         (RUN_TEST_LOOP_2_f): Likewise.
16561         (RUN_TEST_fff_f): Likewise.
16562         (RUN_TEST_LOOP_fff_f): Likewise.
16563         (RUN_TEST_c_f): Likewise.
16564         (RUN_TEST_LOOP_c_f): Likewise.
16565         (RUN_TEST_f_f1): Likewise.
16566         (RUN_TEST_LOOP_f_f1): Likewise.
16567         (RUN_TEST_fF_f1): Likewise.
16568         (RUN_TEST_LOOP_fF_f1): Likewise.
16569         (RUN_TEST_fI_f1): Likewise.
16570         (RUN_TEST_LOOP_fI_f1): Likewise.
16571         (RUN_TEST_ffI_f1): Likewise.
16572         (RUN_TEST_LOOP_ffI_f1): Likewise.
16573         (RUN_TEST_c_c): Likewise.
16574         (RUN_TEST_LOOP_c_c): Likewise.
16575         (RUN_TEST_cc_c): Likewise.
16576         (RUN_TEST_LOOP_cc_c): Likewise.
16577         (RUN_TEST_f_i): Likewise.
16578         (RUN_TEST_LOOP_f_i): Likewise.
16579         (RUN_TEST_f_i_tg): Likewise.
16580         (RUN_TEST_LOOP_f_i_tg): Likewise.
16581         (RUN_TEST_ff_i_tg): Likewise.
16582         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16583         (RUN_TEST_f_b): Likewise.
16584         (RUN_TEST_LOOP_f_b): Likewise.
16585         (RUN_TEST_f_b_tg): Likewise.
16586         (RUN_TEST_LOOP_f_b_tg): Likewise.
16587         (RUN_TEST_f_l): Likewise.
16588         (RUN_TEST_LOOP_f_l): Likewise.
16589         (RUN_TEST_f_L): Likewise.
16590         (RUN_TEST_LOOP_f_L): Likewise.
16591         (RUN_TEST_sincos): Likewise.
16592         (RUN_TEST_LOOP_sincos): Likewise.
16593
16594 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16595
16596         [BZ #15480]
16597         [BZ #15485]
16598         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16599         main case of finite arguments, set rounding mode to FE_TONEAREST
16600         and discard exceptions.
16601         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16602         exceptions.
16603         (remainder_tonearest_test_data): New variable.
16604         (remainder_test_tonearest): New function.
16605         (remainder_towardzero_test_data): New variable.
16606         (remainder_test_towardzero): New function.
16607         (remainder_downward_test_data): New variable.
16608         (remainder_test_downward): New function.
16609         (remainder_upward_test_data): New variable.
16610         (remainder_test_upward): New function.
16611         (main): Call the new test functions.
16612
16613         * math/libm-test.inc (struct test_f_f1_data): Remove field
16614         extra_init.
16615         (struct test_fF_f1_data): Likewise.
16616         (struct test_ffI_f1_data): Likewise.
16617         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16618         based on value of EXTRA_EXPECTED.
16619         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16620         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16621         EXTRA_VAR based on value of EXTRA_EXPECTED.
16622         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16623         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16624         EXTRA_VAR based on value of EXTRA_EXPECTED.
16625         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16626         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16627         EXTRA_VAR based on value of EXTRA_EXPECTED.
16628         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16629         * math/gen-libm-test.pl (parse_args): Don't output initializers
16630         for extra output values.
16631
16632         * math/libm-test.inc (check_int): Expect result to be exactly
16633         equal to expected value and do not handle ulps.
16634         (check_long): Likewise.
16635         (check_longlong): Likewise.
16636
16637         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16638         exceptions.
16639         (cimag_test_data): Likewise.
16640         (conj_test_data): Likewise.
16641         (copysign_test_data): Likewise.
16642         (cproj_test_data): Likewise.
16643         (creal_test_data): Likewise.
16644         (fabs_test_data): Likewise.
16645         (fdim_test_data): Likewise.
16646         (finite_test_data): Likewise.
16647         (floor_test_data): Likewise.
16648         (fmax_test_data): Likewise.
16649         (fmin_test_data): Likewise.
16650         (fmod_test_data): Likewise.
16651         (fpclassify_test_data): Likewise.
16652         (frexp_test_data): Likewise.
16653         (ilogb_test_data): Likewise.
16654         (isfinite_test_data): Likewise.
16655         (isgreater_test_data): Likewise.
16656         (isgreaterequal_test_data): Likewise.
16657         (isinf_test_data): Likewise.
16658         (isless_test_data): Likewise.
16659         (islessequal_test_data): Likewise.
16660         (islessgreater_test_data): Likewise.
16661         (isnan_test_data): Likewise.
16662         (isnormal_test_data): Likewise.
16663         (issignaling_test_data): Likewise.
16664         (isunordered_test_data): Likewise.
16665         (ldexp_test_data): Likewise.
16666         (lrint_test_data): Likewise.
16667         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16668         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16669         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16670         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16671         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16672         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16673         test input.
16674         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16675         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16676         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16677         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16678         that test input.
16679         (lrint_downward_test_data): Test for "inexact" exceptions.
16680         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16681         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16682         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16683         test input.
16684         (lrint_upward_test_data): Test for "inexact" exceptions.
16685         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16686         test input.
16687         (llrint_test_data): Test for "inexact" exceptions.
16688         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16689         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16690         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16691         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16692         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16693         (llrint_downward_test_data): Test for "inexact" exceptions.
16694         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16695         (llrint_upward_test_data): Test for "inexact" exceptions.
16696         (logb_test_data): Likewise.
16697         (logb_downward_test_data): Likewise.
16698         (nextafter_test_data): Likewise.
16699         (nexttoward_test_data): Likewise.
16700         (remainder_test_data): Likewise.
16701         (remquo_test_data): Likewise.
16702         (scalbn_test_data): Likewise.
16703         (scalbln_test_data): Likewise.
16704         (signbit_test_data): Likewise.
16705         (sqrt_test_data): Likewise.
16706         (significand_test_data): Likewise.
16707
16708 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16709
16710         [BZ #15424]
16711         * benchtests/bench-modf.c (struct args): Mark arg0 as
16712         volatile.
16713         * scripts/bench.pl: Mark members of struct args as volatile.
16714
16715 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16716
16717         [BZ # 15497]
16718         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16719         negative infinity on POWER6 or lower.
16720         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16721
16722 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16723
16724         [BZ #15442]
16725         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16726         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16727         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16728         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16729         (_FP_SETQNAN): New macro.
16730         (_FP_SETQNAN_SEMIRAW): Likewise.
16731         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16732         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16733         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16734         (FP_EXTEND): Use _FP_FRAC_SNANP.
16735         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16736         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16737         into account.
16738         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16739         New macro.
16740         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16741         Likewise.
16742
16743 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16744
16745         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16746         with DIVIDE_BY_ZERO_EXCEPTION.
16747         (gamma_test_data): Likewise.
16748         (lgamma_test_data): Likewise.
16749         (log_test_data): Likewise.
16750         (log10_test_data): Likewise.
16751         (log2_test_data): Likewise.
16752         (tgamma_test_data): Likewise.
16753
16754         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16755         (acos_test_tonearest): Likewise.
16756         (acos_test_towardzero): Likewise.
16757         (acos_test_downward): Likewise.
16758         (acos_test_upward): Likewise.
16759         (acosh_test): Likewise.
16760         (asin_test): Likewise.
16761         (asin_test_tonearest): Likewise.
16762         (asin_test_towardzero): Likewise.
16763         (asin_test_downward): Likewise.
16764         (asin_test_upward): Likewise.
16765         (asinh_test): Likewise.
16766         (atan_test): Likewise.
16767         (atanh_test): Likewise.
16768         (atan2_test): Likewise.
16769         (cabs_test): Likewise.
16770         (cacos_test): Likewise.
16771         (cacosh_test): Likewise.
16772         (casin_test): Likewise.
16773         (casinh_test): Likewise.
16774         (catan_test): Likewise.
16775         (catanh_test): Likewise.
16776         (cbrt_test): Likewise.
16777         (ccos_test): Likewise.
16778         (ccosh_test): Likewise.
16779         (cexp_test): Likewise.
16780         (clog_test): Likewise.
16781         (clog10_test): Likewise.
16782         (cos_test): Likewise.
16783         (cos_test_tonearest): Likewise.
16784         (cos_test_towardzero): Likewise.
16785         (cos_test_downward): Likewise.
16786         (cos_test_upward): Likewise.
16787         (cosh_test): Likewise.
16788         (cosh_test_tonearest): Likewise.
16789         (cosh_test_towardzero): Likewise.
16790         (cosh_test_downward): Likewise.
16791         (cosh_test_upward): Likewise.
16792         (cpow_test): Likewise.
16793         (csin_test): Likewise.
16794         (csinh_test): Likewise.
16795         (csqrt_test): Likewise.
16796         (ctan_test): Likewise.
16797         (ctan_test_tonearest): Likewise.
16798         (ctan_test_towardzero): Likewise.
16799         (ctan_test_downward): Likewise.
16800         (ctan_test_upward): Likewise.
16801         (ctanh_test): Likewise.
16802         (ctanh_test_tonearest): Likewise.
16803         (ctanh_test_towardzero): Likewise.
16804         (ctanh_test_downward): Likewise.
16805         (ctanh_test_upward): Likewise.
16806         (erf_test): Likewise.
16807         (erfc_test): Likewise.
16808         (exp_test): Likewise.
16809         (exp_test_tonearest): Likewise.
16810         (exp_test_towardzero): Likewise.
16811         (exp_test_downward): Likewise.
16812         (exp_test_upward): Likewise.
16813         (exp10_test): Likewise.
16814         (exp2_test): Likewise.
16815         (expm1_test): Likewise.
16816         (fmod_test): Likewise.
16817         (gamma_test): Likewise.
16818         (hypot_test): Likewise.
16819         (j0_test): Likewise.
16820         (j1_test): Likewise.
16821         (jn_test): Likewise.
16822         (lgamma_test): Likewise.
16823         (log_test): Likewise.
16824         (log10_test): Likewise.
16825         (log1p_test): Likewise.
16826         (log2_test): Likewise.
16827         (logb_test_downward): Likewise.
16828         (pow_test): Likewise.
16829         (pow_test_tonearest): Likewise.
16830         (pow_test_towardzero): Likewise.
16831         (pow_test_downward): Likewise.
16832         (pow_test_upward): Likewise.
16833         (remainder_test): Likewise.
16834         (remquo_test): Likewise.
16835         (sin_test): Likewise.
16836         (sin_test_tonearest): Likewise.
16837         (sin_test_towardzero): Likewise.
16838         (sin_test_downward): Likewise.
16839         (sin_test_upward): Likewise.
16840         (sincos_test): Likewise.
16841         (sinh_test): Likewise.
16842         (sinh_test_tonearest): Likewise.
16843         (sinh_test_towardzero): Likewise.
16844         (sinh_test_downward): Likewise.
16845         (sinh_test_upward): Likewise.
16846         (sqrt_test): Likewise.
16847         (tan_test): Likewise.
16848         (tan_test_tonearest): Likewise.
16849         (tan_test_towardzero): Likewise.
16850         (tan_test_downward): Likewise.
16851         (tan_test_upward): Likewise.
16852         (tanh_test): Likewise.
16853         (tgamma_test): Likewise.
16854         (y0_test): Likewise.
16855         (y1_test): Likewise.
16856         (yn_test): Likewise.
16857
16858         * math/gen-libm-test.pl (adjust_arg): Remove function.
16859         (special_function): Remove argument $in_func.  Only handle
16860         generating output for tables of tests, not inside functions.
16861         (parse_args): Likewise.
16862         (generate_testfile): Remove variable $in_func.  Update call to
16863         parse_args.
16864         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16865         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16866         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16867         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16868         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16869         (MAX_VALUE_INIT): Rename macro to max_value.
16870         (MIN_VALUE_INIT): Rename macro to min_value.
16871         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16872         (plus_zero): Remove variable.
16873         (minus_zero): Likewise.
16874         (plus_infty): Likewise.
16875         (minus_infty): Likewise.
16876         (qnan_value): Likewise.
16877         (max_value): Likewise.
16878         (min_value): Likewise.
16879         (min_subnorm_value): Likewise.
16880
16881 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16882
16883         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16884         uint64_t or uint32_t usage.
16885         * crypt/sha256-block.c: Likewise.
16886         * crypt/sha256-crypt.c: Likewise.
16887         * crypt/sha256.c: Likewise.
16888         * crypt/sha512-block.c: Likewise.
16889         * crypt/sha512-crypt.c: Likewise.
16890         * crypt/sha512.c: Likewise.
16891         * debug/backtrace-tst.c: Likewise.
16892         * debug/pcprofiledump.c: Likewise.
16893         * elf/cache.c: Likewise.
16894         * elf/dl-cache.c: Likewise.
16895         * elf/dl-misc.c: Likewise.
16896         * elf/dl-profile.c: Likewise.
16897         * elf/dl-support.c: Likewise.
16898         * elf/ldconfig.c: Likewise.
16899         * elf/sprof.c: Likewise.
16900         * iconv/dummy-repertoire.c: Likewise.
16901         * iconv/iconv_charmap.c: Likewise.
16902         * iconv/skeleton.c: Likewise.
16903         * iconvdata/8bit-generic.c: Likewise.
16904         * iconvdata/cp737.h: Likewise.
16905         * iconvdata/cp775.h: Likewise.
16906         * iconvdata/ibm1008.h: Likewise.
16907         * iconvdata/ibm1025.h: Likewise.
16908         * iconvdata/ibm1046.h: Likewise.
16909         * iconvdata/ibm1097.h: Likewise.
16910         * iconvdata/ibm1112.h: Likewise.
16911         * iconvdata/ibm1122.h: Likewise.
16912         * iconvdata/ibm1123.h: Likewise.
16913         * iconvdata/ibm1124.h: Likewise.
16914         * iconvdata/ibm1129.h: Likewise.
16915         * iconvdata/ibm1130.h: Likewise.
16916         * iconvdata/ibm1132.h: Likewise.
16917         * iconvdata/ibm1133.h: Likewise.
16918         * iconvdata/ibm1137.h: Likewise.
16919         * iconvdata/ibm1140.h: Likewise.
16920         * iconvdata/ibm1141.h: Likewise.
16921         * iconvdata/ibm1142.h: Likewise.
16922         * iconvdata/ibm1143.h: Likewise.
16923         * iconvdata/ibm1144.h: Likewise.
16924         * iconvdata/ibm1145.h: Likewise.
16925         * iconvdata/ibm1146.h: Likewise.
16926         * iconvdata/ibm1147.h: Likewise.
16927         * iconvdata/ibm1148.h: Likewise.
16928         * iconvdata/ibm1149.h: Likewise.
16929         * iconvdata/ibm1153.h: Likewise.
16930         * iconvdata/ibm1154.h: Likewise.
16931         * iconvdata/ibm1155.h: Likewise.
16932         * iconvdata/ibm1156.h: Likewise.
16933         * iconvdata/ibm1157.h: Likewise.
16934         * iconvdata/ibm1158.h: Likewise.
16935         * iconvdata/ibm1160.h: Likewise.
16936         * iconvdata/ibm1161.h: Likewise.
16937         * iconvdata/ibm1162.h: Likewise.
16938         * iconvdata/ibm1163.h: Likewise.
16939         * iconvdata/ibm1164.h: Likewise.
16940         * iconvdata/ibm1166.h: Likewise.
16941         * iconvdata/ibm1167.h: Likewise.
16942         * iconvdata/ibm12712.h: Likewise.
16943         * iconvdata/ibm1390.h: Likewise.
16944         * iconvdata/ibm1399.h: Likewise.
16945         * iconvdata/ibm16804.h: Likewise.
16946         * iconvdata/ibm4517.h: Likewise.
16947         * iconvdata/ibm4899.h: Likewise.
16948         * iconvdata/ibm4909.h: Likewise.
16949         * iconvdata/ibm4971.h: Likewise.
16950         * iconvdata/ibm5347.h: Likewise.
16951         * iconvdata/ibm803.h: Likewise.
16952         * iconvdata/ibm856.h: Likewise.
16953         * iconvdata/ibm901.h: Likewise.
16954         * iconvdata/ibm902.h: Likewise.
16955         * iconvdata/ibm9030.h: Likewise.
16956         * iconvdata/ibm9066.h: Likewise.
16957         * iconvdata/ibm921.h: Likewise.
16958         * iconvdata/ibm922.h: Likewise.
16959         * iconvdata/ibm9448.h: Likewise.
16960         * iconvdata/isiri-3342.h: Likewise.
16961         * iconvdata/jis0201.h: Likewise.
16962         * include/link.h: Likewise.
16963         * include/netdb.h: Likewise.
16964         * inet/check_native.c: Likewise.
16965         * inet/check_pf.c: Likewise.
16966         * inet/getipv4sourcefilter.c: Likewise.
16967         * inet/getnameinfo.c: Likewise.
16968         * inet/getsourcefilter.c: Likewise.
16969         * inet/htonl.c: Likewise.
16970         * inet/setipv4sourcefilter.c: Likewise.
16971         * inet/setsourcefilter.c: Likewise.
16972         * inet/test-inet6_opt.c: Likewise.
16973         * inet/tst-network.c: Likewise.
16974         * locale/C-collate.c: Likewise.
16975         * locale/C-ctype.c: Likewise.
16976         * locale/C-time.c: Likewise.
16977         * locale/C-translit.h: Likewise.
16978         * locale/loadarchive.c: Likewise.
16979         * locale/programs/3level.h: Likewise.
16980         * locale/programs/charmap.c: Likewise.
16981         * locale/programs/charmap.h: Likewise.
16982         * locale/programs/ld-address.c: Likewise.
16983         * locale/programs/ld-collate.c: Likewise.
16984         * locale/programs/ld-ctype.c: Likewise.
16985         * locale/programs/ld-identification.c: Likewise.
16986         * locale/programs/ld-measurement.c: Likewise.
16987         * locale/programs/ld-messages.c: Likewise.
16988         * locale/programs/ld-monetary.c: Likewise.
16989         * locale/programs/ld-name.c: Likewise.
16990         * locale/programs/ld-numeric.c: Likewise.
16991         * locale/programs/ld-paper.c: Likewise.
16992         * locale/programs/ld-telephone.c: Likewise.
16993         * locale/programs/ld-time.c: Likewise.
16994         * locale/programs/linereader.c: Likewise.
16995         * locale/programs/locale.c: Likewise.
16996         * locale/programs/locarchive.c: Likewise.
16997         * locale/programs/locfile.h: Likewise.
16998         * locale/programs/repertoire.c: Likewise.
16999         * locale/programs/simple-hash.c: Likewise.
17000         * locale/programs/simple-hash.h: Likewise.
17001         * malloc/memusage.c: Likewise.
17002         * malloc/memusagestat.c: Likewise.
17003         * nis/nis_defaults.c: Likewise.
17004         * nis/nis_hash.c: Likewise.
17005         * nis/nis_print.c: Likewise.
17006         * nis/nis_xdr.c: Likewise.
17007         * nscd/connections.c: Likewise.
17008         * nscd/hstcache.c: Likewise.
17009         * nscd/nscd_gethst_r.c: Likewise.
17010         * nscd/nscd_getserv_r.c: Likewise.
17011         * nscd/nscd_helper.c: Likewise.
17012         * nscd/servicescache.c: Likewise.
17013         * nss/makedb.c: Likewise.
17014         * nss/nss_db/db-XXX.c: Likewise.
17015         * nss/nss_db/db-initgroups.c: Likewise.
17016         * nss/nss_db/db-netgrp.c: Likewise.
17017         * nss/nss_files/files-network.c: Likewise.
17018         * nss/nss_files/files-parse.c: Likewise.
17019         * posix/bug-regex5.c: Likewise.
17020         * posix/fnmatch_loop.c: Likewise.
17021         * posix/regcomp.c: Likewise.
17022         * posix/regexec.c: Likewise.
17023         * posix/tst-rfc3484-2.c: Likewise.
17024         * posix/tst-rfc3484-3.c: Likewise.
17025         * posix/tst-rfc3484.c: Likewise.
17026         * resolv/nss_dns/dns-canon.c: Likewise.
17027         * resolv/nss_dns/dns-network.c: Likewise.
17028         * resolv/res_init.c: Likewise.
17029         * resolv/res_mkquery.c: Likewise.
17030         * resolv/tst-aton.c: Likewise.
17031         * stdlib/cxa_atexit.c: Likewise.
17032         * stdlib/cxa_finalize.c: Likewise.
17033         * stdlib/gen-fpioconst.c: Likewise.
17034         * stdlib/strtol_l.c: Likewise.
17035         * string/tst-endian.c: Likewise.
17036         * sunrpc/auth_des.c: Likewise.
17037         * sunrpc/clnt_udp.c: Likewise.
17038         * sunrpc/rtime.c: Likewise.
17039         * sunrpc/svcauth_des.c: Likewise.
17040         * sunrpc/xdr.c: Likewise.
17041         * sunrpc/xdr_intXX_t.c: Likewise.
17042         * sunrpc/xdr_rec.c: Likewise.
17043         * sysdeps/generic/ldconfig.h: Likewise.
17044         * sysdeps/generic/ldsodefs.h: Likewise.
17045         * sysdeps/generic/memusage.h: Likewise.
17046         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17047         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17048         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17049         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17050         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17051         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17052         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17053         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17054         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17056         * sysdeps/posix/getaddrinfo.c: Likewise.
17057         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17058         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17059         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17060         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17061         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17062         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17063         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17064         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17065         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17066         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17067         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17068         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17069         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17070         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17071         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17072         * sysdeps/x86_64/dl-tls.h: Likewise.
17073         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17074         * time/alt_digit.c: Likewise.
17075         * time/era.c: Likewise.
17076         * wcsmbs/tst-c16c32-1.c: Likewise.
17077
17078 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17079
17080         * math/libm-test.inc (struct test_sincos_data): New type.
17081         (RUN_TEST_LOOP_sincos): New macro.
17082         (sincos_test_data): New variable.
17083         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17084
17085 2013-05-16  Richard Henderson  <rth@redhat.com>
17086
17087         * math/atest-exp2.c (LIMB64): New macro.
17088         (CONSTSZ): New macro.
17089         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17090         (hexdig): Move ...
17091         (print_mpn_fp): ... to function scope.
17092         (read_mpn_hex): Remove.
17093         (get_log2): Remove.
17094         (exp2_mpn): Use mp_log2.
17095         (main): Use mp_exp1.
17096
17097 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17098
17099         * math/libm-test.inc: Remove comment about not testing "inexact"
17100         exceptions.
17101         (INEXACT_EXCEPTION): New macro.
17102         (NO_INEXACT_EXCEPTION): Likewise.
17103         (INVALID_EXCEPTION_OK): Update value.
17104         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17105         (OVERFLOW_EXCEPTION_OK): Likewise.
17106         (UNDERFLOW_EXCEPTION_OK): Likewise.
17107         (IGNORE_ZERO_INF_SIGN): Likewise.
17108         (ERRNO_UNCHANGED): Likewise.
17109         (ERRNO_EDOM): Likewise.
17110         (ERRNO_ERANGE): Likewise.
17111         (test_exceptions): Handle testing "inexact" exceptions.
17112         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17113         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17114         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17115         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17116         INEXACT_EXCEPTION.
17117         (rint_towardzero_test_data): Likewise.
17118         (rint_downward_test_data): Likewise.
17119         (rint_upward_test_data): Likewise.
17120
17121         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17122         with OVERFLOW_EXCEPTION.
17123         (exp10_test_data): Likewise.
17124         (exp2_test_data): Likewise.
17125         (expm1_test_data): Likewise.
17126         (lgamma_test_data): Likewise.
17127         (pow_test_data): Likewise.
17128         (tgamma_test_data): Likewise.
17129         (yn_test_data): Remove duplicate test of overflow.
17130
17131         * math/libm-test.inc (struct test_cc_c_data): New type.
17132         (RUN_TEST_LOOP_cc_c): New macro.
17133         (cpow_test_data): New variable.
17134         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17135
17136         * math/libm-test.inc (struct test_f_L_data): New type.
17137         (RUN_TEST_LOOP_f_L): New macro.
17138         (llrint_test_data): New variable.
17139         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17140         (llrint_tonearest_test_data): New variable.
17141         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17142         (llrint_towardzero_test_data): New variable.
17143         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17144         (llrint_downward_test_data): New variable.
17145         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17146         (llrint_upward_test_data): New variable.
17147         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17148         (llround_test_data): New variable.
17149         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17150
17151 2013-05-13  Peter Collingbourne  <pcc@google.com>
17152
17153         * math/atest-exp2.c (get_log2): Remove const attribute.
17154
17155 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17156
17157         * math/libm-test.inc (struct test_f_l_data): New type.
17158         (RUN_TEST_LOOP_f_l): New macro.
17159         (lrint_test_data): New variable.
17160         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17161         (lrint_tonearest_test_data): New variable.
17162         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17163         (lrint_towardzero_test_data): New variable.
17164         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17165         (lrint_downward_test_data): New variable.
17166         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17167         (lrint_upward_test_data): New variable.
17168         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17169         (lround_test_data): New variable.
17170         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17171
17172 2013-05-15  Peter Collingbourne  <pcc@google.com>
17173
17174         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17175         (EXTRACT_WORDS64) Use where appropriate.
17176         (INSERT_WORDS64) Likewise.
17177
17178         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17179         constraints with x constraints.
17180         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17181
17182         * malloc/obstack.c (_obstack_compat): Add initializer.
17183
17184 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17185
17186         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17187         si_trapno and add si_addr_lsb to _sifields.sigfault.
17188         (si_trapno): Remove macro.
17189         (si_addr_lsb): Define new macro.
17190         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17191
17192 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17193
17194         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17195         instead of TEST_f_l.
17196         (llrint_test_tonearest): Likewise.
17197         (llrint_test_towardzero): Likewise.
17198         (llrint_test_downward): Likewise.
17199         (llrint_test_upward): Likewise.
17200         (llround_test): Likewise.
17201
17202         * math/libm-test.inc (struct test_f_i_data): Add comment.
17203         (RUN_TEST_LOOP_f_b): New macro.
17204         (RUN_TEST_LOOP_f_b_tg): Likewise.
17205         (finite_test_data): New variable.
17206         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17207         (isfinite_test_data): New variable.
17208         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17209         (isinf_test_data): New variable.
17210         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17211         (isnan_test_data): New variable.
17212         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17213         (isnormal_test_data): New variable.
17214         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17215         (issignaling_test_data): New variable.
17216         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17217         (signbit_test_data): New variable.
17218         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17219
17220         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17221         with INVALID_EXCEPTION.
17222         (acosh_test_data): Likewise.
17223         (asin_test_data): Likewise.
17224         (atanh_test_data): Likewise.
17225         (fmod_test_data): Likewise.
17226         (log_test_data): Likewise.
17227         (log10_test_data): Likewise.
17228         (log2_test_data): Likewise.
17229         (pow_test_data): Likewise.
17230         (sqrt_test_data): Likewise.
17231         (y0_test_data): Likewise.
17232         (y1_test_data): Likewise.
17233         (yn_test_data): Likewise.
17234
17235         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17236         function contents.
17237
17238         * math/libm-test.inc (struct test_ff_i_data): New type.
17239         (RUN_TEST_LOOP_ff_i_tg): New macro.
17240         (isgreater_test_data): New variable.
17241         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17242         (isgreaterequal_test_data): New variable.
17243         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17244         (isless_test_data): New variable.
17245         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17246         (islessequal_test_data): New variable.
17247         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17248         (islessgreater_test_data): New variable.
17249         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17250         (isunordered_test_data): New variable.
17251         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17252
17253 2013-05-14  David S. Miller  <davem@davemloft.net>
17254
17255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17256
17257 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17258
17259         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17260
17261         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17262         extra_test to int.
17263         (struct test_f_i_data): Change type of max_ulp to int.
17264
17265         * math/libm-test.inc (test_ffI_f1_data): New type.
17266         (RUN_TEST_LOOP_ffI_f1): New macro.
17267         (remquo_test_data): New variable.
17268         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17269
17270         * setjmp/tst-setjmp-fp.c: New file.
17271         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17272         (link-libm): New variable.
17273         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17274
17275         * math/libm-test.inc (struct test_f_i_data): New type.
17276         (RUN_TEST_LOOP_f_i): New macro.
17277         (RUN_TEST_LOOP_f_i_tg): Likewise.
17278         (fpclassify_test_data): New variable.
17279         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17280         (ilogb_test_data): New variable.
17281         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17282
17283         * math/libm-test.inc (scalbln_test): Correct function name in END
17284         call.
17285
17286         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17287         (RUN_TEST_LOOP_fI_f1): New macro.
17288         (frexp_test_data): New variable.
17289         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17290
17291         * math/libm-test.inc (struct test_fF_f1_data): New type.
17292         (RUN_TEST_LOOP_fF_f1): New macro.
17293         (modf_test_data): New variable.
17294         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17295
17296         * math/libm-test.inc (struct test_f_f1_data): New type.
17297         (RUN_TEST_LOOP_f_f1): New macro.
17298         (gamma_test_data): New variable.
17299         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17300         (lgamma_test_data): New variable.
17301         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17302
17303 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17304
17305         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17306         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17307         (main): Comment "tls" pseudo-hwcap.
17308
17309 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17310
17311         * math/libm-test.inc (struct test_fl_f_data): New type.
17312         (RUN_TEST_LOOP_fl_f): New variable.
17313         (scalbln_test_data): New variable.
17314         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17315
17316         * math/libm-test.inc (struct test_fi_f_data): New type.
17317         (RUN_TEST_LOOP_fi_f): New macro.
17318         (ldexp_test_data): New variable.
17319         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17320         (scalbn_test_data): New variable.
17321         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17322
17323         * math/libm-test.inc (struct test_c_f_data): New type.
17324         (RUN_TEST_LOOP_c_f): New macro.
17325         (cabs_test_data): New variable.
17326         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17327         (carg_test_data): New variable.
17328         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17329         (cimag_test_data): New variable.
17330         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17331         (creal_test_data): New variable.
17332         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17333
17334         * math/libm-test.inc (struct test_if_f_data): New type.
17335         (RUN_TEST_LOOP_if_f): New macro.
17336         (jn_test_data): New variable.
17337         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17338         (yn_test_data): New variable.
17339         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17340
17341         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17342
17343 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17344
17345         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17346         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17347
17348 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17349
17350         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17351         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17352         (bench-deps): Add bench-timing.h.
17353         * benchtests-bench-skeleton.c: Include bench-timing.h.
17354         (main): Use TIMING_* macros instead of clock_gettime.
17355         * benchtests/bench-timing.h: New file.
17356
17357         [BZ #14582]
17358         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17359         Renamed from _LIB_VERSION.
17360         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17361
17362 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17363
17364         * math/libm-test.inc (struct test_fff_f_data): New type.
17365         (RUN_TEST_LOOP_fff_f): New macro.
17366         (fma_test_data): New variable.
17367         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17368         (fma_towardzero_test_data): New variable.
17369         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17370         (fma_downward_test_data): New variable.
17371         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17372         (fma_upward_test_data): New variable.
17373         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17374
17375         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17376         (struct test_c_c_data): New type.
17377         (RUN_TEST_LOOP_c_c): New macro.
17378         (cacos_test_data): New variable.
17379         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17380         (cacosh_test_data): New variable.
17381         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17382         (casin_test_data): New variable.
17383         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17384         (casinh_test_data): New variable.
17385         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17386         (catan_test_data): New variable.
17387         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17388         (catanh_test_data): New variable.
17389         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17390         (ccos_test_data): New variable.
17391         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17392         (ccosh_test_data): New variable.
17393         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17394         (cexp_test_data): New variable.
17395         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17396         (clog_test_data): New variable.
17397         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17398         (clog10_test_data): New variable.
17399         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17400         (conj_test_data): New variable.
17401         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17402         (cproj_test_data): New variable.
17403         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17404         (csin_test_data): New variable.
17405         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17406         (csinh_test_data): New variable.
17407         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17408         (csqrt_test_data): New variable.
17409         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17410         (ctan_test_data): New variable.
17411         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17412         (ctan_tonearest_test_data): New variable.
17413         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17414         (ctan_towardzero_test_data): New variable.
17415         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17416         (ctan_downward_test_data): New variable.
17417         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17418         (ctan_upward_test_data): New variable.
17419         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17420         (ctanh_test_data): New variable.
17421         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17422         (ctanh_tonearest_test_data): New variable.
17423         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17424         (ctanh_towardzero_test_data): New variable.
17425         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17426         (ctanh_downward_test_data): New variable.
17427         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17428         (ctanh_upward_test_data): New variable.
17429         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17430         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17431         of BUILD_COMPLEX.
17432
17433         * math/libm-test.inc (struct test_ff_f_data): New type.
17434         (struct test_ff_f_data_nexttoward): Likewise.
17435         (RUN_TEST_LOOP_2_f): New macro.
17436         (RUN_TEST_LOOP_ff_f): Likewise.
17437         (atan2_test_data): New variable.
17438         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17439         (copysign_test_data): New variable.
17440         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17441         (fdim_test_data): New variable.
17442         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17443         (fmax_test_data): New variable.
17444         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17445         (fmin_test_data): New variable.
17446         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17447         (fmod_test_data): New variable.
17448         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17449         (hypot_test_data): New variable.
17450         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17451         (nextafter_test_data): New variable.
17452         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17453         (nexttoward_test_data): New variable.
17454         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17455         (pow_test_data): New variable.
17456         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17457         (pow_tonearest_test_data): New variable.
17458         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17459         (pow_towardzero_test_data): New variable.
17460         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17461         (pow_downward_test_data): New variable.
17462         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17463         (pow_upward_test_data): New variable.
17464         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17465         (remainder_test_data): New variable.
17466         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17467         (scalb_test_data): New variable.
17468         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17469         * sysdeps/i386/fpu/libm-test-ulps: Update.
17470
17471 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17472
17473         * math/libm-test.inc (fma_test): Use max_value instead of local
17474         variable fltmax.
17475         (nextafter_test): Likewise.
17476
17477         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17478         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17479         (acos_downward_test_data): New variable.
17480         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17481         (acos_upward_test_data): New variable.
17482         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17483         (acosh_test_data): New variable.
17484         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17485         (asin_test_data): New variable.
17486         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17487         (asin_tonearest_test_data): New variable.
17488         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17489         (asin_towardzero_test_data): New variable.
17490         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17491         (asin_downward_test_data): New variable.
17492         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17493         (asin_upward_test_data): New variable.
17494         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17495         (asinh_test_data): New variable.
17496         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17497         (atan_test_data): New variable.
17498         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17499         (atanh_test_data): New variable.
17500         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17501         (cbrt_test_data): New variable.
17502         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17503         (ceil_test_data): New variable.
17504         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17505         (cos_test_data): New variable.
17506         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17507         (cos_tonearest_test_data): New variable.
17508         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17509         (cos_towardzero_test_data): New variable.
17510         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17511         (cos_downward_test_data): New variable.
17512         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17513         (cos_upward_test_data): New variable.
17514         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17515         (cosh_test_data): New variable.
17516         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17517         (cosh_tonearest_test_data): New variable.
17518         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17519         (cosh_towardzero_test_data): New variable.
17520         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17521         (cosh_downward_test_data): New variable.
17522         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17523         (cosh_upward_test_data): New variable.
17524         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17525         (erf_test_data): New variable.
17526         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17527         (erfc_test_data): New variable.
17528         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17529         (exp_test_data): New variable.
17530         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17531         (exp_tonearest_test_data): New variable.
17532         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17533         (exp_towardzero_test_data): New variable.
17534         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17535         (exp_downward_test_data): New variable.
17536         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17537         (exp_upward_test_data): New variable.
17538         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17539         (exp10_test_data): New variable.
17540         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17541         (exp2_test_data): New variable.
17542         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17543         (expm1_test_data): New variable.
17544         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17545         (fabs_test_data): New variable.
17546         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17547         (floor_test_data): New variable.
17548         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17549         (j0_test_data): New variable.
17550         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17551         (j1_test_data): New variable.
17552         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17553         (log_test_data): New variable.
17554         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17555         (log10_test_data): New variable.
17556         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17557         (log1p_test_data): New variable.
17558         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17559         (log2_test_data): New variable.
17560         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17561         (logb_test_data): New variable.
17562         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17563         (logb_downward_test_data): New variable.
17564         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17565         (nearbyint_test_data): New variable.
17566         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17567         (rint_test_data): New variable.
17568         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17569         (rint_tonearest_test_data): New variable.
17570         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17571         (rint_towardzero_test_data): New variable.
17572         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17573         (rint_downward_test_data): New variable.
17574         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17575         (rint_upward_test_data): New variable.
17576         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17577         (round_test_data): New variable.
17578         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17579         (sin_test_data): New variable.
17580         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17581         (sin_tonearest_test_data): New variable.
17582         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17583         (sin_towardzero_test_data): New variable.
17584         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17585         (sin_downward_test_data): New variable.
17586         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17587         (sin_upward_test_data): New variable.
17588         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17589         (sinh_test_data): New variable.
17590         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17591         (sinh_tonearest_test_data): New variable.
17592         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17593         (sinh_towardzero_test_data): New variable.
17594         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17595         (sinh_downward_test_data): New variable.
17596         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17597         (sinh_upward_test_data): New variable.
17598         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17599         (sqrt_test_data): New variable.
17600         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17601         (tan_test_data): New variable.
17602         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17603         (tan_tonearest_test_data): New variable.
17604         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17605         (tan_towardzero_test_data): New variable.
17606         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17607         (tan_downward_test_data): New variable.
17608         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17609         (tan_upward_test_data): New variable.
17610         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17611         (tanh_test_data): New variable.
17612         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17613         (tgamma_test_data): New variable.
17614         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17615         (trunc_test_data): New variable.
17616         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17617         (y0_test_data): New variable.
17618         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17619         (y1_test_data): New variable.
17620         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17621         (significand_test_data): New variable.
17622         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17623
17624 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17625
17626         [BZ #12387]
17627         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17628
17629 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17630
17631         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17632
17633 2013-05-10  Andreas Jaeger  <aj@suse.de>
17634
17635         [BZ #15448]
17636         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17637         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17638
17639 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17640
17641         * math/gen-libm-test.pl (adjust_arg): New function.
17642         (special_functions): Handle generating output in both functions
17643         and arrays.
17644         (parse_args): Likewise.
17645         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17646         $in_func argument to parse_args.
17647         * math/libm-test.inc (struct test_f_f_data): New type.
17648         (IF_ROUND_INIT_): New macro.
17649         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17650         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17651         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17652         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17653         (ROUND_RESTORE_): Likewise.
17654         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17655         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17656         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17657         (ROUND_RESTORE_FE_UPWARD): Likewise.
17658         (RUN_TEST_LOOP_f_f): New macro.
17659         (acos_test_data): New variable.
17660         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17661         (acos_tonearest_test_data): New variable.
17662         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17663
17664 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17665
17666         * benchtests/bench-skeleton.c (startup): Fix coding style.
17667
17668 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17669
17670         [BZ #6809]
17671         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17672         negative infinity argument.
17673         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17674         negative infinity argument.
17675         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17676         negative infinity argument.
17677         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17678         domain errors.
17679
17680 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17681
17682         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17683         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17684         * iconv/iconv_prog.c (main): Likewise.
17685         * locale/programs/charmap-dir.c (charmap_readdir)
17686         (fopen_uncompressed): Likewise.
17687         * locale/programs/locfile.c (siblings_uncached)
17688         (write_locale_data): Use lstat64 instead of lstat.
17689         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17690         stat.
17691
17692 2013-05-10  Andreas Jaeger  <aj@suse.de>
17693
17694         [BZ #15395]
17695         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17696         localization.
17697         Include <locale.h>.
17698
17699 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17700
17701         * elf/dl-close.c (_dl_close_worker): Add comments.
17702
17703 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17704
17705         [BZ #15359]
17706         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17707         high part of pi/2.
17708         (__ieee754_rem_pio2l): Update comments.
17709
17710         [BZ #15429]
17711         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17712         high part of pi/2.
17713         (__ieee754_rem_pio2l): Update comments.
17714
17715         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17716         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17717
17718         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17719         M_PI_4l.
17720
17721         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17722         (M_PI_34_LOG10El): Likewise.
17723         (M_PI2_LOG10El): Likewise.
17724         (M_PI4_LOG10El): Likewise.
17725         (M_PI_LOG10El): Likewise.
17726
17727 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17728
17729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17730
17731 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17732
17733         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17734         (MINUS_ZERO_INIT): Likewise.
17735         (PLUS_INFTY_INIT): Likewise.
17736         (MINUS_INFTY_INIT): Likewise.
17737         (QNAN_VALUE_INIT): Likewise.
17738         (MAX_VALUE_INIT): Likewise.
17739         (MIN_VALUE_INIT): Likewise.
17740         (MIN_SUBNORM_VALUE_INIT): Likewise.
17741         (plus_zero): Initialize with PLUS_ZERO_INIT.
17742         (minus_zero): Initialize with MINUS_ZERO_INIT.
17743         (plus_infty): Initialize with PLUS_INFTY_INIT.
17744         (minus_infty): Initialize with MINUS_INFTY_INIT.
17745         (qnan_value): Initialize with QNAN_VALUE_INIT.
17746         (max_value): Initialize with MAX_VALUE_INIT.
17747         (min_value): Initialize with MIN_VALUE_INIT.
17748         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17749
17750         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17751         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17752         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17753         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17754
17755         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17756         (RUN_TEST_2_f): Likewise.
17757         (RUN_TEST_ff_f): Likewise.
17758         (RUN_TEST_fi_f): Likewise.
17759         (RUN_TEST_fl_f): Likewise.
17760         (RUN_TEST_fff_f): Likewise.
17761         (RUN_TEST_c_f): Likewise.
17762         (RUN_TEST_f_f1): Likewise.
17763         (RUN_TEST_fF_f1): Likewise.
17764         (RUN_TEST_fI_f1): Likewise.
17765         (RUN_TEST_ffI_f1): Likewise.
17766         (RUN_TEST_c_c): Likewise.
17767         (RUN_TEST_cc_c): Likewise.
17768         (RUN_TEST_f_i): Likewise.
17769         (RUN_TEST_f_i_tg): Likewise.
17770         (RUN_TEST_ff_i_tg): Likewise.
17771         (RUN_TEST_f_b): Likewise.
17772         (RUN_TEST_f_b_tg): Likewise.
17773         (RUN_TEST_f_l): Likewise.
17774         (RUN_TEST_f_L): Likewise.
17775         (RUN_TEST_sincos): Likewise.
17776         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17777         whether to show exceptions.  Do not include ");\n" in return
17778         value.
17779         (special_functions): Output call to RUN_TEST_sincos instead of
17780         check_float calls.  Update calls to new_test.
17781         (parse_args): Output call to single RUN_TEST_* macro instead of
17782         check_* calls and other assignments.  Update calls to new_test.
17783
17784         [BZ #2546]
17785         [BZ #2560]
17786         [BZ #5159]
17787         [BZ #15426]
17788         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17789         input to result for tgamma overflow.
17790         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17791         (gamma_coeff): New variable.
17792         (NCOEFF): New macro.
17793         (gamma_positive): New function.
17794         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17795         underflow here.  Use gamma_positive instead of exp (lgamma) for
17796         other arguments.
17797         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17798         (gamma_coeff): New variable.
17799         (NCOEFF): New macro.
17800         (gammaf_positive): New function.
17801         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17802         underflow here.  Use gamma_positive instead of exp (lgamma) for
17803         other arguments.
17804         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17805         (gamma_coeff): New variable.
17806         (NCOEFF): New macro.
17807         (gammal_positive): New function.
17808         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17809         underflow here.  Use gamma_positive instead of exp (lgamma) for
17810         other arguments.
17811         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17812         (gamma_coeff): New variable.
17813         (NCOEFF): New macro.
17814         (gammal_positive): New function.
17815         (__ieee754_gammal_r): Handle positive infinity, overflow and
17816         underflow here.  Handle NaN the same as positive infinity.  Remove
17817         check x < 0xffffffff for negative integers.  Use gamma_positive
17818         instead of exp (lgamma) for other arguments.
17819         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17820         (gamma_coeff): New variable.
17821         (NCOEFF): New macro.
17822         (gammal_positive): New function.
17823         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17824         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17825         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17826         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17827         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17828         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17829         * sysdeps/generic/math_private.h (__gamma_productf): New
17830         prototype.
17831         (__gamma_product): Likewise.
17832         (__gamma_productl): Likewise.
17833         * math/Makefile (libm-calls): Add gamma_product.
17834         * math/libm-test.inc (tgamma_test): Add more tests.
17835         * sysdeps/i386/fpu/libm-test-ulps: Update.
17836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17837
17838 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17839
17840         * benchtests/bench-skeleton.c (main): Preheat CPU.
17841
17842 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17843
17844         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17845
17846 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17847
17848         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17849         and _dl_skip_args_internal.
17850
17851 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17852
17853         * manual/message.texi (Message Translation): Talk about users.
17854         Message to key mapping impacts design.
17855
17856 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17857
17858         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17859
17860         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17861
17862         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17863         * sysdeps/wordsize-64/glob64.c: ... here.
17864
17865         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17866         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17867         New macros.
17868
17869         * debug/getlogin_r_chk.c: Moved to ...
17870         * login/getlogin_r_chk.c: ... here.
17871         * debug/Makefile (routines): Move getlogin_r_chk to ...
17872         * login/Makefile (routines): ... here.
17873         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17874         * login/Versions (libc: GLIBC_2.4): ... here.
17875
17876         * io/poll.c (__poll): Renamed from poll.
17877         Add libc_hidden_def.
17878         (poll): Define as weak alias.
17879
17880         * debug/ptsname_r_chk.c: Moved to ...
17881         * login/ptsname_r_chk.c: ... here.
17882         * debug/Makefile (routines): Move ptsname_r_chk to ...
17883         * login/Makefile (routines): ... here.
17884         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17885         * login/Versions (libc: GLIBC_2.4): ... here.
17886
17887         * posix/getlogin.c: Moved to ...
17888         * login/getlogin.c: ... here.
17889         * posix/getlogin_r.c: Moved to ...
17890         * login/getlogin_r.c: ... here.
17891         * posix/getlogin_r.c: Moved to ...
17892         * login/getlogin_r.c: ... here.
17893         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17894         * login/Makefile (routines): ... here.
17895         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17896         * login/Versions (libc: GLIBC_2.0): ... here.
17897
17898         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17899         (setrlimit): Define as weak alias.
17900
17901         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17902         Call __ names for open, ftruncate, and close.
17903         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17904         (truncate): Define as weak alias.
17905
17906 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17907
17908         * math/gen-libm-test.pl (parse_args): Initialize x before each
17909         test of frexp, modf and remquo.
17910
17911         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17912         test signgam value.
17913
17914 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17915
17916         [BZ #15418]
17917         [BZ #15419]
17918         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17919         internal tests.
17920         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17921
17922 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17923
17924         * elf/dl-writev.h: New file.
17925         * elf/dl-misc.c: Include it.
17926         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17927         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17928
17929 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17930
17931         * math/libm-test.inc (noXFails): Remove variable.
17932         (noXPasses): Likewise.
17933         (BUILD_COMPLEX_INT): Remove macro.
17934         (print_screen): Remove xfail argument.
17935         (print_screen_max_error): Likewise.
17936         (update_stats): Likewise.
17937         (print_max_error): Likewise.  Update calls to other affected
17938         functions.
17939         (print_complex_max_error): Likewise.
17940         (test_single_exception): Update calls to print_screen.
17941         (test_single_errno): Likewise.
17942         (check_float_internal): Remove xfail argument.  Update calls to
17943         other affected functions.
17944         (check_float): Likewise.
17945         (check_complex): Likewise.
17946         (check_int): Likewise.
17947         (check_long): Likewise.
17948         (check_bool): Likewise.
17949         (check_longlong): Likewise.
17950         (main): Don't print noXFails and noXPasses.
17951         * math/gen-libm-test.pl (top level): Don't mention expected
17952         failure handling in comment.
17953         (new_test): Don't handle expected failures.
17954         (parse_args): Don't mention expected failure handling in comment.
17955         (generate_testfile): Don't handle expected failures.
17956         (parse_ulps): Likewise.
17957         (print_ulps_file): Likewise.
17958         (get_failure): Remove function.
17959         (output_test): Don't handle expected failures.
17960         * make/README.libm-test: Don't mention expected failure handling.
17961
17962         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17963         (minus_zero): Likewise.
17964         (plus_infty): Likewise.
17965         (minus_infty): Likewise.
17966         (qnan_value): Likewise.
17967         (max_value): Likewise.
17968         (min_value): Likewise.
17969         (min_subnorm_value): Likewise.
17970         (initialize): Do not initialize those variables dynamically.
17971
17972 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17973
17974         * io/open.c (__open_2): Moved to ...
17975         * io/open_2.c: ... this new file.
17976         * io/open64.c (__open64_2): Moved to ...
17977         * io/open64_2.c: ... this new file.
17978         * io/openat.c (__openat_2): Moved to ...
17979         * io/openat_2.c: ... this new file.
17980         * io/openat64.c (__openat64_2): Moved to ...
17981         * io/openat64_2.c: ... this new file.
17982         * io/Makefile (routines): Add them.
17983         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17984         * sysdeps/unix/sysv/linux/open_2.c: File removed.
17985         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17986         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17987         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17988         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17989         (__openat64): Add hidden_ver.
17990         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17991         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17992
17993         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17994         Separately conditionalize setting of GLRO(dl_sysinfo) so
17995         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17996         as well, but the actual setting is only under [NEED_DL_SYSINFO].
17997
17998 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17999
18000         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18001         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18002         definition.
18003         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18004         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18005         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18006         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18007         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18008
18009 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18010
18011         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18012         test signgam value.
18013
18014         * math/libm-test.inc (hypot_test): Do not use
18015         IGNORE_ZERO_INF_SIGN.
18016
18017 2013-05-03  Andreas Jaeger  <aj@suse.de>
18018
18019         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18020         Linux 3.9.
18021         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18022         (PF_MAX): Adjust for VSOCK change.
18023
18024 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18025
18026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18027
18028 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18029
18030         [BZ #15264]
18031         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18032         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18033         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18034
18035 2013-05-02  David S. Miller  <davem@davemloft.net>
18036
18037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18038
18039 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18040
18041         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18042
18043 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18044
18045         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18046
18047 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18048
18049         [BZ #14952]
18050         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18051         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18052         Use __attribute__ ((__gnu_inline__)).
18053         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18054         Don't use __attribute__ ((__gnu_inline__)).
18055
18056 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18057
18058         [BZ #15423]
18059         * math/s_catan.c (__catan): Handle small real or imaginary part of
18060         input specially to avoid spurious underflow.
18061         * math/s_catanf.c (__catanf): Likewise.
18062         * math/s_catanh.c (__catanh): Likewise.
18063         * math/s_catanhf.c (__catanhf): Likewise.
18064         * math/s_catanhl.c (__catanhl): Likewise.
18065         * math/s_catanl.c (__catanl): Likewise.
18066         * math/libm-test.inc (catan_test): Add more tests.
18067         (catanh_test): Likewise.
18068         * sysdeps/i386/fpu/libm-test-ulps: Update.
18069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18070
18071 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18072
18073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18074
18075 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18076
18077         [BZ #15416]
18078         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18079         accurately for denominator in atan2.
18080         * math/s_catanf.c (__catanf): Likewise.
18081         * math/s_catanh.c (__catanh): Likewise.
18082         * math/s_catanhf.c (__catanhf): Likewise.
18083         * math/s_catanhl.c (__catanhl): Likewise.
18084         * math/s_catanl.c (__catanl): Likewise.
18085         * math/libm-test.inc (catan_test): Add more tests.
18086         (catanh_test): Likewise.
18087         * sysdeps/i386/fpu/libm-test-ulps: Update.
18088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18089
18090 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18091
18092         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18093
18094         * benchtests/Makefile (bench): Remove slow benchmarks.
18095         * benchtests/atan-inputs: Add slow benchmark inputs.
18096         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18097         (BENCH_FUNC): Accept variant offset.
18098         (VARIANT): Define.
18099         * benchtests/bench-skeleton.c (main): Run benchmark for each
18100         variant.
18101         * benchtests/cos-inputs: Add slow benchmark inputs.
18102         * benchtests/exp-inputs: Likewise.
18103         * benchtests/pow-inputs: Likewise.
18104         * benchtests/sin-inputs: Likewise.
18105         * benchtests/slowatan-inputs: Remove.
18106         * benchtests/slowatan.c: Remove.
18107         * benchtests/slowcos-inputs: Remove.
18108         * benchtests/slowcos.c: Remove.
18109         * benchtests/slowexp-inputs: Remove.
18110         * benchtests/slowexp.c: Remove.
18111         * benchtests/slowpow-inputs: Remove.
18112         * benchtests/slowpow.c: Remove.
18113         * benchtests/slowsin-inputs: Remove.
18114         * benchtests/slowsin.c: Remove.
18115         * benchtests/slowtan-inputs: Remove.
18116         * benchtests/slowtan.c: Remove.
18117         * benchtests/tan-inputs: Add slow benchmark inputs.
18118         * scripts/bench.pl: Parse comments and directives.
18119
18120         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18121         in CPPFLAGS.
18122         ($(objpfx)bench-%.c): Remove *-ITER.
18123         * benchtests/bench-modf.c: Remove definition of ITER.
18124         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18125         (main): Loop for DURATION seconds instead of fixed number of
18126         iterations.
18127         * scripts/bench.pl: Don't expect iterations in parameters.
18128
18129 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18130
18131         * io/fchdir.c (__fchdir): Renamed from fchdir.
18132         (fchdir): Define as weak alias.
18133
18134 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18135
18136         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18137         (ERRNO_EDOM): Likewise.
18138         (ERRNO_ERANGE): Likewise.
18139         (noErrnoTests): New variable.
18140         (init_max_error): Set errno to 0.
18141         (test_single_errno): New function.
18142         (test_errno): Likewise.
18143         (check_float_internal): Call test_errno.  Set errno to 0.
18144         (check_complex): Refer to errno tests in comment.
18145         (check_int): Call test_errno.  Set errno to 0.
18146         (check_long): Likewise.
18147         (check_bool): Likewise.
18148         (check_longlong): Likewise.
18149         (cos_test): Use ERRNO_* flags for errno tests instead of
18150         check_int.
18151         (expm1_test): Likewise.
18152         (fmod_test): Likewise.
18153         (ilogb_test): Likewise.
18154         (lgamma_test): Likewise.
18155         (pow_test): Likewise.
18156         (remainder_test): Likewise.
18157         (sin_test): Likewise.
18158         (tan_test): Likewise.
18159         (yn_test): Likewise.
18160         (initialize): Set errno to 0.
18161         (main): Print number of errno tests.
18162         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18163
18164 2013-04-29  Andreas Jaeger  <aj@suse.de>
18165
18166         [BZ #15084]
18167         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18168         and RES_USEVC.
18169
18170         [BZ #15085]
18171         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18172         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18173         unimplemented.
18174
18175         [BZ #15380]
18176         * stdlib/random.c (__initstate): Return NULL if
18177         __initstate fails.
18178
18179         [BZ #15086]
18180         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18181         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18182         RES_SNGLKUPREOP.
18183
18184 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18185
18186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18187
18188 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18189
18190         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18191         of individual tests.
18192         (casin_test): Likewise.
18193         (casinh_test): Likewise.
18194
18195 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18196
18197         [BZ #15409]
18198         * math/s_catan.c (__catan): Handle arguments with large real or
18199         imaginary part separately without squaring.
18200         * math/s_catanf.c (__catanf): Likewise.
18201         * math/s_catanh.c (__catanh): Likewise.
18202         * math/s_catanhf.c (__catanhf): Likewise.
18203         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18204         and redefine.
18205         (__catanhl): Handle arguments with large real or imaginary part
18206         separately without squaring.
18207         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18208         and redefine.
18209         (__catanl): Handle arguments with large real or imaginary part
18210         separately without squaring.
18211         * math/libm-test.inc (catan_test): Add more tests.
18212         (catanh_test): Likewise.
18213         * sysdeps/i386/fpu/libm-test-ulps: Update.
18214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18215
18216 2013-04-27  Andreas Jaeger  <aj@suse.de>
18217
18218         [BZ #15007]
18219         * stdlib/stdlib.h: Update guards for qecvt.
18220         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18221         <stdlib.h>.
18222
18223 2013-04-27  Allan McRae  <allan@archlinux.org>
18224
18225         * sysdeps/i386/fpu/libm-test-ulps: Update.
18226
18227 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18228
18229         [BZ #15406]
18230         * math/s_catan.c: Include <float.h>.
18231         (__catan): Ensure underflow exception occurs for underflowed
18232         result.
18233         * math/s_catanf.c: Include <float.h>.
18234         (__catanf): Ensure underflow exception occurs for underflowed
18235         result.
18236         * math/s_catanh.c: Include <float.h>.
18237         (__catanh): Ensure underflow exception occurs for underflowed
18238         result.
18239         * math/s_catanhf.c: Include <float.h>.
18240         (__catanhf): Ensure underflow exception occurs for underflowed
18241         result.
18242         * math/s_catanhl.c: Include <float.h>.
18243         (__catanhl): Ensure underflow exception occurs for underflowed
18244         result.
18245         * math/s_catanl.c: Include <float.h>.
18246         (__catanl): Ensure underflow exception occurs for underflowed
18247         result.
18248         * math/libm-test.inc (catan_test): Add more tests.
18249         (catanh_test): Likewise.
18250
18251         [BZ #15405]
18252         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18253         underflowed result.
18254         * math/s_ccoshf.c (__ccoshf): Likewise.
18255         * math/s_ccoshl.c (__ccoshl): Likewise.
18256         * math/s_csin.c (__csin): Likewise.
18257         * math/s_csinf.c (__csinf): Likewise.
18258         * math/s_csinh.c (__csinh): Likewise.
18259         * math/s_csinhf.c (__csinhf): Likewise.
18260         * math/s_csinhl.c (__csinhl): Likewise.
18261         * math/s_csinl.c (__csinl): Likewise.
18262         * math/libm-test.inc (ccos_test): Add more tests.
18263         (ccosh_test): Likewise.
18264         (csin_test): Likewise.
18265         (csinh_test): Likewise.
18266
18267 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18268
18269         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18270         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18271         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18272         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18273         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18274         powerpc/power5+/fpu folders.
18275         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18276
18277
18278 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18279
18280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18281
18282 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18283
18284         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18285         additions to variable.
18286         [$(config-machine) = x86_64] (modules-names): Likewise.
18287         ($(objpfx)tst-audit3): Remove dependency.
18288         ($(objpfx)tst-audit3.out): Likewise.
18289         ($(objpfx)tst-audit4): Likewise.
18290         ($(objpfx)tst-audit4.out): Likewise.
18291         ($(objpfx)tst-audit5): Likewise.
18292         ($(objpfx)tst-audit5.out): Likewise.
18293         ($(objpfx)tst-audit6): Likewise.
18294         ($(objpfx)tst-audit6.out): Likewise.
18295         ($(objpfx)tst-audit7): Likewise.
18296         ($(objpfx)tst-audit7.out): Likewise.
18297         (tst-audit3-ENV): Remove variable.
18298         (tst-audit4-ENV): Likewise.
18299         (tst-audit5-ENV): Likewise.
18300         (tst-audit6-ENV): Likewise.
18301         (tst-audit7-ENV): Likewise.
18302         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18303         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18304         addition to variable.
18305         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18306         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18307         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18308         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18309         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18310         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18311         tst-audit3, tst-audit4 and tst-audit5.
18312         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18313         tst-audit6 and tst-audit7.
18314         [$(subdir) = elf] (modules-names): Add audit modules for those
18315         tests.
18316         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18317         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18318         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18319         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18320         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18321         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18322         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18323         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18324         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18325         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18326         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18327         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18328         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18329         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18330         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18331         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18332         Likewise.
18333         [$(subdir) = elf && $(config-cflags-avx) = yes]
18334         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18335         [$(subdir) = elf && $(config-cflags-avx) = yes]
18336         (CFLAGS-tst-auditmod4a.c): Likewise.
18337         [$(subdir) = elf && $(config-cflags-avx) = yes]
18338         (CFLAGS-tst-auditmod4b.c): Likewise.
18339         [$(subdir) = elf && $(config-cflags-avx) = yes]
18340         (CFLAGS-tst-auditmod6b.c): Likewise.
18341         [$(subdir) = elf && $(config-cflags-avx) = yes]
18342         (CFLAGS-tst-auditmod6c.c): Likewise.
18343         [$(subdir) = elf && $(config-cflags-avx) = yes]
18344         (CFLAGS-tst-auditmod7b.c): Likewise.
18345         * elf/tst-audit3.c: Move to ...
18346         * sysdeps/x86_64/tst-audit3.c: ... here.
18347         * elf/tst-audit4.c: Move to ...
18348         * sysdeps/x86_64/tst-audit4.c: ... here.
18349         * elf/tst-audit5.c: Move to ...
18350         * sysdeps/x86_64/tst-audit5.c: ... here.
18351         * elf/tst-audit6.c: Move to ...
18352         * sysdeps/x86_64/tst-audit6.c: ... here.
18353         * elf/tst-audit7.c: Move to ...
18354         * sysdeps/x86_64/tst-audit7.c: ... here.
18355         * elf/tst-auditmod3a.c: Move to ...
18356         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18357         * elf/tst-auditmod3b.c: Move to ...
18358         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18359         * elf/tst-auditmod4a.c: Move to ...
18360         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18361         * elf/tst-auditmod4b.c: Move to ...
18362         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18363         * elf/tst-auditmod5a.c: Move to ...
18364         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18365         * elf/tst-auditmod5b.c: Move to ...
18366         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18367         * elf/tst-auditmod6a.c: Move to ...
18368         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18369         * elf/tst-auditmod6b.c: Move to ...
18370         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18371         * elf/tst-auditmod6c.c: Move to ...
18372         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18373         * elf/tst-auditmod7a.c: Move to ...
18374         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18375         * elf/tst-auditmod7b.c: Move to ...
18376         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18377
18378 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18379
18380         [BZ #15366]
18381         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18382         define unconditionally.
18383         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18384         define unconditionally.
18385         (INT8_C, INT16_C, etc.): Likewise.
18386
18387 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18388
18389         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18390         __ehdr_start with hidden visibility.
18391
18392         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18393
18394 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18395
18396         * math/libm-test.inc (cos_test): Use accurate hex constants.
18397         (sincost_test): Likewise.
18398
18399 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18400
18401         * math/libm-test.inc (catan_test): Add more tests.
18402         (catanh_test): Likewise.
18403
18404         * math/s_catanf.c (__catanf): Use suffixed floating-point
18405         constants.
18406         * math/s_catanhf.c (__catanhf): Likewise.
18407         * math/s_catanhl.c (__catanhl): Likewise.
18408         * math/s_catanl.c (__catanl): Likewise.
18409
18410         [BZ #15394]
18411         * math/s_catan.c (__catan): Calculate imaginary part of result
18412         with log1p not log unless computing log of number close to 0.
18413         * math/s_catanf.c (__catanf): Likewise.
18414         * math/s_catanl.c (__catanl): Likewise.
18415         * math/s_catanh.c (__catanh): Calculate real part of result with
18416         log1p not log unless computing log of number close to 0.
18417         * math/s_catanhf.c (__catanhf): Likewise.
18418         * math/s_catanhl.c (__catanhl): Likewise.
18419         * math/libm-test.inc (catan_test): Add more tests.
18420         (catanh_test): Likewise.
18421         * sysdeps/i386/fpu/libm-test-ulps: Update.
18422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18423
18424 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18425
18426         * benchtests/Makefile: Mention files in which fast and slow
18427         paths of math functions are implemented.
18428
18429 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18430
18431         * sysdeps/posix/timespec_get.c: New file.
18432
18433 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18434
18435         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18436         POWER.
18437         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18438         for POWER.
18439         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18440         powerpc/power5/fpu folders.
18441         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18442         * benchtests/Makefile: Add modf testcase.
18443         * benchtests/bench-modf.c: New file: Benchmark test for mo
18444
18445 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18446
18447         [BZ #14888]
18448         * time/Makefile (tests): Add tst-strptime-whitespace.
18449         * time/strptime_l.c (get_number): Use ISSPACE.
18450         (__strptime_internal): Likewise.
18451         * time/tst-strptime-whitespace.c: New test case.
18452
18453 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18454
18455         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18456         member.
18457         (_nss_files_init): Set it here.
18458
18459 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18460
18461         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18462         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18463         unsigned.
18464
18465 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18466
18467         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18468
18469 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18470
18471         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18472         size just once.
18473
18474 2013-04-21  David S. Miller  <davem@davemloft.net>
18475
18476         * po/ru.po: Update Russion translation from translation project.
18477
18478 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18479
18480         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18481         and setfsgid.
18482
18483 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18484
18485         * configure.in: Remove i386 configure warning. Remove i386 case.
18486         * configure: Regenerate.
18487         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18488         Add example to error message.
18489         * sysdeps/i386/configure: Regenerate.
18490
18491 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18492
18493         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18494         slowtan.
18495         * benchtests/cos-inputs: New file.
18496         * benchtests/slowcos-inputs: New file.
18497         * benchtests/slowcos.c: New file.
18498         * benchtests/slowtan-inputs: New file.
18499         * benchtests/slowtan.c: New file.
18500         * benchtests/tan-inputs: New file.
18501
18502 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18503
18504         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18505         considered kosher.
18506
18507 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508
18509         * benchtests/Makefile: Include cppflags-iterator.mk to add
18510         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18511
18512         * Makefile.in (bench-clean): New target.
18513         * benchtests/Makefile (bench-clean): Likewise.
18514
18515 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18516
18517         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18518
18519 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18520
18521         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18522
18523 2013-04-15  Andreas Schwab  <schwab@suse.de>
18524
18525         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18526         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18527         * nscd/pwdcache.c (cache_addpw): Likewise.
18528         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18529         more than recsize.
18530
18531 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18532
18533         * benchtests/Makefile (bench): Write all output to
18534         bench-out.tmp together.
18535
18536 2013-04-15  Andreas Schwab  <schwab@suse.de>
18537
18538         * nscd/nscd.c (main): Don't fork again after closing files.
18539
18540 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18541
18542         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18543
18544         * benchtests/Rules (bench-deps): Collect dependencies into a
18545         single variable.  Add Makefile to dependencies.
18546         ($(objpfx)bench-%.c): Depend on bench-deps.
18547
18548 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18549             Xavier Roche  <roche+kml2@exalead.com>
18550
18551         [BZ #15361]
18552         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18553         just that it's a file descriptor.
18554         * manual/llio.texi (Synchronizing AIO Operations): Update description
18555         for EBADF error from aio_fsync.
18556
18557 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18558
18559         * Rules (bench): Move target definition...
18560         * benchtests/Makefile: ... here.
18561
18562 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18563
18564         * math/libm-test.inc (cos_test): Fix PI/2 test.
18565         (sincos_test): Likewise.
18566         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18567         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18568
18569 2013-04-11  Andreas Schwab  <schwab@suse.de>
18570
18571         [BZ #13988]
18572         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18573         accept exponent character only when digits were seen.
18574         * stdio-common/Makefile (tests): Add bug26.
18575         * stdio-common/bug26.c: New file.
18576
18577         [BZ #14293]
18578         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18579         non-freeable.
18580
18581 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18582
18583         * Makeconfig (rtld-prefix): Define built linker prefix.
18584         * Rules (run-bench): Use it.
18585         * math/Makefile (run-regen-ulps): Likewise.
18586
18587         * Rules (bench): Remove eval.
18588
18589 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18590             Roland McGrath  <roland@hack.frob.com>
18591             Ondrej Bilka  <neleai@seznam.cz>
18592
18593         [BZ #15346]
18594         * time/getdate.c: Include ctype.h and alloca.h.
18595         (__getdate_r): Trim leading and trailing spaces of input.
18596         * time/tst-getdate.c (tests): Add tests with leading and
18597         trailing spaces.
18598
18599 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18600
18601         [BZ #14280]
18602         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18603         when computing value.
18604
18605 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18606
18607         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18608         Use testrun.sh to run libm tests.
18609
18610         [BZ #15309]
18611         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18612
18613 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18614
18615         [BZ #15264]
18616         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18617
18618 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18619
18620         * Makefile.in (regen-ulps): New target.
18621         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18622         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18623         [ifneq (no,$(PERL)] (regen-ulps): New target.
18624         [ifeq (no,$(PERL)] (regen-ulps): New target.
18625         * math/libm-test.inc (ulps_file_name): Define.
18626         (output_dir): New variable.
18627         (options): Add "output-dir" option.
18628         (parse_opt): Handle 'o' case.
18629         (main): If output_dir is non-NULL use it as a prefix
18630         otherwise use "".
18631         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18632
18633 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18634
18635         [BZ #10060, #10062]
18636         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18637         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18638         fail configure if __sync_val_compare_and_swap is not inlined.
18639         * sysdeps/i386/configure: Regenerate.
18640         * configure.in: Build for i686 when configured for i386.
18641         * configure: Regenerate.
18642         * README: Remove i386 reference.
18643
18644 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18645
18646         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18647         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18648
18649 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18650
18651         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18652         (lmsnanval): New variables.
18653         (F): Add conversion tests.
18654         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18655         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18656
18657         * stdio-common/tstdiomisc.c (F): Properly collect individual
18658         tests' results.
18659
18660         [BZ #14686, #15336]
18661         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18662         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18663         Instead, use input NaN values or generate a qNaN by arithmetic
18664         operation.  Also fix bugs to comply with the standard.
18665         * math/libm-test.inc (remainder_test): Add more tests.
18666
18667         [BZ #15335, #15342]
18668         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18669         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18670         input NaN values or generate a qNaN by arithmetic operation.
18671
18672         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18673         unreachable code.
18674
18675         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18676         definitions.
18677
18678 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18679
18680         [BZ #14478]
18681         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18682         underflowed result.
18683         * math/s_cexpf.c (__cexpf): Likewise.
18684         * math/s_cexpl.c (__cexpl): Likewise.
18685         * math/libm-test.inc (cexp_test): Add more tests.
18686
18687 2013-04-03  Andreas Schwab  <schwab@suse.de>
18688
18689         [BZ #15330]
18690         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18691         order arrays from heap if bigger than alloca cutoff.
18692
18693 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18694
18695         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18696         (SNAN_TESTS_double): Refer to GCC PR56831.
18697         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18698         GCC PR56828.
18699
18700 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18701
18702         * Rules (bench): Move bench.out after the run is complete.
18703
18704         * Rules (bench): Echo currently running benchmark.
18705
18706         * benchtests/Makefile (bench): Add atan and slowatan.
18707         * benchtests/atan-inputs: New file.
18708         * benchtests/slowatan-inputs: New file.
18709         * benchtests/slowatan.c: New file.
18710
18711         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18712         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18713         its value.
18714
18715         [BZ #15305]
18716         * sysdeps/unix/sysv/linux/kernel-features.h
18717         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18718         __ASSUME_XFS_RESTRICTED_CHOWN.
18719         * sysdeps/unix/sysv/linux/pathconf.c
18720         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18721         Save and restore errno.
18722
18723 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18724
18725         [BZ #15327]
18726         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18727         arguments using __kernel_casinh.
18728         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18729         arguments using __kernel_casinhf.
18730         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18731         arguments using __kernel_casinhl.
18732         * math/libm-test.inc (cacosh_test): Add more tests.
18733         * sysdeps/i386/fpu/libm-test-ulps: Update.
18734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18735
18736 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18737
18738         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18740
18741         * bench/Makefile (bench): Add sin and slowsin.
18742         * benchtests/sin-inputs: New file.
18743         * benchtests/slowsin-inputs: New file.
18744         * benchtests/slowsin.c: New file.
18745
18746         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18747         (bench): Add slowexp and slowpow.
18748         (exp-ITER): Increase iterations.
18749         (pow-ITER): Likewise.
18750         * benchtests/exp-inputs: Change input.
18751         * benchtests/pow-inputs: Likewise.
18752         * benchtests/slowexp-inputs: New file.
18753         * benchtests/slowexp.c: New file.
18754         * benchtests/slowpow-inputs: New file.
18755         * benchtests/slowpow.c: New file.
18756
18757 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18758
18759         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18760         instructions.
18761         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18762         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18763         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18764         * benchtests/Makefile: Add rint benchtest.
18765         * benchtests/rint-inputs: Input for rint benchtest.
18766
18767 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18768
18769         * Versions.def (libm): Add GLIBC_2.18.
18770         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18771         hidden libm prototypes.
18772         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18773         * math/Makefile (libm-calls): Add s_issignaling.
18774         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18775         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18776         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18777         declaration.
18778         * math/math.h [__USE_GNU] (issignaling): New macro.
18779         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18780         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18781         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18782         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18783         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18784         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18785         * manual/arith.texi (issignaling): New section.
18786         * manual/libm-err-tab.pl (@all_functions): Update comment.
18787         * math/gen-libm-test.pl (parse_args): Apply special handling for
18788         issignaling.
18789         * math/libm-test.inc (print_float, issignaling_test): New
18790         functions.
18791         (check_float_internal): Add issignaling checks.
18792         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18793         default definition.
18794         * sysdeps/powerpc/math-tests.h: New file.
18795         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18796         tests.
18797         * math/test-snan.c (TEST_FUNC): Likewise.
18798
18799 2013-03-30  David S. Miller  <davem@davemloft.net>
18800
18801         * po/de.po: Update from translation team.
18802
18803 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18804
18805         [BZ #10357]
18806         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18807         imaginary part less than 1.0 and real part less than 0.5
18808         specially.
18809         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18810         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18811         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18812         (cacos_test): Add more tests.
18813         (casin_test): Likewise.
18814         (casinh_test): Likewise.
18815         * sysdeps/i386/fpu/libm-test-ulps: Update.
18816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18817
18818 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18819
18820         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18821         ONE with its value.
18822
18823         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18824         (__pow_mp): Replace ONE and MONE with their values.
18825         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18826         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18827         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18828         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18829         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18830         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18831
18832         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18833
18834         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18835         (__pow_mp): Replace ZERO and MZERO with their values.
18836         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18837         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18838         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18840         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18841         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18842         (__sqr): Likewise.
18843
18844         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18845
18846         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18847
18848 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18849
18850         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18851         Declare with __attribute__ ((weak)).
18852         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18853         Call __call_tls_dtors only if it's not NULL.
18854
18855 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18856
18857         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18858         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18859         magic __ehdr_start linker symbol if it's defined.
18860         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18861         them up here if it was already done.
18862
18863         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18864         (_dl_aux_init): Use const in cast when setting it.
18865         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18866         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18867         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18868
18869         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18870         Declare them here.
18871         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18872         * csu/libc-tls.c: Nor here.
18873         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18874
18875         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18876         (__libc_message): Never call vsyslog.
18877
18878 2013-03-28  Alan Modra  <amodra@gmail.com>
18879
18880         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18881         Define as empty.
18882         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18883         Likewise.
18884
18885 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18886
18887         [BZ #15214]
18888         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18889         underflow.
18890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18891
18892 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18893
18894         [BZ #15304]
18895         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18896         Don't add gid passed as argument.
18897
18898         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18899
18900 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18901
18902         [BZ #15307]
18903         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18904         imaginary part between 1.0 and 1.5 and real part less than 0.5
18905         specially.
18906         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18907         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18908         * math/libm-test.inc (cacos_test): Add more tests.
18909         (casin_test): Likewise.
18910         (casinh_test): Likewise.
18911         * sysdeps/i386/fpu/libm-test-ulps: Update.
18912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18913
18914 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18915
18916         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18917         constants.
18918         (norm): Likewise.
18919         (denorm): Likewise.
18920         (__dbl_mp): Likewise.
18921         (add_magnitudes): Likewise.
18922         (sub_magnitudes): Likewise.
18923         (__add): Likewise.
18924         (__sub): Likewise.
18925         (__mul): Likewise.
18926         (__sqr): Likewise.
18927         (__inv): Likewise.
18928         (__dvd): Likewise.
18929
18930         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18931         commented code.
18932         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18933         (__dubcos): Likewise.
18934         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18935         (__ieee754_acos): Likewise.
18936         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18937         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18938         (__exp1): Likewise.
18939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18940         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18941         (log1): Likewise.
18942         (my_log2): Likewise.
18943         (checkint): Likewise.
18944         * sysdeps/ieee754/dbl-64/e_remainder.c
18945         (__ieee754_remainder): Likewise.
18946         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18947         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18948         (bsloww): Likewise.
18949         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18950
18951         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18952         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18953         MANTISSA_STORE_T to store computations on mantissa.  Use
18954         macros for rounding and division.
18955         (denorm): Likewise.
18956         (__dbl_mp): Likewise.
18957         (add_magnitudes): Likewise.
18958         (sub_magnitudes): Likewise.
18959         (__mul): Likewise.
18960         (__sqr): Likewise.
18961         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18962         powers of two in terms of TWOPOW macro.
18963         (mp_no): Make type of mantissa as MANTISSA_T.
18964         [!RADIXI]: Define RADIXI.
18965         [!TWO52]: Define TWO52.
18966         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18967
18968 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18969
18970         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18971         llroundl symbol when building for PPC32.
18972
18973 2013-03-24  Mark H Weaver  <mhw@netris.org>
18974
18975         * manual/arith.texi (Normalization Functions): Fix prototypes for
18976         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18977
18978 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18979
18980         [BZ #13889]
18981         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18982         high value to check if expl overflow.
18983         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18984         to check for underflow and overflow.
18985         * math/libm-test.inc: Add exp test.
18986
18987 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
18988
18989         [BZ #11120]
18990         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18991         with NOT_IN_libc.
18992
18993 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18994
18995         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18996         symbol.
18997
18998 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18999
19000         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19001         wrap blocks consisting of several statements.
19002
19003         * sysdeps/generic/math-tests.h: New file.
19004         * sysdeps/i386/fpu/math-tests.h: Likewise.
19005         * math/test-snan.c: Include it.
19006         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19007
19008 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19009
19010         [BZ #15285]
19011         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19012         (__ieee754_j0l): Do not improve calculations using cos of twice
19013         input for inputs above LDBL_MAX / 2.0L.
19014         (__ieee754_y0l): Likewise.
19015         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19016         (__ieee754_j1l): Do not improve calculations using cos of twice
19017         input for inputs above LDBL_MAX / 2.0L.
19018         (__ieee754_y1l): Likewise.
19019         * math/libm-test.inc (j0_test): Add another test.
19020         (j1_test): Likewise.
19021         (y0_test): Likewise.
19022         (y1_test): Likewise.
19023         * sysdeps/i386/fpu/libm-test-ulps: Update.
19024
19025 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19026
19027         * Rules ($(objpfx)bench-%.c): Include code from a C source
19028         file.
19029
19030 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19031
19032         [BZ #15287]
19033         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19034         imaginary part 1.0 and real part less than 0.5 specially.
19035         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19036         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19037         * math/libm-test.inc (cacos_test): Add more tests.
19038         (casin_test): Likewise.
19039         (casinh_test): Likewise.
19040         * sysdeps/i386/fpu/libm-test-ulps: Update.
19041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19042
19043 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19044
19045         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19046         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19047
19048 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19049
19050         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19051         * config.make.in (config-cflags-sse4): Remove variable.
19052         (config-cflags-avx): Likewise.
19053         (config-cflags-sse2avx): Likewise.
19054         (config-cflags-novzeroupper): Likewise.
19055         (config-asflags-i686): Likewise.
19056         (have-mfma4): Likewise.
19057         (have-as-vis3): Likewise.
19058         (MIG): Likewise.
19059         * configure.in (MIG): Do not AC_SUBST.
19060         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19061         (libc_cv_cc_sse4): Do not AC_SUBST.
19062         (libc_cv_cc_avx): Likewise.
19063         (libc_cv_cc_sse2avx): Likewise.
19064         (libc_cv_cc_novzeroupper): Likewise.
19065         (libc_cv_cc_fma4): Likewise.
19066         (libc_cv_as_i686): Likewise.
19067         (libc_cv_sparc_as_vis3): Likewise.
19068         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19069         LIBC_CONFIG_VAR.
19070         (config-asflags-i686): Likewise.
19071         (config-cflags-avx): Likewise.
19072         (config-cflags-sse2avx): Likewise.
19073         (have-mfma4): Likewise.
19074         (config-cflags-novzeroupper): Likewise.
19075         * sysdeps/mach/configure.in (MIG): Likewise.
19076         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19077         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19078         LIBC_CONFIG_VAR.
19079         (config-cflags-avx): Likewise.
19080         (config-cflags-sse2avx): Likewise.
19081         (have-mfma4): Likewise.
19082         (config-cflags-novzeroupper): Likewise.
19083         * configure: Regenerated.
19084         * sysdeps/i386/configure: Likewise.
19085         * sysdeps/mach/configure: Likewise.
19086         * sysdeps/sparc/configure: Likewise.
19087         * sysdeps/x86_64/configure: Likewise.
19088
19089 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19090
19091         [BZ #14812]
19092         * locale/programs/localedef.c (options): Put N_ translation marker
19093         on argument names, not just descriptions.
19094
19095 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19096
19097         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19098
19099 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19100
19101         [BZ #14176]
19102         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19103
19104 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19105
19106         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19107         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19108         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19109         [!BEFORE_ABORT] (before_abort): New function.
19110         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19111         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19112         (writev_for_fatal): New function.
19113         (WRITEV_FOR_FATAL): New macro; call that.
19114         (backtrace_and_maps): New function.
19115         (BEFORE_ABORT): New macro; call that.
19116         (struct str_list): Type removed.
19117         (__libc_message, __libc_fatal): Functions removed.
19118         Include <sysdeps/posix/libc_fatal.c> instead.
19119
19120 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19121
19122         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19123         constants.
19124         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19125         double constants.
19126
19127 2013-03-19  Andreas Schwab  <schwab@suse.de>
19128
19129         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19130         * sysdeps/gnu/configure: Regenerate.
19131
19132         * configure.in: Substitute libc_cv_rtlddir.
19133         * configure: Regenerate.
19134         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19135         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19136         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19137         * elf/Makefile (install-others, CFLAGS-interp.c)
19138         (ldso_install, common-ldd-rewrite): Likewise.
19139         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19140         $(inst_slibdir)/$(rtld-installed-name).
19141         * scripts/rellns-sh: Add -p option.
19142         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19143         for source.
19144
19145 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19146
19147         * manual/nptl.texi: Renamed to ...
19148         * manual/threads.texi: ... this.
19149         * manual/Makefile (chapters): Update.
19150
19151 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19152
19153         [BZ #14812]
19154         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19155         on argument names, not just descriptions.
19156         * malloc/memusagestat.c (options): Likewise.
19157         * nss/getent.c (options): Likewise.
19158
19159 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19160
19161         [BZ #14812]
19162         * iconv/iconv_prog.c (options): Put N_ translation marker
19163         on argument names, not just descriptions.
19164         * iconv/iconvconfig.c (options): Likewise.
19165
19166 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19167
19168         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19169         implementation which is faster on all x86_64 architectures.
19170         Tested on AMD, Intel Nehalem, SNB, IVB.
19171         * sysdeps/x86_64/strnlen.S: Likewise.
19172
19173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19174         Remove all multiarch strlen and strnlen versions.
19175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19176         Remove strlen and strnlen related parts.
19177
19178         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19179         Inline strlen part.
19180         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19181
19182         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19183         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19184         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19185         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19186         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19187         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19188
19189 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19190
19191         * manual/memory.texi (Malloc Tunable Parameters):
19192         Sort parameters alphabetically. Add comments for missing entries.
19193
19194 2013-03-17  David S. Miller  <davem@davemloft.net>
19195
19196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19197
19198 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19199
19200         [BZ #15283]
19201         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19202         for arguments at most half maximum finite value.
19203         * math/libm-test.inc (j0_test): Add more tests.
19204         (j1_test): Likewise.
19205         (y0_test): Likewise.
19206         (y1_test): Likewise.
19207         * sysdeps/i386/fpu/libm-test-ulps: Update.
19208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19209
19210         [BZ #14155]
19211         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19212         1 / x and functions P and Q for arguments above 0x1p256L.
19213         (__ieee754_y0l): Likewise.
19214         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19215         (__ieee754_y1l): Likewise.
19216         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19217         (j1_test): Likewise.
19218         (y0_test): Likewise.
19219         (y1_test): Likewise.
19220
19221 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19222
19223         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19224         variable.
19225
19226 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19227
19228         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19229         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19230         zero since it's initialized to EXEC_PAGESIZE.
19231
19232         * sysdeps/unix/sysv/linux/ldsodefs.h
19233         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19234         * sysdeps/generic/ldsodefs.h: ... here.
19235
19236 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19237
19238         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19239
19240         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19241         math/test-snan.c.
19242         * math/test-snan.c: Renamed from
19243         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19244         * math/Makefile (tests): Add test-snan.
19245         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19246         test-powerpc-snan.
19247
19248         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19249         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19250         functions.
19251         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19252         __builtin_nan family of functions.
19253         * math/libm-test.inc (initialize): Initialize qnan_value with
19254         __builtin_nan family of functions.
19255         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19256         Remove variables.
19257         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19258         Remove functions.
19259         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19260         storage class.  Initialize qNaN_var and sNaN_var with
19261         __builtin_nan and __builtin_nans families of functions,
19262         respectively.
19263
19264         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19265         (sqrt_test): Remove duplicate test with qNaN input.
19266         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19267         (round_test, signbit_test, significand_test): Note missing +/-Inf
19268         as well as qNaN tests.
19269
19270         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19271         qNaN_var.  Fix a few strings, too.
19272         * math/libm-test.inc (nan_value): Rename to qnan_value.
19273         * math/gen-libm-test.pl (%beautify): Adjust to that.
19274         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19275         * math/test-misc.c (main): Likewise.
19276         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19277         to __qnan_bytes, and __qnan_union, respectively.
19278         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19279         Likewise.
19280         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19281         and lqnanval, respectively.
19282         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19283         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19284         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19285         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19286
19287         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19288         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19289         doubles.
19290
19291         * math/test-misc.c (main): Fix copy'n'pastos.
19292         * misc/tst-efgcvt.c (special): Likewise.
19293
19294         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19295         Remove declarations.
19296
19297 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19298
19299         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19300         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19301         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19302         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19303
19304 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19305
19306         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19307         macro to return vdso values correctly in IFUNC implementations.
19308         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19309         Optimization by using IFUNC.
19310
19311 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19312             Richard Henderson  <rth@redhat.com>
19313             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19314
19315         * Makefile.in (bench): New target.
19316         * NEWS: Mention the benchmark framework.
19317         * Rules (bench): Likewise.
19318         (binaries-bench): Generate binaries for functions to
19319         benchmark.
19320         * benchtests/Makefile: New makefile for benchmark tests.
19321         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19322         programs.
19323         * benchtests/exp-inputs: New input file for EXP function.
19324         * benchtests/pow-inputs: New input file for POW function.
19325         * scripts/bench.pl: New script to generate source files for
19326         benchmark programs.
19327
19328 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19329
19330         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19331         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19332         computations on mantissa.  Use macros for rounding and
19333         division.
19334         (denorm): Likewise.
19335         (__dbl_mp): Likewise.
19336         (add_magnitudes): Likewise.
19337         (sub_magnitudes): Likewise.
19338         (__mul): Likewise.
19339         (__sqr): Likewise.
19340         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19341         powers of two in terms of TWOPOW macro.
19342         (mp_no): Make type of mantissa as MANTISSA_T.
19343         [!RADIXI]: Define RADIXI.
19344         [!TWO52]: Define TWO52.
19345         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19346
19347         * manual/nptl.texi (cindex): Modify threads to pthreads.
19348
19349 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19350
19351         * sysdeps/x86_64/preconfigure: Regenerated.
19352
19353 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19354
19355         [BZ #14155]
19356         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19357         0x1p28 and above.
19358         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19359         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19360         0x1p28 and above.
19361         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19362         * math/libm-test.inc (j0_test): Do not allow one spurious
19363         underflow exception.
19364         (y1_test): Likewise.
19365
19366 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19367
19368         * manual/Makefile (chapters): Add nptl.
19369         * manual/debug.texi (Debugging Support): Add link to Threads
19370         chapter.
19371         * manual/nptl.texi: New file.
19372
19373         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19374
19375 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19376
19377         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19378         for non-NULL pointer before the memory validity test. Pointed
19379         out by Holger Brunck <holger.brunck@keymile.com>.
19380
19381 2013-03-13  Andreas Schwab  <schwab@suse.de>
19382
19383         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19384         instead of .os.
19385
19386 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19387
19388         * timezone/zic.c: Update from tzcode 2013b.
19389
19390 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19391
19392         * manual/install.texi (Configuring and compiling):
19393         Mention i686 and i586.
19394         * INSTALL: Regenerate.
19395
19396 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19397
19398         * sysdeps/init_array/elf-init.c: New file.
19399         * csu/elf-init.c
19400         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19401         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19402
19403         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19404         __gmon_start__ as global, but as static with a .preinit_array pointer.
19405         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19406         * sysdeps/init_array/crti.S: New file, empty except for comments.
19407         * sysdeps/init_array/crtn.S: Likewise.
19408
19409 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19410
19411         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19412         definining bcopy.
19413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19414         Remove Prefer_SSE_for_memop.
19415         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19416         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19417         HAS_PREFER_SSE_FOR_MEMOP.
19418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19419         memset-x86-64.
19420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19421         Remove bzero, memset ifunc support.
19422         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19423         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19424         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19425         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19426
19427 2013-03-11  Andreas Schwab  <schwab@suse.de>
19428
19429         [BZ #15234]
19430         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19431         by SHLIB_COMPAT.
19432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19433         (GLIBC_2.16): Remove pthread_atfork.
19434
19435 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19436
19437         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19438         (ptestcases.h): Likewise.
19439
19440 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19441
19442         * Makeconfig ($(common-objpfx)config.status): Depend on
19443         sysdeps/*/preconfigure{,.in} too.
19444
19445 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19446
19447         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19448         (__free_hook): Use void * instead of __malloc_ptr_t.
19449         (__malloc_hook): Likewise.
19450         (__realloc_hook): Likewise.
19451         (__memalign_hook): Likewise.
19452         (__after_morecore_hook): Likewise.
19453         * malloc/arena.c (save_malloc_hook): Likewise.
19454         (save_free_hook): Likewise.
19455         * malloc/hooks.c (malloc_hook_ini): Likewise.
19456         (realloc_hook_ini): Likewise.
19457         (memalign_hook_ini): Likewise.
19458         * malloc/malloc.c (malloc_hook_ini): Likewise.
19459         (realloc_hook_ini): Likewise.
19460         (memalign_hook_ini): Likewise.
19461         (__free_hook): Likewise.
19462         (__malloc_hook): Likewise.
19463         (__realloc_hook): Likewise.
19464         (__memalign_hook): Likewise.
19465         (__libc_malloc): Likewise.
19466         (__libc_free): Likewise.
19467         (__libc_realloc): Likewise.
19468         (__libc_memalign): Likewise.
19469         (__libc_valloc): Likewise.
19470         (__libc_pvalloc): Likewise.
19471         (__libc_calloc): Likewise.
19472         (__posix_memalign): Likewise.
19473         * malloc/morecore.c (__sbrk): Likewise.
19474         (__default_morecore): Likewise.
19475
19476         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19477
19478         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19479         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19480         __malloc_ptrdiff_t.
19481
19482         * malloc/malloc.h (__malloc_size_t): Remove macro.
19483         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19484         __malloc_size_t.
19485         (old_memalign_hook): Likewise.
19486         (old_realloc_hook): Likewise.
19487         (struct hdr): Likewise.
19488         (flood): Likewise.
19489         (mallochook): Likewise.
19490         (memalignhook): Likewise.
19491         (reallochook): Likewise.
19492         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19493         (tr_old_realloc_hook): Likewise.
19494         (tr_old_memalign_hook): Likewise.
19495         (tr_mallochook): Likewise.
19496         (tr_reallochook): Likewise.
19497         (tr_memalignhook): Likewise.
19498
19499 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19500
19501         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19502         default_ldbl_pack and using as default implementation.
19503         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19504         implementation.
19505         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19506         redundant definition.
19507         (ldbl_insert_mantissa): Likewise.
19508         (ldbl_canonicalize): Likewise.
19509         (ldbl_nearbyint): Likewise.
19510         (ldbl_pack): Rename to ldbl_pack_ppc.
19511         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19512         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19513         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19514
19515 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19516
19517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19518         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19519         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19520         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19522         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19523         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19524         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19525
19526 2013-03-07  Andreas Jaeger  <aj@suse.de>
19527
19528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19529         bits/mman-linux.h.
19530
19531 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19532
19533         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19534         Include mpa.h and declare __MPEXP.
19535         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19536         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19537         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19538         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19539         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19540         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19541         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19542
19543         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19544         (__slowpow): Use long double EXPL and LOGL functions to
19545         compute POW.
19546         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19547         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19548         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19549         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19550         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19551         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19552
19553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19554         intermediate variable to calculate exponent.
19555         (__sqr): Likewise.
19556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19557         Likewise.
19558         (__sqr): Likewise.
19559
19560         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19561         [!NO__SQR]: Define __sqr.
19562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19563         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19564         sysdeps/ieee754/dbl-64/mpa.c.
19565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19566
19567         [BZ #12723]
19568         * posix/Makefile (tests): Add tst-pathconf.
19569         * posix/tst-pathconf.c: New test case.
19570         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19571         _PC_PIPE_BUF.
19572         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19573
19574 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19575
19576         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19577
19578 2013-03-06  Andreas Jaeger  <aj@suse.de>
19579
19580         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19581         definition via __MAP_ANONYMOUS.
19582
19583         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19584         it's not part of Linux headers.
19585
19586         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19587         (MAP_HUGE_MASK): Define.
19588
19589         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19590         Define.
19591         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19592         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19593         Define.
19594         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19595         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19596         Define.
19597         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19598         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19599         Define.
19600         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19601
19602         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19603         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19604         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19605         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19606         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19607         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19608
19609         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19610         Handle f2fs.
19611
19612         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19613         Handle f2fs and efivarfs.
19614
19615         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19616         f2fs.
19617
19618         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19619         (EFIVARFS_MAGIC): Add.
19620         (F2FS_LINK_MAX): Add.
19621
19622 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19623
19624         * stdio-common/vfprintf.c: Replace __builtin_expect with
19625         __glibc_unlikely.
19626
19627 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19628
19629         [BZ #13550]
19630         * sysdeps/generic/bp-sym.h: Remove file.
19631         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19632         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19633         <bp-sym.h> and <bp-asm.h>.
19634         (__longjmp): Don't use BP_SYM.
19635         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19636         and <bp-asm.h>.
19637         (memcpy): Don't use BP_SYM.
19638         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19639         <bp-sym.h> and <bp-asm.h>.
19640         (memcpy): Don't use BP_SYM.
19641         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19642         <bp-asm.h>.
19643         (memcpy): Don't use BP_SYM.
19644         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19645         <bp-asm.h>.
19646         (memset): Don't use BP_SYM.
19647         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19648         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19649         (__bzero): Don't use BP_SYM.
19650         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19651         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19652         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19653         <bp-sym.h> and <bp-asm.h>.
19654         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19655         pointers.
19656         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19657         <bp-sym.h> and <bp-asm.h>.
19658         (memcpy): Don't use BP_SYM.
19659         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19660         <bp-sym.h> and <bp-asm.h>.
19661         (memset): Don't use BP_SYM.
19662         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19663         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19664         (__bzero): Don't use BP_SYM.
19665         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19666         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19667         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19668         <bp-sym.h> and <bp-asm.h>.
19669         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19670         pointers.
19671         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19672         <bp-sym.h> and <bp-asm.h>.
19673         (memcpy): Don't use BP_SYM.
19674         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19675         <bp-sym.h> and <bp-asm.h>.
19676         (memset): Don't use BP_SYM.
19677         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19678         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19679         (__bzero): Don't use BP_SYM.
19680         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19681         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19682         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19683         <bp-sym.h> and <bp-asm.h>.
19684         (__memchr): Don't use BP_SYM.
19685         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19686         <bp-sym.h> and <bp-asm.h>.
19687         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19688         pointers.
19689         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19690         <bp-sym.h> and <bp-asm.h>.
19691         (memcpy): Don't use BP_SYM.
19692         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19693         <bp-sym.h> and <bp-asm.h>.
19694         (__mempcpy): Don't use BP_SYM.
19695         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19696         <bp-sym.h> and <bp-asm.h>.
19697         (__memrchr): Don't use BP_SYM.
19698         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19699         <bp-sym.h> and <bp-asm.h>.
19700         (memset): Don't use BP_SYM.
19701         (__bzero): Likewise.
19702         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19703         <bp-sym.h> and <bp-asm.h>.
19704         (__rawmemchr): Don't use BP_SYM.
19705         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19706         <bp-sym.h> and <bp-asm.h>.
19707         (__STRCMP): Don't use BP_SYM.
19708         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19709         <bp-sym.h> and <bp-asm.h>.
19710         (strchr): Don't use BP_SYM.
19711         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19712         <bp-sym.h> and <bp-asm.h>.
19713         (__strchrnul): Don't use BP_SYM.
19714         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19715         <bp-sym.h> and <bp-asm.h>.
19716         (strlen): Don't use BP_SYM.
19717         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19718         <bp-sym.h> and <bp-asm.h>.
19719         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19720         pointers.
19721         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19722         <bp-sym.h> and <bp-asm.h>.
19723         (__strnlen): Don't use BP_SYM.
19724         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19725         <bp-sym.h> and <bp-asm.h>.
19726         (__GI__setjmp): Don't use BP_SYM.
19727         (_setjmp): Likewise.
19728         (__sigsetjmp): Likewise.
19729         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19730         (L(start_addresses)): Don't use BP_SYM.
19731         (_start): Likewise.
19732         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19733         <bp-asm.h>.
19734         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19735         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19736         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19737         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19738         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19739         <bp-asm.h>.
19740         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19741         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19742         about bounded pointers.
19743         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19744         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19745         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19746         <bp-asm.h>.
19747         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19748         about bounded pointers.  Remove GKM FIXME comments.
19749         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19750         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19751         <bp-asm.h>.
19752         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19753         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19754         Remove GKM FIXME comments.
19755         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19756         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19757         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19758         <bp-asm.h>.
19759         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19760         about bounded pointers.  Remove GKM FIXME comment.
19761         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19762         and <bp-asm.h>.
19763         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19764         pointers.
19765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19766         <bp-sym.h> and <bp-asm.h>.
19767         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19769         <bp-sym.h> and <bp-asm.h>.
19770         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19771         comment.
19772
19773 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19774
19775         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19776         call free(NULL).
19777
19778 2013-03-05  David S. Miller  <davem@davemloft.net>
19779
19780         * po/es.po: Update from translation team.
19781
19782 2013-03-05  Andreas Jaeger  <aj@suse.de>
19783
19784         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19785         <bits/mman-linux.h>.
19786         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19787         is fine.
19788         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19789         <bits/mman-linux.h> to end of file.
19790         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19791         is fine.
19792         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19793         <bits/mman-linux.h> to end of file.
19794         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19795         is fine.
19796         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19797         <bits/mman-linux.h> to end of file.
19798
19799         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19800         (MCL_CURRENT, MCL_FUTURE): Define here.
19801
19802 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19803
19804         [BZ #15232]
19805         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19806         attribute_hidden.
19807         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19808
19809 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19810
19811         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19812         fourth parameter needed for rt_sigprocmask syscall.
19813         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19814         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19815         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19816         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19817         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19818         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19819
19820 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19821
19822         [BZ #13550]
19823         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19824         comment about bounded pointers.
19825         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19826         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19827
19828 2013-03-04  Andreas Jaeger  <aj@suse.de>
19829
19830         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19831         common definitions.
19832
19833         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19834         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19835         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19836         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19837         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19838         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19839
19840 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19841
19842         [BZ #15055]
19843         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19844         __ieee754_sqrl instead of __sqrl.
19845
19846 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19847
19848         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19849         * sysdeps/powerpc/fpu_control.h: ... here.
19850         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19851         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19852         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19853         * sysdeps/powerpc/bits/mathinline.h: ... here.
19854
19855 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19856
19857         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19858         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19859         to just [NEED_DL_SYSINFO_DSO].
19860         * elf/dl-support.c: Likewise.
19861         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19862         * elf/rtld.c (dl_main): Likewise.
19863         * elf/setup-vdso.h (setup_vdso): Likewise.
19864         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19865         * sysdeps/unix/sysv/linux/dl-sysdep.c
19866         (_dl_discover_osversion): Likewise.
19867
19868 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19869
19870         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19871         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19872
19873 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19874
19875         * NEWS: Mention libm performance improvements and non-x86 PI
19876         futex support.
19877
19878         * csu/libc-start.c (__pthread_initialize_minimal): Change
19879         function arguments.
19880         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19881
19882 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19883
19884         [BZ #13550]
19885         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19886         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19887         <bp-sym.h> and <bp-asm.h>.
19888         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19889         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19890         and <bp-asm.h>.
19891         (memcpy): Don't use BP_SYM.
19892         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19893         <bp-asm.h>.
19894         (__mpn_add_n): Don't use BP_SYM.
19895         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19896         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19897         and <bp-asm.h>.
19898         (__mpn_addmul_1): Don't use BP_SYM.
19899         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19900         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19901         <bp-sym.h>.
19902         (_setjmp): Don't use BP_SYM.
19903         (__novmx_setjmp): Likewise.
19904         (__GI__setjmp): Likewise.
19905         (__vmx_setjmp): Likewise.
19906         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19907         <bp-sym.h>.
19908         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19909         (__bzero): Don't use BP_SYM.
19910         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19911         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19912         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19913         <bp-sym.h> and <bp-asm.h>.
19914         (memcpy): Don't use BP_SYM.
19915         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19916         <bp-sym.h> and <bp-asm.h>.
19917         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19918         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19919         <bp-sym.h> and <bp-asm.h>.
19920         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19921         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19922         <bp-asm.h>.
19923         (__mpn_lshift): Don't use BP_SYM.
19924         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19925         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19926         <bp-asm.h>.
19927         (memset): Don't use BP_SYM.
19928         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19929         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19930         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19931         <bp-asm.h>.
19932         (__mpn_mul_1): Don't use BP_SYM.
19933         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19934         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19935         <bp-sym.h> and <bp-asm.h>.
19936         (memcmp): Don't use BP_SYM.
19937         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19938         <bp-sym.h> and <bp-asm.h>.
19939         (memcpy): Don't use BP_SYM.
19940         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19941         <bp-sym.h> and <bp-asm.h>.
19942         (memset): Don't use BP_SYM.
19943         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19944         <bp-sym.h> and <bp-asm.h>.
19945         (strncmp): Don't use BP_SYM.
19946         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19947         <bp-sym.h> and <bp-asm.h>.
19948         (memcpy): Don't use BP_SYM.
19949         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19950         <bp-sym.h> and <bp-asm.h>.
19951         (memset): Don't use BP_SYM.
19952         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19953         <bp-sym.h> and <bp-asm.h>.
19954         (__memchr): Don't use BP_SYM.
19955         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19956         <bp-sym.h> and <bp-asm.h>.
19957         (memcmp): Don't use BP_SYM.
19958         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19959         <bp-sym.h> and <bp-asm.h>.
19960         (memcpy): Don't use BP_SYM.
19961         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19962         <bp-sym.h> and <bp-asm.h>.
19963         (__mempcpy): Don't use BP_SYM.
19964         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19965         <bp-sym.h> and <bp-asm.h>.
19966         (__memrchr): Don't use BP_SYM.
19967         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19968         <bp-sym.h> and <bp-asm.h>.
19969         (memset): Don't use BP_SYM.
19970         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19971         <bp-sym.h> and <bp-asm.h>.
19972         (__rawmemchr): Don't use BP_SYM.
19973         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19974         <bp-sym.h> and <bp-asm.h>.
19975         (__STRCMP): Don't use BP_SYM.
19976         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19977         <bp-sym.h> and <bp-asm.h>.
19978         (strchr): Don't use BP_SYM.
19979         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19980         <bp-sym.h> and <bp-asm.h>.
19981         (__strchrnul): Don't use BP_SYM.
19982         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19983         <bp-sym.h> and <bp-asm.h>.
19984         (strlen): Don't use BP_SYM.
19985         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19986         <bp-sym.h> and <bp-asm.h>.
19987         (strncmp): Don't use BP_SYM.
19988         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19989         <bp-sym.h> and <bp-asm.h>.
19990         (__strnlen): Don't use BP_SYM.
19991         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19992         <bp-asm.h>.
19993         (__mpn_rshift): Don't use BP_SYM.
19994         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19995         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19996         <bp-sym.h> and <bp-asm.h>.
19997         (__sigsetjmp): Don't use BP_SYM.
19998         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19999         (L(start_addresses)): Don't use BP_SYM.
20000         (_start): Likewise.
20001         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20002         <bp-asm.h>.
20003         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20004         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20005         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20006         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20007         <bp-asm.h>.
20008         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20009         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20010         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20011         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20012         <bp-asm.h>.
20013         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20014         comments.
20015         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20016         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20017         <bp-asm.h>.
20018         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20019         FIXME comments.
20020         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20021         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20022         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20023         <bp-asm.h>.
20024         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20025         comment.
20026         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20027         and <bp-asm.h>.
20028         (strncmp): Don't use BP_SYM,
20029         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20030         <bp-asm.h>.
20031         (__mpn_sub_n): Don't use BP_SYM.
20032         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20033         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20034         and <bp-asm.h>.
20035         (__mpn_submul_1): Don't use BP_SYM.
20036         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20038         <bp-sym.h> and <bp-asm.h>.
20039         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20041         <bp-sym.h> and <bp-asm.h>.
20042         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20043         comment.
20044
20045 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20046
20047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20048         Use ZK to minimize writes to Z.
20049         (sub_magnitudes): Simplify code a bit.
20050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20051         Use ZK to minimize writes to Z.
20052         (sub_magnitudes): Simplify code a bit.
20053
20054 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20055
20056         * csu/gmon-start.c: Add special exception to license text.
20057
20058 2013-02-27  Richard Henderson  <rth@redhat.com>
20059
20060         * scripts/config.guess: Update from config.git.
20061         * scripts/config.sub: Likewise.
20062
20063 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20064
20065         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20066
20067         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20068
20069         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20070
20071         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20072
20073         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20074
20075 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20076
20077         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20078         [$(build-shared = yes].
20079
20080 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20081
20082         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20083         (__mul): Reduce iterations for calculating mantissa.
20084
20085         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20086         MPTWO.
20087         (__mpranred): Likewise.
20088
20089         [BZ #15160]
20090         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20091         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20092
20093 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20094
20095         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20096         Define __attribute__.
20097
20098 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20099
20100         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20101         unused.
20102         * posix/regex_internal.h (__attribute): Remove.
20103         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20104         (re_string_context_at): Likewise.
20105         (bitset_not): Use __attribute__ and mark function as possibly
20106         unused.
20107         (bitset_merge): Likewise.
20108         (bitset_mask): Likewise.
20109         (re_string_char_size_at): Likewise.
20110         (re_string_wchar_at): Likewise.
20111         (re_string_elem_size_at): Likewise.
20112
20113 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20114
20115         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20116         code.
20117         (cc32): Likewise.
20118
20119         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20120         (__acr): Likewise.
20121         (__cpy): Likewise.
20122         (norm): Likewise.
20123         (denorm): Likewise.
20124         (__dbl_mp): Likewise.
20125         (add_magnitudes): Likewise.
20126         (sub_magnitudes): Likewise.
20127         (__mul): Likewise.
20128         (__inv): Likewise.
20129
20130         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20131         style.
20132
20133         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20134         style.
20135
20136         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20137         code.
20138
20139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20140         up changes with default code.
20141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20142         Likewise.
20143
20144 2013-02-24  Allan McRae  <allan@archlinux.org>
20145
20146         * manual/socket.texi (The Internet Namespace): Order menu items
20147         to match that in the file.
20148
20149         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20150         node listing of the info page menu.
20151
20152 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20153
20154         [BZ #13550]
20155         * sysdeps/i386/bp-asm.h: Remove file.
20156         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20157         (PARMS): Do not use macros from bp-asm.h.
20158         (S1): Likewise.
20159         (S2): Likewise.
20160         (SIZE): Likewise.
20161         (__mpn_add_n): Do not use BP_SYM
20162         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20163         "bp-asm.h".
20164         (PARMS): Do not use macros from bp-asm.h.
20165         (S1): Likewise.
20166         (SIZE): Likewise.
20167         (__mpn_addmul_1): Do not use BP_SYM
20168         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20169         "bp-asm.h".
20170         (PARMS): Do not use macros from bp-asm.h.
20171         (SIGMSK): Likewise.
20172         (_setjmp): Likewise.  Do not use BP_SYM.
20173         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20174         "bp-asm.h".
20175         (PARMS): Do not use macros from bp-asm.h.
20176         (SIGMSK): Likewise.
20177         (setjmp): Likewise.  Do not use BP_SYM.
20178         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20179         "bp-asm.h".
20180         (PARMS): Do not use macros from bp-asm.h.
20181         (__frexp): Do not use BP_SYM.
20182         (frexp): Likewise.
20183         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20184         "bp-asm.h".
20185         (PARMS): Do not use macros from bp-asm.h.
20186         (__frexpf): Do not use BP_SYM.
20187         (frexpf): Likewise.
20188         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20189         "bp-asm.h".
20190         (PARMS): Do not use macros from bp-asm.h.
20191         (__frexpl): Do not use BP_SYM.
20192         (frexpl): Likewise.
20193         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20194         "bp-asm.h".
20195         (PARMS): Do not use macros from bp-asm.h.
20196         (__remquo): Do not use BP_SYM.
20197         (remquo): Likewise.
20198         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20199         "bp-asm.h".
20200         (PARMS): Do not use macros from bp-asm.h.
20201         (__remquof): Do not use BP_SYM.
20202         (remquof): Likewise.
20203         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20204         "bp-asm.h".
20205         (PARMS): Do not use macros from bp-asm.h.
20206         (__remquol): Do not use BP_SYM.
20207         (remquol): Likewise.
20208         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20209         "bp-asm.h".
20210         (PARMS): Do not use macros from bp-asm.h.
20211         (DEST): Likewise.
20212         (SRC): Likewise.
20213         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20214         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20215         "bp-asm.h".
20216         (PARMS): Do not use macros from bp-asm.h.
20217         (strlen): Do not use BP_SYM.
20218         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20219         "bp-asm.h".
20220         (PARMS): Do not use macros from bp-asm.h.
20221         (S1): Likewise.
20222         (S2): Likewise.
20223         (SIZE): Likewise.
20224         (__mpn_add_n): Do not use BP_SYM.
20225         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20226         "bp-asm.h".
20227         (PARMS): Do not use macros from bp-asm.h.
20228         (S1): Likewise.
20229         (SIZE): Likewise.
20230         (__mpn_addmul_1): Do not use BP_SYM.
20231         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20232         weak_alias.
20233         (bzero): Likewise.
20234         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20235         "bp-asm.h".
20236         (PARMS): Do not use macros from bp-asm.h.
20237         (S): Likewise.
20238         (SIZE): Likewise.
20239         (__mpn_lshift): Do not use BP_SYM.
20240         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20241         "bp-asm.h".
20242         (PARMS): Do not use macros from bp-asm.h.
20243         (DEST): Likewise.
20244         (SRC): Likewise.
20245         (LEN): Likewise.
20246         (memcpy): Likewise.  Do not use BP_SYM.
20247         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20248         libc_hidden_def and weak_alias.
20249         (mempcpy): Do not use BP_SYM in weak_alias.
20250         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20251         "bp-asm.h".
20252         (PARMS): Do not use macros from bp-asm.h.
20253         (DEST): Likewise.
20254         (LEN): Likewise.
20255         [!BZERO_P] (CHR): Likewise.
20256         (memset): Likewise.  Do not use BP_SYM.
20257         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20258         "bp-asm.h".
20259         (PARMS): Do not use macros from bp-asm.h.
20260         (S1): Likewise.
20261         (SIZE): Likewise.
20262         (__mpn_mul_1): Do not use BP_SYM.
20263         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20264         "bp-asm.h".
20265         (PARMS): Do not use macros from bp-asm.h.
20266         (S): Likewise.
20267         (SIZE): Likewise.
20268         (__mpn_rshift): Do not use BP_SYM.
20269         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20270         "bp-asm.h".
20271         (PARMS): Do not use macros from bp-asm.h.
20272         (STR): Likewise.
20273         (CHR): Likewise.
20274         (strchr): Likewise.  Do not use BP_SYM.
20275         (index): Do not use BP_SYM in weak_alias.
20276         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20277         "bp-asm.h".
20278         (PARMS): Do not use macros from bp-asm.h.
20279         (DEST): Likewise.
20280         (SRC): Likewise.
20281         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20282         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20283         "bp-asm.h".
20284         (PARMS): Do not use macros from bp-asm.h.
20285         (strlen): Do not use BP_SYM.
20286         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20287         "bp-asm.h".
20288         (PARMS): Do not use macros from bp-asm.h.
20289         (S1): Likewise.
20290         (S2): Likewise.
20291         (SIZE): Likewise.
20292         (__mpn_sub_n): Do not use BP_SYM.
20293         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20294         "bp-asm.h".
20295         (PARMS): Do not use macros from bp-asm.h.
20296         (S1): Likewise.
20297         (SIZE): Likewise.
20298         (__mpn_submul_1): Do not use BP_SYM.
20299         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20300         "bp-asm.h".
20301         (PARMS): Do not use macros from bp-asm.h.
20302         (S1): Likewise.
20303         (S2): Likewise.
20304         (SIZE): Likewise.
20305         (__mpn_add_n): Do not use BP_SYM.
20306         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20307         weak_alias.
20308         (bzero): Likewise.
20309         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20310         "bp-asm.h".
20311         (PARMS): Do not use macros from bp-asm.h.
20312         (BLK2): Likewise.
20313         (LEN): Likewise.
20314         (memcmp): Do not use BP_SYM.
20315         (bcmp): Do not use BP_SYM in weak_alias.
20316         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20317         "bp-asm.h".
20318         (PARMS): Do not use macros from bp-asm.h.
20319         (DEST): Likewise.
20320         (SRC): Likewise.
20321         (LEN): Likewise.
20322         (memcpy): Likewise.  Do not use BP_SYM.
20323         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20324         "bp-asm.h".
20325         (PARMS): Do not use macros from bp-asm.h.
20326         (DEST): Likewise.
20327         (SRC): Likewise.
20328         (LEN): Likewise.
20329         (memmove): Likewise.  Do not use BP_SYM.
20330         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20331         "bp-asm.h".
20332         (PARMS): Do not use macros from bp-asm.h.
20333         (DEST): Likewise.
20334         (SRC): Likewise.
20335         (LEN): Likewise.
20336         (__mempcpy): Likewise.  Do not use BP_SYM.
20337         (mempcpy): Do not use BP_SYM in weak_alias.
20338         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20339         "bp-asm.h".
20340         (PARMS): Do not use macros from bp-asm.h.
20341         (DEST): Likewise.
20342         (LEN): Likewise.
20343         [!BZERO_P] (CHR): Likewise.
20344         (memset): Likewise.  Do not use BP_SYM.
20345         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20346         "bp-asm.h".
20347         (PARMS): Do not use macros from bp-asm.h.
20348         (STR2): Likewise.
20349         (strcmp): Do not use BP_SYM.
20350         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20351         "bp-asm.h".
20352         (PARMS): Do not use macros from bp-asm.h.
20353         (STR): Likewise.
20354         (DELIM): Likewise.
20355         [USE_AS_STRTOK_R] (SAVE): Likewise.
20356         (FUNCTION): Likewise.  Do not use BP_SYM.
20357         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20358         aliases.
20359         (strtok_r): Likewise.
20360         (__GI___strtok_r): Likewise.
20361         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20362         (PARMS): Do not use macros from bp-asm.h.
20363         (S): Likewise.
20364         (SIZE): Likewise.
20365         (__mpn_lshift): Do not use BP_SYM.
20366         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20367         (PARMS): Do not use macros from bp-asm.h.
20368         (STR): Likewise.
20369         (CHR): Likewise.
20370         (__memchr): Do not use BP_SYM.
20371         (memchr): Do not use BP_SYM in weak_alias.
20372         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20373         (PARMS): Do not use macros from bp-asm.h.
20374         (BLK2): Likewise.
20375         (LEN): Likewise.
20376         (memcmp): Do not use BP_SYM.
20377         (bcmp): Do not use BP_SYM in weak_alias.
20378         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20379         (PARMS): Do not use macros from bp-asm.h.
20380         (S1): Likewise.
20381         (SIZE): Likewise.
20382         (__mpn_mul_1): Do not use BP_SYM.
20383         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20384         "bp-asm.h".
20385         (PARMS): Do not use macros from bp-asm.h.
20386         (STR): Likewise.
20387         (CHR): Likewise.
20388         (__rawmemchr): Do not use BP_SYM.
20389         (rawmemchr): Do not use BP_SYM in weak_alias.
20390         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20391         (PARMS): Do not use macros from bp-asm.h.
20392         (S): Likewise.
20393         (SIZE): Likewise.
20394         (__mpn_rshift): Do not use BP_SYM.
20395         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20396         (PARMS): Do not use macros from bp-asm.h.
20397         (SIGMSK): Likewise.
20398         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20399         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20400         (_start): Do not use BP_SYM.
20401         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20402         (PARMS): Do not use macros from bp-asm.h.
20403         (DEST): Likewise.
20404         (SRC): Likewise.
20405         (__stpcpy): Likewise.  Do not use BP_SYM.
20406         (stpcpy): Do not use BP_SYM in weak_alias.
20407         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20408         "bp-asm.h".
20409         (PARMS): Do not use macros from bp-asm.h.
20410         (DEST): Likewise.
20411         (SRC): Likewise.
20412         (LEN): Likewise.
20413         (__stpncpy): Likewise.  Do not use BP_SYM.
20414         (stpncpy): Do not use BP_SYM in weak_alias.
20415         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20416         (PARMS): Do not use macros from bp-asm.h.
20417         (STR): Likewise.
20418         (CHR): Likewise.
20419         (strchr): Likewise.  Do not use BP_SYM.
20420         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20421         "bp-asm.h".
20422         (PARMS): Do not use macros from bp-asm.h.
20423         (STR): Likewise.
20424         (CHR): Likewise.
20425         (__strchrnul): Likewise.  Do not use BP_SYM.
20426         (strchrnul): Do not use BP_SYM in weak_alias.
20427         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20428         "bp-asm.h".
20429         (PARMS): Do not use macros from bp-asm.h.
20430         (STOP): Likewise.
20431         (strcspn): Do not use BP_SYM.
20432         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20433         "bp-asm.h".
20434         (PARMS): Do not use macros from bp-asm.h.
20435         (STR): Likewise.
20436         (STOP): Likewise.
20437         (strpbrk): Likewise.  Do not use BP_SYM.
20438         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20439         "bp-asm.h".
20440         (PARMS): Do not use macros from bp-asm.h.
20441         (STR): Likewise.
20442         (CHR): Likewise.
20443         (strrchr): Likewise.  Do not use BP_SYM.
20444         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20445         (PARMS): Do not use macros from bp-asm.h.
20446         (SKIP): Likewise.
20447         (strspn): Do not use BP_SYM.
20448         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20449         (PARMS): Do not use macros from bp-asm.h.
20450         (STR): Likewise.
20451         (DELIM): Likewise.
20452         (SAVE): Likewise.
20453         (FUNCTION): Likewise.  Do not use BP_SYM.
20454         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20455         aliases.
20456         (strtok_r): Likewise.
20457         (__GI___strtok_r): Likewise.
20458         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20459         (PARMS): Do not use macros from bp-asm.h.
20460         (S1): Likewise.
20461         (S2): Likewise.
20462         (SIZE): Likewise.
20463         (__mpn_sub_n): Do not use BP_SYM.
20464         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20465         "bp-asm.h".
20466         (PARMS): Do not use macros from bp-asm.h.
20467         (S1): Likewise.
20468         (SIZE): Likewise.
20469         (__mpn_submul_1): Do not use BP_SYM.
20470         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20471         <bp-sym.h>.
20472         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20473         and <bp-asm.h>.
20474         (PARMS): Do not use macros from bp-asm.h.
20475         (FLAGS): Likewise.
20476         (PTID): Likewise.
20477         (TLS): Likewise.
20478         (CTID): Likewise.
20479         (__clone): Do not use BP_SYM.
20480         (clone): Do not use BP_SYM in weak_alias.
20481         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20482         and <bp-asm.h>.
20483         (PARMS): Do not use macros from bp-asm.h.
20484         (LEN): Likewise.
20485         (__mmap64): Do not use BP_SYM.
20486         (mmap64): Do not use BP_SYM in weak_alias.
20487         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20488         <bp-sym.h> and <bp-asm.h>.
20489         (PARMS): Do not use macros from bp-asm.h.
20490         (__posix_fadvise64_l64): Do not use BP_SYM.
20491         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20492         (PARMS): Do not use macros from bp-asm.h.
20493         (NSOPS): Likewise.
20494         (semtimedop): Do not use BP_SYM.
20495         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20496         and <bp-asm.h>.
20497
20498 2013-02-21  Allan McRae  <allan@archlinux.org>
20499
20500         * manual/message.texi (Charset conversion in gettext):
20501         Move @end statement to beginning of line.
20502
20503 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20504
20505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20506         static.
20507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20508         Likewise.
20509
20510         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20511         (denorm): Likewise.
20512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20514
20515 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20516
20517         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20518         tail-call to the resolved function if pltexit isn't needed.
20519
20520 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20521
20522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20523         or Y being zero as being unlikely.
20524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20525         Likewise.
20526
20527 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20528
20529         * manual/nss.texi (System Databases and Name Service Switch):
20530         Remove frobnicate @pxref.
20531
20532 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20533
20534         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20535         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20536
20537 2013-02-20  Petr Machata  <pmachata@redhat.com>
20538
20539         * elf/elf.h (R_ARM_TARGET1): New macro.
20540         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20541         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20542         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20543         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20544         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20545         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20546         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20547         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20548         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20549         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20550         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20551         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20552         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20553         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20554         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20555         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20556         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20557         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20558         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20559         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20560         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20561         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20562         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20563         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20564         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20565         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20566         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20567         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20568         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20569         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20570         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20571         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20572         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20573         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20574         (R_ARM_THM_GOT_BREL12): Likewise.
20575         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20576         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20577         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20578         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20579         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20580         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20581         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20582         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20583         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20584
20585 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20586
20587         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20588         __attribute_used__ to __attribute__ ((unused)).
20589
20590 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20591
20592         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20593         powerpc mpa.c.
20594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20595         comment formatting.
20596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20597
20598 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20599
20600         [BZ #13550]
20601         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20602         Remove macro.
20603         (ENTER): Remove both macro definitions.
20604         (LEAVE): Likewise.
20605         (CHECK_BOUNDS_LOW): Likewise.
20606         (CHECK_BOUNDS_HIGH): Likewise.
20607         (CHECK_BOUNDS_BOTH): Likewise.
20608         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20609         (RETURN_BOUNDED_POINTER): Likewise.
20610         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20611         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20612         (POP_ERRNO_LOCATION_RETURN): Likewise.
20613         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20614         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20615         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20616         macros.
20617         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20618         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20619         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20620         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20621         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20622         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20623         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20624         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20625         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20626         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20627         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20628         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20629         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20630         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20631         removed macros.
20632         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20633         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20634         macros.
20635         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20636         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20637         * sysdeps/i386/i586/memset.S (memset): Likewise.
20638         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20639         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20640         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20641         macros.
20642         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20643         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20644         Change uses of L(2) to L(out).
20645         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20646         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20647         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20648         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20649         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20650         removed macros.
20651         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20652         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20653         macros.
20654         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20655         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20656         (RETURN): Do not use macro LEAVE.
20657         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20658         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20659         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20660         * sysdeps/i386/i686/memset.S (memset): Likewise.
20661         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20662         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20663         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20664         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20665         Likewise.
20666         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20667         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20668         L(1_2) and L(1_3) into L(1).
20669         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20670         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20671         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20672         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20673         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20674         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20675         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20676         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20677         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20678         macros.
20679         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20680         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20681         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20682         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20683         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20684         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20685         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20686         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20687         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20688         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20689         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20690         * sysdeps/i386/strspn.S (strspn): Likewise.
20691         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20692         conditional code.
20693         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20694         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20695         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20696         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20697         L(1_3) into L(1_1).
20698         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20699         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20700         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20701         macros.
20702         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20703
20704 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20705
20706         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20707         macro.
20708
20709 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20710
20711         * math/atest-exp.c (exp_mpn): Remove ROUND.
20712         * math/atest-exp2.c (exp_mpn): Likewise.
20713         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20714
20715         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20716         * stdlib/tst-tls-atexit-lib.c: Likewise.
20717         * stdlib/tst-tls-atexit.c: Likewise.
20718
20719 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20720
20721         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20722         and __attribute_alloc_size__.
20723
20724 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20725
20726         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20727         __attribute_alloc_size__.
20728         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20729         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20730
20731 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20732
20733         * include/programs/xmalloc.h: New file.
20734         * catgets/gencat.c: Include it.
20735         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20736         * elf/pldd.c: Likewise.
20737         * iconv/iconv_charmap.c: Likewise.
20738         * iconv/iconvconfig.c: Likewise.
20739         * iconv/strtab.c: Likewise.
20740         * locale/programs/locale.c: Likewise.
20741         * locale/programs/localedef.h: Likewise.
20742         * locale/programs/simple-hash.c: Likewise.
20743         * nscd/nscd.h: Likewise.
20744         * nss/makedb.c: Likewise.
20745         * sysdeps/generic/ldconfig.h: Likewise.
20746
20747 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20748
20749         * Versions.def: Add GLIBC_2.18.
20750         * include/link.h (struct link_map): New member l_tls_dtor_count.
20751         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20752         (__call_tls_dtors): Likewise.
20753         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20754         __cxa_thread_atexit_impl.
20755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20756         Likewise.
20757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20758         Likewise.
20759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20760         Likewise.
20761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20762         Likewise.
20763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20765         Likewise.
20766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20767         Likewise.
20768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20770         Likewise.
20771         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20772         (tests): Add test case tst-tls-atexit.
20773         (modules-names): Add shared library for tst-tls-atexit.
20774         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20775         (GLIBC_PRIVATE): Add __call_tls_dtors.
20776         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20777         for libstdc++.
20778         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20779         * stdlib/tst-tls-atexit.c: New test case.
20780         * stdlib/tst-tls-atexit-lib.c: New test case.
20781
20782         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20783
20784         * elf/Versions (ld): Add _dl_find_dso_for_object.
20785         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20786         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20787         (dl_open_worker): Use _dl_find_dso_for_object.
20788         * elf/dl-sym.c (do_sym): Likewise.
20789         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20790
20791 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20792
20793         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20794         Syntactic changes only.
20795         (_dl_runtime_profile): Do a tail-call to the resolved function.
20796
20797 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20798
20799         [BZ #13550]
20800         * sysdeps/x86_64/bp-asm.h: Remove file.
20801         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20802         <bp-sym.h> and <bp-asm.h>.
20803         (__clone): Do not use BP_SYM.
20804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20805         <bp-sym.h> and <bp-asm.h>.
20806         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20807         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20808         "bp-asm.h".
20809         (_setjmp): Do not use BP_SYM.
20810         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20811         "bp-asm.h".
20812         (setjmp): Do not use BP_SYM.
20813         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20814         libc_hidden_def.
20815         (mempcpy): Do not use BP_SYM in weak_alias.
20816         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20817         "bp-asm.h".
20818         (strchr): Do not use BP_SYM.
20819         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20820         "bp-asm.h".
20821         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20822         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20823         (_start): Do not use BP_SYM.
20824         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20825         "bp-asm.h".
20826         (strcat): Do not use BP_SYM.
20827         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20828         "bp-asm.h".
20829         (STRCMP): Do not use BP_SYM.
20830         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20831         "bp-asm.h".
20832         (STRCPY): Do not use BP_SYM.
20833         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20834         "bp-asm.h".
20835         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20836         "bp-asm.h".
20837         (FUNCTION): Do not use BP_SYM.
20838         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20839         weak_alias.
20840         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20841
20842 2013-02-17  Andreas Jaeger  <aj@suse.de>
20843
20844         * time/Versions: Sort entries.
20845         * string/Versions: Likewise.
20846         * resolv/Versions: Likewise.
20847         * posix/Versions: Likewise.
20848         * iconv/Versions: Likewise.
20849         * elf/Versions: Likewise.
20850         * wcsmbs/Versions: Likewise.
20851
20852 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20853
20854         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20855         loop termination condition.
20856
20857         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20858         variable to calculate EZ.
20859         (__sqr): Likewise.
20860
20861         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20862         the lower precision input.
20863
20864 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20865
20866         [BZ #13550]
20867         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20868         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20869         (run-via-rtld-prefix): Do not handle %-bp tests.
20870         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20871         (all-object-suffixes): Remove .ob.
20872         (bppfx): Remove variable.
20873         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20874         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20875         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20876         [$(build-bounded) = yes] (libtype.ob): Likewise.
20877         * Makerules (elide-routines.ob): Remove variable.
20878         (do-tests-clean): Do not handle *-bp.out.
20879         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20880         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20881         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20882         (tests): Do not include $(tests-bp.out).
20883         (xtests): Do not include $(xtests-bp.out).
20884         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20885         [$(build-bounded) = yes] ($(addprefix
20886         $(objpfx),$(binaries-bounded))): Remove rule.
20887         ($(objpfx)%-bp.out): Remove rule.
20888         * config.make.in (build-bounded): Remove variable.
20889         * crypt/Makefile [$(build-bounded) = yes]
20890         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20891         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20892         append to variable.
20893         [$(build-bounded) = yes] (install-lib): Likewise.
20894         [$(build-bounded) = yes] (generated): Likewise.
20895         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20896         Remove rule.
20897         * intl/Makefile [$(build-bounded) = yes]
20898         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20899         * math/Makefile [$(build-bounded) = yes]
20900         ($(tests:%=$(objpfx)%-bp): Likewise.
20901         * misc/Makefile [$(build-bounded) = yes]
20902         ($(objpfx)tst-tsearch-bp): Likewise.
20903         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20904         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20905         Remove dependency.
20906         * string/Makefile (o-objects.ob): Remove variable.
20907         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20908         (CFLAGS-.ob): Remove variable.
20909         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20910         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20911         both definitions of variable.
20912         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20913         (ASFLAGS-.ob): Remove variable.
20914
20915 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20916
20917         [BZ #13550]
20918         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20919         Remove __BOUNDED_POINTERS__ from condition.
20920         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20921         * string/bits/string2.h [!__NO_STRING_INLINES &&
20922         !__BOUNDED_POINTERS__]: Likewise.
20923         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20924         Likewise.
20925         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20926         Remove conditional code.
20927         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20928         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20929         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20930         condition.
20931
20932         [BZ #13550]
20933         * csu/libc-start.c: Do not include <bp-sym.h>.
20934         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20935         * elf/dl-open.c: Do not include <bp-sym.h>.
20936         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20937         * math/fegetenv.c: Do not include <bp-sym.h>.
20938         (fegetenv): Do not use BP_SYM in versioned symbols.
20939         * nptl/sysdeps/pthread/bits/libc-lockP.h
20940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20941         <bp-sym.h>.
20942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20943         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20945         (__pthread_mutex_destroy): Likewise.
20946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20947         (__pthread_mutex_lock): Likewise.
20948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20949         (__pthread_mutex_trylock): Likewise.
20950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20951         (__pthread_mutex_unlock): Likewise.
20952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20953         (__pthread_mutexattr_init): Likewise.
20954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20955         (__pthread_mutexattr_destroy): Likewise.
20956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20957         (__pthread_mutexattr_settype): Likewise.
20958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20959         (__pthread_rwlock_init): Likewise.
20960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20961         (__pthread_rwlock_destroy): Likewise.
20962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20963         (__pthread_rwlock_rdlock): Likewise.
20964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20965         (__pthread_rwlock_tryrdlock): Likewise.
20966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20967         (__pthread_rwlock_wrlock): Likewise.
20968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20969         (__pthread_rwlock_trywrlock): Likewise.
20970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20971         (__pthread_rwlock_unlock): Likewise.
20972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20973         (__pthread_key_create): Likewise.
20974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20975         (__pthread_setspecific): Likewise.
20976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20977         (__pthread_getspecific): Likewise.
20978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20979         Likewise.
20980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20981         (_pthread_cleanup_push_defer): Likewise.
20982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20983         (_pthread_cleanup_pop_restore): Likewise.
20984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20985         (pthread_setcancelstate): Likewise.
20986         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20987         <bp-sym.h>.
20988         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20989         (memchr): Do not use BP_SYM in weak_alias.
20990         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20991         (fegetenv): Do not use BP_SYM in versioned symbols.
20992         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20993         (fesetenv): Do not use BP_SYM in versioned symbols.
20994         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20995         (feupdateenv): Do not use BP_SYM in versioned symbols.
20996         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20997         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20998         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20999         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21000         (open64): Do not use BP_SYM in weak_alias.
21001         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21002         (fegetenv): Do not use BP_SYM in versioned symbols.
21003         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21004         (fesetenv): Do not use BP_SYM in versioned symbols.
21005         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21006         (feupdateenv): Do not use BP_SYM in versioned symbols.
21007         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21008         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21009         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21010         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21011         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21012         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21013         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21014         <bp-sym.h>.
21015         (__libc_start_main): Do not use BP_SYM.
21016
21017 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21018
21019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21020         redundant return line.
21021         (norm): Likewise.
21022         (denorm): Likewise.
21023         (dbl_mp): Likewise.
21024         (sub_magnitudes): Likewise.
21025         (__add): Likewise.
21026         (__sub): Likewise.
21027         (__mul): Likewise.
21028         (__inv): Likewise.
21029         (__dvd): Likewise.
21030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21031         (norm): Likewise.
21032         (denorm): Likewise.
21033         (dbl_mp): Likewise.
21034         (sub_magnitudes): Likewise.
21035         (__add): Likewise.
21036         (__sub): Likewise.
21037         (__mul): Likewise.
21038         (__inv): Likewise.
21039         (__dvd): Likewise.
21040
21041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21042         instead of __mul.
21043         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21044         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21045         (cc32): Likewise.
21046
21047         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21048         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21050         of __mul for squares.
21051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21052         function
21053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21054         Likewise.
21055         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21056         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21057
21058 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21059
21060         [BZ #13550]
21061         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21062         code.
21063         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21064         prototype or function definition.  Rename ubp_* variables and
21065         parameters.  Remove argv definitions conditional on
21066         [__BOUNDED_POINTERS__].
21067         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21068         * elf/dl-runtime.c (_dl_fixup): Likewise.
21069         * include/set-hooks.h (RUN_HOOK): Likewise.
21070         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21071         definition.
21072         * string/strcpy.c (strcpy): Do not use __unbounded.
21073         * sysdeps/generic/frame.h (struct layout): Likewise.
21074         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21075         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21076         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21077         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21078         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21079         (__backtrace): Likewise.
21080         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21081         use __ptrvalue.
21082         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21083         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21084         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21085         Likewise.
21086         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21087         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21088         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21089         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21090         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21091         Do not use __unbounded.
21092         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21093         Rename __unboundedrlimits parameter to rlimits in prototype.
21094         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21095         Do not use __unbounded.
21096         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21097         not use __ptrvalue.
21098         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21099         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21100         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21101         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21102         __ptrvalue or __unbounded.
21103         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21104         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21105         use __unbounded.
21106         (__new_msgctl): Do not use __ptrvalue.
21107         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21108         __unbounded.
21109         (__libc_msgrcv): Do not use __ptrvalue.
21110         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21111         startup_info): Do not use __unbounded.
21112         (__libc_start_main): Likewise.  Rename ubp_* variables and
21113         parameters.  Remove argv definitions conditional on
21114         [__BOUNDED_POINTERS__].
21115         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21116         __ptrvalue.
21117         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21118         use __unbounded.
21119         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21120         or __ptrvalue.
21121         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21122         use __unbounded.
21123         (__new_shmctl): Do not use __ptrvalue.
21124         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21125         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21126         Likewise.
21127         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21128         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21129         (__libc_sigaction): Likewise.
21130         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21131         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21132         Likewise.
21133         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21134
21135 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21136
21137         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21138
21139         * string/mempcpy.c: Implement by calling memcpy.
21140
21141 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21142
21143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21144
21145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21146         evaluation.
21147
21148         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21149         values in the mantissa.
21150
21151         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21152         minimize writes to Z.
21153         (sub_magnitudes): Simplify code a bit.
21154
21155 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21156
21157         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21158         from the message.  The linker prefixes all warnings with that already.
21159
21160 2013-02-12  Andreas Schwab  <schwab@suse.de>
21161
21162         [BZ #15078]
21163         * posix/regexec.c (extend_buffers): Add parameter min_len.
21164         (check_matching): Pass minimum needed length.
21165         (clean_state_log_if_needed): Likewise.
21166         (get_subexp): Likewise.
21167         * posix/Makefile (tests): Add bug-regex34.
21168         (bug-regex34-ENV): Define.
21169         * posix/bug-regex34.c: New file.
21170
21171         [BZ #11561]
21172         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21173         elements compare against the byte sequence of it, not its name.
21174         * posix/Makefile (tests): Add bug-regex35.
21175         (bug-regex35-ENV): Define.
21176         * posix/bug-regex35.c: New file.
21177
21178 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21179
21180         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21181         comment.
21182         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21183         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21184         (CHECK_EOL): Add undef.
21185
21186 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21187
21188         * bits/stdlib-bsearch.h: New file.
21189         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21190         * stdlib/stdlib.h: Likewise.
21191
21192 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21193
21194         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21195         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21196         declaration.
21197         * manual/search.texi (Array Search Function): Add missing const in
21198         lfind prototype.
21199         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21200         declaration to use rlim_t.
21201         (Basic Scheduling Functions): Remove erroneous const from
21202         sched_getparam prototype.  Remove erroneous * from
21203         sched_get_priority_max and sched_get_priority_min prototypes.
21204         (Resource Usage): Fix summary @comment on vtimes to refer to
21205         sys/vtimes.h rather than vtimes.h.
21206         Add missing *s in vtimes prototype.
21207         (Limits on Resources): Fix ulimit prototype to return long int.
21208         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21209         prototypes to use long int rather than double.
21210         (BSD Random): Fix initstate and setstate to use char *, not void *.
21211         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21212         prototype to make second argument 'struct aiocb64 *const[]'.
21213         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21214         (Status of AIO Operations): Remove erroneous const in aio_return and
21215         aio_return64 prototypes.
21216         (Synchronizing I/O): Fix sync prototype to return void.
21217         * manual/startup.texi (Suboptions): Remove an erroneous const in
21218         getsubopt prototype.
21219         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21220         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21221         use size_t rather than int.
21222         (Scanning All Users): Likewise for getpwent_r.
21223         (Setting Groups): Add missing const to setgroups prototype.
21224         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21225         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21226         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21227         'const void *' rather than 'const char *'.
21228         (Host Address Functions): Likewise for inet_ntop.
21229         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21230         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21231         ssize_t for return value.
21232         (Sending Data): Likewise for send, sendto, sendmsg.
21233         (Socket Option Functions): Add a missing const in setsockopt prototype.
21234         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21235         use wchar_t for the argument.
21236         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21237         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21238         take no arguments.
21239         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21240         double/float/long double for second argument.
21241         Fix return types of significand, significandf, significandl.
21242         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21243         argument in fchmod prototype.
21244         (File Owner): Use uid_t and gid_t in fchown prototype.
21245         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21246         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21247         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21248         use 'const struct dirent **' as argument types to CMP function pointer
21249         argument.
21250         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21251         (File Times): Fix summary magic @comment for struct utimbuf and utime
21252         to refer to utime.h, not time.h.
21253         * manual/string.texi (Argz Functions): Add missing const in
21254         argz_extract and argz_next prototypes.
21255         (Finding Tokens in a String): Likewise for basename.
21256         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21257         (Copying and Concatenation): Fix typo in wmemmove prototype.
21258         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21259         (Signal Stack): Remove erroneous const in sigstack prototype.
21260         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21261         prototype.
21262         (Simple Calendar Time): Likewise for stime.
21263         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21264         prototype.
21265         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21266         say sys/sysctl.h instead.
21267         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21268         and vsyslog prototypes.
21269
21270 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21271
21272         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21273         Remove.
21274
21275 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21276
21277         * misc/sys/mman.h: Fix typo in mremap comment.
21278
21279 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21280
21281         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21282         the '\0' terminator.
21283
21284 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21285
21286         [BZ #13550]
21287         * debug/segfault.c: Don't include <bp-checks.h>.
21288         * sysdeps/generic/bp-checks.h: Remove file.
21289         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21290         (__GETDENTS): Don't use CHECK_N.
21291         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21292         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21293         (__getgroups): Don't use CHECK_N.
21294         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21295         (setgroups): Don't use CHECK_N.
21296         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21297         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21298         (__libc_msgrcv): Don't use CHECK_N.
21299         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21300         (__libc_msgsnd): Don't use CHECK_N.
21301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21302         <bp-checks.h>.
21303         (__libc_pread): Don't use CHECK_N.
21304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21305         include <bp-checks.h>.
21306         (__libc_pread64): Don't use CHECK_N.
21307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21308         include <bp-checks.h>.
21309         (__libc_pwrite): Don't use CHECK_N.
21310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21311         include <bp-checks.h>.
21312         (__libc_pwrite64): Don't use CHECK_N.
21313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21314         <bp-checks.h>.
21315         (__libc_pread): Don't use CHECK_N.
21316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21317         include <bp-checks.h>.
21318         (__libc_pread64): Don't use CHECK_N.
21319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21320         include <bp-checks.h>.
21321         (__libc_pwrite): Don't use CHECK_N.
21322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21323         include <bp-checks.h>.
21324         (__libc_pwrite64): Don't use CHECK_N.
21325         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21326         (do_pread): Don't use CHECK_N.
21327         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21328         (do_pread64): Don't use CHECK_N.
21329         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21330         (do_pwrite): Don't use CHECK_N.
21331         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21332         (do_pwrite64): Don't use CHECK_N.
21333         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21334         (__libc_readv): Don't use CHECK_N.
21335         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21336         (semop): Don't use CHECK_N.
21337         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21338         <bp-checks.h>.
21339         (semtimedop): Don't use CHECK_N.
21340         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21341         (__libc_pread): Don't use CHECK_N.
21342         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21343         <bp-checks.h>.
21344         (__libc_pread64): Don't use CHECK_N.
21345         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21346         <bp-checks.h>.
21347         (__libc_pwrite): Don't use CHECK_N.
21348         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21349         <bp-checks.h>.
21350         (__libc_pwrite64): Don't use CHECK_N.
21351         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21352         <bp-checks.h>.
21353         (__libc_msgrcv): Don't use CHECK_N.
21354         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21355         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21356         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21357         (__libc_writev): Don't use CHECK_N.
21358
21359 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21360
21361         * string/strcpy.c: Removed unused variable.
21362
21363         * Makeconfig (+sysdep-includes): Define with := rather than =.
21364         Use an existing include/ subdir of each sysdeps dir before it.
21365
21366 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21367
21368         * nscd/connection.c (register_traced_file): Comment function.
21369         [HAVE_INOTIFY] (union __inev): Define.
21370         [HAVE_INOTIFY] (inotify_check_files): New function.
21371         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21372         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21373         clear_db_cache.
21374         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21375
21376 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21377
21378         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21379         loaded if not already and that a failure is permanent.
21380
21381 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21382
21383         [BZ #15006]
21384         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21385         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21386
21387 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21388
21389         [BZ #13550]
21390         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21391         (CHECK_1_NULL_OK): Likewise.
21392         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21393         (__fxstat): Do not use CHECK_1.
21394         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21395         <bp-checks.h>.
21396         (___fxstat64): Do not use CHECK_1.
21397         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21398         <bp-checks.h>.
21399         (__fxstatat): Do not use CHECK_1.
21400         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21401         <bp-checks.h>.
21402         (__fxstatat64): Do not use CHECK_1.
21403         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21404         <bp-checks.h>.
21405         (__fxstat): Do not use CHECK_1.
21406         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21407         <bp-checks.h>.
21408         (__fxstatat): Do not use CHECK_1.
21409         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21410         <bp-checks.h>.
21411         (__getresgid): Do not use CHECK_1.
21412         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21413         <bp-checks.h>.
21414         (__getresuid): Do not use CHECK_1.
21415         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21416         <bp-checks.h>.
21417         (__lxstat): Do not use CHECK_1.
21418         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21419         <bp-checks.h>.
21420         (__old_msgctl): Do not use CHECK_1.
21421         (__new_msgctl): Likewise.
21422         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21423         <bp-checks.h>.
21424         (__new_setrlimit): Do not use CHECK_1.
21425         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21426         <bp-checks.h>.
21427         (__old_shmctl): Do not use CHECK_1.
21428         (__new_shmctl): Likewise.
21429         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21430         <bp-checks.h>.
21431         (__xstat): Do not use CHECK_1.
21432         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21433         (__lxstat): Do not use CHECK_1.
21434         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21435         <bp-checks.h>.
21436         (___lxstat64): Do not use CHECK_1.
21437         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21438         (__old_msgctl): Do not use CHECK_1.
21439         (__new_msgctl): Likewise.
21440         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21441         <bp-checks.h>.
21442         (__gettimeofday): Do not use CHECK_1.
21443         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21444         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21445         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21446         <bp-checks.h>.
21447         (__gettimeofday): Do not use CHECK_1.
21448         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21449         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21450         (__new_shmctl): Do not use CHECK_1.
21451         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21452         <bp-checks.h>.
21453         (do_sigtimedwait): Do not use CHECK_1.
21454         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21455         <bp-checks.h>.
21456         (do_sigwaitinfo): Do not use CHECK_1.
21457         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21458         <bp-checks.h>.
21459         (msgctl): Do not use CHECK_1.
21460         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21461         <bp-checks.h>.
21462         (shmctl): Do not use CHECK_1.
21463         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21464         (ustat): Do not use CHECK_1.
21465         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21466         <bp-checks.h>.
21467         (__fxstat): Do not use CHECK_1.
21468         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21469         <bp-checks.h>.
21470         (__fxstatat): Do not use CHECK_1.
21471         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21472         <bp-checks.h>.
21473         (__lxstat): Do not use CHECK_1.
21474         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21475         <bp-checks.h>.
21476         (__xstat): Do not use CHECK_1.
21477         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21478         (__xstat): Do not use CHECK_1.
21479         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21480         (___xstat64): Do not use CHECK_1.
21481
21482         [BZ #13550]
21483         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21484         definitions.
21485         (CHECK_BOUNDS_HIGH): Likewise.
21486         * string/strcpy.c: Do not include <bp-checks.h>.
21487         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21488
21489 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21490
21491         * nscd/nscd-client.h (__nscd_drop_map_ref):
21492         Add __attribute__ ((unused)).
21493         * nis/nss-nisplus.h (niserr2nss): Likewise.
21494
21495         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21496         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21497
21498         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21499         Remove inline keyword.
21500         * include/rounding-mode.h (round_away): Likewise.
21501         * libio/wfileops.c (adjust_wide_data): Likewise.
21502         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21503         (__m128i_strloadu_tolower): Likewise.
21504         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21505         (__m128i_strloadu_tolower): Likewise.
21506         * time/mktime.c (ydhms_diff): Likewise.
21507         * locale/elem-hash.h (elem_hash): Likewise.
21508         * locale/setlocale.c (setdata): Likewise.
21509         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21510         (re_string_wchar_at): Likewise.
21511         (bitset_not, bitset_merge, bitset_mask): Likewise.
21512         [!(__GNUC__ > 3)] (inline): Remove macro.
21513         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21514         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21515         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21516         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21517         * string/memcmp.c (memcmp_bytes): Likewise.
21518         * locale/programs/locarchive.c (compute_hashval): Likewise.
21519         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21520         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21521         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21522         * nss/getent.c (print_rpc, print_protocols): Likewise.
21523         (print_passwd, print_group, print_aliases): Likewise.
21524         * nis/nss-nisplus.h (niserr2nss): Likewise.
21525         * nscd/connections.c (restart_p): Likewise.
21526         Change return type to bool.
21527
21528 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21529
21530         * Makeconfig (all-Depend-files): Add existing
21531         $(sorted-subdirs:=/Depend) files.
21532         (all-subdirs): Remove nss.
21533         * sysdeps/unix/inet/Subdirs: Add it here instead.
21534         * hesiod/Depend: New file.
21535
21536         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21537         instead of calling alloca.
21538
21539         * io/lseek.c (__lseek): Rename to __libc_lseek.
21540         Define __lseek as an alias.
21541
21542         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21543
21544 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21545
21546         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21547         else clause and remove check for non-standard endianness.
21548
21549 2013-02-04  David S. Miller  <davem@davemloft.net>
21550
21551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21552
21553 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21554
21555         [BZ #13550]
21556         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21557         (__ubp_memchr): Remove prototype.
21558         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21559         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21560         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21561         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21562         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21563         Remove alias.
21564         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21565         (__ubp_memchr): Likewise.
21566         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21567         (__ubp_memchr): Likewise.
21568         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21569         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21570         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21571         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21572         CHECK_STRING.
21573         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21574         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21575         (__getcwd): Do not use CHECK_STRING.
21576         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21577         <bp-checks.h>.
21578         (__real_chown): Do not use CHECK_STRING.
21579         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21580         <bp-checks.h>.
21581         (fchownat): Do not use CHECK_STRING.
21582         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21583         CHECK_STRING.
21584         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21585         <bp-checks.h>.
21586         (__lchown): Do not use CHECK_STRING.
21587         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21588         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21589         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21590         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21592         include <bp-checks.h>.
21593         (truncate64): Do not use CHECK_STRING.
21594         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21595         <bp-checks.h>.
21596         (__real_chown): Do not use CHECK_STRING.
21597         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21598         <bp-checks.h>.
21599         (__lchown): Do not use CHECK_STRING.
21600         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21601         <bp-checks.h>.
21602         (__chown): Do not use CHECK_STRING.
21603         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21604         <bp-checks.h>.
21605         (truncate64): Do not use CHECK_STRING.
21606         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21607         Likewise.
21608         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21609         (__xmknod): Do not use CHECK_STRING.
21610         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21611         <bp-checks.h>.
21612         (__xmknodat): Do not use CHECK_STRING.
21613         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21614         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21615
21616 2013-02-04  Andreas Schwab  <schwab@suse.de>
21617
21618         [BZ #14142]
21619         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21620         * include/netdb.h: Likewise for h_errno.
21621         * elf/tst-stackguard1.c: Include <tls.h>.
21622
21623 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21624
21625         * elf/link.h (struct link_map): Extend the l_addr comment.
21626         * include/link.h (struct link_map): Likewise.
21627
21628 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21629
21630         [BZ #13550]
21631         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21632         (BOUNDED_1): Remove macro.
21633         * debug/backtrace.c: Don't include <bp-checks.h>.
21634         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21635         (__backtrace): Likewise.
21636         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21637         <bp-checks.h>.
21638         (__backtrace): Don't use BOUNDED_1.
21639         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21640         <bp-checks.h>.
21641         (__backtrace): Don't use BOUNDED_1.
21642         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21643         (__backtrace): Don't use BOUNDED_1.
21644         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21645         (shmat): Don't use BOUNDED_N.
21646
21647 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21648
21649         [BZ #13550]
21650         * sysdeps/generic/bp-start.h: Remove file.
21651         * csu/libc-start.c: Don't include <bp-start.h>.
21652         (LIBC_START_MAIN): Set up __environ directly instead of using
21653         INIT_ARGV_and_ENVIRON.
21654         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21655         <bp-start.h>.
21656
21657         [BZ #13550]
21658         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21659         definitions.
21660         (CHECK_FCNTL): Likewise.
21661         (CHECK_N_PAGES): Likewise.
21662
21663         [BZ #13550]
21664         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21665         definitions.
21666         (CHECK_SIGSET_NULL_OK): Likewise.
21667         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21668         <bp-checks.h>.
21669         (sigpending): Don't use CHECK_SIGSET.
21670         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21671         <bp-checks.h>.
21672         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21673         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21674         <bp-checks.h>.
21675         (do_sigsuspend): Don't use CHECK_SIGSET.
21676         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21677         use CHECK_SIGSET.
21678         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21679         (do_sigwait): Don't use CHECK_SIGSET.
21680         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21681         use CHECK_SIGSET.
21682         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21683         include <bp-checks.h>.
21684         (sigpending): Don't use CHECK_SIGSET.
21685         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21686         include <bp-checks.h>.
21687         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21688         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21689         <bp-checks.h>.
21690         (sigpending): Don't use CHECK_SIGSET.
21691         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21692         <bp-checks.h>.
21693         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21694
21695         [BZ #13550]
21696         * sysdeps/generic/bp-semctl.h: Remove file.
21697         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21698         <bp-checks.h> and <bp-semctl.h>.
21699         (__old_semctl): Don't use CHECK_SEMCTL.
21700         (__new_semctl): Likewise.
21701         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21702         and <bp-semctl.h>.
21703         (__old_semctl): Don't use CHECK_SEMCTL.
21704         (__new_semctl): Likewise.
21705         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21706         <bp-checks.h> and <bp-semctl.h>.
21707         (__old_semctl): Don't use CHECK_SEMCTL.
21708         (__new_semctl): Likewise.
21709         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21710         <bp-checks.h> and <bp-semctl.h>.
21711         (semctl): Don't use CHECK_SEMCTL.
21712
21713         [BZ #13550]
21714         * Makerules (elide-bp-thunks): Remove variable.
21715         (elide-routines.oS): Don't use $(elide-bp-thunks).
21716         (elide-routines.os): Likewise.
21717         (elide-routines.o): Likewise.
21718         (elide-routines.op): Likewise.
21719         (elide-routines.og): Likewise.
21720         (objects): Don't use $(bp-thunks).
21721         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21722         include.
21723         (common-generated): Do not add s-proto-bp.d.
21724         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21725         (int): Likewise.
21726         (typ): Likewise.
21727         Do not generate makefile rules for bounded-pointer thunks.
21728         * sysdeps/generic/bp-thunks.h: Remove file.
21729         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21730         * sysdeps/unix/s-proto-bp.S: Likewise.
21731
21732         [BZ #15062]
21733         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21734         parts of result separately when argument is not close to line from
21735         -i to i and one part of argument is small.
21736         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21737         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21738         * math/libm-test.inc (cacos_test): Add more tests.
21739         (casin_test): Likewise.
21740         (casinh_test): Likewise.
21741         * sysdeps/i386/fpu/libm-test-ulps: Update.
21742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21743
21744 2013-01-31  David S. Miller  <davem@davemloft.net>
21745
21746         * po/de.po: Update from translation team.
21747
21748 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21749
21750         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21751
21752 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21753
21754         * configure.in (_AC_PROG_CC_C89): New definition.
21755         * configure: Regenerate.
21756
21757         * configure.in (AC_PROG_CPP): New definition.
21758         * configure: Regenerate.
21759
21760 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21761
21762         * debug/tst-backtrace.h: New file.
21763         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21764         (ret): Remove variable.
21765         (x): Likewise.
21766         (FAIL): Remove macro.
21767         (NO_INLINE): Likewise.
21768         (fn1): Use match function instead of strstr.
21769         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21770         (ret): Remove variable.
21771         (x): Likewise.
21772         (FAIL): Remove macro.
21773         (NO_INLINE): Likewise.
21774         (fn): Use match function instead of strstr.
21775         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21776         (ret): Remove variable.
21777         (x): Likewise.
21778         (FAIL): Remove macro.
21779         (NO_INLINE): Likewise.
21780         (handle_signal): Use match function instead of strstr.
21781         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21782         (ret): Remove variable.
21783         (x): Likewise.
21784         (FAIL): Remove macro.
21785         (NO_INLINE): Likewise.
21786         (handle_signal): Use match function instead of strstr.
21787
21788 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21789
21790         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21791
21792 2013-01-23  David S. Miller  <davem@davemloft.net>
21793
21794         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21795         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21796         argument of CAS if possible.
21797         * sysdeps/sparc/sparc64/bits/atomic.h
21798         (__arch_compare_and_exchange_val_32_acq): Likewise.
21799         (__arch_compare_and_exchange_val_64_acq): Likewise.
21800
21801 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21802
21803         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21804         * sysdeps/posix/ulimit.c: ... this.
21805         Include <limits.h>.
21806         * sysdeps/unix/bsd/ulimit.c: Remove file.
21807
21808 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21809
21810         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21811         (LDFLAGS-tst-array5): Likewise.
21812
21813 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21814
21815         [BZ #15036]
21816         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21817         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21818         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21819         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21820
21821 2013-01-21  David S. Miller  <davem@davemloft.net>
21822
21823         * sysdeps/sparc/backtrace.c: New file.
21824         * sysdeps/sparc/sparc32/backtrace.h: New file.
21825         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21826         * sysdeps/sparc/sparc64/backtrace.h: New file.
21827         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21828         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21829         -funwind-tables.
21830
21831 2013-01-21  Andreas Schwab  <schwab@suse.de>
21832
21833         [BZ #15020]
21834         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21835         closed its stdout.
21836
21837 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21838
21839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21840         "mpa2.h".
21841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21842
21843 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21844             Mark Mitchell  <mark@codesourcery.com>
21845             Tom de Vries  <tom@codesourcery.com>
21846             Paul Pluzhnikov  <ppluzhnikov@google.com>
21847
21848         * debug/tst-backtrace2.c: New file.
21849         * debug/tst-backtrace3.c: Likewise.
21850         * debug/tst-backtrace4.c: Likewise.
21851         * debug/tst-backtrace5.c: Likewise.
21852         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21853         (CFLAGS-tst-backtrace3.c): Likewise.
21854         (CFLAGS-tst-backtrace4.c): Likewise.
21855         (CFLAGS-tst-backtrace5.c): Likewise.
21856         (LDFLAGS-tst-backtrace2): Likewise.
21857         (LDFLAGS-tst-backtrace3): Likewise.
21858         (LDFLAGS-tst-backtrace4): Likewise.
21859         (LDFLAGS-tst-backtrace5): Likewise.
21860         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21861         tst-backtrace4 and tst-backtrace5.
21862
21863 2013-01-18  Anton Blanchard  <anton@samba.org>
21864             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21865
21866         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21867         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21868         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21869         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21871         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21872         "+r" and remove output regs list as redundant.  Add explicit inline
21873         asm to specify register of return val to work around compiler codegen
21874         bug.  Remove (int) cast on return value.  Add return type parameter to
21875         use in macro so that this macro does not truncate return value for
21876         64-bit values.
21877         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21878         pass to INTERNAL_VSYSCALL_NCS.
21879         (INLINE_VSYSCALL): Add 'long int' as return type to
21880         INTERNAL_VSYSCALL_NCS macro invocation.
21881         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21882         INTERNAL_VSYSCALL_NCS macro invocation.
21883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21884
21885 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21886
21887         [BZ #14496]
21888         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21889         Fix application of SIMD FP exception mask.
21890
21891         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21892         mp_no from a power of two.
21893         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21894         __mpexp_twomm1.  Use __pow_mp.
21895
21896         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21897         multiplication.
21898
21899 2013-01-17  David S. Miller  <davem@davemloft.net>
21900
21901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21902
21903 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21904
21905         [BZ #15023]
21906         * include/complex.h: Condition contents on [!_COMPLEX_H].
21907         (__kernel_casinhf): New prototype.
21908         (__kernel_casinh): Likewise.
21909         (__kernel_casinhl): Likewise.
21910         * math/Makefile (libm_calls): Add k_casinh.
21911         * math/k_casinh.c: New file.
21912         * math/k_casinhf.c: Likewise.
21913         * math/k_casinhl.c: Likewise.
21914         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21915         finite nonzero arguments.
21916         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21917         finite nonzero arguments.
21918         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21919         finite nonzero arguments.
21920         * math/s_casinh.c: Do not include <float.h>.
21921         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21922         * math/s_casinhf.c: Do not include <float.h>.
21923         (__casinhf): Move code for finite nonzero arguments to
21924         k_casinhf.c.
21925         * math/s_casinhl.c: Do not include <float.h>.
21926         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21927         redefine.
21928         (__casinhl): Move code for finite nonzero arguments to
21929         k_casinhl.c.
21930         * math/libm-test.inc (cacos_test): Add more tests.
21931         * sysdeps/i386/fpu/libm-test-ulps: Update.
21932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21933
21934 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21935
21936         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21937         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21938         [!HAVE_MREMAP]: Remove [defined linux] case.
21939         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21940
21941 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21942
21943         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21944
21945 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21946
21947         * elf/elf.h (R_386_SIZE32): New relocation.
21948         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21949         R_386_SIZE32.
21950         (elf_machine_rela): Likewise.
21951         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21952         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21953
21954 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21955
21956         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21957         (FP_FAST_FMA): Do not define.
21958         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21959         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21960         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21961         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21962         !_SOFT_FLOAT]: Likewise.
21963         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21964         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21965         value.
21966         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21967         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21968         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21969         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21970         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21971         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21972         file.
21973
21974 2013-01-16  Andreas Schwab  <schwab@suse.de>
21975
21976         [BZ #14327]
21977         * include/stdlib.h (__mktemp): Add declaration.
21978         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21979         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21980
21981 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21982
21983         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21984         definitions.
21985         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21986         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21987         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21988         definitions here.
21989         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21990         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21991         definitions.
21992         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21993         and ONE.
21994         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21995         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21996         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21997         definitions.
21998         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21999         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22000         definitions.
22001         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22002
22003         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22004
22005 2013-01-15  David S. Miller  <davem@davemloft.net>
22006
22007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22008         trunc{,f} to libm-sysdep_routes.
22009         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22011         file.
22012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22014         file.
22015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22016         file.
22017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22019         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22020         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22021         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22022         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22023         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22024         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22025
22026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22027         nearbyint{,f} to libm-sysdep_routes.
22028         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22030         New file.
22031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22032         file.
22033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22034         New file.
22035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22036         file.
22037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22039         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22040         file.
22041         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22042         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22043         file.
22044         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22045         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22046         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22047
22048         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22049         libc_feholdexcept and libc_fesetenv.
22050
22051 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22052
22053         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22054
22055 2013-01-14  David S. Miller  <davem@davemloft.net>
22056
22057         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22058         (SPARC_ASM_VIS2_IFUNC): Likewise.
22059         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22061         use of 'siam' instruction.
22062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22063         Likewise.
22064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22065         Likewise.
22066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22067         Likewise.
22068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22073         file.
22074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22075         file.
22076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22077         file.
22078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22079         file.
22080         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22081         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22082         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22083         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22085         new VIS2 routines.
22086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22089         Likewise.
22090         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22095         routines to libm-sysdep_routines.
22096         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22097
22098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22099         fdim/fdimf to libm-sysdep_routines.
22100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22101         file.
22102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22104         file.
22105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22108         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22109         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22110         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22111         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22112
22113 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22114
22115         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22116         to optimize copies.
22117
22118         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22121
22122         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22123         local variable MPTWO.
22124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22125         Likewise.
22126
22127 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22128
22129         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22130         GLOB_NOESCAPE.
22131
22132 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22133
22134         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22135
22136 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22137
22138         * manual/pattern.texi (glob_t): Document gl_flags.
22139         (glob64_t): Likewise.
22140
22141 2013-01-11  David S. Miller  <davem@davemloft.net>
22142
22143         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22144         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22145         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22146         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22147         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22148         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22149         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22150         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22151         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22152         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22153         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22154         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22155         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22156
22157         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22158         sparc V9 rather than using V8 code.
22159         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22160         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22161
22162         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22163         Move to...
22164         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22165         Here.
22166
22167 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22168
22169         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22170         not in the main loop.
22171         * configure: Regenerated.
22172
22173 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22174
22175         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22176         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22177         to just #else.
22178         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22179         [!__GLIBC_HAVE_LONG_LONG] case.
22180         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22181         condition to just #else.
22182         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22183         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22184         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22185         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22186         unconditional.
22187         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22188         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22189         #elif condition to just #else.
22190         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22191         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22192         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22193         #elif condition to just #else.
22194
22195 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22196
22197         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22198         (EF_MIPS_ARCH_64): Fix value.
22199         (EF_MIPS_ARCH_32R2): New.
22200         (EF_MIPS_ARCH_64R2): New.
22201
22202 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22203
22204         * Makeconfig (+link-pie-before-libc): New.
22205         (+link-pie-after-libc): Likewise.
22206         (+link-pie-tests): Likewise.
22207         (+link-pie): Rewritten.
22208         (link-before-libc): Remove $(config-LDFLAGS).
22209         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22210         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22211         (config-LDFLAGS): Renamed to ...
22212         (rtld-LDFLAGS): This.
22213         (rtld-tests-LDFLAGS): New macro.
22214         (link-libc-rpath-link): Likewise.
22215         (link-libc-tests-rpath-link): Likewise.
22216         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22217         (link-libc): Prepand $(link-libc-rpath-link).
22218         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22219         (test-program-prefix): New macro.
22220         (test-via-rtld-prefix): Likewise.
22221         (test-program-cmd): Likewise.
22222         (host-test-program-cmd): Likewise.
22223         * Makefile ($(common-objpfx)testrun.sh): Replace
22224         $(run-program-prefix) with $(test-program-prefix).
22225         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22226         $(rtld-LDFLAGS).
22227         ($(common-objpfx)shlib.lds): Likewise.
22228         (build-module-helper): Likewise.
22229         ($(common-objpfx)format.lds): Likewise.
22230         * Rules (binaries-pie-tests): New.
22231         (binaries-pie-notests): Likewise.
22232         (binaries-pie): Rewritten.
22233         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22234         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22235         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22236         (make-test-out): Replace $(host-built-program-cmd) with
22237         $(host-test-program-cmd).
22238         * config.make.in (build-hardcoded-path-in-tests): New variable.
22239         * configure.in (--enable-hardcoded-path-in-tests): New configure
22240         option.
22241         (hardcoded_path_in_tests): New AC_SUBST.
22242         * configure: Regenerated.
22243         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22244         $(built-program-cmd) with $(test-program-cmd).
22245         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22246         (test_program_cmd): This.
22247         * elf/Makefile ($(objpfx)order.out): Run test with
22248         $(test-program-prefix).
22249         ($(objpfx)order2.out): Likewise.
22250         ($(objpfx)tst-initorder.out): Likewise.
22251         ($(objpfx)tst-initorder2.out): Likewise.
22252         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22253         $(test-program-cmd).
22254         ($(objpfx)tst-array1-static.out): Likewise.
22255         ($(objpfx)tst-array2.out): Likewise.
22256         ($(objpfx)tst-array3.out): Likewise.
22257         ($(objpfx)tst-array4.out): Likewise.
22258         ($(objpfx)tst-array5.out): Likewise.
22259         ($(objpfx)tst-array5-static.out): Likewise.
22260         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22261         $(test-program-cmd).
22262         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22263         $(run-program-prefix) with $(test-program-prefix).
22264         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22265         (test_program_prefix): This.
22266         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22267         $(run-program-prefix) with $(test-program-prefix).
22268         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22269         (test_program_prefix): This.
22270         * iconvdata/tst-tables.sh: Likewise.
22271         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22272         $(run-program-prefix) with $(test-program-prefix).
22273         ($(objpfx)tst-translit.out): Likewise.
22274         ($(objpfx)tst-gettext2.out): Likewise.
22275         ($(objpfx)tst-gettext4.out): Likewise.
22276         ($(objpfx)tst-gettext6.out): Likewise.
22277         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22278         (test_program_prefix): This.
22279         * intl/tst-gettext2.sh: Likewise.
22280         * intl/tst-gettext4.sh  Likewise.
22281         * intl/tst-gettext6.sh: Likewise.
22282         * intl/tst-translit.sh: Likewise.
22283         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22284         with $(test-program-cmd).
22285         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22286         $(run-program-prefix) with $(test-program-prefix).
22287         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22288         (test_program_prefix): This.
22289         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22290         $(run-program-prefix) with $(test-program-prefix).
22291         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22292         (test_program_prefix): This.
22293         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22294         * posix/Makefile ($(objpfx)globtest.out): Replace
22295         $(run-via-rtld-prefix) and $(test-wrapper) with
22296         $(test-program-prefix) and $(test-via-rtld-prefix).
22297         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22298         $(test-program-prefix).
22299         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22300         $(host-test-program-cmd).
22301         (tst-spawn-ARGS): Likewise.
22302         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22303         $(test-program-prefix).
22304         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22305         (test_via_rtld_prefix): This.
22306         (test_wrapper): Renamed to ...
22307         (test_program_prefix): This.
22308         (run_program_prefix): Replaced by test_program_prefix.
22309         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22310         (test_program_prefix): This.
22311         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22312         with $(host-test-program-cmd).
22313         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22314         $(run-program-prefix) with $(test-program-prefix).
22315         ($(objpfx)tst-printf.out): Likewise.
22316         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22317         $(test-program-cmd).
22318         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22319         (test_program_prefix): This.
22320         * stdio-common/tst-unbputc.sh: Likewise.
22321         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22322         $(run-program-prefix) with $(test-program-prefix).
22323         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22324         (test_program_prefix): This.
22325         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22326         $(built-program-cmd) with $(test-program-cmd).
22327
22328 2013-01-11  Andreas Jaeger  <aj@suse.de>
22329
22330         [BZ #15003]
22331         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22332         value. Sync with Linux 3.7.
22333
22334 2013-01-10  David S. Miller  <davem@davemloft.net>
22335
22336         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22337         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22338         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22339
22340 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22341
22342         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22343         never set.
22344         * configure: Regenerated.
22345
22346 2013-01-10  David S. Miller  <davem@davemloft.net>
22347
22348         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22349         sparc V9 rather than using V8 code.
22350         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22351         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22352
22353 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22354
22355         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22356         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22357         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22358         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22359         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22360         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22361         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22362         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22363         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22364         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22365         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22366         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22367         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22368         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22369         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22370         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22371         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22372         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22373         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22374         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22375         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22376         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22377         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22378         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22379         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22380         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22381         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22382
22383 2013-01-10  David S. Miller  <davem@davemloft.net>
22384
22385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22386
22387 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22388
22389         * posix/Makefile (tests-static): New variable.
22390         (tests): Add $(tests-static).
22391         (tst-exec-static-ARGS): New variable.
22392         (tst-spawn-static-ARGS): Likewise.
22393         * posix/tst-exec-static.c: New file.
22394         * posix/tst-spawn-static.c: Likewise.
22395         * posix/tst-exec.c: Support run directly.
22396         * posix/tst-spawn.c: Likewise.
22397
22398 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22399
22400         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22401         long.
22402         * math/bits/mathcalls.h (llrint): Likewise.
22403         (llround): Likewise.
22404         * stdlib/stdlib.h (struct drand48_data): Likewise.
22405         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22406         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22407         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22408         Likewise.
22409         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22410         Likewise.
22411         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22412         (elf_greg_t): Likewise.
22413         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22414         (__jmp_buf): Likewise.
22415         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22416         definitions.
22417         (llrint): Likewise, for all definitions.
22418         (llrintl): Likewise.
22419
22420         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22421         Remove [__GNUC__] condition.
22422         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22423         condition to just [__USE_ISOC99].
22424         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22425
22426 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22427
22428         [BZ #14200]
22429         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22430         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22431         defined.
22432         (_POSIX_V6_ILP32_OFF32): Likewise.
22433         (_XBS5_ILP32_OFF32): Likewise.
22434         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22435         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22436
22437 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22438
22439         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22440
22441         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22442         doubles __mpexp_twomm1.  Adjust usage.
22443         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22444         Remove.
22445
22446 2013-01-10  Andreas Schwab  <schwab@suse.de>
22447
22448         [BZ #14964]
22449         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22450         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22451
22452 2013-01-09  David S. Miller  <davem@davemloft.net>
22453
22454         [BZ #15003]
22455         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22456         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22457         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22458         (TCP_FASTOPEN): Define.
22459         (tcp_repair_opt): New structure.
22460         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22461         enum values.
22462         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22463         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22464         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22465         (tcp_cookie_transactions): New structure.
22466
22467 2013-01-09  Anton Blanchard  <anton@samba.org>
22468
22469         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22470         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22471         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22472         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22473
22474 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22475
22476         * include/features.h (__USE_ANSI): Remove.
22477
22478 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22479
22480         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22481
22482         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22483
22484 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22485
22486         * sysdeps/s390/fpu/libm-test-ulps: Update.
22487
22488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22489
22490         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22491         (__acr): Likewise.
22492         (__cpy): Likewise.
22493         (norm): Likewise.
22494         (denorm): Likewise.
22495         (__mp_dbl): Likewise.
22496         (__dbl_mp): Likewise.
22497         (add_magnitudes): Likewise.
22498         (sub_magnitudes): Likewise.
22499         (__add): Likewise.
22500         (__sub): Likewise.
22501         (__mul): Likewise.
22502         (__inv): Likewise.
22503         (__dvd): Likewise.
22504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22505         (__acr): Likewise.
22506         (__cpy): Likewise.
22507         (norm): Likewise.
22508         (denorm): Likewise.
22509         (__mp_dbl): Likewise.
22510         (__dbl_mp): Likewise.
22511         (add_magnitudes): Likewise.
22512         (sub_magnitudes): Likewise.
22513         (__add): Likewise.
22514         (__sub): Likewise.
22515         (__mul): Likewise.
22516         (__inv): Likewise.
22517         (__dvd): Likewise.
22518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22519         (__acr): Likewise.
22520         (__cpy): Likewise.
22521         (norm): Likewise.
22522         (denorm): Likewise.
22523         (__mp_dbl): Likewise.
22524         (__dbl_mp): Likewise.
22525         (add_magnitudes): Likewise.
22526         (sub_magnitudes): Likewise.
22527         (__add): Likewise.
22528         (__sub): Likewise.
22529         (__mul): Likewise.
22530         (__inv): Likewise.
22531         (__dvd): Likewise.
22532
22533 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22534
22535         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22536         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22537         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22538         2 && __USE_EXTERN_INLINES]: Likewise.
22539
22540 2013-01-08  Andreas Jaeger  <aj@suse.de>
22541
22542         [BZ# 14985]
22543         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22544         Remove.
22545         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22546         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22547
22548 2013-01-07  Anton Blanchard  <anton@samba.org>
22549
22550         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22551         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22552         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22553         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22554         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22555         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22556         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22557         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22559         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22560         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22561         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22562         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22563         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22564         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22565         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22566         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22567         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22568         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22569         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22570         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22571         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22572         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22573         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22574         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22575         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22576         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22577         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22578         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22579         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22580         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22582         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22583         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22584         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22585         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22586         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22587         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22588         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22589         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22590         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22591         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22592         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22593
22594 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22595
22596         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22597         (__MALLOC_PMT): Likewise.
22598         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22599         [__GNUC__], only on [_LIBC].
22600         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22601         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22602         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22603         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22604         forward declaration.
22605         (realloc_hook_ini): Likewise.
22606         (memalign_hook_ini): Likewise.
22607         (__libc_memalign): Do not use __MALLOC_PMT in variable
22608         declaration.
22609         (__libc_valloc): Likewise.
22610         (__libc_pvalloc): Likewise.
22611         (__libc_calloc): Likewise.
22612         (__posix_memalign): Likewise.
22613
22614         [BZ #14996]
22615         * math/s_casinh.c: Include <float.h>.
22616         (__casinh): Do not do computation with squaring and square root
22617         for large arguments.
22618         * math/s_casinhf.c: Include <float.h>.
22619         (__casinhf): Do not do computation with squaring and square root
22620         for large arguments.
22621         * math/s_casinhl.c: Include <float.h>.
22622         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22623         (__casinhl): Do not do computation with squaring and square root
22624         for large arguments.
22625         * math/libm-test.inc (casin_test): Add more tests.
22626         (casinh_test): Likewise.
22627         * sysdeps/i386/fpu/libm-test-ulps: Update.
22628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22629
22630 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22631
22632         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22633         (__x86_64_raw_data_cache_size): Likewise.
22634         (__x86_64_data_cache_size_half): Likewise.
22635         (__x86_64_raw_data_cache_size_half): Likewise.
22636         (__x86_64_shared_cache_size): Likewise.
22637         (__x86_64_raw_shared_cache_size): Likewise.
22638         (__x86_64_shared_cache_size_half): Likewise.
22639         (__x86_64_raw_shared_cache_size_half): Likewise.
22640         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22641         to ...
22642         (__x86_data_cache_size): This.
22643         (__x86_64_raw_data_cache_size): Renamed to ...
22644         (__x86_raw_data_cache_size): This.
22645         (__x86_64_data_cache_size_half): Renamed to ...
22646         (__x86_data_cache_size_half): This.
22647         (__x86_64_raw_data_cache_size_half): Renamed to ...
22648         (__x86_raw_data_cache_size_half): This.
22649         (__x86_64_shared_cache_size): Renamed to ...
22650         (__x86_shared_cache_size): This.
22651         (__x86_64_raw_shared_cache_size): Renamed to ...
22652         (__x86_raw_shared_cache_size): This.
22653         (__x86_64_shared_cache_size_half): Renamed to ...
22654         (__x86_shared_cache_size_half): This.
22655         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22656         (__x86_raw_shared_cache_size_half): This.
22657         * sysdeps/x86_64/memcpy.S: Updated.
22658         * sysdeps/x86_64/memset.S: Likewise.
22659         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22660         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22661         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22662
22663 2013-01-04  David S. Miller  <davem@davemloft.net>
22664
22665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22666
22667 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22668
22669         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22670         1 to avoid redefinition warning.
22671         (__USE_GNU): Don't define.
22672         (init_signaling_nan): Protoize.
22673
22674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22675
22676 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22677
22678         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22680         (__cpymn): Likewise.
22681         (norm): Remove commented code.
22682         (denorm): Likewise.
22683         (__mp_dbl): Likewise.
22684         (__inv): Likewise.
22685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22686         (__cpymn): Likewise.
22687         (norm): Remove commented code.
22688         (denorm): Likewise.
22689         (__mp_dbl): Likewise.
22690         (__inv): Likewise.
22691
22692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22693         mp_no value for 1.0 and 2.0.
22694         (norm): Use RADIXI instead of radixi.d.
22695         (denorm): Likewise.
22696         (__mul): Use 0.0 instead of zero.d.
22697         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22698         mp_no value for 1.0 and 2.0.
22699         (norm): Use RADIXI instead of radixi.d.
22700         (denorm): Likewise.
22701         (__mul): Use 0.0 instead of zero.d.
22702
22703 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22704
22705         [BZ #14994]
22706         * math/s_casinh.c (__casinh): Reduce finite argument to first
22707         quadrant then set signs of results at the end.
22708         * math/s_casinhf.c (__casinhf): Likewise.
22709         * math/s_casinhl.c (__casinhl): Likewise.
22710         * math/libm-test.inc (casin_test): Add more tests.
22711         (casinh_test): Likewise.
22712         * sysdeps/i386/fpu/libm-test-ulps: Update.
22713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22714
22715 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22716
22717         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22718
22719         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22720
22721         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22722         declarations.
22723         (denorm): Likewise.
22724         (__mp_dbl): Likewise.
22725         (__inv): Likewise.
22726
22727         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22728         and adjust the header comment.
22729
22730         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22731         variable name from declaration.
22732
22733 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22734
22735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22736         Initialize COMMON_CPUID_INDEX_7 element.
22737         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22738         (CPUID_RTM): Likewise.
22739         (HAS_RTM): Likewise.
22740         (COMMON_CPUID_INDEX_7): New enum.
22741
22742 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22743
22744         [BZ #14981]
22745         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22746         size is zero, record memory as freed.
22747
22748 2013-01-03  Andreas Jaeger  <aj@suse.de>
22749
22750         * po/ia.po: Add new Interlingua translation.
22751
22752 2012-01-03  Allan McRae  <allan@archlinux.org>
22753
22754         * locale/programs/localedef.c: Fix description of '--posix' flag.
22755
22756 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22757
22758         * NEWS: Update dates in second copyright notice.
22759         * README: Update copyright dates in example.
22760         * manual/libc.texinfo: Update copyright dates.
22761         * scripts/test-installation.pl: Update copyright date in --version
22762         output.
22763
22764         * hurd/ctty-input.c: Fix copyright notice formatting.
22765         * hurd/ctty-output.c: Likewise.
22766         * hurd/dtable.c: Likewise.
22767         * hurd/hurd-raise.c: Likewise.
22768         * hurd/hurdprio.c: Likewise.
22769         * hurd/msgportdemux.c: Likewise.
22770         * misc/sys/file.h: Likewise.
22771         * misc/sys/ioctl.h: Likewise.
22772         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22773         * sysdeps/mach/hurd/chdir.c: Likewise.
22774         * sysdeps/mach/hurd/fchdir.c: Likewise.
22775         * sysdeps/mach/hurd/rename.c: Likewise.
22776         * sysdeps/mach/hurd/rmdir.c: Likewise.
22777         * sysdeps/mach/hurd/seekdir.c: Likewise.
22778         * sysdeps/mach/hurd/setsid.c: Likewise.
22779         * sysdeps/posix/wait3.c: Likewise.
22780
22781         * All files with FSF copyright notices: Update copyright dates
22782         using scripts/update-copyrights.
22783         * intl/plural.c: Regenerated.
22784         * locale/programs/charmap-kw.h: Likewise.
22785         * locale/programs/locfile-kw.h: Likewise.
22786
22787 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22788
22789         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22790         four values.
22791
22792         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22793         calculation loop and add branch prediction.
22794
22795         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22796         check access beyond bounds of m1np.
22797
22798         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22799         MPTWO.
22800         (__inv): Remove local variable MPTWO to use the global
22801         constant.
22802         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22803         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22804         variable MPTWO.
22805         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22806         MP3HALFS static const.
22807
22808 2013-01-01  David S. Miller  <davem@davemloft.net>
22809
22810         * po/ca.po: Update from translation team.
22811
22812 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22813
22814         * scripts/update-copyrights: New file.
22815         * Makeconfig: Reformat copyright notice.
22816         * ctype/ctype.h: Likewise.
22817         * debug/swprintf_chk.c: Likewise.
22818         * elf/dl-cache.c: Likewise.
22819         * elf/dl-debug.c: Likewise.
22820         * elf/dl-object.c: Likewise.
22821         * grp/initgroups.c: Likewise.
22822         * hurd/Makefile: Likewise.
22823         * hurd/hurd/signal.h: Likewise.
22824         * hurd/hurdfault.c: Likewise.
22825         * hurd/hurdioctl.c: Likewise.
22826         * hurd/hurdlookup.c: Likewise.
22827         * hurd/intr-msg.c: Likewise.
22828         * iconv/gconv_open.c: Likewise.
22829         * libio/swprintf.c: Likewise.
22830         * locale/lc-ctype.c: Likewise.
22831         * locale/nl_langinfo.c: Likewise.
22832         * mach/Machrules: Likewise.
22833         * mach/Makefile: Likewise.
22834         * malloc/obstack.h: Likewise.
22835         * manual/Makefile: Likewise.
22836         * manual/tsort.awk: Likewise.
22837         * misc/bits/stab.def: Likewise.
22838         * nis/nis_print_group_entry.c: Likewise.
22839         * nis/nis_table.c: Likewise.
22840         * nis/nss_compat/compat-pwd.c: Likewise.
22841         * nis/nss_compat/compat-spwd.c: Likewise.
22842         * po/Makefile: Likewise.
22843         * posix/fnmatch.c: Likewise.
22844         * posix/regex.h: Likewise.
22845         * resolv/Makefile: Likewise.
22846         * resolv/nss_dns/dns-network.c: Likewise.
22847         * resolv/res_hconf.c: Likewise.
22848         * scripts/gen-sorted.awk: Likewise.
22849         * soft-fp/soft-fp.h: Likewise.
22850         * stdio-common/printf.h: Likewise.
22851         * stdlib/monetary.h: Likewise.
22852         * stdlib/random.c: Likewise.
22853         * stdlib/random_r.c: Likewise.
22854         * sysdeps/generic/Makefile: Likewise.
22855         * sysdeps/gnu/Makefile: Likewise.
22856         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22857         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22858         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22859         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22860         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22861         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22862         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22863         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22864         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22865         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22866         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22867         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22868         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22869         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22870         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22871         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22872         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22873         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22874         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22875         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22876         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22877         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22878         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22879         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22880         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22881         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22882         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22883         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22884         * sysdeps/mach/hurd/errnos.awk: Likewise.
22885         * sysdeps/mach/hurd/fork.c: Likewise.
22886         * sysdeps/mach/hurd/getcwd.c: Likewise.
22887         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22888         * sysdeps/mach/hurd/mmap.c: Likewise.
22889         * sysdeps/mach/hurd/utimes.c: Likewise.
22890         * sysdeps/mach/hurd/xmknod.c: Likewise.
22891         * sysdeps/posix/profil.c: Likewise.
22892         * sysdeps/posix/readdir_r.c: Likewise.
22893         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22894         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22895         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22896         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22898         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22899         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22900         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22902         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22903         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22904         * sysdeps/pthread/lio_listio.c: Likewise.
22905         * sysdeps/sparc/dl-procinfo.h: Likewise.
22906         * sysdeps/unix/i386/sysdep.S: Likewise.
22907         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22908         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22909         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22910         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22912         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22913         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22914         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22915         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22916         * sysdeps/wordsize-32/divdi3.c: Likewise.
22917         * time/sys/time.h: Likewise.
22918         * wcsmbs/Makefile: Likewise.
22919
22920 2013-01-01  David S. Miller  <davem@davemloft.net>
22921
22922         * po/fr.po: Update from translation team.
22923
22924         * catgets/gencat.c: Update copyright year.
22925         * csu/version.c: Likewise.
22926         * debug/catchsegv.sh: Likewise.
22927         * debug/pcprofiledump.c: Likewise.
22928         * debug/xtrace.sh: Likewise.
22929         * elf/ldconfig.c: Likewise.
22930         * elf/ldd.bash.in: Likewise.
22931         * elf/pldd.c: Likewise.
22932         * elf/sotruss.ksh: Likewise.
22933         * elf/sprof.c: Likewise.
22934         * iconv/iconv_prog.c: Likewise.
22935         * iconv/iconvconfig.c: Likewise.
22936         * locale/programs/locale.c: Likewise.
22937         * locale/programs/localedef.c: Likewise.
22938         * login/programs/pt_chown.c: Likewise.
22939         * malloc/memusage.sh: Likewise.
22940         * malloc/memusagestat.c: Likewise.
22941         * malloc/mtrace.pl: Likewise.
22942         * nscd/nscd.c: Likewise.
22943         * nss/getent.c: Likewise.
22944         * nss/makedb.c: Likewise.
22945         * posix/getconf.c: Likewise.
22946
22947 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22948
22949         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22950         numbers.
22951
22952 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22953
22954         * math/bits/mathcalls.h (modf): Use __nonnull.
22955
22956 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22957
22958         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22959         (split): Use macro CN instead of the bare value.
22960         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22961         could be used.
22962         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22963         instead of the bare value.
22964         (power1): Likewise.
22965
22966 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22967
22968         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22969         __ATAN_TWOM.
22970         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22971
22972         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22973         their values.
22974         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22975         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22976         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22977         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22978
22979 2012-12-28  Andreas Jaeger  <aj@suse.de>
22980
22981         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22982         values are from Linux 3.7.
22983
22984         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22985         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
22986
22987 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22988
22989         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22990         TRUE case.
22991
22992         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22993         (norm): Likewise.
22994         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22995         variables with preprocessor constants.
22996         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22997         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22998         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22999
23000 2012-12-27  Bruno Haible  <bruno@clisp.org>
23001
23002         [BZ #14317]
23003         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23004         only if needed.
23005
23006 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23007
23008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23009         and use variable directly.
23010         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23011
23012         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23013         MPONE.
23014         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23015         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23016         variable MPONE.
23017         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23019         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23020         include directive.  Remove local variable MPONE.
23021         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23022         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23023         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23024
23025 2012-12-25  David S. Miller  <davem@davemloft.net>
23026
23027         * version.h (RELEASE): Set to "development".
23028         (VERSION): Set to "2.17.90".
23029         * NEWS: Add 2.18 section.
23030
23031 2012-12-21  David S. Miller  <davem@davemloft.net>
23032
23033         * po/hr.po: Update from translation team.
23034
23035 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23036
23037         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23038
23039 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23040
23041         * NEWS:  Mention new memcpy for MIPS.
23042
23043 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23044
23045         * manual/contrib.texi (Contributors): Spelling correction.
23046
23047 2012-12-15  David S. Miller  <davem@davemloft.net>
23048
23049         * po/ru.po: Update from translation team.
23050
23051 2012-12-13  David S. Miller  <davem@davemloft.net>
23052
23053         * NEWS: Mention IFUNC testsuite enhancements.
23054
23055         * po/pl.po: Update from translation team.
23056         * po/bg.po: Likewise.
23057
23058         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23059         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23060
23061 2012-12-11  David S. Miller  <davem@davemloft.net>
23062
23063         * po/sv.po: Update from translation team.
23064
23065         * po/vi.po: Update from translation team.
23066
23067         * po/cs.po: Update from translation team.
23068
23069         * po/de.po: Update from translation team.
23070         * po/eo.po: Likewise.
23071         * po/nl.po: Likewise.
23072
23073 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23074
23075         [BZ #14246]
23076         * manual/argp.texi (Argp Helper Functions): Move node to follow
23077         Argp Parsing State.
23078
23079         [BZ #14872]
23080         * manual/conf.texi (Limits on File System Capacity): Mention if
23081         terminating null is included in the max size.
23082
23083 2012-12-10  Andreas Jaeger  <aj@suse.de>
23084
23085         * po/cs.po: Update from translation team.
23086
23087 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23088
23089         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23090         void pointer and cast to uintptr_t.
23091         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23092         path.
23093         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23094         * sysdeps/s390/s390-64/memset.S: Likewise.
23095
23096 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23097
23098         [BZ #14833]
23099         * menual/message.texi (Message Translation): Fix typos.
23100         (Helper programs for gettext): Likewise.
23101
23102 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23103
23104         [BZ #14898]
23105         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23106         Change to -1.
23107
23108 2012-12-07  David S. Miller  <davem@davemloft.net>
23109
23110         * po/libc.pot: Update.
23111
23112 2012-12-07  Richard Henderson  <rth@redhat.com>
23113
23114         [BZ #10114]
23115         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23116         normal/normal case to before the switch.
23117         (_FP_DIV): Likewise.
23118
23119 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23120             Mike Frysinger  <vapier@gentoo.org>
23121
23122         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23123         check for __NR_fadvise64_64.
23124
23125 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23126
23127         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23128         0, not just to plain "0" as a statement.
23129         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23130         with cw.
23131
23132 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23133
23134         * NEWS: Use sourceware.org in Bugzilla URL.
23135
23136 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23137
23138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23139         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23140
23141         * stdio-common/tst-put-error.c (do_test): Add newline to the
23142         padded test to ensure flush.
23143
23144 2012-12-05  Jeff Law  <law@redhat.com>
23145
23146         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23147
23148 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23149
23150         * README: Don't refer to ports add-on as distributed separately.
23151         Mention AArch64 in list of systems supported in the ports add-on.
23152
23153         * LICENSES: Add more non-FSF copyright and license notices.
23154
23155         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23156         ((unused)).
23157
23158         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23159
23160         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23161         10000 as width of padded output.
23162
23163 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23164
23165         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23166
23167         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23168         variable LX with __attribute__ ((unused)).
23169         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23170         Likewise.
23171         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23172         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23173         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23174         with __attribute__ ((unused)).
23175
23176 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23177
23178         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23179
23180 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23181
23182         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23183         (CFLAGS-nldbl-acos.c): New variable.
23184         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23185         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23186         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23187         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23188         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23189         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23190         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23191         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23192         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23193         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23194         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23195         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23196         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23197         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23198         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23199         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23200         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23201         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23202         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23203         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23204         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23205         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23206         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23207         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23208         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23209         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23210         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23211         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23212         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23213         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23214         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23215         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23216         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23217         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23218         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23219         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23220         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23221         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23222         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23223         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23224         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23225         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23226         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23227         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23228         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23229         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23230         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23231         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23232         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23233         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23234         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23235         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23236         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23237         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23238         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23239         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23240         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23241         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23242         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23243         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23244         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23245         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23246         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23247         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23248         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23249         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23250         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23251         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23252         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23253         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23254         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23255         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23256         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23257         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23258         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23259         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23260         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23261         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23262         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23263         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23264         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23265         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23266         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23267         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23268         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23269         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23270         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23271         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23272         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23273         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23274         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23275         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23276         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23277         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23278         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23279         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23280         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23281
23282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23283         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23284
23285         [BZ #14914]
23286         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23287         whole low double instead of just low 47 bits when splitting values
23288         into two parts.
23289
23290 2012-12-03  Allan McRae  <allan@archlinux.org>
23291
23292         * manual/stdio.texi (Predefined Printf Handlers): Remove
23293         @hsep and @vsep usage.
23294
23295 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23296
23297         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23298         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23299
23300 2012-12-03  Jeff Law  <law@redhat.com>
23301
23302         * time/sys/time.h (settimeofday): Do not mark TV argument
23303         as __nonnull.
23304
23305 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23306
23307         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23308         when currently writing and seek to current position when not.
23309         * libio/Makefile (tests): Remove bug-fclose1.
23310         * libio/bug-fclose1.c: Delete.
23311
23312 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23313
23314         * manual/arith.texi (feenableexcept): Fix typo.
23315         (fedisableexcept): Likewise.
23316
23317 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23318
23319         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23320         second, differently-typed declaration, rather than a cast.
23321
23322 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23323
23324         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23325         * include/rpc/svc.h: ... here.
23326
23327 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23328
23329         [BZ #13013]
23330         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23331         depending n and resplen2 to catch cases where answer
23332         equals answerp2.
23333
23334 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23335
23336         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23337         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23338
23339 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23340
23341         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23342
23343 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23344
23345         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23346
23347 2012-11-28  Jeff Law  <law@redhat.com>
23348
23349         [BZ #13761]
23350         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23351         dataset_temporary.  Track alloca usage into alloca_used.
23352         If dataset is large allocate and release it via malloc/free.
23353
23354 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23355
23356         [BZ #14197]
23357         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23358
23359 2012-11-28  David S. Miller  <davem@davemloft.net>
23360
23361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23362
23363 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23364
23365         [BZ #14803]
23366         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23367         of pi/2 rounded to nearest to 64 bits.
23368         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23369         nearest to 64 bits.
23370         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23371         bits.
23372
23373 2012-11-28  Jeff Law <law@redhat.com>
23374             Martin Osvald <mosvald@redhat.com>
23375
23376         [BZ #14889]
23377         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23378         * sunrpc/svc.c: Include time.h.
23379         (__svc_accept_failed): New function.
23380         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23381         any reason other than EINTR, call __svc_accept_failed.
23382         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23383         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23384
23385 2012-11-28  Andreas Schwab  <schwab@suse.de>
23386
23387         * scripts/abilist.awk: Also handle indirect functions in .opd
23388         section.
23389
23390 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23391
23392         [BZ #13881]
23393         * sysdeps/x86/fpu/powl_helper.c: New file.
23394         * sysdeps/x86/fpu/Makefile: Likewise.
23395         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23396         (p3): New object.
23397         (__ieee754_powl): Use __powl_helper for finite arguments except
23398         integer exponents below 8.
23399         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23400         (p3): New object.
23401         (__ieee754_powl): Use __powl_helper for finite arguments except
23402         integer exponents below 8.
23403         * math/libm-test.inc (pow_test): Add more tests and enable some
23404         previously disabled tests.
23405         * sysdeps/i386/fpu/libm-test-ulps: Update.
23406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23407
23408 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23409             Carlos O'Donell  <carlos_odonell@mentor.com>
23410
23411         * nss/makedb.c (is_prime): Assert that input is odd and greater
23412         than 4.  Note that fact in a comment too.
23413         (next_prime): Add 4 to input.
23414
23415 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23416
23417         [BZ #11741]
23418         * libio/Makefile (tests): Add test case tst-fwrite-error.
23419         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23420         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23421         * libio/tst-fwrite-error.c: New test case.
23422
23423 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23424
23425         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23426         before casting to void *.
23427         * include/libc-internal.h (__pointer_type): New macro.
23428         (__integer_if_pointer_type_sub): Likewise.
23429         (__integer_if_pointer_type): Likewise.
23430         (cast_to_integer): Likewise.
23431         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23432         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23433         before casting to atomic64_t.
23434         (atomic_exchange_acq): Likewise.
23435         (__arch_exchange_and_add_body): Likewise.
23436         (__arch_add_body): Likewise.
23437         (atomic_add_negative): Likewise.
23438         (atomic_add_zero): Likewise.
23439
23440 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23441
23442         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23443         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23444         (add_fdes): Likewise.
23445         (linear_search_fdes): Likewise.
23446         (binary_search_unencoded_fdes): Likewise.
23447
23448 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23449
23450         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23451
23452 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23453
23454         * configure.in: Autodetect C++ header directories.
23455         * configure: Regenerated.
23456
23457 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23458
23459         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23460
23461 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23462
23463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23464
23465 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23466
23467         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23468         LDBL_MANT_DIG == 106]: Disable some tests.
23469         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23470         Likewise.
23471         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23472         Likewise.
23473
23474         [BZ #14871]
23475         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23476         input for small inputs.  Return +/- pi/2 for large inputs.
23477         * math/libm-test.inc (atan_test): Add more tests.
23478
23479         * sysdeps/generic/unwind-dw2-fde-glibc.c
23480         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23481         __attribute__ ((unused)).
23482
23483         [BZ #14645]
23484         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23485         x * y if x and y are nonzero and z is zero.
23486
23487         [BZ #14811]
23488         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23489         nonzero exponents with absolute value below 0x1p-117 to +/-
23490         0x1p-117.
23491
23492         [BZ #14869]
23493         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23494         up arguments below 2**-450, not just those below 2**-500.
23495         * math/libm-test.inc (hypot_test): Add another test.
23496
23497         [BZ #14868]
23498         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23499         Return a+b for ratio over 2**120, not 2**60.
23500         * math/libm-test.inc (hypot_test): Add another test.
23501
23502         * math/libm-test.inc (clog_test): Use
23503         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23504         (clog10_test): Likewise.
23505
23506         [BZ #6778]
23507         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23508
23509 2012-11-22  Andreas Schwab  <schwab@suse.de>
23510
23511         * sysdeps/i386/fpu/libm-test-ulps: Update.
23512
23513 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23514
23515         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23516         printf output with newline.
23517
23518 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23519
23520         [BZ #14865]
23521         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23522         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23523         -z nodlopen, -z initfirst and -z execstack support.
23524         * configure: Regenerated.
23525
23526         * elf/elf.h (DF_1_NODIRECT): New macro.
23527         (DF_1_IGNMULDEF): Likewise.
23528         (DF_1_NOKSYMS): Likewise.
23529         (DF_1_NOHDR): Likewise.
23530         (DF_1_EDITED): Likewise.
23531         (DF_1_NORELOC): Likewise.
23532         (DF_1_SYMINTPOSE): Likewise.
23533         (DF_1_GLOBAUDIT): Likewise.
23534         (DF_1_SINGLETON): Likewise.
23535         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23536         DT_1_SUPPORTED_MASK bits.
23537         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23538
23539 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23540
23541         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23542
23543 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23544
23545         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23546         macro.
23547
23548         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23549         (sendmmsg): Move declarations...
23550         * socket/sys/socket.h: ... here.
23551         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23552         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23553         include it from...
23554         * socket/recvmmsg.c: ... this new file.
23555         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23556         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23557         definition of __sendmmsg hidden.
23558         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23559         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23560         Move ENOSYS stub into and include it from...
23561         * socket/sendmmsg.c: ... this new file.
23562         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23563         (sysdep_routines): Move recvmmsg and sendmmsg...
23564         * socket/Makefile (routines): ... here.
23565         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23566         (GLIBC_PRIVATE): Add __sendmmsg.
23567         * include/sys/socket.h (__sendmmsg): Add declarations.
23568         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23569         sendmmsg.
23570
23571 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23572
23573         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23574         variable I1 with __attribute__ ((unused)).
23575         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23576
23577 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23578
23579         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23580         DUMMY variables with __attribute__ ((unused)).
23581
23582         * bits/byteswap.h: Include <bits/types.h>.
23583         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23584
23585 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23586
23587         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23588         string_t.  Do not manually set errno.
23589         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23590         length with __strnlen.  Make sure to both set errno and return it on
23591         failure.
23592
23593 2012-11-19  David S. Miller  <davem@davemloft.net>
23594
23595         With help from Joseph Myers.
23596         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23597         very large arguments properly.
23598         * math/libm-test.inc (atan_test): New tests.
23599         (atan2_test): New tests.
23600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23602
23603 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23604
23605         [BZ #14856]
23606         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23607         Define to 3.
23608
23609         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23610         [POSIX] (EADDRNOTAVAIL): Likewise.
23611         [POSIX] (EAFNOSUPPORT): Likewise.
23612         [POSIX] (EALREADY): Likewise.
23613         [POSIX] (ECONNABORTED): Likewise.
23614         [POSIX] (ECONNREFUSED): Likewise.
23615         [POSIX] (ECONNRESET): Likewise.
23616         [POSIX] (EDESTADDRREQ): Likewise.
23617         [POSIX] (EDQUOT): Likewise.
23618         [POSIX] (EHOSTUNREACH): Likewise.
23619         [POSIX] (EIDRM): Likewise.
23620         [POSIX] (EISCONN): Likewise.
23621         [POSIX] (ELOOP): Likewise.
23622         [POSIX] (EMULTIHOP): Likewise.
23623         [POSIX] (ENETDOWN): Likewise.
23624         [POSIX] (ENETUNREACH): Likewise.
23625         [POSIX] (ENOBUFS): Likewise.
23626         [POSIX] (ENODATA): Likewise.
23627         [POSIX] (ENOLINK): Likewise.
23628         [POSIX] (ENOMSG): Likewise.
23629         [POSIX] (ENOPROTOOPT): Likewise.
23630         [POSIX] (ENOSR): Likewise.
23631         [POSIX] (ENOSTR): Likewise.
23632         [POSIX] (ENOTCONN): Likewise.
23633         [POSIX] (ENOTSOCK): Likewise.
23634         [POSIX] (EOPNOTSUPP): Likewise.
23635         [POSIX] (EOVERFLOW): Likewise.
23636         [POSIX] (EPROTO): Likewise.
23637         [POSIX] (EPROTONOSUPPORT): Likewise.
23638         [POSIX] (EPROTOTYPE): Likewise.
23639         [POSIX] (ESTALE): Likewise.
23640         [POSIX] (ETIME): Likewise.
23641         [POSIX] (ETXTBSY): Likewise.
23642         [POSIX] (EWOULDBLOCK): Likewise.
23643         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23644         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23645         [POSIX] (SEEK_CUR): Likewise.
23646         [POSIX] (SEEK_END): Likewise.
23647         [POSIX || UNIX98] (mode_t): Do not require.
23648         [POSIX] (off_t): Likewise.
23649         [POSIX] (pid_t): Likewise.
23650         [POSIX] (sys/stat.h): Do not allow header.
23651         [POSIX] (unistd.h): Likewise.
23652         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23653         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23654         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23655         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23656         require.
23657         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23658         sigevent): Specify elements.
23659         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23660         entry.
23661         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23662         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23663
23664         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23665         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23666         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23667         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23668         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23669         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23670         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23671         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23672         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23673         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23674         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23675         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23676         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23677         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23678         Likewise.
23679         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23680         Likewise.
23681         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23682         Likewise.
23683         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23684         Likewise.
23685         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23686         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23687         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23688         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23689         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23690         Specify lower bound on value.
23691         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23692         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23693         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23694         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23695         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23696         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23697         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23698         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23699         value.
23700         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23701         as optional.
23702         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23703         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23704         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23705         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23706         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23707         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23708         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23709         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23710         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23711         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23712         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23713         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23714         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23715         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23716         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23717         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23718         entry.
23719         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23720         optional.
23721         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23722         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23723         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23724         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23725         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23726         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23727         Likewise.
23728         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23729         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23730         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23731         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23732         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23733         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23734         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23735         as optional.
23736         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23737         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23738         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23739         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23740         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23741         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23742         specify as optional.
23743         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23744         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23745         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23746         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23747         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23748         [XPG3] (NL_LANGMAX): Likewise.
23749         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23750         [POSIX || XPG3] (NL_NMAX): Likewise.
23751         [POSIX || XPG3] (NL_SETMAX): Likewise.
23752         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23753         [XPG3] (NZERO): Likewise.
23754         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23755         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23756         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23757         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23758         (REG_ERANGE): Expect.
23759         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23760         optional-constant.
23761         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23762         Use (void) in prototype.
23763         [POSIX] (*_t): Allow.
23764         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23765         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23766         (WRDE_BADVAL): Expect.
23767
23768         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23769         expect.
23770         [XPG3 || XPG4] (O_RSYNC): Likewise.
23771         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23772         Likewise.
23773         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23774         [XPG3 || XPG4] (sigqueue): Likewise.
23775         [XPG3 || XPG4] (sigtimedwait): Likewise.
23776         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23777         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23778         [XPG3 || XPG4] (vsnprintf): Likewise.
23779         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23780         Likewise.
23781         [XPG3 || XPG4] (blksize_t): Likewise.
23782         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23783         Likewise.
23784         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23785         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23786         [XPG3 || XPG4] (struct itimerspec): Likewise.
23787         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23788         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23789         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23790         [XPG3 || XPG4] (clockid_t): Likewise.
23791         [XPG3 || XPG4] (timer_t): Likewise.
23792         [XPG3 || XPG4] (clock_getres): Likewise.
23793         [XPG3 || XPG4] (clock_gettime): Likewise.
23794         [XPG3 || XPG4] (clock_settime): Likewise.
23795         [XPG3 || XPG4] (nanosleep): Likewise.
23796         [XPG3 || XPG4] (timer_create): Likewise.
23797         [XPG3 || XPG4] (timer_delete): Likewise.
23798         [XPG3 || XPG4] (timer_gettime): Likewise.
23799         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23800         [XPG3 || XPG4] (timer_settime): Likewise.
23801         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23802         [XPG3 || XPG4] (getlogin_r): Likewise.
23803         [XPG3 || XPG4] (pread): Likewise.
23804         [XPG3 || XPG4] (pthread_atfork): Likewise.
23805         [XPG3 || XPG4] (pwrite): Likewise.
23806
23807         [BZ #14835]
23808         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23809         <bits/siginfo.h>.
23810
23811 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23812
23813         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23814         finalizing MALLSTREAM.
23815
23816         * sysdeps/mach/hurd/syncfs.c: New file.
23817
23818 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23819
23820         [BZ #14719]
23821         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23822         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23823         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23824         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23825         (_nss_dns_gethostbyname4_r): Likewise.
23826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23827         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23828
23829 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23830
23831         [BZ #13763]
23832         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23833
23834 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23835
23836         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23837         * elf/cache.c (print_entry): Print ",AArch64" for
23838         FLAG_AARCH64_LIB64
23839
23840         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23841         * elf/cache.c (print_entry): Print ",hard-float" for
23842         FLAG_ARM_LIBHF.
23843
23844 2012-11-18  David S. Miller  <davem@davemloft.net>
23845
23846         With help from Joseph Myers.
23847         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23848         cutoff to 2**-13.
23849         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23850         cutoff to 2**-25.
23851         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23852         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23853         small.
23854         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23855         * math/libm-test.inc (y0_test): New tests.
23856         (y1_test): New tests.
23857         * sysdeps/i386/fpu/libm-test-ulps: Update.
23858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23860
23861 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23862
23863         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23864         64-bit targets.
23865         * configure: Regenerated.
23866
23867 2012-11-17  David S. Miller  <davem@davemloft.net>
23868
23869         [BZ #14811]
23870         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23871         nonzero exponents with absolute value below 0x1p-128 to +/-
23872         0x1p-128.
23873
23874 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23875
23876         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23877
23878         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23879
23880         * posix/getconf-speclist.c: New file.
23881         * posix/posix-envs.def: Likewise.
23882         * posix/confstr.c (START_ENV_GROUP): New macro.
23883         (END_ENV_GROUP): Likewise.
23884         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23885         (KNOWN_PRESENT_ENV_STRING): Likewise.
23886         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23887         (UNKNOWN_ENVIRONMENT): Likewise.
23888         (confstr): Include posix-envs.def instead of handling
23889         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23890         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23891         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23892         (END_ENV_GROUP): Likewise.
23893         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23894         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23895         (UNKNOWN_ENVIRONMENT): Likewise.
23896         (__sysconf): Include posix-envs.def instead of handling associated
23897         cases directly here.
23898         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23899         preprocessing getconf-speclist.c rather than running getconf or
23900         generating empty file.
23901
23902 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23903
23904         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23905
23906 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23907
23908         [BZ #14672]
23909         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23910
23911 2012-11-16  David S. Miller  <davem@davemloft.net>
23912
23913         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23914         smaller than LDBL_EPSILON/2.0L, just return xm1.
23915
23916 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23917
23918         * elf/tst-array1.c (init): Set constructor priority to 1000.
23919         (fini): Set destructor priority to 1000.
23920         * elf/tst-array2dep.c: Likewise.
23921
23922 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23923
23924         [BZ #11741]
23925         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23926         (_IO_new_file_xsputn): Also return EOF if none of the input
23927         data was written when overflow failed.
23928         * libio/iopadn.c (_IO_padn): Likewise.
23929         * libio/iowpadn.c (_IO_wpadn): Likewise.
23930         * stdio-common/tst-put-error.c: Add copyright notice.
23931         (do_test): Add case for printing padded string.
23932         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23933         _IO_padn returned error.
23934         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23935         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23936         return EOF.
23937
23938 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23939
23940         * libio/libioP.h: Add comment note that the references to C++
23941         bits are now obsolete.
23942
23943 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23944
23945         * math/libm-test.inc (check_complex): Use asprintf.
23946
23947 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23948
23949         * debug/pcprofiledump.c (print_version): Update copyright year.
23950         * malloc/memusagestat.c (print_version): Likewise.
23951
23952 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23953
23954         [BZ #14831]
23955         * elf/Makefile (tests): Add tst-audit8.
23956         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23957         ($(objpfx)tst-audit8.out): New target.
23958         (tst-audit8-ENV): New variable.
23959         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23960         audit if l_reloc_result is NULL.
23961         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23962         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23963         * elf/tst-audit8.c: New file.
23964
23965 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23966
23967         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23968         * misc/Makefile (CFLAGS-select.c): Define.
23969         * posix/Makefile (CFLAGS-pause.c): Define.
23970
23971 2012-11-13  David S. Miller  <davem@davemloft.net>
23972
23973         * crypt/Makefile: Move test targets after toplevel Rules
23974         inclusion.  Grab any necessary sysdep routines when linking.
23975         * crypt/md5.c (md5_process_block): Remove define, we will always
23976         name it __md5_process_block.
23977         (md5_finish_ctx): Update md5_process_block call.
23978         (md5_stream): Likewise.
23979         (md5_process_bytes): Likewise.
23980         (md5_process_block): Rename to __md5_process_block and move to ...
23981         * crypt/md5-block.c: ... here.
23982         * crypt/sha256.c (sha256_process_block): Move to ...
23983         * crypt/sha256-block.c: ... here.
23984         * crypt/sha512.c (sha512_process_block): Move to ...
23985         * crypt/sha512-block.c: ... here.
23986         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23987         path.
23988         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23989         * sysdeps/sparc/sparc64/multiarch/Makefile
23990         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23991         crypt subdir.
23992         (localedef-aux): Add md5 crypto assembler when in locale subdir.
23993         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23994         multiarch changes.
23995         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23996         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23997         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23998         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23999         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24000         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24001         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24002         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24003         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24004         file.
24005         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24006         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24007         file.
24008         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24009
24010 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24011
24012         * timezone/tzselect.ksh: Update from tzcode git revision
24013         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24014         * timezone/zdump.c: Likewise.
24015         * timezone/zic.c: Likewise.
24016         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24017         in TZVERSION setting, not $(PKGVERSION).
24018         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24019         REPORT_BUGS_TO settings.
24020
24021         [BZ #14838]
24022         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24023         macro.
24024
24025 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24026
24027         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24028         detection to immediately after _FP_ROUND().
24029         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24030         bits are 0.
24031
24032 2012-11-11  David S. Miller  <davem@davemloft.net>
24033
24034         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24035         inttypes.h
24036         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24037         __close rather than their public counterparts.
24038
24039 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24040
24041         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24042         file.
24043         [UNIX98] (sem_timedwait): Do not expect.
24044         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24045         [XPG4 || UNIX98] (sockatmark): Do not expect.
24046         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24047         (clock_getcpuclockid): Do not expect.
24048         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24049         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24050         Do not expect.
24051         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24052         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24053         [UNIX98] (vwscanf): Likewise.
24054         [UNIX98] (vswscanf): Likewise.
24055
24056 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24057
24058         * timezone/version.h: Remove file.
24059         * timezone/README: Do not refer to version.h.
24060         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24061         $(objpfx)version.h.
24062         ($(objpfx)zdump.o): Likewise.
24063         ($(objpfx)version.h): New target.
24064
24065         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24066         2012i.
24067         * timezone/README: Don't mention modification to tzselect.ksh.
24068         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24069         work on unmodified tzselect.ksh.  Substitute version numbers in
24070         tzselect.ksh.
24071
24072         * Makefile (format-me): Remove.
24073         (INSTALL): Adjust indentation.  Use commands directly instead of
24074         using $(format-me).
24075
24076         * aclocal.m4 (ACX_PKGVERSION): New macro.
24077         (ACX_BUGURL): Likewise.
24078         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24079         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24080         (REPORT_BUGS_TO): Likewise.
24081         * configure: Regenerated.
24082         * config.h.in (PKGVERSION): New macro.
24083         (REPORT_BUGS_TO): Likewise.
24084         * config.make.in (PKGVERSION): New variable.
24085         (PKGVERSION_TEXI): Likewise.
24086         (REPORT_BUGS_TO): Likewise.
24087         (REPORT_BUGS_TEXI): Likewise.
24088         * Makefile (format-me): Use -I$(common-objpfx)manual.
24089         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24090         ($(common-objpfx)manual/%): New target.
24091         (manual/%): Remove target.
24092         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24093         (print_version): Use PKGVERSION.
24094         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24095         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24096         and REPORT_BUGS_TO.
24097         ($(objpfx)xtrace): Likewise.
24098         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24099         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24100         (print_version): Use PKGVERSION.
24101         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24102         (do_version): Use PKGVERSION.
24103         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24104         REPORT_BUGS_TO.
24105         (common-ldd-rewrite): Likewise.
24106         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24107         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24108         (print_version): Use PKGVERSION.
24109         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24110         * elf/pldd.c (argp_program_bug_address): Remove variable.
24111         (more_help): New function.
24112         (argp): Use more_help.
24113         (print_version): Use PKGVERSION.
24114         * elf/sln.c (main): Use PKGVERSION.
24115         (usage): Use REPORT_BUGS_TO.
24116         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24117         (top level): Use PKGVERSION.
24118         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24119         (print_version): Use PKGVERSION.
24120         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24121         (print_version): Use PKGVERSION.
24122         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24123         (print_version): Use PKGVERSION.
24124         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24125         (print_version): Use PKGVERSION.
24126         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24127         (print_version): Use PKGVERSION.
24128         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24129         (print_version): Use PKGVERSION.
24130         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24131         and BUGURL.
24132         ($(objpfx)memusage): Likewise.
24133         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24134         (do_version): Use PKGVERSION.
24135         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24136         (print_version): Use PKGVERSION.
24137         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24138         ($PKGVERSION): New variable.
24139         ($REPORT_BUGS_TO): Likewise.
24140         (usage): Use $REPORT_BUGS_TO.
24141         (top level): Use $PKGVERSION.
24142         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24143         ($(objpfx)pkgvers.texi): New rule.
24144         ($(objpfx)stamp-pkgvers): Likewise.
24145         * manual/install.texi: Include pkgvers.texi.
24146         (--with-pkgversion): Document new configure option.
24147         (--with-bugurl): Likewise.
24148         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24149         than necessarily for this particular distribution.  Use
24150         REPORT_BUGS_TO for where to report bugs.
24151         * INSTALL: Regenerated.
24152         * manual/libc.texinfo: Include pkgvers.texi.
24153         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24154         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24155         (print_version): Use PKGVERSION.
24156         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24157         (print_version): Use PKGVERSION.
24158         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24159         (print_version): Use PKGVERSION.
24160         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24161         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24162         macro.
24163         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24164         (print_version): Use PKGVERSION.
24165         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24166         (print_version): Use PKGVERSION.
24167         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24168         and PKGVERSION.
24169
24170         * timezone/checktab.awk: Update from tzcode 2012i.
24171         * timezone/ialloc.c: Likewise.
24172         * timezone/private.h: Likewise.
24173         * timezone/scheck.c: Likewise.
24174         * timezone/tzfile.h: Likewise.
24175         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24176         (TZVERSION): Hardcode tzcode version number.
24177         * timezone/zdump.c: Update from tzcode 2012i.
24178         * timezone/zic.c: Likewise.
24179         * timezone/version.h: New file.
24180         * timezone/README: Describe version.h.  Update upstream location.
24181
24182         [BZ #14824]
24183         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24184         (mktemp): Enable declaration.
24185         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24186         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24187         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24188         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24189         Likewise.
24190         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24191         Likewise.
24192         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24193         Likewise.
24194         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24195         Likewise.
24196         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24197         Likewise.
24198         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24199         Likewise.
24200
24201         [BZ #14821]
24202         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24203         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24204         for copies of such integer values.
24205         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24206         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24207
24208 2012-11-09  Andreas Jaeger  <aj@suse.de>
24209
24210         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24211         definitions and declarations that are provided by
24212         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24213
24214 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24215
24216         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24217         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24218         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24219         definition.
24220
24221 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24222
24223         * elf/elf.h: Update comment before AArch64 relocations.
24224
24225 2012-11-07  David S. Miller  <davem@davemloft.net>
24226
24227         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24228         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24229         (__start_context): Declare.
24230         (__makecontext_ret): Delete.
24231         (__makecontext): Hook up __start_context instead of
24232         __makecontext_ret.
24233         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24234         (sysdep_routines): Add __start_context when in stdlib.
24235
24236 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24237
24238         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24239         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24240         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24241         hardcoded "nm".
24242         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24243         (READELF): New variable.  Use it instead of hardcoded "readelf".
24244
24245 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24246
24247         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24248         * sysdeps/x86/Makefile: Here.
24249         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24250         * sysdeps/x86/tst-xmmymm.sh: This.
24251
24252 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24253
24254         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24255         expectations.
24256         [UNIX98] (pthread_barrier_t): Do not expect.
24257         [UNIX98] (pthread_barrierattr_t): Likewise.
24258         [UNIX98] (pthread_spinlock_t): Likewise.
24259         [UNIX98] (pthread_barrier_destroy): Likewise.
24260         [UNIX98] (pthread_barrier_init): Likewise.
24261         [UNIX98] (pthread_barrier_wait): Likewise.
24262         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24263         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24264         [UNIX98] (pthread_barrierattr_init): Likewise.
24265         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24266         [UNIX98] (pthread_getcpuclockid): Likewise.
24267         [UNIX98] (pthread_mutex_timedlock): Likewise.
24268         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24269         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24270         [UNIX98] (pthread_sigmask): Likewise.
24271         [UNIX98] (pthread_spin_destroy): Likewise.
24272         [UNIX98] (pthread_spin_init): Likewise.
24273         [UNIX98] (pthread_spin_lock): Likewise.
24274         [UNIX98] (pthread_spin_trylock): Likewise.
24275         [UNIX98] (pthread_spin_unlock): Likewise.
24276         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24277         Do not expect.
24278         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24279         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24280         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24281         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24282         [XPG3 || XPG4] (pthread_key_t): Likewise.
24283         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24284         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24285         [XPG3 || XPG4] (pthread_once_t): Likewise.
24286         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24287         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24288         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24289         [XPG3 || XPG4] (pthread_t): Likewise.
24290
24291         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24292         not expect.
24293         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24294
24295         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24296         Change function return type to int.
24297
24298         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24299         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24300         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24301         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24302         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24303         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24304         [!POSIX] (posix_madvise): Likewise.
24305         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24306         && !UNIX98].
24307         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24308         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24309         (mode_t): Likewise.
24310         (posix_mem_offset): Likewise.
24311         (posix_typed_mem_get_info): Likewise.
24312         (posix_typed_mem_open): Likewise.
24313
24314         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24315         Change condition to [XOPEN2K8].
24316
24317         * conform/conformtest.pl: Preprocess allow-header data with -x c
24318         instead of from stdin.
24319         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24320         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24321         [C99-based standards] (cerfc): Likewise.
24322         [C99-based standards] (cexp2): Likewise.
24323         [C99-based standards] (cexpm1): Likewise.
24324         [C99-based standards] (clog10): Likewise.
24325         [C99-based standards] (clog1p): Likewise.
24326         [C99-based standards] (clog2): Likewise.
24327         [C99-based standards] (clgamma): Likewise.
24328         [C99-based standards] (ctgamma): Likewise.
24329         [C99-based standards] (cerff): Likewise.
24330         [C99-based standards] (cerfcf): Likewise.
24331         [C99-based standards] (cexp2f): Likewise.
24332         [C99-based standards] (cexpm1f): Likewise.
24333         [C99-based standards] (clog10f): Likewise.
24334         [C99-based standards] (clog1pf): Likewise.
24335         [C99-based standards] (clog2f): Likewise.
24336         [C99-based standards] (clgammaf): Likewise.
24337         [C99-based standards] (ctgammaf): Likewise.
24338         [C99-based standards] (cerfl): Likewise.
24339         [C99-based standards] (cerfcl): Likewise.
24340         [C99-based standards] (cexp2l): Likewise.
24341         [C99-based standards] (cexpm1l): Likewise.
24342         [C99-based standards] (clog10l): Likewise.
24343         [C99-based standards] (clog1pl): Likewise.
24344         [C99-based standards] (clog2l): Likewise.
24345         [C99-based standards] (clgammal): Likewise.
24346         [C99-based standards] (ctgammal): Likewise.
24347         * conform/data/inttypes.h-data [C99-based standards]: Include
24348         stdint.h-data.  Remove all expectations for stdint.h contents.
24349         [C99-based standards] (PRI*): Do not allow.
24350         [C99-based standards] (SCN*): Likewise.
24351         [C99-based standards] (*_t): Likewise.
24352         [C99-based-standards] (PRId8): Expect macro.
24353         [C99-based-standards] (PRIi8): Likewise.
24354         [C99-based-standards] (PRIo8): Likewise.
24355         [C99-based-standards] (PRIu8): Likewise.
24356         [C99-based-standards] (PRIx8): Likewise.
24357         [C99-based-standards] (PRIX8): Likewise.
24358         [C99-based-standards] (SCNd8): Likewise.
24359         [C99-based-standards] (SCNi8): Likewise.
24360         [C99-based-standards] (SCNo8): Likewise.
24361         [C99-based-standards] (SCNu8): Likewise.
24362         [C99-based-standards] (SCNx8): Likewise.
24363         [C99-based-standards] (PRIdLEAST8): Likewise.
24364         [C99-based-standards] (PRIiLEAST8): Likewise.
24365         [C99-based-standards] (PRIoLEAST8): Likewise.
24366         [C99-based-standards] (PRIuLEAST8): Likewise.
24367         [C99-based-standards] (PRIxLEAST8): Likewise.
24368         [C99-based-standards] (PRIXLEAST8): Likewise.
24369         [C99-based-standards] (SCNdLEAST8): Likewise.
24370         [C99-based-standards] (SCNiLEAST8): Likewise.
24371         [C99-based-standards] (SCNoLEAST8): Likewise.
24372         [C99-based-standards] (SCNuLEAST8): Likewise.
24373         [C99-based-standards] (SCNxLEAST8): Likewise.
24374         [C99-based-standards] (PRIdFAST8): Likewise.
24375         [C99-based-standards] (PRIiFAST8): Likewise.
24376         [C99-based-standards] (PRIoFAST8): Likewise.
24377         [C99-based-standards] (PRIuFAST8): Likewise.
24378         [C99-based-standards] (PRIxFAST8): Likewise.
24379         [C99-based-standards] (PRIXFAST8): Likewise.
24380         [C99-based-standards] (SCNdFAST8): Likewise.
24381         [C99-based-standards] (SCNiFAST8): Likewise.
24382         [C99-based-standards] (SCNoFAST8): Likewise.
24383         [C99-based-standards] (SCNuFAST8): Likewise.
24384         [C99-based-standards] (SCNxFAST8): Likewise.
24385         [C99-based-standards] (PRId16): Likewise.
24386         [C99-based-standards] (PRIi16): Likewise.
24387         [C99-based-standards] (PRIo16): Likewise.
24388         [C99-based-standards] (PRIu16): Likewise.
24389         [C99-based-standards] (PRIx16): Likewise.
24390         [C99-based-standards] (PRIX16): Likewise.
24391         [C99-based-standards] (SCNd16): Likewise.
24392         [C99-based-standards] (SCNi16): Likewise.
24393         [C99-based-standards] (SCNo16): Likewise.
24394         [C99-based-standards] (SCNu16): Likewise.
24395         [C99-based-standards] (SCNx16): Likewise.
24396         [C99-based-standards] (PRIdLEAST16): Likewise.
24397         [C99-based-standards] (PRIiLEAST16): Likewise.
24398         [C99-based-standards] (PRIoLEAST16): Likewise.
24399         [C99-based-standards] (PRIuLEAST16): Likewise.
24400         [C99-based-standards] (PRIxLEAST16): Likewise.
24401         [C99-based-standards] (PRIXLEAST16): Likewise.
24402         [C99-based-standards] (SCNdLEAST16): Likewise.
24403         [C99-based-standards] (SCNiLEAST16): Likewise.
24404         [C99-based-standards] (SCNoLEAST16): Likewise.
24405         [C99-based-standards] (SCNuLEAST16): Likewise.
24406         [C99-based-standards] (SCNxLEAST16): Likewise.
24407         [C99-based-standards] (PRIdFAST16): Likewise.
24408         [C99-based-standards] (PRIiFAST16): Likewise.
24409         [C99-based-standards] (PRIoFAST16): Likewise.
24410         [C99-based-standards] (PRIuFAST16): Likewise.
24411         [C99-based-standards] (PRIxFAST16): Likewise.
24412         [C99-based-standards] (PRIXFAST16): Likewise.
24413         [C99-based-standards] (SCNdFAST16): Likewise.
24414         [C99-based-standards] (SCNiFAST16): Likewise.
24415         [C99-based-standards] (SCNoFAST16): Likewise.
24416         [C99-based-standards] (SCNuFAST16): Likewise.
24417         [C99-based-standards] (SCNxFAST16): Likewise.
24418         [C99-based-standards] (PRId32): Likewise.
24419         [C99-based-standards] (PRIi32): Likewise.
24420         [C99-based-standards] (PRIo32): Likewise.
24421         [C99-based-standards] (PRIu32): Likewise.
24422         [C99-based-standards] (PRIx32): Likewise.
24423         [C99-based-standards] (PRIX32): Likewise.
24424         [C99-based-standards] (SCNd32): Likewise.
24425         [C99-based-standards] (SCNi32): Likewise.
24426         [C99-based-standards] (SCNo32): Likewise.
24427         [C99-based-standards] (SCNu32): Likewise.
24428         [C99-based-standards] (SCNx32): Likewise.
24429         [C99-based-standards] (PRIdLEAST32): Likewise.
24430         [C99-based-standards] (PRIiLEAST32): Likewise.
24431         [C99-based-standards] (PRIoLEAST32): Likewise.
24432         [C99-based-standards] (PRIuLEAST32): Likewise.
24433         [C99-based-standards] (PRIxLEAST32): Likewise.
24434         [C99-based-standards] (PRIXLEAST32): Likewise.
24435         [C99-based-standards] (SCNdLEAST32): Likewise.
24436         [C99-based-standards] (SCNiLEAST32): Likewise.
24437         [C99-based-standards] (SCNoLEAST32): Likewise.
24438         [C99-based-standards] (SCNuLEAST32): Likewise.
24439         [C99-based-standards] (SCNxLEAST32): Likewise.
24440         [C99-based-standards] (PRIdFAST32): Likewise.
24441         [C99-based-standards] (PRIiFAST32): Likewise.
24442         [C99-based-standards] (PRIoFAST32): Likewise.
24443         [C99-based-standards] (PRIuFAST32): Likewise.
24444         [C99-based-standards] (PRIxFAST32): Likewise.
24445         [C99-based-standards] (PRIXFAST32): Likewise.
24446         [C99-based-standards] (SCNdFAST32): Likewise.
24447         [C99-based-standards] (SCNiFAST32): Likewise.
24448         [C99-based-standards] (SCNoFAST32): Likewise.
24449         [C99-based-standards] (SCNuFAST32): Likewise.
24450         [C99-based-standards] (SCNxFAST32): Likewise.
24451         [C99-based-standards] (PRId64): Likewise.
24452         [C99-based-standards] (PRIi64): Likewise.
24453         [C99-based-standards] (PRIo64): Likewise.
24454         [C99-based-standards] (PRIu64): Likewise.
24455         [C99-based-standards] (PRIx64): Likewise.
24456         [C99-based-standards] (PRIX64): Likewise.
24457         [C99-based-standards] (SCNd64): Likewise.
24458         [C99-based-standards] (SCNi64): Likewise.
24459         [C99-based-standards] (SCNo64): Likewise.
24460         [C99-based-standards] (SCNu64): Likewise.
24461         [C99-based-standards] (SCNx64): Likewise.
24462         [C99-based-standards] (PRIdLEAST64): Likewise.
24463         [C99-based-standards] (PRIiLEAST64): Likewise.
24464         [C99-based-standards] (PRIoLEAST64): Likewise.
24465         [C99-based-standards] (PRIuLEAST64): Likewise.
24466         [C99-based-standards] (PRIxLEAST64): Likewise.
24467         [C99-based-standards] (PRIXLEAST64): Likewise.
24468         [C99-based-standards] (SCNdLEAST64): Likewise.
24469         [C99-based-standards] (SCNiLEAST64): Likewise.
24470         [C99-based-standards] (SCNoLEAST64): Likewise.
24471         [C99-based-standards] (SCNuLEAST64): Likewise.
24472         [C99-based-standards] (SCNxLEAST64): Likewise.
24473         [C99-based-standards] (PRIdFAST64): Likewise.
24474         [C99-based-standards] (PRIiFAST64): Likewise.
24475         [C99-based-standards] (PRIoFAST64): Likewise.
24476         [C99-based-standards] (PRIuFAST64): Likewise.
24477         [C99-based-standards] (PRIxFAST64): Likewise.
24478         [C99-based-standards] (PRIXFAST64): Likewise.
24479         [C99-based-standards] (SCNdFAST64): Likewise.
24480         [C99-based-standards] (SCNiFAST64): Likewise.
24481         [C99-based-standards] (SCNoFAST64): Likewise.
24482         [C99-based-standards] (SCNuFAST64): Likewise.
24483         [C99-based-standards] (SCNxFAST64): Likewise.
24484         [C99-based-standards] (PRIdMAX): Likewise.
24485         [C99-based-standards] (PRIiMAX): Likewise.
24486         [C99-based-standards] (PRIoMAX): Likewise.
24487         [C99-based-standards] (PRIuMAX): Likewise.
24488         [C99-based-standards] (PRIxMAX): Likewise.
24489         [C99-based-standards] (PRIXMAX): Likewise.
24490         [C99-based-standards] (SCNdMAX): Likewise.
24491         [C99-based-standards] (SCNiMAX): Likewise.
24492         [C99-based-standards] (SCNoMAX): Likewise.
24493         [C99-based-standards] (SCNuMAX): Likewise.
24494         [C99-based-standards] (SCNxMAX): Likewise.
24495         [C99-based-standards] (PRIdPTR): Likewise.
24496         [C99-based-standards] (PRIiPTR): Likewise.
24497         [C99-based-standards] (PRIoPTR): Likewise.
24498         [C99-based-standards] (PRIuPTR): Likewise.
24499         [C99-based-standards] (PRIxPTR): Likewise.
24500         [C99-based-standards] (PRIXPTR): Likewise.
24501         [C99-based-standards] (SCNdPTR): Likewise.
24502         [C99-based-standards] (SCNiPTR): Likewise.
24503         [C99-based-standards] (SCNoPTR): Likewise.
24504         [C99-based-standards] (SCNuPTR): Likewise.
24505         [C99-based-standards] (SCNxPTR): Likewise.
24506         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24507         allow.
24508         * conform/data/stdint.h-data: Update comments to clarify
24509         requirements.
24510         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24511         type.
24512         [C99-based standards] (INT8_MAX): Likewise.
24513         [C99-based standards] (INT16_MIN): Likewise.
24514         [C99-based standards] (INT16_MAX): Likewise.
24515         [C99-based standards] (INT32_MIN): Likewise.
24516         [C99-based standards] (INT32_MAX): Likewise.
24517         [C99-based standards] (INT64_MIN): Likewise.
24518         [C99-based standards] (INT64_MAX): Likewise.
24519         [C99-based standards] (UINT8_MAX): Likewise.
24520         [C99-based standards] (UINT16_MAX): Likewise.
24521         [C99-based standards] (UINT32_MAX): Likewise.
24522         [C99-based standards] (UINT64_MAX): Likewise.
24523         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24524         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24525         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24526         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24527         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24528         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24529         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24530         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24531         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24532         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24533         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24534         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24535         [C99-based standards] (INT_FAST8_MIN): Likewise.
24536         [C99-based standards] (INT_FAST8_MAX): Likewise.
24537         [C99-based standards] (INT_FAST16_MIN): Likewise.
24538         [C99-based standards] (INT_FAST16_MAX): Likewise.
24539         [C99-based standards] (INT_FAST32_MIN): Likewise.
24540         [C99-based standards] (INT_FAST32_MAX): Likewise.
24541         [C99-based standards] (INT_FAST64_MIN): Likewise.
24542         [C99-based standards] (INT_FAST64_MAX): Likewise.
24543         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24544         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24545         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24546         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24547         [C99-based standards] (INTPTR_MIN): Likewise.
24548         [C99-based standards] (INTPTR_MAX): Likewise.
24549         [C99-based standards] (UINTPTR_MAX): Likewise.
24550         [C99-based standards] (INTMAX_MIN): Likewise.
24551         [C99-based standards] (INTMAX_MAX): Likewise.
24552         [C99-based standards] (UINTMAX_MAX): Likewise.
24553         [C99-based standards] (PTRDIFF_MIN): Likewise.
24554         [C99-based standards] (PTRDIFF_MAX): Likewise.
24555         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24556         [C99-based standards] (SIZE_MAX): Likewise.
24557         [C99-based standards] (WCHAR_MAX): Likewise.
24558         [C99-based standards] (WINT_MAX): Likewise.
24559         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24560         constraint on value.
24561         [C99-based standards] (WCHAR_MIN): Likewise.
24562         [C99-based standards] (WINT_MIN): Likewise.
24563         [C99-based standards] (*_t): Allow.
24564         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24565         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24566         Include math.h-data and complex.h-data.  Remove all expectations
24567         of math.h and complex.h contents.
24568         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24569         at end of line.
24570         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24571         (struct tm): Expect tag.
24572         [C99-based-standards] (wcstof): Expect function.
24573         [C99-based-standards] (wcstold): Likewise.
24574         [C99-based-standards] (wcstoll): Likewise.
24575         [C99-based-standards] (wcstoull): Likewise.
24576         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24577         macro-int-constant.  Specify type.
24578         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24579         constraint on value.
24580         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24581         Specify type.
24582         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24583         Specify value.
24584         [ISO C standards]: Do not allow headers.
24585         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24586         wcs[abcdefghijklmnopqrstuvwxyz]*.
24587         [ISO C standards] (*_t): Do not allow.
24588         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24589         Expect function.
24590         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24591         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24592         Specify type.
24593         [ISO C standards]: Do not allow headers.
24594         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24595         is[abcdefghijklmnopqrstuvwxyz]*.
24596         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24597         to[abcdefghijklmnopqrstuvwxyz]*.
24598         [ISO C standards] (*_t): Do not allow.
24599         * conform/data/stdalign.h-data: New file.
24600         * conform/data/stdbool.h-data: Likewise.
24601         * conform/data/stdnoreturn.h-data: Likewise.
24602
24603 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24604
24605         [BZ #14815]
24606         * manual/filesys.texi (Directory Entries): Typo fix.
24607         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24608
24609 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24610
24611         * elf/elf.h (EM_AARCH64): New macro.
24612         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24613         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24614         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24615         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24616         (R_AARCH64_TLSDESC): Likewise.
24617         (NT_ARM_TLS): Likewise.
24618         (NT_ARM_HW_BREAK): Likewise.
24619         (NT_ARM_HW_WATCH): Likewise.
24620
24621 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24622
24623         [BZ #14811]
24624         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24625         (__ieee754_powl): Saturate nonzero exponents with absolute value
24626         below 0x1p-79 to +/- 0x1p-79.
24627         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24628         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24629         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24630         nonzero exponents with absolute value below 0x1p-32 to +/-
24631         0x1p-32.
24632         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24633         (__ieee754_powl): Saturate nonzero exponents with absolute value
24634         below 0x1p-79 to +/- 0x1p-79.
24635         * math/libm-test.inc (pow_test): Add more tests.
24636
24637 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24638
24639         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24640         _dl_s390_cap_flags with kernel. Increase string length.
24641         (_dl_s390_platforms): Add z196 and zEC12.
24642
24643 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24644
24645         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24646         Change XOPEN21K to XOPEN2K.
24647
24648 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24649
24650         * string/memmove.c: Use memcpy when possible.
24651
24652 2012-11-06  Andreas Jaeger  <aj@suse.de>
24653
24654         * po/eo.po: Update from translation team.
24655
24656 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24657
24658         [BZ #14793]
24659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24660         exponent and small x and y exponents, scale x or y up.  Increase
24661         by 2 the exponent used in scaling up.
24662         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24663         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24664         * math/libm-test.inc (fma_test): Add more tests.
24665         (fma_test_towardzero): Likewise.
24666         (fma_test_downward): Likewise.
24667         (fma_test_upward): Likewise.
24668
24669 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24670
24671         [BZ #14805]
24672         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24673         fenv_t *.
24674
24675         [BZ #14801]
24676         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24677         namespace for names of struct fields.
24678         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24679         fenv_t fields.
24680         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24681         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24682
24683 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24684
24685         [BZ #3665]
24686         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24687
24688 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24689
24690         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24691         PTR_DEMANGLE.
24692
24693         [BZ #5246]
24694         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24695         PTR_DEMANGLE.
24696
24697 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24698
24699         [BZ #14797]
24700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24701         definitely overflow as x * y not x * y + z.
24702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24704         * math/libm-test.inc (fma_test): Add more tests.
24705         (fma_test_towardzero): Likewise.
24706         (fma_test_downward): Likewise.
24707         (fma_test_upward): Likewise.
24708
24709 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24710
24711         [BZ #157]
24712
24713         * include/stub-tag.h: Remove file.
24714         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24715         '#include' of it.
24716         * manual/maint.texi (Porting): Don't reference it.
24717         * Makerules ($(objpfx)stubs): Likewise.
24718         * dirent/closedir.c: Don't include <stub-tag.h>.
24719         * dirent/dirfd.c: Likewise.
24720         * dirent/fdopendir.c: Likewise.
24721         * dirent/getdents.c: Likewise.
24722         * dirent/getdents64.c: Likewise.
24723         * dirent/opendir.c: Likewise.
24724         * dirent/readdir.c: Likewise.
24725         * dirent/readdir64.c: Likewise.
24726         * dirent/readdir64_r.c: Likewise.
24727         * dirent/readdir_r.c: Likewise.
24728         * dirent/rewinddir.c: Likewise.
24729         * dirent/seekdir.c: Likewise.
24730         * dirent/telldir.c: Likewise.
24731         * gmon/profil.c: Likewise.
24732         * grp/setgroups.c: Likewise.
24733         * inet/if_index.c: Likewise.
24734         * io/access.c: Likewise.
24735         * io/chdir.c: Likewise.
24736         * io/chmod.c: Likewise.
24737         * io/chown.c: Likewise.
24738         * io/close.c: Likewise.
24739         * io/dup.c: Likewise.
24740         * io/dup2.c: Likewise.
24741         * io/dup3.c: Likewise.
24742         * io/euidaccess.c: Likewise.
24743         * io/faccessat.c: Likewise.
24744         * io/fchdir.c: Likewise.
24745         * io/fchmod.c: Likewise.
24746         * io/fchmodat.c: Likewise.
24747         * io/fchown.c: Likewise.
24748         * io/fchownat.c: Likewise.
24749         * io/fcntl.c: Likewise.
24750         * io/flock.c: Likewise.
24751         * io/fstatfs.c: Likewise.
24752         * io/fstatfs64.c: Likewise.
24753         * io/fstatvfs.c: Likewise.
24754         * io/fstatvfs64.c: Likewise.
24755         * io/futimens.c: Likewise.
24756         * io/fxstat.c: Likewise.
24757         * io/fxstat64.c: Likewise.
24758         * io/fxstatat.c: Likewise.
24759         * io/fxstatat64.c: Likewise.
24760         * io/getcwd.c: Likewise.
24761         * io/isatty.c: Likewise.
24762         * io/lchmod.c: Likewise.
24763         * io/lchown.c: Likewise.
24764         * io/link.c: Likewise.
24765         * io/linkat.c: Likewise.
24766         * io/lseek.c: Likewise.
24767         * io/lseek64.c: Likewise.
24768         * io/lxstat64.c: Likewise.
24769         * io/mkdir.c: Likewise.
24770         * io/mkdirat.c: Likewise.
24771         * io/mkfifo.c: Likewise.
24772         * io/mkfifoat.c: Likewise.
24773         * io/open.c: Likewise.
24774         * io/open64.c: Likewise.
24775         * io/openat.c: Likewise.
24776         * io/openat64.c: Likewise.
24777         * io/pipe.c: Likewise.
24778         * io/pipe2.c: Likewise.
24779         * io/poll.c: Likewise.
24780         * io/posix_fadvise.c: Likewise.
24781         * io/posix_fadvise64.c: Likewise.
24782         * io/posix_fallocate.c: Likewise.
24783         * io/posix_fallocate64.c: Likewise.
24784         * io/read.c: Likewise.
24785         * io/readlink.c: Likewise.
24786         * io/readlinkat.c: Likewise.
24787         * io/rmdir.c: Likewise.
24788         * io/sendfile.c: Likewise.
24789         * io/sendfile64.c: Likewise.
24790         * io/statfs.c: Likewise.
24791         * io/statfs64.c: Likewise.
24792         * io/statvfs.c: Likewise.
24793         * io/statvfs64.c: Likewise.
24794         * io/symlink.c: Likewise.
24795         * io/symlinkat.c: Likewise.
24796         * io/ttyname.c: Likewise.
24797         * io/ttyname_r.c: Likewise.
24798         * io/umask.c: Likewise.
24799         * io/unlink.c: Likewise.
24800         * io/unlinkat.c: Likewise.
24801         * io/utime.c: Likewise.
24802         * io/utimensat.c: Likewise.
24803         * io/write.c: Likewise.
24804         * io/xmknod.c: Likewise.
24805         * io/xmknodat.c: Likewise.
24806         * io/xstat.c: Likewise.
24807         * io/xstat64.c: Likewise.
24808         * login/getpt.c: Likewise.
24809         * login/grantpt.c: Likewise.
24810         * login/unlockpt.c: Likewise.
24811         * math/e_acoshl.c: Likewise.
24812         * math/e_acosl.c: Likewise.
24813         * math/e_asinl.c: Likewise.
24814         * math/e_atan2l.c: Likewise.
24815         * math/e_atanhl.c: Likewise.
24816         * math/e_coshl.c: Likewise.
24817         * math/e_expl.c: Likewise.
24818         * math/e_fmodl.c: Likewise.
24819         * math/e_gammal_r.c: Likewise.
24820         * math/e_hypotl.c: Likewise.
24821         * math/e_j0l.c: Likewise.
24822         * math/e_j1l.c: Likewise.
24823         * math/e_jnl.c: Likewise.
24824         * math/e_lgammal_r.c: Likewise.
24825         * math/e_log10l.c: Likewise.
24826         * math/e_log2l.c: Likewise.
24827         * math/e_logl.c: Likewise.
24828         * math/e_powl.c: Likewise.
24829         * math/e_rem_pio2l.c: Likewise.
24830         * math/e_sinhl.c: Likewise.
24831         * math/e_sqrtl.c: Likewise.
24832         * math/fclrexcpt.c: Likewise.
24833         * math/fedisblxcpt.c: Likewise.
24834         * math/feenablxcpt.c: Likewise.
24835         * math/fegetenv.c: Likewise.
24836         * math/fegetexcept.c: Likewise.
24837         * math/fegetround.c: Likewise.
24838         * math/feholdexcpt.c: Likewise.
24839         * math/fesetenv.c: Likewise.
24840         * math/fesetround.c: Likewise.
24841         * math/feupdateenv.c: Likewise.
24842         * math/fgetexcptflg.c: Likewise.
24843         * math/fraiseexcpt.c: Likewise.
24844         * math/fsetexcptflg.c: Likewise.
24845         * math/ftestexcept.c: Likewise.
24846         * math/k_cosl.c: Likewise.
24847         * math/k_rem_pio2l.c: Likewise.
24848         * math/k_sinl.c: Likewise.
24849         * math/k_tanl.c: Likewise.
24850         * math/s_asinhl.c: Likewise.
24851         * math/s_atanl.c: Likewise.
24852         * math/s_cbrtl.c: Likewise.
24853         * math/s_erfl.c: Likewise.
24854         * math/s_expm1l.c: Likewise.
24855         * math/s_log1pl.c: Likewise.
24856         * math/s_tanhl.c: Likewise.
24857         * misc/acct.c: Likewise.
24858         * misc/brk.c: Likewise.
24859         * misc/chflags.c: Likewise.
24860         * misc/chroot.c: Likewise.
24861         * misc/fchflags.c: Likewise.
24862         * misc/fgetxattr.c: Likewise.
24863         * misc/flistxattr.c: Likewise.
24864         * misc/fremovexattr.c: Likewise.
24865         * misc/fsetxattr.c: Likewise.
24866         * misc/fsync.c: Likewise.
24867         * misc/ftruncate.c: Likewise.
24868         * misc/futimes.c: Likewise.
24869         * misc/futimesat.c: Likewise.
24870         * misc/getdomain.c: Likewise.
24871         * misc/getdtsz.c: Likewise.
24872         * misc/gethostid.c: Likewise.
24873         * misc/gethostname.c: Likewise.
24874         * misc/getloadavg.c: Likewise.
24875         * misc/getpagesize.c: Likewise.
24876         * misc/getsysstats.c: Likewise.
24877         * misc/getxattr.c: Likewise.
24878         * misc/gtty.c: Likewise.
24879         * misc/ioctl.c: Likewise.
24880         * misc/lgetxattr.c: Likewise.
24881         * misc/listxattr.c: Likewise.
24882         * misc/llistxattr.c: Likewise.
24883         * misc/lremovexattr.c: Likewise.
24884         * misc/lsetxattr.c: Likewise.
24885         * misc/lutimes.c: Likewise.
24886         * misc/madvise.c: Likewise.
24887         * misc/mincore.c: Likewise.
24888         * misc/mlock.c: Likewise.
24889         * misc/mlockall.c: Likewise.
24890         * misc/mmap.c: Likewise.
24891         * misc/mprotect.c: Likewise.
24892         * misc/msync.c: Likewise.
24893         * misc/munlock.c: Likewise.
24894         * misc/munlockall.c: Likewise.
24895         * misc/munmap.c: Likewise.
24896         * misc/preadv.c: Likewise.
24897         * misc/preadv64.c: Likewise.
24898         * misc/ptrace.c: Likewise.
24899         * misc/pwritev.c: Likewise.
24900         * misc/pwritev64.c: Likewise.
24901         * misc/readv.c: Likewise.
24902         * misc/reboot.c: Likewise.
24903         * misc/remap_file_pages.c: Likewise.
24904         * misc/removexattr.c: Likewise.
24905         * misc/revoke.c: Likewise.
24906         * misc/select.c: Likewise.
24907         * misc/setdomain.c: Likewise.
24908         * misc/setegid.c: Likewise.
24909         * misc/seteuid.c: Likewise.
24910         * misc/sethostid.c: Likewise.
24911         * misc/sethostname.c: Likewise.
24912         * misc/setregid.c: Likewise.
24913         * misc/setreuid.c: Likewise.
24914         * misc/setxattr.c: Likewise.
24915         * misc/sstk.c: Likewise.
24916         * misc/stty.c: Likewise.
24917         * misc/swapoff.c: Likewise.
24918         * misc/swapon.c: Likewise.
24919         * misc/sync.c: Likewise.
24920         * misc/syncfs.c: Likewise.
24921         * misc/syscall.c: Likewise.
24922         * misc/truncate.c: Likewise.
24923         * misc/ualarm.c: Likewise.
24924         * misc/usleep.c: Likewise.
24925         * misc/ustat.c: Likewise.
24926         * misc/utimes.c: Likewise.
24927         * misc/vhangup.c: Likewise.
24928         * misc/writev.c: Likewise.
24929         * posix/_exit.c: Likewise.
24930         * posix/alarm.c: Likewise.
24931         * posix/execve.c: Likewise.
24932         * posix/fexecve.c: Likewise.
24933         * posix/fork.c: Likewise.
24934         * posix/fpathconf.c: Likewise.
24935         * posix/getaddrinfo.c: Likewise.
24936         * posix/getegid.c: Likewise.
24937         * posix/geteuid.c: Likewise.
24938         * posix/getgid.c: Likewise.
24939         * posix/getgroups.c: Likewise.
24940         * posix/getlogin.c: Likewise.
24941         * posix/getlogin_r.c: Likewise.
24942         * posix/getpgid.c: Likewise.
24943         * posix/getpid.c: Likewise.
24944         * posix/getppid.c: Likewise.
24945         * posix/getresgid.c: Likewise.
24946         * posix/getresuid.c: Likewise.
24947         * posix/getsid.c: Likewise.
24948         * posix/getuid.c: Likewise.
24949         * posix/glob64.c: Likewise.
24950         * posix/nanosleep.c: Likewise.
24951         * posix/pathconf.c: Likewise.
24952         * posix/pause.c: Likewise.
24953         * posix/posix_madvise.c: Likewise.
24954         * posix/pread.c: Likewise.
24955         * posix/pread64.c: Likewise.
24956         * posix/pwrite.c: Likewise.
24957         * posix/pwrite64.c: Likewise.
24958         * posix/sched_getaffinity.c: Likewise.
24959         * posix/sched_getp.c: Likewise.
24960         * posix/sched_gets.c: Likewise.
24961         * posix/sched_primax.c: Likewise.
24962         * posix/sched_primin.c: Likewise.
24963         * posix/sched_rr_gi.c: Likewise.
24964         * posix/sched_setaffinity.c: Likewise.
24965         * posix/sched_setp.c: Likewise.
24966         * posix/sched_sets.c: Likewise.
24967         * posix/sched_yield.c: Likewise.
24968         * posix/setgid.c: Likewise.
24969         * posix/setlogin.c: Likewise.
24970         * posix/setpgid.c: Likewise.
24971         * posix/setresgid.c: Likewise.
24972         * posix/setresuid.c: Likewise.
24973         * posix/setsid.c: Likewise.
24974         * posix/setuid.c: Likewise.
24975         * posix/sleep.c: Likewise.
24976         * posix/spawni.c: Likewise.
24977         * posix/sysconf.c: Likewise.
24978         * posix/times.c: Likewise.
24979         * posix/wait.c: Likewise.
24980         * posix/wait3.c: Likewise.
24981         * posix/wait4.c: Likewise.
24982         * posix/waitpid.c: Likewise.
24983         * resolv/gai_sigqueue.c: Likewise.
24984         * resource/getpriority.c: Likewise.
24985         * resource/getrlimit.c: Likewise.
24986         * resource/getrusage.c: Likewise.
24987         * resource/nice.c: Likewise.
24988         * resource/setpriority.c: Likewise.
24989         * resource/setrlimit.c: Likewise.
24990         * resource/ulimit.c: Likewise.
24991         * rt/aio_cancel.c: Likewise.
24992         * rt/aio_fsync.c: Likewise.
24993         * rt/aio_read.c: Likewise.
24994         * rt/aio_sigqueue.c: Likewise.
24995         * rt/aio_suspend.c: Likewise.
24996         * rt/aio_write.c: Likewise.
24997         * rt/clock_getres.c: Likewise.
24998         * rt/clock_gettime.c: Likewise.
24999         * rt/clock_nanosleep.c: Likewise.
25000         * rt/clock_settime.c: Likewise.
25001         * rt/lio_listio.c: Likewise.
25002         * rt/mq_close.c: Likewise.
25003         * rt/mq_getattr.c: Likewise.
25004         * rt/mq_notify.c: Likewise.
25005         * rt/mq_open.c: Likewise.
25006         * rt/mq_receive.c: Likewise.
25007         * rt/mq_send.c: Likewise.
25008         * rt/mq_setattr.c: Likewise.
25009         * rt/mq_timedreceive.c: Likewise.
25010         * rt/mq_timedsend.c: Likewise.
25011         * rt/mq_unlink.c: Likewise.
25012         * rt/shm_open.c: Likewise.
25013         * rt/shm_unlink.c: Likewise.
25014         * rt/timer_create.c: Likewise.
25015         * rt/timer_delete.c: Likewise.
25016         * rt/timer_getoverr.c: Likewise.
25017         * rt/timer_gettime.c: Likewise.
25018         * rt/timer_settime.c: Likewise.
25019         * setjmp/__longjmp.c: Likewise.
25020         * setjmp/setjmp.c: Likewise.
25021         * signal/kill.c: Likewise.
25022         * signal/killpg.c: Likewise.
25023         * signal/raise.c: Likewise.
25024         * signal/sigaction.c: Likewise.
25025         * signal/sigaltstack.c: Likewise.
25026         * signal/sigblock.c: Likewise.
25027         * signal/sigignore.c: Likewise.
25028         * signal/sigintr.c: Likewise.
25029         * signal/signal.c: Likewise.
25030         * signal/sigpause.c: Likewise.
25031         * signal/sigpending.c: Likewise.
25032         * signal/sigqueue.c: Likewise.
25033         * signal/sigreturn.c: Likewise.
25034         * signal/sigset.c: Likewise.
25035         * signal/sigsetmask.c: Likewise.
25036         * signal/sigstack.c: Likewise.
25037         * signal/sigsuspend.c: Likewise.
25038         * signal/sigtimedwait.c: Likewise.
25039         * signal/sigvec.c: Likewise.
25040         * signal/sigwait.c: Likewise.
25041         * signal/sigwaitinfo.c: Likewise.
25042         * signal/sysv_signal.c: Likewise.
25043         * socket/accept.c: Likewise.
25044         * socket/accept4.c: Likewise.
25045         * socket/bind.c: Likewise.
25046         * socket/connect.c: Likewise.
25047         * socket/getpeername.c: Likewise.
25048         * socket/getsockname.c: Likewise.
25049         * socket/getsockopt.c: Likewise.
25050         * socket/isfdtype.c: Likewise.
25051         * socket/listen.c: Likewise.
25052         * socket/recv.c: Likewise.
25053         * socket/recvfrom.c: Likewise.
25054         * socket/recvmsg.c: Likewise.
25055         * socket/send.c: Likewise.
25056         * socket/sendmsg.c: Likewise.
25057         * socket/sendto.c: Likewise.
25058         * socket/setsockopt.c: Likewise.
25059         * socket/shutdown.c: Likewise.
25060         * socket/sockatmark.c: Likewise.
25061         * socket/socket.c: Likewise.
25062         * socket/socketpair.c: Likewise.
25063         * stdio-common/ctermid.c: Likewise.
25064         * stdio-common/cuserid.c: Likewise.
25065         * stdio-common/remove.c: Likewise.
25066         * stdio-common/rename.c: Likewise.
25067         * stdio-common/renameat.c: Likewise.
25068         * stdio-common/tempname.c: Likewise.
25069         * stdlib/getcontext.c: Likewise.
25070         * stdlib/makecontext.c: Likewise.
25071         * stdlib/setcontext.c: Likewise.
25072         * stdlib/swapcontext.c: Likewise.
25073         * stdlib/system.c: Likewise.
25074         * streams/fattach.c: Likewise.
25075         * streams/fdetach.c: Likewise.
25076         * streams/getmsg.c: Likewise.
25077         * streams/getpmsg.c: Likewise.
25078         * streams/putmsg.c: Likewise.
25079         * streams/putpmsg.c: Likewise.
25080         * sysdeps/unix/bsd/getpt.c: Likewise.
25081         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25082         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25083         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25085         Likewise.
25086         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25087         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25088         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25089         * sysvipc/msgctl.c: Likewise.
25090         * sysvipc/msgget.c: Likewise.
25091         * sysvipc/msgrcv.c: Likewise.
25092         * sysvipc/msgsnd.c: Likewise.
25093         * sysvipc/semctl.c: Likewise.
25094         * sysvipc/semget.c: Likewise.
25095         * sysvipc/semop.c: Likewise.
25096         * sysvipc/semtimedop.c: Likewise.
25097         * sysvipc/shmat.c: Likewise.
25098         * sysvipc/shmctl.c: Likewise.
25099         * sysvipc/shmdt.c: Likewise.
25100         * sysvipc/shmget.c: Likewise.
25101         * termios/tcdrain.c: Likewise.
25102         * termios/tcflow.c: Likewise.
25103         * termios/tcflush.c: Likewise.
25104         * termios/tcgetattr.c: Likewise.
25105         * termios/tcgetpgrp.c: Likewise.
25106         * termios/tcsendbrk.c: Likewise.
25107         * termios/tcsetattr.c: Likewise.
25108         * termios/tcsetpgrp.c: Likewise.
25109         * time/adjtime.c: Likewise.
25110         * time/clock.c: Likewise.
25111         * time/getitimer.c: Likewise.
25112         * time/gettimeofday.c: Likewise.
25113         * time/setitimer.c: Likewise.
25114         * time/settimeofday.c: Likewise.
25115         * time/stime.c: Likewise.
25116         * time/time.c: Likewise.
25117
25118 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25119
25120         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25121         /usr/old/bin.
25122
25123         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25124         instead of spaces.
25125         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25126
25127 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25128
25129         [BZ #14796]
25130         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25131         FE_TONEAREST before applying Dekker multiplication and Knuth
25132         addition.  Clear inexact exceptions and check for exact zero
25133         results afterwards.
25134         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25135         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25136         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25137         * math/libm-test.inc (fma_test): Add more tests.
25138         (fma_test_towardzero): Likewise.
25139         (fma_test_downward): Likewise.
25140         (fma_test_upward): Likewise.
25141         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25142         function.
25143         (libc_fesetround): New macro.
25144         (libc_fesetroundf): Likewise.
25145         (libc_fesetroundl): Likewise.
25146         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25147         function.
25148         (libc_fesetround_387): Likewise.
25149         (libc_fesetroundf): New macro.
25150         (libc_fesetround): Likewise.
25151         (libc_fesetroundl): Likewise.
25152         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25153         function.
25154         (libc_fesetroundf): New macro.
25155         (libc_fesetround): Likewise.
25156         (libc_fesetroundl): Likewise.
25157         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25158         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25159         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25160         libm_hidden_ver.
25161         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25162         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25163         libm_hidden_def.
25164         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25165         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25166         libm_hidden_ver.
25167         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25168         libm_hidden_def.
25169
25170         [BZ #3439]
25171         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25172         integer constant usable in #if and use that to give value to enum
25173         constant.
25174         (FE_DIVBYZERO): Likewise.
25175         (FE_UNDERFLOW): Likewise.
25176         (FE_OVERFLOW): Likewise.
25177         (FE_INVALID): Likewise.
25178         (FE_INVALID_SNAN): Likewise.
25179         (FE_INVALID_ISI): Likewise.
25180         (FE_INVALID_IDI): Likewise.
25181         (FE_INVALID_ZDZ): Likewise.
25182         (FE_INVALID_IMZ): Likewise.
25183         (FE_INVALID_COMPARE): Likewise.
25184         (FE_INVALID_SOFTWARE): Likewise.
25185         (FE_INVALID_SQRT): Likewise.
25186         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25187         (FE_TONEAREST): Likewise.
25188         (FE_TOWARDZERO): Likewise.
25189         (FE_UPWARD): Likewise.
25190         (FE_DOWNWARD): Likewise.
25191         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25192         (FE_DIVBYZERO): Likewise.
25193         (FE_OVERFLOW): Likewise.
25194         (FE_UNDERFLOW): Likewise.
25195         (FE_INEXACT): Likewise.
25196         (FE_TONEAREST): Likewise.
25197         (FE_DOWNWARD): Likewise.
25198         (FE_UPWARD): Likewise.
25199         (FE_TOWARDZERO): Likewise.
25200         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25201         (FE_UNDERFLOW): Likewise.
25202         (FE_OVERFLOW): Likewise.
25203         (FE_DIVBYZERO): Likewise.
25204         (FE_INVALID): Likewise.
25205         (FE_TONEAREST): Likewise.
25206         (FE_TOWARDZERO): Likewise.
25207         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25208         (FE_OVERFLOW): Likewise.
25209         (FE_UNDERFLOW): Likewise.
25210         (FE_DIVBYZERO): Likewise.
25211         (FE_INEXACT): Likewise.
25212         (FE_TONEAREST): Likewise.
25213         (FE_TOWARDZERO): Likewise.
25214         (FE_UPWARD): Likewise.
25215         (FE_DOWNWARD): Likewise.
25216         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25217         (FE_DIVBYZERO): Likewise.
25218         (FE_OVERFLOW): Likewise.
25219         (FE_UNDERFLOW): Likewise.
25220         (FE_INEXACT): Likewise.
25221         (FE_TONEAREST): Likewise.
25222         (FE_DOWNWARD): Likewise.
25223         (FE_UPWARD): Likewise.
25224         (FE_TOWARDZERO): Likewise.
25225
25226 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25227
25228         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25229
25230 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25231
25232         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25233         commands.  Quote $PWD.
25234         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25235         -x" by "export".
25236         (remove_newlines): Remove.
25237
25238 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25239
25240         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25241         * stdlib/stdlib.h (atof): Moved to ...
25242         * include/bits/stdlib-float.h: Here.  New file.
25243         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25244         * stdlib/bits/stdlib-float.h: New file.
25245         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25246         -mno-sse -mno-mmx.
25247         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25248         <xmmintrin.h>.
25249
25250 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25251
25252         * conform/conformtest.pl (@headers): Add fenv.h.
25253         * conform/data/fenv.h-data: New file.
25254         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25255         include of <math/fenv.h>.
25256
25257         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25258         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25259         && !UNIX98].  Enables tests for XOPEN2K8.
25260         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25261         POSIX2008]: Likewise.
25262
25263         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25264         (struct rusage): Do not expect type or its members.
25265
25266         [BZ #3439]
25267         * math/math.h (FP_NAN): Define macro to integer constant usable in
25268         #if and use that to give value to enum constant.
25269         (FP_INFINITE): Likewise.
25270         (FP_ZERO): Likewise.
25271         (FP_SUBNORMAL): Likewise.
25272         (FP_NORMAL): Likewise.
25273
25274 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25275
25276         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25277         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25278         arguments.
25279
25280 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25281
25282         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25283         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25284         autoconf-time if not.
25285         * configure.in: Remove AC_PREREQ.
25286
25287 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25288
25289         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25290         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25291         of the internal implementation.
25292
25293 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25294
25295         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25296         except include of <misc/sys/syslog.h>.
25297
25298 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25299
25300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25301         function returns with a NULL context exit with zero.
25302
25303 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25304
25305         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25306
25307 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25308
25309         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25310         (run_program_cmd): This.
25311         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25312         (tst_langinfo): New variable.  Use it.
25313
25314 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25315
25316         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25317         floating point opcodes.
25318
25319 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25320
25321         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25322         variable.
25323
25324         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25325
25326         * sysdeps/mach/hurd/powerpc: Remove directory.
25327         * sysdeps/mach/powerpc: Likewise.
25328
25329 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25330
25331         * scripts/check-local-headers.sh: Ignore c++ headers.
25332
25333 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25334
25335         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25336         __libc_cleanup_region_start argument.
25337
25338 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25339
25340         [BZ #14784]
25341         [BZ #14785]
25342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25343         x * y using scaling, not as x * y + z.
25344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25345         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25346         * math/libm-test.inc (fma_test): Add more tests.
25347         (fma_test_towardzero): Likewise.
25348         (fma_test_downward): Likewise.
25349         (fma_test_upward): Likewise.
25350
25351 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25352
25353         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25354
25355 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25356
25357         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25358         New variable.
25359
25360 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25361
25362         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25363
25364 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25365
25366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25367         Fix sort order.
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25369         Likewise.
25370
25371 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25372
25373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25374         Fix the order of the list for glibc 2.17.
25375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25376         Likewise.
25377
25378 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25379
25380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25381
25382 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25383
25384         [BZ #14610]
25385         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25386         for low part of x being zero before using __atanl (y).
25387         * math/libm-test.inc (atan2_test): Add another test.
25388
25389         * manual/install.texi (Configuring and compiling): Document
25390         general use of test-wrapper and test-wrapper-env.
25391         * INSTALL: Regenerated.
25392
25393         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25394         (__fma): Do not extract and scale down low bits on after-rounding
25395         systems when result rounded to normal precision would have normal
25396         exponent.
25397         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25398         (__fmal): Do not extract and scale down low bits on after-rounding
25399         systems when result rounded to normal precision would have normal
25400         exponent.
25401         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25402         (__fmal): Do not extract and scale down low bits on after-rounding
25403         systems when result rounded to normal precision would have normal
25404         exponent.
25405         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25406         macro.
25407         (fma_test): Add more tests.
25408         (fma_test_towardzero): Likewise.
25409         (fma_test_downward): Likewise.
25410         (fma_test_upward): Likewise.
25411
25412 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25413
25414         * sysdeps/i386/tininess.h: Renamed to ...
25415         * sysdeps/x86/tininess.h: This.
25416         * sysdeps/x86_64/tininess.h: Removed.
25417
25418 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25419
25420         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25421         input.  Use $(build-program-cmd).
25422         ($(objpfx)tst-array1-static.out): Likewise.
25423         ($(objpfx)tst-array2.out): Likewise.
25424         ($(objpfx)tst-array3.out): Likewise.
25425         ($(objpfx)tst-array4.out): Likewise.
25426         ($(objpfx)tst-array5.out): Likewise.
25427         ($(objpfx)tst-array5-static.out): Likewise.
25428
25429 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25430
25431         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25432         if defined.
25433
25434         * nss/nsswitch.h (nss_interface_function): Provide new
25435         macro for use with NSS functions.
25436         * grp/initgroups.c: Use new macro.
25437         * nss/getXXbyYY.c: Likewise.
25438         * nss/getXXbyYY_r.c: Likewise.
25439         * nss/getXXent.c: Likewise.
25440         * nss/getXXent_r.c: Likewise.
25441         * sysdeps/posix/getaddrinfo.c: Likewise.
25442
25443 2012-10-30  Andreas Jaeger  <aj@suse.de>
25444
25445         * po/ru.po: Update Russion translation from translation project.
25446
25447 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25448
25449         [BZ #14152]
25450         [BZ #14783]
25451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25452         result and shift together with sticky bit instead of replicating
25453         round-to-nearest rounding.
25454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25455         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25456         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25457         missing underflow exceptions.
25458         (fma_test_towardzero): Add more tests.
25459         (fma_test_downward): Likewise.
25460         (fma_test_upward): Likewise.
25461
25462         [BZ #14047]
25463         * sysdeps/generic/tininess.h: New file.
25464         * sysdeps/i386/tininess.h: Likewise.
25465         * sysdeps/sh/tininess.h: Likewise.
25466         * sysdeps/x86_64/tininess.h: Likewise.
25467         * stdlib/tst-strtod-underflow.c: Likewise.
25468         * stdlib/tst-tininess.c: Likewise.
25469         * stdlib/strtod_l.c: Include <tininess.h>.
25470         (round_and_return): Do not set errno for exact underflow cases.
25471         Force an underflow exception when setting errno for underflow.
25472         Determine underflow based on rounding to normal precision if
25473         TININESS_AFTER_ROUNDING.
25474         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25475         ERANGE for exact underflow cases.
25476         * stdlib/Makefile (tests): Add tst-tininess and
25477         tst-strtod-underflow.
25478         ($(objpfx)tst-tininess): Use $(link-libm).
25479         ($(objpfx)tst-strtod-underflow): Likewise.
25480
25481 2012-10-30  Andreas Jaeger  <aj@suse.de>
25482
25483         [BZ#14767]
25484         * elf/Makefile (tests): Remove conditional for have-initfini-array
25485         since this is now always required and the variable does not exist
25486         anymore.
25487         (tests-static): Likewise.
25488         (modules-names): Likewise.
25489
25490         * po/eo.po: Add Esperanto translation from translation project.
25491
25492         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25493         merged with constructor/destructor.
25494         (init_array): Likewise.
25495         * elf/tst-array2dep.c (fini_array): Likewise.
25496         (init_array): Likewise.
25497
25498 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25499
25500         * manual/message.texi: Delete @cartouche tags.
25501
25502 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25503
25504         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25505         EOPNOTSUPP.
25506         * sysdeps/mach/hurd/fsync.c: Likewise.
25507
25508         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25509         [_POSIX_REALTIME_SIGNALS]: Change condition to
25510         [_POSIX_REALTIME_SIGNALS > 0].
25511
25512 2012-10-27  Andreas Jaeger  <aj@suse.de>
25513
25514         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25515         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25517         [__WORDSIZE != 64]: Likewise.
25518
25519 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25520
25521         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25522         *  iconvdata/tst-tables.sh: Likewise.
25523
25524 2012-10-25  David S. Miller  <davem@davemloft.net>
25525
25526         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25527         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25528         of strtoull.
25529
25530         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25531         ifunc-impl-list.c
25532         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25533         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25534         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25535         file.
25536
25537 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25538
25539         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25540         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25541         __getdirentries.
25542
25543 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25544             Jim Blandy  <jimb@codesourcery.com>
25545
25546         * scripts/cross-test-ssh.sh: New file.
25547         * manual/install.texi (Configuring and compiling): Document use of
25548         cross-test-ssh.sh.
25549         * INSTALL: Regenerated.
25550
25551 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25552
25553         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25554         EOPNOTSUPP.
25555
25556 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25557
25558         * Makeconfig (run-program-prefix): Fix comment.
25559
25560 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25561             Jim Blandy  <jimb@codesourcery.com>
25562
25563         * Makeconfig (test-wrapper): New variable,
25564         (test-wrapper-env): Likewise.
25565         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25566         (run-built-tests): Define to yes.
25567         (run-program-prefix): Use $(test-wrapper).
25568         (built-program-cmd): Likewise.
25569         * Rules (make-test-out): Use $(test-wrapper-env) and
25570         $(host-built-program-cmd).
25571         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25572         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25573         tst-pathopt.sh.
25574         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25575         $(test-wrapper-env) to tst-rtld-load-self.sh.
25576         ($(objpfx)order2.out): Use $(test-wrapper).
25577         ($(objpfx)tst-initorder.out): Likewise.
25578         ($(objpfx)tst-initorder2.out): Likewise.
25579         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25580         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25581         (test_wrapper_env): New variable.  Use it to run ld.so.
25582         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25583         Use it to run ld.so.
25584         (test_wrapper_env): Likewise.
25585         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25586         $(test-wrapper) to run-iconv-test.sh.
25587         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25588         (ICONV): Use $test_wrapper.
25589         * posix/Makefile ($(objpfx)globtest.out): Pass
25590         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25591         globtest.sh, not $(run-program-prefix).
25592         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25593         (test_wrapper): Likewise.
25594         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25595         set together with run_via_rtld_prefix.
25596         (run_program_prefix): Define in terms of test_wrapper and
25597         run_via_rtld_prefix.
25598
25599 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25600
25601         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25602         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25603         Targets removed.
25604
25605         [BZ #14743]
25606         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25607         Declare __clock_getres, __clock_gettime, __clock_settime,
25608         __clock_nanosleep, and __clock_getcpuclockid.
25609         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25610         Remove librt_hidden_def (clock_gettime).
25611         * sysdeps/unix/clock_gettime.c: Likewise.
25612         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25613         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25614         * rt/clock_getres.c: Define __clock_getres as an alias.
25615         * sysdeps/posix/clock_getres.c: Likewise.
25616         * rt/clock_settime.c: Define __clock_settime as an alias.
25617         * sysdeps/unix/clock_settime.c: Likewise.
25618         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25619         * sysdeps/unix/clock_nanosleep.c: Likewise.
25620         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25621         * rt/clock-compat.c: New file.
25622         * rt/Makefile (librt-routines): Add clock-compat and move
25623         $(clock-routines) to ...
25624         (routines): ... here, new variable.
25625         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25626         Don't add get_clockfreq here.
25627         * rt/Versions (libc: GLIBC_2.17): New version set.
25628         Add clock_* symbols here.
25629         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25630         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25631         (GLIBC_2.17): Add clock_* symbols.
25632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25634         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25636         Likewise.
25637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25638         Likewise.
25639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25643         * NEWS: Mention the move.
25644
25645         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25646         Use __open, __read, __close rather than their public counterparts.
25647         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25648         (__get_clockfreq_via_cpuinfo): Likewise.
25649         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25650         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25651
25652         * config.h.in (HAVE_IFUNC): New #undef.
25653         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25654         was successful.
25655         * configure: Regenerated.
25656
25657 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25658
25659         * configure.in: Move READELF check to start of file.
25660         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25661         libc_cv_asm_gnu_indirect_function in the process.
25662         * configure: Regenerated.
25663
25664 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25665
25666         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25667         send the output to /dev/null.
25668         (libc_cv_cc_with_libunwind): Likewise.
25669         (libc_cv_as_noexecstack): Likewise.
25670         * configure: Regenerate.
25671
25672 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25673
25674         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25675
25676         * posix/globtest.sh (TMPDIR): Do not set.
25677         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25678         (testout): Likewise.
25679
25680 2012-10-24  Andreas Jaeger  <aj@suse.de>
25681
25682         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25683         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25684         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25685         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25686         posix_fadvise64, posix_fallocate64.
25687
25688         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25689         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25690         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25691         Likewise.
25692         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25693         Likewise.
25694         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25695
25696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25697         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25698         <bits/fcntl-linux.h>.
25699         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25700
25701         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25702         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25703         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25704         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25705         [__WORDSIZE != 64]: Likewise.
25706
25707 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25708
25709         * Makeconfig (run-built-tests): New variable.
25710         * Rules [$(cross-compiling) = yes]: Change condition to
25711         [$(run-built-tests) = no].
25712         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25713         to [$(run-built-tests) = yes].
25714         * elf/Makefile [$(cross-compiling) = no]: Likewise
25715         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25716         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25717         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25718         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25719         * io/Makefile [$(cross-compiling) = no]: Likewise.
25720         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25721         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25722         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25723         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25724         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25725         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25726         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25727         * string/Makefile [$(cross-compiling) = no]: Likewise.
25728
25729         * posix/Makefile ($(objpfx)globtest.out): Pass
25730         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25731         $(rtld-installed-name).
25732         * posix/globtest.sh (elf_objpfx): Remove variable.
25733         (rtld_installed_name): Likewise.
25734         (library_path): Likewise.
25735         (run_program_prefix): New variable.  Use for running globtest
25736         binary.
25737
25738 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25739             Joseph Myers  <joseph@codesourcery.com>
25740
25741         * Makeconfig (host-built-program-cmd): New variable.
25742         * elf/Makefile (tst-stackguard1-ARGS): Use
25743         $(host-built-program-cmd).
25744         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25745         (tst-spawn-ARGS): Likewise.
25746         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25747
25748 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25749             Jim Blandy  <jimb@codesourcery.com>
25750
25751         * Makeconfig (run-via-rtld-prefix): New variable.
25752         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25753         (built-program-cmd): Likewise.
25754
25755 2012-10-22  Andreas Jaeger  <aj@suse.de>
25756
25757         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25758         __O_RSYNC if it exists, otherwise to O_SYNC.
25759
25760 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25761             Joseph Myers  <joseph@codesourcery.com>
25762
25763         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25764         /dev/null.
25765         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25766         from /dev/null
25767         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25768         /dev/null.
25769
25770 2012-10-22  Andreas Jaeger  <aj@suse.de>
25771
25772         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25773         Define always.
25774         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25775
25776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25777         bits/fcntl-linux.h.
25778
25779         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25780         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25781
25782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25783         to __O_LARGEFILE.
25784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25785         to __O_LARGEFILE.
25786
25787 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25788             Joseph Myers  <joseph@codesourcery.com>
25789
25790         * config.make.in (NM): New variable.
25791
25792 2012-10-21  Andreas Jaeger  <aj@suse.de>
25793
25794         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25795         definitions and declarations that are provided by
25796         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25797
25798 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25799
25800         [BZ #14683]
25801         * elf/Makefile (tests-static): Add tst-leaks1-static.
25802         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25803         ($(objpfx)tst-leaks1-static): New rule.
25804         ($(objpfx)tst-leaks1-static-mem): Likewise.
25805         (tst-leaks1-static-ENV): New macro.
25806         * elf/dl-open.c (dl_open_worker): Check the main application
25807         only if SHARED is defined.
25808         * elf/tst-leaks1-static.c: New file.
25809
25810 2012-10-20  Andreas Jaeger  <aj@suse.de>
25811
25812         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25813         generic values for Linux.
25814         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25815         and declarations that are provided by <bits/fcntl-linux.h> and
25816         include <bits/fcntl-linux.h>.
25817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25818         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25819
25820 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25821
25822         * io/fcntl.h: Move include of <bits/types.h> to the top and
25823         include it unconditionally.
25824
25825 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25826
25827         * wcsmbs/Makefile (tests-ifunc): New variable.
25828         (tests): Add $(tests-ifunc).
25829         * wcsmbs/test-wcschr-ifunc.c: New file.
25830         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25831         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25832         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25833         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25834         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25835
25836         * string/Makefile (tests-ifunc): New variable.
25837         (tests): Add $(tests-ifunc).
25838         * string/test-memccpy.c (TEST_NAME): New macro.
25839         * string/test-memchr.c (TEST_NAME): Likewise.
25840         * string/test-memcmp.c (TEST_NAME): Likewise.
25841         * string/test-memcpy.c (TEST_NAME): Likewise.
25842         * string/test-memmem.c (TEST_NAME): Likewise.
25843         * string/test-memmove.c (TEST_NAME): Likewise.
25844         * string/test-memset.c (TEST_NAME): Likewise.
25845         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25846         * string/test-stpcpy.c (TEST_NAME): Likewise.
25847         * string/test-stpncpy.c (TEST_NAME): Likewise.
25848         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25849         * string/test-strcasestr.c (TEST_NAME): Likewise.
25850         * string/test-strcat.c (TEST_NAME): Likewise.
25851         * string/test-strchr.c (TEST_NAME): Likewise.
25852         * string/test-strcmp.c(TEST_NAME): Likewise.
25853         * string/test-strcpy.c (TEST_NAME): Likewise.
25854         * string/test-strcspn.c (TEST_NAME): Likewise.
25855         * string/test-strlen.c (TEST_NAME): Likewise.
25856         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25857         * string/test-strncmp.c (TEST_NAME): Likewise.
25858         * string/test-strncpy.c (TEST_NAME): Likewise.
25859         * string/test-strnlen.c (TEST_NAME): Likewise.
25860         * string/test-strpbrk.c (TEST_NAME): Likewise.
25861         * string/test-strrchr.c (TEST_NAME): Likewise.
25862         * string/test-strspn.c (TEST_NAME): Likewise.
25863         * string/test-strstr.c (TEST_NAME): Likewise.
25864         * string/test-bcopy-ifunc.c: New file.
25865         * string/test-bzero-ifunc.c: Likewise.
25866         * string/test-memccpy-ifunc.c: Likewise.
25867         * string/test-memchr-ifunc.c: Likewise.
25868         * string/test-memcmp-ifunc.c: Likewise.
25869         * string/test-memcpy-ifunc.c: Likewise.
25870         * string/test-memmem-ifunc.c: Likewise.
25871         * string/test-memmove-ifunc.c: Likewise.
25872         * string/test-mempcpy-ifunc.c: Likewise.
25873         * string/test-memset-ifunc.c: Likewise.
25874         * string/test-rawmemchr-ifunc.c: Likewise.
25875         * string/test-stpcpy-ifunc.c: Likewise.
25876         * string/test-stpncpy-ifunc.c: Likewise.
25877         * string/test-strcasecmp-ifunc.c: Likewise.
25878         * string/test-strcasestr-ifunc.c: Likewise.
25879         * string/test-strcat-ifunc.c: Likewise.
25880         * string/test-strchr-ifunc.c: Likewise.
25881         * string/test-strchrnul-ifunc.c: Likewise.
25882         * string/test-strcmp-ifunc.c: Likewise.
25883         * string/test-strcpy-ifunc.c: Likewise.
25884         * string/test-strcspn-ifunc.c: Likewise.
25885         * string/test-strlen-ifunc.c: Likewise.
25886         * string/test-strncasecmp-ifunc.c: Likewise.
25887         * string/test-strncat-ifunc.c: Likewise.
25888         * string/test-strncmp-ifunc.c: Likewise.
25889         * string/test-strncpy-ifunc.c: Likewise.
25890         * string/test-strnlen-ifunc.c: Likewise.
25891         * string/test-strpbrk-ifunc.c: Likewise.
25892         * string/test-strrchr-ifunc.c: Likewise.
25893         * string/test-strspn-ifunc.c: Likewise.
25894         * string/test-strstr-ifunc.c: Likewise.
25895
25896         * debug/Makefile (tests-ifunc): New variable.
25897         (tests): Add $(tests-ifunc).
25898         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25899         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25900         * debug/test-stpcpy_chk-ifunc.c: New file.
25901         * debug/test-strcpy_chk-ifunc.c: Likewise.
25902
25903 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25904
25905         [BZ #13601]
25906         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25907         header is not read in.
25908
25909 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25910
25911         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25912         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25913         directly.  Pass built executable to script as
25914         $(built-program-cmd).
25915         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25916         $testprogram without using LD_LIBRARY_PATH and $ldso.
25917
25918         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25919         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25920         $(rtld-installed-name).
25921         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25922         (rtld_installed_name): Likewise.
25923         (library_path): Likewise.
25924         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25925         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25926         $(run-program-prefix) to tst-tables.sh.
25927         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25928         it to run tst-table-from and tst-table-to.
25929         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25930         Pass it to tst-table.sh.
25931         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25932         $(run-program-prefix) to tst-gettext.sh.
25933         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25934         tst-translit.sh.
25935         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25936         tst-gettext2.sh.
25937         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25938         to run tst-gettext.
25939         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25940         to run tst-gettext2.
25941         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25942         to run tst-translit.
25943         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25944         $(run-program-prefix) to tst-mtrace.sh.
25945         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25946         to run tst-mtrace.
25947         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25948         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25949         $(rtld-installed-name).
25950         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25951         (rtld_installed_name): Likewise.
25952         (run_program_prefix): New variable.  Use it to run wordexp-test.
25953
25954         * Makeconfig (ARCH): Remove all definitions.
25955         (machine): Likewise.
25956         [ARCH]: Remove conditional code.
25957         [!objdir]: Give error.
25958         [!objdir] (objpfx): Remove.
25959         [!objdir] (common-objpfx): Likewise.
25960         [!objdir] (common-objdir): Likewise.
25961         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25962         AC_CONFIG_FILES call.
25963         * configure: Regenerated.
25964
25965         [BZ #13888]
25966         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25967         or TMPDIR.
25968         (testout): Likewise.
25969
25970         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25971         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25972         $(rtld-installed-name).
25973         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25974         (rtld_installed_name): Likwise.
25975         (runit): Remove function.
25976         (run_getconf): New variable,  Use it for running getconf binary.
25977
25978 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25979
25980         [BZ #14716]
25981         * string/test-memmem.c (check_result): New function.
25982         (do_one_test): Use it.
25983         (check1): New function.
25984         (test_main): Use it.
25985
25986 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
25987
25988         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25989
25990 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
25991
25992         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25993         (_G_LSEEK64): Likewise.
25994         (_G_MMAP64): Likewise.
25995         (_G_FSTAT64): Likewise.
25996         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25997         (_G_LSEEK64): Likewise.
25998         (_G_MMAP64): Likewise.
25999         (_G_FSTAT64): Likewise.
26000         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26001         unconditional.  Call __mmap64 directly.
26002         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26003         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26004         __lseek64 directly.
26005         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26006         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26007         __mmap64 directly.
26008         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26009         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26010         __lseek64 directly.
26011         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26012         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26013         __lseek64 directly.
26014         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26015         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26016         __lseek64 directly.
26017         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26018         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26019         __fxstat64 directly.
26020         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26021         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26022         unconditional.
26023         (freopen64) [!_G_OPEN64]: Remove conditional code.
26024         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26025         unconditional.
26026         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26027         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26028         unconditional.
26029         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26030         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26031         unconditional.
26032         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26033         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26034         unconditional.
26035         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26036         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26037         unconditional.
26038         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26039         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26040         unconditional.
26041         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26042         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26043         unconditional.
26044         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26045
26046 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26047
26048         [BZ #12140]
26049         * manual/memory.texi (Malloc Tunable Parameters): Add note
26050         about free list pointers overwriting some perturb bytes.
26051         Wording suggested by Roland McGrath.
26052
26053 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26054
26055         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26056         (lgamma_test): Likewise.
26057         (tgamma_test): Likewise.
26058
26059 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26060
26061         [BZ #14700]
26062         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26063         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26064
26065 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26066
26067         * NEWS: Mention BZ #14716.
26068         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26069         when removing AVAILABLE1_USES_J macro.
26070
26071 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26072
26073         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26074         (__bswap_64): __uint64_t for unsigned 64-bit int.
26075
26076 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26077
26078         * include/string.h (memmem): Declare libc hidden alias.
26079         * string/memmem.c (memmem): Define libc hidden alias.
26080         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26081         __read, __close instead of open, read, close.
26082
26083 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26084
26085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26086         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26087         global and hidden.
26088         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26089         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26090         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26091         Likewise.
26092         (__rawmemchr_sse2): Likewise.
26093         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26094         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26095         (__strchr_sse2): Likewise.
26096         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26097         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26098         (__strcasecmp_sse2): Likewise.
26099         (__strncasecmp_sse2): Likewise.
26100         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26101         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26102         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26103         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26104         (__strrchr_sse2): Likewise.
26105         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26106         ifunc-impl-list.c.
26107         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26108         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26109         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26110         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26111         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26112         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26113         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26114         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26115         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26116         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26117         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26118         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26119         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26120         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26121         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26122         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26123         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26124         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26125         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26126         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26127         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26128         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26129         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26130         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26131         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26132         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26133         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26134         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26135         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26136         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26137
26138         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26139         global and hidden.
26140         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26141         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26142         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26143         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26144         Likewise.
26145         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26146         Likewise.
26147         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26148         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26149         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26150         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26151         ifunc-impl-list.c.
26152         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26153         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26154         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26155         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26156         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26157         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26158         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26159         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26160         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26161         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26162         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26163         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26164         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26165         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26166         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26167         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26168         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26169         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26170         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26171         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26172         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26173         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26174         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26175         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26176         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26177         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26178         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26179         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26180         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26181         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26182         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26183         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26184         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26185         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26186         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26187         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26188         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26189         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26190         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26191         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26192         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26193
26194         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26195         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26196         * include/ifunc-impl-list.h: New file.
26197         * misc/ifunc-impl-list.c: Likewise.
26198         * misc/Makefile (routines): Add ifunc-impl-list.
26199         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26200         * string/test-string.h: Include <ifunc-impl-list.h>.
26201         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26202         TEST_NAME]: New variables.
26203         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26204         are defined.
26205         (test_init): Call __libc_ifunc_impl_list to initialize
26206         func_list if TEST_IFUNC and TEST_NAME are defined.
26207
26208         * string/Makefile (strop-tests): Add bcopy and bzero.
26209         * string/test-bcopy.c: New file.
26210         * string/test-bzero.c: Likewise.
26211         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26212         defined.
26213         * string/test-memset.c: Support bzero test if TEST_BZERO is
26214         defined.
26215         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26216         __libc_memmove.
26217         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26218         __libc_memset.
26219         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26220         of memset.
26221
26222 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26223
26224         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26225         * configure: Regenerated.
26226
26227         * Makeconfig (+link-static-before-libc): Don't include
26228         $(link-static-libc).
26229
26230         * libio/libio.h (_IO_pos_t): Remove.
26231
26232 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26233
26234         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26235         McGrath.
26236
26237 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26238
26239         * crypt/crypt-entry.c: Include fips-private.h.
26240         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26241         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26242         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26243         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26244
26245 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26246
26247         * crypt/crypt-private.h: Include stdbool.h.
26248         (_ufc_setup_salt_r): Return bool.
26249         * crypt/crypt-entry.c: Include errno.h.
26250         (__crypt_r): Return NULL with EINVAL for bad salt.
26251         * crypt/crypt_util.c (bad_for_salt): New.
26252         (_ufc_setup_salt_r): Check that salt is long enough and within
26253         the specified alphabet.
26254         * crypt/badsalttest.c: New file.
26255         * crypt/Makefile (tests): Add it.
26256         ($(objpfx)badsalttest): New.
26257
26258 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26259
26260         * NEWS: Add entry for BZ #14602.
26261
26262 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26263
26264         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26265         type-generic.
26266         * math/libm-test.inc: Update comment listing what functions and
26267         macros are tested.
26268         (isgreater_test): New function.
26269         (isgreaterequal_test): Likewise.
26270         (isless_test): Likewise.
26271         (islessequal_test): Likewise.
26272         (islessgreater_test): Likewise.
26273         (isunordered_test): Likewise.
26274         (main): Call the new functions.
26275
26276 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26277
26278         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26279         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26280         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26281         * sysdeps/i386/configure: Regenerated.
26282         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26283         * sysdeps/mach/configure: Regenerated.
26284         * sysdeps/mach/hurd/configure: Regenerated.
26285         * sysdeps/powerpc/configure: Regenerated.
26286         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26287         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26288         * sysdeps/s390/s390-32/configure: Regenerated.
26289         * sysdeps/s390/s390-64/configure: Regenerated.
26290         * sysdeps/sh/configure: Regenerated.
26291         * sysdeps/sparc/configure: Regenerated.
26292         * sysdeps/unix/sysv/linux/configure: Regenerated.
26293         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26294         * sysdeps/x86_64/configure: Regenerated.
26295
26296         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26297         defined.  Don't check if MAP is NULL.
26298
26299 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26300
26301         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26302         (_G_stat64): Likewise.
26303         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26304         (_G_stat64): Likewise.
26305         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26306         instead of struct _G_stat64.
26307         * libio/fileops.c (mmap_remap_check): Likewise.
26308         (decide_maybe_mmap): Likewise.
26309         (_IO_new_file_seekoff): Likewise.
26310         (_IO_file_stat): Likewise.
26311         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26312         _G_off64_t.
26313         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26314         instead of struct _G_stat64.
26315         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26316
26317 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26318
26319         [BZ #14602]
26320         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26321         Replace with ...
26322         (CHECK_EOL): New macro.
26323         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26324         CHECK_EOL.
26325         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26326         Replace with CHECK_EOL.
26327         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26328         Replace with CHECK_EOL.
26329
26330 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26331
26332         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26333         type-generic.
26334         * math/libm-test.inc: Update comment listing what functions and
26335         macros are tested.
26336         (finite_test): New function.
26337         (isinf_test): Likewise.
26338         (isnan_test): Likewise.
26339         (fpclassify_test): Test subnormal input.
26340         (isfinite_test): Likewise.
26341         (isnormal_test): Likewise.
26342         (main): Call the new functions.
26343
26344 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26345
26346         [BZ #14660]
26347         * Makerules (%.dynsym): Force C locale when running
26348         $(OBJDUMP) --dynamic-syms.
26349
26350 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26351
26352         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26353         <stdint.h>.
26354
26355 2012-10-06  David S. Miller  <davem@davemloft.net>
26356
26357         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26358         upper 32-bits of the length value in %o2 since we use branch-on-register
26359         tests which consider the entire 64-bit register.
26360
26361 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26362
26363         * string/test-strstr.c (check2): Add a test for page boundary.
26364
26365 2012-10-05  David S. Miller  <davem@davemloft.net>
26366
26367         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26368         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26369         file.
26370         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26371         sysdep_routines.
26372         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26373         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26374         and bzero when HWCAP_SPARC_CRYPTO is present.
26375
26376 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26377
26378         [BZ #14602]
26379         * string/test-strstr.c (check2): New function.
26380         (test_main): Call check2.
26381
26382         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26383         and bug-strchr1.
26384         * string/bug-strcasestr1.c (do_test): Moved to ...
26385         * string/test-strcasestr.c (check1): Here.  New function.
26386         (do_one_test): Break out result checking code into ...
26387         (check_result): This.  New function.
26388         (do_one_test): Call check_result.
26389         (test_main): Call check1.
26390         * string/bug-strchr1.c (do_test): Moved to ...
26391         * string/test-strchr.c (check1): Here.  New function.
26392         (do_one_test): Break out result checking code into ...
26393         (check_result): This.  New function.
26394         (do_one_test): Call check_result.
26395         (test_main): Call check1.
26396         * string/bug-strstr1.c (main): Moved to ...
26397         * string/test-strstr.c (check1): Here.  New function.
26398         (do_one_test): Break out result checking code into ...
26399         (check_result): This.  New function.
26400         (do_one_test): Call check_result.
26401         (test_main): Call check1.
26402         * string/bug-strcasestr1.c: Removed.
26403         * string/bug-strchr1.c: Likewise.
26404         * string/bug-strstr1.c: Likewise.
26405
26406         * elf/Makefile (dl-routines): Add hwcaps.
26407         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26408         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26409         (_dl_important_hwcaps): Moved to ...
26410         * elf/dl-hwcaps.c: Here.  New file.
26411         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26412
26413         [BZ #14557]
26414         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26415         if IS_IN_rtld isn't defined.
26416
26417         * elf/dl-support.c (_dl_sysinfo_map): New.
26418         Include "get-dynamic-info.h" and "setup-vdso.h".
26419         (_dl_non_dynamic_init): Call setup_vdso.
26420         * elf/dynamic-link.h: Don't include <assert.h>.
26421         (elf_get_dynamic_info): Moved to ...
26422         * elf/get-dynamic-info.h: Here.  New file.
26423         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26424         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26425         * elf/setup-vdso.h: Here.  New file.
26426         * elf/rtld.c: Include "setup-vdso.h".
26427         (dl_main): Call setup_vdso.
26428
26429 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26430
26431         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26432         creal in comment listing functions tested.  List finite, isinf,
26433         isnan, isless, islessequal, isgreater, isgreaterequal,
26434         islessgreater, isunordered, lgamma_r and pow10 as functions and
26435         macros not tested.  Mention which functions not tested are aliases
26436         for other functions.  Fix typo.  Note that signs of NaNs are not
26437         tested.
26438
26439         * scripts/config.guess: Update from config.git.
26440         * scripts/config.sub: Likewise.
26441
26442 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26443
26444         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26445         * misc/madvise.c (madvise): Renamed to __madvise.
26446         Make madvise a weak alias.
26447         * include/sys/mman.h: Declare __madvise.
26448         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26449         * sysdeps/unix/syscalls.list
26450         (madvise): Make __madvise the strong name, and madvise a weak alias.
26451         * sysdeps/unix/sysv/linux/syscalls.list
26452         (madvise, mmap): Remove redundant entries.
26453         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26454         * malloc/malloc.c (mtrim): Likewise.
26455         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26456
26457 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26458
26459         * sysdeps/mach/hurd/dl-cache.c: File removed.
26460         * config.h.in (USE_LDCONFIG): New #undef.
26461         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26462         * configure: Regenerated.
26463         * elf/Makefile (dl-routines): Add dl-cache only under
26464         [$(use-ldconfig) = yes].
26465         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26466         cache on [USE_LDCONFIG].
26467         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26468         [USE_LDCONFIG].
26469         * elf/rtld.c (dl_main): Likewise.
26470
26471 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26472
26473         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26474         _SC_LEVEL4_CACHE_LINESIZE.
26475
26476 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26477
26478         * sysdeps/unix/bsd/confstr.h: File removed.
26479
26480 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26481
26482         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26483         sys/sdt-config.h.
26484
26485 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26486
26487         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26488         Make 'mapoff' field ElfW(Off) rather than off_t.
26489
26490 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26491
26492         * nscd/Makefile: Remove nscd-cflags and all its users.
26493         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26494         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26495
26496         [BZ #10631]
26497         * malloc.c (malloc_printerr): Clarify error message.
26498
26499 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26500
26501         [BZ #14648]
26502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26503         Set bit_FMA_Usable if FMA is supported.
26504         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26505         macro.
26506         (bit_FMA4_Usable): Updated.
26507         (index_FMA_Usable): New macro.
26508         (CPUID_FMA): Likewise
26509         (HAS_FMA): Defined with bit_FMA_Usable.
26510
26511 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26512
26513         * bits/types.h (__swblk_t): Type removed.
26514         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26515         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26516         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26517         (__SWBLK_T_TYPE): Likewise.
26518         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26519         (__SWBLK_T_TYPE): Likewise.
26520         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26521         (__SWBLK_T_TYPE): Likewise.
26522         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26523         (__SWBLK_T_TYPE): Likewise.
26524
26525 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26526             Honza Horak <hhorak@redhat.com>
26527
26528         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26529         (xdr_mapname): Use YPMAXMAP as maxsize.
26530         (xdr_peername): Use YPMAXPEER as maxsize.
26531         (xdr_keydat): Use YPAXRECORD as maxsize.
26532         (xdr_valdat): Use YPMAXRECORD as maxsize.
26533
26534 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26535
26536         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26537
26538         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26539         * csu/init-first.c: ... here.
26540         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26541         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26542         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26543         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26544         * sysdeps/i386/init-first.c: File removed.
26545         * sysdeps/sh/init-first.c: File removed.
26546
26547 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26548
26549         [BZ #14645]
26550         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26551         if x * y might underflow to zero and z is zero.
26552         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26553         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26554         * math/libm-test.inc (min_subnorm_value): New variable.
26555         (fma_test): Add more tests.
26556         (fma_test_towardzero): Likewise.
26557         (fma_test_downward): Likewise
26558         (fma_test_upward): Likewise.
26559         (initialize): Set min_subnorm_value.
26560
26561 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26562
26563         [BZ #14638]
26564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26565         0 + 0.
26566         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26567         mode for addition resulting in exact zero.
26568         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26569         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26570         exact 0 + 0.
26571         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26572         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26573         * math/libm-test.inc (fma_test): Add more tests.
26574         (fma_test_towardzero): New function.
26575         (fma_test_downward): Likewise.
26576         (fma_test_upward): Likewise.
26577         (main): Call the new functions.
26578
26579 2012-09-28  David S. Miller  <davem@davemloft.net>
26580
26581         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26582
26583 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26584
26585         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26586         instead of SIGALRM.
26587
26588         * sysdeps/gnu/_G_config.h: Moved to ...
26589         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26590         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26591         * sysdeps/generic/_G_config.h: ... here.
26592
26593         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26594
26595         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26596
26597         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26598         Conditionalize target on [libnss_test1.so-version].
26599
26600         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26601
26602         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26603         (elfobjdir): Move out of conditionals.
26604
26605         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26606         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26607         (__nss_lookup_function): Conditionalize label remove_from_tree on
26608         [!DO_STATIC_NSS || SHARED], matching its only use.
26609
26610 2012-09-28  David S. Miller  <davem@davemloft.net>
26611
26612         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26613         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26614         file.
26615         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26616         sysdep_routines.
26617         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26618         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26619         when HWCAP_SPARC_CRYPTO is present.
26620
26621 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26622
26623         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26624
26625 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26626
26627         [BZ #6530]
26628         * stdio-common/vfprintf.c (process_string_arg): Revert
26629         2000-07-22 change.
26630
26631 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26632
26633         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26634         for testcase.
26635         * stdio-common/tst-sprintf.c: Include <locale.h>
26636         (main): Test sprintf's handling of incomplete multibyte
26637         characters.
26638
26639 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26640
26641         * elf/dl-runtime.c (VERSYMIDX): Removed.
26642         * elf/dl-version.c (VERSYMIDX): Likewise.
26643         * elf/do-rel.h (VERSYMIDX): Likewise.
26644         (VALIDX): Likewise.
26645         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26646         * elf/rtld.c (VALIDX): Likewise.
26647         (ADDRIDX): Likewise.
26648         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26649         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26650         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26651         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26652         (VALIDX): Likewise.
26653         (ADDRIDX): Likewise.
26654
26655 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26656
26657         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26658
26659 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26660
26661         [BZ #11438]
26662         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26663         to global scope.
26664         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26665         addresses are in the same scope as 192.0.2/24.
26666         * posix/gai.conf: Document new scope table defaults.
26667
26668 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26669
26670         [BZ #5298]
26671         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26672         for ftell.  Compute offsets from write pointers instead.
26673         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26674
26675 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26676
26677         [BZ #14543]
26678         * libio/Makefile (tests): New test case tst-fseek.
26679         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26680         combination works in wide mode.
26681         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26682         state when the external buffer state changes.
26683
26684 2012-09-27  David S. Miller  <davem@davemloft.net>
26685
26686         [BZ #14376]
26687         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26688         pass reloc->r_addend in as the 'high' argument to
26689         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26690
26691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26692
26693 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26694
26695         * rt/tst-aio2.c: Include <pthread.h>.
26696         * rt/tst-aio3.c: Likewise.
26697
26698 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26699
26700         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26701
26702 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26703
26704         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26705         contents on [SHARED].
26706
26707 2012-09-26  Marek Polacek  <polacek@redhat.com>
26708
26709         [BZ #14530]
26710         [BZ #13741]
26711         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26712         for C++ and GCC <4.3 as well as for non GCC compilers.
26713
26714 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26715
26716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26717
26718 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26719
26720         * Makefile.in (all, install): Declare with .PHONY.
26721         Reported by Michael Hope <michael.hope@linaro.org>.
26722
26723 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26724
26725         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26726         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26727         system header.
26728         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26729         Likewise.
26730         (sydep_routines): Add the new and the internal functions.
26731         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26732         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26734         (GLIBC_2.17): Add the new function.
26735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26736         (GLIBC_2.17): Likewise.
26737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26738         (GLIBC_2.17): Likewise.
26739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26740         (GLIBC_2.17): Likewise.
26741         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26742
26743 2012-09-25  Alan Modra  <amodra@gmail.com>
26744
26745         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26746         Add release barrier before setting once_control to say
26747         initialisation is done.  Add hints on lwarx.  Use macro in
26748         place of isync.
26749         (clear_once_control): Add release barrier.
26750
26751 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26752
26753         [BZ #13629]
26754         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26755         specially.
26756         * math/s_clog10.c (__clog10): Likewise.
26757         * math/s_clog10f.c (__clog10f): Likewise.
26758         * math/s_clog10l.c (__clog10l): Likewise.
26759         * math/s_clogf.c (__clogf): Likewise.
26760         * math/s_clogl.c (__clogl): Likewise.
26761         * math/Makefile (libm-calls): Add x2y2m1.
26762         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26763         (__x2y2m1): Likewise.
26764         (__x2y2m1l): Likewise.
26765         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26766         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26767         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26768         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26769         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26770         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26771         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26772         * sysdeps/i386/fpu/libm-test-ulps: Update.
26773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26774
26775         [BZ #14621]
26776         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26777         int as type of variable DEPTH.
26778         (glob): Use size_t instead of int as type of variables NEWCOUNT
26779         and OLD_PATHC.
26780
26781 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26782
26783         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26784         Add s_sincosf-sse2.
26785         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26786         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26787         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26788         macros for using routine as __sincosf_ia32.
26789         Use macro for function declaration and weak_alias.
26790         * sysdeps/i386/fpu/libm-test-ulps: Update.
26791
26792         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26794
26795         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26796         subnormal argument.
26797         * math/s_cexpf.c (__cexpf): Likewise.
26798         * math/s_csinf.c (__csinf): Likewise.
26799         * math/s_csinhf.c (__csinhf): Likewise.
26800         * math/s_ctanf.c (__ctanf): Likewise.
26801         * math/s_ctanhf.c (__ctanhf): Likewise.
26802         * math/s_ccosh.c (__ccoshf): Likewise.
26803         * math/s_cexp.c (__cexpl): Likewise.
26804         * math/s_csin.c (__csin): Likewise.
26805         * math/s_csinh.c (__csinh): Likewise.
26806         * math/s_ctan.c (__ctan): Likewise.
26807         * math/s_ctanh.c (ctanh): Likewise.
26808         * math/s_ccoshl.c (__ccoshl): Likewise.
26809         * math/s_cexpl.c (__cexpl): Likewise.
26810         * math/s_csinl.c (__csinl): Likewise.
26811         * math/s_csinhl.c (__csinhl): Likewise.
26812         * math/s_ctanl.c (__ctanl): Likewise.
26813         * math/s_ctanhl.c (__ctanhl): Likewise.
26814
26815 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26816
26817         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26818         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26819         (_IO_off_t): Define to __off_t, not _G_off_t.
26820         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26821         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26822         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26823         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26824         type of __dummy and __dummy2 fields.
26825         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26826         (_G_ssize_t): Likewise.
26827         (_G_off_t): Likewise.
26828         (_G_pid_t): Likewise.
26829         (_G_uid_t): Likewise.
26830         (_G_wchar_t): Likewise.
26831         (_G_wint_t): Likewise.
26832         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26833         (_G_ssize_t): Likewise.
26834         (_G_off_t): Likewise.
26835         (_G_pid_t): Likewise.
26836         (_G_uid_t): Likewise.
26837         (_G_wchar_t): Likewise.
26838         (_G_wint_t): Likewise.
26839         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26840         (_G_ssize_t): Likewise.
26841         (_G_off_t): Likewise.
26842         (_G_pid_t): Likewise.
26843         (_G_uid_t): Likewise.
26844         (_G_wchar_t): Likewise.
26845         (_G_wint_t): Likewise.
26846
26847 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26848
26849         * malloc/arena.c: Include malloc-sysdep.h.
26850         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26851         is sufficient to shrink the heap or an unmap is needed.
26852         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26853         new function check_may_shrink_heap.
26854         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26855         new function check_may_shrink_heap.
26856
26857 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26858
26859         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26860         comments.
26861
26862 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26863
26864         * catgets/test-gencat.sh: Add "set -e".
26865         * elf/tst-pathopt.sh: Likewise.
26866         * grp/tst_fgetgrent.sh: Likewise.
26867         * iconvdata/run-iconv-test.sh: Likewise.
26868         * intl/tst-gettext.sh: Likewise.
26869         * intl/tst-gettext2.sh: Likewise.
26870         * intl/tst-gettext4.sh: Likewise.
26871         * intl/tst-gettext6.sh: Likewise.
26872         * intl/tst-translit.sh: Likewise.
26873         * io/ftwtest-sh: Likewise.
26874         * libio/test-freopen.sh: Likewise.
26875         * malloc/tst-mtrace.sh: Likewise.
26876         * posix/globtest.sh: Likewise.
26877         * posix/tst-getconf.sh: Likewise.
26878         * posix/wordexp-tst.sh: Likewise.
26879         * stdio-common/tst-printf.sh: Likewise.
26880         * stdio-common/tst-unbputc.sh: Likewise.
26881         * stdlib/tst-fmtmsg.sh: Likewise.
26882         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26883         * catgets/Makefile: Do not specify -e option when running
26884         testsuite shell scripts.
26885         * elf/Makefile: Likewise.
26886         * grp/Makefile: Likewise.
26887         * iconvdata/Makefile: Likewise.
26888         * intl/Makefile: Likewise.
26889         * io/Makefile: Likewise.
26890         * libio/Makefile: Likewise.
26891         * malloc/Makefile: Likewise.
26892         * posix/Makefile: Likewise.
26893         * stdio-common/Makefile: Likewise.
26894         * stdlib/Makefile: Likewise.
26895         * sysdeps/x86_64/Makefile: Likewise.
26896
26897         * io/ftwtest-sh: Add copyright header.
26898         * posix/globtest.sh: Likewise.
26899         * posix/tst-getconf.sh: Likewise.
26900         * posix/wordexp-tst.sh: Likewise.
26901         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26902
26903 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26904
26905         [BZ #13679]
26906         * Makeconfig (+link): Defined as $(+link-static) if
26907         $(build-shared) isn't yes.
26908         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26909         isn't yes.
26910         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26911
26912         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26913
26914         [BZ #14562]
26915         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26916         new chunk size with MALLOC_ALIGN_MASK.
26917
26918 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26919
26920         [BZ #5044]
26921         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26922         <rounding-mode.h>.
26923         (__printf_fphex): Determine rounding using get_rounding_mode and
26924         round_away.
26925         * stdio-common/tst-printf-round.c (struct hex_test): New
26926         structure.
26927         (hex_tests): New variable.
26928         (test_hex_in_one_mode): New function.
26929         (do_test): Also run tests for hex float output.
26930
26931 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26932
26933         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26934         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26935         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26936         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26937         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26938         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26939         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26940         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26941
26942 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26943
26944         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26945         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26946         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26947         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26948
26949 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26950
26951         [BZ #14579]
26952         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26953         mode only.
26954         * elf/tst-rtld-load-self.sh: New test.
26955         * elf/Makefile: Run it.
26956
26957 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26958
26959         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26960         (tst-writev-ENV): Remove.
26961         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26962
26963 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26964
26965         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26966
26967 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26968
26969         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26970         unconditional.
26971         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26972         Likewise.
26973         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26974         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26975         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26976         Likewise.
26977
26978 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26979
26980         [BZ #14587]
26981         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26982         * config.make.in (have-cpp-asm-debuginfo): Removed.
26983         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26984         * configure: Regenerated.
26985
26986 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
26987
26988         [BZ #5044]
26989         * stdio-common/printf_fp.c: Include <stdbool.h> and
26990         <rounding-mode.h>.
26991         (___printf_fp): Determine rounding using get_rounding_mode and
26992         round_away.
26993         * stdio-common/tst-printf-round.c: New file.
26994         * stdio-common/Makefile (tests): Add tst-printf-round.
26995         (link-libm): New variable.
26996         ($(objpfx)tst-printf-round): Depend in $(link-libm).
26997
26998 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
26999
27000         [BZ #14576]
27001         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27002         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27003         Likewise.
27004         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27005         Likewise.
27006
27007 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27008
27009         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27010         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27011         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27012         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27013
27014 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27015
27016         [BZ #14518]
27017         * include/rounding-mode.h: New file.
27018         * sysdeps/generic/get-rounding-mode.h: Likewise.
27019         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27020         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27021         (MAX_VALUE): New macro.
27022         (MIN_VALUE): Likewise.
27023         (overflow_value): New function.
27024         (underflow_value): Likewise.
27025         (round_and_return): Use overflow_value and underflow_value to
27026         determine return values in overflow and underflow cases.  Use
27027         round_away to determine rounding depending on rounding mode.
27028         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27029         determine return values in overflow and underflow cases.
27030         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27031         (struct test_results): New structure.
27032         (struct test): Use struct test_results to store expected results
27033         for all rounding modes.
27034         (TEST): Include expected results for all rounding modes.
27035         (test_in_one_mode): New function.
27036         (do_test): Use test_in_one_mode to compute and check results.
27037         Check results for all rounding modes.
27038         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27039         $(link-libm).
27040
27041 2012-12-09  Allan McRae  <allan@archlinux.org>
27042
27043         * sysdeps/i386/fpu/libm-test-ulps: Update
27044
27045 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27046
27047         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27048         (_G_int32_t): Likewise.
27049         (_G_uint16_t): Likewise.
27050         (_G_uint32_t): Likewise.
27051         (_G_HAVE_BOOL): Likewise.
27052         (_G_HAVE_ATEXIT): Likewise.
27053         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27054         (_G_HAVE_IO_FILE_OPEN): Likewise.
27055         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27056         (_G_int32_t): Likewise.
27057         (_G_uint16_t): Likewise.
27058         (_G_uint32_t): Likewise.
27059         (_G_HAVE_BOOL): Likewise.
27060         (_G_HAVE_ATEXIT): Likewise.
27061         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27062         (_G_HAVE_IO_FILE_OPEN): Likewise.
27063         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27064         (_G_int32_t): Likewise.
27065         (_G_uint16_t): Likewise.
27066         (_G_uint32_t): Likewise.
27067         (_G_HAVE_BOOL): Likewise.
27068         (_G_HAVE_ATEXIT): Likewise.
27069         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27070         (_G_HAVE_IO_FILE_OPEN): Likewise.
27071
27072 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27073
27074         * csu/libc-tls.c: Update copyright years.
27075
27076 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27077
27078         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27079         [!_G_USING_THUNKS]: Remove conditional code.
27080         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27081         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27082
27083         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27084         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27085         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27086         (_G_VTABLE_LABEL_PREFIX): Likewise.
27087         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27088         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27089         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27090         (_G_VTABLE_LABEL_PREFIX): Likewise.
27091         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27092         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27093         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27094         (_G_VTABLE_LABEL_PREFIX): Likewise.
27095         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27096
27097 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27098
27099         * libio/Makefile: Include ../Makeconfig before tests.
27100         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27101         only if $(build-shared) is yes.
27102
27103         * iconv/gconv_db.c: Update copyright years.
27104
27105 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27106
27107         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27108         unwind info if defined PIC. Fix special cases description.
27109         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27110
27111         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27112         DP_HI_MASK entry.
27113         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27114
27115 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27116
27117         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27118
27119         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27120         is NULL.
27121
27122         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27123         (LDLIBS-tst-chk4): This.
27124         (LDFLAGS-tst-chk5): Renamed to ...
27125         (LDLIBS-tst-chk5): This.
27126         (LDFLAGS-tst-chk6): Renamed to ...
27127         (LDLIBS-tst-chk6): This.
27128         (LDFLAGS-tst-lfschk4): Renamed to ...
27129         (LDLIBS-tst-lfschk4): This.
27130         (LDFLAGS-tst-lfschk5): Renamed to ...
27131         (LDLIBS-tst-lfschk5): This.
27132         (LDFLAGS-tst-lfschk6): Renamed to ...
27133         (LDLIBS-tst-lfschk6): This.
27134
27135         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27136         on $(common-objpfx)soversions.mk.
27137
27138 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27139
27140         [BZ #10014]
27141         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27142         example host name.
27143
27144 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27145
27146         * malloc/arena.c (arena_get_retry): New function that gets
27147         another arena for the caller to try its request on.
27148         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27149         current arena cannot fulfill the request.
27150         (__libc_memalign): Likewise.
27151         (__libc_memalign): Likewise.
27152         (__libc_pvalloc): Likewise.
27153         (__libc_calloc): Likewise.
27154
27155 2012-09-05  John Tobey  <john.tobey@gmail.com>
27156
27157         [BZ #13542]
27158         * manual/arith.texi (Operations on Complex): Fix description
27159         of carg branch cut.
27160
27161 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27162
27163         [BZ #10014]
27164         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27165         host name.
27166
27167         [BZ #10038]
27168         * manual/memory.texi (Memory): Make order of menu items match
27169         order of sections.
27170
27171 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27172
27173         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27174         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27175         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27176
27177 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27178
27179         * csu/libc-tls.c (static_dtv): Renamed to ...
27180         (_dl_static_dtv): This.  Make it global.
27181         (_dl_initial_dtv): Removed.
27182         (__libc_setup_tls): Updated.
27183         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27184         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27185         DL_INITIAL_DTV.
27186
27187 2012-09-06  Petr Machata  <pmachata@redhat.com>
27188
27189         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27190         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27191         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27192         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27193
27194 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27195
27196         [BZ #14545]
27197         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27198         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27199         freeing dtv[-1].
27200
27201 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27202
27203         [BZ #14544]
27204         * Makeconfig (link-static-before-libc): Replace $(+prector)
27205         with $(+prectorT).
27206         (link-static-after-libc): Replace $(+postctor) with
27207         $(+postctorT).
27208         (link-bounded): Replace $(+prector)/$(+postctor) with
27209         $(+prectorT)/$(+postctorT).
27210         (+prectorT): New macro.
27211         (+postctorT): Likewise.
27212
27213 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27214
27215         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27216         (round_str): Handle values above the maximum for IBM long double
27217         as inexact.
27218         * stdlib/tst-strtod-round.c (tests): Regenerated.
27219
27220 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27221
27222         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27223         assembler flag.
27224         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27225         zarch_nohighgprs around the zarch optimized routines.
27226         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27227         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27228         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27229         for zarch.
27230
27231 2012-09-05  David S. Miller  <davem@davemloft.net>
27232
27233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27234
27235         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27236         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27237         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27238         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27239         entries.
27240
27241 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27242
27243         * malloc/arena.c: Fold copyright years.
27244         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27245
27246 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27247
27248         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27249
27250 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27251
27252         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27253
27254 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27255
27256         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27257         change internal state upon failure.
27258
27259 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27260
27261         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27262         * malloc/memusage.c (mmap): Likewise.
27263         (mmap64, mremap): Likewise.  Adjust name in comment.
27264
27265 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27266
27267         * libio/fileops.c: Fix typos in comments.
27268         * libio/oldfileops.c: Likewise.
27269         * libio/wfileops.c: Likewise.
27270
27271 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27272
27273         [BZ #1349]
27274         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27275         (tst-malloc-usable-ENV): Set environment for test case.
27276         * malloc/hooks.c (malloc_check_get_size): New function to get
27277         requested size.
27278         * malloc/malloc.c (musable): Use malloc_check_get_size.
27279         * malloc/tst-malloc-usable.c: New test case.
27280
27281 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27282
27283         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27284
27285 2012-09-05  Allan McRae  <allan@archlinux.org>
27286
27287         [BZ #13966]
27288         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27289         determine header location.
27290         * configure: Regenerated.
27291
27292 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27293
27294         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27295         float format.
27296         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27297         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27298         format.
27299         (test): Regenerate.
27300
27301 2012-09-04  David S. Miller  <davem@davemloft.net>
27302
27303         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27304         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27305         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27306
27307 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27308
27309         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27310         failures.
27311
27312         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27313
27314 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27315
27316         [BZ #9914]
27317         * libio/iogetdelim.c: Include <limits.h>.
27318         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27319         + len + 1 would overflow.
27320
27321 2012-09-03  Andreas Jaeger  <aj@suse.de>
27322
27323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27324         * sysdeps/i386/fpu/libm-test-ulps: Update.
27325
27326 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27327
27328         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27329         Add s_sinf-sse2, s_conf-sse2.
27330
27331         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27332         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27333         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27334         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27335
27336         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27337         for using routine as __sinf_ia32.
27338         Use macro for function declaration and weak_alias.
27339         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27340         for using routine as __cosf_ia32.
27341         Use macro for function declaration and weak_alias.
27342
27343         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27344         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27345
27346         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27347         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27349
27350         * math/libm-test.inc (cos_test): Add more test cases.
27351         (sin_test): Likewise.
27352         (sincos_test): Likewise.
27353
27354 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27355
27356         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27357         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27358         hidden.
27359         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27360
27361 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27362
27363         [BZ #14538]
27364         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27365         first element of the GOT.
27366         (elf_machine_load_address): Return the difference between
27367         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27368
27369 2012-09-01  Allan McRae  <allan@archlinux.org>
27370
27371         [BZ #13412]
27372         * configure.in (AWK): Require gawk version 3.0 or later.
27373         * configure: Regenerated.
27374
27375 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27376
27377         * sysdeps/unix/sysv/linux/kernel-features.h
27378         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27379         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27380         [__NR_clock_getres]: Make code unconditional.
27381         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27382         (clock_getcpuclockid): Remove code left unreachable by removal of
27383         conditionals.
27384         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27385         code unconditional.
27386         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27387         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27388         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27389         Make code unconditional.
27390         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27391         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27392         * sysdeps/unix/sysv/linux/clock_settime.c
27393         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27394         conditional code.
27395         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27396         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27397
27398 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27399
27400         [BZ #14476]
27401         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27402         scripts/test-installation.pl.
27403
27404         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27405         and $ld_so_version if it is set.
27406
27407 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27408
27409         [BZ #14516]
27410         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27411         failure if reading from procfs failed.
27412         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27413
27414 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27415
27416         * sysdeps/unix/sysv/linux/kernel-features.h
27417         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27418         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27419         Remove conditional code.
27420         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27421         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27422         Remove conditional code.
27423         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27424         * sysdeps/unix/sysv/linux/i386/fxstat.c
27425         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27426         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27427         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27428         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27429         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27430         * sysdeps/unix/sysv/linux/i386/lxstat.c
27431         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27432         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27433         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27434         Remove conditional code.
27435         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27436         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27437         Remove conditional code.
27438         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27439         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27440         <kernel-features.h>.
27441         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27442         Remove.
27443         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27444         Remove conditional code.
27445         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27446         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27447         Remove conditional.
27448
27449 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27450
27451         [BZ #5400]
27452         * NEWS: Add fixed bug number.
27453
27454 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27455
27456         [BZ #14519]
27457         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27458         underflowing exponent in case of negative sign.
27459         * stdlib/tst-strtod-round-data: Add more tests.
27460         * stdlib/tst-strtod-round.c (tests): Regenerated.
27461
27462         [BZ #3479]
27463         * stdlib/strtod_l.c (NDIG): Remove.
27464         (HEXNDIG): Likewise.
27465         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27466         smallest representable value.
27467         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27468         lie within an exact representation of 1/2 ulp of the result.
27469         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27470         unconditionally.
27471         (TENS_P9_IDX): Define unconditionally.
27472         (TENS_P9_SIZE): Likewise.
27473         (TENS_P10_IDX): Likewise.
27474         (TENS_P10_SIZE): Likewise.
27475         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27476         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27477         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27478         entries for 10^2^13 and 10^2^14.
27479         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27480         (TENS_P13_IDX): Define.
27481         (TENS_P13_SIZE): Likewise.
27482         (TENS_P14_IDX): Likewise.
27483         (TENS_P14_SIZE): Likewise.
27484         (_fpioconst_pow10): Change array size to
27485         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27486         unconditional.
27487         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27488         1024]: Add entries for 10^2^13 and 10^2^14.
27489         [LAST_POW10 > _LAST_POW10]: Remove #error.
27490         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27491         (_fpioconst_pow10): Change array size to
27492         FPIOCONST_POW10_ARRAY_SIZE.
27493         * stdlib/gen-fpioconst.c: New file.
27494         * stdlib/gen-tst-strtod-round.c: Likewise.
27495         * stdlib/tst-strtod-round-data: Likewise.
27496         * stdlib/tst-strtod-round.c: Likewise.
27497         * stdlib/Makefile (tests): Add tst-strtod-round.
27498
27499         [BZ #14459]
27500         * stdlib/strtod_l.c: Include <stdint.h>.
27501         (NDEBUG): Do not define.
27502         (round_and_return): Change EXPONENT parameter to type intmax_t.
27503         Rearrange calculations to avoid internal overflow possibilities.
27504         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27505         Rearrange calculations to avoid internal overflow possibilities.
27506         Assert that number fits inside MPNSIZE limbs.
27507         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27508         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27509         calculations and add assertions to avoid internal overflow
27510         possibilities.  Add casts to avoid signed/unsigned operations.
27511         * stdlib/tst-strtod-overflow.c: New file.
27512         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27513
27514 2012-08-25  Marek Polacek  <polacek@redhat.com>
27515
27516         * time/time.h: Fix some typos in comments.
27517
27518 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27519
27520         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27521         * posix/tst-rfc3484-2.c: Likewise.
27522         * posix/tst-rfc3484-3.c: Likewise.
27523
27524 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27525
27526         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27527         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27528
27529 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27530
27531         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27532         #include of fxstatat64.c.
27533
27534 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27535
27536         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27537         * shadow/getspent_r.c: Likewise.
27538         * shadow/getspnam.c: Likewise.
27539         * shadow/getspnam_r.c: Likewise.
27540         * gshadow/getsgent.c: Likewise.
27541         * gshadow/getsgent_r.c: Likewise.
27542         * gshadow/getsgnam.c: Likewise.
27543         * gshadow/getsgnam_r.c: Likewise.
27544         * inet/getnetbyad.c: Likewise.
27545         * inet/getnetbyad_r.c: Likewise.
27546         * inet/getnetbynm.c: Likewise.
27547         * inet/getnetbynm_r.c: Likewise.
27548         * inet/getnetent.c: Likewise.
27549         * inet/getnetent_r.c: Likewise.
27550         * inet/getproto.c: Likewise.
27551         * inet/getproto_r.c: Likewise.
27552         * inet/getprtent.c: Likewise.
27553         * inet/getprtent_r.c: Likewise.
27554         * inet/getprtname.c: Likewise.
27555         * inet/getprtname_r.c: Likewise.
27556         * inet/getrpcbyname.c: Likewise.
27557         * inet/getrpcbyname_r.c: Likewise.
27558         * inet/getrpcbynumber.c: Likewise.
27559         * inet/getrpcbynumber_r.c: Likewise.
27560         * inet/getrpcent.c: Likewise.
27561         * inet/getrpcent_r.c: Likewise.
27562         * inet/getaliasent.c: Likewise.
27563         * inet/getaliasent_r.c: Likewise.
27564         * inet/getaliasname.c: Likewise.
27565         * inet/getaliasname_r.c: Likewise.
27566         * nscd/getgrgid_r.c: Likewise.
27567         * nscd/getgrnam_r.c: Likewise.
27568         * nscd/gethstbyad_r.c: Likewise.
27569         * nscd/gethstbynm3_r.c: Likewise.
27570         * nscd/getpwnam_r.c: Likewise.
27571         * nscd/getpwuid_r.c: Likewise.
27572         * nscd/getsrvbynm_r.c: Likewise.
27573         * nscd/getsrvbypt_r.c: Likewise.
27574         * nscd/gai.c: Likewise.
27575
27576         * configure.in (build_nscd): New substituted variable, set
27577         by --disable-build-nscd and defaults to $use_nscd.
27578         * configure: Regenerated.
27579         * config.make.in (build-nscd): New substituted variable.
27580         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27581         Change conditional to require [$(build-nscd) = yes] as well.
27582         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27583
27584         [BZ# 13696]
27585         * configure.in (use_nscd): New substituted variable, set by
27586         --disable-nscd.  If enabled, define USE_NSCD.
27587         * configure: Regenerated.
27588         * config.h.in: Add USE_NSCD.
27589         * config.make.in (use-nscd): New substituted variable.
27590         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27591         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27592         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27593         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27594         (CFLAGS-getgrnam_r.c): Likewise.
27595         (CFLAGS-initgroups.c): Likewise.
27596         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27597         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27598         Variables removed.
27599         * inet/getnetgrent_r.c
27600         (nscd_setnetgrent): New function, broken out of ...
27601         (setnetgrent): ... here.  Call it.
27602         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27603         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27604         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27605         * nscd/Makefile (routines, aux): Move definitions after include of
27606         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27607         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27608         Conditionalize on [USE_NSCD].
27609         (is_nscd, nscd_init_cb): Likewise.
27610         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27611         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27612         * nss/nss_db/db-init.c: Likewise.
27613         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27614         [USE_NSCD].
27615         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27616         (make_request): Use it.
27617         (cache_valid_p): New function.
27618         (__check_pf): Use it.
27619         * NEWS: Add item for --disable-nscd.
27620
27621 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27622
27623         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27624         to support sed >= 4.2.1-20-ga9bf076.
27625         * configure: Regenerated.
27626
27627 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27628
27629         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27630         Conditionalize whole body on [IREL].
27631
27632 2012-08-22  Jeff Law <law@redhat.com>
27633
27634         [BZ #14505]
27635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27636         if the family is PF_UNSPEC.
27637
27638 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27639
27640         * Makerules (lib-version): Rename from V.
27641         (install-lib-nosubdir): Change V to lib-version.
27642
27643 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27644
27645         [BZ #14252]
27646         * powerpc32/power6/wcschr.c: New file.
27647         * powerpc32/power6/wcscpy.c: New file.
27648         * powerpc32/power6/wcsrchr.c: New file.
27649         * powerpc64/power6/wcschr.c: New file.
27650         * powerpc64/power6/wcscpy.c: New file.
27651         * powerpc64/power6/wcsrchr.c: New file.
27652
27653 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27654
27655         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27656         (two_way_short_needle): Use it.
27657         * string/strstr.c (AVAILABLE1_USES_J): Define.
27658         * string/strcasestr.c: Likewise.
27659
27660         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27661         array references.
27662         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27663
27664         [BZ #11607]
27665         * NEWS: Add an entry.
27666         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27667         define their defaults.
27668         (two_way_short_needle): Detect end-of-string on-the-fly.
27669         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27670         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27671         * string/bug-strcasestr1.c: New test.
27672         * string/Makefile: Run it.
27673
27674 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27675
27676         [BZ #11607]
27677         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27678         the first character.
27679
27680 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27681
27682         * csu/elf-init.c (__libc_csu_irel): Function removed.
27683         * csu/libc-start.c (apply_irel): New function.
27684         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27685
27686 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27687
27688         * sysdeps/unix/sysv/linux/kernel-features.h
27689         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27690         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27691         <kernel-features.h>.
27692         [__NR_fadvise64_64]: Make code unconditional.
27693         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27694         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27695         !__NR_fadvise64_64)]: Likewise.
27696         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27697         !__NR_fadvise64_64))]: Likewise.
27698         [__NR_fadvise64]: Make code unconditional.
27699         [!__NR_fadvise64]: Remove conditional code.
27700         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27701         <kernel-features.h>.
27702         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27703         unconditional.
27704         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27705         conditional code.
27706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27707         not include <kernel-features.h>.
27708         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27709         unconditional.
27710         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27711         conditional code.
27712         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27713         include <kernel-features.h>.
27714         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27715         unconditional.
27716         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27717         conditional code.
27718
27719 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27720
27721         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27722         slight instruction rearrangements per scrollpipe analysis.
27723         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27724
27725 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27726
27727         * manual/syslog.texi (syslog; vsyslog, closelog):
27728         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27729         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27730
27731         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27732         DSOCAPS to match condition on defining it.
27733
27734 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27735
27736         * sysdeps/unix/sysv/linux/kernel-features.h
27737         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27739         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27740         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27742         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27743         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27745         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27746         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27747
27748         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27749         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27750
27751         * sysdeps/unix/sysv/linux/kernel-features.h
27752         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27753         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27754         unconditional.
27755         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27756         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27757         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27758         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27759         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27760         Make code unconditional.
27761         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27762         (__mmap64) [!__NR_mmap2]: Likewise.
27763         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27764         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27765         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27766         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27767         [__NR_mmap2]: Make code unconditional.
27768         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27769         (__mmap64) [!__NR_mmap2]: Likewise.
27770
27771 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27772
27773         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27774
27775 2012-08-18  Andreas Jaeger  <aj@suse.de>
27776
27777         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27778
27779 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27780
27781         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27782         * include/unistd.h (__have_sock_cloexec): Likewise.
27783         (__have_pipe2): Likewise.
27784         (__have_dup3): Likewise.
27785
27786 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27787
27788         [BZ #9685]
27789         * include/unistd.h (__have_pipe2): Change define into an extern int.
27790         (__have_dup3): Likewise.
27791         * socket/have_sock_cloexec.c: Include fcntl.h.
27792         (__have_pipe2): New variable.
27793         (__have_dup3): Likewise.
27794
27795 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27796
27797         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27798
27799 2012-08-17  Marek Polacek  <polacek@redhat.com>
27800
27801         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27802         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27803
27804 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27805
27806         * configure.in: Add AC_SUBST for sysheaders.
27807         * configure: Regenerated.
27808         * config.make.in (sysheaders): New substituted variable.
27809
27810         * sysdeps/unix/mkfifo.c: Moved ...
27811         * sysdeps/posix/mkfifo.c: ... here.
27812         * sysdeps/unix/mkfifoat.c: Moved ...
27813         * sysdeps/posix/mkfifoat.c: ... here.
27814
27815         * sysdeps/unix/utime.c: Moved ...
27816         * sysdeps/posix/utime.c: ... here.
27817
27818         * sysdeps/unix/time.c: Moved ...
27819         * sysdeps/posix/time.c: ... here.
27820         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27821         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27822
27823         * sysdeps/unix/nice.c: Moved ...
27824         * sysdeps/posix/nice.c: ... here.
27825
27826         * sysdeps/unix/alarm.c: Moved ...
27827         * sysdeps/posix/alarm.c: ... here.
27828
27829         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27830
27831 2012-08-17  Jeff Law <law@redhat.com>
27832
27833         * intl/Makefile (codeset_mo): New variable.
27834         ($(codeset_mo)): New target.
27835         (tst-codeset.out): Depend on that.  Remove explicit rule.
27836         (tst-gettext3.out, tst-gettext5.out): Likewise.
27837         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27838         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27839         * intl/tst-codeset.sh: Remove.
27840         * intl/tst-gettext3.sh: Likewise.
27841         * intl/tst-gettext5.sh: Likewise.
27842
27843 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27844
27845         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27846         * sysdeps/unix/syscalls.list: ... here.
27847
27848         * sysdeps/posix/getaddrinfo.c
27849         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27850         (gaiconf_init, gaiconf_reload): Use them.
27851         [!_STATBUF_ST_NSEC]
27852         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27853         Define using time_t rather than struct timespec.
27854
27855         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27856         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27857         Macros removed.
27858         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27859         [!NO_THREADS].
27860         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27861         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27862         Likewise.
27863
27864         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27865         __libc_cleanup_push argument.
27866
27867         * bits/param.h: New file.
27868         * misc/sys/param.h: New file.
27869         * include/sys/param.h: New file.
27870         * misc/Makefile (headers): Add bits/param.h.
27871         * sysdeps/generic/sys/param.h: File removed.
27872         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27873         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27874         * sysdeps/mach/hurd/bits/param.h: New file.
27875         * sysdeps/mach/hurd/sys/param.h: File removed.
27876
27877         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27878         last change.
27879
27880         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27881         [_IO_MTSAFE_IO].
27882         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27883         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27884         New macros.
27885
27886         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27887         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27888         rather than -D_IO_MTSAFE_IO conditionally.
27889         * stdio-common/Makefile (CPPFLAGS): Likewise.
27890         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27891         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27892         Use $(libio-mtsafe).
27893         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27894         of -D_IO_MTSAFE_IO.
27895         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27896         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27897         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27898         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27899         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27900         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27901         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27902         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27903         (CFLAGS-fread_u_chk.c): Likewise.
27904         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27905         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27906         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27907         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27908         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27909         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27910         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27911         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27912         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27913
27914         * libio/Makefile: Test [$(libc-reentrant) = yes]
27915         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27916
27917         * Makeconfig
27918         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27919         * sysdeps/pthread/configure: File removed.
27920         * sysdeps/pthread/Makeconfig: New file.
27921         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27922         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27923
27924 2012-08-16  Gary Benson  <gbenson@redhat.com>
27925
27926         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27927         unmapping the first object in a namespace.
27928
27929 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27930
27931         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27932         (__internal_setnetgrent): ... this.  Add internal_function to
27933         definition.  Add libc_hidden_def.
27934         (setnetgrent): Update caller.
27935         (internal_endnetgrent): Renamed to ...
27936         (__internal_endnetgrent): ... this.  Add internal_function to
27937         definition.  Add libc_hidden_def.
27938         (endnetgrent): Update caller.
27939         (internal_getnetgrent_r): Renamed to ...
27940         (__internal_getnetgrent_r): ... this.  Add internal_function to
27941         definition.  Add libc_hidden_def.
27942         (__getnetgrent_r): Update caller.
27943         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27944
27945 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27946
27947         * stdlib/longlong.h: Update from GCC.
27948
27949 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27950
27951         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27952         on _QL, which is set by umul_ppmm but never used.
27953         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27954         variables, which are set by GMP macros but never used.
27955         * stdio-common/_itowa.c (_itowa): Likewise.
27956         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27957         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27958
27959 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27960
27961         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27962         struct La_sh_regs is not constant.
27963         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27964         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27965         and struct La_sparc64_regs are not constant.
27966
27967 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27968
27969         * sysdeps/unix/sysv/linux/kernel-features.h
27970         (__ASSUME_POSIX_TIMERS): Remove.
27971         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27972         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27973         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27974         Make code unconditional.
27975         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27976         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27977         Make code unconditional.
27978         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27979         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27980         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27981         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27982         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27983         Make code unconditional.
27984         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27985         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27986         (__libc_missing_posix_timers): Remove.
27987
27988 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27989
27990         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27991         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27992
27993         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27994
27995         * elf/dl-sym.c: Include <stdlib.h>.
27996
27997         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27998         constants, which avoids warnings in 32-bit builds.
27999
28000         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28001         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28002
28003         * misc/lseek.c: File moved to ...
28004         * io/lseek.c: ... here.
28005
28006         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28007
28008         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28009         shifting LEN more than 31 bits at once.
28010
28011 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28012
28013         [BZ #14195]
28014         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28015         segmentation fault for a case of two empty input strings.
28016         * string/test-strncasecmp.c (check1): Renamed to...
28017         (bz12205): ...this.
28018         (bz14195): Add new testcase for two empty input strings and N > 0.
28019         (test_main): Call new testcase, adapt for renamed function.
28020
28021 2012-08-15  Andreas Jaeger  <aj@suse.de>
28022
28023         [BZ #14090]
28024         * crypt/md5test2.c: New test, based on test supplied by Serge
28025         Belyshev <belyshev@depni.sinp.msu.ru>.
28026         * crypt/Makefile (xtests): Add md5test-giant..
28027         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28028
28029 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28030
28031         [BZ #14090]
28032         * crypt/md5.c (md5_process_block): Don't assume the buffer
28033         length is less than 2**32.
28034         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28035         length is less than 2**64.
28036
28037 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28038
28039         * string/str-two-way.h: Include <sys/param.h>.
28040         (MAX): Macro removed.
28041
28042         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28043         Move #define and #undef of memmove to just before and after
28044         including <string.h>.
28045
28046         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28047         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28048         and after including <string.h>.  Move declarations of
28049         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28050         to before #include "string/memmove.c".
28051
28052         * include/dirent.h: Declare __getdirentries.
28053
28054         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28055         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28056
28057 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28058
28059         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28060         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28061         * sysdeps/i386/configure: Regenerated.
28062         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28063         STABS_CURRENT_FILE, and STABS_FUN.
28064         (END): Remove call to STABS_FUN_END.
28065         (STABS_CURRENT_FILE1): Delete.
28066         (STABS_CURRENT_FILE): Likewise.
28067         (STABS_FUN): Likewise.
28068         (STABS_FUN_END): Likewise.
28069         (STABS_FUN2): Likewise.
28070         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28071         * sysdeps/x86_64/configure: Regenerated.
28072
28073 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28074
28075         * elf/dl-open.c: Include <atomic.h>.
28076         * elf/dl-lookup.c: Likewise.
28077
28078 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28079
28080         * sysdeps/unix/sysv/linux/kernel-features.h
28081         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28082         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28083         unconditionally.
28084         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28085         unconditionally.
28086         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28087         condition on __ASSUME_CLONE_THREAD_FLAGS.
28088
28089 2012-08-14  Andreas Jaeger  <aj@suse.de>
28090
28091         * sysdeps/i386/fpu/libm-test-ulps: Update.
28092
28093 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28094
28095         * include/atomic.h (atomic_exchange_and_add): Split into ...
28096         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28097         New atomic macros.
28098
28099 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28100
28101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28102
28103 2012-08-13  Jeff Law <law@redhat.com>
28104
28105         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28106         null byte in the output string.
28107
28108 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28109
28110         * sysdeps/unix/sysv/linux/kernel-features.h
28111         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28112         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28113         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28114         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28115         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28116         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28117         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28118
28119 2012-08-09  Jeff Law <law@redhat.com>
28120
28121         [BZ #13939]
28122         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28123         When avoid_arena is set, don't retry in the that arena.  Pick the
28124         next one, whatever it might be.
28125         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28126         (arena_lock): Pass in new parameter to arena_get2.
28127         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28128         arena_get2.
28129         (__libc_malloc): Unify retrying after main arena failure with
28130         __libc_memalign version.
28131         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28132
28133 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28134
28135         [BZ #14166]
28136         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28137         to __redirect_strstr.
28138         (__strstr_sse42): Use typeof __redirect_strstr.
28139         (__strstr_ia32): Likewise.
28140         (__libc_strstr): New prototype.
28141         (strstr): Renamed to ...
28142         (__libc_strstr): This.
28143         (strstr): New strong alias of __libc_strstr.
28144         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28145         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28146         __redirect_time.
28147         Include <time.h>.
28148         (__libc_time): New prototype.
28149         (time_ifunc): Replace time with __libc_time.
28150         (time): New strong alias and hidden definition of __libc_time.
28151         (__GI_time): Remove strong alias.
28152         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28153         Include <stddef.h>.
28154         (memmove): Redefined to __redirect_memmove.
28155         (__memmove_sse2): Use typeof __redirect_memmove.
28156         (__memmove_ssse3): Likewise.
28157         (__memmove_ssse3_back): Likewise.
28158         (__libc_memmove): New prototype.
28159         (memmove): Renamed to ...
28160         (__libc_memmove): This.
28161         (memmove): New strong alias of __libc_memmove.
28162
28163 2012-08-08  Mark Salter  <msalter@redhat.com>
28164
28165         * elf/elf.h
28166         (R_MN10300_TLS_GD): Define.
28167         (R_MN10300_TLS_LD): Likewise.
28168         (R_MN10300_TLS_LDO): Likewise.
28169         (R_MN10300_TLS_GOTIE): Likewise.
28170         (R_MN10300_TLS_IE): Likewise.
28171         (R_MN10300_TLS_LE): Likewise.
28172         (R_MN10300_TLS_DTPMOD): Likewise.
28173         (R_MN10300_TLS_DTPOFF): Likewise.
28174         (R_MN10300_TLS_TPOFF): Likewise.
28175         (R_MN10300_SYM_DIFF): Likewise.
28176         (R_MN10300_ALIGN): Likewise.
28177         (R_MN10300_NUM): Update.
28178
28179 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28180
28181         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28182         Remove.
28183
28184 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28185
28186         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28187
28188         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28189         sysdeps/unix -> sysdeps/posix move.
28190         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28191
28192 2012-08-07      Allan McRae     <allan@archlinux.org>
28193
28194         [BZ #14303]
28195         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28196         (SUNOS_CPP): Likewise.
28197         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28198         not found.
28199         (open_input): Call CPP using execvp.
28200
28201 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28202
28203         * sysdeps/unix/sysv/linux/kernel-features.h
28204         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28205         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28206         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28207         (__ASSUME_WAITID_SYSCALL): Likewise.
28208         * sysdeps/unix/sysv/linux/dl-execstack.c
28209         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28210         code unconditional.
28211         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28212         conditional code.
28213         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28214         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28215         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28216         code.
28217         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28218         unconditional.
28219         [__ASSUME_WAITID_SYSCALL]: Likewise.
28220         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28221
28222 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28223
28224         * sysdeps/unix/closedir.c: Renamed to ...
28225         * sysdeps/posix/closedir.c: ... here.
28226         * sysdeps/unix/dirfd.c: Renamed to ...
28227         * sysdeps/posix/dirfd.c: ... here.
28228         * sysdeps/unix/dirstream.h: Renamed to ...
28229         * sysdeps/posix/dirstream.h: ... here.
28230         * sysdeps/unix/fdopendir.c: Renamed to ...
28231         * sysdeps/posix/fdopendir.c: ... here.
28232         * sysdeps/unix/opendir.c: Renamed to ...
28233         * sysdeps/posix/opendir.c: ... here.
28234         * sysdeps/unix/readdir.c: Renamed to ...
28235         * sysdeps/posix/readdir.c: ... here.
28236         * sysdeps/unix/readdir_r.c: Renamed to ...
28237         * sysdeps/posix/readdir_r.c: ... here.
28238         * sysdeps/unix/rewinddir.c: Renamed to ...
28239         * sysdeps/posix/rewinddir.c: ... here.
28240         * sysdeps/unix/seekdir.c: Renamed to ...
28241         * sysdeps/posix/seekdir.c: ... here.
28242         * sysdeps/unix/telldir.c: Renamed to ...
28243         * sysdeps/posix/telldir.c: ... here.
28244         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28245         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28246         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28247         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28248
28249         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28250         * bits/fcntl.h: ... here.
28251
28252         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28253         not 0.
28254         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28255         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28256         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28257         (struct flock): Move l_start, l_len to the beginning.
28258         Use __pid_t for l_pid.
28259         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28260         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28261         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28262         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28263         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28264         [__USE_LARGEFILE64] (struct flock64): New type.
28265         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28266
28267         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28268         * bits/dirent.h: ... here.
28269
28270         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28271         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28272
28273 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28274
28275         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28276         Change from 2.6.0 to 2.6.16.
28277         * sysdeps/unix/sysv/linux/configure: Regenerated.
28278         * sysdeps/unix/sysv/linux/kernel-features.h
28279         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28280         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28281         version.
28282         (__ASSUME_UTIMES): Likewise.
28283         (__ASSUME_CLONE_STOPPED): Remove.
28284         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28285         architectures, not kernel version.
28286         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28287         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28288         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28289         (__ASSUME_WAITID_SYSCALL): Likewise.
28290         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28291         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28292         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28293         refer to older versions.
28294
28295 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28296
28297         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28298         Define alphasort64 as an alias.
28299         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28300         Define versionsort64 as an alias.
28301         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28302         Define scandir64 as an alias.
28303         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28304         Define scandirat64 as an alias.
28305         * dirent/alphasort64.c (alphasort64):
28306         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28307         * dirent/versionsort64.c: Likewise.
28308         * dirent/scandir64.c: Likewise.
28309         * dirent/scandirat64.c: Likewise.
28310         * sysdeps/wordsize-64/alphasort.c: File removed.
28311         * sysdeps/wordsize-64/alphasort64.c: File removed.
28312         * sysdeps/wordsize-64/scandir.c: File removed.
28313         * sysdeps/wordsize-64/scandir64.c: File removed.
28314         * sysdeps/wordsize-64/scandirat.c: File removed.
28315         * sysdeps/wordsize-64/scandirat64.c: File removed.
28316         * sysdeps/wordsize-64/versionsort.c: File removed.
28317         * sysdeps/wordsize-64/versionsort64.c: File removed.
28318         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28319         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28320         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28321         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28322         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28323         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28324         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28325         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28326
28327         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28328         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28329         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28330         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28331         [defined __arch64__ || defined __sparcv9]
28332         (__INO_T_MATCHES_INO64_T): New macro.
28333         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28334         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28335         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28336         * sysdeps/unix/sysv/linux/bits/dirent.h
28337         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28338         (_DIRENT_MATCHES_DIRENT64): New macro.
28339
28340         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28341         Define lockf64 as an alias.
28342         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28343         Define fseeko64 as an alias.
28344         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28345         Define ftello64 as an alias.
28346         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28347         Define _IO_fgetpos64 and fgetpos64 as aliases.
28348         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28349         Define _IO_fsetpos64 and fsetpos64 as aliases.
28350         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28351         Conditionalize body on this.
28352         * libio/fseeko64.c: Likewise.
28353         * libio/ftello64.c: Likewise.
28354         * libio/iofgetpos64.c: Likewise.
28355         * libio/iofsetpos64.c: Likewise.
28356         * sysdeps/wordsize-64/lockf.c: File removed.
28357         * sysdeps/wordsize-64/lockf64.c: File removed.
28358         * sysdeps/wordsize-64/fseeko.c: File removed.
28359         * sysdeps/wordsize-64/fseeko64.c: File removed.
28360         * sysdeps/wordsize-64/ftello.c: File removed.
28361         * sysdeps/wordsize-64/ftello64.c: File removed.
28362         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28363         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28364         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28365         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28366         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28367         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28368         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28369         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28370         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28371         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28372         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28373         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28374         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28375         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28376
28377         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28378         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28379         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28380         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28381         [defined __arch64__ || defined __sparcv9]
28382         (__OFF_T_MATCHES_OFF64_T): New macro.
28383         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28384         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28385         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28386         (__OFF_T_MATCHES_OFF64_T): New macro.
28387
28388 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28389
28390         * stdlib/secure-getenv.c (__secure_getenv): Replace
28391         GLIBC_2_16 with GLIBC_2_17.
28392
28393 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28394
28395         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28396         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28397
28398 2012-08-03  David S. Miller  <davem@davemloft.net>
28399
28400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28401
28402 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28403
28404         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28405         Remove.
28406         (__ASSUME_CORRECT_SI_PID): Likewise.
28407         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28408         (__ASSUME_TMPFS_NAME): Likewise.
28409         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28410         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28411         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28412         (HAVE_AUX_SECURE): Make definition unconditional.
28413         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28414         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28415
28416 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28417
28418         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28419         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28420         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28421         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28422         __eloop_threshold instead of SYMLOOP_MAX.
28423
28424         * sysdeps/generic/eloop-threshold.h: New file.
28425         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28426         of MAXSYMLINKS.
28427         * elf/chroot_canon.c (chroot_canon): Likewise.
28428
28429 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28430
28431         [BZ #13717]
28432         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28433         Change to 2.6.0 everywhere.
28434         * sysdeps/unix/sysv/linux/configure: Regenerated.
28435         * sysdeps/unix/sysv/linux/kernel-features.h
28436         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28437         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28438         kernel versions.
28439         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28440         (__ASSUME_FUTEX_REQUEUE): Remove.
28441         (__ASSUME_STATFS64): Define unconditionally.
28442         (__ASSUME_AT_SECURE): Likewise.
28443         (__ASSUME_CORRECT_SI_PID): Likewise.
28444         (__ASSUME_TGKILL): Define without depending on kernel version for
28445         i386.
28446         (__ASSUME_UTIMES): Likewise.
28447         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28448         kernel version.
28449         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28450         (__ASSUME_TMPFS_NAME): Likewise.
28451         * README: Update reference to Linux kernel versions.
28452
28453 2012-08-02  Marek Polacek  <polacek@redhat.com>
28454
28455         [BZ# 14150]
28456         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28457         libc_cv_asm_type_prefix with %.
28458         * configure: Regenerated.
28459         * include/libc-symbols.h: Remove comment about
28460         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28461         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28462         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28463         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28464         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28465         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28466         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28467         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28468         * elf/tst-unique2mod1.c: Likewise.
28469         * elf/tst-unique1mod2.c: Likewise.
28470         * elf/tst-unique1mod1.c: Likewise.
28471         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28472         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28473         Replace ASM_TYPE_DIRECTIVE with .type.
28474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28475         * sysdeps/i386/sysdep.h: Likewise.
28476         * sysdeps/x86_64/sysdep.h: Likewise.
28477         * sysdeps/sh/sysdep.h: Likewise.
28478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28479         Do not define ASM_TYPE_DIRECTIVE.
28480         * sysdeps/powerpc/sysdep.h: Likewise.
28481         * sysdeps/powerpc/powerpc32/sysdep.h:
28482         Replace ASM_TYPE_DIRECTIVE with .type.
28483         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28484         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28485         * sysdeps/i386/fpu/e_powf.S: Likewise.
28486         * sysdeps/i386/fpu/e_expl.S: Likewise.
28487         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28488         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28489         * sysdeps/i386/fpu/e_pow.S: Likewise.
28490         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28491         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28492         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28493         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28494         * sysdeps/i386/fpu/e_log2.S: Likewise.
28495         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28496         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28497         * sysdeps/i386/fpu/e_powl.S: Likewise.
28498         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28499         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28500         * sysdeps/i386/fpu/e_logl.S: Likewise.
28501         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28502         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28503         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28504         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28505         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28506         * sysdeps/i386/fpu/e_log.S: Likewise.
28507         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28508         * sysdeps/i386/fpu/e_logf.S: Likewise.
28509         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28510         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28511         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28512         * sysdeps/i386/fpu/e_log10.S: Likewise.
28513         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28514         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28515         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28516         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28517         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28518         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28519         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28520         * sysdeps/i386/i686/strtok.S: Likewise.
28521         * sysdeps/i386/i386-mcount.S: Likewise.
28522         * sysdeps/i386/strtok.S: Likewise.
28523         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28524         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28525         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28526         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28527         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28528         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28529         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28530         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28531         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28532         * sysdeps/x86_64/_mcount.S: Likewise.
28533         * sysdeps/x86_64/strtok.S: Likewise.
28534         * sysdeps/sh/_mcount.S: Likewise.
28535
28536 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28537
28538         * libio/iofopen.c: Include <fcntl.h>.
28539         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28540         (_IO_fopen64, fopen64): Define as aliases.
28541         * libio/iofopen64.c: Include <fcntl.h>.
28542         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28543         Conditionalize body on this.
28544         * sysdeps/wordsize-64/iofopen.c: File removed.
28545         * sysdeps/wordsize-64/iofopen64.c: File removed.
28546
28547 2012-08-01  Marek Polacek  <polacek@redhat.com>
28548
28549         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28550         Use dlfcn directly instead of a variable.
28551         (binfmt-subdir): Do not define.
28552         (dlfcn): Likewise.
28553
28554 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28555
28556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28557         Remove all definitions.
28558         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28559         <kernel-features.h>.
28560         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28561         (miss_F_GETOWN_EX): Remove all definitions.
28562         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28563         macro definition.
28564         [!__ASSUME_FCNTL64]: Remove conditional code.
28565         [__ASSUME_FCNTL64]: Make code unconditional.
28566         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28567         <kernel-features.h>.
28568         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28569         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28570         (lockf64) [__NR_fcntl64]: Make code unconditional.
28571         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28572
28573         * sysdeps/unix/sysv/linux/kernel-features.h
28574         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28575         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28576         Make code unconditional.
28577         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28578         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28580         [__NR_vfork]: Make code unconditional.
28581         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28582         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28584         [__NR_vfork]: Make code unconditional.
28585         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28586         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28587
28588 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28589
28590         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28591         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28592
28593         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28594         Define mkstemp64 as an alias.
28595         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28596         Define mkstemps64 as an alias.
28597         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28598         Define mkostemp64 as an alias.
28599         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28600         Define mkostemps64 as an alias.
28601         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28602         Conditionalize body on this.
28603         * misc/mkostemp64.c: Likewise.
28604         * misc/mkostemps64.c: Likewise.
28605         * misc/mkstemps64.c: Likewise.
28606         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28607         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28608         * sysdeps/wordsize-64/mkostemp.c: File removed.
28609         * sysdeps/wordsize-64/mkstemp.c: File removed.
28610         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28611         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28612         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28613         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28614
28615         [BZ #14138]
28616         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28617         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28618         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28619         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28620
28621         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28622         compat_symbol macros from <shlib-compat.h> rather than the underlying
28623         default_symbol_version and symbol_version macros, so that DEFAULT
28624         lines in shlib-versions are respected.
28625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28626
28627 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28628
28629         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28630         Declare with warn_unused_result.
28631         (setgid, setregid, setegid, setresgid): Likewise.
28632         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28633         Likewise.
28634         * WUR-REPORT: Remove set*id functions.
28635
28636 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28637
28638         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28639
28640 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28641
28642         [BZ #10191]
28643         * include/sys/socket.h (__libc_accept, __libc_accept4):
28644         Add attribute_hidden.
28645         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28646
28647         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28648         use of PTR_MANGLE.
28649         * inet/getnetgrent_r.c (setup): Likewise.
28650
28651         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28652
28653 2012-07-31  David S. Miller  <davem@davemloft.net>
28654
28655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28656
28657 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28658
28659         [BZ #13629]
28660         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28661         value between 1.0 and 2.0 and smaller part has absolute value less
28662         than 1.0.
28663         * math/s_clog10.c (__clog10): Likewise.
28664         * math/s_clog10f.c (__clog10f): Likewise.
28665         * math/s_clog10l.c (__clog10l): Likewise.
28666         * math/s_clogf.c (__clogf): Likewise.
28667         * math/s_clogl.c (__clogl): Likewise.
28668         * math/libm-test.inc (clog_test): Add more tests.
28669         (clog10_test): Likewise.
28670         * sysdeps/i386/fpu/libm-test-ulps: Update.
28671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28672
28673 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28674
28675         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28676         Exit with zero in case no suitable GID is found, and write a
28677         message to standard error.
28678
28679 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28680
28681         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28682         rather than to 1.
28683         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28684         (MAXPATHLEN): Removed.
28685         (NOGROUP, NODEV): New macros.
28686         (setbit, clrbit, isset, isclr): New macros.
28687         (howmany, roundup, powerof2): New macros.
28688         (DEV_BSIZE): New macro.
28689
28690         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28691         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28692
28693         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28694         definition on [!__NO_LONG_DOUBLE_MATH].
28695
28696         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28697         PTR_MANGLE and PTR_DEMANGLE.
28698
28699         * socket/accept4.c (accept4): Rename to __libc_accept4.
28700         Define accept4 as a weak alias.
28701
28702         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28703         on [_DIRENT_HAVE_D_TYPE].
28704         * io/ftw.c (ftw_dir): Likewise.
28705
28706         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28707
28708         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28709
28710         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28711         Use the BSD numbers rather than the arbitrary ones we had.
28712         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28713         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28714         (SIGXCPU, SIGXFSZ): New macros.
28715         (_NSIG): Now 32.
28716
28717         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28718         initializer on [_LIBC_REENTRANT].
28719
28720         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28721         definitions inside [_POSIX_MAPPED_FILES].
28722
28723         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28724
28725         * dirent/opendir.c: Include <fcntl.h>.
28726
28727         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28728         (__libc_getspecific): Likewise.
28729         (__libc_key_create): Likewise.
28730
28731         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28732         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28733         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28734         (tmpfile64): Define as alias.
28735         * sysdeps/wordsize-64/tmpfile.c: File removed.
28736         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28737         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28738         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28739
28740         * stdio-common/vfscanf.c: Include <stdbool.h>.
28741         * nss/makedb.c: Likewise.
28742         * stdio-common/_i18n_number.h: Likewise.
28743         * argp/argp-help.c: Likewise.
28744         * posix/wordexp.c: Likewise.
28745         * sysdeps/posix/spawni.c: Likewise.
28746         * nss/nss_files/files-initgroups.c: Likewise.
28747         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28748         * nss/nss_files/files-initgroups.c: Likewise.
28749         * nss/nss_db/db-netgrp.c: Likewise.
28750         * nss/nss_db/db-initgroups.c: Likewise.
28751         * io/fchmodat.c: Include <sys/stat.h>.
28752
28753         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28754         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28755
28756         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28757         [HAVE_MMAP].
28758
28759         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28760         Add multiple inclusion protection.
28761
28762 2012-07-27  David S. Miller  <davem@davemloft.net>
28763
28764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28765
28766 2012-07-27  Gary Benson  <gbenson@redhat.com>
28767
28768         [BZ #14298]
28769         * elf/rtld.c: Include <stap-probe.h>.
28770         (dl_main): Added static probes "init_start" and "init_complete".
28771         * elf/dl-load.c: Include <stap-probe.h>.
28772         (lose): Take new parameter "nsid".
28773         Added static probe "map_failed".
28774         (_dl_map_object_from_fd): Pass namespace id to lose.
28775         Added static probe "map_start".
28776         (open_verify): Pass namespace id to lose.
28777         * elf/dl-open.c: Include <stap-probe.h>.
28778         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28779         and "reloc_complete".
28780         * elf/dl-close.c: Include <stap-probe.h>.
28781         (_dl_close_worker): Added static probes "unmap_start" and
28782         "unmap_complete".
28783         * elf/rtld-debugger-interface.txt: New file documenting the above.
28784
28785 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28786
28787         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28788         rather than a string variable.
28789         * sunrpc/rpc_main.c (h_output): Likewise.
28790         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28791
28792 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28793
28794         * inet/check_native.c: New file.
28795
28796 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28797
28798         [BZ #13629]
28799         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28800         if larger part has absolute value 1.0.
28801         * math/s_clog10.c (__clog10): Likewise.
28802         * math/s_clog10f.c (__clog10f): Likewise.
28803         * math/s_clog10l.c (__clog10l): Likewise.
28804         * math/s_clogf.c (__clogf): Likewise.
28805         * math/s_clogl.c (__clogl): Likewise.
28806         * math/libm-test.inc (clog_test): Add more tests.
28807         (clog10_test): Likewise.
28808         * sysdeps/i386/fpu/libm-test-ulps: Update.
28809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28810
28811         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28812         (pltexit): Likewise.
28813         (La_regs): Likewise.
28814         (La_retval): Likewise.
28815         (int_retval): Likewise.
28816         Update #error for removed macros to refer only to definitions in
28817         tst-audit.h.
28818         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28819         macro.
28820         (pltexit): Likewise.
28821         (La_regs): Likewise.
28822         (La_retval): Likewise.
28823         (int_retval): Likewise.
28824         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28825         macro.
28826         (pltexit): Likewise.
28827         (La_regs): Likewise.
28828         (La_retval): Likewise.
28829         (int_retval): Likewise.
28830         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28831         macro.
28832         (pltexit): Likewise.
28833         (La_regs): Likewise.
28834         (La_retval): Likewise.
28835         (int_retval): Likewise.
28836         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28837         macro.
28838         (pltexit): Likewise.
28839         (La_regs): Likewise.
28840         (La_retval): Likewise.
28841         (int_retval): Likewise.
28842         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28843         macro.
28844         (pltexit): Likewise.
28845         (La_regs): Likewise.
28846         (La_retval): Likewise.
28847         (int_retval): Likewise.
28848         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28849         macro.
28850         (pltexit): Likewise.
28851         (La_regs): Likewise.
28852         (La_retval): Likewise.
28853         (int_retval): Likewise.
28854         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28855         macro definitions in tst-audit.h.
28856         * sysdeps/i386/tst-audit.h: New file.
28857         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28858         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28859         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28860         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28861         * sysdeps/sh/tst-audit.h: Likewise.
28862         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28863         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28864         * sysdeps/x86_64/tst-audit.h: Likewise.
28865
28866 2012-07-26  Andreas Jaeger  <aj@suse.de>
28867
28868         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28869         ptrace.
28870
28871         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28872         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28873         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28874         PTRACE_O_MASK.
28875         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28876         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28877         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28878
28879         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28880         value.
28881
28882         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28883         _sigsys.
28884         (si_call_addr, si_syscall, si_arch): Define new macro.
28885         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28886         _sigsys.
28887         (si_call_addr, si_syscall, si_arch): Define new marcro.
28888         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28889         _sigsys.
28890         (si_call_addr, si_syscall, si_arch): Define new macro.
28891         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28892         _sigsys.
28893         (si_call_addr, si_syscall, si_arch): Define new macro.
28894
28895 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28896
28897         [BZ #13717]
28898         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28899         Change to 2.4.21 where previously 2.4.1.
28900         * sysdeps/unix/sysv/linux/configure: Regenerated.
28901         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28902         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28903         Linux kernel version.
28904         (__ASSUME_STD_AUXV): Remove.
28905         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28906         kernel version.
28907         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28908         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28909         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28910         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28911         (__ASSUME_NETLINK_SUPPORT): Likewise.
28912         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28913         (__no_netlink_support): Remove conditional definition.
28914         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28915         Remove.
28916         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28917         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28918         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28919         (if_nameindex_ioctl): Remove.
28920         (if_nameindex_netlink): Do not handle __no_netlink_support.
28921         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28922         code.
28923         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28924         Remove conditional code.
28925         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28926         code.
28927         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28928         unconditional.
28929         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28930         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28931         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28932         Remove.
28933         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28934         [!__ASSUME_STD_AUXV]: Remove conditional code.
28935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28936         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28937         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28939         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28940         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28941         code.
28942         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28944         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28945         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28946         conditional code.
28947         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28949         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28950         code.
28951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28952         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28953         conditional code.
28954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28955         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28956         code unconditional.
28957         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28958         conditional code.
28959         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28960         unconditional.
28961         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28962         conditional code.
28963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28964         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28965         unconditional.
28966         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28967         conditional code.
28968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28969         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28970         code unconditional.
28971         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28972         conditional code.
28973         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28974         unconditional.
28975         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28976         conditional code.
28977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28978         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28979         code unconditional.
28980         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28981         conditional code.
28982         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28983         unconditional.
28984         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28985         conditional code.
28986
28987 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
28988
28989         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28990         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28991         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28992         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28993         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28994         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28995         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28996         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28997         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28998         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28999         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29000         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29001         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29002         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29003         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29004         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29005         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29006         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29007         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29009         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29010         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29011         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29012
29013 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29014
29015         * Versions.def: Add GLIBC_2.17.
29016         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29017         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29018         Introduce __libc_secure_getenv.
29019         * stdlib/Versions (2.17): Add secure_getenv
29020         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29021         * stdlib/secure-getenv.c: Rename __secure_getenv to
29022         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29023         symbol __secure_getenv for GLIBC_2.0.
29024         * stdlib/tst-secure-getenv.c: New.
29025         * stdlib/Makefile (tests): Add testcase.
29026         * manual/startup.texi (Environment Access): Document
29027         secure_getenv.
29028         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29029         __libc_secure_getenv.
29030         * inet/ruserpass.c (ruserpass): Likewise.
29031         * malloc/mtrace.c (mtrace): Likewise.
29032         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29033         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29034         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29035         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29036         HAVE_SECURE_GETENV.
29037         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29038         __secure_getenv to __libc_secure_getenv.
29039         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29041         Likewise.
29042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29043         Likewise.
29044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29046         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29051
29052 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29053
29054         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29055         (struct La_i86_retval): Likewise.
29056         (struct La_x86_64_regs): Likewise.
29057         (struct La_x86_64_retval): Likewise.
29058         (struct La_x32_regs): Likewise.
29059         (struct La_x32_retval): Likewise.
29060         (struct La_ppc32_regs): Likewise.
29061         (struct La_ppc32_retval): Likewise.
29062         (struct La_ppc64_regs): Likewise.
29063         (struct La_ppc64_retval): Likewise.
29064         (struct La_sh_regs): Likewise.
29065         (struct La_sh_retval): Likewise.
29066         (struct La_s390_32_regs): Likewise.
29067         (struct La_s390_32_retval): Likewise.
29068         (struct La_s390_64_regs): Likewise.
29069         (struct La_s390_64_retval): Likewise.
29070         (struct La_sparc32_regs): Likewise.
29071         (struct La_sparc32_retval): Likewise.
29072         (struct La_sparc64_regs): Likewise.
29073         (struct La_sparc64_retval): Likewise.
29074         (struct audit_ifaces): Remove architecture-specific pltenter and
29075         pltexit members.
29076         * sysdeps/i386/ldsodefs.h: New file.
29077         * sysdeps/powerpc/ldsodefs.h: Likewise.
29078         * sysdeps/s390/ldsodefs.h: Likewise.
29079         * sysdeps/sh/ldsodefs.h: Likewise.
29080         * sysdeps/sparc/ldsodefs.h: Likewise.
29081         * sysdeps/x86_64/ldsodefs.h: Likewise.
29082
29083 2012-07-25  Marek Polacek  <polacek@redhat.com>
29084
29085         [BZ #6808]
29086         * math/libm-test.inc (yn_test): Add another test.
29087         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29088         to ERANGE when the result is +-Inf.
29089         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29090         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29091         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29092         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29093
29094 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29095
29096         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29097         equal to 0.
29098         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29099         clock_t.
29100         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29101
29102 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29103
29104         * configure.in <sysdeps resolving>: Correct printing
29105         Implies_before.
29106         * configure: Regenerate.
29107
29108 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29109
29110         * math/w_ilogb.c: Include <limits.h>.
29111         * math/w_ilogbl.c: Likewise.
29112
29113 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29114
29115         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29116         va_copy.  Document allowing for unavailable va_copy only as
29117         pre-C99 compatibility.
29118         * manual/string.texi (Copying and Concatenation): Use va_copy
29119         instead of __va_copy in concat example.
29120
29121 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29122
29123         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29124         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29125         it if not null.
29126
29127         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29128         with O_NOLINK passed to __file_name_lookup.
29129
29130         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29131         with O_NOLINK passed to __file_name_lookup.
29132
29133         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29134         negative N or less than NGIDS.
29135
29136         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29137         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29138         enough.  Use memcpy instead of strncpy.
29139
29140 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29141
29142         * elf/Makefile (check-data): Remove.
29143         (localplt.data): New vpath directive.
29144         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29145         instead of $(check-data).
29146         * scripts/data/localplt-generic.data: Move to ...
29147         * sysdeps/generic/localplt.data: ... here.
29148         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29149         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29150         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29152         ... here.
29153         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29155         ... here.
29156         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29158         ... here.
29159         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29161         ... here.
29162         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29164         ... here.
29165         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29167         ... here.
29168
29169 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29170
29171         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29172         PPC32 and PPC64 files.
29173         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29174         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29175
29176 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29177
29178         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29179         __makecontext_ret to ...
29180         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29181         ... here and call exit if uc_link is NULL.  New file.
29182         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29183         __makecontext_ret.S.
29184         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29185         __makecontext_ret to ...
29186         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29187         ... here and call exit if uc_link is NULL.  New file.
29188         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29189         __makecontext_ret.S.
29190
29191 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29192
29193         * elf/elf.h (R_390_IRELATIVE): New definition.
29194         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29195         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29196         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29197         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29198         (elf_machine_lazy_rel): Likewise.
29199         * sysdeps/s390/dl-irel.h: New file.
29200         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29201         * sysdeps/s390/s390-64/memset.S: New asm code.
29202         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29203         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29204         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29205         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29206         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29207         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29208         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29209         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29210         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29211         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29212         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29213         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29214         * sysdeps/s390/s390-32/memset.S: New asm code.
29215         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29216
29217 2012-07-17  Marek Polacek  <polacek@redhat.com>
29218
29219         [BZ #14349]
29220         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29221         * sysdeps/s390/s390-64/configure.in: Likewise.
29222         * sysdeps/sparc/configure.in: Likewise.
29223         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29224         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29225         * sysdeps/i386/configure.in: Likewise.
29226         * sysdeps/x86_64/configure.in: Likewise.
29227         * sysdeps/sh/configure.in: Likewise.
29228         * sysdeps/s390/s390-32/configure: Regenerated.
29229         * sysdeps/s390/s390-64/configure: Likewise.
29230         * sysdeps/x86_64/configure: Likewise.
29231         * sysdeps/sh/configure: Likewise.
29232         * sysdeps/powerpc/powerpc64/configure: Likewise.
29233         * sysdeps/powerpc/powerpc32/configure: Likewise.
29234         * sysdeps/sparc/configure: Likwise.
29235         * sysdeps/i386/configure: Likewise.
29236
29237         * elf/dl-open.c: Comment fixes.
29238
29239 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29240
29241         * Makefile [CXX] (check-data): Remove.
29242         [CXX] (c++-types.data): New vpath directive.
29243         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29244         vpath.  Do not allow for C++ type data being missing.
29245         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29246         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29247         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29248         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29249         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29250         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29251         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29253         ... here.
29254         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29256         ... here.
29257         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29259         ... here.
29260         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29262         ... here.
29263         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29265         ... here.
29266         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29268         ... here.
29269         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29271         ... here.
29272         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29274
29275         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29276         definitions to architecture-specific files.
29277         (TLS_IE): Likewise.
29278         (TLS_LD): Likewise.
29279         (TLS_GD): Likewise.
29280         * sysdeps/i386/tls-macros.h: New file.
29281         * sysdeps/powerpc/tls-macros.h: Likewise.
29282         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29283         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29284         * sysdeps/sh/tls-macros.h: Likewise.
29285         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29286         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29287         * sysdeps/x86_64/tls-macros.h: Likewise.
29288
29289 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29290
29291         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29292         zero value for regular exit case.
29293
29294         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29295         (__start_context): Preserve zero value for regular exit case.
29296
29297 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29298             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29299
29300         * manual/setjmp.texi (setcontext): Clarify normal process
29301         termination when uc_link is the null pointer.
29302         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29303         exit call.
29304
29305 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29306
29307         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29308         preprocessor.  Test for each exception mask separately.
29309
29310 2012-07-16  Andreas Jaeger  <aj@suse.de>
29311
29312         * po/ru.po: Update from translation team.
29313
29314 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29315
29316         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29317         equal to 0.
29318         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29319         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29320         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29321         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29322         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29323
29324 2012-07-13  Andreas Jaeger  <aj@suse.de>
29325
29326         * po/fr.po: Update from translation team.
29327
29328 2012-07-12  Marek Polacek  <polacek@redhat.com>
29329
29330         [BZ #14173]
29331         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29332         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29333         loop condition.
29334
29335 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29336
29337         [BZ #13717]
29338         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29339         Change to 2.4.1 where previously 2.4.0.
29340         * sysdeps/unix/sysv/linux/configure: Regenerated.
29341         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29342         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29343         version.
29344         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29345         (__ASSUME_AT_CLKTCK): Remove.
29346         (__ASSUME_AT_PAGESIZE): Likewise.
29347         (__ASSUME_AT_XID): Likewise.
29348         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29349         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29350         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29351         unconditionally.
29352         (HAVE_AUX_PAGESIZE): Likewise.
29353         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29354         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29355         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29356
29357 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29358
29359         [BZ #14307]
29360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29361         the temporary buffer used to invoke __gethostbyname2_r,
29362         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29363         host_data / struct gaih_addrtuple.
29364         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29365         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29366         header file nss/nsswitch.h.
29367         * nss/nsswitch.h (global scope): Add definition of implementation
29368         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29369         resolv/nss_dns/dns-host.c).
29370
29371 2012-07-11  Andreas Jaeger  <aj@suse.de>
29372
29373         * po/fr.po: Update from translation team.
29374
29375         * po/sv.po: Update from translation team
29376         * po/fr.po: Another update from translation team.
29377
29378 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29379
29380         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29381         for subnormals or multiply small sinh result by itself.
29382         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29384
29385 2012-07-11  David S. Miller  <davem@davemloft.net>
29386
29387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29388
29389 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29390
29391         [BZ #14347]
29392         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29393         (INTERNAL_MARK): Shift it here.
29394
29395 2012-07-10  Marek Polacek  <polacek@redhat.com>
29396
29397         [BZ #14151]
29398         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29399         libc_cv_asm_global_directive with .globl.
29400         * configure: Regenerated.
29401         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29402         with .globl.
29403         * sysdeps/i386/configure: Regenerated.
29404         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29405         with .globl.
29406         * sysdeps/x86_64/configure: Regenerated.
29407         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29408         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29409         * elf/tst-unique2mod2.c: Likewise.
29410         * elf/tst-unique2mod1.c: Likewise.
29411         * elf/tst-unique1mod2.c: Likewise.
29412         * elf/tst-unique1mod1.c: Likewise.
29413         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29414         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29415         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29416         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29417         * sysdeps/mach/sysdep.h: Likewise.
29418         * sysdeps/i386/sysdep.h: Likewise.
29419         * sysdeps/i386/i386-mcount.S: Likewise.
29420         * sysdeps/x86_64/_mcount.S: Likewise.
29421         * sysdeps/x86_64/sysdep.h: Likewise.
29422         * sysdeps/sh/_mcount.S: Likewise.
29423         * sysdeps/sh/sysdep.h: Likewise.
29424         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29425         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29426         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29427         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29428         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29429         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29430         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29431         * locale/localeinfo.h: Likewise.
29432         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29433         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29434
29435 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29436
29437         [BZ #14336]
29438         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29439         system".
29440         * manual/message.texi (The Uniforum approach): Likewise.
29441         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29442         (glibc iconv Implementation): Likewise.
29443
29444 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29445
29446         [BZ #14337]
29447         * math/s_clog.c (__clog): Avoid scaling a value down where that
29448         could result in underflow.
29449         * math/s_clog10.c (__clog10): Likewise.
29450         * math/s_clog10f.c (__clog10f): Likewise.
29451         * math/s_clog10l.c (__clog10l): Likewise.
29452         * math/s_clogf.c (__clogf): Likewise.
29453         * math/s_clogl.c (__clogl): Likewise.
29454         * math/libm-test.inc (clog_test): Add more tests.
29455         (clog10_test): Likewise.
29456         * sysdeps/i386/fpu/libm-test-ulps: Update.
29457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29458
29459 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29460
29461         [BZ #14283]
29462         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29463         by 7 not 8 to examine high bit of fractional part.
29464
29465         [BZ #14042]
29466         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29467         for call to __mcount_internal.
29468         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29469         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29470         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29471
29472 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29473
29474         [BZ #14154]
29475         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29476         approximation for values within 0x1p-13f of an odd multiple of
29477         pi/4.
29478         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29479         exception.  Add more tests.
29480         * sysdeps/i386/fpu/libm-test-ulps: Update.
29481
29482         [BZ #6778]
29483         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29484         inputs and return -1 for them.  Do not check for +Inf in case not
29485         reachable for +Inf.
29486         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29487         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29488         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29489         and return -1 for them.  Do not check for +Inf in case not
29490         reachable for +Inf.
29491         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29492         define.
29493         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29494         and return -1 for them.  Do not check for +Inf in case not
29495         reachable for +Inf.
29496         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29497         spurious underflow.
29498         * sysdeps/i386/fpu/libm-test-ulps: Update.
29499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29500
29501 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29502
29503         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29504
29505 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29506
29507         [BZ #14157]
29508         [BZ #14331]
29509         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29510         could result in spurious underflow.  Scale down values above
29511         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29512         * math/s_csqrtf.c (__csqrtf): Likewise.
29513         * math/s_csqrtl.c (__csqrtl): Likewise.
29514         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29515         spurious underflow.
29516         * sysdeps/i386/fpu/libm-test-ulps: Update.
29517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29518
29519 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29520
29521         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29522         xopen-msg.sed.
29523         * catgets/xopen-msg.awk: New file.
29524         * catgets/xopen-msg.sed: Removed.
29525
29526         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29527         po2text.sed.
29528         * intl/po2test.awk: New file.
29529         * intl/po2test.sed: Removed.
29530
29531 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29532
29533         [BZ #14328]
29534         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29535         or multiply small sinh result by itself.
29536         * math/s_ctanf.c (__ctanf): Likewise.
29537         * math/s_ctanh.c (__ctanh): Likewise.
29538         * math/s_ctanhf.c (__ctanhf): Likewise.
29539         * math/s_ctanhl.c (__ctanhl): Likewise.
29540         * math/s_ctanl.c (__ctanl): Likewise.
29541         * math/libm-test.inc (ctan_test_tonearest): New function.
29542         (ctan_test_towardzero): Likewise.
29543         (ctan_test_downward): Likewise.
29544         (ctan_test_upward): Likewise.
29545         (ctanh_test_tonearest): Likewise.
29546         (ctanh_test_towardzero): Likewise.
29547         (ctanh_test_downward): Likewise.
29548         (ctanh_test_upward): Likewise.
29549         (main): Call these new functions.
29550         * sysdeps/i386/fpu/libm-test-ulps: Update.
29551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29552
29553 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29554
29555         * .gitignore: Delete /ports entry.
29556
29557 2012-07-03  Andreas Jaeger  <aj@suse.de>
29558
29559         * po/bg.po: Update from translation team.
29560         * po/cs.po: Likewise.
29561         * po/de.po: Likewise.
29562         * po/hr.po: Likewise.
29563         * po/nl.pl: Likewise.
29564         * po/pl.po: Likewise.
29565         * po/vi.po: Likewise.
29566
29567 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29568
29569         * Makeconfig [!+link] (+link-before-libc): New variable.
29570         [!+link] (+link-after-libc): Likewise.
29571         [!+link] (+link-tests): Likewise.
29572         [!+link] (+link): Define in terms of $(+link-before-libc) and
29573         $(+link-after-libc).
29574         [!+link-static] (+link-static-before-libc): New variable.
29575         [!+link-static] (+link-static-after-libc): Likewise.
29576         [!+link-static] (+link-static-tests): Likewise.
29577         [!+link-static] (+link-static): Define in terms of
29578         $(+link-static-before-libc) and $(+link-static-after-libc).
29579         [build-shared] (link-libc-before-gnulib): New variable.
29580         [build-shared] (link-libc-tests): Likewise.
29581         [build-shared] (link-libc): Define in terms of
29582         $(link-libc-before-gnulib).
29583         [!build-shared] (link-libc-tests): New variable.
29584         (link-libc-static-tests): New variable.
29585         [!gnulib] (gnulib-arch): New variable.
29586         [!gnulib] (gnulib-tests): Likewise.
29587         [!gnulib] (static-gnulib-arch): Likewise.
29588         [!gnulib] (static-gnulib-tests): Likewise.
29589         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29590         Define with "=" instead of ":=".
29591         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29592         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29593         * Rules (binaries-all-notests): New variable.
29594         (binaries-all-tests): Likewise.
29595         (binaries-static-notests): Likewise.
29596         (binaries-static-tests): Likewise.
29597         (binaries-all): Define using $(binaries-all-notests) and
29598         $(binaries-all-tests).
29599         (binaries-static): Define using $(binaries-static-notests) and
29600         $(binaries-static-tests).
29601         (binaries-shared-tests): New variable.
29602         (binaries-shared-notests): Likewise.
29603         (binaries-shared): Remove variable.
29604         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29605         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29606         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29607         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29608         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29609         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29610         * elf/Makefile (sln-modules): New variable.
29611         (extra-objs): Add $(sln-modules:=.o).
29612         (ldconfig-modules): Add static-stubs.
29613         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29614         * elf/static-stubs.c: New file.
29615
29616         [BZ #14283]
29617         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29618         by 7 not 8 to examine high bit of fractional part.  Use volatile
29619         variables when splitting into final array of floats if
29620         __FLT_EVAL_METHOD__ != 0.
29621         * math/libm-test.inc (cos_test): Add another test.
29622         (sin_test): Likewise.
29623         * sysdeps/i386/fpu/libm-test-ulps: Update.
29624
29625         [BZ #14273]
29626         * math/libm-test.inc (cosh_test): Add more tests.
29627
29628         * version.h (RELEASE): Set to "development".
29629         (VERSION): Set to "2.16.90".
29630
29631 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29632
29633         * NEWS: Update copyright. Remove last-updated date.
29634         Mention math library bug fixes and timezone data changes.
29635         * README: Mention GNU/Hurd, x32, and HPPA support status.
29636
29637 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29638
29639         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29640
29641 2012-06-27  Andreas Jaeger  <aj@suse.de>
29642
29643         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29644
29645 2012-06-25  Andreas Jaeger  <aj@suse.de>
29646
29647         * sysdeps/s390/fpu/libm-test-ulps: Update.
29648
29649 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29650             Thomas Schwinge  <thomas@codesourcery.com>
29651
29652         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29653         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29654         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29655         fanotify_mark.
29656
29657 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29658
29659         * sysdeps/mach/start.c: Remove file.
29660         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29661         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29662         * sysdeps/sh/init-first.c: Likewise.
29663
29664         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29665         registers for frame unwinding purposes, add CFI directives.
29666         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29667         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29668         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29669         Likewise.
29670
29671         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29672         __fortify_fail returning.
29673         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29674
29675         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29676         sysdeps/sh/____longjmp_chk.S.
29677         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29678         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29679         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29680         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29681
29682         * sysdeps/sh/abort-instr.h: New file.
29683         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29684         process in case exit returns.
29685
29686         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29687         initialize the GOT register before use.
29688
29689         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29690         calculation of ARGC > 4.
29691
29692         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29693         meaningful names to some local labels.
29694
29695 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29696             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29697
29698         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29699         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29700         (__arch_compare_and_exchange_val_16_acq): Likewise.
29701         (__arch_compare_and_exchange_val_32_acq): Likewise.
29702         (atomic_exchange_and_add): Fix gUSA sequence.
29703         (atomic_add): Likewise.
29704         (atomic_add_negative): Likewise.
29705         (atomic_add_zero): Likewise.
29706         (atomic_bit_test_set): Likewise.
29707
29708 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29709
29710         [BZ #13579]
29711         * include/link.h (struct link_map): Add l_free_initfini.
29712         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29713         l_initfini.
29714         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29715         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29716         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29717         set.
29718
29719 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29720
29721         * configure.in: Use AC_LANG_SOURCE.
29722         * configure: Regenerate.
29723
29724 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29725
29726         * configure.in (libc_cv_localstatedir): New substituted variable.
29727         * configure: Regenerated.
29728         * config.make.in (localstatedir): New variable, substituted from
29729         libc_cv_localstatedir.
29730         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29731         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29732         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29733         * sysdeps/gnu/configure: Regenerated.
29734
29735 2012-06-21  Jeff Law  <law@redhat.com>
29736
29737         [BZ #14277]
29738         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29739         free.  Simplify list management for _LIBC case.
29740
29741 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29742
29743         [BZ #14273]
29744         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29745         Clear sign bit of 64-bit integer value before comparing against
29746         overflow value.
29747
29748         * sysdeps/mach/configure: Regenerated.
29749
29750 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29751
29752         [BZ #14278]
29753         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29754
29755 2012-06-21  Jeff Law  <law@redhat.com>
29756
29757         [BZ #13882]
29758         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29759         uint16_t for elements in the "seen" array to avoid char overflows.
29760         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29761         * elf/dl-open.c (dl_open_worker): Likewise.
29762
29763 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29764
29765         * scripts/list-sources.sh: Scan PORTS for translations.
29766         * po/libc.pot: Regenerated.
29767
29768 2012-06-21  Andreas Jaeger  <aj@suse.de>
29769
29770         [BZ #12194]
29771         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29772         warning.
29773         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29774         * bits/byteswap-16.h (__bswap_16): Likewise.
29775         * bits/byteswap.h (__bswap_constant_16): Likewise.
29776
29777 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29778
29779         [BZ #14117]
29780         * sysdeps/i386/fpu_control.h: Removed.
29781         * sysdeps/x86_64/fpu_control.h: Moved to ...
29782         * sysdeps/x86/fpu_control.h: Here.
29783
29784         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29785         (_FPU_SETCW): Likewise.
29786
29787 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29788
29789         [BZ #14117]
29790         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29791         * sysdeps/x86/fpu/bits/mathinline.h: This.
29792         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29793
29794         [BZ #14050]
29795         [BZ #14117]
29796         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29797         functions if __x86_64__ is defined.
29798
29799 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29800
29801         * string/endian.h: Add !__ASSEMBLER__ condition for including
29802         conversion interfaces.
29803
29804 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29805
29806         [BZ #14241]
29807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29808         of ABS(x) in calculating zero to negative powers other than odd
29809         integers.
29810         * math/libm-test.inc (pow_test): Add more tests.
29811
29812 2012-06-15  Andreas Jaeger  <aj@suse.de>
29813
29814         * manual/contrib.texi (Contributors): Update entry of Liubov
29815         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29816         Machado Filho.
29817
29818 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29819
29820         * string/string.h: Add __wur to GNU version of strerror_r.
29821
29822 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29823
29824         [BZ #14229]
29825         * string/Makefile (tests): Add tst-strtok_r.
29826         * string/tst-strtok_r.c: New file.
29827         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29828         RAX_LP/RDX_LP on SAVE_PTR.
29829
29830 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29831
29832         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29833
29834 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29835
29836         * libm_test.inc (csqrt_test): Allow more spurious underflow
29837         exceptions.
29838         (j0_test): Likewise.
29839         (j1_test): Likewise.
29840         (y0_test): Likewise.
29841         (y1_test): Likewise.
29842
29843 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29844
29845         * po/Makefile (libc.pot): Use UTF-8 charset.
29846
29847 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29848
29849         [BZ #14210]
29850         Suppress sign-conversion warning from FD_SET.
29851         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29852         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29853         not unsigned long int.
29854         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29855
29856 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29857
29858         [BZ #14050]
29859         [BZ #14117]
29860         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29861         __extern_always_inline instead of __extern_inline.
29862         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29863         (__signbit): Likewise.
29864         (__signbitl): Support C++ namespace.
29865         (lrintf): New inline function.
29866         (lrint): Likewise.
29867         (llrintf): Likewise.
29868         (llrint): Likewise.
29869         (fmaxf): Likewise.
29870         (fmax): Likewise.
29871         (fminf): Likewise.
29872         (fmin): Likewise.
29873         (rint): Likewise.
29874         (rintf): Likewise.
29875         (ceil): Likewise.
29876         (ceilf): Likewise.
29877         (floor): Likewise.
29878         (floorf): Likewise.
29879         (nearbyint): Likewise.
29880         (nearbyintf): Likewise.
29881
29882 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29883
29884         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29885         non-default versions.
29886
29887 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29888
29889         [BZ #14218]
29890         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29891
29892 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29893
29894         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29895         (FE_UPWARD, FE_DOWNWARD): Don't define.
29896         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29897         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29898
29899         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29900         reading it.
29901         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29902         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29903
29904 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29905
29906         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29907         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29908         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29909         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29910
29911 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29912
29913         [BZ #14117]
29914         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29915         * sysdeps/i386/fpu/Implies: New file.
29916         * sysdeps/x86_64/fpu/Implies: Likewise.
29917         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29918         * sysdeps/x86/fpu/bits/fenv.h: This.
29919
29920         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29921         __SSE_MATH__.
29922
29923 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29924
29925         [BZ #14134]
29926         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29927         character 0xffff that matches the last element of the
29928         conversion table.
29929
29930 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29931
29932         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29933         fmodl commit.
29934
29935 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29936
29937         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29938         values higher than 25.6283.
29939
29940 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29941
29942         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29943         subnormal exponent extraction and add some __builtin_expect.
29944         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29945         Fix for subnormal mantissa calculation.
29946
29947 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29948
29949         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29950         cpu2 is -1 and errno is not ENOSYS.
29951
29952 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29953
29954         [BZ #14117]
29955         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29956         * sysdeps/x86/bits/string.h: This.
29957         * sysdeps/x86_64/bits/string.h: Removed.
29958
29959         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29960         if not compiling for x86-64, but compiling for >= i486.
29961
29962         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29963         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29964
29965         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29966         New macro from Linux kernel 3.4.0.
29967         (FP_XSTATE_MAGIC2): Likewise.
29968         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29969         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29970         (struct _fpx_sw_bytes): New struct.
29971         (struct _xsave_hdr): Likewise.
29972         (struct _ymmh_state): Likewise.
29973         (struct _xstate): Likewise.
29974
29975         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29976         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29977         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29978         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29979         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29980         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29981
29982         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29983         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29984         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29985         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29986         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29987         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29988
29989 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29990
29991         [BZ #13743]
29992         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29993         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29994         (sysdep_headers): Include sys/platform/ppc.h.
29995         * sysdeps/powerpc/test-gettimebase.c: Test for
29996         __ppc_get_timebase() to catch future ISA opcode/insn changes.
29997         * manual/Makefile (appendices): Include platform.texi.
29998         * manual/contrib.texi (Contributors): Update @node pointers.
29999         * manual/maint.texi (Maintenance): Likewise.
30000         (Platform): New node.
30001         * manual/platform.texi: New file.  Document the new features.
30002
30003 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30004             Jakub Jelinek  <jakub@redhat.com>
30005
30006         [BZ #14188]
30007         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30008         where __builtin_expect is unavailable.
30009
30010 2012-06-03  David S. Miller  <davem@davemloft.net>
30011
30012         * stdlib/longlong.h: Updated from GCC.
30013
30014 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30015
30016         [BZ #14042]
30017         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30018         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30019         __mcount_internal.
30020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30021         (GLIBC_2.16): Likewise.
30022
30023 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30024
30025         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30026
30027 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30028
30029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30030         (default-abi): New variable.
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30032         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30033         variable.
30034         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30035         Likewise.
30036         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30037         Likewise.
30038         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30039         Likewise.
30040
30041         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30042         definition.  Document in comment.
30043
30044 2012-06-01  David S. Miller  <davem@davemloft.net>
30045
30046         * stdlib/longlong.h: Updated from GCC.
30047
30048 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30049
30050         [BZ #14117]
30051         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30052         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30053         sys/debugreg.h sys/io.h here.
30054         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30055         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30056         sys/io.h.
30057         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30058         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30059         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30060         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30061         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30062         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30063
30064         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30065         Define only if __x86_64__ is defined.
30066
30067 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30068
30069         [BZ #14048]
30070         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30071         Use int64_t for variable i.
30072         * math/libm-test.inc (fmod_test): Add more tests.
30073
30074         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30075         z computation is not scheduled after fetestexcept.
30076         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30077         Use math_force_eval instead of asm to ensure calculation scheduled
30078         before exception test.
30079         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30080         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30081
30082 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30083
30084         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30085         computation is not scheduled after fetestexcept.
30086
30087 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30088
30089         [BZ #14117]
30090         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30091         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30092
30093 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30094
30095         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30096         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30097
30098 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30099
30100         [BZ #14117]
30101         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30102         <bits/wordsize.h>.
30103         (__WCHAR_MIN): Support __WORDSIZE == 64.
30104         (__WCHAR_MAX): Likewise.
30105
30106         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30107         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30108
30109         [BZ #14183]
30110         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30111         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30112
30113         [BZ #14117]
30114         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30115         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30116
30117         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30118         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30119
30120         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30121         Defined to 1 if __x86_64__ isn't defined.
30122         (_STAT_VER_LINUX_OLD): New.
30123         (st_atime): Remove duplicate.
30124         (st_mtime): Likewise.
30125         (st_ctime): Likewise.
30126
30127 2012-05-31  David S. Miller  <davem@davemloft.net>
30128
30129         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30130         entries.
30131
30132 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30133
30134         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30135         gen-libm-test.pl.
30136
30137         [BZ #14132]
30138         * elf/dl-reloc.c: Include <_itoa.h>.
30139         (_dl_reloc_bad_type): Remove use of INTUSE.
30140         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30141         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30142         * stdio-common/psiginfo.c (psiginfo): Likewise.
30143         * stdio-common/psignal.c (psignal): Likewise.
30144         * string/strsignal.c (strsignal): Likewise.
30145         * include/signal.h (_sys_siglist): Declare hidden proto.
30146         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30147         INTVARDEF with libc_hidden_data_def.
30148         * stdio-common/itoa-udigits.c: Likewise.
30149         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30150         (_itoa_lower_digits_internal): Remove declaration.
30151         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30152         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30153         (_sys_sigabbrev_internal): Remove aliases.
30154         (_sys_siglist): Define hidden alias.
30155
30156 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30157
30158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30159         bits/sysctl.h.
30160
30161 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30162
30163         [BZ #14117]
30164         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30165         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30166
30167         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30168         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30169         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30170         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30171         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30172         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30173
30174         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30175         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30176         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30177
30178         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30179         with __addr.
30180         (insw): Likewise.
30181         (insl): Likewise.
30182         (outsb): Likewise.
30183         (outsw): Likewise.
30184         (outsl): Likewise.
30185
30186         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30187         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30188         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30189
30190         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30191         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30192         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30193         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30194         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30195         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30196
30197         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30198         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30199
30200         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30201         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30202
30203         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30204         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30205         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30206
30207         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30208         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30209         to ...
30210         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30211
30212         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30213         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30214         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30215
30216         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30217         for x86-64.
30218         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30219
30220 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30221
30222         * math/math.h (M_El): Use two more decimal places.
30223         (M_LOG2El): Likewise.
30224         (M_LOG10El): Likewise.
30225         (M_LN2l): Likewise.
30226         (M_LN10l): Likewise.
30227         (M_PIl): Likewise.
30228         (M_PI_2l): Likewise.
30229         (M_PI_4l): Likewise.
30230         (M_1_PIl): Likewise.
30231         (M_2_PIl): Likewise.
30232         (M_2_SQRTPIl): Likewise.
30233         (M_SQRT2l): Likewise.
30234         (M_SQRT1_2l): Likewise.
30235
30236 2012-05-31  David S. Miller  <davem@davemloft.net>
30237
30238         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30239         values between float registers.
30240         * sysdeps/sparc/sparc64/memset.S: Likewise.
30241         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30242
30243 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30244
30245         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30246         -D_FORTIFY_SOURCE=1.
30247         (CPPFLAGS-tst-longjmp_chk.c): Define.
30248         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30249         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30250         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30251         CFLAGS-tst-wchar-h.c.
30252
30253 2012-05-31  Marek Polacek  <polacek@redhat.com>
30254
30255         [BZ #14132]
30256         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30257         __endmntent_internal): Remove declaration.
30258         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30259         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30260         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30261
30262 2012-05-30  David S. Miller  <davem@davemloft.net>
30263
30264         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30265         (___Q_simulate_exceptions): Use real FP ops rather than writing
30266         into the %fsr.
30267         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30268         Likewise.
30269
30270 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30271
30272         [BZ #14117]
30273         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30274         * sysdeps/x86/bits/xtitypes.h: This.
30275
30276         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30277         * sysdeps/x86/bits/wordsize.h: This.
30278
30279         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30280         * sysdeps/x86/bits/huge_vall.h: This.
30281
30282         * sysdeps/i386/bits/select.h: Removed.
30283         * sysdeps/x86_64/bits/select.h: Renamed to ...
30284         * sysdeps/x86/bits/select.h: This.
30285
30286         * sysdeps/i386/bits/setjmp.h: Removed.
30287         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30288         * sysdeps/x86/bits/setjmp.h: This.
30289
30290         * sysdeps/i386/bits/mathdef.h: Removed.
30291         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30292         * sysdeps/x86/bits/mathdef.h: This.
30293
30294 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30295
30296         [BZ #14132]
30297         * include/sys/socket.h (__connect_internal)
30298         (__libc_sa_len_internal): Remove declaration.
30299         (__connect, __libc_sa_len): Declare hidden_proto.
30300         (SA_LEN): Remove use of INTUSE.
30301         * socket/connect.c: Add libc_hidden_def.
30302         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30303         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30304         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30305         alias.
30306         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30307         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30308         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30309         of adding _internal alias.
30310
30311 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30312
30313         [BZ #14117]
30314         * sysdeps/i386/bits/link.h: Removed.
30315         * sysdeps/i386/bits/linkmap.h: Likewise.
30316         * sysdeps/x86_64/bits/link.h: Renamed to ...
30317         * sysdeps/x86/bits/link.h: This.
30318         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30319         * sysdeps/x86/bits/linkmap.h: This.
30320
30321         * sysdeps/i386/bits/endian.h: Removed.
30322         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30323         * sysdeps/x86/bits/endian.h: This.
30324
30325         * sysdeps/i386/bits/byteswap.h: Removed.
30326         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30327         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30328         * sysdeps/x86/bits/byteswap.h: This.
30329         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30330         * sysdeps/x86/bits/byteswap-16.h: This.
30331         * sysdeps/i386/Implies: Add x86.
30332         * sysdeps/x86_64/Implies: Likewise.
30333
30334 2012-05-30  David S. Miller  <davem@davemloft.net>
30335
30336         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30337         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30338         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30339         (FP_TRAPPING_EXCEPTIONS): Define.
30340         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30341         (FP_TRAPPING_EXCEPTIONS): Define.
30342         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30343         subnormals only when inexact has been signalled or underflow
30344         exceptions are enabled.
30345         (_FP_PACK_CANONICAL): Likewise.
30346
30347 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30348
30349         [BZ #14183]
30350         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30351         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30352
30353 2012-05-30  Richard Henderson  <rth@twiddle.net>
30354
30355         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30356         with #ifndef NOT_IN_libc.
30357
30358         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30359         marked to avoid plt entry.
30360
30361 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30362
30363         [BZ #14112]
30364         * Makeconfig (default-abi): New macro.
30365         (abi-includes): Likewise.
30366         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30367         $(abi-$(default-abi)-lib-soname) for soname if defined.
30368         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30369         abi-variants.
30370         * Makefile (installed-stubs): Likewise.
30371         * include/stubs-biarch.h: Removed.
30372         * scripts/lib-names.awk: Only handle one library at a time.
30373         * scripts/soversions.awk: Remove WORDSIZE support.
30374         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30375         entries.
30376         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30377         Removed.
30378         (syscall-list-default-condition): Likewise.
30379         (syscall-list-default-condition): Likewise.
30380         (syscall-list-includes): Likewise.
30381         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30382         syscall-list-* with abi-*.  Handle undefined abi-variants.
30383         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30384         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30385         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30386         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30387         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30388         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30389         Removed.
30390         (syscall-list-32-options): Likewise.
30391         (syscall-list-32-condition): Likewise.
30392         (syscall-list-64-options): Likewise.
30393         (syscall-list-64-condition): Likewise.
30394         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30395         macro.
30396         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30397         Renamed to ...
30398         (abi-*): This.
30399         (abi-64-ld-soname): New macro.
30400         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30401         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30402         Renamed to ...
30403         (abi-*): This.
30404         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30405         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30406
30407 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30408
30409         * sysdeps/unix/sysv/linux/kernel-features.h
30410         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30411         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30412         include <kernel-features.h>.
30413         [!__NR_ftruncate64]: Remove conditional code.
30414         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30415         [__NR_ftruncate64]: Make code unconditional.
30416         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30417         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30418         include <kernel-features.h>.
30419         [!__NR_ftruncate64]: Remove conditional code.
30420         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30421         [__NR_ftruncate64]: Make code unconditional.
30422         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30424         include <kernel-features.h>.
30425         [!__NR_ftruncate64]: Remove conditional code.
30426         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30427         [__NR_ftruncate64]: Make code unconditional.
30428         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30430         include <kernel-features.h>.
30431         [!__NR_ftruncate64]: Remove conditional code.
30432         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30433         [__NR_ftruncate64]: Make code unconditional.
30434         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30435
30436         * configure.in (libc_cv_fpie): Weaken to a compile test using
30437         LIBC_TRY_CC_OPTION.
30438         * configure: Regenerated.
30439
30440 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30441
30442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30446         Refreshed.
30447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30453         Refreshed.
30454
30455 2012-05-27  David S. Miller  <davem@davemloft.net>
30456
30457         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30458         (___Q_zero): New.
30459         (__Q_simulate_exceptions): Return void.  Change to simulate
30460         exceptions by writing into the %fsr.
30461         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30462         (__Qp_handle_exceptions): Likewise.
30463         (numbers): Delete.
30464         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30465         __Qp_handle_exceptions.
30466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30467         __Qp_handle_exceptions.
30468         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30469         as unused and give dummy FP_RND_NEAREST initializer.
30470         (FP_INHIBIT_RESULTS): Define.
30471         (___Q_simulate_exceptions): Update declaration.
30472         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30473         formatting.
30474         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30475         as unused and give dummy FP_RND_NEAREST initializer.
30476         (__Qp_handle_exceptions): Update declaration.
30477         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30478         formatting.
30479
30480 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30481
30482         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30483         the temporary FPU control word.
30484         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30485         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30486         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30487         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30488         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30489         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30490         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30491         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30492         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30493         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30494         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30495
30496 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30497
30498         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30499         fields.
30500
30501 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30502
30503         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30504         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30505         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30506         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30507         Likewise.
30508         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30509         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30510         Likewise.
30511
30512 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30513
30514         * po/h.po: Update from translation team.
30515
30516 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30517
30518         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30519
30520         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30521         handling of denormals.
30522         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30523         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30524         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30525         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30526         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30527         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30528         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30529         Likewise.
30530
30531 2012-05-26  Marek Polacek  <polacek@redhat.com>
30532
30533         [BZ #14152]
30534         * math/libm-test.inc (fma_test): Don't always expect underflow
30535         exception.
30536
30537 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30538
30539         [BZ #12416]
30540         * elf/tst-execstack.c: Include stackinfo.h.
30541         (do_test): Adjust test case to ensure that pthread_getattr_np
30542         behaviour remains the same after marking stack executable.
30543
30544 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30545
30546         * sysdeps/unix/sysv/linux/kernel-features.h
30547         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30548         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30549         kernel-features.h.
30550         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30551         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30552         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30553         kernel-features.h.
30554         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30555         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30556
30557 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30558
30559         * configure.in: Define the default includes to being none.
30560         * configure: Regenerated.
30561
30562 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30563
30564         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30565         * sysdeps/x86_64/setjmp.S: Likewise.
30566         * sysdeps/i386/bsd-setjmp.S: Likewise.
30567         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30568         * sysdeps/i386/setjmp.S: Likewise.
30569         * sysdeps/i386/__longjmp.S: Likewise.
30570         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30571         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30572
30573         * include/stap-probe.h: New file.
30574         * configure.in: Handle --enable-systemtap.
30575         * configure: Regenerated.
30576         * config.h.in (USE_STAP_PROBE): New #undef.
30577         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30578         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30579         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30580
30581 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30582
30583         [BZ #13717]
30584         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30585         to 2.4.0 where earlier.
30586         * sysdeps/unix/sysv/linux/configure: Regenerated.
30587         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30588         <kernel-features.h>.
30589         [__ASSUME_32BITUIDS]: Make code unconditional.
30590         [!__ASSUME_32BITUIDS]: Remove conditional code.
30591         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30592         <kernel-features.h>.
30593         [__ASSUME_32BITUIDS]: Make code unconditional.
30594         [!__ASSUME_32BITUIDS]: Remove conditional code.
30595         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30596         [__ASSUME_32BITUIDS]: Make code unconditional.
30597         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30598         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30599         <kernel-features.h>.
30600         [__ASSUME_32BITUIDS]: Make code unconditional.
30601         [!__ASSUME_32BITUIDS]: Remove conditional code.
30602         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30603         <kernel-features.h>.
30604         [__ASSUME_32BITUIDS]: Make code unconditional.
30605         [!__ASSUME_32BITUIDS]: Remove conditional code.
30606         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30607         <kernel-features.h>.
30608         [__ASSUME_32BITUIDS]: Make code unconditional.
30609         [!__ASSUME_32BITUIDS]: Remove conditional code.
30610         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30611         <kernel-features.h>.
30612         [__ASSUME_32BITUIDS]: Make code unconditional.
30613         [!__ASSUME_32BITUIDS]: Remove conditional code.
30614         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30615         <kernel-features.h>.
30616         [__ASSUME_32BITUIDS]: Make code unconditional.
30617         [!__ASSUME_32BITUIDS]: Remove conditional code.
30618         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30619         <kernel-features.h>.
30620         [__ASSUME_32BITUIDS]: Make code unconditional.
30621         [!__ASSUME_32BITUIDS]: Remove conditional code.
30622         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30623         <kernel-features.h>.
30624         [__ASSUME_32BITUIDS]: Make code unconditional.
30625         [!__ASSUME_32BITUIDS]: Remove conditional code.
30626         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30627         <kernel-features.h>.
30628         [__ASSUME_32BITUIDS]: Make code unconditional.
30629         [!__ASSUME_32BITUIDS]: Remove conditional code.
30630         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30631         <kernel-features.h>.
30632         [__ASSUME_32BITUIDS]: Make code unconditional.
30633         [!__ASSUME_32BITUIDS]: Remove conditional code.
30634         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30635         <kernel-features.h>.
30636         [__ASSUME_32BITUIDS]: Make code unconditional.
30637         [!__ASSUME_32BITUIDS]: Remove conditional code.
30638         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30639         <kernel-features.h>.
30640         [__NR_setresgid] (__setresgid): Do not declare.
30641         [__ASSUME_32BITUIDS]: Make code unconditional.
30642         [!__ASSUME_32BITUIDS]: Remove conditional code.
30643         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30644         <kernel-features.h>.
30645         [__NR_setresuid] (__setresuid): Do not declare.
30646         [__ASSUME_32BITUIDS]: Make code unconditional.
30647         [!__ASSUME_32BITUIDS]: Remove conditional code.
30648         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30649         <kernel-features.h>.
30650         [__ASSUME_32BITUIDS]: Make code unconditional.
30651         [!__ASSUME_32BITUIDS]: Remove conditional code.
30652         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30653         <kernel-features.h>.
30654         [__ASSUME_32BITUIDS]: Make code unconditional.
30655         [!__ASSUME_32BITUIDS]: Remove conditional code.
30656         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30657         <kernel-features.h>.
30658         [__ASSUME_32BITUIDS]: Make code unconditional.
30659         [!__ASSUME_32BITUIDS]: Remove conditional code.
30660         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30661         <kernel-features.h>.
30662         [__ASSUME_32BITUIDS]: Make code unconditional.
30663         [!__ASSUME_32BITUIDS]: Remove conditional code.
30664         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30665         <kernel-features.h>.
30666         [__ASSUME_32BITUIDS]: Make code unconditional.
30667         [!__ASSUME_32BITUIDS]: Remove conditional code.
30668         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30669         <kernel-features.h>.
30670         [__ASSUME_32BITUIDS]: Make code unconditional.
30671         [!__ASSUME_32BITUIDS]: Remove conditional code.
30672         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30673         <kernel-features.h>.
30674         [__ASSUME_32BITUIDS]: Make code unconditional.
30675         [!__ASSUME_32BITUIDS]: Remove conditional code.
30676         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30677         <kernel-features.h>.
30678         [__ASSUME_32BITUIDS]: Make code unconditional.
30679         [!__ASSUME_32BITUIDS]: Remove conditional code.
30680         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30681         <kernel-features.h>.
30682         [__ASSUME_32BITUIDS]: Make code unconditional.
30683         [!__ASSUME_32BITUIDS]: Remove conditional code.
30684         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30685         <kernel-features.h>.
30686         [__ASSUME_32BITUIDS]: Make code unconditional.
30687         [!__ASSUME_32BITUIDS]: Remove conditional code.
30688         * sysdeps/unix/sysv/linux/kernel-features.h
30689         (__ASSUME_SETRESUID_SYSCALL): Remove.
30690         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30691         (__ASSUME_32BITUIDS): Likewise.
30692         (__ASSUME_LDT_WORKS): Likewise.
30693         (__ASSUME_O_DIRECTORY): Likewise.
30694         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30695         architecture but not kernel version.
30696         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30697         (__ASSUME_MMAP2_SYSCALL): Likewise.
30698         (__ASSUME_STAT64_SYSCALL): Likewise.
30699         (__ASSUME_IPC64): Likewise.
30700         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30701         <kernel-features.h>.
30702         [__ASSUME_32BITUIDS]: Make code unconditional.
30703         [!__ASSUME_32BITUIDS]: Remove conditional code.
30704         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30705         <kernel-features.h>.
30706         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30707         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30708         132096]: Remove conditional code.
30709         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30710         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30711         <kernel-features.h>.
30712         [__ASSUME_32BITUIDS]: Make code unconditional.
30713         [!__ASSUME_32BITUIDS]: Remove conditional code.
30714         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30715         <kernel-features.h>.
30716         [__ASSUME_32BITUIDS]: Make code unconditional.
30717         [!__ASSUME_32BITUIDS]: Remove conditional code.
30718         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30719         <kernel-features.h>.
30720         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30721         unconditional.
30722         (__setresgid): Do not declare.
30723         [__ASSUME_32BITUIDS]: Make code unconditional.
30724         [!__ASSUME_32BITUIDS]: Remove conditional code.
30725         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30726         <kernel-features.h>.
30727         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30728         unconditional.
30729         (__setresuid): Do not declare.
30730         [__ASSUME_32BITUIDS]: Make code unconditional.
30731         [!__ASSUME_32BITUIDS]: Remove conditional code.
30732         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30733         <kernel-features.h>.
30734         [__ASSUME_32BITUIDS]: Make code unconditional.
30735         [!__ASSUME_32BITUIDS]: Remove conditional code.
30736         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30737         <kernel-features.h>.
30738         [__ASSUME_32BITUIDS]: Make code unconditional.
30739         [!__ASSUME_32BITUIDS]: Remove conditional code.
30740
30741 2012-05-25  Richard Henderson  <rth@twiddle.net>
30742
30743         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30744         dl_hwcap to ifunc resolver.
30745         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30746         elf_ifunc_invoke.
30747         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30748         dl_hwcap to ifunc resolver.
30749         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30750
30751 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30752
30753         [BZ #14153]
30754         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30755         for |x| <= 2**-26, not 2**-57.
30756         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30757         exception.
30758
30759 2012-05-24  Jeff Law  <law@redhat.com>
30760
30761         * stdio-common/Makefile (tests): Add bug25.
30762         * stdio-common/bug25.c: New test.
30763
30764 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30765
30766         [BZ #13576]
30767         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30768         multiple of MALLOC_ALIGNMENT in size.
30769         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30770
30771 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30772
30773         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30774         Require >= 256.
30775         (FILENAME_MAX): Use macro-int-constant.
30776         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30777         (_IOFBF): Use macro-int-constant.
30778         (_IOLBF): Likewise.
30779         (_IONBF): Likewise.
30780         (SEEK_CUR): Likewise.
30781         (SEEK_END): Likewise.
30782         (SEEK_SET): Likewise.
30783         (TMP_MAX): Likewise.
30784         (EOF): Use macro-int-constant.  Require < 0.
30785         (NULL): Use macro-constant.  Require == 0.
30786         (stdin): Require type to be FILE *.
30787         (stdout): Likewise.
30788         (stderr): Likewise.
30789         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30790         macro-int-constant.
30791         (EXIT_SUCCESS): Likewise.
30792         (NULL): Use macro-constant.  Require == 0.
30793         (RAND_MAX): Use macro-int-constant.
30794         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30795         [C99-based standards] (strtof): Require function.
30796         [C99-based standards] (strtold): Likewise.
30797         [C99-based standards] (strtoll): Likewise.
30798         [C99-based standards] (strtoull): Likewise.
30799         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30800         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30801         [ISO || ISO99 || ISO11] (math.h): Likewise.
30802         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30803         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30804         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30805
30806 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30807
30808         [BZ #14132]
30809         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30810         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30811         * intl/dgettext.c (DCGETTEXT): Likewise.
30812         * intl/gettext.c (DCGETTEXT): Likewise.
30813         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30814         * posix/regex_internal.h (gettext): Likewise.
30815         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30816         Remove declaration.
30817         * include/argz.h (__argz_count_internal)
30818         (__argz_stringify_internal): Remove declaration.
30819         (__argz_count, __argz_stringify): Declare hidden proto.
30820         * intl/dcgettext.c: Remove use of INTDEF.
30821         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30822         * string/argz-stringify.c: Likewise.
30823         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30824         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30825         Declare hidden proto.
30826         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30827         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30828         Declare hidden proto.
30829         * include/stdio.h (__asprintf_internal): Don't declare.
30830         (__asprintf): Don't define as macro.  Declare hidden proto.
30831         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30832         (__fsetlocking): Declare hidden proto.
30833         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30834         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30835         hidden proto.
30836         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30837         (_IO_setlinebuf): Remove use of INTUSE.
30838         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30839         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30840         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30841         Remove declaration.
30842         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30843         (_IO_do_flush): Remove use of INTUSE.
30844         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30845         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30846         (_IO_adjust_column, _IO_least_wmarker)
30847         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30848         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30849         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30850         (_IO_default_doallocate, _IO_wdefault_doallocate)
30851         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30852         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30853         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30854         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30855         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30856         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30857         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30858         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30859         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30860         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30861         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30862         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30863         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30864         proto.
30865         (_IO_flush_all_internal, _IO_adjust_column_internal)
30866         (_IO_default_uflow_internal, _IO_default_finish_internal)
30867         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30868         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30869         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30870         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30871         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30872         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30873         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30874         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30875         (_IO_file_close_internal, _IO_file_close_it_internal)
30876         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30877         (_IO_file_init_internal, _IO_file_attach_internal)
30878         (_IO_file_fopen_internal, _IO_file_read_internal)
30879         (_IO_file_sync_internal, _IO_file_seek_internal)
30880         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30881         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30882         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30883         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30884         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30885         (_IO_list_all_internal, _IO_link_in_internal)
30886         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30887         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30888         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30889         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30890         (_IO_do_write_internal, _IO_padn_internal)
30891         (_IO_getline_info_internal, _IO_getline_internal)
30892         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30893         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30894         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30895         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30896         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30897         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30898         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30899         with libc_hidden_ver, remove use of INTUSE.
30900         * libio/genops.c: Likewise.
30901         * libio/freopen.c: Likewise.
30902         * libio/freopen64.c: Likewise.
30903         * libio/iofclose.c: Likewise.
30904         * libio/iofdopen.c: Likewise.
30905         * libio/iofflush.c: Likewise.
30906         * libio/iofflush_u.c: Likewise.
30907         * libio/iofgets.c: Likewise.
30908         * libio/iofgets_u.c: Likewise.
30909         * libio/iofopen.c: Likewise.
30910         * libio/iofopncook.c: Likewise.
30911         * libio/iofread.c: Likewise.
30912         * libio/iofread_u.c: Likewise.
30913         * libio/ioftell.c: Likewise.
30914         * libio/iofwrite.c: Likewise.
30915         * libio/iogetline.c: Likewise.
30916         * libio/iogets.c: Likewise.
30917         * libio/iogetwline.c: Likewise.
30918         * libio/iopadn.c: Likewise.
30919         * libio/iopopen.c: Likewise.
30920         * libio/ioseekoff.c: Likewise.
30921         * libio/ioseekpos.c: Likewise.
30922         * libio/iosetbuffer.c: Likewise.
30923         * libio/iosetvbuf.c: Likewise.
30924         * libio/ioungetc.c: Likewise.
30925         * libio/ioungetwc.c: Likewise.
30926         * libio/iovdprintf.c: Likewise.
30927         * libio/iovsprintf.c: Likewise.
30928         * libio/iovsscanf.c: Likewise.
30929         * libio/memstream.c: Likewise.
30930         * libio/obprintf.c: Likewise.
30931         * libio/oldfileops.c: Likewise.
30932         * libio/oldiofclose.c: Likewise.
30933         * libio/oldiofdopen.c: Likewise.
30934         * libio/oldiofopen.c: Likewise.
30935         * libio/oldiopopen.c: Likewise.
30936         * libio/oldstdfiles.c: Likewise.
30937         * libio/putc.c: Likewise.
30938         * libio/setbuf.c: Likewise.
30939         * libio/setlinebuf.c: Likewise.
30940         * libio/stdfiles.c: Likewise.
30941         * libio/strops.c: Likewise.
30942         * libio/vasprintf.c: Likewise.
30943         * libio/vscanf.c: Likewise.
30944         * libio/vsnprintf.c: Likewise.
30945         * libio/vswprintf.c: Likewise.
30946         * libio/wfiledoalloc.c: Likewise.
30947         * libio/wfileops.c: Likewise.
30948         * libio/wgenops.c: Likewise.
30949         * libio/wmemstream.c: Likewise.
30950         * libio/wstrops.c: Likewise.
30951         * libio/__fpurge.c: Likewise.
30952         * libio/__fsetlocking.c: Likewise.
30953         * assert/assert.c: Likewise.
30954         * debug/fgets_chk.c: Likewise.
30955         * debug/fgets_u_chk.c: Likewise.
30956         * debug/fread_chk.c: Likewise.
30957         * debug/fread_u_chk.c: Likewise.
30958         * debug/gets_chk.c: Likewise.
30959         * debug/obprintf_chk.c: Likewise.
30960         * debug/vasprintf_chk.c: Likewise.
30961         * debug/vdprintf_chk.c: Likewise.
30962         * debug/vsnprintf_chk.c: Likewise.
30963         * debug/vsprintf_chk.c: Likewise.
30964         * malloc/mtrace.c: Likewise.
30965         * misc/error.c: Likewise.
30966         * misc/syslog.c: Likewise.
30967         * stdio-common/asprintf.c: Likewise.
30968         * stdio-common/fxprintf.c: Likewise.
30969         * stdio-common/getw.c: Likewise.
30970         * stdio-common/isoc99_fscanf.c: Likewise.
30971         * stdio-common/isoc99_scanf.c: Likewise.
30972         * stdio-common/isoc99_vfscanf.c: Likewise.
30973         * stdio-common/isoc99_vscanf.c: Likewise.
30974         * stdio-common/isoc99_vsscanf.c: Likewise.
30975         * stdio-common/printf-prs.c: Likewise.
30976         * stdio-common/printf_fp.c: Likewise.
30977         * stdio-common/printf_fphex.c: Likewise.
30978         * stdio-common/printf_size.c: Likewise.
30979         * stdio-common/putw.c: Likewise.
30980         * stdio-common/scanf.c: Likewise.
30981         * stdio-common/sprintf.c: Likewise.
30982         * stdio-common/tmpfile.c: Likewise.
30983         * stdio-common/vfprintf.c: Likewise.
30984         * stdio-common/vfscanf.c: Likewise.
30985         * stdlib/strfmon_l.c: Likewise.
30986         * sunrpc/openchild.c: Likewise.
30987         * sunrpc/xdr_stdio.c: Likewise.
30988         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30989         * sysdeps/mach/hurd/tmpfile.c: Likewise.
30990
30991 2012-05-24  Roland McGrath  <roland@hack.frob.com>
30992
30993         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30994
30995         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30996         in the third column, to generate for the shared library an IFUNC
30997         that uses _dl_vdso_vsym.
30998         * Makerules (COMPILE.c, compile-stdin.c): New variables.
30999         * Makeconfig (object-suffixes-noshared): New variable.
31000
31001         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31002         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31003         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31004         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31005
31006         [BZ #14132]
31007         * include/sys/time.h (__gettimeofday): Remove macro.
31008         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31009         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31010         Remove INTDEF.
31011         (__gettimeofday): Add libc_hidden_def.
31012         (gettimeofday): Add libc_hidden_weak.
31013         * sysdeps/mach/gettimeofday.c: Likewise.
31014         * sysdeps/posix/gettimeofday.c: Likewise.
31015         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31016         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31017         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31018         (__gettimeofday_internal): Remove strong_alias.
31019         (__gettimeofday): Add libc_hidden_def.
31020         (gettimeofday): Add libc_hidden_weak.
31021         * sysdeps/unix/syscalls.list (gettimeofday):
31022         Remove __gettimeofday_internal alias.
31023
31024 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31025             H.J. Lu  <hongjiu.lu@intel.com>
31026
31027         [BZ #12495]
31028         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31029         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31030         (largebin_index_32_big): New.
31031         (largebin_index): Use it for 16-byte alignment.
31032         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31033         correction with front_misalign.
31034
31035 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31036
31037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31039         Likewise.
31040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31041         Likewise.
31042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31043         Likewise.
31044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31045         Likewise.
31046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31047         Likewise.
31048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31049         Likewise.
31050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31051         Likewise.
31052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31053         Likewise.
31054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31055         Likewise.
31056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31057         Likewise.
31058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31059         Likewise.
31060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31061         Likewise.
31062
31063         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31064         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31065
31066 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31067
31068         [BZ #10846]
31069         [BZ #14036]
31070         * math/libm-test.inc (exp_test): Add test from bug 14036.
31071         (pow_test): Add test from bug 10846.
31072
31073         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31074         and other flags.
31075         (special_function): Do not include flags in test name.
31076         (parse_args): Likewise.
31077         * sysdeps/i386/fpu/libm-test-ulps: Update.
31078         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31079         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31080         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31082
31083         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31084         exceptions.
31085         * math/libm-test.inc ("Philosophy"): Update comment about
31086         exception testing.
31087         (UNDERFLOW_EXCEPTION): New macro.
31088         (UNDERFLOW_EXCEPTION_OK): Likewise.
31089         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31090         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31091         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31092         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31093         (INVALID_EXCEPTION_OK): Update value.
31094         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31095         (OVERFLOW_EXCEPTION_OK): Likewise.
31096         (IGNORE_ZERO_INF_SIGN): Likewise.
31097         (test_exceptions): Handle underflow exceptions.
31098         (acos_test): Update for underflow exception expectations.
31099         (cexp_test): Likewise.
31100         (clog_test): Likewise.
31101         (clog10_test): Likewise.
31102         (csqrt_test): Likewise.
31103         (ctan_test): Likewise.
31104         (ctanh_test): Likewise.
31105         (exp_test): Likewise.
31106         (exp10_test): Likewise.
31107         (exp2_test): Likewise.
31108         (expm1_test): Likewise.
31109         (fma_test): Likewise.
31110         (j0_test): Likewise.
31111         (jn_test): Likewise.
31112         (nexttoward_test): Likewise.
31113         (pow_test): Likewise.
31114         (scalbn_test): Likewise.
31115         (scalbln_test): Likewise.
31116         (tan_test): Likewise.
31117         (y1_test): Likewise.
31118         * sysdeps/i386/fpu/libm-test-ulps: Update.
31119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31120
31121 2012-05-23  David S. Miller  <davem@davemloft.net>
31122
31123         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31124         (__libc_sigaction): Remove unused local variables.
31125
31126 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31127
31128         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31129
31130 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31131
31132         mktime: avoid signed integer overflow
31133         * time/mktime.c (__mktime_internal): Do not mishandle the case
31134         where diff == INT_MIN.
31135
31136         mktime: simplify computation of average
31137         * time/mktime.c (ranged_convert): Use new time_t_avg function
31138         instead of rolling our own (probably-slower) code.
31139
31140         mktime: do not assume signed right shift propagates sign bit
31141         * time/mktime.c (isdst_differ): New static function.
31142         (__mktime_internal): No need to normalize tm_isdst now.
31143         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31144         tm_isdst values.
31145
31146         mktime: merge another wrapv change from gnulib
31147         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31148         from some compilers.
31149
31150         mktime: remove incorrect attempt at unusual arithmetics
31151         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31152         The code didn't really work on such machines anyway.
31153         (TYPE_MINIMUM): Assume two's complement.
31154         (twos_complement_arithmetic): Verify that long_int and time_t
31155         are two's complement (or unsigned, in the latter case).
31156
31157         mktime: check signed shifts on long_int and time_t, too
31158         * time/mktime.c (SHR): Check that shifts work as desired
31159         on the types long_int and time_t too, as SHR is used on
31160         such types.
31161
31162         mktime: do not assume 'long' is wide enough
31163         * time/mktime.c (verify): Move decl up.
31164         (long_int): New type.
31165         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31166         to remove assumption in the code that 'long' is wide enough to
31167         store year values.  This assumption is not true on x32 and on
31168         some non-glibc platforms.
31169
31170         mktime: merge wrapv change from gnulib
31171         * time/mktime.c (WRAPV): New macro.
31172         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31173         (guess_time_tm, __mktime_internal): Do not assume that signed
31174         integer overflow wraps around; modern compilers generate code
31175         where this assumption is no longer valid.
31176
31177 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31178
31179         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31180         Replace "jmp L(pseudo_end)" with "ret".
31181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31182         Likewise.
31183
31184 2012-05-23  Andreas Jaeger  <aj@suse.de>
31185
31186         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31187         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31188
31189 2012-05-23  Andreas Jaeger  <aj@suse.de>
31190             Maximilian Attems  <max@stro.at>
31191
31192         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31193         New macros.
31194
31195 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31196
31197         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31198         code so that pseudo_end is just ret and the stack pointer is
31199         correct also for static library in error case.
31200
31201 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31202
31203         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31204         move to syscalls.list.
31205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31209
31210         * manual/install.texi (Running make install): Do not mention Linux
31211         kernel version for which pt_chown is not needed.
31212         (Linux): Do not mention problems with nscd with 2.0 kernels.
31213         * INSTALL: Regenerated.
31214
31215 2012-05-23  Andreas Jaeger  <aj@suse.de>
31216
31217         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31218         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31219         macro.
31220         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31221         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31222         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31223         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31224         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31225         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31226         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31227         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31228         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31229         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31230         * sysdeps/unix/sysv/linux/bits/in.h
31231         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31232
31233 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31234
31235         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31236         (PREPARE_VERSION): Just use assert instead, it will be elided
31237         under [NDEBUG] anyway.
31238
31239 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31240
31241         * sysdeps/unix/sysv/linux/Makefile: Include
31242         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31243         (sysdep_routines): Remove sysctl.
31244         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31245         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31246         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31247         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31248         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31249
31250 2012-05-22  Andreas Jaeger  <aj@suse.de>
31251
31252         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31253         that pseudo_end is just ret and the stack pointer is correct also
31254         for static library in error case.
31255
31256 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31257
31258         [BZ #14122]
31259         * nss/nsswitch.c (defconfig_entries): New variable.
31260         (__nss_database_lookup): Don't leak defconfig entries.
31261         (nss_parse_service_list): Don't leak on error paths.
31262         (free_database_entries): New function.
31263         (free_defconfig): New function.
31264         (free_mem): Move common code to free_database_entries.
31265
31266 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31267
31268         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31269         Add arch_prctl.
31270         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31271
31272         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31273         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31274         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31275         New macro.
31276         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31277         (INTERNAL_SYSCALL_TYPES): Likewise.
31278         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31279         (LOAD_REGS_TYPES_[1-6]): Likewise.
31280         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31281         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31282
31283 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31284
31285         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31286         copysignl for GLIBC_2_0.
31287         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31288         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31289         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31290         logbl for GLIBC_2_0.
31291         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31292         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31293
31294 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31295
31296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31297         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31298
31299         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31300         Use "neg %eax".
31301
31302         * time/mktime.c: Update copyright years.
31303
31304 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31305
31306         mktime: merge comment-quoting-style change from gnulib
31307         * time/mktime.c: Quote 'like this' in comments.
31308         The GNU coding standards suggest that we no longer quote `like this',
31309         as "`" and "'" are typically rendered asymmetrically nowadays.
31310         The typical gnulib style is to quote 'like this' when quoting
31311         code, and "like this" when quoting English.
31312
31313         * time/mktime.c (compile-command): Add "-I.".
31314
31315         mktime: merge mktime-internal.h change from gnulib
31316         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31317
31318         mktime: merge time_r change from gnulib
31319         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31320
31321         mktime: merge DEBUG change from gnulib
31322         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31323         case system <time.h> has a #define.
31324
31325         mktime: merge <sys/types.h> change from gnulib
31326         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31327         since <time.t> is now guaranteed to define time_t.
31328
31329         mktime: merge HAVE_CONFIG_H change from gnulib
31330         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31331
31332 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31333
31334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31335         Use "neg %eax".
31336
31337         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31338         __rlim_t cast.
31339         (struct rusage): Use anonymous union to pad each field to
31340         __syscall_slong_t.
31341
31342 2012-05-21  David S. Miller  <davem@davemloft.net>
31343
31344         * Makefules (o-iterator): Remove .s cases.
31345         (compile-command.s): Delete.
31346         (COMPILE.s): Delete.
31347         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31348
31349 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31350
31351         * configure.in (libc_cv_predef_stack_protector): Only consider
31352         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31353         * configure: Regenerated.
31354
31355 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31356
31357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31358         New macro.  Use R*LP on int and pointer.
31359         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31360         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31361         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31362         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31363
31364         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31365         [__WORDSIZE_TIME64_COMPAT32] instead of
31366         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31367         (struct utmp): Likewise.
31368         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31369         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31370         Renamed to ...
31371         (__WORDSIZE_TIME64_COMPAT32): This.
31372         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31373         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31374         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31375         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31376         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31377         (__WORDSIZE_TIME64_COMPAT32): New macro.
31378
31379 2012-05-21  Andreas Jaeger  <aj@suse.de>
31380
31381         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31382         only if [SHARED]. Add prototype for __wcschr_ia32.
31383
31384 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31385
31386         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31387         of %rbp unmolested in the jmp_buf while mangling the low bits.
31388         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31389         unmolested high bits of %rbp while demangling the low bits.
31390         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31391
31392 2012-05-21  Andreas Jaeger  <aj@suse.de>
31393
31394         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31395         * sunrpc/svc_simple.c: Use it for registerrpc.
31396         * sunrpc/xcrypt.c: Use it for passwd2des.
31397
31398         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31399
31400 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31401
31402         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31403         Don't define if [__SYSCALL_WORDSIZE != 32].
31404         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31405         New macro.
31406
31407 2012-05-21  Bruno Haible  <bruno@clisp.org>
31408             Andreas Jaeger  <aj@suse.de>
31409
31410         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31411         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31412         inptr and inend for must_buffer_ch.
31413         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31414         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31415         * stdio-common/Makefile (tests): Remove bug15.
31416         (bug15-ENV): Remove macro.
31417         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31418         anymore.
31419
31420 2012-05-19  Andreas Jaeger  <aj@suse.de>
31421             Roland McGrath  <roland@hack.frob.com>
31422
31423         * manual/contrib.texi: Completely rewritten. It contains now an
31424         alphabetical list of contributors and their contributions.
31425
31426 2012-05-21  Richard Henderson  <rth@twiddle.net>
31427
31428         * misc/getauxval.c (__getauxval): Use unsigned long int.
31429         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31430         (getauxval): Use unsigned long int.
31431
31432 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31433
31434         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31435
31436 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31437
31438         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31439         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31440         __alignof__ (long double).
31441
31442 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31443
31444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31445
31446 2012-05-20  Richard Henderson  <rth@twiddle.net>
31447
31448         * misc/getauxval.c: New file.
31449         * misc/sys/auxv.h: New file.
31450         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31451         (routines): Add getauxval.
31452         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31453         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31454         * elf/dl-sysdep.c (_dl_auxv): Remove.
31455         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31456         * elf/dl-support.c (_dl_auxv): New variable.
31457         (_dl_aux_init): Initialize it.
31458         * manual/startup.texi (Auxiliary Vector): New node.
31459         * sysdeps/generic/bits/hwcap.h: New file.
31460         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31461         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31462         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31463         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31464         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31465         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31467         Update.
31468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31471         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31476
31477 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31478
31479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31480
31481 2012-05-19  David S. Miller  <davem@davemloft.net>
31482
31483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31484
31485 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31486
31487         [BZ #14123]
31488         * math/s_ccosh.c: Include <float.h>
31489         (__ccosh): Avoid internal overflow calculating sinh and cosh
31490         values before multiplying by sin and cos values.
31491         * math/s_ccoshf.c: Likewise.
31492         * math/s_ccoshl.c: Likewise.
31493         * math/s_csin.c: Likewise.
31494         * math/s_csinf.c: Likewise.
31495         * math/s_csinl.c: Likewise.
31496         * math/s_csinh.c: Likewise.
31497         * math/s_csinhf.c: Likewise.
31498         * math/s_csinhl.c: Likewise.
31499         * math/libm-test.inc (ccos_test): Add more tests.
31500         (ccosh_test): Likewise.
31501         (csin_test): Likewise.
31502         (csinh_test): Likewise.
31503         * sysdeps/i386/fpu/libm-test-ulps: Update.
31504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31505
31506 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31507
31508         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31509         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31510
31511         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31512
31513 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31514
31515         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31516         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31517         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31518         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31519         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31520         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31521         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31522         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31523         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31524         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31525         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31526         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31527         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31528         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31529         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31530         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31531         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31532         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31533         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31534         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31535         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31536         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31537         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31538         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31539         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31540         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31541         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31542         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31543         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31544         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31545         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31546
31547 2012-05-18  Andreas Jaeger  <aj@suse.de>
31548
31549         * csu/.gitignore: Delete.
31550
31551 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31552
31553         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31554         (timex): Use __syscall_slong_t.
31555
31556 2012-05-18  Andreas Jaeger  <aj@suse.de>
31557             Carlos O'Donell  <carlos_odonell@mentor.com>
31558
31559         * manual/install.texi (Configuring and compiling): Update
31560         description about files modified in the source directory.
31561         * INSTALL: Regenerated.
31562
31563 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31564
31565         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31566         value.  Use "or" to set return value to -1.
31567         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31568         negate return value.
31569
31570 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31571
31572         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31573         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31574         failure if the compiler has Graphite support disabled.
31575         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31576         Likewise.
31577         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31578         (CFLAGS-memmove.c): Likewise.
31579         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31580         Likewise.
31581
31582 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31583
31584         * sysdeps/x86_64/x32/_itoa.h: New file.
31585
31586         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31587         getdents system call only if kernel and user dirents have the
31588         same d_ino and d_off.
31589
31590         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31591         LLONG_MAX != LONG_MAX.
31592         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31593         (_fitoa_word): Likewise.
31594
31595         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31596         years.
31597         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31598         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31599         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31600
31601         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31602         include <bits/wordsize.h>.  Check __x86_64__ instead of
31603         __WORDSIZE.
31604         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31605         if __x86_64__ is defined.  Use anonymous union on fpstate.
31606
31607         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31608         anonymous union.
31609
31610 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31611
31612         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31613         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31614         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31615         Refer to _rtld_local_ro instead of _rtld_global_ro.
31616         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31617         Likewise.
31618         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31619         Likewise.
31620         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31621         Likewise.
31622         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31623         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31624         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31625
31626         * sysdeps/powerpc/powerpc32/dl-machine.c
31627         (__elf_machine_runtime_setup) [PROF]: Don't reference
31628         _dl_prof_resolve.
31629
31630 2012-05-18  Andreas Jaeger  <aj@suse.de>
31631
31632         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31633         function only available for GCCs before 3.4 since GCC 3.4
31634         introduced a builtin.
31635         (lrint): Likewise.
31636         (llrintf): Likewise.
31637         (llrint): Likewise.
31638         (fmaxf): Likewise.
31639         (fmax): Likewise.
31640         (fminf): Likewise.
31641         (fmin): Likewise.
31642         (rint): Likewise.
31643         (rintf): Likewise.
31644         (nearbyint): Likewise.
31645         (nearbyintf): Likewise.
31646         (ceil): Likewise.
31647         (ceilf): Likewise.
31648         (floor): Likewise.
31649         (floorf): Likewise.
31650
31651 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31652
31653         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31654         on both fields and cast pointer to __syscall_ulong_t.
31655
31656         * bits/types.h (__fsword_t): New type.
31657         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31658         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31659         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31660         (__FSWORD_T_TYPE): Likewise.
31661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31662         (__FSWORD_T_TYPE): Likewise.
31663         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31664         (__FSWORD_T_TYPE): Likewise.
31665         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31666         (__FSWORD_T_TYPE): Likewise.
31667         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31668         __SWORD_TYPE with __fsword_t.
31669         (statfs64): Likewise.
31670
31671 2012-05-17  David S. Miller  <davem@davemloft.net>
31672
31673         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31674
31675 2012-05-17  Andreas Jaeger  <aj@suse.de>
31676
31677         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31678         warning.
31679
31680 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31681
31682         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31683
31684 2012-05-17  Andreas Jaeger  <aj@suse.de>
31685
31686         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31687         when it is used.
31688
31689 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31690
31691         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31692
31693 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31694
31695         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31696         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31697
31698 2012-05-17  Andreas Jaeger  <aj@suse.de>
31699             Carlos O'Donell  <carlos_odonell@mentor.com>
31700
31701         [BZ #14059]
31702         * sysdeps/x86_64/multiarch/init-arch.h
31703         (bit_YMM_Usable): Rename to...
31704         (bit_AVX_Usable): ... this.
31705         (bit_FMA4_Usable): New macro.
31706         (bit_XMM_state): New macro.
31707         (bit_YMM_state): New macro.
31708         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31709         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31710         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31711         (CPUID_OSXSAVE): New macro.
31712         (CPUID_AVX): New macro.
31713         (CPUID_FMA4): New macro.
31714         (index_YMM_Usable): Rename to...
31715         (index_AVX_Usable): ... this.
31716         (HAS_AVX): Use HAS_ARCH_FEATURE.
31717         (HAS_FMA4): Likewise.
31718         (HAS_YMM_USABLE): Remove.
31719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31720         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31721         are present.
31722         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31723         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31724         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31725         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31726         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31727
31728 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31729
31730         * math/libm-test.c: Support platforms without multiple rounding modes.
31731         * math/bug-nextafter.c: Support platforms without FP exceptions.
31732         * math/bug-nexttoward.c: Likewise.
31733         * math/test-fenv.c: Likewise.
31734         * math/test-misc.c: Likewise.
31735         * stdlib/bug-getcontext.c: Likewise.
31736
31737 2012-05-17  Andreas Jaeger  <aj@suse.de>
31738
31739         * manual/examples/search.c (critter_cmp): Change signature to
31740         avoid warnings.
31741         * manual/string.texi (Collation Functions): Likewise.
31742
31743 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31744
31745         * bits/types.h: Fold copyright years.
31746         * bits/typesizes.h: Likewise.
31747         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31749         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31750         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31751         * time/time.h: Likewise.
31752
31753 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31754
31755         [BZ #208]
31756         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31757         in instead of returning them.  Return void.
31758         (__libc_mallinfo): Accumulate over all arenas.
31759         (__malloc_stats): Adjust for change in int_mallinfo interface.
31760
31761 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31762
31763         [BZ #10375]
31764         * configure.in (NM): Add AC_CHECK_TOOL for it.
31765         (libc_extra_cflags): New substituted variable.
31766         Check for -fstack-protector being used implicitly.
31767         * configure: Regenerated.
31768         * config.make.in (config-extra-cflags): New variable,
31769         gets @libc_extra_cflags@.
31770         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31771
31772         [BZ #10375]
31773         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31774         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31775         * configure: Regenerated.
31776         * config.make.in (CPPUNDEFS): New substituted variable.
31777         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31778         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31779         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31780
31781 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31782
31783         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31784         (mq_attr): Use __syscall_slong_t.
31785
31786 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31787
31788         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31789         Check __x86_64__ instead of __WORDSIZE.
31790         (_STAT_VER_LINUX): Likewise.
31791         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31792         __syscall_ulong_t and __syscall_slong_t.
31793         (stat64): Likewise.
31794
31795 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31796
31797         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31798
31799 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31800
31801         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31802
31803 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31804
31805         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31806         __syscall_ulong_t.
31807
31808         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31809         include <bits/wordsize.h>.  Check __x86_64__ instead of
31810         __WORDSIZE.
31811         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31812         defined.
31813         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31814
31815         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31816         include <bits/wordsize.h>.  Check __x86_64__ instead of
31817         __WORDSIZE.
31818         (user_regs_struct): Use "__extension__ unsigned long long"
31819         instead of "unsigned long" if __x86_64__ is defined.
31820         (user): Likewise.  Pad after pointer field if __ILP32__ is
31821         defined.
31822
31823 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31824
31825         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31826         versions 5 to 9.
31827         * configure: Regenerated.
31828         * manual/install.texi (texinfo): Increase version requirement to
31829         4.5 or later.
31830         * INSTALL: Regenerated.
31831
31832         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31833
31834 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31835
31836         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31837
31838         * sysdeps/x86_64/x32/ffs.c: New file.
31839
31840         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31841         __syscall_ulong_t.
31842         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31843         defined.  Use __syscall_ulong_t.
31844         (shminfo): Use __syscall_ulong_t.
31845         (shm_info): Likewise.
31846
31847         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31848         __syscall_ulong_t.
31849
31850         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31851         <bits/wordsize.h>.
31852         (msgqnum_t): Use __syscall_ulong_t.
31853         (msglen_t): Likewise.
31854         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31855         __syscall_ulong_t.
31856
31857         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31858         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31859
31860         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31861
31862         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31863         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31864
31865         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31866         __syscall_slong_t.
31867
31868         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31869         include <bits/wordsize.h>.  Check __x86_64__ instead of
31870         __WORDSIZE.
31871
31872         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31873         "unsigned long long int" if __x86_64__ is defined.
31874         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31875
31876         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31877         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31878         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31879
31880         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31881         <stdint.h>.
31882         (GET_PC): Cast to uintptr_t first.
31883         (GET_FRAME): Likewise.
31884         (GET_STACK): Likewise.
31885
31886         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31887         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31888         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31889         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31890         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31891         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31892         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31893         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31894         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31895         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31896         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31897         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31898         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31899         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31900         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31901         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31902         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31903         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31904         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31905         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31906         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31907         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31908         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31909         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31910         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31911         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31912         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31913         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31914         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31915
31916 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31917
31918         * Makerules (+depfiles): Also collect depfiles from .oS in
31919         $(extra-objs).
31920         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31921         .oS, $(libnldbl-routines)).
31922
31923         * Makerules (native-compile-mkdep-flags): Define.
31924         * sunrpc/Makefile (extra-objs): Add $(addprefix
31925         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31926         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31927         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31928         calling $(make-target-directory).
31929
31930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31931
31932         * bits/types.h (__snseconds_t): Removed.
31933         * time/time.h (struct timespec): Replace __snseconds_t with
31934         __syscall_slong_t.
31935         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31936         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31937         Likewise.
31938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31939         (__SNSECONDS_T_TYPE): Likewise.
31940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31941         (__SNSECONDS_T_TYPE): Likewise.
31942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31943         (__SNSECONDS_T_TYPE): Likewise.
31944
31945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31946
31947         * sysdeps/mach/hurd/bits/typesizes.h
31948         (__SYSCALL_SLONG_TYPE): New macro.
31949         (__SYSCALL_ULONG_TYPE): Likewise.
31950
31951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31952
31953         * bits/types.h (__syscall_slong_t): New type.
31954         (__syscall_ulong_t): Likewise.
31955
31956         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31957         (__SYSCALL_ULONG_TYPE): Likewise.
31958         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31959         (__SYSCALL_SLONG_TYPE): Likewise.
31960         (__SYSCALL_ULONG_TYPE): Likewise.
31961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31962         (__SYSCALL_SLONG_TYPE): Likewise.
31963         (__SYSCALL_ULONG_TYPE): Likewise.
31964         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31965         (__SYSCALL_SLONG_TYPE): Likewise.
31966         (__SYSCALL_ULONG_TYPE): Likewise.
31967
31968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31969
31970         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31971         Add sigaltstack-offsets.sym.
31972         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31973         <sigaltstack-offsets.h>.
31974         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31975         longjmp_msg pointer.
31976         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31977         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31978         signal stack.
31979         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31980
31981 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31982
31983         * elf/stackguard-macros.h: Remove file.
31984         * sysdeps/generic/stackguard-macros.h: New file.
31985         * sysdeps/i386/stackguard-macros.h: Likewise.
31986         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31987         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31988         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31989         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31990         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31991         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31992         * sysdeps/x86_64/stackguard-macros.h: Likewise.
31993         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31994         <elf/stackguard-macros.h>.
31995
31996         [BZ #14109]
31997         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31998         __aligned__ in attribute.
31999         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32000         (gregset_t): Likewise.
32001
32002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32003
32004         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32005         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32006         * sysdeps/x86_64/x32/Implies-after: New file.
32007
32008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32009
32010         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32011         and access return value for _dl_profile_fixup.  Use R10_LP to
32012         load frame size.
32013
32014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32015
32016         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32017
32018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32019
32020         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32021         * sysdeps/x86_64/x32/sysdep.h: New file.
32022
32023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32024
32025         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32026         * sysdeps/x86_64/setjmp.S: Likewise.
32027
32028 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32029
32030         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32031         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32032         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32033         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32034         remove unused global constant.
32035
32036 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32037
32038         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32039         include of <not-cancel.h>.
32040
32041 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32042
32043         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32044
32045 2012-05-15  Jeff Law  <law@redhat.com>
32046             Andreas Jaeger  <aj@suse.de>
32047
32048         [BZ #13594]
32049         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32050         out from...
32051         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32052         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32053         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32054         code changing __hst_map_handle.map.
32055
32056 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32057
32058         * configure.in (sysnames): Look for Implies-before and Implies-after
32059         files.
32060         * configure: Regenerated.
32061
32062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32063
32064         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32065         8-byte data alignment with LP_SIZE alignment.
32066
32067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32068
32069         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32070         into R10_LP.
32071
32072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32073
32074         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32075
32076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32077
32078         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32079         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32080         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32081         Likewise.
32082         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32083
32084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32085
32086         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32087         (stackinfo_sub_sp): Likewise.
32088
32089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32090
32091         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32092         RAX_LP.
32093
32094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32095
32096         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32097         into R*_LP.
32098
32099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32100
32101         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32102         sizes into R*_LP.
32103
32104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32105
32106         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32107
32108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32109
32110         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32111         into R11_LP and load __x86_64_shared_cache_size_half into
32112         R8_LP.
32113
32114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32115
32116         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32117         R8_LP.
32118
32119 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32120
32121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32122         logb for POWER7.
32123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32124         logbf for POWER7.
32125         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32126         logbl for POWER7.
32127         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32128         powerpc32/power7/fpu/s_logb.c via #include.
32129         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32130         powerpc32/power7/fpu/s_logbf.c via #include.
32131         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32132         powerpc32/power7/fpu/s_logbl.c via #include.
32133
32134 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32135
32136         * README.libm: Remove file.
32137
32138 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32139
32140         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32141         count for x32.  Use R*_LP and omit operand-size suffix.
32142
32143 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32144
32145         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32146         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32147         * sysdeps/x86_64/x32/shlib-versions: New file.
32148
32149 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32150
32151         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32152         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32153         Use _dl_fatal_printf instead.
32154
32155 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32156
32157         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32158         set if not set by the user.  Do not allow for being unset.
32159         * sysdeps/unix/sysv/linux/configure: Regenerated.
32160
32161 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32162
32163         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32164         the `q' suffix from lea and replace .quad with ASM_ADDR.
32165
32166 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32167
32168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32169         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32170         instead of $17.
32171         (PTR_DEMANGLE): Likewise.
32172
32173 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32174
32175         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32176         (LP_OP): Likewise.
32177         (ASM_ADDR): Likewise.
32178         (RAX_LP): Likewise.
32179         (RBP_LP): Likewise.
32180         (RBX_LP): Likewise.
32181         (RCX_LP): Likewise.
32182         (RDI_LP): Likewise.
32183         (RSI_LP): Likewise.
32184         (RSP_LP): Likewise.
32185         (R8_LP): Likewise.
32186         (R9_LP): Likewise.
32187         (R10_LP): Likewise.
32188         (R10_LP): Likewise.
32189         (R11_LP): Likewise.
32190         (R12_LP): Likewise.
32191         (R13_LP): Likewise.
32192         (R14_LP): Likewise.
32193         (R15_LP): Likewise.
32194
32195 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32196
32197         * sysdeps/x86_64/x32/dl-machine.h: New file.
32198
32199 2012-05-14  Andreas Jaeger  <aj@suse.de>
32200
32201         * manual/Makefile (subdir): Remove export of subdir.
32202         (all): Remove target.
32203         (.PHONY): Remove all from list.
32204         (mkinstalldirs): Remove.
32205         (.PHONY): Remove installdirs from list.
32206         ($(inst_infodir)/libc.info): Use make-target-directory.
32207         (installdirs): Remove.
32208         (subdir_%): Remove.
32209         (glibc-targets): Remove.
32210         (lib): Remove.
32211         (stubs): Remove.
32212         ($(objpfx)stubs ../po/manual.pot): Remove.
32213         ($(objpfx)stamp%): Remove.
32214         (make-target-directory): Remove.
32215         (subdir_install): Remove.
32216         (routines): Remove.
32217         (aux): Remove.
32218         (sources): Remove.
32219         (objects): Remove.
32220         (headers): Remove.
32221
32222         [BZ #13750]
32223         * manual/.gitignore: Remove, it's not needed anymore.
32224         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32225         all files in it.
32226         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32227         directory.
32228         (texis): Renamed to $(objpfx)texis.
32229         (texis-path): New, contains path to generated files.
32230         (chapters.%): Use texis-path for complete path, add extra argument
32231         libc-texinfo.sh.
32232         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32233         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32234         (summary,texi, stamp-summary): Use complete path of
32235         files. Generate files in build dir.
32236         (dir-add.texi): Build in build dir.
32237         (libm-err.texi,stamp-libm-err): Likewise.
32238         (version.texi, stamp-version): Likewise.
32239         (.%c.texi): Likewise.
32240         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32241         (mostlyclean): Remove target.
32242         (realclean): Remove target.
32243         (generated): Add new variable with contents from mostlyclean and
32244         realclean, remove entries duplicated in common-mostlyclean, add
32245         stamp-libm-err and stamp-version.
32246         (generated-dirs): Add libc directory.
32247         ($(inst_infodir)/libc.info): Install files from build dir.
32248
32249         * manual/install.texi (Configuring and compiling): Adjust since
32250         the info files are not part of the tar ball anymore.
32251
32252 2012-05-14  Andreas Jaeger  <aj@suse.de>
32253
32254         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32255         variable.
32256
32257 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32258
32259         [BZ #13717]
32260         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32261         to 2.2.0 where earlier.
32262         * sysdeps/unix/sysv/linux/configure: Regenerated.
32263         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32264         Remove conditional code.
32265         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32266         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32267         Remove conditional code.
32268         [!__NR_lchown]: Likewise.
32269         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32270         [__NR_lchown]: Likewise.
32271         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32272         comment referencing __ASSUME_LCHOWN_SYSCALL.
32273         * sysdeps/unix/sysv/linux/i386/sigaction.c
32274         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32275         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32276         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32277         Remove conditional code.
32278         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32279         (__protocol_available): Remove #if 0 code.
32280         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32281         conditional code.
32282         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32283         * sysdeps/unix/sysv/linux/kernel-features.h
32284         (__ASSUME_GETCWD_SYSCALL): Don't define.
32285         (__ASSUME_REALTIME_SIGNALS): Likewise.
32286         (__ASSUME_PREAD_SYSCALL): Likewise.
32287         (__ASSUME_PWRITE_SYSCALL): Likewise.
32288         (__ASSUME_POLL_SYSCALL): Likewise.
32289         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32290         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32291         non-SPARC.
32292         (__ASSUME_SIOCGIFNAME): Don't define.
32293         (__ASSUME_MSG_NOSIGNAL): Likewise.
32294         (__ASSUME_SENDFILE): Define unconditionally.
32295         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32296         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32297         conditional code.
32298         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32299         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32300         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32301         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32302         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32303         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32304         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32306         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32307         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32309         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32310         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32312         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32313         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32315         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32316         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32318         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32319         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32321         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32322         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32324         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32325         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32327         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32328         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32329         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32330         Remove conditional code.
32331         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32332         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32333         Remove conditional code.
32334         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32335         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32336         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32337         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32338         Remove conditional code.
32339         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32340         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32341         Remove conditional code.
32342         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32343         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32344         Remove conditional code.
32345         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32346         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32347         Remove conditional code.
32348         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32349         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32350         Remove conditional code.
32351         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32352         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32353         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32354         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32355         * sysdeps/unix/sysv/linux/sigaction.c
32356         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32357         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32358         * sysdeps/unix/sysv/linux/sigpending.c
32359         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32360         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32361         * sysdeps/unix/sysv/linux/sigprocmask.c
32362         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32363         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32364         * sysdeps/unix/sysv/linux/sigsuspend.c
32365         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32366         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32367         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32368         (__libc_missing_rt_sigs): Remove.
32369         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32370         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32371         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32372         Remove conditional code.
32373         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32374         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32375         return 1.
32376         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32377         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32378         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32379         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32380
32381 2012-05-14  Andreas Jaeger  <aj@suse.de>
32382
32383         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32384         it's not used in glibc.
32385         (__coshm1): Likewise.
32386         (__acosh1p): Likewise.
32387         (__sgn): Likewise.
32388
32389         * manual/string.texi (Copying and Concatenation): Add missing
32390         variable in concat example.
32391         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32392
32393 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32394
32395         [BZ #14103]
32396         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32397         __builtin_clzl with __builtin_clzll.
32398
32399 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32400
32401         [BZ #14104]
32402         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32403         libc_freeres_ptr.
32404
32405 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32406
32407         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32408         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32409         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32410         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32411
32412 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32413
32414         * NEWS: Update ia64 info.
32415
32416 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32417
32418         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32419         used as bcopy.
32420
32421 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32422
32423         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32424         * sysdeps/unix/syscalls.list (dup3): Likewise.
32425         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32426         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32427
32428 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32429
32430         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32431         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32432
32433 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32434
32435         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32436         thread pointer.
32437         (TLS_IE): Use mov/add instead of movq/addq to load thread
32438         pointer.
32439         (TLS_GD_PREFIX): New.
32440         (TLS_GD): Use it.
32441
32442 2012-05-11  David S. Miller  <davem@davemloft.net>
32443
32444         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32445         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32446         (_FPU_SETCW): Likewise.
32447
32448 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32449
32450         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32451         is 32-byte aligned.
32452
32453 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32454
32455         [BZ #11837]
32456         * iconvdata/gb18030.c: Update tables.
32457         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32458         characters specially.
32459         (BODY for TO_LOOP): Add encoding of missing ranges.
32460
32461 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32462
32463         [BZ #13673]
32464         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32465         * sysdeps/mach/hurd/dup3.c: Likewise.
32466         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32467         * sysdeps/powerpc/memmove.c:: Likewise.
32468
32469 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32470
32471         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32472         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32473
32474 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32475
32476         * elf/elf.h (R_X86_64_RELATIVE64): New.
32477         (R_X86_64_NUM): Updated.
32478         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32479         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32480         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32481         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32482         tst-quad1pie tst-quad2pie
32483         (modules-names): Add tst-quadmod1 tst-quadmod2.
32484         ($(objpfx)tst-quad1): New dependency.
32485         ($(objpfx)tst-quad2): Likewise.
32486         ($(objpfx)tst-quad1pie): Likewise.
32487         ($(objpfx)tst-quad2pie): Likewise.
32488         * sysdeps/x86_64/tst-quad1.c: New file.
32489         * sysdeps/x86_64/tst-quad1pie.c: New file.
32490         * sysdeps/x86_64/tst-quad2.c: Likewise.
32491         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32492         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32493         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32494         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32495         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32496
32497 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32498
32499         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32500         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32501         * streams/stropts.h (t_scalar_t): Define type.
32502
32503         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32504         (_PATH_PRESERVE): Set to "/var/lib".
32505         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32506
32507         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32508         instead of int.
32509
32510         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32511         if __dir_mkfile succeeded.
32512
32513         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32514         checking for _hurd_dtablesize.  Unlock it right after having
32515         finished _hurd_dtable allocation.
32516
32517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32518
32519         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32520         * sysdeps/mach/hurd/configure: Regenerated.
32521         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32522         special-casing to...
32523         * sysdeps/gnu/configure.in: ... this new file.
32524         * sysdeps/unix/sysv/linux/configure: Regenerated.
32525         * sysdeps/gnu/configure: New generated file.
32526
32527         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32528         for Linux: use nsec instead of usec, as well as:
32529         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32530         members of type struct timespec.
32531         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32532         New macros.
32533         (struct stat64): Likewise.
32534         (_STATBUF_ST_NSEC): New macro.
32535         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32536
32537         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32538         __strtoul_internal rather than strtoul.
32539
32540 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32541
32542         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32543         and reject them.
32544
32545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32546
32547         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32548         which preserves existing values.
32549         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32550
32551 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32552
32553         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32554         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32555         greater than FD_SETSIZE.
32556
32557 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32558
32559         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32560         allocated, call __vm_protect to finish enabling the existing space, and
32561         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32562         allocate the remainder.
32563
32564 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32565
32566         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32567         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32568
32569 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32570
32571         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32572         sysdeps/mach/hurd/readlink.c.
32573
32574         * posix/tst-sysconf.c (posix_options): Only use
32575         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32576         _POSIX_SYNCHRONIZED_IO when they are defined
32577         * sysdeps/mach/hurd/bits/posix_opt.h:
32578         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32579         (_XOPEN_REALTIME): Undefine macro.
32580         (_XOPEN_REALTIME_THREADS): Undefine macro.
32581         (_XOPEN_SHM): Undefine macro.
32582         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32583         macro to -1.
32584         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32585         macro to -1.
32586         (_POSIX_ASYNC_IO): Undefine macro.
32587         (_POSIX_PRIORITIZED_IO): Undefine macro.
32588         (_POSIX_SPIN_LOCKS): Define macro to -1.
32589
32590         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32591         SA_NODEFER, SA_RESETHAND.
32592         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32593         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32594         F_DUPFD_CLOEXEC.
32595
32596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32597
32598         * elf/Makefile (pldd-modules): Define unconditionally.
32599
32600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32601
32602         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32603
32604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32605
32606         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32607         Return ENOENT when name is empty.
32608         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32609
32610 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32611
32612         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32613
32614         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32615
32616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32617
32618         Fix mlock in all cases except non-readable pages.
32619         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32620         instead of VM_PROT_ALL as parameter to __vm_wire function.
32621
32622         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32623         (__mkdir): When path is `/', just fail with EEXIST.
32624         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32625
32626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32627
32628         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32629         <sys/uio.h> (for writev).
32630         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32631         and <sys/param.h> (for MIN).
32632
32633 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32634
32635         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32636         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32637         if interrupted.
32638
32639 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32640
32641         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32642         Depend on against $(link-rpcuserlibs).
32643
32644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32645
32646         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32647         (__libc_stack_end): Do not use attribute_relro.
32648         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32649         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32650         to libthread-provided value.
32651         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32652         attribute_relro.
32653
32654 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32655
32656         [BZ #3748]
32657         * bits/libc-lock.h (__libc_once_get): New macro.
32658         * sysdeps/mach/bits/libc-lock.h: Likewise.
32659         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32660         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32661         instead of using implementation details.
32662
32663         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32664         * libio/freopen.c: Likewise.
32665         * libio/freopen64.c: Likewise.
32666         * misc/syslog.c: Likewise.
32667         * nscd/connections.c: Likewise.
32668         * nscd/netgroupcache.c: Likewise.
32669         * sysdeps/posix/getcwd.c: Likewise.
32670
32671 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32672
32673         * math/w_ilogbf.c: Add #include <limits.h>.
32674
32675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32676
32677         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32678         path instead of returning without unlocking.
32679
32680         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32681         immediate-write ioctls.
32682         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32683
32684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32685
32686         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32687         __builtin_frame_address instead of making assumptions about the
32688         location of the return address relative to DATA.  Force early load of
32689         the return address.
32690         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32691         __builtin_frame_address.
32692
32693         dup3 for GNU Hurd.
32694         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32695         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32696         implement dup3 and do some further code clean-ups.
32697         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32698         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32699
32700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32701
32702         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32703
32704         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32705         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32706         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32707         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32708         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32709         d->port.lock.
32710
32711         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32712         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32713         when handler == SIG_ERR, not when handler != SIG_ERR.
32714
32715 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32716
32717         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32718         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32719         definitions.
32720
32721         accept4 for GNU Hurd.
32722         * include/sys/socket.h (__libc_accept4): New prototype.
32723         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32724         to implement __libc_accept4.
32725         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32726         __libc_accept4.
32727         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32728
32729         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32730         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32731         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32732         signal-defines.sym.
32733
32734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32735
32736         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32737
32738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32739
32740         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32741         assertion on O_CLOEXEC flag.
32742         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32743         * hurd/intern-fd.c: Likewise.
32744         * hurd/port2fd.c: Likewise.
32745
32746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32747
32748         [BZ #3906]
32749         * bits/in.h (IPV6_PKTINFO): Define new macro.
32750         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32751
32752 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32753
32754         [BZ #13954]
32755         [BZ #13955]
32756         [BZ #13956]
32757         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32758         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32759         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32760         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32761         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32762         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32763         * math/libm-test.inc (logb_test) : Additional logb tests.
32764
32765 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32766             Andreas Jaeger  <aj@suse.de>
32767
32768         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32769         * configure: Regenerated.
32770         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32771         * config.make.in (link-obsolete-rpc): New substituted variable.
32772         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32773         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32774         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32775         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32776         so that libc.a contains the symbols.
32777         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32778         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32779         * sunrpc/auth_none.c: Likewise.
32780         * sunrpc/auth_unix.c: Likewise.
32781         * sunrpc/authdes_prot.c: Likewise.
32782         * sunrpc/authuxprot.c: Likewise.
32783         * sunrpc/clnt_gen.c: Likewise.
32784         * sunrpc/clnt_perr.c: Likewise.
32785         * sunrpc/clnt_raw.c: Likewise.
32786         * sunrpc/clnt_simp.c: Likewise.
32787         * sunrpc/clnt_tcp.c: Likewise.
32788         * sunrpc/clnt_udp.c: Likewise.
32789         * sunrpc/clnt_unix.c: Likewise.
32790         * sunrpc/des_crypt.c: Likewise.
32791         * sunrpc/des_soft.c: Likewise.
32792         * sunrpc/get_myaddr.c: Likewise.
32793         * sunrpc/key_call.c: Likewise.
32794         * sunrpc/key_prot.c: Likewise.
32795         * sunrpc/netname.c: Likewise.
32796         * sunrpc/pm_getmaps.c: Likewise.
32797         * sunrpc/pm_getport.c: Likewise.
32798         * sunrpc/pmap_clnt.c: Likewise.
32799         * sunrpc/pmap_prot.c: Likewise.
32800         * sunrpc/pmap_prot2.c: Likewise.
32801         * sunrpc/pmap_rmt.c: Likewise.
32802         * sunrpc/publickey.c: Likewise.
32803         * sunrpc/rpc_cmsg.c: Likewise.
32804         * sunrpc/rpc_common.c: Likewise.
32805         * sunrpc/rpc_dtable.c: Likewise.
32806         * sunrpc/rpc_prot.c: Likewise.
32807         * sunrpc/rpc_thread.c: Likewise.
32808         * sunrpc/rtime.c: Likewise.
32809         * sunrpc/svc.c: Likewise.
32810         * sunrpc/svc_auth.c: Likewise.
32811         * sunrpc/svc_raw.c: Likewise.
32812         * sunrpc/svc_run.c: Likewise.
32813         * sunrpc/svc_tcp.c: Likewise.
32814         * sunrpc/svc_udp.c: Likewise.
32815         * sunrpc/svc_unix.c: Likewise.
32816         * sunrpc/svcauth_des.c: Likewise.
32817         * sunrpc/xcrypt.c: Likewise.
32818         * sunrpc/xdr.c: Likewise.
32819         * sunrpc/xdr_array.c: Likewise.
32820         * sunrpc/xdr_float.c: Likewise.
32821         * sunrpc/xdr_intXX_t.c: Likewise.
32822         * sunrpc/xdr_mem.c: Likewise.
32823         * sunrpc/xdr_rec.c: Likewise.
32824         * sunrpc/xdr_ref.c: Likewise.
32825         * sunrpc/xdr_sizeof.c: Likewise.
32826         * sunrpc/xdr_stdio.c: Likewise.
32827
32828 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32829
32830         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32831         change.  Update copyright years.
32832
32833 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32834
32835         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32836
32837 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32838             Joseph Myers  <joseph@codesourcery.com>
32839             Paul Pluzhnikov  <ppluzhnikov@google.com>
32840
32841         [BZ #14012]
32842         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32843         requiring rpcgen.
32844         [cross-compiling] (extra-libs): Likewise.
32845         [cross-compiling] (extra-libs-others): Likewise.
32846         [cross-compiling] (librpcsvc-routines): Likewise.
32847         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32848         [cross-compiling] (omit-deps): Likewise.
32849         (sunrpc-CPPFLAGS): New variable.
32850         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32851         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32852         (cross-rpcgen-objs): New variable.
32853         (extra-objs): Append $(cross-rpcgen-objs).
32854         ($(cross-rpcgen-objs)): New rule.
32855         ($(objpfx)cross-rpcgen): Likewise.
32856         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32857         comment.
32858         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32859         ($(objpfx)x%.stmp): Likewise.
32860         * sunrpc/proto.h [IS_IN_build] (_): Define.
32861         [IS_IN_build] (_libc_intl_domainname): Likewise.
32862
32863 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32864
32865         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32866         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32867         and R_X86_64_TPOFF64.
32868
32869 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32870
32871         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32872         sysdeps/unix/sysv/syscalls.list.
32873         (stime): Likewise.
32874         (utime): Likewise.
32875         * sysdeps/unix/sysv/syscalls.list: Remove file.
32876
32877 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32878
32879         [BZ #3440]
32880         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32881         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32882         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32883         (__LC_IDENTIFICATION): Make these macros useful in #if
32884         expressions, as required by C99.
32885
32886 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32887
32888         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32889         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32890         after this.
32891
32892 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32893
32894         * stdlib/longlong.h: Updated from GCC.
32895
32896 2012-05-09  Andreas Jaeger  <aj@suse.de>
32897
32898         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32899         default is first entry.
32900         (run_mode): Set type.
32901         (main): Remove informal message about syslog.
32902         (options): Fix typo.
32903
32904         [BZ #14053]
32905         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32906         to asm.
32907         (lrint): Likewise.
32908         (llrintf): Likewise.
32909         (llrint): Likewise.
32910         (rint): Likewise.
32911         (rintf): Likewise.
32912         (nearbyint): Likewise.
32913         (nearbyintf): Likewise.
32914
32915 2012-05-09  Andreas Jaeger  <aj@suse.de>
32916             Pedro Alves  <palves@redhat.com>
32917
32918         * nscd/nscd.c (run_mode): Use enum.
32919         (main): Cleanup coding style issue.
32920
32921 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32922             Andreas Jaeger  <aj@suse.de>
32923
32924         * nscd/nscd.c (go_background): Replaced with...
32925         (run_mode): ... this.
32926         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32927         (options): Add -F --foreground.
32928         (main): Implement it.
32929         (parse_opt): Parse it.
32930
32931 2012-05-09  Andreas Jaeger  <aj@suse.de>
32932
32933         [BZ #14083]
32934         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32935         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32936         -Wconversion warning.
32937         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32938         Likewise.
32939
32940 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32941
32942         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32943         == 0.
32944         (LC_ALL): Use macro-int-constant.
32945         (LC_COLLATE): Likewise.
32946         (LC_CTYPE): Likewise.
32947         (LC_MESSAGES): Likewise.
32948         (LC_MONETARY): Likewise.
32949         (LC_NUMERIC): Likewise.
32950         (LC_TIME): Likewise.
32951         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32952         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32953         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32954         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32955         Specify type.
32956         [C99-based standards] (float_t): Expect type.
32957         [C99-based standards] (double_t): Expect type.
32958         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32959         type.
32960         [C99-based standards] (HUGE_VALL): Likewise.
32961         [C99-based standards] (INFINITY): Likewise.
32962         [C99-based standards] (NAN): Likewise.
32963         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32964         [C99-based standards] (FP_NAN): Likewise.
32965         [C99-based standards] (FP_NORMAL): Likewise.
32966         [C99-based standards] (FP_SUBNORMAL): Likewise.
32967         [C99-based standards] (FP_ZERO): Likewise.
32968         [C99-based standards] (FP_FAST_FMA): Use
32969         optional-macro-int-constant.  Specify type.  Require == 1.
32970         [C99-based standards] (FP_FAST_FMAF): Likewise.
32971         [C99-based standards] (FP_FAST_FMAL): Likewise.
32972         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32973         [C99-based standards] (FP_ILOGBNAN): Likewise.
32974         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32975         Specify type.
32976         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32977         [C99-based standards] (math_errhandling): Specify type.
32978         [ISO99 || ISO11] (signgam): Do not allow.
32979         [non-C99-based standards] (copysignf): Do not allow.
32980         [non-C99-based standards] (exp2f): Likewise.
32981         [non-C99-based standards] (log2f): Likewise.
32982         [non-C99-based standards] (modff): Allow.
32983         [non-C99-based standards] (erff): Do not allow.
32984         [non-C99-based standards] (erfcf): Likewise.
32985         [non-C99-based standards] (gammaf): Likewise.
32986         [non-C99-based standards] (hypotf): Likewise.
32987         [non-C99-based standards] (j0f): Likewise.
32988         [non-C99-based standards] (j1f): Likewise.
32989         [non-C99-based standards] (jnf): Likewise.
32990         [non-C99-based standards] (lgammaf): Likewise.
32991         [non-C99-based standards] (tgammaf): Likewise.
32992         [non-C99-based standards] (y0f): Likewise.
32993         [non-C99-based standards] (y1f): Likewise.
32994         [non-C99-based standards] (ynf): Likewise.
32995         [non-C99-based standards] (isnanf): Likewise.
32996         [non-C99-based standards] (acoshf): Likewise.
32997         [non-C99-based standards] (asinhf): Likewise.
32998         [non-C99-based standards] (atanhf): Likewise.
32999         [non-C99-based standards] (cbrtf): Likewise.
33000         [non-C99-based standards] (expm1f): Likewise.
33001         [non-C99-based standards] (ilogbf): Likewise.
33002         [non-C99-based standards] (log1pf): Likewise.
33003         [non-C99-based standards] (logbf): Likewise.
33004         [non-C99-based standards] (nextafterf): Likewise.
33005         [non-C99-based standards] (remainderf): Likewise.
33006         [non-C99-based standards] (rintf): Likewise.
33007         [non-C99-based standards] (scalbf): Likewise.
33008         [non-C99-based standards] (copysignl): Likewise.
33009         [non-C99-based standards] (exp2l): Likewise.
33010         [non-C99-based standards] (log2l): Likewise.
33011         [non-C99-based standards] (modfl): Allow.
33012         [non-C99-based standards] (erfl): Do not allow.
33013         [non-C99-based standards] (erfcl): Likewise.
33014         [non-C99-based standards] (gammal): Likewise.
33015         [non-C99-based standards] (hypotl): Likewise.
33016         [non-C99-based standards] (j0l): Likewise.
33017         [non-C99-based standards] (j1l): Likewise.
33018         [non-C99-based standards] (jnl): Likewise.
33019         [non-C99-based standards] (lgammal): Likewise.
33020         [non-C99-based standards] (tgammal): Likewise.
33021         [non-C99-based standards] (y0l): Likewise.
33022         [non-C99-based standards] (y1l): Likewise.
33023         [non-C99-based standards] (ynl): Likewise.
33024         [non-C99-based standards] (isnanl): Likewise.
33025         [non-C99-based standards] (acoshl): Likewise.
33026         [non-C99-based standards] (asinhl): Likewise.
33027         [non-C99-based standards] (atanhl): Likewise.
33028         [non-C99-based standards] (cbrtl): Likewise.
33029         [non-C99-based standards] (expm1l): Likewise.
33030         [non-C99-based standards] (ilogbl): Likewise.
33031         [non-C99-based standards] (log1pl): Likewise.
33032         [non-C99-based standards] (logbl): Likewise.
33033         [non-C99-based standards] (nextafterl): Likewise.
33034         [non-C99-based standards] (remainderl): Likewise.
33035         [non-C99-based standards] (rintl): Likewise.
33036         [non-C99-based standards] (scalbl): Likewise.
33037         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33038         [non-C99-based standards] (FP_*): Do not allow.
33039         [C99-based standards] (FP_*): Change to
33040         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33041         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33042         allow.
33043         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33044         (SIG_ERR): Likewise.
33045         [X/Open-based standards] (SIG_HOLD): Likewise.
33046         (SIG_IGN): Likewise.
33047         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33048         positive value.
33049         (SIGFPE): Likewise.
33050         (SIGILL): Likewise.
33051         (SIGINT): Likewise.
33052         (SIGSEGV): Likewise.
33053         (SIGTER): Likewise.
33054         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33055         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33056         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33057         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33058         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33059         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33060         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33061         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33062         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33063         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33064         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33065         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33066         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33067         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33068         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33069         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33070         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33071         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33072         [X/Open-based standards] (SIGTRAP): Likewise.
33073         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33074         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33075         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33076         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33077         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33078         allow.
33079
33080 2012-05-08  Ian Wienand  <ianw@vmware.com>
33081
33082         [BZ #14080]
33083         * time/tzset.c (__tzset_parse_tz): Update default rules for
33084         daylight time changes in the Energy Policy Act of 2005.
33085
33086 2012-05-09  Andreas Jaeger  <aj@suse.de>
33087
33088         [BZ #13983]
33089         * elf/ldconfig.c (parse_conf): Change string to make clear that
33090         ldconfig only issued a warning if ld.so.conf does not exist.
33091
33092 2012-05-08  David S. Miller  <davem@davemloft.net>
33093
33094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33095         movxtod instead of popping the value on the stack.
33096
33097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33098
33099 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33100
33101         * config.h.in: Add HAVE_ARM_PCS_VFP.
33102
33103 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33104
33105         [BZ #13979]
33106         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33107         checking but the checks are disabled for any reason.
33108
33109 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33110
33111         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33112         and ELF64_R_TYPE with ELFW(R_TYPE).
33113
33114 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33115
33116         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33117         (ulimit): Likewise.
33118
33119         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33120         (settimeofday): Likewise.
33121
33122 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33123
33124         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33125         a struct th_u2 inside the union, and move tu_block/tu_code into
33126         a new th_u3 union of tu_block/tu_code inside of that.  Move
33127         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33128         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33129         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33130         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33131         (th_stuff): Change to th_u1.tu_stuff.
33132         (th_data): Define.
33133         (th_msg): Change to th_u1.th_u2.tu_data.
33134
33135 2012-05-07  David S. Miller  <davem@davemloft.net>
33136
33137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33138
33139         [BZ #14074]
33140         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33141         (SETUP_PIC_REG): Use it.
33142         (SETUP_PIC_REG_LEAF): Use it.
33143
33144 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33145
33146         [BZ #13885]
33147         [BZ #13923]
33148         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33149         USE_AS_EXPM1L.
33150         (EXPL_FINITE): Likewise.
33151         (FLDLOG): Likewise.
33152         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33153         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33154         e_expl.S.
33155         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33156         USE_AS_EXPM1L.
33157         (EXPL_FINITE): Likewise.
33158         (FLDLOG): Likewise.
33159         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33160         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33161         e_expl.S.
33162         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33163         test of -max_value argument for long double.
33164         * sysdeps/i386/fpu/libm-test-ulps: Update.
33165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33166
33167 2012-05-06  David S. Miller  <davem@davemloft.net>
33168
33169         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33170         quad soft-float symbols whose references which are compiler
33171         generated.
33172         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33173
33174 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33175
33176         [BZ #13884]
33177         [BZ #13914]
33178         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33179         USE_AS_EXP10L.
33180         (EXPL_FINITE): Likewise.
33181         (FLDLOG): Likewise.
33182         (c0): Likewise.
33183         (c1): Likewise.
33184         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33185         Adjust comments for base varying.
33186         (__expl_finite): Change alias to EXPL_FINITE.
33187         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33188         e_expl.S.
33189         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33190         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33191         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33192         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33193         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33194         USE_AS_EXP10L.
33195         (EXPL_FINITE): Likewise.
33196         (FLDLOG): Likewise.
33197         (c0): Likewise.
33198         (c1): Likewise.
33199         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33200         Adjust comments for base varying.
33201         (__expl_finite): Change alias to EXPL_FINITE.
33202         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33203         tests for bugs.
33204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33205
33206         [BZ #14064]
33207         * math/libm-test.inc (check_float_internal): Correct ulp
33208         calculation for subnormal expected results.
33209
33210 2012-05-06  Andreas Jaeger  <aj@suse.de>
33211
33212         * Makeconfig (+math-flags): New, set to -frounding-math.
33213         (+cflags): Add +math-flags so that all of glibc gets compiled with
33214         it.
33215
33216         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33217
33218 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33219
33220         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33221         Disable one test.
33222
33223         [BZ #13787]
33224         [BZ #13922]
33225         [BZ #14036]
33226         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33227         (__ieee754_expl): Allow for and saturate large arguments.
33228         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33229         (u_threshold): Likewise.
33230         (__exp): Call __ieee754_exp before checking for overflow and
33231         underflow.
33232         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33233         (u_threshold): Likewise.
33234         (__expf): Call __ieee754_expf before checking for overflow and
33235         underflow.
33236         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33237         (u_threshold): Likewise.
33238         (__expl): Call __ieee754_expl before checking for overflow and
33239         underflow.
33240         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33241         (__ieee754_expl): Allow for and saturate large arguments.
33242         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33243         missing overflow exception on overflow.
33244         (expm1_test): Do not allow missing overflow exception on overflow.
33245
33246         * sysdeps/i386/fpu/e_expl.c: Move to ...
33247         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33248         rather than using inline asm.
33249         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33250         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33251         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33252
33253         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33254         (nice): Likewise.
33255         (poll): Likewise.
33256         (signal): Likewise.
33257         (time): Likewise.
33258         (times): Likewise.
33259
33260 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33261
33262         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33263         sysdeps/unix/common/syscalls.list.
33264         (fchmod): Likewise.
33265         (fchown): Likewise.
33266         (ftruncate): Likewise.
33267         (getrusage): Likewise.
33268         (gettimeofday): Likewise.
33269         (setpgid): Likewise.
33270         (setregid): Likewise.
33271         (setreuid): Likewise.
33272         (sigaction): Likewise.
33273         (truncate): Likewise.
33274         (vhangup): Likewise.
33275         * sysdeps/unix/common/syscalls.list: Remove file.
33276         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33277         * sysdeps/unix/sysv/linux/Implies: Likewise.
33278
33279 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33280
33281         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33283         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33284         Moved to ...
33285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33286         Here.
33287         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33288         to ...
33289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33290         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33291         to ...
33292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33293         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33294         to ...
33295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33296         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33297         to ...
33298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33299         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33300         to ...
33301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33302         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33303         to ...
33304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33305         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33306         to ...
33307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33308         Here.
33309         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33310         to ...
33311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33312         Here.
33313         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33314         to ...
33315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33316         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33317         Moved to ...
33318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33319         Here.
33320         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33321         to ...
33322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33323
33324 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33325
33326         * sysdeps/unix/common/bits/dirent.h: Remove file.
33327         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33328
33329         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33330         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33331         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33332         * sysdeps/unix/bsd/isatty.c: Likewise.
33333         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33334         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33335         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33336
33337 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33338
33339         [BZ #13563]
33340         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33341         long double comparison inaccuracies.
33342         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33344
33345 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33346
33347         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33348         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33349
33350 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33351
33352         [BZ #14049]
33353         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33354         nonzero digits before rounding a hex value.
33355         * stdlib/tst-strtod.c (tests): Add another test.
33356
33357 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33358
33359         * sysdeps/s390/fpu/libm-test-ulps: Update.
33360
33361 2012-05-03  Andreas Jaeger  <aj@suse.de>
33362
33363         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33364         does not get optimized out.
33365         (malloc_opt_barrier): New.
33366
33367 2012-05-03  Andreas Jaeger  <aj@suse.de>
33368             Roland McGrath  <roland@hack.frob.com>
33369
33370         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33371         intermediate file deletion.
33372         (generated): Add .symlist files.
33373
33374 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33375
33376         [BZ #13775]
33377         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33378         Redirect under this condition.
33379         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33380         [__USE_GNU] (__dprintf_chk): Not under this condition.
33381         [__USE_GNU] (__vdprintf_chk): Likewise.
33382         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33383         under this condition.
33384         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33385         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33386         [__USE_XOPEN2K8] (vdprintf): Likewise.
33387         [__USE_GNU] (__dprintf_chk): Not under this condition.
33388         [__USE_GNU] (__vdprintf_chk): Likewise.
33389         [__USE_GNU] (dprintf): Likewise.
33390         [__USE_GNU] (vdprintf): Likewise.
33391
33392 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33393
33394         * elf/Makefile (common-generated): Set this instead of generated for
33395         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33396         $(all-built-dso)-derived lists.
33397
33398 2012-05-03  Andreas Jaeger  <aj@suse.de>
33399
33400         * sysdeps/i386/fpu/libm-test-ulps: Update.
33401
33402         * FAQ: Removed.
33403         * FAQ.in: Likewise.
33404         * scripts/gen-FAQ.pl: Likewise.
33405         * manual/install.texi (Installation): Point to online location of
33406         FAQ.
33407         * Makefile (files-for-dist): Remove FAQ.
33408         (FAQ): Remove.
33409
33410 2012-05-02  Allan McRae  <allan@archlinux.org>
33411
33412         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33413         (LDFLAGS-reldepmod5.so): Likewise.
33414         (LDFLAGS-reldep6mod1.so): Likewise.
33415         (LDFLAGS-reldep6mod4.so): Likewise.
33416         (LDFLAGS-reldep8mod3.so): Likewise.
33417         (LDFLAGS-unload4mod1.so): Likewise.
33418         (LDFLAGS-unload4mod2.so): Likewise.
33419         (LDFLAGS-tst-initorder): Likewise.
33420         (LDFLAGS-tst-initordera2.so): Likewise.
33421         (LDFLAGS-tst-initordera3.so): Likewise.
33422         (LDFLAGS-tst-initordera4.so): Likewise.
33423         (LDFLAGS-tst-initorderb2.so): Likewise.
33424         (LDFLAGS-noload): Likewise.
33425         (LDFLAGS-next): Likewise.
33426         (LDFLAGS-order2mod1.so): Likewise.
33427         (LDFLAGS-order2mod2.so): Likewise.
33428         (LDFLAGS-tst-initorder2): Likewise.
33429         (LDFLAGS-tst-initorder2a.so): Likewise.
33430         (LDFLAGS-tst-initorder2b.so): Likewise.
33431         (LDFLAGS-tst-initorder2c.so): Likewise.
33432         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33433
33434 2012-05-02  David S. Miller  <davem@davemloft.net>
33435
33436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33437
33438 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33439
33440         [BZ #14055]
33441         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33442
33443 2012-05-02  Andreas Jaeger  <aj@suse.de>
33444
33445         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33446         since we manipulate rounding mode.
33447         (CPPFLAGS-test-idouble.c): Likewise.
33448         (CPPFLAGS-test-ifloat.c): Likewise.
33449         (CFLAGS-test-ldouble.c): Likewise.
33450         (CFLAGS-test-double.c): Likewise.
33451         (CFLAGS-test-float.c): Likewise.
33452         (CFLAGS-test-misc.c): Likewise.
33453         (CFLAGS-test-test-fenv.c): Likewise.
33454
33455 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33456
33457         [BZ #2550]
33458         [BZ #2570]
33459         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33460         comparisons to determine direction to adjust input.
33461
33462 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33463
33464         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33465         output to the target.
33466
33467         * scripts/localplt.awk: New file.
33468         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33469         (check-localplt-CFLAGS): Variable removed.
33470         ($(all-built-dso:=.jmprel)): New static pattern rule.
33471         (generated): Add those targets.
33472         (localplt-built-dso): New variable.
33473         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33474
33475         * elf/check-localplt.c: File removed.
33476
33477         * scripts/check-execstack.awk: New file.
33478         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33479         (check-execstack-CFLAGS): Variable removed.
33480         ($(objpfx)check-execstack.h): Target removed.
33481         ($(objpfx)execstack-default): New target.
33482         (generated): Add that instead of check-execstack.h.
33483         ($(all-built-dso:=.phdr)): New static pattern rule.
33484         (generated): Add those targets.
33485         * elf/check-execstack.c: File removed.
33486
33487         * scripts/check-textrel.awk: New file.
33488         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33489         (check-textrel-CFLAGS): Variable removed.
33490         (all-built-dso): Use := to define.o
33491         ($(all-built-dso:=.dyn)): New static pattern rule.
33492         (generated): Add those targets.
33493         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33494         * config.make.in (READELF): New substituted variable.
33495         * elf/check-textrel.c: File removed.
33496
33497 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33498
33499         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33500         allow.
33501         * conform/data/ctype.h-data [C99-based standards] (isblank):
33502         Expect function.
33503         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33504         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33505         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33506         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33507         Specify type.  Require positive value.
33508         (EILSEQ): Likewise.
33509         (ERANGE): Likewise.
33510         [ISO || POSIX] (EILSEQ): Do not expect.
33511         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33512         Specify type.  Require positive value.
33513         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33514         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33515         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33516         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33517         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33518         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33519         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33520         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33521         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33522         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33523         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33524         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33525         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33526         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33527         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33528         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33529         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33530         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33531         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33532         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33533         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33534         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33535         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33536         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33537         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33538         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33539         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33540         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33541         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33542         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33543         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33544         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33545         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33546         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33547         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33548         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33549         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33550         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33551         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33552         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33553         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33554         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33555         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33556         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33557         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33558         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33559         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33560         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33561         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33562         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33563         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33564         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33565         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33566         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33567         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33568         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33569         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33570         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33571         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33572         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33573         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33574         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33575         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33576         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33577         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33578         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33579         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33580         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33581         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33582         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33583         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33584         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33585         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33586         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33587         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33588         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33589         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33590         Require >= 2.
33591         (FLT_ROUNDS): Expect as macro, not constant.
33592         (FLT_MANT_DIG): Use macro-int-constant.
33593         (DBL_MANT_DIG): Likewise.
33594         (LDBL_MANT_DIG): Likewise.
33595         (FLT_DIG): Likewise.
33596         (DBL_DIG): Likewise.
33597         (LDBL_DIG): Likewise.
33598         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33599         (DBL_MIN_EXP): Likewise.
33600         (LDBL_MIN_EXP): Likewise.
33601         (FLT_MAX_EXP): Use macro-int-constant.
33602         (DBL_MAX_EXP): Likewise.
33603         (LDBL_MAX_EXP): Likewise.
33604         (FLT_MAX_10_EXP): Likewise.
33605         (DBL_MAX_10_EXP): Likewise.
33606         (LDBL_MAX_10_EXP): Likewise.
33607         (FLT_MAX): Use macro-constant.
33608         (DBL_MAX): Likewise.
33609         (LDBL_MAX): Likewise.
33610         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33611         (DBL_EPSILON): Likewise.
33612         (LDBL_EPSILON): Likewise.
33613         (FLT_MIN): Likewise.
33614         (DBL_MIN): Likewise.
33615         (LDBL_MIN): Likewise.
33616         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33617         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33618         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33619         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33620         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33621         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33622         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33623         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33624         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33625         [ISO11] (FLT_TRUE_MIN): Likewise.
33626         [ISO11] (LDBL_TRUE_MIN): Likewise.
33627         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33628         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33629         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33630         (SCHAR_MAX): Likewise.
33631         (UCHAR_MAX): Likewise.
33632         (CHAR_MIN): Likewise.
33633         (CHAR_MAX): Likewise.
33634         (MB_LEN_MAX): Use macro-int-constant.
33635         (SHRT_MIN): Use macro-int-constant.  Specify type.
33636         (SHRT_MAX): Likewise.
33637         (USHRT_MAX): Likewise.
33638         (INT_MAX): Likewise.
33639         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33640         bound negative.
33641         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33642         bound with "U".
33643         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33644         bound with "L".
33645         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33646         bound negative.  Suffix upper bound with "L".
33647         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33648         bound with "UL".
33649         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33650         Specify type.
33651         [C99-based standards] (LLONG_MAX): Likewise.
33652         [C99-based standards] (ULLONG_MAX): Likewise.
33653         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33654         == 0.
33655         [ISO11] (max_align_t): Require type.
33656         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33657
33658         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33659         from $CFLAGS, without defining away __attribute__ calls.
33660         (checknamespace): Use $CFLAGS_namespace.
33661
33662         * conform/conformtest.pl (@keywords): Only include C99 keywords
33663         for standards based on C99 or C11.
33664
33665         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33666         Disable tests.
33667         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33668         UNIX98]: Likewise.
33669
33670         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33671         usability of symbols in #if.
33672
33673         * conform/conformtest.pl: If macro or constant types start
33674         "promoted:", expect the symbol to be of the following type
33675         promoted by the integer promotions.
33676
33677         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33678         in one place.  Also handle "macro-constant".
33679
33680         * conform/conformtest.pl: Only accept expected macro values with
33681         "==".  Parse all "macro" lines in one place.
33682         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33683
33684         * conform/conformtest.pl: Handle braced types on "constant" lines
33685         instead of handling "typed-constant".
33686         * conform/data/signal.h-data: Use "constant" instead of
33687         "typed-constant".
33688
33689         * conform/conformtest.pl: Handle "optional-" at start of lines in
33690         one place rather than duplicating several cases.  Handle each
33691         format of "macro" line with initial "optional-".
33692
33693         * conform/conformtest.pl: Only accept expected constant or
33694         optional-constant values with "==".  Parse all "constant" lines in
33695         one place.  Parse all "optional-constant" lines in one place.
33696         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33697         * conform/data/fmtmsg.h-data: Likewise.
33698         * conform/data/netinet/in.h-data: Likewise.
33699         * conform/data/tar.h-data: Likewise.
33700         * conform/data/limits.h-data: Use "==" form on "constant" and
33701         "optional-constant" lines.
33702
33703         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33704         Use -std=c99 for XOPEN2K.
33705         (@knownproblems): Remove.
33706         (newtoken): Don't check %isknown.
33707
33708         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33709         Do not expect macro.
33710         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33711         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33712         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33713         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33714         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33715         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33716         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33717         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33718         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33719         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33720         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33721         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33722         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33723         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33724         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33725         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33726         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33727         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33728         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33729         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33730         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33731         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33732         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33733         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33734         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33735         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33736         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33737         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33738         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33739         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33740         [XPG3] (acosh): Likewise.
33741         [XPG3] (asinh): Likewise.
33742         [XPG3] (atanh): Likewise.
33743         [XPG3] (cbrt): Likewise.
33744         [XPG3] (expm1): Likewise.
33745         [XPG3] (ilogb): Likewise.
33746         [XPG3] (log1p): Likewise.
33747         [XPG3] (logb): Likewise.
33748         [XPG3] (nextafter): Likewise.
33749         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33750         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33751         [XPG3] (remainder): Likewise.
33752         [XPG3] (rint): Likewise.
33753         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33754         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33755         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33756         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33757         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33758         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33759         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33760         [UNIX98 || XOPEN2K] (scalb): Expect.
33761         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33762         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33763         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33764         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33765         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33766         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33767         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33768         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33769         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33770         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33771         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33772         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33773         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33774         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33775         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33776         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33777         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33778         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33779         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33780         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33781         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33782         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33783         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33784         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33785         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33786         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33787         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33788         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33789         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33790         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33791         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33792         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33793         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33794         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33795         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33796         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33799         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33800         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33805         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33806         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33807         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33808         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33809         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33810         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33823         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33824         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33825         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33826         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33827         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33828         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33829         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33830         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33831         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33832         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33833         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33834         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33835         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33836         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33837         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33838         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33839         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33840         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33841         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33842         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33843         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33844         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33845         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33846         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33847         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33848         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33849         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33850         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33851         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33852         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33853         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33854         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33855         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33856         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33857         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33858         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33859         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33860         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33861         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33862         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33863         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33864         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33865         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33866         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33867         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33868         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33869         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33870         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33871         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33872         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33873         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33874         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33875         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33876         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33877         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33878         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33879         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33880         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33881         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33882         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33883         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33884         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33885         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33886         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33887         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33888         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33889         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33890         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33891         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33892         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33893         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33894         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33895         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33896         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33897         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33898
33899         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33900         _XOPEN_SOURCE_EXTENDED for XPG4.
33901
33902         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33903
33904         * Makeconfig (localtime): Remove variable.
33905         (inst_localtime-file): Likewise.
33906
33907 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33908
33909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33910         Update.
33911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33912         Update.
33913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33914         Update.
33915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33916         Update.
33917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33918         Update.
33919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33920         Update.
33921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33922         Update.
33923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33924         Update.
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33926         Update.
33927
33928 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33929
33930         [BZ #2550]
33931         [BZ #2570]
33932         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33933         comparisons to determine direction to adjust input.
33934         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33935         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33936         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33937         Likewise.
33938         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33939         Likewise.
33940         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33941         Likewise.
33942         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33943         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33944         Likewise.
33945         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33946         Likewise.
33947         * math/libm-test.inc (nexttoward_test): Add more tests.
33948
33949 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33950
33951         [BZ #14040]
33952         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33953         in version GLIBC_2.1, not GLIBC_2.0.
33954         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33955         Likewise.
33956
33957 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33958
33959         [BZ #13942]
33960         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33961         (1 - x) * (1 + x).
33962         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33963         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33964         * math/libm-test.inc (acos_test): Add more tests.
33965         (asin_test): Likewise.
33966         * sysdeps/i386/fpu/libm-test-ulps: Update.
33967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33968
33969         [BZ #14034]
33970         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33971         of square root.
33972         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33973         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33974         * math/libm-test.inc (acos_test_tonearest): New function.
33975         (acos_test_towardzero): Likewise.
33976         (acos_test_downward): Likewise.
33977         (acos_test_upward): Likewise.
33978         (asin_test_tonearest): Likewise.
33979         (asin_test_towardzero): Likewise.
33980         (asin_test_downward): Likewise.
33981         (asin_test_upward): Likewise.
33982         (main): Call the new functions.
33983         * sysdeps/i386/fpu/libm-test-ulps: Update.
33984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33985
33986         [BZ #13884]
33987         [BZ #13924]
33988         * math/e_exp10.c: Include <float.h>.
33989         (__ieee754_exp10): Handle underflow here rather than multiplying
33990         large negative argument by M_LN10.
33991         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33992         of __ieee754_expf.
33993         * math/e_exp10l.c: Include <float.h>.
33994         (__ieee754_exp10l): Handle underflow here rather than multiplying
33995         large negative argument by M_LN10l.
33996         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
33997         spurious overflow exception on underflow.
33998
33999 2012-04-29  Marek Polacek  <polacek@redhat.com>
34000
34001         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34002         (__fortify_function): New macro.
34003         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34004         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34005         __extern_always_inline.
34006         * libio/bits/stdio2.h: Likewise.
34007         * libio/bits/stdio.h: Likewise.
34008         * string/string.h: Likewise.
34009         * string/bits/string3.h: Likewise.
34010         * include/stdio.h: Likewise.
34011         * stdlib/bits/stdlib.h: Likewise.
34012         * stdlib/stdlib.h: Likewise.
34013         * rt/bits/mqueue2.h: Likewise.
34014         * rt/mqueue.h: Likewise.
34015         * posix/bits/unistd.h: Likewise.
34016         * posix/unistd.h: Likewise.
34017         * io/bits/poll2.h: Likewise.
34018         * io/bits/fcntl2.h: Likewise.
34019         * io/fcntl.h: Likewise.
34020         * io/sys/poll.h: Likewise.
34021         * misc/bits/syslog.h: Likewise.
34022         * misc/bits/syslog-ldbl.h: Likewise.
34023         * misc/sys/syslog.h: Likewise.
34024         * socket/bits/socket2.h: Likewise.
34025         * socket/sys/socket.h: Likewise.
34026         * debug/tst-chk1.c: Likewise.
34027         * wcsmbs/bits/wchar2.h: Likewise.
34028         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34029         * wcsmbs/wchar.h: Likewise.
34030
34031 2012-04-29  Andreas Jaeger  <aj@suse.de>
34032
34033         * Makerules (tests): Remove enable-check-abi protection.
34034         (check-abi-warn): Remove.
34035         (check-abi-%): Remove check-abi-warn usage.
34036
34037         * configure.in: Remove check-abi configure option.
34038         * configure: Regenerated.
34039         * config.make.in (enable-check-abi): Remove.
34040
34041 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34042
34043         [BZ #14033]
34044         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34045         double functions to double *_finite functions.
34046
34047         [BZ #13941]
34048         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34049         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34050         LDBL_MIN_EXP.
34051         * stdio-common/Makefile (tests): Add tst-sprintf3.
34052         * stdio-common/tst-sprintf3.c: New file.
34053
34054         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34055         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34056
34057 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34058
34059         * conform/conformtest.pl: Remove duplicate typed-constant
34060         handling.
34061
34062 2012-04-28  David S. Miller  <davem@davemloft.net>
34063
34064         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34065         (check-abi-%): Remove AWK script prerequisite and explicit
34066         abilist directory.
34067         (check-abi): Rewrite to just diff the symlist with the abilist.
34068         (config-tls, config-abi-config): Delete, no longer used.
34069         (update-abi-%): Remove AWK script and explicit abilist directory.
34070         (update-abi): Rewrite to simply compare and conditionally copy the
34071         symlist and the sysdep abilist file.  Remove update-abi-config
34072         checks.
34073         * abilist/ld.abilist: Remove.
34074         * abilist/libBrokenLocale.abilist: Remove.
34075         * abilist/libanl.abilist: Remove.
34076         * abilist/libcrypt.abilist: Remove.
34077         * abilist/libdl.abilist: Remove.
34078         * abilist/librt.abilist: Remove.
34079         * abilist/libthread_db.abilist: Remove.
34080         * abilist/libutil.abilist: Remove.
34081         * scripts/extract-abilist.awk: Remove.
34082         * scripts/merge-abilist.awk: Remove.
34083         * sysdeps/generic/libcidn.abilist: New file.
34084         * sysdeps/generic/libnss_compat.abilist: New file.
34085         * sysdeps/generic/libnss_db.abilist: New file.
34086         * sysdeps/generic/libnss_dns.abilist: New file.
34087         * sysdeps/generic/libnss_files.abilist: New file.
34088         * sysdeps/generic/libnss_hesiod.abilist: New file.
34089         * sysdeps/generic/libnss_nis.abilist: New file.
34090         * sysdeps/generic/libnss_nisplus.abilist: New file.
34091         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34092         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34093         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34094         file.
34095         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34096         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34097         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34098         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34099         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34100         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34101         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34102         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34103         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34104         file.
34105         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34106         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34107         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34108         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34109         file.
34110         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34111         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34112         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34113         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34114         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34115         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34116         file.
34117         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34118         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34119         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34120         file.
34121         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34123         New file.
34124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34125         New file.
34126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34127         New file.
34128         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34129         New file.
34130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34131         New file.
34132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34133         New file.
34134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34135         New file.
34136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34137         New file.
34138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34139         New file.
34140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34141         New file.
34142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34143         New file.
34144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34145         New file.
34146         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34147         New file.
34148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34149         file.
34150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34151         New file.
34152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34153         New file.
34154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34155         file.
34156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34157         New file.
34158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34159         New file.
34160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34161         file.
34162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34163         New file.
34164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34165         New file.
34166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34167         New file.
34168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34169         New file.
34170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34171         New file.
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34173         New file.
34174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34176         file.
34177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34178         New file.
34179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34180         file.
34181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34182         file.
34183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34184         file.
34185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34186         file.
34187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34188         file.
34189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34190         New file.
34191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34192         file.
34193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34194         file.
34195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34196         New file.
34197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34198         file.
34199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34201         file.
34202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34203         New file.
34204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34205         file.
34206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34207         file.
34208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34209         file.
34210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34211         file.
34212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34213         file.
34214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34215         New file.
34216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34217         file.
34218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34219         file.
34220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34221         New file.
34222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34223         file.
34224         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34225         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34226         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34227         file.
34228         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34229         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34230         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34231         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34232         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34233         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34234         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34235         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34236         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34237         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34240         file.
34241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34242         New file.
34243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34244         file.
34245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34246         file.
34247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34248         file.
34249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34250         file.
34251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34252         file.
34253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34254         New file.
34255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34256         New file.
34257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34258         file.
34259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34260         New file.
34261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34262         file.
34263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34265         file.
34266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34267         New file.
34268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34269         file.
34270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34271         file.
34272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34273         file.
34274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34275         file.
34276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34277         file.
34278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34279         New file.
34280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34281         New file.
34282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34283         file.
34284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34285         New file.
34286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34287         file.
34288
34289 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34290
34291         * conform/conformtest.pl: Fix typo in handling typed-constant from
34292         allow-header.
34293
34294 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34295
34296         * README: Cut down references to pre-2.6 Linux kernels and
34297         Linuxthreads.  Update lists of configurations in libc and ports
34298         and sort alphabetically.  Say "or newer" with Linux kernel version
34299         requirements.
34300
34301         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34302
34303 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34304
34305         [BZ #887]
34306         * math/libm-test.inc (logb_test_downward): New test to expose
34307         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34308         rounding mode.
34309
34310 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34311
34312         [BZ #14027]
34313         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34314         to be done.
34315         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34316         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34317
34318 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34319
34320         * sysdeps/unix/i386/brk.S: Remove file.
34321         * sysdeps/unix/i386/dl-brk.S: Likewise.
34322         * sysdeps/unix/i386/pipe.S: Likewise.
34323         * sysdeps/unix/i386/sigreturn.S: Likewise.
34324         * sysdeps/unix/i386/syscall.S: Likewise.
34325         * sysdeps/unix/i386/vfork.S: Likewise.
34326         * sysdeps/unix/i386/wait.S: Likewise.
34327
34328         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34329         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34330
34331         * configure.in (arm*-none*): Do not allow without
34332         --enable-hacker-mode.
34333         (netbsd*): Remove case setting base_os.
34334         (386bsd*): Likewise.
34335         (freebsd*): Likewise.
34336         (bsdi*): Likewise.
34337         (osf*): Likewise.
34338         (sunos*): Likewise.
34339         (ultrix*): Likewise.
34340         (newsos*): Likewise.
34341         (dynix*): Likewise.
34342         (*bsd*): Likewise.
34343         (sysv*): Likewise.
34344         (isc*): Likewise.
34345         (esix*): Likewise.
34346         (sco*): Likewise.
34347         (minix*): Likewise.
34348         (irix4*): Likewise.
34349         (irix6*): Likewise.
34350         (solaris[2-9]*): Likewise.
34351         (none): Likewise.
34352         * configure: Regenerated.
34353
34354 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34355
34356         [BZ #11521]
34357         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34358         overflow or cancellation in calculating denominator.
34359         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34360         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34361         down expression to avoid unexpected rounding in newer GCCs.
34362         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34363
34364 2012-04-26  David S. Miller  <davem@davemloft.net>
34365
34366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34367         long-double compat symbols.
34368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34381
34382 2012-04-25  David S. Miller  <davem@davemloft.net>
34383
34384         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34385         HWCAP_* values only after the memory barriers have been defined.
34386         (atomic_full_barrier): Define.
34387         (atomic_read_barrier): Define.
34388         (atomic_write_barrier): Define.
34389
34390 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34391
34392         * shlib-versions: Add libgcc_s version information.
34393         * sysdeps/generic/libgcc_s.h: Remove.
34394         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34395         libgcc_s.h.
34396         * sysdeps/gnu/unwind-resume.c: Likewise.
34397         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34398
34399 2012-04-25  David S. Miller  <davem@davemloft.net>
34400
34401         * sysdeps/unix/sparc/brk.S: Delete.
34402         * sysdeps/unix/sparc/dl-brk.S: Delete.
34403         * sysdeps/unix/sparc/pipe.S: Delete.
34404         * sysdeps/unix/sparc/sysdep.S: Delete.
34405         * sysdeps/unix/sparc/sysdep.h: Delete.
34406         * sysdeps/unix/sparc/vfork.S: Delete.
34407         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34408         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34409         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34410         (ret_ERRVAL, r0, r1, MOVE): Define.
34411         (JUMPTARGET): Remove.
34412         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34413         sysdeps/unix/sparc/sysdep.h
34414         (ENTRY, END): Remove.
34415         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34416
34417 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34418
34419         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34420         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34421         -DIS_IN_build.
34422
34423         * timezone/README: Update upstream location and email address for
34424         tzcode and tzdata.
34425         * timezone/zdump.c: Update from tzcode 2012b.
34426         * timezone/zic.c: Likewise.
34427
34428         * configure.in (libc_cv_as_needed): Remove test.
34429         * configure: Regenerated.
34430         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34431         conditional definition.
34432         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34433         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34434         * config.make.in (have-as-needed): Remove variable.
34435
34436 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34437             Paul Pluzhnikov  <ppluzhnikov@google.com>
34438
34439         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34440         strings correctly.
34441
34442 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34443
34444         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34445         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34446         * sysdeps/sh/strlen.S: Likewise.
34447
34448 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34449
34450         * sysdeps/unix/fork.S: Remove file.
34451         * sysdeps/unix/i386/fork.S: Likewise.
34452         * sysdeps/unix/sparc/fork.S: Likewise.
34453
34454         * sysdeps/unix/system.c: Remove file.
34455         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34456
34457         * sysdeps/unix/getegid.S: Remove file.
34458         * sysdeps/unix/geteuid.S: Likewise.
34459
34460 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34461
34462         * scripts/check-localplt.awk: New file.
34463         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34464         of diff.
34465         * scripts/data/localplt-generic.data: Add a comment.
34466
34467         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34468         NODE when __dir_mkfile failed.
34469         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34470         Reported by Ludovic Courtès <ludo@gnu.org>.
34471
34472 2012-04-24  Andreas Jaeger  <aj@suse.de>
34473
34474         * Makerules (common-clean): Also remove gen-as-const-headers
34475         files.
34476
34477 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34478
34479         * Makerules (native-compile): Do not change working directory for
34480         build.  Use $(OUTPUT_OPTION) in command.
34481         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34482
34483 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34484
34485         [BZ #13886]
34486         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34487         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34488         * math/libm-test.inc (floor_test): Add more tests.
34489         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34490
34491 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34492
34493         * sysdeps/unix/getdents.c: Remove file.
34494         * sysdeps/unix/sysv/getdents.c: Likewise.
34495         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34496
34497         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34498         sysdeps/unix/mman/syscalls.list.
34499         (mmap): Likewise.
34500         (mprotect): Likewise.
34501         (msync): Likewise.
34502         (munmap): Likewise.
34503         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34504         * sysdeps/unix/mman/syscalls.list: Remove.
34505         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34506
34507         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34508         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34509         * configure: Regenerated.
34510         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34511         $(libgcc_s_suffix).
34512         * config.make.in (libgcc_s_suffix): Remove variable.
34513
34514 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34515
34516         * sysdeps/unix/sysv/gethostname.c: Move to ...
34517         * sysdeps/posix/gethostname.c: ... here.
34518
34519         * sysdeps/unix/execve.S: Remove file.
34520
34521         * sysdeps/unix/_exit.S: Remove file.
34522
34523 2012-04-23  Andreas Jaeger  <aj@suse.de>
34524
34525         [BZ #13739]
34526         * manual/Makefile: Remove make dist support, there's no
34527         need for a stand-alone documentation tar ball.
34528         (TEXI2DVI): Define always, it's not in Makeconfig.
34529         (dist): Removed.
34530         (tar-it): Removed.
34531         (edition): Removed.
34532         (glibc-doc-$(edition).tar): Removed
34533         (%.Z): Removed.
34534         (%.gz): Removed.
34535         (%.uu): Removed.
34536         (ETAGS): Remove, it's in Makeconfig.
34537         (move-if-change): Remove, it's in Makeconfig.
34538
34539 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34540
34541         [BZ #13970]
34542         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34543         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34544         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34545         (strtod_l, strtof_l, strtold_l): Remove __wur.
34546         It is not necessarily an error to ignore strtol's return value.
34547         One can reliably look at the stored endptr to decide whether
34548         the number had valid syntax.
34549
34550 2012-04-21  Andreas Jaeger  <aj@suse.de>
34551
34552         [BZ #13739]
34553         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34554
34555 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34556
34557         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34558         * sysdeps/unix/sysv/Versions: Remove file.
34559
34560 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34561
34562         [BZ #13927]
34563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34564
34565 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34566
34567         [BZ #7064]
34568         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34569         version from __vm86.
34570
34571 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34572
34573         * sysdeps/unix/common/lxstat.c: Remove file.
34574         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34575
34576         * sysdeps/unix/sysv/Makefile: Remove file.
34577
34578         * sysdeps/unix/sysv/direct.h: Remove file.
34579
34580         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34581         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34582         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34583         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34584         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34585         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34586         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34587
34588         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34589
34590         * sysdeps/unix/xmknod.c: Remove file.
34591         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34592
34593         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34594
34595         * sysdeps/unix/sysv/i386/time.S: Remove file.
34596
34597         * sysdeps/unix/fxstat.c: Remove file.
34598         * sysdeps/unix/xstat.c: Likewise.
34599         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34600
34601         * sysdeps/unix/sysv/sigaction.c: Remove file.
34602
34603         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34604         (sysdep_headers): Remove variable.
34605         [termio.h not in sysdep_headers] (generated): Likewise.
34606         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34607         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34608         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34609         * sysdeps/unix/sysv/tcflow.c: Likewise.
34610         * sysdeps/unix/sysv/tcflush.c: Likewise.
34611         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34612         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34613         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34614         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34615         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34616
34617         * sysdeps/unix/siglist.c: Remove file.
34618
34619         * sysdeps/unix/getppid.S: Remove file.
34620
34621         * sysdeps/unix/mkdir.c: Remove file.
34622         * sysdeps/unix/rmdir.c: Likewise.
34623
34624 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34625
34626         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34627         ERR_MAX value.
34628         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34629         errlist-compat value.
34630
34631 2012-04-18  David S. Miller  <davem@davemloft.net>
34632
34633         * sysdeps/generic/memcopy.h (reg_char): Delete.
34634         * debug/strcat_chk.c: Use char, not reg_char.
34635         * debug/strcpy_chk.c: Likewise.
34636         * debug/strncat_chk.c: Likewise.
34637         * debug/strncpy_chk.c: Likewise.
34638         * string/memchr.c: Likewise.
34639         * string/memrchr.c: Likewise.
34640         * string/rawmemchr.c: Likewise.
34641         * string/strcat.c: Likewise.
34642         * string/strchr.c: Likewise.
34643         * string/strchrnul.c: Likewise.
34644         * string/strcmp.c: Likewise.
34645         * string/strcpy.c: Likewise.
34646         * string/strncat.c: Likewise.
34647         * string/strncmp.c: Likewise.
34648         * string/strncpy.c: Likewise.
34649
34650 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34651
34652         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34653         __builtin_memcopy is called when src and dest ranges are known to not
34654         overlap.
34655
34656 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34657
34658         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34659         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34660         fwd_align_merge macro call.
34661         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34662         bwd_align_merge macro call.
34663         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34664
34665 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34666
34667         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34668         bwd_align_merge macros.
34669         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34670         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34671         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34672
34673 2012-04-18  David S. Miller  <davem@davemloft.net>
34674
34675         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34676
34677 2012-04-18  Andreas Jaeger  <aj@suse.de>
34678
34679         [BZ# 6794]
34680         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34681         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34682         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34683
34684         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34685         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34686         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34687
34688         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34689         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34690         Adjust for changed ldbl-128 files.
34691
34692         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34693         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34694         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34695
34696 2012-04-17  David S. Miller  <davem@davemloft.net>
34697
34698         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34699
34700 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34701
34702         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34703         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34704         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34705         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34706         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34707         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34708
34709 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34710
34711         [BZ #6794]
34712         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34713         * math/libm-test.inc: Add ilogb errno and exception tests.
34714         * math/w_ilogb.c: New file: ilogb wrapper.
34715         * math/w_ilogbf.c: New file: ilogbf wrapper.
34716         * math/w_ilogbl.c: New file: ilogbl wrapper.
34717         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34718         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34719         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34720         exception being thrown with 0.0 as argument.
34721         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34722         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34723         exception being thrown with 0.0 as argument.
34724         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34725         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34726         exception being thrown with 0.0 as argument.
34727         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34728         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34729         exception being thrown with 0.0 as argument.
34730         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34731         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34732         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34733         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34734         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34735         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34736         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34737         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34738         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34739
34740 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34741
34742         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34743         with altivec.
34744
34745 2012-04-16  Marek Polacek  <polacek@redhat.com>
34746
34747         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34748
34749 2012-04-16  Marek Polacek  <polacek@redhat.com>
34750
34751         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34752         operands of fdivp instruction.
34753
34754 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34755
34756         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34757         * elf/tst-auditmod3b.c: Likewise.
34758         * elf/tst-auditmod4b.c: Likewise.
34759         * elf/tst-auditmod5b.c: Likewise.
34760         * elf/tst-auditmod6b.c: Likewise.
34761         * elf/tst-auditmod6c.c: Likewise.
34762         * elf/tst-auditmod7b.c: Likewise.
34763         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34764         * sysdeps/x86_64/preconfigure.in: Likewise.
34765         * sysdeps/x86_64/preconfigure: Regenerated.
34766
34767 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34768
34769         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34770         __ILP32__.
34771
34772 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34773
34774         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34775         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34776
34777 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34778
34779         [BZ #13973]
34780         * locale/iso-639.def: Fix gl language name. Spotted by
34781         Yaron Shahrabani.
34782
34783 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34784
34785         [BZ #2074]
34786         * libio/libio.h (__io_write_fn): Update comment.
34787
34788 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34789
34790         [BZ #2074]
34791         * stdio.texi (Hook Functions): The user provided writer function
34792         is not allowed to return -1.
34793
34794 2012-04-11  David S. Miller  <davem@davemloft.net>
34795
34796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34797
34798 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34799
34800         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34801         Add a leading slash to rtkaio.
34802
34803 2012-04-11  Jim Meyering  <meyering@redhat.com>
34804
34805         [BZ #11959]
34806         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34807         It is not necessarily an error to ignore fwrite's return
34808         value.  One can reliably use ferror to test for errors after
34809         the fact.
34810
34811 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34812
34813         * bits/types.h (__snseconds_t): New type.
34814         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34815
34816         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34817         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34818         (__SNSECONDS_T_TYPE): Likewise.
34819         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34820         (__SNSECONDS_T_TYPE): Likewise.
34821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34822         (__SNSECONDS_T_TYPE): Likewise.
34823
34824 2012-04-10  Andreas Jaeger  <aj@suse.de>
34825
34826         [BZ #2636]
34827         * manual/time.texi (Processor Time): Return type of times is
34828         elapsed real time since an arbitrary point in the past.
34829         (CPU Time): Move CLK_TCK from here...
34830         (Processor Time): ...to here.  Correct description.
34831         * manual/conf.texi (Constants for Sysconf): Correct description of
34832         _SC_CLK_TCK.
34833
34834 2012-04-10  David S. Miller  <davem@davemloft.net>
34835
34836         [BZ #13967]
34837         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34838         where the is a gap between DT_REL(A) and DT_JMPREL.
34839
34840 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34841
34842         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34843         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34844         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34845
34846 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34847
34848         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34849         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34850         (dl_main): Handle --inhibit-cache.
34851         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34852         _dl_inhibit_cache.
34853         * elf/dl-load.c (_dl_map_object): Use it.
34854         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34855
34856 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34857
34858         [BZ #13872]
34859         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34860         (__ieee754_powl): Saturate large exponents rather than testing for
34861         overflow of y*log2(x).
34862         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34863         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34864         exceptions.
34865
34866         [BZ #11521]
34867         * math/s_ctan.c: Include <float.h>.
34868         (__ctan): Avoid internal overflow or cancellation in calculating
34869         denominator.
34870         * math/s_ctanf.c: Likewise.
34871         * math/s_ctanl.c: Likewise.
34872         * math/s_ctanh.c: Likewise.
34873         * math/s_ctanhf.c: Likewise.
34874         * math/s_ctanhl.c: Likewise.
34875         * math/libm-test.inc (ctan_test): Add more tests.
34876         (ctanh_test): Likewise.
34877         * sysdeps/i386/fpu/libm-test-ulps: Update.
34878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34879
34880 2012-04-09  Andreas Jaeger  <aj@suse.de>
34881
34882         [BZ #6894]
34883         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34884         is an optional BSD extension.
34885
34886         [BZ #10254]
34887         * manual/stdio.texi (Opening Streams): Document additional fopen
34888         parameters.
34889
34890 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34891
34892         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34893         %eax without telling the compiler.
34894
34895 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34896
34897         [BZ # 13963]
34898         * manual/install.texi: Use sourceware.org.
34899
34900 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34901
34902         [BZ #13873]
34903         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34904         (__ieee754_pow): Generate overflow and underflow using huge*huge
34905         and tiny*tiny rather than just returning constant infinity or zero
34906         for large exponents.
34907         * math/libm-test.inc (pow_test): Require overflow exceptions for
34908         applicable cases of large exponents.
34909
34910         [BZ #706]
34911         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34912         (__ieee754_pow): Use iterative multiplication algorithm only for
34913         integer exponents with absolute value below 1024.  Check for odd
34914         integer exponents when using algorithm for real exponents.
34915         * math/libm-test.inc (pow_test): Add more tests.
34916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34917
34918 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34919
34920         [BZ #13705]
34921         * math/libm-test.inc (exp_test): Do not allow overflow exception
34922         on underflow test.
34923
34924 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34925
34926         [BZ #13705]
34927         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34928         instead of __kernel_standard_f.
34929
34930 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34931
34932         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34933         * sysdeps/x86_64/memset_chk.S: Likewise.
34934
34935 2012-04-08  Andreas Jaeger  <aj@suse.de>
34936
34937         [BZ #10153]
34938         * manual/startup.texi (Environment Access): Describe return value
34939         for putenv and setenv.
34940
34941         [BZ #6895]
34942         * manual/filesys.texi (Directory Entries): Add description for
34943         DT_LNK.
34944
34945         [BZ #6890]
34946         * manual/filesys.texi (Directory Entries): Clarify that it's file
34947         system not operating system in the description of DT_UNKNOWN.
34948
34949         [BZ #6578]
34950         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34951
34952 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34953
34954         [BZ #6649]
34955         * manual/llio.texi (Opening and Closing Files): Add cross
34956         reference to explain mode argument.
34957
34958 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34959
34960         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34961         * sysdeps/x86_64/memset_chk.S: Likewise.
34962
34963 2012-04-07  David S. Miller  <davem@davemloft.net>
34964
34965         * elf/elf.h (R_SPARC_WDISP10): Define.
34966         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34967         R_SPARC_SIZE32.
34968         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34969         R_SPARC_SIZE64 and R_SPARC_H34.
34970
34971 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34972
34973         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34974         conditions and remove no longer applicable assertion.
34975
34976 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34977
34978         * bits/byteswap.h: Include <features.h>.
34979         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34980         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34981
34982 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34983
34984         * bits/byteswap.h (__bswap_16): Removed.
34985         Include <bits/byteswap-16.h> to get __bswap_16.
34986         * sysdeps/i386/bits/byteswap.h: Likewise.
34987         * sysdeps/s390/bits/byteswap.h: Likewise.
34988         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34989         * bits/byteswap-16.h: New file.
34990         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34991         * sysdeps/s390/bits/byteswap-16.h: Likewise.
34992         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34993         * string/Makefile (headers): Add bits/byteswap-16.h.
34994
34995 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34996
34997         [BZ #13895]
34998         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34999         extra indirection.
35000         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35001         * nss/tst-nss-static.c: New.
35002
35003 2012-04-06  Robert Millan  <rmh@gnu.org>
35004
35005         [BZ #6486]
35006         * manual/llio.texi (File Position Primitive): lseek
35007         refers to WHENCE when it really means OFFSET.
35008
35009 2012-04-06  Andreas Jaeger  <aj@suse.de>
35010
35011         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35012         strncmp declarations.
35013
35014         * abilist/libc.abilist: Add __poll and __ppoll.
35015
35016 2012-04-05  David S. Miller  <davem@davemloft.net>
35017
35018         * scripts/check-local-headers.sh: Accept a host triplet in the
35019         path matched by the exclude regexp.
35020
35021         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35022         definition.
35023         * sysdeps/powerpc/powerpc32/dl-machine.h
35024         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35025         * sysdeps/s390/s390-32/dl-machine.h
35026         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35027         * sysdeps/sparc/sparc32/dl-machine.h
35028         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35029         * sysdeps/sparc/sparc64/dl-machine.h
35030         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35031
35032         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35033         lazy binding.
35034         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35035         undefined symbol errors.
35036
35037         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35038         DT_NEEDED entries.
35039
35040 2012-04-05  Michael Matz  <matz@suse.de>
35041
35042         [BZ #13592]
35043         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35044
35045 2012-04-05  Andreas Jaeger  <aj@suse.de>
35046
35047         [BZ #13908]
35048         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35049         comment.
35050
35051 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35052
35053         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35054         which ROUND is no valid rounding mode.
35055
35056 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35057
35058         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35059         read again.
35060         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35061
35062 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35063
35064         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35065         an exception using FPU order intentionally.
35066
35067 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35068
35069         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35070         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35071         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35072         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35073
35074 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35075
35076         [BZ #12340]
35077         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35078         EINVAL when BUFLEN is too smal.
35079
35080 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35081
35082         [BZ #13553]
35083         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35084         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35085
35086 2012-04-03  Andreas Jaeger  <aj@suse.de>
35087
35088         [BZ #13938]
35089         * manual/setjmp.texi (System V contexts): Fix sentence.
35090
35091         [BZ #13926]
35092         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35093         New macro for this case.
35094         [!__GNUC__] (__bswap_64): New inline function for this case.
35095         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35096         * bits/byteswap.h: Likewise.
35097         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35098         ull, guard with __GLIBC_HAVE_LONG_LONG.
35099
35100         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35101         __GLIBC_HAVE_LONG_LONG.
35102
35103         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35104         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35105
35106 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35107
35108         [BZ #13691]
35109         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35110         inptr and inend, rather than using last_ch.
35111
35112 2012-04-02  David S. Miller  <davem@davemloft.net>
35113
35114         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35115         * stdio-common/printf-parse.h (read_int): Change return type to
35116         'int', return -1 on INT_MAX overflow.
35117         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35118         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35119         overflows INT_MAX.  Check for overflow of in-format-string precision
35120         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35121         SIZE_MAX not INT_MAX for integer overflow test.
35122         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35123         skip the construct in the format string but do not record anything.
35124         * stdio-common/bug22.c: Adjust to test both width/prevision
35125         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35126         explicitly for proper errno values.
35127
35128 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35129
35130         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35131         CHAR_MAX.
35132         * string/test-strcmp.c [! WIDE]: Likewise.
35133         * time/tst-mktime2.c: Likewise for INT_MAX.
35134         * string/test-string.h: #include <sys/param.h> for MIN.
35135
35136         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35137         * sysdeps/i386/init-first.c (init): Likewise.
35138         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35139         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35140         * sysdeps/sh/init-first.c (init): Likewise.
35141
35142 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35143
35144         * po/ru.po: Update from translation team.
35145         * po/vi.po: Likewise.
35146
35147 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35148
35149         * resolv/nss_dns/dns-host.c: Merge copyright years.
35150
35151 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35152
35153         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35154         Optimize memcpy with prefetch if
35155         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35156         src, dst pointers have unequal 16 byte alignments.
35157
35158 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35159
35160         [BZ #13928]
35161         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35162         from a CNAME entry and return the minimum ttl for the query.
35163         (gaih_getanswer_slice): Likewise.
35164
35165 2012-03-30  Jeff Law  <law@redhat.com>
35166
35167         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35168         due to long keys.
35169         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35170         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35171
35172         * resolv/nss_dns/dns-host.c: Update copyright year.
35173
35174 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35175
35176         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35177         requests to save a system call.  Fix check that all bytes are sent.
35178
35179         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35180         comments for sendmmsg.
35181
35182 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35183
35184         [BZ #13691]
35185         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35186         with only 1 character between 0x0041 and 0x01b0.
35187         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35188         * wcsmbs/tst-mbsnrtowcs.c: New file.
35189
35190 2012-03-29  David S. Miller  <davem@davemloft.net>
35191
35192         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35193         small copies by hand.
35194
35195 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35196
35197         [BZ #13761]
35198         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35199         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35200         group memberships.
35201
35202 2012-03-28  David S. Miller  <davem@davemloft.net>
35203
35204         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35205         that branches into memcpy.
35206         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35207         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35208         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35209         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35210         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35211         bits.
35212         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35213         implementation too.
35214         * sysdeps/sparc/mempcpy.S: New file.
35215
35216         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35217         the IFUNC routine in the libc case.
35218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35219
35220         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35221         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35222         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35223         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35224         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35225         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35226         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35227         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35228
35229         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35230         loop to 256 bytes instead of 64 bytes and fix test signedness.
35231
35232         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35233         * sysdeps/sparc/sparc32/Makefile: rather than here...
35234         * sysdeps/sparc/sparc64/Makefile: and here.
35235
35236 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35237
35238         * malloc/mallocbug.c: Avoid warnings about unused variables.
35239
35240 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35241
35242         [BZ #13760]
35243         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35244         in the right place. Discard and retry query if response is
35245         larger than input buffer size.
35246
35247 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35248
35249         [BZ #369]
35250         [BZ #2678]
35251         [BZ #3866]
35252         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35253         x for large integer exponent.
35254         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35255         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35256         sign of result as needed afterwards.
35257         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35258         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35259         result for underflowing pow the same as for overflow.
35260         (__kernel_standard_l): Handle powl overflow and underflow here
35261         rather than calling __kernel_standard.
35262         * math/libm-test.inc (pow_test): Add more tests.
35263
35264         [BZ #3868]
35265         [BZ #13879]
35266         [BZ #13910]
35267         [BZ #13911]
35268         [BZ #13912]
35269         [BZ #13913]
35270         [BZ #13915]
35271         [BZ #13916]
35272         [BZ #13917]
35273         [BZ #13918]
35274         [BZ #13919]
35275         [BZ #13920]
35276         [BZ #13921]
35277         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35278         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35279         (__kernel_standard_l): New function.
35280         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35281         __kernel_standard.
35282         * math/w_acosl.c (__acosl): Likewise.
35283         * math/w_asinl.c (__asinl): Likewise.
35284         * math/w_atan2l.c (__atan2l): Likewise.
35285         * math/w_atanhl.c (__atanhl): Likewise.
35286         * math/w_coshl.c (__coshl): Likewise.
35287         * math/w_exp10l.c (__exp10l): Likewise.
35288         * math/w_exp2l.c (__exp2l): Likewise.
35289         * math/w_fmodl.c (__fmodl): Likewise.
35290         * math/w_hypotl.c (__hypotl): Likewise.
35291         * math/w_j0l.c (__j0l, __y0l): Likewise.
35292         * math/w_j1l.c (__j1l, __y1l): Likewise.
35293         * math/w_jnl.c (__jnl, __ynl): Likewise.
35294         * math/w_lgammal.c (__lgammal): Likewise.
35295         * math/w_log10l.c (__log10l): Likewise.
35296         * math/w_log2l.c (__log2l): Likewise.
35297         * math/w_logl.c (__logl): Likewise.
35298         * math/w_powl.c (__powl): Likewise.
35299         * math/w_remainderl.c (__remainderl): Likewise.
35300         * math/w_scalbl.c (sysv_scalbl): Likewise.
35301         * math/w_sinhl.c (__sinhl): Likewise.
35302         * math/w_sqrtl.c (__sqrtl): Likewise.
35303         * math/w_tgammal.c (__tgammal): Likewise.
35304         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35305         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35306         * math/libm-test.inc (acos_test): Add more tests.
35307         (acosh_test): Likewise.
35308         (asin_test): Likewise.
35309         (atanh_test): Likewise.
35310         (exp_test): Likewise.
35311         (exp10_test): Likewise.
35312         (exp2_test): Likewise.
35313         (expm1_test): Likewise.
35314         (lgamma_test): Likewise.
35315         (log_test): Likewise.
35316         (log10_test): Likewise.
35317         (log1p_test): Likewise.
35318         (log2_test): Likewise.
35319         (pow_test): Do not allow some spurious overflow exceptions.
35320         (sqrt_test): Add more tests.
35321         (tgamma_test): Likewise.
35322         (y0_test): Likewise.
35323         (y1_test): Likewise.
35324         (yn_test): Likewise.
35325
35326 2012-03-27  Anton Blanchard  <anton@samba.org>
35327
35328         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35329         MAP_HUGETLB.
35330         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35331         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35332         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35333
35334 2012-03-27  David S. Miller  <davem@davemloft.net>
35335
35336         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35337
35338         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35339         have-as-vis3 check.
35340
35341 2012-03-27  Andreas Jaeger  <aj@suse.de>
35342
35343         * sysdeps/x86_64/elf/configure.in: Moved to ...
35344         * sysdeps/x86_64/configure.in: ... here.
35345         * sysdeps/x86_64/elf/start.S: Moved to ...
35346         * sysdeps/x86_64/start.S: ... here.
35347         * sysdeps/x86_64/elf/configure: Delete.
35348
35349         * sysdeps/x86_64/configure.in: Merge contents from
35350         sysdeps/i386/configure.in (without i686 check).
35351
35352         * sysdeps/i386/elf/Versions: Merge into ...
35353         * sysdeps/i386/Versions: ... this.
35354         * sysdeps/i386/elf/Versions: Delete file.
35355         * sysdeps/i386/elf/start.S: Moved to ...
35356         * sysdeps/i386/start.S: ...here.
35357         * sysdeps/i386/elf/configure.in: Merge into...
35358         * sysdeps/i386/configure.in: ...here.
35359         * sysdeps/i386/elf/configure.in: Delete file.
35360         * sysdeps/i386/elf/configure: Delete file.
35361
35362         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35363         * debug/backtracesyms.c: ... here.
35364         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35365         * debug/backtracesymsfd.c: ... here.
35366         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35367         * sysdeps/generic/ifunc-sel.h: ... here.
35368
35369         * sysdeps/unix/i386/start.c: Delete file.
35370         * sysdeps/unix/sparc/start.c: Delete file.
35371         * sysdeps/unix/start.c: Delete file.
35372
35373         * sysdeps/sh/elf/configure.in: Moved to ...
35374         * sysdeps/sh/configure.in: ... here.
35375         * sysdeps/sh/elf/start.S: Moved to ...
35376         * sysdeps/sh/start.S: ... here.
35377         * sysdeps/sh/elf/configure: Delete file.
35378
35379         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35380         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35381         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35382         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35383         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35384         * sysdeps/powerpc/powerpc64/start.S: here.
35385         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35386         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35387         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35388         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35389         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35390
35391         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35392         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35393         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35394         * sysdeps/powerpc/powerpc32/start.S: ... here.
35395         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35396         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35397         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35398
35399         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35400         * sysdeps/powerpc/ifunc-sel.h: ... here.
35401         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35402         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35403
35404         * sysdeps/sparc/elf/configure.in: Moved to ...
35405         * sysdeps/sparc/configure.in: ... here.
35406         * sysdeps/sparc/elf/configure: Delete file.
35407         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35408         * sysdeps/sparc/sparc32/start.S: ... here.
35409         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35410         * sysdeps/sparc/sparc64/start.S: ... here.
35411         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35412         * sysdeps/sparc/sparc32/Makefile: ... this.
35413         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35414         * sysdeps/sparc/sparc64/Makefile: ... this.
35415
35416         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35417         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35418         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35419         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35420         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35421         * sysdeps/s390/s390-32/setjmp.S: ... here.
35422         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35423         * sysdeps/s390/s390-32/configure.in: ... here.
35424         * sysdeps/s390/s390-32/elf/configure: Delete file.
35425         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35426         * sysdeps/s390/s390-32/start.S: ... here.
35427
35428         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35429         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35430         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35431         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35432         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35433         * sysdeps/s390/s390-64/setjmp.S: ... here.
35434         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35435         * sysdeps/s390/s390-64/configure.in: ... here
35436         * sysdeps/s390/s390-64/elf/configure: Delete file.
35437         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35438         * sysdeps/s390/s390-64/start.S: ... here.
35439         * sysdeps/s390/s390-64/elf/configure: Delete.
35440
35441         * configure.in: Remove support for elf directories in sysdeps.
35442
35443         * configure: Regenerated.
35444         * sysdeps/i386/configure: Regenerated.
35445         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35446         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35447         * sysdeps/s390/s390-32/configure: Regenerated.
35448         * sysdeps/s390/s390-64/configure: Regenerated.
35449         * sysdeps/sh/configure: Regenerated.
35450         * sysdeps/sparc/configure: Regenerated.
35451         * sysdeps/x86_64/configure: Regenerated.
35452
35453 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35454
35455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35456
35457         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35458         denormal result into account.
35459
35460 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35461
35462         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35463         Reported by Allan McRae <allan@archlinux.org>.
35464
35465 2012-03-23  Jeff Law  <law@redhat.com>
35466
35467         * nss/getnssent.c (__nss_getent): Fix typo.
35468
35469 2012-03-23  David S. Miller  <davem@davemloft.net>
35470
35471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35472
35473 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35474
35475         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35476         to pad to uint64_t for each field.
35477         (dl_tls_index): Replace unsigned long with uint64_t.
35478
35479 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35480         Paul Pluzhnikov  <ppluzhnikov@google.com>
35481
35482         [BZ #6528]
35483         * grp/Makefile (otherlibs): Don't set it.
35484         * inet/Makefile (otherlibs): Likewise.
35485         * login/Makefile (otherlibs): Likewise.
35486         * nscd/Makefile (otherlibs): Likewise.
35487         * posix/Makefile (otherlibs): Likewise.
35488         * pwd/Makefile (otherlibs): Likewise.
35489         * rt/Makefile (otherlibs): Likewise.
35490         * sunrpc/Makefile (otherlibs): Likewise.
35491         * nss/Makefile (otherlibs): Likewise.
35492         Add libnss_files to routines and static-only-routines.
35493         ($(objpfx)getent): Remove rule.
35494         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35495         static-only-routines.
35496
35497 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35498
35499         [BZ #13892]
35500         * math/s_cexp.c: Include <float.h>.
35501         (__cexp): Handle exp result overflowing not necessarily
35502         overflowing both real and imaginary parts of result.
35503         * math/s_cexpf.c: Likewise.
35504         * math/s_cexpl.c: Likewise.
35505         * math/libm-test.inc (cexp_test): Add more tests.
35506         * sysdeps/i386/fpu/libm-test-ulps: Update.
35507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35508
35509 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35510
35511         * include/link.h (ELFW): New macro.
35512         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35513         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35514
35515 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35516
35517         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35518         with uint64_t.
35519
35520 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35521
35522         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35523         declaration.
35524         (struct La_x32_retval): Likewise.
35525
35526 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35527
35528         * sysdeps/x86_64/preconfigure.in: New file.
35529         * sysdeps/x86_64/preconfigure: New generated file.
35530
35531 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35532
35533         [BZ #13824]
35534         * math/e_exp2l.c: Include <float.h>.
35535         (__ieee754_exp2l): Handle overflow and underflow cases
35536         separately.  Only pass fractional part of argument to
35537         __ieee754_expl.
35538         * math/libm-test.inc (exp2_test): Add more tests.
35539
35540         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35541         negating x to take absolute value.
35542         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35543         Likewise.
35544         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35545         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35546         Likewise.
35547         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35548         computing low part if x was negated.
35549         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35550
35551 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35552
35553         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35554         la_x32_gnu_pltexit.
35555         (pltexit): Cast int_retval to ptrdiff_t.
35556         * elf/tst-auditmod3b.c: Likewise.
35557         * elf/tst-auditmod4b.c: Likewise.
35558         * elf/tst-auditmod5b.c: Likewise.
35559         * elf/tst-auditmod6b.c: Likewise.
35560         * elf/tst-auditmod6c.c: Likewise.
35561         * elf/tst-auditmod7b.c: Likewise.
35562
35563         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35564         and x32_gnu_pltexit.
35565
35566         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35567         __ELF_NATIVE_CLASS.
35568         (La_x32_regs): New macro.
35569         (La_x32_retval): Likewise.
35570         (la_x32_gnu_pltenter): New function prototype.
35571         (la_x32_gnu_pltexit): Likewise.
35572
35573 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35574
35575         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35576         exponent.
35577
35578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35579
35580         * configure.in (libc_cv_cc_nofma): Check for option to disable
35581         generation of FMA instructions.
35582         * configure: Regenerate.
35583         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35584         * sysdeps/ieee754/dbl-64/Makefile: New file.
35585         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35586         Remove brandred-fma4.
35587         (CFLAGS-brandred-fma4.c): Remove.
35588         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35589         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35590         define.
35591         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35592         define.
35593
35594 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35595
35596         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35597         LLONG_MAX != LONG_MAX.
35598         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35599         (_fitoa_word): Likewise.
35600         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35601         LLONG_MAX != LONG_MAX.
35602         * stdio-common/_itowa.h: Include <_itoa.h>.
35603         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35604         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35605         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35606         only if not defined.
35607         (_ITOA_WORD_TYPE): Likewise.
35608         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35609         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35610
35611 2012-03-21  David S. Miller  <davem@davemloft.net>
35612
35613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35614
35615 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35616
35617         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35618         of x86_64 when setting libc_cv_slibdir, libdir and
35619         libc_cv_localedir.
35620         * sysdeps/unix/sysv/linux/configure: Regenerated.
35621
35622 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35623
35624         * manual/lang.texi (Old Varargs): Remove section.
35625         (How Variadic): Update menu.
35626         (va_start): Do not mention varargs.h.
35627
35628 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35629             Joseph Myers  <joseph@codesourcery.com>
35630
35631         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35632         link test.
35633         * configure: Regenerated.
35634
35635 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35636
35637         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35638         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35639         conformtest.pl
35640
35641 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35642
35643         * NOTES: Remove.
35644         * Makefile (files-for-dist): Remove NOTES.
35645         (NOTES): Remove rule.
35646         * README: Don't refer to NOTES.
35647         * manual/creature.texi: Don't include macros.texi.
35648         * manual/intro.texi (creature.texi): Remove comment referring to
35649         NOTES.
35650
35651         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35652         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35653         * configure: Regenerated.
35654         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35655         LIBC_TRY_CC_OPTION.
35656         (libc_cv_as_i686): Likewise.
35657         (libc_cv_cc_avx): Likewise.
35658         (libc_cv_cc_sse2avx): Likewise.
35659         (libc_cv_cc_fma4): Likewise.
35660         (libc_cv_cc_novzeroupper): Likewise.
35661         * sysdeps/i386/configure: Regenerated.
35662
35663         [BZ #13883]
35664         * sysdeps/i386/fpu/s_cexp.S: Remove.
35665         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35666         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35667         * math/libm-test.inc (cexp_test): Add more tests.
35668         * sysdeps/i386/fpu/libm-test-ulps: Update.
35669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35670
35671 2012-03-21  Allan McRae  <allan@archlinux.org>
35672
35673         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35674
35675 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35676
35677         [BZ #13871]
35678         * math/w_exp2.c: Do not include <float.h>.
35679         (o_threshold, u_threshold): Remove.
35680         (__exp2): Calculate result before checking finiteness and calling
35681         __kernel_standard.
35682         * math/w_exp2f.c: Likewise.
35683         * math/w_exp2l.c: Likewise.
35684         * math/libm-test.inc (exp2_test): Require overflow exception for
35685         1e6 input.
35686
35687         [BZ #3866]
35688         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35689         range of signed 64-bit integers before using fistpll.  Remove
35690         checks for whether integers fit in mantissa bits.
35691         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35692         the range of signed 32-bit integers before using fistpl.  Remove
35693         checks for whether integers fit in mantissa bits.
35694         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35695         (__ieee754_powl): Test for y outside the range of signed 64-bit
35696         integers before using fistpll.  Reduce 64-bit values to 63-bit
35697         ones as needed.
35698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35699         divide-by-zero is raised for zero to large negative powers.
35700         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35701         (__ieee754_powl): Test for y outside the range of signed 64-bit
35702         integers before using fistpll.  Reduce 64-bit values to 63-bit
35703         ones as needed.
35704         * math/libm-test.inc (pow_test): Add more tests.
35705
35706 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35707
35708         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35709         <stdio-common/_itoa.h>.
35710         * debug/segfault.c: Likewise.
35711         * elf/dl-cache.c: Likewise.
35712         * elf/dl-minimal.c: Likewise.
35713         * elf/dl-misc.c: Likewise.
35714         * elf/dl-sysdep.c: Likewise.
35715         * elf/dl-version.c: Likewise.
35716         * elf/rtld.c: Likewise.
35717         * hurd/hurdsock.c: Likewise.
35718         * hurd/lookup-retry.c: Likewise.
35719         * malloc/malloc.c: Likewise.
35720         * malloc/mtrace.c: Likewise.
35721         * nscd/nscd_getgr_r.c: Likewise.
35722         * nscd/nscd_getpw_r.c: Likewise.
35723         * nscd/nscd_getserv_r.c: Likewise.
35724         * posix/getopt_init.c: Likewise.
35725         * posix/wordexp.c: Likewise.
35726         * stdio-common/_itoa.c: Likewise.
35727         * stdio-common/printf_fphex.c: Likewise.
35728         * stdio-common/vfprintf.c: Likewise.
35729         * string/_strerror.c: Likewise.
35730         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35731         * sysdeps/i386/i686/hp-timing.h: Likewise.
35732         * sysdeps/mach/_strerror.c: Likewise.
35733         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35734         * sysdeps/mach/hurd/sethostid.c: Likewise.
35735         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35736         * sysdeps/mach/xpg-strerror.c: Likewise.
35737         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35738         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35739         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35740         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35741         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35742         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35743         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35744         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35745         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35746         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35747         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35748         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35749         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35750         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35751         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35752         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35753         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35754         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35755         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35756         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35757         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35758
35759         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35760
35761         * stdio-common/_itoa.h: Moved to ...
35762         * sysdeps/generic/_itoa.h: Here.
35763
35764         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35765
35766         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35767         instead of "_itoa.h" and "_itowa.h".
35768         * stdio-common/vfprintf.: Likewise.
35769
35770 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35771
35772         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35773         <bits/wordsize.h>.
35774         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35775         (__signbit): Likwise.
35776         (llrintf): Likwise.
35777         (llrint): Likwise.
35778
35779 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35780
35781         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35782         __WORDSIZE != 64.
35783
35784 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35785
35786         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35787         OVERFLOW_EXCEPTION_OK.
35788         * math/libm-test.inc ("Philosophy"): Update comment about
35789         exception testing.
35790         (OVERFLOW_EXCEPTION): Define.
35791         (OVERFLOW_EXCEPTION_OK): Likewise.
35792         (INVALID_EXCEPTION_OK): Renumber.
35793         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35794         (IGNORE_ZERO_INF_SIGN): Likewise.
35795         (test_exceptions): Handle FE_OVERFLOW.
35796         (exp10_test): Expect overflow exceptions.
35797         (exp2_test): Likewise.
35798         (expm1_test): Likewise.
35799         (nextafter_test): Likewise.
35800         (pow_test): Likewise.
35801         (scalbn_test): Likewise.
35802         (scalbln_test): Likewise.
35803
35804 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35805
35806         * sysdeps/x86_64/bits/atomic.h
35807         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35808         64bit integer.
35809         (atomic_exchange_acq): Likewise.
35810         (__arch_exchange_and_add_body): Likewise.
35811         (__arch_add_body): Likewise.
35812         (atomic_add_negative): Likewise.
35813         (atomic_add_zero): Likewise.
35814
35815 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35816
35817         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35818         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35819
35820 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35821
35822         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35823         Check __x86_64__ instead of __WORDSIZE.
35824
35825 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35826
35827         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35828
35829 2012-03-19  David S. Miller  <davem@davemloft.net>
35830
35831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35832
35833         * sysdeps/sparc/fpu/fenv_private.h: New file.
35834         * sysdeps/sparc/fpu/math_private.h: Use it.
35835         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35836         Remove.
35837         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35838         (libc_feholdexcept_setroundl): Remove.
35839         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35840         Remove.
35841         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35842         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35843
35844 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35845
35846         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35847         int64_t instead of long int.
35848         (INSERT_WORDS64): Likwise.
35849
35850 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35851
35852         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35853         _Unwind_GetCFA return to _Unwind_Ptr first.
35854
35855 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35856
35857         [BZ #13629]
35858         * math/s_clog.c: Include <float.h>.
35859         (__clog): Scale large or subnormal inputs.
35860         * math/s_clogf.c: Likewise.
35861         * math/s_clogl.c: Likewise.
35862         * math/s_clog10.c: Include <float.h>.
35863         (M_LOG10_2): Define.
35864         (__clog10): Scale large or subnormal inputs.
35865         * math/s_clog10f.c: Likewise.
35866         * math/s_clog10l.c: Likewise.
35867         * math/libm-test.inc (clog_test): Add more tests.
35868         (clog10_test): Likewise.
35869         * sysdeps/i386/fpu/libm-test-ulps: Update.
35870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35871
35872         [BZ #11451]
35873         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35874         x and y.
35875         * math/libm-test.inc (atan2_test): Add another test.
35876
35877         * Makerules (common-objdir-compile): Remove.
35878         * sysdeps/unix/Makefile (config-generated): Do not add
35879         $(unix-generated) to variable.
35880         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35881         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35882         Remove rule.
35883         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35884         Likewise.
35885         [generic bits/local_lim.h] (before-compile): Do not append to
35886         variable.
35887         [generic bits/local_lim.h] (common-generated): Likewise.
35888         [generic sys/param.h] (before-compile): Do not append to variable.
35889         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35890         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35891         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35892         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35893         include.
35894         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35895         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35896         [generic sys/param.h] ($(addprefix
35897         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35898         [generic sys/param.h] (common-generated): Do not append to
35899         variable.
35900         [generic sys/param.h] (sysdep_headers): Likewise.
35901         [generic bits/errno.h] (before-compile): Do not append to
35902         variable.
35903         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35904         rule.
35905         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35906         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35907         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35908         [generic bits/errno.h] (common-generated): Do not append to
35909         variable.
35910         [generic bits/ioctls.h] (before-compile): Do not append to
35911         variable.
35912         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35913         rule.
35914         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35915         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35916         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35917         rule.
35918         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35919         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35920         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35921         [generic bits/ioctls.h] (common-generated): Do not append to
35922         variable.
35923         [generic sys/syscall.h] (syscall.h): Remove variable.
35924         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35925         rule.
35926         [generic sys/syscall.h] (before-compile): Do not append to
35927         variable.
35928         [generic sys/syscall.h] (common-generated): Likewise.
35929         * sysdeps/unix/errnos-tmpl.c: Remove file.
35930         * sysdeps/unix/errnos.awk: Likewise.
35931         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35932         * sysdeps/unix/ioctls.awk: Likewise.
35933         * sysdeps/unix/mk-local_lim.c: Likewise.
35934         * sysdeps/unix/snarf-ioctls: Likewise.
35935
35936 2012-03-19  Richard Henderson  <rth@twiddle.net>
35937
35938         * sysdeps/i386/fpu/fenv_private.h: New file.
35939         * sysdeps/i386/fpu/math_private.h: Use it.
35940         (math_opt_barrier, math_force_eval): Remove.
35941         (libc_feholdexcept_setround_53bit): Remove.
35942         (libc_feupdateenv_53bit): Remove.
35943         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35944         (math_opt_barrier, math_force_eval): Remove.
35945         (libc_feholdexcept): Remove.
35946         (libc_feholdexcept_setround): Remove.
35947         (libc_fetestexcept, libc_fesetenv): Remove.
35948         (libc_feupdateenv_test): Remove.
35949         (libc_feupdateenv, libc_feholdsetround): Remove.
35950         (libc_feresetround): Remove.
35951
35952         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35953         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35954
35955         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35956         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35957         (libc_feupdateenv_testl): New.
35958         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35959         (libc_feupdateenv_testf): New.
35960         (libc_feupdateenv): Use libc_feupdateenv_test.
35961         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35963
35964         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35965         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35966         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35967         (libc_feresetround_noex): New.
35968         (libc_feresetround_noexf): New.
35969         (libc_feresetround_noexl): New.
35970         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35971         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35972         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35973         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35974         SET_RESTORE_ROUND.
35975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35976         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35977         (__cos): Likewise.
35978         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35979         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35980         SET_RESTORE_ROUND_NOEX.
35981         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35982         SET_RESTORE_ROUND_NOEXF.
35983         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35984         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35985         (libc_feholdsetroundf): New.
35986         (libc_feresetround, libc_feresetroundf): New.
35987
35988         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35989         (libc_feholdexcept_setround_53bit): Convert from macro to function.
35990         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
35991
35992         * sysdeps/generic/math_private.h: Include <fenv.h>.
35993         (default_libc_feholdexcept): New.
35994         (default_libc_feholdexcept_setround): New.
35995         (default_libc_fesetenv, default_libc_feupdateenv): New.
35996         (libc_feholdexcept): Only define if undefined.
35997         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35998         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35999         (libc_feholdexcept_setroundl): Likewise.
36000         (libc_feholdexcept_setround_53bit): Likewise.
36001         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36002         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36003         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36004         (libc_feupdateenv_53bit): Likewise.
36005         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36006         (libc_feholdexcept): Convert from macro to inline function.
36007         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36008         (libc_fesetenv, libc_feupdateenv): Likewise.
36009
36010         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36011         not previously defined.
36012         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36013         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36014         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36015         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36016         * sysdeps/ieee754/flt-32/math_private.h: New file.
36017         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36018         math_private.h below SET_FLOAT_WORD.
36019         (__isnan, __isinf_ns, __finite): Remove.
36020         (__isnanf, __isinf_nsf, __finitef): Remove.
36021
36022 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36023
36024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36025
36026 2012-03-17  David S. Miller  <davem@davemloft.net>
36027
36028         [BZ #6471]
36029         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36030         for 2.16.
36031
36032 2012-03-16  David S. Miller  <davem@davemloft.net>
36033
36034         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36035         warnings.
36036
36037         [BZ #6471]
36038         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36039         properly.
36040         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36041         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36042         sysdep_routines when subdir is sysvipc.
36043         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36044         __getshmlba helper.
36045
36046         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36047
36048 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36049
36050         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36051         [__LP64__].
36052
36053 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36054
36055         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36056         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36057         (__lround): Renamed to ...
36058         (__llround): This.  Replace long int with long long int.
36059         Define lround functions as aliases of llround functions.
36060         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36061
36062 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36063
36064         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36065         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36066         adresses to uintptr_t.  Replace "long int" and "unsigned long
36067         int" with "greg_t" on va_arg.
36068
36069 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36070
36071         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36072         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36073
36074         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36075         Move e_machine check before EI_CLASS check.  Handle x32
36076         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36077         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36078         SKIP_EM_IA_64 and include
36079         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36080
36081         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36082         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36083         (add_system_dir): New macro.
36084
36085         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36086         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36087
36088 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36089
36090         [BZ #2551]
36091         [BZ #2552]
36092         [BZ #2553]
36093         [BZ #2554]
36094         [BZ #2562]
36095         [BZ #2563]
36096         [BZ #2565]
36097         [BZ #2566]
36098         [BZ #2576]
36099         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36100         (y0): Likewise.
36101         * math/w_j0f.c (j0f): Likewise.
36102         (y0f): Likewise.
36103         * math/w_j0l.c (__j0l): Likewise.
36104         (__y0l): Likewise.
36105         * math/w_j1.c (j1): Likewise.
36106         (y1): Likewise.
36107         * math/w_j1f.c (j1f): Likewise.
36108         (y1f): Likewise.
36109         * math/w_j1l.c (__j1l): Likewise.
36110         (__y1l): Likewise.
36111         * math/w_jn.c (jn): Likewise.
36112         (yn): Likewise.
36113         * math/w_jnf.c (jnf): Likewise.
36114         (ynf): Likewise.
36115         * math/w_jnl.c (__jnl): Likewise.
36116         (__ynl): Likewise.
36117         * math/libm-test.inc (j0_test): Add more tests.
36118         (j1_test): Likewise.
36119         (jn_test): Likewise.  Add trailing semicolon to existing test.
36120         (y0_test): Likewise.
36121         (y1_test): Likewise.
36122         * sysdeps/i386/fpu/libm-test-ulps: Update.
36123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36124
36125         [BZ #13851]
36126         [BZ #13854]
36127         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36128         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36129         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36130         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36131         (__tanl): Set errno for infinite argument.
36132         * sysdeps/i386/fpu/mptan.c: Remove.
36133         * sysdeps/i386/fpu/s_tan.S: Likewise.
36134         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36135         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36136         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36137         * math/libm-test.inc (tan_test): Add more tests and enable more
36138         tests for double and long double.
36139         * sysdeps/i386/fpu/libm-test-ulps: Update.
36140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36141
36142 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36143
36144         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36145         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36146
36147 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36148
36149         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36150         * configure.in: Use it for both main tree and add-ons.
36151         * configure: Regenerated.
36152
36153 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36154
36155         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36156
36157 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36158
36159         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36160         in comment.
36161
36162         [BZ #13851]
36163         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36164         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36165         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36166         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36167         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36168         infinite argument.
36169         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36170         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36171         != 0 for prec == 2.
36172         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36173         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36174         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36175         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36176         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36177         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36178         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36179         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36180         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36181         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36182         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36183         * math/libm-test.inc (cos_test): Add more tests and enable more
36184         tests for long double.
36185         (sin_test): Likewise.
36186         (sincos_test): Likewise.
36187         * sysdeps/i386/fpu/libm-test-ulps: Update.
36188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36189
36190 2012-03-16  David S. Miller  <davem@davemloft.net>
36191
36192         * sysdeps/sparc/fpu/math_private.h: New file.
36193
36194 2012-03-15  David S. Miller  <davem@davemloft.net>
36195
36196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36197         file.
36198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36200         file.
36201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36206         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36207         sysdep routines.
36208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36209
36210         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36211         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36212
36213         * sysdeps/sparc/sparc-ifunc.h: New file.
36214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36215         sparc-ifunc.h
36216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36218         Likewise.
36219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36220         Likewise.
36221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36225         Likewise.
36226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36231         Likewise.
36232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36233         Likewise.
36234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36238         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36239         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36240         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36241         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36251         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36252         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36253         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36254         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36255         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36256         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36257         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36258
36259 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36260
36261         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36262         scaling.
36263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36264
36265 2012-03-15  Andreas Jaeger  <aj@suse.de>
36266
36267         [BZ #13852]
36268         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36269         ieee754/flt-32 implementation for sin, cos and sincos.
36270         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36271         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36272         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36273         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36274         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36275         ieee754/flt-32 implementation for tan.
36276
36277         * math/libm-test.inc (cos_test): Enable some large input tests for
36278         float as well
36279         (sin_test): Likewise.
36280         (sincos_test): Likewise.
36281         (tan_test): Add tests for large input.
36282
36283         * sysdeps/i386/fpu/libm-test-ulps: Update.
36284
36285 2012-03-15  Andreas Jaeger  <aj@suse.de>
36286
36287         [BZ #13658]
36288         * math/libm-test.inc (cos_test): Add more test cases.
36289         (sin_test): Likewise.
36290         (sincos_test): Likewise.
36291
36292 2012-03-15  Andreas Jaeger  <aj@suse.de>
36293
36294         [BZ #13837]
36295         * math/libm-test.inc (cos_test): Add a test case for large input
36296         value.
36297         (sin_test): Likewise.
36298         (sincos_test): Likewise.
36299
36300 2012-03-15  Andreas Jaeger  <aj@suse.de>
36301             Joseph Myers  <joseph@codesourcery.com>
36302
36303         [BZ #13658]
36304         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36305         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36306         * sysdeps/i386/fpu/branred.c: Likewise.
36307         * sysdeps/i386/fpu/dosincos.c: Likewise.
36308         * sysdeps/i386/fpu/mpa.c: Likewise.
36309         * sysdeps/i386/fpu/s_cos.S: Likewise.
36310         * sysdeps/i386/fpu/s_sin.S: Likewise.
36311         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36312         * sysdeps/i386/fpu/sincos32.c: Likewise.
36313
36314         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36315         Define.
36316         (libc_feupdateenv_53bit): Define.
36317         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36318         Define.
36319         (libc_feupdateenv_53bit): Define.
36320
36321         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36322         53 bit (without extend i386 double precision).
36323
36324         * math/libm-test.inc (sincos_test): Add tests for large input.
36325         (sin): Likewise.
36326         (cos): Likewise.
36327
36328         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36329
36330 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36331
36332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36333
36334 2012-03-15  David S. Miller  <davem@davemloft.net>
36335
36336         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36337         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36338         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36339         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36348         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36349         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36350         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36352         file.
36353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36355         file.
36356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36358         file.
36359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36361         file.
36362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36363         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36364         fmin/fmax sysdep routines.
36365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36366
36367 2012-03-14  David S. Miller  <davem@davemloft.net>
36368
36369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36373         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36374         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36375         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36376         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36377         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36387         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36388         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36389         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36390         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36391         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36392         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36393         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36394         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36395         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36396         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36397         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36398         routines.
36399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36400         file.
36401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36403         file.
36404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36406         file.
36407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36409         file.
36410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36412         file.
36413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36415         file.
36416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36417         file.
36418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36419         file.
36420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36421         file.
36422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36423         New file.
36424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36425         file.
36426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36427         file.
36428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36430         file.
36431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36433         file.
36434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36436         file.
36437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36439         VIS3 routines.
36440
36441         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36442         New file.
36443
36444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36445
36446         * sysdeps/sparc/configure.in: New file.
36447         * sysdeps/sparc/configure: Generate.
36448         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36449         * configure: Regenerate.
36450         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36451         * config.make.in (have-as-vis3): New.
36452         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36453         available use -Av9d instead of -Av9a.
36454         * sysdeps/sparc/sparc64/Makefile: Likewise.
36455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36457         New file.
36458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36459         file.
36460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36461         New file.
36462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36463         file.
36464         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36465         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36466         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36467         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36468         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36469
36470         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36471         fzeros/fnegs to load 0x80000000 into a float register instead of
36472         using the stack.
36473         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36474
36475 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36476
36477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36478         bits/syscall.h.
36479         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36480         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36481         ($(inst_includedir)/bits/syscall.h): Remove rule.
36482         ($(objpfx)bits/syscall.d): Include instead of
36483         $(objpfx)syscall-list.d.
36484         (generated): Change syscall-list.h and syscall-list.d to
36485         bits/syscall.h and bits/syscall.d.
36486
36487 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36488
36489         [BZ #13846]
36490         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36491
36492 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36493
36494         [BZ #13841]
36495         * math/s_csqrt.c: Include <float.h>.
36496         (__csqrt): Scale large or subnormal inputs.
36497         * math/s_csqrtf.c: Likewise.
36498         * math/s_csqrtl.c: Likewise.
36499         * math/libm-test.inc (csqrt_test): Add more tests.
36500         * sysdeps/i386/fpu/libm-test-ulps: Update.
36501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36502
36503         [BZ #13840]
36504         * math/libm-test.inc (hypot_test): Add more tests.
36505
36506 2012-03-13  David S. Miller  <davem@davemloft.net>
36507
36508         [BZ #13840]
36509         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36510         double-precision for the calculation instead of scaling.
36511
36512 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36513
36514         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36515         manipulate bits before adding and subtracting TWO52[sx].
36516         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36517         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36518         Likewise.
36519         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36520
36521 2012-03-13  David S. Miller  <davem@davemloft.net>
36522
36523         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36524         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36525         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36526         rtld-global-offsets.h
36527         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36528
36529         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36530         large parameters.
36531
36532         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36533
36534         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36535         'err' in the ifdef scope in which it is actually used.
36536
36537         * nss/nss_db/db-init.c: Include string.h
36538
36539 2012-03-12  David S. Miller  <davem@davemloft.net>
36540
36541         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36542         masking out of the most significant byte of random value used.
36543         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36544         Fix coding style in previous change.
36545
36546         * sysdeps/unix/sysv/linux/kernel-features.h
36547         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36548         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36549         expression.
36550         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36551         later.
36552
36553 2012-03-11  David S. Miller  <davem@davemloft.net>
36554
36555         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36556         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36557         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36558         for 'resultvar' otherwise things get truncated on 64-bit.
36559
36560         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36561         Fix masking out of the most significant byte of random value used.
36562
36563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36564
36565 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36566
36567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36568
36569 2012-03-09  David S. Miller  <davem@davemloft.net>
36570
36571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36572         variables with appropriate CPP guards.
36573         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36574         from the frame pointer, not the stack pointer.  Correct layout
36575         comments.  Fix test on resulting framesize and the management of
36576         the outregs buffer for pltexit.  Preserve floating point return
36577         values across _dl_call_pltexit call.
36578         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36579         framesize and the management of the outregs buffer for pltexit.
36580         Preserve floating point return values across _dl_call_pltexit
36581         call.
36582         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36583         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36584         (la_sparc64_gnu_pltexit): New functions.
36585         (print_exit): Fix format string for return register value.
36586
36587 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36588
36589         * sunrpc/Makefile (others): Add rpcgen.
36590         ($(objpfx)rpcgen): Remove special build rule and dependency on
36591         libc.
36592         * sunrpc/rpcgen.c: New file.
36593
36594 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36595
36596         [BZ #13673]
36597         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36598         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36599         * sysdeps/i386/crti.S: Likewise.
36600         * sysdeps/i386/crtn.S: Likewise.
36601         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36602         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36603         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36604         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36605         * sysdeps/sh/crti.S: Likewise.
36606         * sysdeps/sh/crtn.S: Likewise.
36607         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36608
36609         [BZ #13673]
36610         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36611         with URL.
36612         * locale/programs/locfile-kw.gperf: Likewise.
36613         * locale/programs/charmap-kw.h: Regenerated.
36614         * locale/programs/locfile-kw.h: Likewise.
36615
36616         [BZ #13673]
36617         * intl/plural.y: Replace FSF snail mail address with URL.
36618         * intl/plural.c: Regenerated.
36619
36620 2012-03-09  Richard Henderson  <rth@twiddle.net>
36621
36622         * include/math_private.h: Remove file.
36623         * math/math_private.h: Move file ...
36624         * sysdeps/generic/math_private.h: ... here.
36625
36626         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36627         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36628         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36629
36630         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36631         and <math_private.h>.
36632         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36633         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36634         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36635         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36636         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36637         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36638         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36639         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36640         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36641         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36642         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36643         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36644         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36645         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36646         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36647         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36648         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36649         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36650         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36651         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36653         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36654         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36655         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36656         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36657         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36658         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36659         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36660         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36661         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36662         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36663         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36664         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36665         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36666         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36667         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36668         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36669         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36670         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36672         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36673         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36674         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36675         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36676         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36677         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36678         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36679         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36680         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36681         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36682         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36683         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36684         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36685         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36686         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36687         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36688         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36689         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36690         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36691         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36692         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36693         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36694         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36695         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36696         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36697         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36698         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36699         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36700         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36701         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36702         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36703         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36704         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36705         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36706         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36707         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36709         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36710         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36711         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36712         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36713         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36714         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36715         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36716         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36717         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36718         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36719         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36720         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36721         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36722         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36723         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36724         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36725         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36726         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36727         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36728         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36729         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36730         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36731         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36732         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36733         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36734         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36735         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36736         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36737         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36738         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36739         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36740         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36741         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36742         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36743         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36744         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36745         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36746         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36747         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36748         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36749         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36750         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36751         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36752         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36753         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36754         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36755         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36756         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36757         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36758         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36759         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36760         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36761         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36762         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36763         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36764         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36765         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36766         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36767         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36768         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36769         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36770         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36771         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36772         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36773         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36774         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36775         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36776         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36777         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36778         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36779         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36780         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36781         * sysdeps/ieee754/k_standard.c: Likewise.
36782         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36783         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36784         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36785         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36786         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36787         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36788         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36789         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36790         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36791         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36792         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36794         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36795         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36796         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36797         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36798         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36799         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36800         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36801         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36802         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36803         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36805         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36806         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36807         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36808         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36809         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36810         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36811         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36812         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36813         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36814         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36815         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36816         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36817         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36818         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36819         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36820         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36821         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36822         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36823         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36824         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36825         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36826         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36827         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36828         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36829         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36830         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36831         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36832         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36833         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36834         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36835         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36836         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36837         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36838         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36839         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36840         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36841         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36842         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36843         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36844         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36845         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36846         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36847         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36848         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36849         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36850         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36851         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36852         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36854         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36855         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36856         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36857         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36859         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36860         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36861         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36862         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36863         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36864         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36865         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36867         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36869         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36870         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36871         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36872         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36873         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36874         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36875         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36876         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36877         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36878         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36879         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36880         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36881         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36882         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36883         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36884         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36885         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36886         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36887         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36888         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36889         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36890         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36891         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36892         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36893         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36894         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36895         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36896         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36897         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36898         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36899         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36900         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36901         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36902         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36903         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36904         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36905         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36906         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36907         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36908         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36909         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36910         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36911         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36912         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36913         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36914         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36915         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36916         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36917         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36918         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36919         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36920         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36921         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36922         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36923         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36925         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36930         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36931         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36932         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36933         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36934         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36935         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36936         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36938         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36939         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36940         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36941         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36942         * sysdeps/ieee754/s_lib_version.c: Likewise.
36943         * sysdeps/ieee754/s_matherr.c: Likewise.
36944         * sysdeps/ieee754/s_signgam.c: Likewise.
36945         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36946         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36947         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36948         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36949         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36950         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36951         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36952         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36953         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36954         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36955         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36956         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36957         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36958         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36959         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36960         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36961         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36962         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36963         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36964         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36965         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36966
36967 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36968
36969         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36970         * sunrpc/rpc_main.c: Likewise.
36971         * sunrpc/rpc_svcout.c: Likewise.
36972
36973 2012-03-09  David S. Miller  <davem@davemloft.net>
36974
36975         * include/math_private.h: New file.
36976
36977 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36978
36979         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36980         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36981         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36982         from <bits/socket_type.h>.
36983         (enum __socket_type): Don't define here.
36984         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36986         bits/socket_type.h.
36987
36988         [BZ #13566]
36989         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36990         checking __USE_GNU.
36991
36992         * Makerules ($(inst_includedir)/%.h): New rule.
36993         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36994         (install-others): Remove variable setting.
36995         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36996
36997 2012-03-08  Richard Henderson  <rth@twiddle.net>
36998
36999         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37000         from macro to inline function; merge with the
37001         !__LIBC_INTERNAL_MATH_INLINES version.
37002         (__ieee754_sqrtf): Likewise.
37003
37004         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37005         to inline function.
37006         (__rintf, __floor, __floorf): Likewise.
37007
37008         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37009         macro to inline function.
37010         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37011
37012         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37013         not <math/math_private.h>.
37014
37015 2012-03-08  David S. Miller  <davem@davemloft.net>
37016
37017         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37018         copyright year.
37019         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37020
37021 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37022
37023         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37024         normalization.
37025         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37026         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37027
37028 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37029
37030         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37031         be defined individually, they must be defined as a block.  Define
37032         S for printing a string instead of hidint the different by using a
37033         macro for adding the 'l'.
37034         * stdio-common/tst-fphex-wide.c: Adjust.
37035
37036 2012-03-07  Marek Polacek  <polacek@redhat.com>
37037
37038         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37039
37040 2012-03-08  Marek Polacek  <polacek@redhat.com>
37041
37042         [BZ #13806]
37043         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37044         * stdio-common/tst-fphex.c: Define a few macros to make the
37045         test reusable.  Use them.
37046         * stdio-common/tst-fphex-wide.c: New file.
37047
37048 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37049
37050         [BZ #6911]
37051         * manual/macros.texi (gnusystems): New macro.
37052         (nongnusystems): Likewise.
37053         (gnulinuxhurdsystems): Likewise.
37054         (gnuhurdsystems): Likewise..
37055         (gnulinuxsystems): Likewise.
37056         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37057         variants of the GNU system, not "GNU system".
37058         * manual/conf.texi: Likewise.
37059         * manual/errno.texi: Likewise.  Update example of errno macro
37060         expansion.
37061         * manual/filesys.texi: Likewise.
37062         (getumask): Document as specific to GNU/Hurd.
37063         * manual/install.texi: Likewise.  Reword some references to
37064         GNU/Linux.
37065         * manual/intro.texi: Likewise.
37066         * manual/io.texi: Likewise.
37067         (File Name Portability): Detail which constraints are inapplicable
37068         to all GNU systems and which are only inapplicable to GNU/Hurd.
37069         * manual/job.texi: Likewise.
37070         * manual/llio.texi: Likewise.
37071         (O_NOCTTY): Document as present on GNU/Linux.
37072         * manual/maint.texi: Likewise.
37073         * manual/memory.texi: Likewise.
37074         * manual/pattern.texi: Likewise.
37075         * manual/pipe.texi: Likewise.
37076         * manual/process.texi: Likewise.
37077         * manual/resource.texi: Likewise.
37078         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37079         child on GNU/Hurd.
37080         * manual/setjmp.texi: Likewise.
37081         * manual/signal.texi: Likewise.
37082         * manual/startup.texi: Likewise.
37083         * manual/stdio.texi: Likewise.
37084         * manual/terminal.texi: Likewise.
37085         (ONLCR): Document as POSIX.
37086         (OXTABS): Document availability on GNU/Linux as XTABS.
37087         (ONOEOT): Document availability separately from other bits.
37088         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37089         * manual/time.texi: Likewise.
37090         * manual/users.texi: Likewise.
37091         * INSTALL: Regenerated.
37092         * sysdeps/gnu/errlist.c: Regenerated.
37093
37094         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37095         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37096         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37097         puts.
37098         * configure: Regenerated.
37099
37100 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37101
37102         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37103         default includes instead of AC_HEADER_CHECK.
37104         * sysdeps/i386/configure: Regenerated.
37105
37106         [BZ #10716]
37107         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37108         * math/s_cacoshf.c (__cacoshf): Likewise.
37109         * math/s_cacoshl.c (__cacoshl): Likewise.
37110         * math/s_casinh.c (__casinh): Set signs of result from argument.
37111         * math/s_casinhf.c (__casinhf): Likewise.
37112         * math/s_casinhl.c (__casinhl): Likewise.
37113         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37114         (casinh_test): Add more tests.
37115         * sysdeps/i386/fpu/libm-test-ulps: Update.
37116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37117
37118 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37119
37120         * po/zh_TW.po: Update from translation team.
37121
37122         * login/Makefile (distribute): Remove variable.
37123         * catgets/Makefile: Likewise.
37124         * mach/Makefile: Likewise.
37125         * malloc/Makefile: Likewise.
37126         * misc/Makefile: Likewise.
37127         * iconv/Makefile: Likewise.
37128         * nscd/Makefile: Likewise.
37129         * hurd/Makefile: Likewise.
37130         * manual/Makefile: Likewise.
37131         * locale/Makefile: Likewise.
37132         * intl/Makefile: Likewise.
37133         * conform/Makefile: Likewise.
37134         * nss/Makefile: Likewise.
37135         * time/Makefile: Likewise.
37136         * soft-fp/Makefile: Likewise.
37137         * dirent/Makefile: Likewise.
37138         * gmon/Makefile: Likewise.
37139         * po/Makefile: Likewise.
37140         * rt/Makefile: Likewise.
37141         * socket/Makefile: Likewise.
37142         * math/Makefile: Likewise.
37143         * signal/Makefile: Likewise.
37144         * debug/Makefile: Likewise.
37145         * elf/Makefile: Likewise.
37146         * timezone/Makefile: Likewise.
37147         * stdlib/Makefile: Likewise.
37148         * iconvdata/Makefile: Likewise.
37149         * sunrpc/Makefile: Likewise.
37150         * io/Makefile: Likewise.
37151         * argp/Makefile: Likewise.
37152         * inet/Makefile: Likewise.
37153         * hesiod/Makefile: Likewise.
37154         * grp/Makefile: Likewise.
37155         * csu/Makefile: Likewise.
37156         * wctype/Makefile: Likewise.
37157         * crypt/Makefile: Likewise.
37158         * libio/Makefile: Likewise.
37159         * string/Makefile: Likewise.
37160         * nis/Makefile: Likewise.
37161         * resolv/Makefile: Likewise.
37162         * stdio-common/Makefile: Likewise.
37163         * wcsmbs/Makefile: Likewise.
37164         * dlfcn/Makefile: Likewise.
37165         * posix/Makefile: Likewise.
37166
37167         [BZ #6959]
37168         * timezone/Makefile: Don't install timezone files, just the programs
37169         and scripts.
37170
37171 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37172
37173         * nss/databases.def: Add missing gshadow entry.
37174
37175         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37176
37177 2012-03-06  Marek Polacek  <polacek@redhat.com>
37178
37179         [BZ #13726]
37180         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37181         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37182         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37183         * stdio-common/tst-long-dbl-fphex.c: New file.
37184
37185 2012-03-06  David S. Miller  <davem@davemloft.net>
37186
37187         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37188         (set_obp_int): New function.
37189         (get_obp_int): New function.
37190         (__get_clockfreq_via_dev_openprom): Likewise.
37191         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37192         Avoid unused variable warnings on 'val' and use builtin_expect.
37193         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37194         __builtin_expect.
37195         (INLINE_CLONE_SYSCALL): Likewise.
37196
37197 2012-03-05  David S. Miller  <davem@davemloft.net>
37198
37199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37200
37201 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37202
37203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37204
37205         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37206         only for |x| >= 40.
37207         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37208
37209 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37210
37211         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37212         Replace gettimeofday with __vdso_gettimeofday.
37213
37214         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37215         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37216         __vdso_clock_gettime and __vdso_getcpu.
37217
37218         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37219         time with __vdso_time.
37220
37221 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37222
37223         * manual/lang.texi (size_t): Note types to which size_t may be
37224         equivalent with the GNU C Library, but do not describe when
37225         differences between them are significant.
37226
37227 2012-03-05  Andreas Jaeger  <aj@suse.de>
37228
37229         * sysdeps/i386/fpu/libm-test-ulps: Update.
37230
37231 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37232
37233         [BZ #3976]
37234         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37235         (__ieee754_pow): Save and restore rounding mode and use
37236         round-to-nearest for main computations.
37237         * math/libm-test.inc (pow_test_tonearest): New function.
37238         (pow_test_towardzero): Likewise.
37239         (pow_test_downward): Likewise.
37240         (pow_test_upward): Likewise.
37241         (main): Call the new functions.
37242         * sysdeps/i386/fpu/libm-test-ulps: Update.
37243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37244
37245         [BZ #3976]
37246         * math/libm-test.inc (cosh_test_tonearest): New function.
37247         (cosh_test_towardzero): Likewise.
37248         (cosh_test_downward): Likewise.
37249         (cosh_test_upward): Likewise.
37250         (sinh_test_tonearest): Likewise.
37251         (sinh_test_towardzero): Likewise.
37252         (sinh_test_downward): Likewise.
37253         (sinh_test_upward): Likewise.
37254         (main): Call the new functions.
37255         * sysdeps/i386/fpu/libm-test-ulps: Update.
37256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37257
37258 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37259
37260         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37261         default stack guard is set in last bytes.
37262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37263
37264 2012-03-05  Kees Cook  <keescook@chromium.org>
37265
37266         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37267
37268         [BZ #13656]
37269         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37270         possibly allocate from heap instead of stack.
37271         * stdio-common/bug-vfprintf-nargs.c: New file.
37272         * stdio-common/Makefile (tests): Add nargs overflow test.
37273
37274 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37275
37276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37277
37278 2012-03-03  Marek Polacek  <polacek@redhat.com>
37279
37280         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37281         * math/math_private.h: Likewise.
37282         * stdlib/tst-strtod.c: Likewise.
37283         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37284         * sysdeps/x86_64/bits/atomic.h: Likewise.
37285
37286 2012-03-02  David S. Miller  <davem@davemloft.net>
37287
37288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37292         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37293         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37294         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37295         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37296
37297 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37298
37299         [BZ #13792]
37300         * manual/examples/README: New file, says the example source files
37301         can be used under GPL>=2.
37302         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37303         line containing just "*/".
37304         * manual/examples/add.c: Add copyright header (GPL>=2).
37305         * manual/examples/argp-ex1.c: Likewise.
37306         * manual/examples/argp-ex2.c: Likewise.
37307         * manual/examples/argp-ex3.c: Likewise.
37308         * manual/examples/argp-ex4.c: Likewise.
37309         * manual/examples/atexit.c: Likewise.
37310         * manual/examples/db.c: Likewise.
37311         * manual/examples/dir.c: Likewise.
37312         * manual/examples/dir2.c: Likewise.
37313         * manual/examples/execinfo.c: Likewise.
37314         * manual/examples/filecli.c: Likewise.
37315         * manual/examples/filesrv.c: Likewise.
37316         * manual/examples/fmtmsgexpl.c: Likewise.
37317         * manual/examples/genpass.c: Likewise.
37318         * manual/examples/inetcli.c: Likewise.
37319         * manual/examples/inetsrv.c: Likewise.
37320         * manual/examples/isockad.c: Likewise.
37321         * manual/examples/longopt.c: Likewise.
37322         * manual/examples/memopen.c: Likewise.
37323         * manual/examples/memstrm.c: Likewise.
37324         * manual/examples/mkfsock.c: Likewise.
37325         * manual/examples/mkisock.c: Likewise.
37326         * manual/examples/mygetpass.c: Likewise.
37327         * manual/examples/pipe.c: Likewise.
37328         * manual/examples/popen.c: Likewise.
37329         * manual/examples/rprintf.c: Likewise.
37330         * manual/examples/search.c: Likewise.
37331         * manual/examples/select.c: Likewise.
37332         * manual/examples/setjmp.c: Likewise.
37333         * manual/examples/sigh1.c: Likewise.
37334         * manual/examples/sigusr.c: Likewise.
37335         * manual/examples/stpcpy.c: Likewise.
37336         * manual/examples/strdupa.c: Likewise.
37337         * manual/examples/strftim.c: Likewise.
37338         * manual/examples/strncat.c: Likewise.
37339         * manual/examples/subopt.c: Likewise.
37340         * manual/examples/swapcontext.c: Likewise.
37341         * manual/examples/termios.c: Likewise.
37342         * manual/examples/testopt.c: Likewise.
37343         * manual/examples/testpass.c: Likewise.
37344         * manual/examples/timeval_subtract.c: Likewise.
37345
37346         [BZ #13792]
37347         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37348         function to ...
37349         * manual/timeval_subtract.c.texi: ... here, new file.
37350
37351 2012-03-02  David S. Miller  <davem@davemloft.net>
37352
37353         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37354
37355 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37356
37357         [BZ #3976]
37358         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37359         (__sin): Save and restore rounding mode and use round-to-nearest
37360         for all computations.
37361         (__cos): Save and restore rounding mode and use round-to-nearest
37362         for all computations.
37363         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37364         <fenv.h>.
37365         (tan): Save and restore rounding mode and use round-to-nearest for
37366         all computations.
37367         * math/libm-test.inc (cos_test_tonearest): New function.
37368         (cos_test_towardzero): Likewise.
37369         (cos_test_downward): Likewise.
37370         (cos_test_upward): Likewise.
37371         (sin_test_tonearest): Likewise.
37372         (sin_test_towardzero): Likewise.
37373         (sin_test_downward): Likewise.
37374         (sin_test_upward): Likewise.
37375         (tan_test_tonearest): Likewise.
37376         (tan_test_towardzero): Likewise.
37377         (tan_test_downward): Likewise.
37378         (tan_test_upward): Likewise.
37379         (main): Call the new functions.
37380         * sysdeps/i386/fpu/libm-test-ulps: Update.
37381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37382
37383         [BZ #10135]
37384         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37385         small n, then large n, before computing and testing k+n.
37386         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37387         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37388         Likewise.
37389         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37390         Likewise.
37391         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37392         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37393         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37394         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37395         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37396         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37397         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37398         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37399         * math/libm-test.inc (scalbn_test): Add more tests.
37400         (scalbln_test): Likewise.
37401
37402         * manual/filesys.texi (mode_t): Describe constraints on size and
37403         signedness, not exact equivalence to a particular type.
37404         (ino_t): Likewise.
37405         (ino64_t): Likewise.
37406         (dev_t): Likewise.
37407         (nlink_t): Likewise.
37408         (blkcnt_t): Likewise.
37409         (blkcnt64_t): Likewise.
37410         * manual/llio.texi (off_t): Likewise.
37411
37412         [BZ #3976]
37413         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37414         (__ieee754_exp): Save and restore rounding mode and use
37415         round-to-nearest for all computations.
37416         * math/libm-test.inc (exp_test_tonearest): New function.
37417         (exp_test_towardzero): Likewise.
37418         (exp_test_downward): Likewise.
37419         (exp_test_upward): Likewise.
37420         (main): Call the new functions.
37421         * sysdeps/i386/fpu/libm-test-ulps: Update.
37422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37423
37424 2012-03-01  Chris Demetriou  <cgd@google.com>
37425
37426         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37427         have predictable order.
37428
37429 2012-03-01  David S. Miller  <davem@davemloft.net>
37430
37431         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37432
37433         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37434         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37435         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37436         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37437
37438         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37439         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37440         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37442         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37443         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37444         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37445         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37446         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37447
37448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37449
37450         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37451         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37452         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37453
37454         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37455         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37456         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37457         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37458         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37459         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37460         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37461         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37462         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37463         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37464         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37465         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37467         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37468         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37469         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37470         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37471         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37472         * sysdeps/sparc/elf/configure: Regenerated.
37473
37474 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37475
37476         * configure.in (AS, LD): Require binutils 2.20 or later.
37477         * configure: Regenerated.
37478         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37479         as required minimum version.
37480         * INSTALL: Regenerated.
37481
37482         [BZ #2541]
37483         [BZ #4108]
37484         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37485         before squaring exponent.
37486         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37487         bottom long double and 27 bits of top long double before squaring
37488         exponent.
37489         * math/libm-test.inc (erfc_test): Add more tests.
37490         * sysdeps/i386/fpu/libm-test-ulps: Update.
37491         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37493
37494 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37495
37496         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37497         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37498         containing bit-fields.
37499         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37500         * soft-fp/single.h (_FP_UNION_S): Likewise.
37501         * soft-fp/double.h (_FP_UNION_D): Likewise.
37502
37503 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37504
37505         [BZ #13786]
37506         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37507         not include ../strcmp.S.
37508         [USE_AS_STRNCASECMP_L]: Likewise.
37509         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37510         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37511         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37512         (__strncasecmp_l_ia32): Define as alias to
37513         __strncasecmp_l_nonascii.
37514
37515         [BZ #5794]
37516         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37517         * sysdeps/i386/fpu/libm-test-ulps: Update.
37518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37519
37520         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37522
37523 2012-02-29  Jeff Law  <law@redhat.com>
37524
37525         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37526         out of bounds read.
37527
37528 2012-02-29  Marek Polacek  <polacek@redhat.com>
37529
37530         [BZ #13706]
37531         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37532         * elf/Makefile: Add rules to run tst-unused-dep.out.
37533
37534 2012-02-28  David S. Miller  <davem@davemloft.net>
37535
37536         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37537         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37538         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37539         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37540         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37541         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37542
37543 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37544
37545         * math/libm-test.inc (llround_test): Move one test from
37546         lround_test.  Use TEST_f_L in moved test.
37547         (lround_test): Move misplaced test to llround_test.  Add testcase
37548         from bug 2561.
37549
37550 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37551
37552         * sysdeps/x86_64/fpu/e_expf.S: New file.
37553         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37554
37555 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37556
37557         [BZ #13637]
37558         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37559         of remain_len that may cause incomplete multi-byte character and
37560         false match.
37561         * posix/bug-regex33.c: New file.
37562         * posix/Makefile (tests): Add bug-regex33.
37563
37564 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37565
37566         * manual/macros.texi: New file.
37567         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37568         * manual/libc.texinfo: Include macros.texi.
37569         * manual/creatute.texi: Likewise.
37570         * manual/install.texi: Likewise.
37571         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37572         @glibcadj{} in references to the GNU C Library.
37573         * manual/charset.texi: Likewise.
37574         * manual/conf.texi: Likewise.
37575         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37576         when not using those macros.
37577         * manual/creature.texi: Likewise.
37578         * manual/crypt.texi: Likewise.
37579         * manual/errno.texi: Likewise.
37580         * manual/filesys.texi: Likewise.
37581         * manual/header.texi: Likewise.
37582         * manual/install.texi: Likewise.
37583         * manual/intro.texi: Likewise.
37584         * manual/io.texi: Likewise.
37585         * manual/job.texi: Likewise.
37586         * manual/lang.texi: Likewise.
37587         * manual/libc.texiinfo: Likewise.
37588         * manual/llio.texi: Likewise.
37589         * manual/locale.texi: Likewise.
37590         * manual/maint.texi: Likewise.
37591         * manual/math.texi: Likewise.
37592         * manual/memory.texi: Likewise.
37593         * manual/message.texi: Likewise.
37594         * manual/nss.texi: Likewise.
37595         * manual/pattern.texi: Likewise.
37596         * manual/process.texi: Likewise.
37597         * manual/resource.texi: Likewise.
37598         * manual/search.texi: Likewise.
37599         * manual/setjmp.texi: Likewise.
37600         * manual/signal.texi: Likewise.
37601         * manual/socket.texi: Likewise.
37602         * manual/startup.texi: Likewise.
37603         * manual/stdio.texi: Likewise.
37604         * manual/string.texi: Likewise.
37605         * manual/sysinfo.texi: Likewise.
37606         * manual/syslog.texi: Likewise.
37607         * manual/terminal.texi: Likewise.
37608         * manual/time.texi: Likewise.
37609         * manual/users.texi: Likewise.
37610         * INSTALL: Regenerated.
37611         * NOTES: Regenerated.
37612         * sysdeps/gnu/errlist.c: Regenerated.
37613
37614 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37615
37616         * include/dirent.h: Include <dirstream.h> before
37617         <dirent/dirent.h>.
37618
37619 2012-02-28  David S. Miller  <davem@davemloft.net>
37620
37621         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37622         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37623         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37624         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37625
37626 2012-02-27  David S. Miller  <davem@davemloft.net>
37627
37628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37630         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37631         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37632
37633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37634         frame pointer instead of stack pointer relative arg slot.
37635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37636         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37637         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37638
37639 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37640
37641         [BZ #3992]
37642         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37643
37644 2012-02-27  David S. Miller  <davem@davemloft.net>
37645
37646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37650         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37651         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37652         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37653         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37654
37655 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37656
37657         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37658         later.  Allow versions 5-9.
37659         * configure: Regenerated.
37660         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37661         required minimum version and 4.6 as recommended version.  Do not
37662         mention bugs in GCC 2.7 and 2.8.
37663         * INSTALL: Regenerated.
37664
37665 2012-02-27  David S. Miller  <davem@davemloft.net>
37666
37667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37671         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37672         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37673         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37674         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37675
37676         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37677         manipulate bits before adding and subtracting TWO112[sx].
37678         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37679
37680 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37681
37682         [BZ #13775]
37683         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37684         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37685         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37686         being in POSIX, because they are in 1003.1-2008.
37687
37688         * rt/tst-aio.c: Include <fcntl.h>.
37689         * rt/tst-aio7.c: Likewise.
37690         * rt/tst-aio64.c: Likewise.
37691
37692         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37693
37694 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37695
37696         * manual/install.texi (--with-headers): Describe headers as
37697         interface headers, not private headers.
37698         (Specific advice for GNU/Linux systems): Describe use of headers
37699         from "make headers_install", not private headers from older
37700         kernels.
37701         * INSTALL: Regenerated.
37702         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37703         Change to 2.6.19.
37704         * sysdeps/unix/sysv/linux/configure: Regenerated.
37705
37706         * manual/llio.texi (fclean): Remove documentation.
37707
37708         * manual/Makefile (libc-texi-generated): New variable.  Include
37709         version.texi.
37710         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37711         $(libc-texi-generated), not duplicated list of files.
37712         (version.texi, stamp-version): New rules.
37713         (realclean): Remove $(libc-texi-generated), not individual files
37714         from that list.  Do not remove dir-add.texinfo.
37715         * manual/libc.texinfo: Comment out uses of edition numbers and
37716         references to printed manual.  Remove last-updated dates.
37717         (EDITION): Comment out.
37718         (ISBN): Likewise.
37719         (VERSION, UPDATED): Remove.
37720         (version.texi): Include.
37721
37722 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37723
37724         * sysdeps/posix/spawni.c: Include <signal.h>.
37725         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37726         * sysdeps/pthread/aio_fsync.c: Likewise.
37727
37728 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37729
37730         * conform/Makefile (tests): Run only when not cross-compiling and
37731         when fast-check is not defined.
37732
37733         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37734         * conform/data/limits.h-data: Fixes for POSIX2008.
37735         * conform/run-conformtest.sh: Run all tests.
37736         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37737         headers.
37738         * include/bits/dlfcn.h: Likewise.
37739         * include/langinfo.h: Likewise.
37740         * include/monetary.h: Likewise.
37741         * include/sys/poll.h: Likewise.
37742
37743         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37744         for __USE_GNU.
37745         * posix/spawn.h: Define __need_sigset_t.
37746         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37747         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37748         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37749         to get sigevent_t only.
37750         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37751         only for __USE_GNU.
37752         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37753         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37754         process_vm_writev only for __USE_GNU.
37755         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37756
37757         * conform/Makefile: For now ignore errors from run-conformtest.
37758         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37759         POSIX to avoid namespace pollution.  Don't prepend headers.
37760         * conform/data/aio.h-data: Fixes for POSIX testing.
37761         * conform/data/fcntl.h-data: Likewise.
37762         * conform/data/glob.h-data: Likewise.
37763         * conform/data/grp.h-data: Likewise.
37764         * conform/data/pthread.h-data: Likewise.
37765         * conform/data/pwd.h-data: Likewise.
37766         * conform/data/signal.h-data: Likewise.
37767         * conform/data/spawn.h-data: Likewise.
37768         * conform/data/stdio.h-data: Likewise.
37769         * conform/data/stdlib.h-data: Likewise.
37770         * conform/data/stropts.h-data: Likewise.
37771         * conform/data/sys/mman.h-data: Likewise.
37772         * conform/data/sys/stat.h-data: Likewise.
37773         * conform/data/sys/types.h-data: Likewise.
37774         * conform/data/sys/wait.h-data: Likewise.
37775         * conform/data/time.h-data: Likewise.
37776         * conform/data/unistd.h-data: Likewise.
37777         * conform/data/utime.h-data: Likewise.
37778
37779         * io/sys/stat.h: fchmod was always in POSIX.
37780         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37781         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37782         * rt/aio.h: Define __need_timespec before including <time.h>.
37783         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37784         struct.  Add forward declaration of pthread_attr_t and use it in
37785         sigevent.
37786         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37787         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37788         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37789         always remove CLK_TCK definition.
37790
37791 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37792
37793         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37794
37795 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37796
37797         * conform/run-conformtest.sh: New file.
37798         * conform/Makefile: Run run-conformtest for tests.
37799         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37800         support.
37801
37802         * conform/data/uchar.h-data: New file.
37803         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37804         * conform/data/arpa/inet.h-data: Likewise.
37805         * conform/data/assert.h-data: Likewise.
37806         * conform/data/complex.h-data: Likewise.
37807         * conform/data/cpio.h-data: Likewise.
37808         * conform/data/ctype.h-data: Likewise.
37809         * conform/data/dirent.h-data: Likewise.
37810         * conform/data/dlfcn.h-data: Likewise.
37811         * conform/data/errno.h-data: Likewise.
37812         * conform/data/fcntl.h-data: Likewise.
37813         * conform/data/float.h-data: Likewise.
37814         * conform/data/fmtmsg.h-data: Likewise.
37815         * conform/data/fnmatch.h-data: Likewise.
37816         * conform/data/ftw.h-data: Likewise.
37817         * conform/data/glob.h-data: Likewise.
37818         * conform/data/grp.h-data: Likewise.
37819         * conform/data/iconv.h-data: Likewise.
37820         * conform/data/inttypes.h-data: Likewise.
37821         * conform/data/langinfo.h-data: Likewise.
37822         * conform/data/libgen.h-data: Likewise.
37823         * conform/data/limits.h-data: Likewise.
37824         * conform/data/locale.h-data: Likewise.
37825         * conform/data/math.h-data: Likewise.
37826         * conform/data/monetary.h-data: Likewise.
37827         * conform/data/mqueue.h-data: Likewise.
37828         * conform/data/ndbm.h-data: Likewise.
37829         * conform/data/net/if.h-data: Likewise.
37830         * conform/data/netdb.h-data: Likewise.
37831         * conform/data/netinet/in.h-data: Likewise.
37832         * conform/data/nl_types.h-data: Likewise.
37833         * conform/data/poll.h-data: Likewise.
37834         * conform/data/pthread.h-data: Likewise.
37835         * conform/data/pwd.h-data: Likewise.
37836         * conform/data/regex.h-data: Likewise.
37837         * conform/data/sched.h-data: Likewise.
37838         * conform/data/search.h-data: Likewise.
37839         * conform/data/semaphore.h-data: Likewise.
37840         * conform/data/setjmp.h-data: Likewise.
37841         * conform/data/signal.h-data: Likewise.
37842         * conform/data/spawn.h-data: Likewise.
37843         * conform/data/stdarg.h-data: Likewise.
37844         * conform/data/stdio.h-data: Likewise.
37845         * conform/data/stdlib.h-data: Likewise.
37846         * conform/data/string.h-data: Likewise.
37847         * conform/data/strings.h-data: Likewise.
37848         * conform/data/stropts.h-data: Likewise.
37849         * conform/data/sys/ipc.h-data: Likewise.
37850         * conform/data/sys/mman.h-data: Likewise.
37851         * conform/data/sys/msg.h-data: Likewise.
37852         * conform/data/sys/resource.h-data: Likewise.
37853         * conform/data/sys/select.h-data: Likewise.
37854         * conform/data/sys/sem.h-data: Likewise.
37855         * conform/data/sys/shm.h-data: Likewise.
37856         * conform/data/sys/socket.h-data: Likewise.
37857         * conform/data/sys/stat.h-data: Likewise.
37858         * conform/data/sys/statvfs.h-data: Likewise.
37859         * conform/data/sys/time.h-data: Likewise.
37860         * conform/data/sys/timeb.h-data: Likewise.
37861         * conform/data/sys/times.h-data: Likewise.
37862         * conform/data/sys/types.h-data: Likewise.
37863         * conform/data/sys/uio.h-data: Likewise.
37864         * conform/data/sys/un.h-data: Likewise.
37865         * conform/data/sys/utsname.h-data: Likewise.
37866         * conform/data/sys/wait.h-data: Likewise.
37867         * conform/data/syslog.h-data: Likewise.
37868         * conform/data/tar.h-data: Likewise.
37869         * conform/data/termios.h-data: Likewise.
37870         * conform/data/utime.h-data: Likewise.
37871         * conform/data/utmpx.h-data: Likewise.
37872         * conform/data/varargs.h-data: Likewise.
37873         * conform/data/wchar.h-data: Likewise.
37874         * conform/data/wctype.h-data: Likewise.
37875         * conform/data/wordexp.h-data: Likewise.
37876
37877         * include/stropts.h: New file.
37878         * include/uchar.h: New file.
37879         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37880         * include/assert.h: Likewise.
37881         * include/ctype.h: Likewise.
37882         * include/dirent.h: Likewise.
37883         * include/dlfcn.h: Likewise.
37884         * include/fcntl.h: Likewise.
37885         * include/fnmatch.h: Likewise.
37886         * include/glob.h: Likewise.
37887         * include/grp.h: Likewise.
37888         * include/libio.h: Likewise.
37889         * include/locale.h: Likewise.
37890         * include/math.h: Likewise.
37891         * include/net/if.h: Likewise.
37892         * include/netdb.h: Likewise.
37893         * include/netinet/in.h: Likewise.
37894         * include/pthread.h: Likewise.
37895         * include/pwd.h: Likewise.
37896         * include/regex.h: Likewise.
37897         * include/sched.h: Likewise.
37898         * include/search.h: Likewise.
37899         * include/setjmp.h: Likewise.
37900         * include/signal.h: Likewise.
37901         * include/stdio.h: Likewise.
37902         * include/stdlib.h: Likewise.
37903         * include/string.h: Likewise.
37904         * include/sys/cdefs.h: Likewise.
37905         * include/sys/mman.h: Likewise.
37906         * include/sys/msg.h: Likewise.
37907         * include/sys/resource.h: Likewise.
37908         * include/sys/select.h: Likewise.
37909         * include/sys/socket.h: Likewise.
37910         * include/sys/stat.h: Likewise.
37911         * include/sys/statvfs.h: Likewise.
37912         * include/sys/time.h: Likewise.
37913         * include/sys/times.h: Likewise.
37914         * include/sys/uio.h: Likewise.
37915         * include/sys/utsname.h: Likewise.
37916         * include/sys/wait.h: Likewise.
37917         * include/termios.h: Likewise.
37918         * include/time.h: Likewise.
37919         * include/ulimit.h: Likewise.
37920         * include/unistd.h: Likewise.
37921         * include/utime.h: Likewise.
37922         * include/wchar.h: Likewise.
37923         * include/wctype.h: Likewise.
37924         * include/wordexp.h: Likewise.
37925
37926         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37927
37928         * time/time.h: TIME_UTC must be a macro.
37929         Make timespec_get available for ISO C11 only as well.
37930
37931 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37932
37933         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37934         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37935
37936 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37937
37938         * configure.in: Use -o not -a in test for unsupported multi-arch.
37939
37940 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37941
37942         * manual/texinfo.tex: Update to version 2012-01-19.16.
37943
37944 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37945
37946         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37947
37948 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37949
37950         [BZ #13738]
37951         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37952         * manual/fdl-1.3.texi: New file.
37953         * manual/fdl-1.1.texi: File removed.
37954
37955         [BZ #13738]
37956         * manual/libc.texinfo (FDL_VERSION): New @set.
37957         Use it for mention of FDL in cover text.
37958         (Documentation License): Use it in @include file name.
37959
37960 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37961             Roland McGrath  <roland@hack.frob.com>
37962
37963         [BZ #5461]
37964         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37965         (not LONG_LONG_MAX and LONG_LONG_MIN.
37966         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37967         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37968         name.
37969         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37970
37971 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37972
37973         [BZ #2547]
37974         [BZ #11365]
37975         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37976         manipulate bits before adding and subtracting TWO23[sx].
37977         * math/libm-test.inc (nearbyint_test): Add more tests.
37978
37979 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37980
37981         [BZ #2548]
37982         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37983         bits before adding and subtracting TWO23[sx].
37984         * math/libm-test.inc (rint_test): Add more tests.
37985         (rint_test_tonearest): Likewise.
37986         (rint_test_towardzero): Likewise.
37987         (rint_test_downward): Likewise.
37988         (rint_test_upward: Likewise.
37989
37990 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37991
37992         [BZ #10110]
37993         * include/stdc-predef.h: New file.  Extracted from features.h.
37994         * include/features.h: Include stdc-predef.h.
37995         * Makefile (headers): Add stdc-predef.h.
37996         * CONFORMANCE (Compiler limitations): Update.
37997
37998 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37999
38000         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38001
38002 2012-02-21  David S. Miller  <davem@davemloft.net>
38003
38004         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38005         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38006
38007 2012-02-20  David S. Miller  <davem@davemloft.net>
38008
38009         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38010         using a normal save/restore sequence, rather than allocating a
38011         dummy stack frame just to store a frame pointer and restore.
38012         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38013
38014 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38015
38016         * manual/install.texi: Fix stray word in line-wrapped comment.
38017
38018 2012-02-20  David S. Miller  <davem@davemloft.net>
38019
38020         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38021         both binutils and gcc support GOTDATA.
38022
38023         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38024         "rd %pc" in the PIC register setup sequences.
38025
38026         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38027         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38028         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38029         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38030         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38032         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38033         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38034         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38035         (SYSCALL_ERROR_HANDLER): Likewise.
38036         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38037         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38039         (SYSCALL_ERROR_HANDLER): Likewise.
38040
38041         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38042         (HAVE_GCC_GOTDATA): New.
38043         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38044         relocation support in both binutils and gcc.
38045         * sysdeps/sparc/elf/configure: Regenerate.
38046
38047         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38048         * sysdeps/sparc/sparc32/elf/configure: Delete.
38049         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38050         * sysdeps/sparc/sparc64/elf/configure: Delete.
38051         * sysdeps/sparc/elf/configure.in: New file.
38052         * sysdeps/sparc/elf/configure: Generate.
38053
38054         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38055         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38056         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38057         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38058         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38059
38060 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38061
38062         * manual/install.texi: Do not mention specific glibc version
38063         numbers.
38064         * manual/libc.texinfo (VERSION, UPDATED): Update.
38065         (@copying): Use @copyright{} and range of years.
38066
38067 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38068
38069         [BZ #13695]
38070         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38071         [crti.S not in sysdirs] (generated): Do not append.
38072         [crti.S not in sysdirs] (omit-deps): Likewise.
38073         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38074         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38075         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38076         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38077         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38078         Likewise.
38079         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38080         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38081         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38082         * csu/defs.awk: Remove file.
38083         * sysdeps/generic/initfini.c: Likewise.
38084         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38085         variable.
38086         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38087         Likewise.
38088
38089 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38090
38091         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38092         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38093         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38094         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38095         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38096         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38097         <bits/epoll.h>.
38098         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38099         (__EPOLL_PACKED): Define to empty if not defined by
38100         <bits/epoll.h>.
38101         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38103         bits/epoll.h.
38104
38105 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38106
38107         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38108         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38109         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38110         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38111         <bits/timerfd.h>.
38112         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38114         bits/timerfd.h.
38115
38116 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38117
38118         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38119         in C locale.
38120         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38121         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38122         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38124
38125 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38126
38127         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38128         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38129
38130 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38131
38132         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38133         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38134         defined.
38135         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38136         Likewise.
38137         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38138         entry for 2.16.
38139
38140 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38141
38142         * math/w_acos.c: Use non-signaling floating-point comparisons.
38143         * math/w_acosf.c: Likewise.
38144         * math/w_acosh.c: Likewise.
38145         * math/w_acoshf.c: Likewise.
38146         * math/w_acoshl.c: Likewise.
38147         * math/w_acosl.c: Likewise.
38148         * math/w_asin.c: Likewise.
38149         * math/w_asinf.c: Likewise.
38150         * math/w_asinl.c: Likewise.
38151         * math/w_atanh.c: Likewise.
38152         * math/w_atanhf.c: Likewise.
38153         * math/w_atanhl.c: Likewise.
38154         * math/w_exp2.c: Likewise.
38155         * math/w_exp2f.c: Likewise.
38156         * math/w_exp2l.c: Likewise.
38157         * math/w_j0.c: Likewise.
38158         * math/w_j0f.c: Likewise.
38159         * math/w_j0l.c: Likewise.
38160         * math/w_j1.c: Likewise.
38161         * math/w_j1f.c: Likewise.
38162         * math/w_j1l.c: Likewise.
38163         * math/w_jn.c: Likewise.
38164         * math/w_jnf.c: Likewise.
38165         * math/w_log.c: Likewise.
38166         * math/w_log10.c: Likewise.
38167         * math/w_log10f.c: Likewise.
38168         * math/w_log10l.c: Likewise.
38169         * math/w_log2.c: Likewise.
38170         * math/w_log2f.c: Likewise.
38171         * math/w_log2l.c: Likewise.
38172         * math/w_logf.c: Likewise.
38173         * math/w_logl.c: Likewise.
38174         * math/w_sqrt.c: Likewise.
38175         * math/w_sqrtf.c: Likewise.
38176         * math/w_sqrtl.c: Likewise.
38177         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38178         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38179         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38180         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38181         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38182
38183 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38184
38185         [BZ #9739]
38186         * manual/string.texi (strnlen): Use correct parameter name in
38187         equivalent expression.
38188
38189 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38190
38191         [BZ #11174]
38192         * manual/users.texi (seteuid): Consistently use neweuid for
38193         argument name.
38194
38195 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38196
38197         [BZ #13704]
38198         * manual/nss.texi (Services in the NSS configuration): Correct
38199         list of services in example configuration file.
38200
38201 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38202
38203         [BZ #11322]
38204         * manual/arith.texi: Remove statements about negative zero
38205         behaving identically to zero.
38206
38207 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38208
38209         [BZ #5993]
38210         * manual/install.texi: Do not document upgrading from libc5.
38211
38212 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38213
38214         [BZ #4596]
38215         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38216
38217 2012-02-18  David S. Miller  <davem@davemloft.net>
38218
38219         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38220         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38221         %o7 across the call.
38222         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38223         instead.
38224         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38225         SETUP_PIC_REG_LEAF.
38226         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38227         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38228         * sysdeps/sparc/crtn.S: Likewise.
38229
38230 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38231
38232         * aout/Makefile: Remove.
38233
38234 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38235
38236         [BZ #13058]
38237         * manual/examples/argp-ex1.c (main): Format definition in GNU
38238         style.
38239         * manual/examples/argp-ex2.c (main): Likewise.
38240         * manual/examples/argp-ex3.c (main): Likewise.
38241         * manual/examples/argp-ex4.c (main): Likewise.
38242         * manual/examples/longopt.c (main): Use new-style prototype
38243         definition.
38244         * manual/examples/strncat.c (main): Specify return type and use
38245         (void) for arguments.
38246         * manual/examples/subopt.c (main): Use char **argv argument.
38247
38248 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38249
38250         [BZ #5077]
38251         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38252         rounding modes.
38253
38254 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38255
38256         [BZ #6907]
38257         * manual/string.texi (strchr): Change when strchrnul is
38258         recommended.
38259
38260 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38261
38262         [BZ #174]
38263         * manual/locale.texi (setlocale): Document LOCPATH.
38264
38265 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38266
38267         [BZ #10210]
38268         * manual/process.texi (execle): Move @dots{} before last argument.
38269
38270 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38271
38272         [BZ #12047]
38273         * manual/charset.texi (Generic Charset Conversion): Fix typo
38274         (LC_TYPE -> LC_CTYPE).
38275
38276 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38277
38278         [BZ #5805]
38279         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38280         (scalbnf): Likewise.
38281         (scalbnl): Likewise.
38282         (scalbln): Likewise.
38283         (scalblnf): Likewise.
38284         (scalblnl): Likewise.
38285         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38286         (vwarnx): Likewise.
38287         (verr): Likewise.
38288         (verrx): Likewise.
38289         * manual/filesys.texi (telldir): Use braces around return type.
38290         * manual/llio.texi (mmap): Add space after comma.
38291         (mmap64): Likewise.
38292         * manual/math.texi (jn): Use @var{} on parameter names.
38293         (jnf): Likewise.
38294         (jnl): Likewise.
38295         (yn): Likewise.
38296         (ynf): Likewise.
38297         (ynl): Likewise.
38298         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38299         line.
38300         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38301         "...".
38302         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38303         (sched_get_priority_max): Likewise.
38304         * manual/signal.texi (sigvec): Add space after comma.
38305         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38306         names.
38307         (if_indextoname): Likewise.
38308         (if_freenameindex): Likewise.
38309         (sendto): Use ',' instead of '.' in prototype.
38310         * manual/startup.texi (syscall): Use @dots{} instead of literal
38311         "...".
38312         * manual/stdio.texi (__fpending): Separate initial words of
38313         paragraph from @deftypefun line.
38314         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38315         "...".
38316         (vsyslog): Use @var{} on parameter names.
38317         * manual/terminal.texi (stty): Use @var{} on parameter names.
38318         * manual/users.texi (getutmp): Use @var{} on parameter names.
38319         (getutmpx): Likewise.
38320
38321 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38322
38323         [BZ #6884]
38324         * manual/stdio.texi (fopen): Fix typos in description of
38325         ",ccs=STRING".
38326
38327 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38328
38329         [BZ #4026]
38330         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38331         get clock_id definition.
38332
38333 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38334
38335         [BZ #4822]
38336         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38337         (madvise): Cast every argument to void on its own.
38338
38339 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38340
38341         [BZ #9902]
38342         * manual/startup.texi (Exit Status): Fix typo.
38343
38344 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38345
38346         [BZ #10140]
38347         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38348         * manual/examples/argp-ex2.c: Likewise.
38349         * manual/examples/argp-ex3.c: Likewise.
38350
38351 2012-02-16  Richard Henderson  <rth@redhat.com>
38352
38353         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38354         * sysdeps/s390/s390-32/initfini.c: Remove.
38355         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38356         * sysdeps/s390/s390-64/initfini.c: Remove.
38357
38358 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38359
38360         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38361         compiler output for sysdeps/generic/initfini.c.
38362         * sysdeps/sh/elf/initfini.c: Remove file.
38363
38364 2012-02-16  David S. Miller  <davem@davemloft.net>
38365
38366         [BZ #11494]
38367         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38368
38369         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38370         * sysdeps/sparc/crti.S: New file.
38371         * sysdeps/sparc/crtn.S: New file.
38372         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38373         * sysdeps/sparc/sparc64/Makefile: Likewise.
38374
38375 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38376
38377         [BZ #3335]
38378         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38379
38380 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38381
38382         [BZ #4822]
38383         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38384
38385         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38386         (write, read, close): Likewise.
38387         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38388
38389 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38390
38391         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38392         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38393         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38394         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38395         <bits/signalfd.h>.
38396         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38398         bits/signalfd.h.
38399
38400 2012-02-14  Marek Polacek  <polacek@redhat.com>
38401
38402         * sysdeps/x86_64/crti.S: New file.
38403         * sysdeps/x86_64/crtn.S: New file.
38404         * sysdeps/x86_64/elf/initfini.c: Remove file.
38405
38406 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38407
38408         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38409         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38410         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38411         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38412         <bits/inotify.h>.
38413         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38415         bits/inotify.h.
38416
38417 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38418
38419         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38420         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38421         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38422         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38423         <bits/eventfd.h>.
38424         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38425         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38426         bits/eventfd.h.
38427
38428 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38429
38430         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38431         __feraiseexcept instead of feraiseexcept.
38432
38433         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38434         nanosleep invocations.
38435         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38436         strings, and add error checking for a nanosleep invocations.
38437
38438 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38439
38440         Replace FSF snail mail address with URLs, as per GNU coding standards.
38441         Most of the snail mail addresses were wrong anyway, and omitting
38442         them makes the source code easier to maintain.  Almost all of the
38443         changes are to license notices and to locale LC_IDENTIFICATION
38444         addresses, except for this one:
38445         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38446         not its snail mail address.
38447
38448 2012-02-09  Richard Henderson  <rth@twiddle.net>
38449
38450         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38451         of kernel-features.h.
38452
38453         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38454
38455 2012-02-08  Marek Polacek  <polacek@redhat.com>
38456
38457         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38458         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38459         * sysdeps/gnu/_G_config.h: Likewise.
38460         * sysdeps/generic/_G_config.h: Likewise.
38461
38462 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38463
38464         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38465         tests.
38466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38467
38468         * sysdeps/powerpc/powerpc32/crti.S: New file.
38469         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38470         * sysdeps/powerpc/powerpc64/crti.S: New file.
38471         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38472
38473         * Makeconfig (have-initfini): Don't set.
38474         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38475         * configure.in (nopic_initfini): Don't substitute.
38476         * config.h.in (HAVE_INITFINI): Don't #undef.
38477         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38478         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38479
38480 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38481
38482         Support crti.S and crtn.S provided directly by architectures.
38483         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38484         [crti.S in sysdirs] (omit-deps): Likewise.
38485         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38486         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38487         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38488         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38489         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38490         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38491         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38492         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38493         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38494         compiler output for sysdeps/generic/initfini.c.
38495         * sysdeps/i386/elf/Makefile: Remove file.
38496         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38497
38498 2012-02-07  Marek Polacek  <polacek@redhat.com>
38499
38500         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38501         * sysdeps/gnu/_G_config.h: Likewise.
38502         * sysdeps/mach/hurd/_G_config.h: Likewise.
38503
38504 2012-02-07  Marek Polacek  <polacek@redhat.com>
38505
38506         * math/Makefile (tests): Add tst-CMPLX2.
38507         * math/tst-CMPLX2.c: New file.
38508
38509 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38510
38511         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38512
38513         * math/libm-test.inc (jn_test): Add missing L suffix.
38514
38515 2012-02-06  Marek Polacek  <polacek@redhat.com>
38516
38517         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38518         * sysdeps/i386/fpu/e_powf.S: Likewise.
38519         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38520         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38521         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38522         * sysdeps/i386/fpu/e_pow.S: Likewise.
38523         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38524         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38525         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38526         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38527         * sysdeps/i386/fpu/e_log2.S: Likewise.
38528         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38529         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38530         * sysdeps/i386/fpu/e_powl.S: Likewise.
38531         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38532         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38533         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38534         * sysdeps/i386/fpu/e_logl.S: Likewise.
38535         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38536         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38537         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38538         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38539         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38540         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38541         * sysdeps/i386/fpu/e_log.S: Likewise.
38542         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38543         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38544         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38545         * sysdeps/i386/fpu/e_logf.S: Likewise.
38546         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38547         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38548         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38549         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38550         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38551         * sysdeps/i386/fpu/e_log10.S: Likewise.
38552         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38553         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38554         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38555         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38556         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38557         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38558         * sysdeps/i386/asm-syntax.h: Likewise.
38559         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38560         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38561         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38562         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38563         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38564         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38565         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38566         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38567         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38568         * sysdeps/powerpc/sysdep.h: Likewise.
38569         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38570         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38571
38572 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38573
38574         [BZ #411]
38575         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38576
38577 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38578
38579         * sysdeps/i386/sysdep.h: Include <features.h>.
38580         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38581         version.
38582
38583 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38584
38585         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38586         Define.
38587         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38588         LOAD_PIC_REG_STR.
38589
38590 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38591
38592         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38593         (SETUP_PIC_REG): Use GET_PC_THUNK.
38594         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38595         macro.
38596
38597 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38598
38599         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38600         for non-PIC compilation.
38601         (SETUP_PIC_REG): Add .p2align directive.
38602         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38603         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38604         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38605         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38606         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38607         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38608         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38609         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38610         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38611         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38612         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38613         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38614         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38615         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38616         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38617         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38618         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38619         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38620         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38621         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38622         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38623         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38624         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38625         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38626         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38627         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38628         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38629         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38630         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38631         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38632         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38633         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38634         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38635         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38636         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38637         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38638         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38639         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38640         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38641         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38642         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38643
38644 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38645
38646         * math/tst-CMPLX.c: Include <stdio.h>.
38647
38648 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38649
38650         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38651         float.
38652         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38653         * sysdeps/sparc/bits/mathdef.h: Likewise.
38654
38655 2012-01-31  Marek Polacek  <polacek@redhat.com>
38656
38657         * libio/libio.h: Don't define _PARAMS.
38658         * locale/programs/config.h: Don't define PARAMS.
38659         * stdlib/strtol_l.c: Likewise.
38660         (__strtol_l): Remove PARAMS from the prototype.
38661
38662 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38663
38664         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38665         names.  Just use the correct names.  Remove unnecessary wrapper
38666         functions.
38667         * malloc/arena.c: Likewise.
38668         * malloc/hooks.c: Likewise.
38669
38670         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38671         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38672         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38673
38674 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38675
38676         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38677         into tail calls.
38678         (update_get_addr): New function.
38679         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38680         GET_ADDR_MODULE parameter.
38681
38682 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38683
38684         * crypt/cert.c: Remove __STDC__ conditionals.
38685         * crypt/crypt-entry.c: Likewise.
38686         * crypt/crypt_util.c: Likewise.
38687         * libio/filedoalloc.c: Likewise.
38688         * libio/fileops.c: Likewise.
38689         * libio/genops.c: Likewise.
38690         * libio/iofclose.c: Likewise.
38691         * libio/iofdopen.c: Likewise.
38692         * libio/iofopen.c: Likewise.
38693         * libio/iofopen64.c: Likewise.
38694         * libio/iogetdelim.c: Likewise.
38695         * libio/iopopen.c: Likewise.
38696         * libio/obprintf.c: Likewise.
38697         * libio/oldfileops.c: Likewise.
38698         * libio/oldiofclose.c: Likewise.
38699         * libio/oldiofdopen.c: Likewise.
38700         * libio/oldiofopen.c: Likewise.
38701         * libio/oldiopopen.c: Likewise.
38702         * libio/wfiledoalloc.c: Likewise.
38703         * libio/wgenops.c: Likewise.
38704         * locale/programs/xmalloc.c: Likewise.
38705         * misc/syslog.c: Likewise.
38706         * stdio-common/xbug.c: Likewise.
38707         * string/memchr.c: Likewise.
38708         * string/memcmp.c: Likewise.
38709         * string/memrchr.c: Likewise.
38710         * string/rawmemchr.c: Likewise.
38711         * sysdeps/posix/getcwd.c: Likewise.
38712         * time/strftime_l.c: Likewise.
38713
38714 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38715
38716         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38717         * config.make.in (config-cflags-sse2avx): Define.
38718         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38719         Fix typo.
38720
38721 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38722
38723         * scripts/config.guess: Update from upstream config git repository.
38724         * scripts/config.sub: Likewise.
38725
38726 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38727
38728         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38729         (EM_NUM): Update.
38730         (R_TILEPRO_*, R_TILEGX_*): New macros.
38731
38732         * scripts/firstversions.awk: Fix bug in version range handling.
38733
38734         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38735
38736         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38737
38738         * include/sys/epoll.h: New file.
38739         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38740         libc_hidden_def.
38741
38742 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38743
38744         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38745         Avoid unnecessary __WORDSIZE == 64 test.
38746         (fmaxf): Use VEX format if possible.
38747         (fmax): Likewise.
38748         (fminf): Likewise.
38749         (fmin): Likewise.
38750
38751         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38752         * math/math_private.h: Remove libc_fegetround* and
38753         libc_fesetround*.
38754         * sysdeps/i386/configure.in: Check for -msse2avx.
38755         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38756         also if SSE2AVX is defined.
38757         Remove libc_fegetround* and libc_fesetround*.
38758         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38759         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38760         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38761         of HAS_YMM_USABLE.
38762         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38763         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38764         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38765         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38766         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38767
38768         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38769
38770 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38771
38772         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38773         size is not set.
38774         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38775
38776 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38777
38778         [BZ #13618]
38779         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38780         relocation.
38781         * Makeconfig (libm): Define.
38782         * elf/Makefile: Add rules to build and run tst-relsort1.
38783         * elf/tst-relsort1.c: New file.
38784         * elf/tst-relsort1mod1.c: New file.
38785         * elf/tst-relsort1mod2.c: New file.
38786
38787 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38788
38789         * math/s_ldexp.c: Remove __STDC__ conditionals.
38790         * math/s_ldexpf.c: Likewise.
38791         * math/s_ldexpl.c: Likewise.
38792         * math/s_nextafter.c: Likewise.
38793         * math/s_nexttowardf.c: Likewise.
38794         * math/s_significand.c: Likewise.
38795         * math/s_significandf.c: Likewise.
38796         * math/s_significandl.c: Likewise.
38797         * math/w_jnl.c: Likewise.
38798         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38799         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38800         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38801         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38802         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38803         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38804         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38805         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38806         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38807         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38808         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38809         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38810         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38811         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38813         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38814         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38815         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38817         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38818         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38819         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38820         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38821         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38822         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38823         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38824         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38825         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38826         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38827         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38828         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38829         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38830         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38831         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38832         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38833         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38834         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38835         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38836         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38837         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38838         * sysdeps/ieee754/k_standard.c: Likewise.
38839         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38840         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38841         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38842         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38843         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38844         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38845         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38846         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38847         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38848         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38849         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38850         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38851         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38852         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38853         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38854         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38855         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38856         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38857         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38858         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38859         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38860         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38861         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38862         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38863         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38864         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38865         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38866         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38867         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38868         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38869         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38870         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38871         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38872         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38873         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38874         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38875         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38881         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38882         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38883         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38884         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38888         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38889         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38890         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38892         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38894         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38899         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38900         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38902         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38903         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38904         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38905         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38907         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38908         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38909         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38913         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38914         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38918         * sysdeps/ieee754/s_matherr.c: Likewise.
38919         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38920         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38921         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38922         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38923
38924 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38925
38926         * crypt/md5.h: Remove __STDC__ conditionals.
38927         * libio/libioP.h: Likewise.
38928         * locale/programs/config.h: Likewise.
38929         * sysdeps/generic/sysdep.h: Likewise.
38930         * sysdeps/i386/asm-syntax.h: Likewise.
38931         * sysdeps/s390/asm-syntax.h: Likewise.
38932         * sysdeps/unix/sysdep.h: Likewise.
38933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38935
38936 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38937
38938         * libio/libio.h: Remove __STDC__ conditionals.
38939         * malloc/obstack.h: Likewise.
38940         * math/complex.h: Likewise.
38941         * math/math.h: Likewise.
38942         * sysdeps/generic/_G_config.h: Likewise.
38943         * sysdeps/gnu/_G_config.h: Likewise.
38944         * sysdeps/mach/hurd/_G_config.h: Likewise.
38945         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38946         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38947         * sysdeps/sparc/bits/mathdef.h: Likewise.
38948
38949 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38950
38951         [BZ #13583]
38952         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38953         Clean up HAS_* macros.
38954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38955         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38956         possible.
38957         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38958         HAS_AVX.
38959         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38960         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38961         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38962         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38963         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38964
38965 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38966
38967         * elf/tst-unique3.cc (gets): Remove declaration.
38968         * elf/tst-unique3lib.cc (gets): Likewise.
38969         * elf/tst-unique3lib2.cc (gets): Likewise.
38970         * elf/tst-unique4.cc (gets): Likewise.
38971
38972 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38973
38974         * include/stdio.h: Add C++ protection.  Add gets declarations and
38975         definitions.
38976         * debug/tst-chk1.c: Don't declare gets here.
38977         * stdio-common/tst-gets.c: Likewise.
38978
38979 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38980
38981         * posix/glob: Remove directory.
38982
38983 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38984
38985         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38986
38987 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
38988
38989         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38990         of the non-standard EPFNOSUPPORT.
38991
38992 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38993
38994         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38995         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38996         ANYWHERE set to 1 only on KERN_NO_SPACE error.
38997
38998 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
38999
39000         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39001
39002 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39003
39004         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39005         transient errors.
39006         * nscd/grpcache.c (cache_addgr): Likewise.
39007         * nscd/hstcache.c (cache_addhst): Likewise.
39008         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39009         * nscd/pwdcache.c (cache_addpw): Likewise.
39010         * nscd/servicescache.c (cache_addserv): Likewise.
39011
39012 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39013
39014         * malloc/malloc.c: Various cleanups.
39015         * malloc/hooks.c: Likewise.
39016
39017         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39018         * stdlib/bug-fmtmsg1.c: New file.
39019
39020         * stdlib/fmtmsg.c (init): Add missing unlock.
39021         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39022
39023 2012-01-12  Marek Polacek  <polacek@redhat.com>
39024
39025         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39026         and _GNU_SOURCE.
39027
39028 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39029
39030         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39031         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39032         macro to ensure uniqueness of label name.
39033         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39034         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39035
39036 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39037
39038         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39039
39040         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39041         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39042         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39043         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39044
39045 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39046
39047         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39048
39049         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39050         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39051         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39052
39053         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39054
39055         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39056         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39057         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39058         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39059
39060         * math/bits/math-finite.h: Add ldexp support.
39061
39062 2012-01-10  Marek Polacek  <polacek@redhat.com>
39063
39064         * locale/programs/localedef.h (show_archive_content): Add noreturn
39065         attribute.
39066
39067 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39068
39069         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39070
39071 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39072
39073         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39074
39075         * io/Makefile (headers): Add bits/poll2.h.
39076
39077 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39078
39079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39080         typo #include statement.
39081
39082 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39083
39084         * include/sys/cdefs.h: Define __attribute_alloc_size.
39085         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39086         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39087         * elf/pldd.c: Likewise.
39088         * iconv/iconv_charmap.c: Likewise.
39089         * iconv/iconvconfig.c: Likewise.
39090         * iconv/strtab.c: Likewise.
39091         * locale/programs/locale.c: Likewise.
39092         * locale/programs/localedef.h: Likewise.
39093         * locale/programs/simple-hash.c: Likewise.
39094         * nscd/nscd.h: Likewise.
39095         * nss/makedb.c: Likewise.
39096         * sysdeps/generic/ldconfig.h: Likewise.
39097         * locale/programs/localedef.c: Remove xmalloc prototype.
39098         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39099
39100 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39101
39102         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39103         appropriate.
39104
39105 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39106
39107         * math/Makefile (tests): Add tst-CMPLX.
39108         * math/tst-CMPLX.c: New file.
39109
39110         * math/complex.h (CMPLXL): Fix typo.
39111
39112         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39113         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39114         GLIBC_2.16.
39115         * debug/tst-chk1.c: Add poll and ppoll tests.
39116         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39117         * include/sys/poll.h: Add hidden proto for ppoll.
39118         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39119         * sysdeps/mach/hurd/ppoll.c: Likewise.
39120         * io/ppoll.c: Likewise.
39121         * debug/poll_chk.c: New file.
39122         * debug/ppoll_chk.c: New file.
39123         * include/bits/poll2.h: New file.
39124         * io/bits/poll2.h: New file.
39125
39126         [BZ #1350]
39127         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39128
39129         * configure.in: static is always set to yes.  Remove.
39130         * config.make.in: Don't set build-static.
39131         * Makeconfig: Remove use of build-static.
39132         * dlfcn/Makefile: Likewise.
39133         * elf/Makefile: Likewise.
39134         * math/Makefile: Likewise.
39135         * misc/Makefile: Likewise.
39136         * nptl/Makefile: Likewise.
39137         * sysdeps/mach/hurd/Makefile: Likewise.
39138
39139         * configure.in: PWD_P is not used anymore.
39140         * config.make.in: Remove PWD_P entry.
39141
39142         * configure.in: Remove last remnants of RANLIB.
39143         No need to check for signed size_t anymore.
39144         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39145         and IA-64.
39146         Remove __builtin_expect test because we require at least gcc 3.4.
39147         * aclocal.m4: Likewise.
39148
39149         * wcsmbs/mbrtoc16.c: Implement using towc function.
39150         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39151         * wcsmbs/wcsmbsload.c: Likewise.
39152         * iconv/gconv_simple.c: Likewise.
39153         * iconv/gconv_int.h: Likewise.
39154         * iconv/gconv_builtin.h: Likewise.
39155         * iconv/iconv_prog.c: Remove CHAR16 handling.
39156
39157         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39158
39159         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39160
39161         * configure.in: Remove --with-elf and --enable-bounded options.
39162         Dont set base_machine for ia64.  More non-ELF conditions removed.
39163         Remove testing and setting of leading underscore information.
39164         * config.make.in (build-bounded): Set to no.
39165         * config.h.in: Remove NO_UNDERSCORES entry.
39166         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39167         them.
39168         * csu/start.c: Remove !NO_UNDERSCORE code.
39169         * locale/localeinfo.h: Likewise.
39170         * sysdeps/generic/machine-gmon.h: Likewise.
39171         * sysdeps/generic/sysdep.h: Likewise.
39172         * sysdeps/i386/sysdep.h: Likewise.
39173         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39174         * sysdeps/mach/sysdep.h: Likewise.
39175         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39176         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39177         * sysdeps/sh/sysdep.h: Likewise.
39178         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39179         * sysdeps/unix/i386/sysdep.S: Likewise.
39180         * sysdeps/unix/sparc/start.c: Likewise.
39181         * sysdeps/unix/sparc/sysdep.S: Likewise.
39182         * sysdeps/unix/sparc/sysdep.h: Likewise.
39183         * sysdeps/unix/start.c: Likewise.
39184         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39185         * sysdeps/x86_64/sysdep.h: Likewise.
39186
39187 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39188
39189         [BZ #13553]
39190         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39191         for non-gcc.
39192         * argp/argp-fmtstream.h: Use const instead __const.
39193         * argp/argp.h: Likewise.
39194         * assert/assert.h: Likewise.
39195         * bits/fenv.h: Likewise.
39196         * bits/sched.h: Likewise.
39197         * bits/sigset.h: Likewise.
39198         * bits/sigthread.h: Likewise.
39199         * catgets/nl_types.h: Likewise.
39200         * conform/data/pthread.h-data: Likewise.
39201         * crypt/crypt-private.h: Likewise.
39202         * crypt/crypt.h: Likewise.
39203         * crypt/crypt_util.c: Likewise.
39204         * ctype/ctype.h: Likewise.
39205         * debug/execinfo.h: Likewise.
39206         * debug/mbsnrtowcs_chk.c: Likewise.
39207         * debug/mbsrtowcs_chk.c: Likewise.
39208         * debug/wcsnrtombs_chk.c: Likewise.
39209         * debug/wcsrtombs_chk.c: Likewise.
39210         * debug/wcstombs_chk.c: Likewise.
39211         * dirent/dirent.h: Likewise.
39212         * dlfcn/dlfcn.h: Likewise.
39213         * elf/neededtest4.c: Likewise.
39214         * grp/grp.h: Likewise.
39215         * gshadow/gshadow.h: Likewise.
39216         * iconv/gconv.h: Likewise.
39217         * iconv/gconv_int.h: Likewise.
39218         * iconv/gconv_simple.c: Likewise.
39219         * iconv/iconv.h: Likewise.
39220         * iconv/loop.c: Likewise.
39221         * iconv/skeleton.c: Likewise.
39222         * include/aio.h: Likewise.
39223         * include/aliases.h: Likewise.
39224         * include/argz.h: Likewise.
39225         * include/arpa/inet.h: Likewise.
39226         * include/assert.h: Likewise.
39227         * include/dirent.h: Likewise.
39228         * include/dlfcn.h: Likewise.
39229         * include/execinfo.h: Likewise.
39230         * include/fcntl.h: Likewise.
39231         * include/fenv.h: Likewise.
39232         * include/glob.h: Likewise.
39233         * include/grp.h: Likewise.
39234         * include/libintl.h: Likewise.
39235         * include/mntent.h: Likewise.
39236         * include/netdb.h: Likewise.
39237         * include/pwd.h: Likewise.
39238         * include/rpc/netdb.h: Likewise.
39239         * include/sched.h: Likewise.
39240         * include/search.h: Likewise.
39241         * include/shadow.h: Likewise.
39242         * include/signal.h: Likewise.
39243         * include/stdio.h: Likewise.
39244         * include/stdlib.h: Likewise.
39245         * include/string.h: Likewise.
39246         * include/sys/socket.h: Likewise.
39247         * include/sys/stat.h: Likewise.
39248         * include/sys/statfs.h: Likewise.
39249         * include/sys/statvfs.h: Likewise.
39250         * include/sys/syslog.h: Likewise.
39251         * include/sys/time.h: Likewise.
39252         * include/sys/uio.h: Likewise.
39253         * include/time.h: Likewise.
39254         * include/unistd.h: Likewise.
39255         * include/utmp.h: Likewise.
39256         * include/wchar.h: Likewise.
39257         * include/wctype.h: Likewise.
39258         * inet/aliases.h: Likewise.
39259         * inet/arpa/inet.h: Likewise.
39260         * inet/netinet/ether.h: Likewise.
39261         * inet/netinet/in.h: Likewise.
39262         * intl/libintl.h: Likewise.
39263         * io/bits/fcntl2.h: Likewise.
39264         * io/fcntl.h: Likewise.
39265         * io/ftw.h: Likewise.
39266         * io/sys/poll.h: Likewise.
39267         * io/sys/stat.h: Likewise.
39268         * io/sys/statfs.h: Likewise.
39269         * io/sys/statvfs.h: Likewise.
39270         * io/utime.h: Likewise.
39271         * libio/bits/stdio.h: Likewise.
39272         * libio/bits/stdio2.h: Likewise.
39273         * libio/libio.h: Likewise.
39274         * libio/libioP.h: Likewise.
39275         * libio/stdio.h: Likewise.
39276         * locale/lc-ctype.c: Likewise.
39277         * locale/locale.h: Likewise.
39278         * login/utmp.h: Likewise.
39279         * malloc/arena.c: Likewise.
39280         * malloc/malloc.c: Likewise.
39281         * malloc/malloc.h: Likewise.
39282         * malloc/mcheck.c: Likewise.
39283         * malloc/mtrace.c: Likewise.
39284         * math/bits/mathcalls.h: Likewise.
39285         * math/fenv.h: Likewise.
39286         * math/math_private.h: Likewise.
39287         * misc/bits/error.h: Likewise.
39288         * misc/bits/syslog.h: Likewise.
39289         * misc/err.h: Likewise.
39290         * misc/error.h: Likewise.
39291         * misc/fstab.h: Likewise.
39292         * misc/mntent.h: Likewise.
39293         * misc/regexp.h: Likewise.
39294         * misc/search.h: Likewise.
39295         * misc/sgtty.h: Likewise.
39296         * misc/sys/mman.h: Likewise.
39297         * misc/sys/syslog.h: Likewise.
39298         * misc/sys/uio.h: Likewise.
39299         * misc/sys/xattr.h: Likewise.
39300         * misc/ttyent.h: Likewise.
39301         * nis/rpcsvc/ypclnt.h: Likewise.
39302         * nss/nss.h: Likewise.
39303         * posix/bits/unistd.h: Likewise.
39304         * posix/fnmatch.h: Likewise.
39305         * posix/glob.h: Likewise.
39306         * posix/sched.h: Likewise.
39307         * posix/spawn.h: Likewise.
39308         * posix/sys/wait.h: Likewise.
39309         * posix/unistd.h: Likewise.
39310         * posix/wordexp.h: Likewise.
39311         * pwd/pwd.h: Likewise.
39312         * resolv/netdb.h: Likewise.
39313         * resource/sys/resource.h: Likewise.
39314         * rt/aio.h: Likewise.
39315         * rt/bits/mqueue2.h: Likewise.
39316         * rt/mqueue.h: Likewise.
39317         * shadow/shadow.h: Likewise.
39318         * signal/signal.h: Likewise.
39319         * socket/send.c: Likewise.
39320         * socket/sendto.c: Likewise.
39321         * socket/sys/socket.h: Likewise.
39322         * stdio-common/printf.h: Likewise.
39323         * stdlib/bits/stdlib.h: Likewise.
39324         * stdlib/fmtmsg.h: Likewise.
39325         * stdlib/monetary.h: Likewise.
39326         * stdlib/stdlib.h: Likewise.
39327         * stdlib/ucontext.h: Likewise.
39328         * streams/stropts.h: Likewise.
39329         * string/argz.h: Likewise.
39330         * string/bits/string2.h: Likewise.
39331         * string/string.h: Likewise.
39332         * string/strings.h: Likewise.
39333         * sunrpc/rpc/auth.h: Likewise.
39334         * sunrpc/rpc/auth_des.h: Likewise.
39335         * sunrpc/rpc/clnt.h: Likewise.
39336         * sunrpc/rpc/netdb.h: Likewise.
39337         * sunrpc/rpc/pmap_clnt.h: Likewise.
39338         * sunrpc/rpc/xdr.h: Likewise.
39339         * sysdeps/generic/inttypes.h: Likewise.
39340         * sysdeps/generic/net/if.h: Likewise.
39341         * sysdeps/generic/sys/swap.h: Likewise.
39342         * sysdeps/gnu/net/if.h: Likewise.
39343         * sysdeps/gnu/utmpx.h: Likewise.
39344         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39345         * sysdeps/i386/i486/bits/string.h: Likewise.
39346         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39347         * sysdeps/s390/bits/string.h: Likewise.
39348         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39349         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39350         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39351         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39352         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39353         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39354         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39355         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39356         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39357         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39358         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39359         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39360         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39361         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39362         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39363         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39364         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39365         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39366         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39367         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39368         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39369         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39370         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39371         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39372         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39373         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39374         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39375         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39376         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39377         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39378         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39379         * sysvipc/sys/ipc.h: Likewise.
39380         * sysvipc/sys/msg.h: Likewise.
39381         * sysvipc/sys/sem.h: Likewise.
39382         * sysvipc/sys/shm.h: Likewise.
39383         * termios/termios.h: Likewise.
39384         * time/sys/time.h: Likewise.
39385         * time/time.h: Likewise.
39386         * wcsmbs/bits/wchar2.h: Likewise.
39387         * wcsmbs/uchar.h: Likewise.
39388         * wcsmbs/wchar.h: Likewise.
39389         * wctype/wctype.h: Likewise.
39390
39391         [BZ #13551]
39392         * Makeconfig: Remove all but ELF support including AIX support.
39393         * Makerules: Likewise.
39394         * config.h.in: Likewise.
39395         * config.make.in: Likewise.
39396         * configure: Likewise.
39397         * configure.in: Likewise.
39398         * csu/Makefile: Likewise.
39399         * csu/version.c: Likewise.
39400         * debug/Makefile: Likewise.
39401         * dlfcn/Makefile: Likewise.
39402         * elf/Makefile: Likewise.
39403         * extra-lib.mk: Likewise.
39404         * iconv/Makefile: Likewise.
39405         * include/libc-symbols.h: Likewise.
39406         * include/shlib-compat.h: Likewise.
39407         * resolv/Makefile: Likewise.
39408         * resolv/res_libc.c: Likewise.
39409         * rt/Makefile: Likewise.
39410         * sysdeps/i386/asm-syntax.h: Likewise.
39411         * sysdeps/i386/sysdep.h: Likewise.
39412         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39413         * sysdeps/mach/sysdep.h: Likewise.
39414         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39415         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39416         * sysdeps/s390/asm-syntax.h: Likewise.
39417         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39418         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39419         * sysdeps/sh/sysdep.h: Likewise.
39420         * sysdeps/unix/sparc/sysdep.h: Likewise.
39421         * sysdeps/wordsize-32/divdi3.c: Likewise.
39422         * sysdeps/x86_64/sysdep.h: Likewise.
39423
39424         * argp/Versions: Remove _argp_unlock_xxx.
39425
39426         [BZ #13559]
39427         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39428         * abilist/libBrokenLocale.abilist: Likewise.
39429         * abilist/libanl.abilist: Likewise.
39430         * abilist/libc.abilist: Likewise.
39431         * abilist/libcrypt.abilist: Likewise.
39432         * abilist/libdl.abilist: Likewise.
39433         * abilist/libm.abilist: Likewise.
39434         * abilist/libnsl.abilist: Likewise.
39435         * abilist/libpthread.abilist: Likewise.
39436         * abilist/libresolv.abilist: Likewise.
39437         * abilist/librt.abilist: Likewise.
39438         * abilist/libthread_db.abilist: Likewise.
39439         * abilist/libutil.abilist: Likewise.
39440         * abilist/libnss_db.abilist: New file.
39441
39442         * scripts/abilist.awk: Add support for indirect functions.
39443
39444         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39445
39446         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39447
39448         * shlib-versions: Remove entries for ports architectures.
39449
39450         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39451         files in ports.
39452         * elf/stackguard-macros.h: Remove support for IA-64.
39453         * elf/tst-auditmod1.c: Likewise.
39454         * sysdeps/generic/ldsodefs.h: Likewise.
39455
39456         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39457         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39458         configure files.
39459
39460         [BZ #13552]
39461         * configure.in: Remove --enable-omitfp support.
39462         * FAQ.in: Adjust.
39463         * config.make.in: Likewise.
39464         * Makeconfig: Likewise.
39465         * manual/install.texi: Likewise.
39466
39467         In case anyone cares, the IA-64 architecture could move to ports.
39468         * sysdeps/ia64/*: Removed.
39469         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39470         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39471
39472         [BZ #13555]
39473         * configure.in: Remove entries for unsupported architectures.
39474
39475         [BZ #13533]
39476         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39477         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39478         routines.
39479         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39480         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39481         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39482         fall back to using wcrtomb.
39483         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39484         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39485         renaming.
39486         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39487         * wcsmbs/tst-c16c32-1.c: New file.
39488
39489         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39490         local variable.
39491
39492         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39493
39494         * elf/tst-unique3.cc: Add explicit declaration of gets.
39495         * elf/tst-unique3lib.cc: Likewise.
39496         * elf/tst-unique3lib2.cc: Likewise.
39497         * elf/tst-unique4.cc: Likewise.
39498
39499         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39500
39501 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39502
39503         [BZ #13566]
39504         * assert/assert.h (static_assert): Don't define for C++.
39505         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39506         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39507
39508 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39509
39510         * iconv/loop.c (single loop): Fix assertion in storing of
39511         remaining bytes.
39512
39513         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39514
39515 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39516
39517         * posix/getconf.c: Update copyright year.
39518         * nss/getent.c: Likewise.
39519         * nss/makedb.c: Likewise.
39520         * iconv/iconvconfig.c: Likewise.
39521         * iconv/iconv_prog.c: Likewise.
39522         * elf/ldconfig.c: Likewise.
39523         * elf/pldd.c: Likewise.
39524         * elf/sotruss.ksh: Likewise.
39525         * catgets/gencat.c: Likewise.
39526         * csu/version.c: Likewise.
39527         * elf/ldd.bash.in: Likewise.
39528         * elf/sprof.c (print_version): Likewise.
39529         * locale/programs/locale.c: Likewise.
39530         * locale/programs/localedef.c: Likewise.
39531         * login/programs/pt_chown.c: Likewise.
39532         * nscd/nscd.c (print_version): Likewise.
39533         * debug/xtrace.sh: Likewise.
39534         * malloc/memusage.sh: Likewise.
39535         * malloc/mtrace.pl: Likewise.
39536         * debug/catchsegv.sh: Likewise.
39537
39538 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39539
39540         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39541         pure attribute.
39542
39543 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39544
39545         [BZ #13533]
39546         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39547         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39548         transformations.
39549         * iconv/gconv_int.h: Likewise.
39550         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39551         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39552         from libc for GLIBC_2.16.
39553         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39554         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39555         * wcsmbs/uchar.h: Really define mbstate_t.
39556         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39557         * wcsmbs/c16rtomb.c: New file.
39558         * wcsmbs/mbrtoc16.c: New file.
39559         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39560         for C/POSIX locale.
39561         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39562         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39563
39564         * wcsmbs/wchar.h: Add missing __restrict.
39565
39566 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39567
39568         [BZ #13532]
39569         * time/Makefile (routines): Add timespec_get.
39570         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39571         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39572         timespec for ISO C11.
39573         * time/timespec_get.c: New file.
39574         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39575         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39576
39577         [BZ #13531]
39578         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39579         * stdlib/stdlib.h: Declare aligned_alloc.
39580         * Versions.def: Add GLIBC_2.16 for libc.
39581         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39582
39583         [BZ 13527]
39584         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39585         ISO C11.
39586
39587         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39588         code.
39589
39590         [BZ #13528]
39591         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39592
39593         [BZ #13529]
39594         * assert/assert.h (static_assert): Define.
39595
39596         * version.h: Update for 2.16 development version.
39597
39598         [BZ #13526]
39599         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39600         _ISOC11_SOURCE.
39601
39602         * version.h (RELEASE): Bump for 2.15 release.
39603         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39604
39605         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39606         Patch by Marek Polacek <mpolacek@redhat.com>.
39607
39608         * bits/byteswap.h: Protect long long constants with __extension__.
39609         * sysdeps/i386/bits/byteswap.h: Likewise.
39610         * sysdeps/ia64/bits/byteswap.h: Likewise.
39611         * sysdeps/s390/bits/byteswap.h: Likewise.
39612         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39613
39614 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39615
39616         [BZ #13540]
39617         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39618         destination buffer.
39619         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39620
39621 2011-12-23  Marek Polacek  <polacek@redhat.com>
39622
39623         * elf/dl-addr.c (determine_info): Add inline keyword.
39624         * elf/tst-auditmod4b.c (check_avx): Likewise.
39625         * elf/tst-auditmod6b.c (check_avx): Likewise.
39626         * elf/tst-auditmod6c.c (check_avx): Likewise.
39627         * elf/tst-auditmod7b.c (check_avx): Likewise.
39628
39629 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39630
39631         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39632         !__SSE_MATH__.
39633
39634 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39635
39636         [BZ #13540]
39637         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39638         processing for last bytes.
39639
39640 2011-08-06  Bruno Haible  <bruno@clisp.org>
39641
39642         [BZ #13061]
39643         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39644         U+0385, not to U+1FEE.
39645
39646         [BZ #13062]
39647         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39648         entry for U+00A5 U+0301.
39649
39650 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39651
39652         [BZ #13166]
39653         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39654         buffer for the output is too small.
39655
39656         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39657         optimization.
39658
39659         [BZ #13185]
39660         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39661         SSE flags if possible.
39662
39663 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39664
39665         [BZ #13540]
39666         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39667         processing for last bytes.
39668
39669 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39670
39671         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39672         (syscall-list-default-options, syscall-list-default-condition)
39673         (syscall-list-includes): Define.
39674         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39675         list of ABIs and options and #if conditions for each ABI.  Do not
39676         handle common syscalls between ABIs specially.
39677         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39678         Remove.
39679         (syscall-list-variants, syscall-list-32bit-options)
39680         (syscall-list-32bit-condition, syscall-list-64bit-options)
39681         (syscall-list-64bit-condition): Define.
39682         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39683         (syscall-list-variants, syscall-list-32bit-options)
39684         (syscall-list-32bit-condition, syscall-list-64bit-options)
39685         (syscall-list-64bit-condition): Define.
39686         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39687         Remove.
39688         (syscall-list-variants, syscall-list-32bit-options)
39689         (syscall-list-32bit-condition, syscall-list-64bit-options)
39690         (syscall-list-64bit-condition): Define.
39691         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39692         Remove.
39693         (syscall-list-variants, syscall-list-32bit-options)
39694         (syscall-list-32bit-condition, syscall-list-64bit-options)
39695         (syscall-list-64bit-condition): Define.
39696
39697 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39698
39699         * locale/iso-639.def: Add brx entry.
39700
39701         [BZ #13328]
39702         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39703         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39704
39705         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39706         __feraiseexcept_renamed.
39707
39708 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39709
39710         [BZ #13538]
39711         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39712         EPOLLET with unsigned values.
39713         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39714         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39715
39716         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39717         to large cancellation.
39718         * math/s_cacoshf.c: Likewise.
39719         * math/s_cacoshl.c: Likewise.
39720
39721 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39722
39723         [BZ #13305]
39724         [BZ #12786]
39725         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39726         * math/s_cacoshf.c: Likewise.
39727         * math/s_cacoshl.c: Likewise.
39728
39729 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39730
39731         [BZ #13439]
39732         * iconv/gconv.h: Define __GCONV_SWAP.
39733         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39734         * iconvdata/utf-16.c: Likewise.
39735         * iconvdata/utf-32.c: Likewise.
39736
39737 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39738
39739         [BZ #13524]
39740         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39741         numerator after shifting it by one limb.
39742
39743 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39744
39745         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39746         under [__USE_EXTERN_INLINES].
39747
39748 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39749
39750         [BZ #13446]
39751         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39752
39753 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39754
39755         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39756         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39757         optimized code.
39758         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39759         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39760         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39761         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39762         for strncasecmp/strncasecmp_l compilation.
39763         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39764         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39765
39766 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39767
39768         [BZ #13484]
39769         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39770         of __asm__.
39771
39772 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39773
39774         [BZ #13506]
39775         * time/tzfile.c (__tzfile_read): Check values from file header.
39776
39777 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39778
39779         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39780         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39781         * powerpc/powerpc32/dl-start.S: Likewise.
39782         * powerpc/powerpc32/elf/start.S: Likewise.
39783         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39784         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39785         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39786         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39787         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39788         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39789         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39790         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39791         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39792         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39793         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39794         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39795         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39796         * powerpc/powerpc32/memset.S: Likewise.
39797         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39798         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39799         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39800         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39801         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39802         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39803         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39804         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39805         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39806         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39807         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39808         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39809         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39810
39811 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39812
39813         * math/libm-test.inc: Added more nearbyint tests.
39814         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39815         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39817         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39818
39819 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39820
39821         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39822         FD_CLOEXEC.
39823
39824 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39825
39826         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39827         Add wcscpy-ssse3 wcscpy-c.
39828         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39829         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39830         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39831         * sysdeps/x86_64/wcschr.S: New file.
39832         * sysdeps/x86_64/wcsrchr.S: New file.
39833         * string/test-strcmp.c: Remove checking of wcscmp function for
39834         wrong alignments.
39835         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39836         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39837         wcsrchr-sse2 wcsrchr-c.
39838         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39839         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39840         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39841         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39842         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39843         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39844         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39845         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39846         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39847         * wcsmbc/wcschr.c (WCSCHR): New macro.
39848
39849 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39850
39851         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39852         * wcsmbs/test-wcsrchr.c: New file.
39853         * string/test-strrchr.c: Add wcsrchr support.
39854         (WIDE): New macro.
39855         * wcsmbs/test-wcscpy.c: New file.
39856         * string/test-strcpy.c: Add wcscpy support.
39857         (WIDE): New macro.
39858
39859 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39860
39861         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39862         the inner loop.
39863
39864 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39865
39866         [BZ #13472]
39867         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39868
39869 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39870
39871         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39872         Minor optimizations.
39873
39874         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39875         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39876         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39877
39878 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39879
39880         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39881         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39882         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39883         for gcc to avoid warnings.
39884         * inet/Makefile (tests): Add tst-checks.
39885         * inet/tst-checks.c: New file.
39886
39887         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39888         warning.
39889
39890         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39891         __wmemcmp_sse2.
39892
39893         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39894         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39895
39896         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39897
39898 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39899
39900         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39901         problem.
39902
39903         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39904
39905 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39906
39907         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39908         conditional on GCC version.
39909         (__arch_compare_and_exchange_val_8_acq)
39910         (__arch_compare_and_exchange_val_16_acq)
39911         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39912         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39913         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39914
39915 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39916
39917         * sysdeps/sh/backtrace.c: New file.
39918
39919 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39920
39921         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39922         parenthesis.
39923
39924 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39925
39926         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39927         falling back to utime.
39928
39929 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39930
39931         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39932         expectations for float.
39933
39934 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39935
39936         * locale/weight.h (findidx): Add parameter len.
39937         * locale/weightwc.h (findidx): Likewise.
39938         * posix/fnmatch_loop.c (FCT): Adjust caller.
39939         * posix/regcomp.c (build_equiv_class): Likewise.
39940         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39941         * posix/regexec.c (check_node_accept_bytes): Likewise.
39942         * string/strcoll_l.c (STRCOLL): Likewise.
39943         * string/strxfrm_l.c (STRXFRM): Likewise.
39944
39945 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39946
39947         * Makefile.in: Remove CVSOPT handling.
39948         * configure.in: Remove use of AC_REVISION.
39949         * iconvdata/Makefile (distribute): No need to filter out CVS.
39950         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39951         handling.
39952
39953 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39954
39955         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39956         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39957         [USE_AS_STRNCASECMP_L]: Likewise.
39958         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39959         NO_TLS_DIRECT_SEG_REFS.
39960         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39961         Fix argument offsets for non-PIC.
39962         [USE_AS_STRNCASECMP_L]: Likewise.
39963         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39964         NO_TLS_DIRECT_SEG_REFS.
39965
39966 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39967
39968         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39969         O_CLOEXEC.
39970         * locale/loadlocale.c (_nl_load_locale): Likewise.
39971
39972 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39973
39974         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39975         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39976         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39977         (SYSCALL_GETTIME): Set errno on error.
39978
39979         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39980         count references to noai6ai_cached.
39981
39982 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39983
39984         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39985
39986         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39987         FD_CLOEXEC for /proc/self/maps.
39988
39989         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39990         FD_CLOEXEC for /proc/meminfo.
39991
39992         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39993         gai.conf.
39994
39995         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
39996         FD_CLOEXEC for given file.
39997
39998         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39999
40000         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40001         FD_CLOEXEC for /etc/hosts.
40002         (_gethtent): Likewise.
40003
40004         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40005
40006         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40007         cancellation and set FD_CLOEXEC for /etc/netgroup.
40008
40009         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40010         reading /etc/publickey.
40011
40012         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40013         allow cancellation when reading /etc/group.
40014
40015         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40016         cancellation.
40017         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40018
40019         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40020         when using data file.
40021
40022         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40023
40024         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40025         (write_nis_obj): Use "c" and "e" in fopen.
40026
40027         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40028
40029         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40030
40031         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40032
40033         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40034
40035         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40036         locale.alias.
40037
40038         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40039
40040         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40041
40042         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40043
40044         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40045         file parsing and set FD_CLOEXEC.
40046
40047 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40048
40049         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40050
40051 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40052
40053         * malloc/arena.c (arena_get2): Don't call reused_arena when
40054         _int_new_arena failed.
40055
40056 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40057
40058         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40059         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40060         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40061         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40063         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40064         to compile strcasecmp and strncasecmp.
40065         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40066         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40067
40068         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40069
40070 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40071
40072         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40073         locale-defines.sym to gen-as-const-headers.
40074         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40075         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40077         to compile strcasecmp and strncasecmp.
40078         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40079         strcasecmp_l and strncasecmp_l.
40080         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40081         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40082         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40083         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40084         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40085         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40086         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40087         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40088         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40089         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40090         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40091
40092 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40093
40094         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40095         result of SYSDEP_GETTIME_CPU to retval.
40096         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40097         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40098
40099         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40100         variable.
40101
40102         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40103         mantissa words.
40104         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40105
40106         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40107         from unused variable.
40108
40109         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40110         DWARF definitions.
40111         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40112         for assembling.
40113
40114         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40115         over namespaces.
40116
40117         * sunrpc/rpc_prot.c (rejected): Fix case value.
40118
40119         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40120         unsigned long long int to avoid warnings in shift.
40121
40122         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40123         of use of trans.
40124         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40125         variable tmp.
40126
40127         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40128         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40129         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40130
40131         * nis/nis_table.c (nis_list): Use variable of correct type for
40132         result of __follow_path call.
40133
40134 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40135
40136         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40137         of math functions ceil, trunc, floor, round, and sqrt, when
40138         avaliable on the platform.
40139         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40140         name clash.
40141         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40142         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40143         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40144
40145 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40146
40147         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40148         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40149
40150 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40151
40152         * include/unistd.h: Fix __readlink return type.
40153         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40154
40155 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40156
40157         * stdlib/ucontext.h: Undo last change for makecontext.
40158
40159 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40160
40161         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40162
40163         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40164         * setjmp/setjmp.h: Mark functions as non-leaf.
40165         * setjmp/bits/setjmp2.h: Likewise.
40166         * stdlib/ucontext.h: Likewise.
40167
40168 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40169
40170         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40171         (reused_arena): Don't check arena limit.
40172         (arena_get2): Atomically check arena limit.
40173
40174 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40175
40176         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40177         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40178
40179         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40180         instructions.
40181
40182 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40183
40184         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40185         handler when locking.
40186
40187         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40188         Fix size of allocated buffer.
40189
40190 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40191
40192         [BZ #10103]
40193         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40194         declarations for long double functions.
40195         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40196
40197         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40198
40199 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40200
40201         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40202         installed.
40203
40204         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40205         is disabled.
40206
40207 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40208
40209         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40210
40211 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40212
40213         * include/alloca.h (stackinfo_alloca_round): Define.
40214         (extend_alloca): Use it.
40215         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40216         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40217         here.
40218
40219         * scripts/check-local-headers.sh: Ignore libaudit.h.
40220
40221         * nscd/Makefile (extra-objs): Make recursively expanded.
40222
40223 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40224
40225         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40226         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40227
40228         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40229         * posix/tst-rfc3484-2.c: Likewise.
40230         * posix/tst-rfc3484-3.c: Likewise.
40231
40232         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40233         process_vm_writev.
40234         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40235         process_vm_writev.
40236         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40237         process_vm_writev from libc using GLIBC_2.15 version.
40238
40239         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40240
40241 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40242
40243         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40244         stack usage.
40245
40246 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40247
40248         [BZ #13367]
40249         * nss/getent.c (initgroups_keys): Show error message in case no group
40250         names are given.
40251
40252         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40253         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40254         __bump_nl_timestamp.
40255         * nscd/connections (nscd_init): When host database is served open
40256         netlink socket and request notification about configuration changes.
40257         (main_loop_poll): Track netlink file descriptor and bump timestamp
40258         in case data becomes available.
40259         (main_loop_epoll): Likewise.
40260         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40261         (database_pers_head): Add extra_data fileds.
40262         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40263         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40264         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40265         Adjust caller.
40266         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40267         in6ai data, call __free_in6ai.
40268         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40269         Add -DHAVE_NETLINK.
40270         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40271         interface information.  Reuse previous data if netlink timestamp
40272         is not changed.
40273         (__bump_nl_timestamp): New function.
40274         (__free_in6ai): New function.
40275
40276 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40277
40278         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40279         close_not_cancel_no_status here.
40280         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40281
40282 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40283
40284         [BZ #13276]
40285         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40286         return value.
40287
40288         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40289         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40290         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40291
40292 2011-07-03  Andreas Jaeger  <aj@suse.de>
40293
40294         [BZ #10709]
40295         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40296         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40297         * math/libm-test.inc (sin_test): Add test case.
40298
40299 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40300
40301         [BZ #13337]
40302         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40303         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40304
40305         * elf/chroot_canon.c (chroot_canon): Cleanups.
40306
40307         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40308
40309         [BZ #13335]
40310         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40311         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40312
40313         * string/test-strchr.c: Make usable for strchrnul testing.
40314         * string/test-strchrnul.c: New file.
40315         * string/Makefile (strop-tests): Add strchrnul.
40316
40317         * po/it.po: Update from translation team.
40318         * po/es.po: Likewise.
40319
40320 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40321
40322         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40323         the three constants needed as parameters.  Drop the others.
40324         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40325         __m128i_strloadu_tolower.
40326         Create and initialize variable zero and use it in all the places
40327         where _mm_setzero_si128 was used.
40328
40329         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40330         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40331         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40332         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40333         anymore.
40334         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40335         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40336         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40337         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40338         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40339         __mpranred, __mptan.
40340         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40341         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40342         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40343         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40344         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40345         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40346         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40347         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40348         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40349
40350 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40351
40352         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40353         redefine if SHARED.
40354         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40355
40356         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40357         wide char related routines to wcsmbs subdir.
40358
40359 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40360
40361         [BZ #13344]
40362         * misc/sys/cdefs.h (__THROWNL): Define.
40363         * posix/unistd.h: Use __THREADNL instead of __THREAD
40364         for memory synchronization functions.
40365
40366 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40367
40368         [BZ #13349]
40369         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40370         doesn't exist.
40371         * manual/stdio.texi (Obstack Streams): Node removed.
40372
40373 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40374
40375         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40376         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40377         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40378
40379         * math/math_private.h (math_force_eval): Allow non-addressable
40380         arguments.
40381         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40382
40383 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40384
40385         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40386         file is not needed.
40387
40388         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40389         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40390         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40391         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40392         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40393         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40394         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40395         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40396         Add AVX variants.
40397         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40398         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40399         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40400         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40401         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40402         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40403         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40404         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40405         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40406         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40407         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40408         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40409         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40410         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40411         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40412         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40413         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40414         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40415         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40416
40417         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40418         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40419
40420         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40421         place.  Use VEX encoding when compiling for AVX.
40422
40423 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40424
40425         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40426         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40427
40428         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40429
40430 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40431
40432         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40433         useless if() expression.
40434         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40435         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40436         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40437         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40438         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40439         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40440         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40442         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40443         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40444         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40445         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40446         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40447         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40448         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40449         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40450         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40451         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40452         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40453
40454         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40455
40456 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40457
40458         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40459         condition.
40460         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40461
40462 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40463
40464         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40465         .text section.  Avoid duplicate constants.
40466         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40471         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40472         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40473         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40474         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40475         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40476         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40477         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40478         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40479         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40480         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40481         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40482         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40483         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40484         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40485         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40486         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40489         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40490         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40491         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40492         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40493         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40494         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40495         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40496         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40497         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40498         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40499         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40500         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40501         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40502         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40503         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40504         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40505         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40506         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40507         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40508         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40509         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40510         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40511
40512 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40513
40514         * sysdeps/x86_64/dla.h: Move to ...
40515         * sysdeps/x86_64/fpu/dla.h: ...here.
40516         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40517         situations.  Use __builtin_fma only for gcc 4.6 and up.
40518
40519         * config.make.in: Add have-mfma4 entry.
40520         * configure.in: Substitute libc_cv_cc_fma4.
40521         * math/Makefile (dbl-only-routines): Add sincostab.
40522         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40523         Use __sincostab not sincos.
40524         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40525         name is a macro.
40526         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40528         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40529         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40530         using __copysign.
40531         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40532         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40533         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40534         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40535         and __inv.
40536         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40537         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40538         __copysign.
40539         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40540         define aliases when function name is a macro.
40541         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40542         sysdeps/ieee754/dbl-64/sincos.tbl.
40543         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40544         fma4-enabled routines.
40545         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40546         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40547         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40548         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40549         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40550         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40551         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40552         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40553         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40554         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40555         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40556         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40557         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40558         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40559         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40560         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40561         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40562         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40563         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40564         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40565         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40566         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40567         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40568         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40569         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40570         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40571         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40572         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40573         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40574         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40575
40576         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40577         rename.
40578         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40579         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40580         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40581         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40582         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40583         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40584         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40585         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40586
40587 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40588
40589         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40590
40591 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40592
40593         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40594
40595         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40596         prediction.
40597         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40598
40599         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40600         Remove unused variable magic_bits.
40601         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40602
40603         * string/strnlen.c: Define and use STRNLEN macro.
40604         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40605         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40606         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40607         * wcsmbs/wcslen.c: Define and use WCSLEN.
40608         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40609         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40610         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40611         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40612         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40613         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40614         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40615
40616 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40617
40618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40619         strnlen-sse2-no-bsf.
40620         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40621         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40622         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40623         Add strnlen support.
40624         (USE_AS_STRNLEN): New macro.
40625         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40626         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40627         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40628         * sysdeps/x86_64/wcslen.S: New file.
40629
40630 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40631
40632         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40633         XMM-moves are used for copying on small sizes.
40634
40635 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40636
40637         * wcsmbs/Makefile (strop-tests): Add wcschr.
40638         * wcsmbs/test-wcschr.c: New file.
40639         * string/test-strchr.c: Update.
40640         Add wcschr support.
40641         (WIDE): New macro.
40642
40643 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40644
40645         * wcsmbs/Makefile (strop-tests): Add wcslen.
40646         * wcsmbs/test-wcslen.c: New file.
40647         * string/test-strlen.c: Update.
40648         Add wcslen support.
40649         (WIDE): New macro.
40650
40651 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40652
40653         * po/it.po: Update from translation team.
40654
40655 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40656
40657         * sysdeps/x86_64/wcscmp.S: Update.
40658         Fix wrong comparison semantics.
40659         wcscmp shall use signed comparison not unsigned.
40660         Don't use substraction to avoid overflow bug.
40661         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40662         * wcsmbc/wcscmp.c: Likewise.
40663         * string/test-strcmp.c: Likewise.
40664         Add new tests to check cases with negative values.
40665
40666 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40667
40668         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40669         * sysdeps/x86_64/dla.h: ...here.  New file.
40670         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40671         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40674         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40675         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40676         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40677         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40678         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40679
40680 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40681
40682         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40683         __ynl_finite aliases.
40684
40685 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40686
40687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40688
40689         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40690         define DLA_FMA.
40691         [DLA_FMA] (EMULV): Use DLA_FMA.
40692         [DLA_FMA] (MUL12): Use EMULV.
40693         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40694         that are not needed.
40695         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40696         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40697         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40698         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40699         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40700         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40701         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40702
40703 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40704
40705         * math/s_nan.c: Undef __nan.
40706         * math/s_nanf.c: Undef __nanf.
40707         * math/s_nanl.c: Undef __nanl.
40708         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40709         "math_private.h".
40710
40711 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40712
40713         * math/s_catan.c: Add branch predictions.
40714         * math/s_catanf.c: Likewise.
40715         * math/s_catanh.c: Likewise.
40716         * math/s_catanhf.c: Likewise.
40717         * math/s_catanhl.c: Likewise.
40718         * math/s_catanl.c: Likewise.
40719         * math/s_cexp.c: Likewise.
40720         * math/s_cexpf.c: Likewise.
40721         * math/s_cexpl.c: Likewise.
40722         * math/s_clog.c: Likewise.
40723         * math/s_clog10.c: Likewise.
40724         * math/s_clog10f.c: Likewise.
40725         * math/s_clog10l.c: Likewise.
40726         * math/s_clogf.c: Likewise.
40727         * math/s_clogl.c: Likewise.
40728         * math/s_csqrt.c: Likewise.
40729         * math/s_csqrtf.c: Likewise.
40730         * math/s_csqrtl.c: Likewise.
40731         * math/s_ctanf.c: Likewise.
40732         * math/s_ctanh.c: Likewise.
40733         * math/s_ctanhf.c: Likewise.
40734         * math/s_ctanhl.c: Likewise.
40735         * math/s_ctanl.c: Likewise.
40736
40737         * math/math_private.h: Define __nan, __nanf, __nanl.
40738         * math/s_cacosh.c: Include <math_private.h>.
40739         * math/s_cacoshl.c: Likewise.
40740         * math/s_casinh.c: Likewise.
40741         * math/s_casinhf.c: Likewise.
40742         * math/s_casinhl.c: Likewise.
40743         * math/s_ccos.c: Rely entire on ccosh.
40744         * math/s_ccosf.c: Rely entire on ccoshf.
40745         * math/s_ccosl.c: Rely entirely on ccoshl.
40746         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40747         Remove tests for FE_INVALID.
40748         * math/s_ccoshf.c: Likewise.
40749         * math/s_ccoshl.c: Likewise.
40750         * math/s_csin.c: Likewise.
40751         * math/s_csinf.c: Likewise.
40752         * math/s_csinh.c Likewise.
40753         * math/s_csinhf.c: Likewise.
40754         * math/s_csinhl.c: Likewise.
40755         * math/s_csinl.c: Likewise.
40756         * math/s_ctan.c: Likewise.
40757         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40758         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40759         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40760
40761 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40762
40763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40764         compilation problems.
40765
40766         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40767         __builtin_expect.
40768
40769 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40770
40771         * sysdeps/i386/configure.in: Test for -mfma4 option.
40772         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40773         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40774         COMMON_CPUID_INDEX_80000001.
40775         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40776         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40777         use it if FMA3 is not supported.
40778         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40779
40780         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40781         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40782
40783 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40784
40785         [BZ #12892]
40786         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40787         it would create a cycle with a link time dependency.
40788
40789 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40790
40791         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40792         instruction.
40793         * string/Makefile (strop-tests): Add rawmemchr.
40794         * string/test-rawmemchr.c: New file.
40795
40796         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40797         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40798         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40799         when compiling str{,n}casecmp and when AVX is available.  Hook up
40800         new optimized code in initializers.
40801
40802 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40803
40804         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40805         __feraiseexcept instead of feraiseexcept.
40806
40807 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40808
40809         * math/math_private.h: Define defaults for libc_fetestexcept and
40810         libc_feupdateenv.
40811         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40812         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40813         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40814         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40815         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40816         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40817         libc_fetestexcept and libc_feupdateenv.
40818
40819         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40820         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40821         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40822         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40823         libc_feholdexcept_setround.
40824
40825         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40826         Add s_nearbyint-c and s_nearbyintf-c.
40827         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40828         nearbyintf inlines.
40829         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40830         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40831         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40832         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40833
40834         * math/math_private.h: Define defaults for libc_fegetround,
40835         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40836         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40837         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40838         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40839         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40840         standard functions.
40841         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40842         Remove comments and hacks for old compiler versions.
40843         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40844         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40845         libc_feholdexceptl.
40846
40847 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40848
40849         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40850         (__feraiseexcept_renamed): Add __NTH.
40851         (feraiseexcept): Add __NTH.  Rename local variables to fix
40852         namespace violations.
40853
40854 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40855
40856         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40857
40858         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40859
40860         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40861         recently added interfaces.
40862         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40863
40864         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40865         about macro parameter expansion.
40866
40867         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40868         __NO_MATH_INLINES is defined.  Cleanups.
40869
40870         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40871         and __floorf is target has SSE4.1.
40872         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40873         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40874         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40875         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40876
40877         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40878         name.
40879         (floorf): Likewise.
40880
40881         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40882
40883 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40884
40885         * misc/sys/cdefs.h: Fix last change.
40886
40887         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40888         database lookup.
40889
40890 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40891
40892         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40893
40894         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40895         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40896         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40898         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40900         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40901         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40902         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40903         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40904         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40905         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40906         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40907         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40908         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40909         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40910         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40911         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40912         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40913         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40914         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40915         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40916
40917         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40918         ceil, ceilf, floor, floorf.
40919
40920         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40921         Perform IRELATIVE relocations last.
40922
40923         * elf/do-rel.h: Add another parameter nrelative, replacing the
40924         local variable with the same name.  Change name of the function
40925         to end in Rel or Rela (uppercase).
40926         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40927         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40928         elf_dynamic_do_##reloc function.
40929
40930 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40931
40932         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40933         is sufficient, at least on modern CPUs.
40934
40935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40936
40937         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40938         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40939
40940         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40941         __expl_finite.
40942         * math/bits/math-finite.h: Add entries for exp.
40943         * math/e_expl.c: Add __*_finite alias.
40944         * sysdeps/i386/fpu/e_exp.S: Likewise.
40945         * sysdeps/i386/fpu/e_expf.S: Likewise.
40946         * sysdeps/i386/fpu/e_expl.c: Likewise.
40947         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40948         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40949         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40950         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40951         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40952         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40953         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40954
40955         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40956         is sufficient, at least on modern CPUs.
40957
40958         * ctype/ctype-info.c (__ctype_init): Define.
40959         * include/ctype.h (__ctype_init): Declare.
40960         (__ctype_b_loc): The variable is always initialized.
40961         (__ctype_toupper_loc): Likewise.
40962         (__ctype_tolower_loc): Likewise.
40963         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40964         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40965
40966 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40967
40968         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40969
40970         * configure.in: Also look in $cxxmachine/include for C++ system
40971         headers.
40972
40973 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40974
40975         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40976         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40977         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40978         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40979         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40980         (USE_AS_WMEMCMP): New macro.
40981         Fixing indents.
40982         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40983         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40984         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40985         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40986         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40987         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40988         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40989         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40990         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40991         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40992         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40993         (USE_AS_WMEMCMP): New macro.
40994         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40995         * sysdeps/string/test-memcmp.c: Update.
40996         Fix simple_wmemcmp.
40997         Add new tests.
40998         * wcsmbs/wmemcmp.c: Update.
40999         (WMEMCMP): New macro.
41000         Fix overflow bug.
41001
41002 2011-10-12  Andreas Jaeger  <aj@suse.de>
41003
41004         [BZ #13268]
41005         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41006
41007 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41008
41009         * libio/iofwide.c (do_length): Avoid warning.
41010
41011         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41012
41013 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41014
41015         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41016
41017         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41018         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41019         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41020         * sysdeps/i386/i686/fpu/e_log.S: New file.
41021         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41022         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41023
41024         * ctype/ctype.h: Add support for inlined isXXX functions when
41025         compiling C++ code.
41026
41027 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41028
41029         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41030
41031         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41032
41033 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41034
41035         [BZ #13291]
41036         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41037
41038 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41039
41040         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41041         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41042         feraiseexcept.
41043
41044         * sysdeps/x86_64/memrchr.S: Check for zero size.
41045
41046         * string/stratcliff.c: Add memrchr tests.
41047
41048 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41049
41050         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41051         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41052         rawmemchr-sse2 rawmemchr-sse2-bsf.
41053         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41054         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41055         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41056         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41057         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41058         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41059         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41060         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41061         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41062         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41063         * string/memrchr.c (MEMRCHR): New macro.
41064
41065 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41066
41067         Add integration with gcc's -ffinite-math-only and optimize wrapper
41068         functions in libm.
41069         * Versions.def: Define GLIBC_2.15 version for libm.
41070         * math/Makefile (headers): Add bits/math-finite.h.
41071         * math/bits/math-finite.h: New file.
41072         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41073         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41074         * math/e_acoshl.c: Add __*_finite alias.
41075         * math/e_acosl.c: Likewise.
41076         * math/e_asinl.c: Likewise.
41077         * math/e_atan2l.c: Likewise.
41078         * math/e_atanhl.c: Likewise.
41079         * math/e_coshl.c: Likewise.
41080         * math/e_exp10.c: Likewise.
41081         * math/e_exp10f.c: Likewise.
41082         * math/e_exp10l.c: Likewise.
41083         * math/e_exp2l.c: Likewise.
41084         * math/e_fmodl.c: Likewise.
41085         * math/e_gammal_r.c: Likewise.
41086         * math/e_hypotl.c: Likewise.
41087         * math/e_j0l.c: Likewise.
41088         * math/e_j1l.c: Likewise.
41089         * math/e_jnl.c: Likewise.
41090         * math/e_lgammal_r.c: Likewise.
41091         * math/e_log10l.c: Likewise.
41092         * math/e_log2l.c: Likewise.
41093         * math/e_logl.c: Likewise.
41094         * math/e_powl.c: Likewise.
41095         * math/e_sinhl.c: Likewise.
41096         * math/e_sqrtl.c: Likewise.
41097         * math/e_scalb.c: Completely rewritten and optimized.
41098         * math/e_scalbf.c: Likewise.
41099         * math/e_scalbl.c: Likewise.
41100         * math/w_acos.c: Likewise.
41101         * math/w_acosf.c: Likewise.
41102         * math/w_acosl.c: Likewise.
41103         * math/w_acosh.c: Likewise.
41104         * math/w_acoshf.c: Likewise.
41105         * math/w_acoshl.c: Likewise.
41106         * math/w_asin.c: Likewise.
41107         * math/w_asinf.c: Likewise.
41108         * math/w_asinl.c: Likewise.
41109         * math/w_atan2.c: Likewise.
41110         * math/w_atan2f.c: Likewise.
41111         * math/w_atan2l.c: Likewise.
41112         * math/w_atanh.c: Likewise.
41113         * math/w_atanhf.c: Likewise.
41114         * math/w_atanhl.c: Likewise.
41115         * math/w_exp10.c: Likewise.
41116         * math/w_exp10f.c: Likewise.
41117         * math/w_exp10l.c: Likewise.
41118         * math/w_fmod.c: Likewise.
41119         * math/w_fmodf.c: Likewise.
41120         * math/w_fmodl.c: Likewise.
41121         * math/w_j0.c: Likewise.
41122         * math/w_j0f.c: Likewise.
41123         * math/w_j0l.c: Likewise.
41124         * math/w_j1.c: Likewise.
41125         * math/w_j1f.c: Likewise.
41126         * math/w_j1l.c: Likewise.
41127         * math/w_jn.c: Likewise.
41128         * math/w_jnf.c: Likewise.
41129         * math/w_log.c: Likewise.
41130         * math/w_logf.c: Likewise.
41131         * math/w_logl.c: Likewise.
41132         * math/w_log10.c: Likewise.
41133         * math/w_log10f.c: Likewise.
41134         * math/w_log10l.c: Likewise.
41135         * math/w_log2.c: Likewise.
41136         * math/w_log2f.c: Likewise.
41137         * math/w_log2l.c: Likewise.
41138         * math/w_pow.c: Likewise.
41139         * math/w_powf.c: Likewise.
41140         * math/w_powl.c: Likewise.
41141         * math/w_remainder.c: Likewise.
41142         * math/w_remainderf.c: Likewise.
41143         * math/w_remainderl.c: Likewise.
41144         * math/w_scalb.c: Likewise.
41145         * math/w_scalbf.c: Likewise.
41146         * math/w_scalbl.c: Likewise.
41147         * math/w_sqrt.c: Likewise.
41148         * math/w_sqrtf.c: Likewise.
41149         * math/w_sqrtl.c: Likewise.
41150         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41151         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41152         used.
41153         * math/math_private.h: Declare __kernel_standard_f.
41154         * math/w_cosh.c: Remove cruft and optimize a bit.
41155         * math/w_coshf.c: Likewise.
41156         * math/w_coshl.c: Likewise.
41157         * math/w_exp2.c: Likewise.
41158         * math/w_exp2f.c: Likewise.
41159         * math/w_exp2l.c: Likewise.
41160         * math/w_hypot.c: Likewise.
41161         * math/w_hypotf.c: Likewise.
41162         * math/w_hypotl.c: Likewise.
41163         * math/w_lgamma.c: Likewise.
41164         * math/w_lgamma_r.c: Likewise.
41165         * math/w_lgammaf.c: Likewise.
41166         * math/w_lgammaf_r.c: Likewise.
41167         * math/w_lgammal.c: Likewise.
41168         * math/w_lgammal_r.c: Likewise.
41169         * math/w_sinh.c: Likewise.
41170         * math/w_sinhf.c: Likewise.
41171         * math/w_sinhl.c: Likewise.
41172         * math/w_tgamma.c: Likewise.
41173         * math/w_tgammaf.c: Likewise.
41174         * math/w_tgammal.c: Likewise.
41175         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41176         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41177         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41178         Minor optimizations.  Pretty printing.  Remove cruft.
41179         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41180         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41181         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41182         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41183         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41184         * sysdeps/i386/fpu/e_asin.S: Likewise.
41185         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41186         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41187         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41188         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41189         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41190         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41191         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41192         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41193         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41194         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41195         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41196         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41197         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41198         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41199         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41200         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41201         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41202         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41203         * sysdeps/i386/fpu/e_log.S: Likewise.
41204         * sysdeps/i386/fpu/e_log10.S: Likewise.
41205         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41206         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41207         * sysdeps/i386/fpu/e_log2.S: Likewise.
41208         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41209         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41210         * sysdeps/i386/fpu/e_logf.S: Likewise.
41211         * sysdeps/i386/fpu/e_logl.S: Likewise.
41212         * sysdeps/i386/fpu/e_pow.S: Likewise.
41213         * sysdeps/i386/fpu/e_powf.S: Likewise.
41214         * sysdeps/i386/fpu/e_powl.S: Likewise.
41215         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41216         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41217         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41218         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41219         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41220         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41221         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41222         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41223         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41224         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41225         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41226         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41227         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41228         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41229         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41230         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41231         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41232         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41233         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41234         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41235         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41237         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41238         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41239         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41240         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41241         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41242         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41243         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41244         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41245         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41246         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41247         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41248         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41249         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41250         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41251         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41252         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41253         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41254         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41255         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41256         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41257         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41258         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41259         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41260         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41261         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41262         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41263         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41264         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41265         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41266         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41267         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41268         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41269         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41270         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41271         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41272         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41273         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41274         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41275         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41276         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41277         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41278         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41279         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41280         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41281         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41282         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41283         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41284         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41285         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41286         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41287         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41288         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41289         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41290         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41291         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41292         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41293         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41294         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41295         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41296         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41297         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41298         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41299         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41300         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41301         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41302         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41303         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41304         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41305         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41306         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41307         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41308         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41309         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41310         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41311         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41312         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41313         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41314         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41315         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41316         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41317         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41318         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41319         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41320         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41321         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41322         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41323         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41324         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41325         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41326         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41327         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41328         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41329         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41330         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41331         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41332         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41333         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41334         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41335         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41336         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41337         (__isnanf): Likewise.
41338         (__isinf_ns): Likewise.
41339         (__isinf_nsf): Likewise.
41340         (__finite): Likewise.
41341         (__finitef): Likewise.
41342         (__ieee754_sqrt): Define as macro.
41343         (__ieee754_sqrtf): Define as macro.
41344         (__ieee754_sqrtl): Define as macro.
41345         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41346         inlined copy.
41347         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41348         __FINITE_MATH_ONLY__ consistent.
41349         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41350
41351 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41352
41353         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41354         of rawmemchr.
41355
41356         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41357
41358 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41359
41360         * po/ja.po: Update from translation team.
41361
41362 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41363
41364         * locale/programs/locarchive.c (prepare_address_space): New function.
41365         (create_archive, enlarge_archive, open_archive): Use it.
41366
41367         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41368         inside [SHARED], where it is used.
41369
41370         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41371
41372         * nss/getent.c (netgroup_keys): Remove unused variable.
41373         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41374
41375 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41376
41377         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41378         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41379         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41380         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41381         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41382         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41383         * math/Makefile (libm-calls): Add s_isinf_ns.
41384         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41385         * math/multc3.c: Likewise.
41386         * math/s_casin.c: Likewise.
41387         * math/s_casinf.c: Likewise.
41388         * math/s_casinl.c: Likewise.
41389         * math/s_ccos.c: Likewise.
41390         * math/s_ccosf.c: Likewise.
41391         * math/s_ccosl.c: Likewise.
41392         * math/s_ctan.c: Likewise.
41393         * math/s_ctanf.c: Likewise.
41394         * math/s_ctanh.c: Likewise.
41395         * math/s_ctanhf.c: Likewise.
41396         * math/s_ctanhl.c: Likewise.
41397         * math/s_ctanl.c: Likewise.
41398         * math/w_fmod.c: Likewise.
41399         * math/w_fmodf.c: Likewise.
41400         * math/w_fmodl.c: Likewise.
41401         * math/w_remainder.c: Likewise.
41402         * math/w_remainderf.c: Likewise.
41403         * math/w_remainderl.c: Likewise.
41404         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41405         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41408         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41409         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41410         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41411         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41412
41413         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41414         of the number.
41415         * stdio-common/printf_fphex.c: Likewise.
41416         * stdio-common/printf_size.c: Likewise.
41417
41418         * math/e_exp10.c: Include math_private.h using <...> not "...".
41419         * math/e_exp10f.c: Likewise.
41420         * math/e_exp10l.c: Likewise.
41421         * math/e_exp2l.c: Likewise.
41422         * math/e_j0l.c: Likewise.
41423         * math/e_j1l.c: Likewise.
41424         * math/e_jnl.c: Likewise.
41425         * math/e_lgammal_r.c: Likewise.
41426         * math/e_rem_pio2l.c: Likewise.
41427         * math/e_scalb.c: Likewise.
41428         * math/e_scalbf.c: Likewise.
41429         * math/e_scalbl.c: Likewise.
41430         * math/k_cosl.c: Likewise.
41431         * math/k_sinl.c: Likewise.
41432         * math/k_tanl.c: Likewise.
41433         * math/s_cacoshf.c: Likewise.
41434         * math/s_catan.c: Likewise.
41435         * math/s_catanf.c: Likewise.
41436         * math/s_catanh.c: Likewise.
41437         * math/s_catanhf.c: Likewise.
41438         * math/s_catanhl.c: Likewise.
41439         * math/s_catanl.c: Likewise.
41440         * math/s_ccosh.c: Likewise.
41441         * math/s_ccoshf.c: Likewise.
41442         * math/s_ccoshl.c: Likewise.
41443         * math/s_cexp.c: Likewise.
41444         * math/s_cexpf.c: Likewise.
41445         * math/s_cexpl.c: Likewise.
41446         * math/s_clog.c: Likewise.
41447         * math/s_clog10.c: Likewise.
41448         * math/s_clog10f.c: Likewise.
41449         * math/s_clog10l.c: Likewise.
41450         * math/s_clogf.c: Likewise.
41451         * math/s_clogl.c: Likewise.
41452         * math/s_csin.c: Likewise.
41453         * math/s_csinf.c: Likewise.
41454         * math/s_csinh.c: Likewise.
41455         * math/s_csinhf.c: Likewise.
41456         * math/s_csinhl.c: Likewise.
41457         * math/s_csinl.c: Likewise.
41458         * math/s_csqrt.c: Likewise.
41459         * math/s_csqrtf.c: Likewise.
41460         * math/s_csqrtl.c: Likewise.
41461         * math/s_ctan.c: Likewise.
41462         * math/s_ctanf.c: Likewise.
41463         * math/s_ctanh.c: Likewise.
41464         * math/s_ctanhf.c: Likewise.
41465         * math/s_ctanhl.c: Likewise.
41466         * math/s_ctanl.c: Likewise.
41467         * math/s_ldexp.c: Likewise.
41468         * math/s_ldexpf.c: Likewise.
41469         * math/s_ldexpl.c: Likewise.
41470         * math/s_significand.c: Likewise.
41471         * math/s_significandf.c: Likewise.
41472         * math/s_significandl.c: Likewise.
41473         * math/w_acos.c: Likewise.
41474         * math/w_acosf.c: Likewise.
41475         * math/w_acosh.c: Likewise.
41476         * math/w_acoshf.c: Likewise.
41477         * math/w_acoshl.c: Likewise.
41478         * math/w_acosl.c: Likewise.
41479         * math/w_asin.c: Likewise.
41480         * math/w_asinf.c: Likewise.
41481         * math/w_asinl.c: Likewise.
41482         * math/w_atan2.c: Likewise.
41483         * math/w_atan2f.c: Likewise.
41484         * math/w_atan2l.c: Likewise.
41485         * math/w_atanh.c: Likewise.
41486         * math/w_atanhf.c: Likewise.
41487         * math/w_atanhl.c: Likewise.
41488         * math/w_cosh.c: Likewise.
41489         * math/w_coshf.c: Likewise.
41490         * math/w_coshl.c: Likewise.
41491         * math/w_dremf.c: Likewise.
41492         * math/w_exp10.c: Likewise.
41493         * math/w_exp10f.c: Likewise.
41494         * math/w_exp10l.c: Likewise.
41495         * math/w_exp2.c: Likewise.
41496         * math/w_exp2f.c: Likewise.
41497         * math/w_fmod.c: Likewise.
41498         * math/w_fmodf.c: Likewise.
41499         * math/w_fmodl.c: Likewise.
41500         * math/w_hypot.c: Likewise.
41501         * math/w_hypotf.c: Likewise.
41502         * math/w_hypotl.c: Likewise.
41503         * math/w_j0.c: Likewise.
41504         * math/w_j0f.c: Likewise.
41505         * math/w_j0l.c: Likewise.
41506         * math/w_j1.c: Likewise.
41507         * math/w_j1f.c: Likewise.
41508         * math/w_j1l.c: Likewise.
41509         * math/w_jn.c: Likewise.
41510         * math/w_jnf.c: Likewise.
41511         * math/w_jnl.c: Likewise.
41512         * math/w_lgamma.c: Likewise.
41513         * math/w_lgamma_r.c: Likewise.
41514         * math/w_lgammaf.c: Likewise.
41515         * math/w_lgammaf_r.c: Likewise.
41516         * math/w_lgammal.c: Likewise.
41517         * math/w_lgammal_r.c: Likewise.
41518         * math/w_log.c: Likewise.
41519         * math/w_log10.c: Likewise.
41520         * math/w_log10f.c: Likewise.
41521         * math/w_log10l.c: Likewise.
41522         * math/w_log2.c: Likewise.
41523         * math/w_log2f.c: Likewise.
41524         * math/w_log2l.c: Likewise.
41525         * math/w_logf.c: Likewise.
41526         * math/w_logl.c: Likewise.
41527         * math/w_pow.c: Likewise.
41528         * math/w_powf.c: Likewise.
41529         * math/w_powl.c: Likewise.
41530         * math/w_remainder.c: Likewise.
41531         * math/w_remainderf.c: Likewise.
41532         * math/w_remainderl.c: Likewise.
41533         * math/w_scalb.c: Likewise.
41534         * math/w_scalbf.c: Likewise.
41535         * math/w_scalbl.c: Likewise.
41536         * math/w_sinh.c: Likewise.
41537         * math/w_sinhf.c: Likewise.
41538         * math/w_sinhl.c: Likewise.
41539         * math/w_sqrt.c: Likewise.
41540         * math/w_sqrtf.c: Likewise.
41541         * math/w_sqrtl.c: Likewise.
41542         * math/w_tgamma.c: Likewise.
41543         * math/w_tgammaf.c: Likewise.
41544         * math/w_tgammal.c: Likewise.
41545
41546         * po/ja.po: Update from translation team.
41547
41548 2011-09-29  Andreas Jaeger  <aj@suse.de>
41549
41550         [BZ #13179]
41551         * sunrpc/netname.c (netname2host): Fix logic.
41552
41553         [BZ #6779]
41554         [BZ #6783]
41555         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41556         correctly.
41557         * math/w_remainder.c (__remainder): Likewise.
41558         * math/w_remainderf.c (__remainderf): Likewise.
41559         * math/libm-test.inc (remainder_test): Add test cases.
41560
41561 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41562
41563         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41564         sdiv_qrnnd.
41565
41566 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41567
41568         * string/test-memcmp.c: Avoid unncessary #defines.
41569         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41570
41571 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41572
41573         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41574         Use new sse2 version for core i3 - i7 as it's faster
41575         than sse42 version.
41576         (bit_Prefer_PMINUB_for_stringop): New.
41577         * sysdeps/x86_64/rawmemchr.S: Update.
41578         Replace with faster SSE2 version.
41579         * sysdeps/x86_64/memrchr.S: New file.
41580         * sysdeps/x86_64/memchr.S: Update.
41581         Replace with faster SSE2 version.
41582
41583 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41584
41585         * elf/dl-load.c (lose): Add cast to avoid warning.
41586
41587 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41588
41589         * po/ca.po: Update from translation team.
41590
41591         * inet/getnetgrent_r.c: Hook up nscd.
41592         * nscd/Makefile (routines): Add nscd_netgroup.
41593         (nscd-modules): Add netgroupcache.
41594         (CFLAGS-netgroupcache.c): Define.
41595         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41596         (cache_search): Add const to second parameter.
41597         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41598         INNETGR.
41599         (dbs): Add netgrdb entry.
41600         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41601         (verify_persistent_db): Handle netgrdb.
41602         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41603         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41604         GETFDNETGR.
41605         (netgroup_response_header): Define.
41606         (innetgroup_response_header): Define.
41607         (datahead): Add netgroup_response_header and innetgroup_response_header
41608         elements.
41609         * nscd/nscd.conf: Add entries for netgroup cache.
41610         * nscd/nscd.h (dbtype): Add netgrdb.
41611         (_PATH_NSCD_NETGROUP_DB): Define.
41612         (netgroup_iov_disabled): Declare.
41613         (xmalloc, xcalloc, xrealloc): Move declarations here.
41614         (cache_search): Adjust prototype.
41615         Add netgroup-related prototypes.
41616         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41617         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41618         (__nscd_innetgr): Declare.
41619         * nscd/selinux.c (perms): Use access_vector_t as element type and
41620         add netgroup-related initializers.
41621         * nscd/netgroupcache.c: New file.
41622         * nscd/nscd_netgroup.c: New file.
41623         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41624         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41625         For four parameters use innetgr.
41626         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41627         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41628         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41629         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41630
41631         * nscd/connections.c (register_traced_file): Don't register file
41632         for disabled databases.
41633
41634 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41635
41636         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41637
41638         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41639         from tree and freeing node.
41640
41641 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41642
41643         * nss/nsswitch.c (__nss_database_lookup): Handle
41644         nss_parse_service_list out of memory case.
41645
41646 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41647
41648         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41649         out of memory case.
41650
41651 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41652
41653         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41654         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41655         pass it down.
41656         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41657         elf_machine_rela, elf_machine_lazy_rel.
41658         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41659         (ELF_DYNAMIC_DO_REL): Likewise.
41660         (ELF_DYNAMIC_DO_RELA): Likewise.
41661         (ELF_DYNAMIC_RELOCATE): Likewise.
41662         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41663         to ELF_DYNAMIC_DO_REL.
41664         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41665         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41666         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41667         elf_machine_rela.
41668         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41669         skip_ifunc, don't call ifunc function if non-zero.
41670         (elf_machine_rela): Likewise.
41671         (elf_machine_lazy_rel): Likewise.
41672         (elf_machine_lazy_rela): Likewise.
41673         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41674         (elf_machine_lazy_rel): Likewise.
41675         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41676         Likewise.
41677         (elf_machine_lazy_rel): Likewise.
41678         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41679         Likewise.
41680         (elf_machine_lazy_rel): Likewise.
41681         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41682         (elf_machine_lazy_rel): Likewise.
41683         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41684         (elf_machine_lazy_rel): Likewise.
41685         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41686         (elf_machine_lazy_rel): Likewise.
41687         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41688         (elf_machine_lazy_rel): Likewise.
41689         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41690         (elf_machine_lazy_rel): Likewise.
41691         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41692         (elf_machine_lazy_rel): Likewise.
41693
41694 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41695
41696         * nss/nss_files/files-init.c (_nss_files_init): Use static
41697         initialization for all the *_traced_file variables.
41698
41699 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41700
41701         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41702
41703 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41704
41705         [BZ #13226]
41706         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41707
41708 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41709
41710         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41711         Reread the line before reparsing it.
41712
41713 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41714
41715         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41716
41717 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41718             Maxim Kuvyrkov  <maxim@codesourcery.com>
41719             Joseph Myers  <joseph@codesourcery.com>
41720
41721         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41722         if needed for __stack_chk_guard.
41723
41724 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41725
41726         * sysdeps/posix/spawni.c (script_execute): Always define it.
41727         It will be optimized away if unused.
41728         (maybe_script_execute): New function.
41729         (__spawni): Call it.
41730
41731         * Makerules: Don't include tls.make.
41732         (config-tls): Always set to thread.
41733         * tls.make.c: File removed.
41734
41735 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41736
41737         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41738         * config.make.in (CPPFLAGS-config): New substituted variable.
41739
41740 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41741
41742         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41743
41744         [BZ #13192]
41745         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41746         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41747
41748 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41749
41750         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41751         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41752         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41753         (CALL_FAIL): Likewise.
41754         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41755         (CALL_FAIL): Macro removed.
41756         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41757
41758 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41759
41760         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41761         for __FINITE_MATH_ONLY__ == 1.
41762
41763 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41764
41765         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41766         __ieee754_sqrt instead of sqrt.
41767         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41768         __ieee754_sqrtf instead of sqrtf.
41769         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41770         __floorf instead of floorf.
41771         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41772         __floorf, __truncf instead of floorf, truncf.
41773
41774 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41775
41776         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41777
41778         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41779         __extern_always_inline.
41780         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41781         32-bit.
41782
41783 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41784
41785         * elf/rtld.c (dl_main): Also relocate in dependency order when
41786         doing symbol dependency testing.
41787
41788 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41789
41790         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41791         Always define `refsym'.
41792
41793 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41794
41795         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41796         (__FD_ELT): Renamed from __FDELT.
41797         * misc/bits/select2.h (__FD_ELT): Likewise.
41798         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41799         __FD_MASK instead of __FDELT, __FDMASK.
41800         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41801         Likewise.
41802         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41803         Likewise.
41804
41805         * elf/Makefile (gen-ldd): Fix pattern.
41806
41807         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41808         (init_tls): Likewise.
41809
41810 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41811
41812         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41813
41814 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41815
41816         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41817         `struct cmsghdr *' instead of `void *'.
41818         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41819         Likewise.
41820
41821 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41822
41823         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41824         if non-absolute.
41825         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41826         ldd_rewrite_script.
41827
41828 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41829
41830         * configure.in: Remove --with-tls option.
41831         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41832         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41833         out in case it is missing.
41834         * sysdeps/ia64/elf/configure.in: Likewise.
41835         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41836         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41837         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41838         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41839         * sysdeps/sh/elf/configure.in: Likewise.
41840         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41841         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41842         * sysdeps/x86_64/elf/configure.in: Likewise.
41843         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41844         * sysdeps/mach/hurd/tls.h: Likewise.
41845
41846         [BZ #13067]
41847         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41848
41849         [BZ #13090]
41850         * configure.in: Fix use of AC_INIT.
41851
41852         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41853
41854 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41855
41856         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41857         __set_errno.
41858         * malloc/hooks.c: Likewise.
41859
41860         [BZ #11929]
41861         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41862         variables statically.
41863         (narenas): Initialize.
41864         (list_lock): Initialize.
41865         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41866         initializtion of main_arena and list_lock.  Small cleanups.
41867         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41868         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41869         Add initializers to main_arena and mp_.
41870         (malloc_state): Remove pagesize member.  Change all users to use
41871         GLRO(dl_pagesize).
41872
41873         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41874         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41875         is always initialized.
41876
41877         * malloc/malloc.c: Removed unused configurations and dead code.
41878         * malloc/arena.c: Likewise.
41879         * malloc/hooks.c: Likewise.
41880         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41881
41882         * include/tls.h: Removed.  USE___THREAD must always be defined.
41883         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41884         * elf/dl-libc.c: Likewise.
41885         * elf/dl-tsd.c: Likewise.
41886         * include/errno.h: Likewise.
41887         * include/netdb.h: Likewise.
41888         * include/resolv.h: Likewise.
41889         * inet/herrno-loc.c: Likewise.
41890         * inet/herrno.c: Likewise.
41891         * malloc/arena.c: Likewise.
41892         * malloc/hooks.c: Likewise.
41893         * malloc/malloc.c: Likewise.
41894         * resolv/res-state.c: Likewise.
41895         * resolv/res_libc.c: Likewise.
41896         * sysdeps/i386/dl-machine.h: Likewise.
41897         * sysdeps/ia64/dl-machine.h: Likewise.
41898         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41899         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41900         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41901         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41902         * sysdeps/sh/dl-machine.h: Likewise.
41903         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41904         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41905         * sysdeps/unix/i386/sysdep.S: Likewise.
41906         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41907         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41908         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41909         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41910         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41911         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41912         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41913         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41914         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41916         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41917         * sysdeps/x86_64/dl-machine.h: Likewise.
41918         * tls.make.c: Likewise.
41919
41920         * configure.in: Remove --with-__thread option.  Make tests for
41921         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41922         tls_model attribute fail if no support is available.  Remove
41923         USE_IN_LIBIO.
41924         * Makeconfig: Adjust for dropped configure option.  All features are
41925         now mandatory.
41926         * Makerules: Likewise.
41927         * Versions.def: Likewise.
41928         * argp/argp-fmtstream.c: Likewise.
41929         * argp/argp-fmtstream.h: Likewise.
41930         * argp/argp-help.c: Likewise.
41931         * assert/assert.c: Likewise.
41932         * config.h.in: Likewise.
41933         * config.make.in: Likewise.
41934         * configure: Likewise.
41935         * configure.in: Likewise.
41936         * csu/Versions: Likewise.
41937         * csu/init.c: Likewise.
41938         * elf/tst-audit2.c: Likewise.
41939         * elf/tst-tls10.c: Likewise.
41940         * elf/tst-tls10.h: Likewise.
41941         * elf/tst-tls11.c: Likewise.
41942         * elf/tst-tls12.c: Likewise.
41943         * elf/tst-tls14.c: Likewise.
41944         * elf/tst-tlsmod11.c: Likewise.
41945         * elf/tst-tlsmod12.c: Likewise.
41946         * elf/tst-tlsmod13.c: Likewise.
41947         * elf/tst-tlsmod13a.c: Likewise.
41948         * elf/tst-tlsmod14a.c: Likewise.
41949         * elf/tst-tlsmod15b.c: Likewise.
41950         * elf/tst-tlsmod16a.c: Likewise.
41951         * elf/tst-tlsmod16b.c: Likewise.
41952         * elf/tst-tlsmod7.c: Likewise.
41953         * elf/tst-tlsmod8.c: Likewise.
41954         * elf/tst-tlsmod9.c: Likewise.
41955         * gmon/gmon.c: Likewise.
41956         * grp/fgetgrent_r.c: Likewise.
41957         * grp/putgrent.c: Likewise.
41958         * hurd/fopenport.c: Likewise.
41959         * include/libc-symbols.h: Likewise.
41960         * include/tls.h: Likewise.
41961         * intl/gettextP.h: Likewise.
41962         * intl/loadinfo.h: Likewise.
41963         * locale/global-locale.c: Likewise.
41964         * locale/localeinfo.h: Likewise.
41965         * mach/devstream.c: Likewise.
41966         * malloc/arena.c: Likewise.
41967         * malloc/set-freeres.c: Likewise.
41968         * misc/err.c: Likewise.
41969         * misc/getttyent.c: Likewise.
41970         * misc/mntent_r.c: Likewise.
41971         * posix/getopt.c: Likewise.
41972         * posix/wordexp.c: Likewise.
41973         * pwd/fgetpwent_r.c: Likewise.
41974         * resolv/Versions: Likewise.
41975         * resolv/res_hconf.c: Likewise.
41976         * shadow/fgetspent_r.c: Likewise.
41977         * shadow/putspent.c: Likewise.
41978         * stdio-common/printf_fphex.c: Likewise.
41979         * stdio-common/tmpfile.c: Likewise.
41980         * stdlib/abort.c: Likewise.
41981         * stdlib/fmtmsg.c: Likewise.
41982         * sunrpc/auth_unix.c: Likewise.
41983         * sunrpc/clnt_perr.c: Likewise.
41984         * sunrpc/clnt_tcp.c: Likewise.
41985         * sunrpc/clnt_udp.c: Likewise.
41986         * sunrpc/clnt_unix.c: Likewise.
41987         * sunrpc/openchild.c: Likewise.
41988         * sunrpc/svc_simple.c: Likewise.
41989         * sunrpc/svc_tcp.c: Likewise.
41990         * sunrpc/svc_udp.c: Likewise.
41991         * sunrpc/svc_unix.c: Likewise.
41992         * sunrpc/xdr.c: Likewise.
41993         * sunrpc/xdr_array.c: Likewise.
41994         * sunrpc/xdr_rec.c: Likewise.
41995         * sunrpc/xdr_ref.c: Likewise.
41996         * sunrpc/xdr_stdio.c: Likewise.
41997
41998 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41999
42000         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42001
42002 2011-07-03  Andreas Jaeger  <aj@suse.de>
42003
42004         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42005         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42006         regenerate with gen-libm-tests.pl.
42007
42008 2010-05-12  Petr Baudis  <pasky@suse.cz>
42009
42010         [BZ #11589]
42011         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42012         around j0() zero points by switching to j1().
42013         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42014         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42016         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42017
42018 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42019
42020         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42021         instead of 0.
42022         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42023         instead of 0.
42024         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42025         Patch in part by Pavel Roskin <proski@gnu.org>.
42026
42027         [BZ #13138]
42028         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42029         realloc.
42030         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42031         Free memory block if necessary.
42032
42033         [BZ #12847]
42034         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42035         be NULL.  Don't lock in this case.
42036
42037 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42038
42039         * elf/elf.h (ELFOSABI_GNU): New macro.
42040         (ELFOSABI_LINUX): Define to that.
42041
42042 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42043
42044         * string/strncat.c (strncat): Undef the symbol in case it has been
42045         defined in bits/string.h.
42046
42047 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42048
42049         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42050
42051         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42052         link map.
42053
42054 2011-08-17  Andreas Jaeger  <aj@suse.de>
42055
42056         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42057
42058 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42059             Ian Lance Taylor  <iant@google.com>
42060
42061         * math/libm-test.inc (lround_test): New testcase.
42062         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42063
42064 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42065
42066         * Makefile: Remove support for automatic cvs check-ins.
42067         * Makerules: Likewise.
42068         * config.make.in: Likewise.
42069         * configure.in: Likewise.
42070         * intl/Makefile: Likewise.
42071         * locale/Makefile: Likewise.
42072         * po/Makefile: Likewise.
42073         * posix/Makefile: Likewise.
42074         * sysdeps/gnu/Makefile: Likewise.
42075         * sysdeps/mach/hurd/Makefile: Likewise.
42076         * sysdeps/sparc/sparc32/Makefile: Likewise.
42077
42078         [BZ #13118]
42079         * posix/Makefile (bug-regex32-ENV): Define.
42080         Patch by John Stanley <jpsinthemix@verizon.net>.
42081
42082         * misc/Makefile (headers): Add bits/select2.h.
42083         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42084         * misc/bits/select2.h: New file.
42085         * include/bits/select2.h: New file.
42086         * debug/Makefile (routines): Add fdelt_chk.
42087         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42088         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42089         FD_ISSET.
42090         * debug/fdelt_chk.c: New file.
42091
42092         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42093         * wcsmbs/test-wmemcmp.c: Likewise.
42094         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42095         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42096
42097 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42098
42099         * string/Makefile (strop-tests): Add memcmp.
42100         * string/test-wmemcmp.c: New file.
42101         * string/test-memcmp.c: Add wmemcmp support.
42102
42103 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42104
42105         [BZ #13153]
42106         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42107         2011-07-19 change.
42108
42109         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42110         garbage value in a __mach_port_mod_refs call in the cases of the
42111         task-self and thread-self ports.
42112
42113 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42114
42115         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42116
42117 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42118
42119         * elf/dl-load.c (lose): Check for non-null L.
42120
42121 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42122
42123         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42124
42125         * elf/dl-libc.c (dlerror_run): Pass back error code from
42126         dl_catch_error.
42127
42128         [BZ #13123]
42129         * elf/dl-load.c (lose): Free l_origin if it is valid.
42130
42131         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42132         names.
42133         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42134         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42135         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42136         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42137         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42138         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42139
42140 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42141
42142         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42143         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42144         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42145         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42146         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42147         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42148         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42149         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42150         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42151         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42152
42153 2011-08-15  Alan Modra  <amodra@gmail.com>
42154
42155         [BZ #13092]
42156         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42157         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42158         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42159         ppc_mcount to static-only-routines.
42160         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42161         __mcount_internal.
42162         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42163         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42164
42165 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42166
42167         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42168         for finite and infinity parameters.
42169
42170 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42171
42172         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42173         and add nop instructions for throughput optimization.
42174         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42175
42176 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42177
42178         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42179         aligned copy for power7 with vector-scalar instructions.
42180         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42181
42182 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42183
42184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42185         AVX check.
42186
42187 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42188
42189         [BZ #13144]
42190         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42191         last change.
42192
42193 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42194
42195         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42196         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42197         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42198         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42199         clock_gettime.
42200
42201 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42202
42203         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42204         Forgot to demangle the pointer.
42205
42206         * sysdeps/i386/sysdep.h: Define atom_text_section.
42207         * sysdeps/x86_64/sysdep.h: Likewise.
42208         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42209         section with atom_text_section.
42210         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42211         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42212         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42213         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42214         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42215
42216         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42217         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42218         already be defined.  Change to take two parameters and don't assign
42219         result to variable.  Adjust all users.
42220         Define INTERNAL_GETTIME if not already defined.
42221         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42222         call.
42223         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42224         HAVE_CLOCK_GETTIME_VSYSCALL.
42225         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42226
42227         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42228         gettimeofday vsyscall, just use time.
42229
42230 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42231
42232         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42233         <errno.h>.
42234
42235 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42236
42237         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42238         syscall on x86-64.
42239         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42240         syscall.
42241         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42242         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42243         syscall if possible.
42244
42245 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42246
42247         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42248         e_ident.  Don't pass to find_mapsXX.
42249         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42250
42251 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42252
42253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42254         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42255         * sysdeps/x86_64/multiarch/strchr.S: Update.
42256         Check bit_slow_BSF bit.
42257         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42258         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42259         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42260
42261 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42262
42263         [BZ #13134]
42264         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42265         before glibc 2.15.
42266         (tryshell): Define.
42267         (__spawni): Change last parameter to be flag.  Test
42268         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42269         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42270         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42271         * posix/spawni.c: Likewise.
42272         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42273         * posix/spawnp.c: Likewise.  Change normal version to use
42274         SPAWN_XFLAGS_USE_PATH.
42275         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42276         SPAWN_XFLAGS_TRY_SHELL.
42277
42278         [BZ #13150]
42279         * posix/glob.h: Remove gcc 1.x support.
42280
42281         [BZ #13068]
42282         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42283
42284 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42285
42286         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42287         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42288         strrchr-sse2-bsf
42289         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42290         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42291         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42292         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42293         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42294         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42295
42296 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42297
42298         * sysdeps/x86_64/wcscmp.S: New file.
42299
42300         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42301         wcscmp-c wcscmp-sse2
42302         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42303         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42304         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42305         * wcsmbs/wcscmp.c: Allow renaming.
42306
42307 2011-09-05  David S. Miller  <davem@davemloft.net>
42308
42309         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42310         stack slot, rather than the struct return pointer slot.
42311         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42312         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42314         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42315
42316 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42317
42318         * po/ja.po: Update from translation team.
42319
42320         [BZ #13144]
42321         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42322         kernel in 64-bit binaries.
42323
42324 2011-09-01  David S. Miller  <davem@davemloft.net>
42325
42326         * elf/elf.h (HWCAP_SPARC_*): Move to..
42327         * sysdeps/sparc/sysdep.h: this new file and add new values.
42328         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42329         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42330         _DL_HWCAP_COUNT to 24.
42331         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42332         entries.
42333         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42334         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42335         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42337         instead of magic constants.
42338         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42339
42340 2011-08-31  David S. Miller  <davem@davemloft.net>
42341
42342         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42343         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42344         Reimplement to do errno handling inline.
42345         (SYSCALL_ERROR_HANDLER): New macro.
42346         (__SYSCALL_STRING): Do not do errno handling in asm.
42347         (__CLONE_SYSCALL_STRING): Delete.
42348         (__INTERNAL_SYSCALL_STRING): Delete.
42349         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42350         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42351         (PSEUDO): Reimplement to do errno handling inline.
42352         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42353         (SYSCALL_ERROR_HANDLER): New macro.
42354         (__SYSCALL_STRING): Do not do errno handling in asm.
42355         (__CLONE_SYSCALL_STRING): Delete.
42356         (__INTERNAL_SYSCALL_STRING): Delete.
42357         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42358         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42359         i386.
42360         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42361         (inline_syscall*): Add 'err' argument.
42362         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42363         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42364         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42365         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42366
42367         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42368         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42369
42370 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42371
42372         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42373
42374 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42375
42376         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42377         directive.
42378
42379 2011-08-24  David S. Miller  <davem@davemloft.net>
42380
42381         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42382
42383 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42384
42385         * elf/Makefile: Add rules to build and run unload8 test.
42386         * elf/unload8.c: New file.
42387         * elf/unload8mod1.c: New file.
42388         * elf/unload8mod1x.c: New file.
42389         * elf/unload8mod2.c: New file.
42390         * elf/unload8mod3.c: New file.
42391
42392         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42393         it wasn't used.
42394
42395 2011-08-23  David S. Miller  <davem@davemloft.net>
42396
42397         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42398         subtract stack bias.
42399         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42400         %sp not %fp in calculations.
42401         (_JMPBUF_UNWINDS_ADJ): Likewise.
42402
42403         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42404         (aio_suspend): Call it to force an exception region around the
42405         AIO_MISC_WAIT() invocation.
42406
42407 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42408
42409         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42410         backslash.
42411
42412 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42413
42414         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42415         protection macro.
42416         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42417         and <dl-machine.h>.
42418         (Elf64_FuncDesc): Remove.
42419
42420 2011-08-22  David S. Miller  <davem@davemloft.net>
42421
42422         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42423         sigaltstack check, add missing cfi directives.
42424         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42425         missing cfi directives, and sigaltstack handling.
42426
42427 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42428
42429         [BZ #11724]
42430         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42431         object is seen twice.
42432         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42433
42434         * elf/Makefile (distribute): Add tst-initorder2.c.
42435         (tests): Add tst-initorder2.
42436         (modules-names): Add tst-initorder2a tst-initorder2b
42437         tst-initorder2c tst-initorder2d.  Add rules to build them.
42438         ($(objpfx)tst-initorder2.out): New rule.
42439         * elf/tst-initorder2.c: New file.
42440         * elf/tst-initorder2.exp: New file.
42441
42442 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42443
42444         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42445
42446         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42447         dependencies back to end of function.
42448
42449         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42450         $(elfobjdir)/ld.so.
42451
42452 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42453
42454         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42455         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42457         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42458         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42459         of __vdso_gettimeofday.
42460         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42461         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42462         attribute_hidden.
42463         (_libc_vdso_platform_setup): Remove initialization of
42464         __vdso_gettimeofday and __vdso_time.
42465
42466 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42467
42468         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42469         and fgetc_unlocked.
42470         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42471         getc_unlocked.
42472
42473         * elf/dl-open.c (add_to_global): Report additions to the global scope
42474         for LD_DEBUG=scopes.
42475         (dl_open_worker): Also print scope of newly loaded dependencies.
42476         (_dl_show_scope): Indicate if there is no scope.
42477
42478         [BZ #13114]
42479         * stdio-common/Makefile (tests): Add bug24.
42480         * stdio-common/bug24.c: New file.
42481
42482 2011-08-19  Andreas Jaeger  <aj@suse.de>
42483
42484         [BZ #13114]
42485         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42486         non-existant file when using close-on-exec mode.
42487
42488 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42489
42490         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42491         the very first instruction.
42492
42493         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42494         the CFI state in the end.
42495         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42496         inclusion of dl-trampoline.h.
42497         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42498
42499 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42500
42501         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42502         expectations for long double.
42503
42504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42505         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42506
42507 2011-08-14  David S. Miller  <davem@davemloft.net>
42508
42509         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42510         artificual limit depends upon the system page size.
42511
42512 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42513
42514         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42515         * resolv/Makefile: Define CFLAGS-libresolv.
42516
42517 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42518
42519         * nss/makedb.c (compute_tables): Make variables used in nested
42520         function static.
42521
42522 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42523
42524         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42525         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42526         if buffer was too small.
42527
42528         * elf/pldd.c (main): Attach to all threads in the process.
42529         Rewrite /proc handling to use *at functions.
42530
42531 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42532
42533         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42534         specifies first scope to show.
42535         (dl_open_worker): Update callers.  Move printing scope of new
42536         object to before the relocation.
42537         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42538         * sysdeps/generic/ldsodefs.h: Update declaration.
42539
42540         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42541         string for the scope number.
42542
42543 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42544
42545         * nscd/servicescache.c (cache_addserv): Make sure written is always
42546         initialized.
42547
42548 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42549
42550         * sysdeps/i386/i486/bits/atomic.h
42551         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42552         statement expression, so as to suppress "set but not used" warning.
42553         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42554
42555         * string/strncat.c (STRNCAT): Use prototype definition.
42556
42557         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42558         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42559         -Iprograms here.
42560         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42561         (localedef-modules): Add localedef.
42562         (locale-modules): Add locale.
42563
42564         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42565         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42566         to avoid a warning.
42567
42568 2011-08-14  David S. Miller  <davem@davemloft.net>
42569
42570         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42571         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42572
42573 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42574
42575         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42576         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42577         * elf/rtld.c (dl_main): Set l_name of vDSO.
42578         Call _dl_show_scope when DL_DEBUG_SCOPES.
42579         (process_dl_debug): Recognize scopes flag and also set it for all.
42580         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42581         Declare _dl_show_scope.
42582
42583         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42584         (do_dlopen): Pass caller_dlopen to dl_open.
42585         (__libc_dlopen_mode): Initialize caller_dlopen.
42586
42587         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42588         of libc.  Make tolower call locale-independent.  Optimize a bit by
42589         using isdigit instead of isalnum.
42590         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42591
42592 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42593
42594         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42595         was a dependency or dynamically loaded.
42596
42597 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42598
42599         * intl/l10nflist.c: Allow architecture-specific pop function.
42600         * sysdeps/x86_64/l10nflist.c: New file.
42601
42602         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42603         classification.
42604
42605 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42606
42607         * include/dirent.h: Add libc_hidden_proto for scandirat and
42608         scandirat64.  Don't declare __scandirat64.
42609         * dirent/scandirat.c: Add libc_hidden_def.
42610         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42611         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42612
42613 2011-08-10  David S. Miller  <davem@davemloft.net>
42614
42615         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42616         enum.
42617         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42618         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42619         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42620
42621 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42622
42623         * Versions.def [libc]: Add GLIBC_2.15.
42624         * dirent/Makefile (routines): Add scandirat and scandirat64.
42625         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42626         GLIBC_2.15.
42627         * dirent/dirent.h: Declare scandirat and scandirat64.
42628         * dirent/scandirat.c: New file.
42629         * dirent/scandirat64.c: New file.
42630         * sysdeps/wordsize-64/scandirat.c: New file.
42631         * sysdeps/wordsize-64/scandirat64.c: New file.
42632         * dirent/opendir.c: Define opendirat.
42633         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42634         using scandirat.
42635         * dirent/scandir64.c: Adjust for scandir.c change.
42636         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42637         __scandirat64, and __scandir_cancel_handler.
42638         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42639         additional parameter and use openat instead of open (outside of ld.so).
42640         Add new __opendir as wrapper around __opendirat.
42641         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42642         here without requiring old scandirat implementation.
42643
42644 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42645
42646         * dirent/scandir.c (cancel_handler): Renamed to
42647         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42648         defined.  Adjust users.
42649         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42650         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42651
42652 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42653
42654         * string/test-string.h (IMPL): Use __STRING to expand name and then
42655         stringify it.
42656
42657         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42658         of cleanups.
42659
42660 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42661
42662         * string/Makefile: Update.
42663         (strop-tests): Append strncat.
42664         * string/test-wcscmp.c: New file.
42665         New comprehensive test for wcscmp.
42666         * string/test-strcmp.c: Update.
42667         (WIDE): New define.
42668
42669 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42670
42671         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42672         line.
42673
42674 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42675
42676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42677         encoding to ACE if AI_IDN.
42678
42679 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42680
42681         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42682         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42683
42684 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42685
42686         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42687         Fix overflow bug in strncat.
42688         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42689
42690         * string/test-strncat.c: Update.
42691         Add new tests for checking overflow bugs.
42692
42693 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42694
42695         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42696         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42697         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42698         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42699         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42700         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42701         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42702         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42703         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42704
42705         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42706         (USE_AS_STRCAT): Define.
42707         Add strcat and strncat support.
42708         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42709
42710 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42711
42712         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42713         __n bigger than INT_MAX+1.
42714         (__strncmp_g): Likewise.
42715
42716 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42717
42718         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42719         * libio/stido.h: Likewise.
42720
42721         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42722         (AF_NFC): Define.
42723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42724         (AF_NFC): Define.
42725
42726         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42727         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42728         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42729         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42730         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42731
42732         [BZ #13021]
42733         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42734         installed.
42735
42736         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42737         typo.
42738         (_dl_x86_64_save_sse): Likewise.
42739
42740 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42741
42742         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42743         OSXSAVE.
42744         (_dl_x86_64_save_sse): Likewise.
42745
42746         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42747
42748         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42749
42750 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42751
42752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42753         change.
42754         (_dl_x86_64_save_sse): Use correct AVX check.
42755
42756 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42757
42758         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42759         bug in strncpy/strncat.
42760         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42761
42762 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42763
42764         * string/tester.c (test_strcat): Add tests for different alignments
42765         of source and destination.
42766         (test_strncat): Likewise.
42767
42768 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42769
42770         [BZ #12852]
42771         * posix/glob.c (glob): Check passed in values before using them in
42772         expressions to avoid some overflows.
42773         (glob_in_dir): Likewise.
42774
42775         [BZ #13007]
42776         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42777         check for AVX enablement so that we don't crash with old kernels and
42778         new hardware.
42779         * elf/tst-audit4.c: Add same checks here.
42780         * elf/tst-audit6.c: Likewise.
42781
42782         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42783
42784 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42785
42786         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42787
42788 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42789
42790         * po/cs.po: Update from translation team.
42791         * po/bg.po: Likewise.
42792
42793 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42794
42795         * misc/sys/cdefs.h: Add support for const attribute.
42796         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42797         to gnu_dev_{major,minor,makedev} functions.
42798
42799 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42800
42801         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42802
42803 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42804
42805         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42806         strlen results.
42807
42808 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42809
42810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42811         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42812         register in order to avoid conflicts with the soft frame pointer
42813         being held in r11 when necessary.
42814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42815         (INTERNAL_VSYSCALL_NCS): Likewise.
42816
42817 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42818
42819         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42820         * elf/dl-fini.c (_dl_fini): Adjust caller.
42821         * elf/dl-close.c (_dl_close_worker): Likewise.
42822         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42823
42824 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42825
42826         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42827         "aux_cache->nlibs < 0".
42828
42829         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42830         in the reload-count case.
42831
42832 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42833
42834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42835         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42836         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42837         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42838         * sysdeps/x86_64/multiarch/strcat.S: New file.
42839         * sysdeps/x86_64/multiarch/strncat.S: New file.
42840         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42841         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42842         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42843         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42844         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42845         (USE_AS_STRCAT): Define.
42846         Add strcat and strncat support.
42847         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42848         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42849         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42850         * string/strncat.c: Update.
42851         (USE_AS_STRNCAT): Define.
42852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42853         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42854         and i7.
42855         * sysdeps/x86_64/multiarch/init-arch.h
42856         (bit_Prefer_PMINUB_for_stringop): New.
42857         (index_Prefer_PMINUB_for_stringop): Likewise.
42858         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42859         bit_Prefer_PMINUB_for_stringop.
42860
42861 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42862
42863         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42864         buffer64.
42865         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42866         of casting of buffer.
42867         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42868         buffer32 and buffer64.
42869         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42870         writes instead of casting of buffer.
42871         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42872         buffer32.
42873         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42874         casting of buffer.
42875
42876 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42877
42878         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42879
42880 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42881
42882         * nscd/nscd.c (termination_handler): Don't do anything for a database
42883         if it has not yet been initialized.
42884
42885 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42886
42887         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42888
42889 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42890
42891         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42892
42893 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42894
42895         * po/nl.po: Update from translation team.
42896         * po/sv.po: Likewise.
42897
42898 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42899
42900         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42901         now disallowed by GCC.
42902
42903         * configure.in (use-default-link): Default to yes if a test -shared
42904         link meets our qualifications.
42905         * configure: Regenerated.
42906
42907         * config.make.in (output-format): New variable.
42908         * configure.in: Check for ld --print-output-format support.
42909         * configure: Regenerated.
42910         * Makerules ($(common-objpfx)format.lds)
42911         [$(output-format) != unknown]: Just use $(output-format),
42912         instead of the linker-script munging.
42913
42914 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42915
42916         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42917         of $(common-objpfx)shlib.lds.
42918         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42919
42920         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42921         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42922
42923         * configure.in (-z relro check): Adjust test code to add a large
42924         writable data section after it.
42925         * configure: Regenerated.
42926
42927 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42928
42929         * configure.in (-z relro check): Fix test code to make the variable
42930         truly const.
42931         * configure: Regenerated.
42932
42933 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42934
42935         * nscd/nscd.h (struct traced_file): Define.
42936         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42937         elements.  Add traced_files.
42938         (inotify_fd): Declare.
42939         (register_traced_file): Declare.
42940         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42941         (inotify_fd): Export.
42942         (resolv_conf_descr): Remove.
42943         (nscd_init): Move inotify descriptor creation to main.
42944         Don't register files for notification here.
42945         (register_traced_file): New function.
42946         (invalidate_cache): Don't use reset_res to determine whether to call
42947         res_init, go through the list of registered files.
42948         (main_loop_poll): The inotify descriptors are now stored in the
42949         structures for the traced files.
42950         (main_loop_epoll): Likewise
42951         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42952         to __nss_disable_nscd.
42953         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42954         for a database anymore.  Check the records for all the registered
42955         files instead.
42956         * nss/Makefile (libnss_files-routines): Add files-init.
42957         (libnss_db-routines): Add db-init.
42958         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42959         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42960         * nss/nss_db/db-init.c: New file.
42961         * nss/nss_files/files-init.c: New file.
42962         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42963         __nss_lookup_function.
42964         (__nss_lookup_function): Call nss_load_library.
42965         (nss_load_all_libraries): New function.
42966         (__nss_disable_nscd): Take parameter with callback function for files
42967         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42968         used for the cached services.
42969         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42970         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42971         options for features to all the files in nscd.
42972
42973         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42974
42975 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42976
42977         * csu/elf-init.c (__libc_csu_init): Comment typo.
42978
42979 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42980
42981         * po/pl.po: Update from translation team.
42982         * po/ja.po: Likewise.
42983         * po/ru.po: Likewise.
42984         * po/ko.po: Likewise.
42985         * po/fr.po: Likewise.
42986
42987 2011-07-09  Roland McGrath  <roland@hack.frob.com>
42988
42989         * configure.in (.ctors/.dtors header and trailer check):
42990         Use an empirical test on a built program.
42991         * configure: Regenerated.
42992
42993         * configure.in (-z relro check): Use an empirical test on a built DSO.
42994         Detect, but do not require, on ia64.
42995         * configure: Regenerated.
42996
42997         * configure.in (READELF): Find it with AC_CHECK_TOOL.
42998         Update tests that use readelf to use $READELF instead.
42999         * configure: Regenerated.
43000
43001 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43002
43003         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43004         if the result is not used.
43005
43006 2011-07-05  Andreas Jaeger  <aj@suse.de>
43007
43008         [BZ#9696]
43009         * stdlib/tst-strtod.c: Add testcase.
43010
43011 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43012
43013         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43014         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43015         The latter has a higher limit.  Take additional parameter to pass to
43016         the new function.
43017         (__pathconf): Pass file to __statfs_link_max.
43018         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43019         __statfs_link_max.
43020         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43021         __statfs_link_max.
43022
43023         [BZ #12868]
43024         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43025         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43026         Handle Lustre.
43027         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43028         (__statfs_filesize_max): Likewise.
43029         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43030
43031 2011-07-05  Andreas Jaeger  <aj@suse.de>
43032
43033         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43034
43035 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43036
43037         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43038         `status' variable.
43039         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43040         Likewise.
43041
43042 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43043
43044         * Makefile (strop-tests): Add strncat.
43045         * string/test-strncat.c: New file.
43046
43047 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43048
43049         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43050
43051 2011-06-21  Andreas Jaeger  <aj@suse.de>
43052
43053         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43054         Copy rule from iconvdata/Makefile.
43055
43056 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43057
43058         [BZ #12922]
43059         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43060         but no long options are defined, just return 'W'.
43061
43062 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43063
43064         [BZ #9696]
43065         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43066
43067 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43068
43069         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43070         netgroups to read.
43071         (innetgr): Likewise.
43072
43073 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43074
43075         * config.make.in (install_root): Default to $(DESTDIR).
43076
43077 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43078
43079         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43080
43081 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43082
43083         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43084
43085         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43086         containing directory rather than embedding absolute directory names.
43087
43088         * scripts/check-local-headers.sh: Rewritten using awk.
43089         Match by word, not by line.  Print error messages for matches.
43090         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43091
43092         * Makerules [shlib-lds-flags empty]:
43093         ($(common-objpfx)libc_pic.opts): New target.
43094         ($(common-objpfx)libc_pic.os.clean): New target.
43095         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43096
43097         * config.make.in (OBJCOPY): New variable.
43098         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43099         * configure: Regenerated.
43100
43101         * config.make.in (use-default-link): New variable.
43102         * configure.in (use_default_link): Grok --with-default-link to set it.
43103         * configure: Regenerated.
43104         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43105         (shlib-lds, shlib-lds-flags): Define to empty.
43106
43107         * Makerules (shlib-lds): New variable.
43108         (shlib-lds-flags): New variable.
43109         (build-shlib, build-moduile, build-module-asneeded): Use it.
43110         ($(common-objpfx)libc.so): Use $(shlib-lds).
43111         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43112         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43113
43114         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43115         DT_FLAGS/DT_FLAGS_1 with zero flags.
43116
43117         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43118         linker script munging.
43119
43120 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43121
43122         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43123         as 128-bit value.
43124         * crypt/sha512.c (sha512_process_block): Perform total addition using
43125         128-bit if possible.
43126         (__sha512_finish_ctx): Likewise.
43127         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43128         as 64-bit value.
43129         * crypt/sha256.c (SWAP64): Define.
43130         (sha256_process_block): Perform total addition using 64-bit if
43131         possible.
43132         (__sha256_finish_ctx): Likewise.
43133
43134 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43135
43136         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43137         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43138         * nscd/hstcache.c (cache_addhst): Likewise.
43139         * nscd/grpcache.c (cache_addgr): Likewise.
43140         * nscd/aicache.c (addhstaiX): Likewise
43141         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43142
43143 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43144
43145         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43146         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43147         * nscd/hstcache.c (cache_addhst): Likewise.
43148         * nscd/grpcache.c (cache_addgr): Likewise.
43149         * nscd/aicache.c (addhstaiX): Likewise
43150
43151 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43152
43153         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43154         domain only when needed.
43155
43156 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43157
43158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43159         is always restored.
43160
43161 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43162
43163         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43164         are re-adding the entry.
43165         * nscd/servicescache.c (cache_addserv): Likewise.
43166
43167 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43168
43169         * sysdeps/generic/dl-irel.h: fix protection against multiple
43170         inclusions.
43171         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43172
43173 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43174
43175         [BZ #12935]
43176         * malloc/memusage.sh: Fix quoting in message.
43177         * debug/xtrace.sh: Likewise.
43178
43179         * configure.in: Remove support for --experimental-malloc option, make
43180         it the default.
43181         * config.make.in: Likewise.
43182         * malloc/Makefile: Likewise.
43183
43184 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43185
43186         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43187         two-byte characters.
43188
43189 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43190
43191         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43192         AC_CACHE_CHECK invocation.
43193         * configure: Regenerated.
43194
43195         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43196
43197 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43198
43199         [BZ #12350]
43200         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43201         bit from old_res_options.
43202
43203         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43204
43205         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43206         value type for setfct.
43207
43208 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43209
43210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43211         __gettimeofday instead of gettimeofday.
43212
43213 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43214
43215         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43216
43217 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43218
43219         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43220
43221         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43222         info.
43223
43224 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43225
43226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43227         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43228         strcpy-sse2-unaligned strncpy-sse2-unaligned
43229         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43230         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43231         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43232         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43233         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43234         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43235         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43236         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43237         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43238         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43239         (STRCPY): Support SSE2 and SSSE3 versions.
43240
43241 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43242
43243         [BZ #12874]
43244         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43245         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43246         kernels which artificially limit size of requests.
43247
43248 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43249
43250         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43251         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43252         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43253         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43254         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43255         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43256         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43257         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43258         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43259         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43260         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43261         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43262         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43263         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43264         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43266         Enable unaligned load optimization for Intel Core i3, i5 and i7
43267         processors.
43268         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43269         Define.
43270         (index_Fast_Unaligned_Load): Define.
43271         (HAS_FAST_UNALIGNED_LOAD): Define.
43272
43273 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43274
43275         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43276
43277 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43278
43279         [BZ #12907]
43280         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43281         until it is clear that the information is realy needed.
43282         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43283
43284 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43285
43286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43287
43288 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43289
43290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43291         /sys/devices/system/cpu/online if it is usable.
43292
43293         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43294         reading the information from the /proc filesystem to once a second.
43295
43296 2011-06-21  Andreas Jaeger  <aj@suse.de>
43297
43298         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43299         NULL after inclusion of kernel headers.
43300
43301 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43302
43303         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43304         calls to internal_setent.
43305
43306         [BZ #12885]
43307         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43308         addresses using gethostbyname4_r ignore IPv4 addresses.
43309
43310         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43311         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43312
43313         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43314
43315 2011-06-20  David S. Miller  <davem@davemloft.net>
43316
43317         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43318         inclusions.
43319         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43320
43321         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43322         (elf_irel): Use it.
43323         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43324         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43325         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43326         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43327         * sysdeps/x86_64/dl-irel.h: Likewise.
43328
43329         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43330         * elf/dl-sym.c: Likewise.
43331
43332 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43333
43334         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43335         need to dereference resplen2.
43336
43337 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43338
43339         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43340
43341 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43342
43343         * Makeconfig: Define vardbdir and inst_vardbdir.
43344         * nss/Makefile: Add rules to install db-Makefile.
43345
43346         * nss/nss_db/db-XXX.c: Cleanup.
43347
43348         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43349         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43350         GLIBC_PRIVATE.
43351         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43352         * nss/makedb.c: Implement -g option to specify that value strings
43353         are generated and should not be added to table iterated over for
43354         get*ent calls.
43355         * nss/nss_db/db-initgroups.c: New file.
43356
43357         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43358         interface.
43359
43360         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43361         (internal_getgrouplist): Adjust to name change.
43362         Update use_initgroups_entry if this is not the first call.
43363         * nss/databases.def: Add initgroups entry.
43364
43365         * nss/makedb.c (compute_tables): Check result of multiple hash table
43366         sizes to minimize maximum chain length.
43367
43368 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43369
43370         * Versions.def: Add entry for libnss_db.
43371         * shlib-versions: Likewise.
43372         * nss/Makefile: Add rules to build libnss_db.
43373         * nss/Versions: Add libnss_db information.  Organize libnss_files
43374         entries better.
43375         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43376         makedb progra.  Some minor improvements to generate smaller files.
43377         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43378         here from...
43379         * nss/makedb.c: ...here.
43380         Improve database format to be smaller and require less memory at
43381         runtime.
43382         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43383         db anymore.
43384         * nss/nss_db/db-netgrp.c: Likewise.
43385         * nss/nss_db/db-open.c: Likewise.
43386         * nss/nss_files/flies-XXX.x: Adjust comments.
43387         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43388         * nss/nss_files/files-grp.c: Likewise.
43389         * nss/nss_files/files-hosts.c: Likewise.
43390         * nss/nss_files/files-network.c: Likewise.
43391         * nss/nss_files/files-proto.c: Likewise.
43392         * nss/nss_files/files-pwd.c: Likewise.
43393         * nss/nss_files/files-rpc.c: Likewise.
43394         * nss/nss_files/files-service.c: Likewise.
43395         * nss/nss_files/files-sgrp.c: Likewise.
43396         * nss/nss_files/files-spwd.c: Likewise.
43397         * nss/nss_db/db-alias.c: Removed.
43398         * nss/nss_db/dummy-db.h: Removed.
43399
43400 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43401
43402         * nss/makedb.c: Rewritten to not use database library.
43403         * nss/Makefile: Update to build new makedb program.
43404
43405 2011-06-14  Andreas Jaeger  <aj@suse.de>
43406
43407         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43408         memset declaration.
43409
43410 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43411
43412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43413         tmpbuf.
43414
43415 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43416
43417         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43418         * elf/Makefile ($(objpfx)ld.so): Likewise.
43419
43420         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43421         Don't list ld.so twice in dependencies.
43422
43423         * posix/bug-regex31.c: Include <stdlib.h>.
43424
43425         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43426
43427         * nis/nss_compat/compat-spwd.c
43428         (getspent_next_nss_netgr): Remove unused variable.
43429         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43430
43431         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43432         nonmembers" output to use the right array.
43433
43434         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43435
43436         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43437
43438         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43439         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43440         * catgets/gencat.c (read_input_file): Likewise.
43441         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43442
43443         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43444         variable definition inside #if's controlling its use.
43445
43446         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43447
43448         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43449
43450         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43451
43452         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43453         unreachable code.
43454
43455         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43456
43457         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43458         * configure: Regenerated.
43459
43460         * Makerules: Revert last change.
43461         * elf/Makefile: Likewise.
43462
43463 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43464
43465         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43466         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43467         (reloc-link): Likewise.
43468
43469 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43470
43471         * elf/Makefile: Add rules to build pldd.
43472         * elf/pldd.c: New file.
43473         * elf/pldd-xx.c: New file.
43474
43475 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43476
43477         * version.h: Update for 2.15 development version.
43478
43479 2011-06-07  David S. Miller  <davem@davemloft.net>
43480
43481         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43482         ifuncs.
43483         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43484         elf_machine_lazy_rel): Likewise.
43485         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43487         elf_machine_lazy_rel): Likewise.
43488         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43489         dl_hwcap via passed in argument.
43490         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43491         Likewise.
43492
43493 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43494
43495         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43496
43497 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43498
43499         [BZ #12849]
43500         * manual/fdl-1.1.texi: New file, verbatim from:
43501         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43502         * manual/lgpl-2.1.texi: New file, verbatim from:
43503         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43504         * manual/Makefile (licenses): New variable, list those new file names.
43505         (texis): Use it.
43506         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43507
43508         * manual/fdl.texi: File removed.
43509         * manual/lesser.texi: File removed.
43510         * manual/libc.texinfo (Copying, Documentation License):
43511         Use new @include file names, put @appendix directive before @include.
43512
43513 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43514
43515         [BZ #12841]
43516         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43517         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43518         (mq_open): Add __NTH.
43519
43520 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43521
43522         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43523         Assume Intel Core i3/i5/i7 processor if AVX is available.
43524
43525 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43526
43527         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43528         typo.
43529
43530 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43531
43532         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43533         memory.  Use alloca_account.  Fix memory leak when retrying.
43534
43535 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43536
43537         * version.h (RELEASE): Bump for 2.14 release.
43538         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43539
43540         * config.make.in (RANLIB): Remove entry.
43541
43542 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43543
43544         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43545         (libc.pot): Work around missing support for .ksh extension in xgettext.
43546
43547         [BZ #12684]
43548         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43549         if both request failed.
43550         (send_dg): In case of server errors clear resplen or *resplen2.
43551
43552         [BZ #12454]
43553         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43554         when there are multiple maps.
43555         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43556         (_dl_fini): Remove test here.
43557
43558         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43559
43560 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43561
43562         [BZ #12350]
43563         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43564         bit from old_res_options.
43565         (gaih_inet): Likewise.
43566
43567         [BZ #11099]
43568         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43569         as signed.
43570
43571         * resolv/res_init.c (res_setoptions): Make the code more compact.
43572
43573         [BZ #11558]
43574         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43575         set RES_USEVC.
43576
43577         [BZ #11634]
43578         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43579
43580         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43581
43582         [BZ #11781]
43583         * malloc/malloc.h: Declare malloc hook variables as volatile.
43584
43585         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43586         in last patch.
43587
43588         [BZ #11799]
43589         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43590         raise in the comment.
43591         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43592         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43593         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43594
43595 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43596
43597         [BZ #12811]
43598         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43599         grow the buffers more if it already has to be sufficient.
43600         (build_wcs_upper_buffer): Likewise.
43601         * posix/regexec.c (check_matching): Likewise.
43602         (clean_state_log_if_needed): Likewise.
43603         (extend_buffers): Don't enlarge buffers beyond size of the input
43604         buffer.
43605         Patches mostly by Emil Wojak <emil@wojak.eu>.
43606         * posix/bug-regex32.c: New file.
43607         * posix/Makefile (tests): Add bug-regex32.
43608
43609         * locale/findlocale.c (_nl_find_locale): Return right away if
43610         _nl_explode_name failed.
43611         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43612
43613         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43614
43615         * debug/xtrace.sh: Unify messages.
43616         * malloc/memusage.sh: Likewise.
43617
43618         [BZ #12813]
43619         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43620         time symbol from vDSO.  Substitute with vsyscall if not available.
43621         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43622         __vdso_time.
43623
43624         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43625         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43626         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43627         Add sendmmsg and internal_sendmmsg.
43628         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43629         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43630         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43631
43632         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43633         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43634         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43635
43636 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43637
43638         [BZ #12813]
43639         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43640         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43641         available.
43642         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43643         __vdso_getcpu.
43644
43645         [BZ #12814]
43646         * iconvdata/Makefile (tests): Add bug-iconv9.
43647         * iconvdata/bug-iconv9.c: New file.
43648
43649 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43650
43651         [BZ #12814]
43652         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43653
43654 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43655
43656         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43657         (struct user_regs_struct): Change intcs field back to cs.
43658
43659 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43660
43661         * po/ja.po: Update from translation team.
43662
43663 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43664
43665         [BZ #12795]
43666         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43667         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43668
43669 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43670
43671         * stdlib/longlong.h: Update from GCC.
43672
43673 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43674
43675         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43676         parameter name.
43677         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43678         Add parameter name.
43679         (__sysconf): Pass it down.
43680
43681 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43682
43683         [BZ #12671]
43684         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43685         some situations.
43686         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43687         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43688         add in in __libc_use_alloca calls.  Adjust callers.
43689         (glob): Use malloc in some situations.
43690
43691         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43692         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43693         pltexit.
43694
43695 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43696
43697         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43698         and CLOCK_BOOTTIME_ALARM.
43699
43700         [BZ #12782]
43701         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43702         is returned.
43703
43704         * string/_strerror.c (__strerror_r): Print negative errors as signed
43705         numbers.
43706
43707         [BZ #12777]
43708         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43709         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43710         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43711
43712         * configure.in: Fix typo in redirection and correct removal of test
43713         files in two cases.
43714
43715         [BZ #12788]
43716         * locale/setlocale.c (new_composite_name): Fix test to check for
43717         identical name of all categories.
43718
43719         [BZ #12792]
43720         * libio/filedoalloc.c (local_isatty): New function.
43721         (_IO_file_doallocate): Use local_isatty.
43722         * stdio-common/perror.c (perror): In case a new stream is used
43723         forward the stream error.
43724         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43725         error flag.
43726
43727 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43728
43729         [BZ #11869]
43730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43731         alloca.
43732         * include/alloca.h (extend_alloca_account): Define.
43733
43734         [BZ #11857]
43735         * posix/regex.h: Fix comments with documentation of user-accessible
43736         fields after compilation and describe correct free'ing of pattern
43737         after re_compile_pattern.
43738         Patch by Reuben Thomas <rrt@sc3d.org>.
43739
43740 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43741
43742         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43743         and -mno-altivec to prevent the compiler from using Altivec and/or
43744         VSX instructions when the corresponding registers are not available.
43745
43746 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43747
43748         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43749
43750 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43751
43752         * libio/freopen.c (freopen): Use __dup2, not dup2.
43753         * libio/freopen64.c (freopen64): Likewise.
43754
43755 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43756
43757         [BZ #12775]
43758         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43759         * math/Makefile (tests): Add test-powl.
43760         (CFLAGS-test-powl.c): Define.
43761         * math/test-powl.c: New file.
43762
43763 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43764
43765         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43766
43767 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43768
43769         [BZ #11837]
43770         * iconvdata/gb18030.c: Update to GB18020-2005.
43771
43772 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43773
43774         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43775         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43776         Patch by Aharon Robbins <arnold@skeeve.com>.
43777
43778         [BZ #11892]
43779         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43780         on the stack.
43781
43782         [BZ #11895]
43783         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43784         through underflows.
43785
43786         [BZ #12766]
43787         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43788         point to strings before performing equality test for error_one_per_line
43789         mode.
43790
43791         [BZ #11697]
43792         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43793
43794         [BZ #11820]
43795         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43796         (struct user_fpregs_struct): Avoid __uint*_t types.
43797
43798         [BZ #6420]
43799         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43800         symbol info.  Use it instead of calling _dl_addr locally.
43801         (lock_and_info): New function.
43802         (tr_freehook): Call lock_and_info and pass symbol info as additional
43803         parameter to tr_where.
43804         (tr_mallochook): Likewise.
43805         (tr_reallochook): Likewise.
43806         (tr_memalignhook): Likewise.
43807
43808         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43809         used and couldn't be at all thread-safe.
43810
43811 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43812
43813         * libio/freopen.c (freopen): Don't close old file descriptor
43814         before the new one is opened.  Instead dup the new file descriptor
43815         to the old one after the new stream is created.
43816         * libio/freopen64.c (freopen64): Likewise.
43817         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43818         * libio/fileops.c (_IO_new_file_close_it): Handle new
43819         _IO_FLAGS2_NOCLOSE flag.
43820         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43821         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43822         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43823         _IO_FLAGS2_NOCLOSE flag.
43824         * include/unistd.h: Add hidden_proto for dup3.
43825         Define __have_dup3.
43826         * io/dup3.c: Define hidden symbol.
43827         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43828
43829         [BZ #7101]
43830         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43831         when an incomplete long option is used.
43832         * posix/tst-getopt_long1.c: New file.
43833         * posix/Makefile (tests): Add tst-getopt_long1.
43834
43835         [BZ #10138]
43836         * scripts/config.guess: Update from autoconf-2.68.
43837         * scripts/config.sub: Likewise.
43838
43839         [BZ #10157]
43840         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43841         tests into ...
43842         (has_cpuclock): ...this.  New function.
43843         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43844         macro here based on has_cpuclock code.
43845
43846         [BZ #10149]
43847         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43848         First byte (not low byte) is now always NUL.
43849         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43850
43851         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43852         Use non-cancelable interfaces.
43853
43854         [BZ #9809]
43855         * locale/iso-639.def: Add entry for Sorani.
43856
43857         [BZ #11901]
43858         * include/stdlib.h: Move include protection to the right place.
43859         Define abort_msg_s.  Declare __abort_msg with it.
43860         * stdlib/abort.c (__abort_msg): Adjust type.
43861         * assert/assert.c (__assert_fail_base): New function.  Majority
43862         of code from __assert_fail.  Allocate memory for __abort_msg with
43863         mmap.
43864         (__assert_fail): Now call __assert_fail_base.
43865         * assert/assert-perr.c: Remove bulk of implementation.  Use
43866         __assert_fail_base.
43867         * include/assert.hL Declare __assert_fail_base.
43868         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43869         mmap.
43870         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43871
43872 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43873
43874         [BZ #11952]
43875         [BZ #12453]
43876         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43877         until all modules are registered in the DTV.
43878         * elf/Makefile: Add rules to build and run tst-tls19.
43879         * elf/tst-tls19.c: New file.
43880         * elf/tst-tls19mod1.c: New file.
43881         * elf/tst-tls19mod2.c: New file.
43882         * elf/tst-tls19mod3.c: New file.
43883         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43884
43885         [BZ #12083]
43886         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43887         correctly.
43888
43889         [BZ #12601]
43890         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43891         two-byte sequence errors.
43892         * iconvdata/Makefile (tests): Add bug-iconv8.
43893         * iconvdata/bug-iconv8.c: New file.
43894
43895         [BZ #12626]
43896         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43897         buf2 definition.
43898
43899         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43900
43901         [BZ #12432]
43902         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43903         (dummy_getcfa): New function.
43904         (init): Get _Unwind_GetCFA address, use dummy if not found.
43905         (backtrace_helper): In recursion check, also check whether CFA changes.
43906         (__backtrace): Completely initialize arg.
43907
43908         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43909         storing incomplete byte sequence in state object.  Avoid testing for
43910         guaranteed too small input if we know there is enough data available.
43911
43912 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43913
43914         * Makeconfig (+link-pie): Indent.
43915         * Rules (binaries-pie): Define if $(have-fpie) and
43916         $(build-shared).
43917         (binaries-shared): Also filter out $(binaries-pie).
43918         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43919         * nscd/Makefile (others-pie): Add nscd.
43920         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43921         ($(objpfx)nscd): Remove command override.
43922         * login/Makefile (others-pie): Add pt_chown.
43923         ($(objpfx)pt_chown): Remove command override.
43924         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43925         remove command overrides.
43926
43927 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43928
43929         * libio/tst_putwc.c: Fix error messages.
43930
43931         [BZ #12724]
43932         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43933         currently writing and seek to current position when not.
43934         * libio/Makefile (tests): Add bug-fclose1.
43935         * libio/bug-fclose1.c: New file.
43936
43937 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43938
43939         [BZ #12511]
43940         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43941         don't set DF_1_NODELETE here.
43942         (do_lookup_x): When entering new entry test for copy relocation
43943         and if necessary set DF_1_NODELETE flag.
43944         * elf/tst-unique4.cc: New file.
43945         * elf/tst-unique4.h: New file.
43946         * elf/tst-unique4lib.cc: New file.
43947         * elf/Makefile: Add rules to build and run tst-unique4.
43948         Patch by Piotr Bury <pbury@goahead.com>.
43949
43950 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43951
43952         [BZ #12052]
43953         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43954
43955         [BZ #12625]
43956         * misc/mntent_r.c (addmntent): Flush the stream after the output
43957
43958         [BZ #12393]
43959         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43960         (is_trusted_path_normalize): Skip initial colon.  Append slash
43961         to empty buffer.  Duplicate is_trusted_path code but allow
43962         constructed patch to be prefix.
43963         (is_dst): Allow $ORIGIN followed by /.
43964         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43965         Correct testing of result of is_trusted_path_normalize
43966         (decompose_rpath): Fix warning.
43967
43968 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43969
43970         [BZ #11257]
43971         * grp/initgroups.c (internal_getgrouplist): When we found the service
43972         list through the initgroups entry in nsswitch.conf do not always
43973         continue on a successful lookup.  Don't always use the
43974         __nss_group_database value if it is set.
43975         * nss/nsswitch.conf (initgroups): Change action for successful db
43976         lookup to continue for compatibility.
43977
43978 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43979
43980         [BZ #11532]
43981         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43982         and CP774 modules.
43983         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43984         and CP774 modules.
43985         * iconvdata/tst-tables.sh: Likewise.
43986         * iconvdata/cp770.c: New file.
43987         * iconvdata/cp771.c: New file.
43988         * iconvdata/cp772.c: New file.
43989         * iconvdata/cp773.c: New file.
43990         * iconvdata/cp774.c: New file.
43991         * iconvdata/testdata/CP770: New file.
43992         * iconvdata/testdata/CP770..UTF8: New file.
43993         * iconvdata/testdata/CP771: New file.
43994         * iconvdata/testdata/CP771..UTF8: New file.
43995         * iconvdata/testdata/CP772: New file.
43996         * iconvdata/testdata/CP772..UTF8: New file.
43997         * iconvdata/testdata/CP773: New file.
43998         * iconvdata/testdata/CP773..UTF8: New file.
43999         * iconvdata/testdata/CP774: New file.
44000         * iconvdata/testdata/CP774..UTF8: New file.
44001
44002         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44003         END CHARMAP line.
44004         * iconvdata/gen-8bit-gap.sh: Likewise.
44005         * iconvdata/gen-8bit.sh: Likewise.
44006
44007         * locale/iso-639.def: Add ary entry.
44008
44009         [BZ #11258]
44010         * locale/C-translit.h.in: Add U20A1 transliteration.
44011
44012         [BZ #12178]
44013         * locale/iso-639.def: Add wae entry.
44014         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44015
44016         [BZ #12545]
44017         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44018         for n.
44019
44020         [BZ #12711]
44021         * locale/C-translit.h.in: Add entry for U20B9.
44022         Patch by pravin.d.s@gmail.com.
44023
44024 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44025
44026         [BZ #12713]
44027         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44028         ENAMETOOLONG use generic getcwd.
44029         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44030         in rtld.  Use *stat64.
44031         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44032         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44033         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44034         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44035         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44036         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44037         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44038         __fstatat64 macros.
44039         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44040         * dirent/rewinddir.c: Add libc_hidden_def.
44041         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44042         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44043
44044         * include/dirent.h (__alloc_dir): Add flags parameter.
44045         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44046         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44047         __alloc_dir.
44048         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44049         from fdopendir if O_CLOEXEC is already set.
44050
44051 2011-03-15  Alan Modra  <amodra@gmail.com>
44052
44053         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44054         l_tls_firstbyte_offset non-zero.  Save padding offset in
44055         l_tls_firstbyte_offset for later use.
44056         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44057         freeing static tls block.
44058
44059 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44060
44061         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44062         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44063         being defined by the kernel headers.
44064
44065 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44066
44067         [BZ #12734]
44068         * resolv/resolv.h: Define RES_NOTLDQUERY.
44069         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44070         no-tld-query and set RES_NOTLDQUERY.
44071         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44072         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44073         modern BIND to search name as TLD unless forbidden.
44074
44075 2011-05-07  Petr Baudis  <pasky@suse.cz>
44076             Ulrich Drepper  <drepper@gmail.com>
44077
44078         [BZ #12393]
44079         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44080         (is_trusted_path): ...to here.
44081         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44082         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44083         using is_trusted_path_normalize() in setuid scripts.
44084
44085 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44086
44087         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44088         __BEGIN/__END_DECLS.
44089
44090 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44091
44092         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44093         NSS_STATUS_NOTFOUND if no record was found.
44094
44095 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44096
44097         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44098         (headers-not-in-tirpc): Remove rpc/netdb.h
44099         * resolv/netdb.h: Revert last change.
44100
44101 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44102
44103         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44104         circular dependency between libgcc.a and libc.a.
44105
44106 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44107
44108         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44109         * nis/Makefile: Don't install rpcsvc/*.
44110         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44111         instead of <rpc/types.h>.
44112         (MAXHOSTNAMELEN): Define.
44113
44114 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44115
44116         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44117
44118 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44119
44120         [BZ #12714]
44121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44122         gethostbyname4_r when IPv6 results are possible.
44123
44124 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44125
44126         [BZ #12723]
44127         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44128         _PC_PIPE_BUF handling.
44129
44130 2011-04-30  Bruno Haible  <bruno@clisp.org>
44131
44132         [BZ #12717]
44133         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44134         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44135         to 'int'.
44136         * inet/getnameinfo.c (getnameinfo): Likewise.
44137
44138 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44139
44140         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44141         to groups setting in database lookup.
44142         * nss/nsswitch.conf: Add initgroups entry.
44143
44144 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44145
44146         [BZ #12685]
44147         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44148         mode string.
44149         Patch by Eric Blake <eblake@redhat.com>.
44150
44151 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44152
44153         * sunrpc/Makefile (need-export-routines): Add svc_run.
44154         (routines): Remove svc_run.
44155         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44156         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44157         * sunrpc/svc_run.c (svc_run): Likewise.
44158         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44159
44160 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44161
44162         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44163         problem in reallocation in last patch.
44164
44165 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44166
44167         * sunrpc/Makefile: Move inclusion of Rules.
44168
44169 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44170
44171         * nss/nss_files/files-initgroups.c: New file.
44172         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44173         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44174         _nss_files_initgroups_dyn.
44175
44176 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44177
44178         * elf/elf.h (R_ARM_IRELATIVE): Define.
44179
44180 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44181
44182         * po/ru.po: Update from translation team.
44183
44184 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44185
44186         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44187         dependencies.
44188
44189 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44190
44191         [BZ #12653]
44192         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44193         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44194         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44195         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44196         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44197
44198 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44199
44200         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44201         differing bytes.
44202         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44203         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44204         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44205
44206 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44207
44208         [BZ #12420]
44209         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44210         storing it.
44211         * stdlib/bug-getcontext.c: New file.
44212         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44213
44214 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44215
44216         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44217         instructions into .machine "z9-109".
44218         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44219         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44220
44221 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44222
44223         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44224         between environment variables and auxiliary vector.
44225
44226 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44227
44228         * Makefile: Add rules to build linkobj/libc.so.
44229         * include/libc-symbols.h: Define libc_hidden_nolink.
44230         * include/rpc/auth.h: Mark functions which are to be hidden.
44231         * include/rpc/auth_des.h: Likewise.
44232         * include/rpc/auth_unix.h: Likewise.
44233         * include/rpc/clnt.h: Likewise.
44234         * include/rpc/des_crypt.h: Likewise.
44235         * include/rpc/key_prot.h: Likewise.
44236         * include/rpc/pmap_clnt.h: Likewise.
44237         * include/rpc/pmap_prot.h: Likewise.
44238         * include/rpc/pmap_rmt.h: Likewise.
44239         * include/rpc/rpc_msg.h: Likewise.
44240         * include/rpc/svc.h: Likewise.
44241         * include/rpc/svc_auth.h: Likewise.
44242         * include/rpc/xdr.h: Likewise.
44243         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44244         * nss/Makefile: Likewise.
44245         * sunrpc/Makefile: Don't install headers.  Build library with normal
44246         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44247         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44248         for the compat linking library.  Remove use of INTDEF/INTUSE.
44249         * sunrpc/auth_none.c: Likewise.
44250         * sunrpc/auth_unix.c: Likewise.
44251         * sunrpc/authdes_prot.c: Likewise.
44252         * sunrpc/authuxprot.c: Likewise.
44253         * sunrpc/clnt_gen.c: Likewise.
44254         * sunrpc/clnt_perr.c: Likewise.
44255         * sunrpc/clnt_raw.c: Likewise.
44256         * sunrpc/clnt_simp.c: Likewise.
44257         * sunrpc/clnt_tcp.c: Likewise.
44258         * sunrpc/clnt_udp.c: Likewise.
44259         * sunrpc/clnt_unix.c: Likewise.
44260         * sunrpc/des_crypt.c: Likewise.
44261         * sunrpc/des_soft.c: Likewise.
44262         * sunrpc/get_myaddr.c: Likewise.
44263         * sunrpc/key_call.c: Likewise.
44264         * sunrpc/key_prot.c: Likewise.
44265         * sunrpc/netname.c: Likewise.
44266         * sunrpc/pm_getmaps.c: Likewise.
44267         * sunrpc/pm_getport.c: Likewise.
44268         * sunrpc/pmap_clnt.c: Likewise.
44269         * sunrpc/pmap_prot.c: Likewise.
44270         * sunrpc/pmap_prot2.c: Likewise.
44271         * sunrpc/pmap_rmt.c: Likewise.
44272         * sunrpc/publickey.c: Likewise.
44273         * sunrpc/rpc_cmsg.c: Likewise.
44274         * sunrpc/rpc_common.c: Likewise.
44275         * sunrpc/rpc_dtable.c: Likewise.
44276         * sunrpc/rpc_prot.c: Likewise.
44277         * sunrpc/rpc_thread.c: Likewise.
44278         * sunrpc/rtime.c: Likewise.
44279         * sunrpc/svc.c: Likewise.
44280         * sunrpc/svc_auth.c: Likewise.
44281         * sunrpc/svc_authux.c: Likewise.
44282         * sunrpc/svc_raw.c: Likewise.
44283         * sunrpc/svc_run.c: Likewise.
44284         * sunrpc/svc_simple.c: Likewise.
44285         * sunrpc/svc_tcp.c: Likewise.
44286         * sunrpc/svc_udp.c: Likewise.
44287         * sunrpc/svc_unix.c: Likewise.
44288         * sunrpc/svcauth_des.c: Likewise.
44289         * sunrpc/xcrypt.c: Likewise.
44290         * sunrpc/xdr.c: Likewise.
44291         * sunrpc/xdr_array.c: Likewise.
44292         * sunrpc/xdr_float.c: Likewise.
44293         * sunrpc/xdr_intXX_t.c: Likewise.
44294         * sunrpc/xdr_mem.c: Likewise.
44295         * sunrpc/xdr_rec.c: Likewise.
44296         * sunrpc/xdr_ref.c: Likewise.
44297         * sunrpc/xdr_sizeof.c: Likewise.
44298         * sunrpc/xdr_stdio.c: Likewise.
44299
44300 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44301
44302         [BZ #12650]
44303         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44304         * sysdeps/ia64/dl-tls.h: Likewise.
44305         * sysdeps/powerpc/dl-tls.h: Likewise.
44306         * sysdeps/s390/dl-tls.h: Likewise.
44307         * sysdeps/sh/dl-tls.h: Likewise.
44308         * sysdeps/sparc/dl-tls.h: Likewise.
44309         * sysdeps/x86_64/dl-tls.h: Likewise.
44310         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44311
44312 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44313
44314         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44315         rpath element also skip the following colon.
44316         (expand_dynamic_string_token): Add is_path parameter and pass
44317         down to DL_DST_REQUIRED and _dl_dst_substitute.
44318         (decompose_rpath): Call expand_dynamic_string_token with
44319         non-zero is_path.  Ignore empty rpaths.
44320         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44321         with zero is_path.
44322
44323 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44324
44325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44326         Make cancelable.
44327
44328 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44329
44330         [BZ #12655]
44331         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44332         Patch by Filipe David Manana <fdmanana@apache.org>.
44333
44334 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44335
44336         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44337         Maintain aligned stack.
44338         (CHECK_RSP): Remove unused macro.
44339
44340 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44341
44342         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44343         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44344
44345 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44346
44347         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44348
44349         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44350
44351 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44352
44353         [BZ #12518]
44354         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44355         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44356         * sysdeps/x86_64/memmove.c: New file.
44357         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44358         (memcpy): Renamed to ...
44359         (__new_memcpy): This.
44360         (memcpy): Provide GLIBC_2_14 memcpy.
44361         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44362         (memcpy): Provide GLIBC_2_2_5 memcpy.
44363
44364 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44365
44366         [BZ #12631]
44367         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44368
44369 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44370
44371         * misc/syncfs.c: New file.
44372         * misc/Makefile (routines): Add syncfs.
44373         * posix/unistd.h: Declare syncfs.
44374         * sysdeps/unix/syscalls.list: Add syncfs.
44375
44376 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44377
44378         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44379         open_by_handle_at.
44380         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44381         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44382         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44383         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44384         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44385         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44387
44388 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44389
44390         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44391         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44392         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44394         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44396         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44397
44398         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44399         sync_file_range.c with -fexceptions.
44400         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44401         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44402         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44403         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44404         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44405         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44406         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44407         sync_file_range as cancellation point
44408         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44409         now a wrapper around __call_sync_file_range with cancellation handling.
44410         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44411         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44412         function name to __call_sync_file_range.
44413         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44414         Add call_sync_file_range.
44415
44416 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44417
44418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44419         bits/timex.h.
44420
44421 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44422
44423         * iconv/iconv.h: Fix typo in comment.
44424         * io/fcntl.h: Likewise.
44425         * libio/stdio.h: Likewise.
44426         * posix/spawn.h: Likewise.
44427         * posix/unistd.h: Likewise.
44428         * stdlib/stdlib.h: Likewise.
44429         * time/time.h: Likewise.
44430         * wcsmbs/wchar.h: Likewise.
44431
44432         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44433         open_by_handle): Add.
44434         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44435         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44436         Augment a few comments.
44437         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44439         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44440         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44441         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44442         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44443         open_by_handle.
44444
44445         * io/fcntl.h (AT_EMPTY_PATH): Define.
44446
44447 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44448
44449         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44450         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44451         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44452         to...
44453         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44454         * Versions.def: Add GLIBC_2.14.
44455         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44456         Export.
44457
44458 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44459
44460         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44461         round counter.
44462         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44463
44464 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44465
44466         [BZ #12597]
44467         * string/test-strncmp.c (do_page_test): New function.
44468         (check2): Likewise.
44469         (test_main): Call check2.
44470         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44471
44472 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44473
44474         [BZ #12587]
44475         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44476         Handle cache information in CPU leaf 4.
44477         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44478
44479 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44480
44481         [BZ #12583]
44482         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44483         character representation.
44484         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44485
44486 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44487
44488         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44489         END(__isnan) to END(__isnanf) to match function entry point/label
44490         EALIGN(__isnanf,...).
44491
44492 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44493
44494         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44495
44496 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44497
44498         [BZ #12510]
44499         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44500         copy from the symbol referenced in the relocation to initialize the
44501         used variable.
44502         Patch by Piotr Bury <pbury@goahead.com>.
44503         * elf/Makefile: Add rules to build and tst-unique3.
44504         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44505         * elf/tst-unique3.cc: New file.
44506         * elf/tst-unique3.h: New file.
44507         * elf/tst-unique3lib.cc: New file.
44508         * elf/tst-unique3lib2.cc: New file.
44509
44510         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44511
44512 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44513
44514         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44515         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44516         to _start.
44517
44518 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44519
44520         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44521         to-be-loaded object along a path to loader is ld.so.
44522
44523 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44524             Ulrich Drepper  <drepper@gmail.com>
44525
44526         * sysdeps/x86_64/memset.S: After aligning destination, code
44527         branches to different locations depending on the value of
44528         misalignment, when multiarch is enabled. Fix this.
44529
44530 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44531
44532         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44533         Set _x86_64_preferred_memory_instruction for AMD processsors.
44534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44535         Set bit_Prefer_SSE_for_memop for AMD processors.
44536
44537 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44538
44539         * libio/fmemopen.c (fmemopen): Optimize a bit.
44540
44541 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44542
44543         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44544
44545 2011-03-03  Roland McGrath  <roland@redhat.com>
44546
44547         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44548
44549 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44550
44551         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44552         __bzero_ultra1 instead of __memset_ultra1.
44553
44554 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44555             Ulrich Drepper  <drepper@gmail.com>
44556
44557         [BZ #12509]
44558         * include/link.h (struct link_map): Add l_orig_initfini.
44559         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44560         returning unsuccessfully.
44561         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44562         close of a file loaded at startup, restore the original l_initfini
44563         list.
44564         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44565         list, store the pointer.
44566         * elf/Makefile ($(objpfx)noload-mem): New rule.
44567         (noload-ENV): Define.
44568         (tests): Add $(objpfx)noload-mem.
44569         * elf/noload.c: Include <memcheck.h>.
44570         (main): Call mtrace.  Close all opened handles.
44571
44572 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44573
44574         [BZ #12454]
44575         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44576         dependencies are missing.
44577
44578 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44579
44580         Fix __if_freereq crash: Unlike the generic version which uses free,
44581         Hurd needs munmap.
44582         * sysdeps/mach/hurd/ifreq.h: New file.
44583
44584 2011-01-27  Petr Baudis  <pasky@suse.cz>
44585             Ulrich Drepper  <drepper@gmail.com>
44586
44587         [BZ 12445]#
44588         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44589         to extend_alloca().
44590         * stdio-common/bug23.c: New file.
44591         * stdio-common/Makefile (tests): Add bug23.
44592
44593 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44594             Ulrich Drepper  <drepper@gmail.com>
44595
44596         [BZ #12489]
44597         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44598         before performing relro protection.  At old place add assertion
44599         to make sure nothing changed.
44600
44601 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44602             Glauber de Oliveira Costa  <glommer@gmail.com>
44603
44604         * elf/elf.h: Add new ARM TLS relocs.
44605
44606 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44607
44608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44609         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44610         cast from r3.
44611         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44612         'tests' variable.
44613         * sysdeps/wordsize-64/tst-writev.c: New file.
44614
44615 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44616
44617         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44618         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44619         insns in _dl_start to prevent a TOC reference before relocs are
44620         resolved.
44621
44622 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44623
44624         [BZ #12469]
44625         * Makeconfig: Remove RANLIB definition.
44626         * Makerules: Don't use RANLIB.
44627         * aclocal.m4: Remove ranlib test.
44628         * configure.in: No need to check for ranlib.
44629         * elf/rtld-Rules: Don't use RANLIB.
44630
44631 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44632
44633         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44634         protection macro.
44635         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44636         inclusion protection macro.
44637
44638         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44639         SIGRTMIN and SIGRTMAX and print information in that case only when
44640         SIGRTMIN is defined.
44641
44642 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44643
44644         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44645         arginfo fn returning -1.
44646
44647         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44648         and thousands string is zero terminated.
44649
44650 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44651
44652         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44653         sysdeps/unix/sysv/linux/bits/socket.h.
44654
44655 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44656
44657         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44658         (__CPU_COUNT): Remove old macros.
44659         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44660         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44661         (__CPU_ALLOC, __CPU_FREE): Add macros.
44662         (__sched_cpualloc, __sched_cpufree): Add declarations.
44663
44664 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44665
44666         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44667         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44668         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44669         (readdhstai): Return value of addhstaiX call.
44670         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44671         (addgrbyX): Return value returned by cache_addgr.
44672         (readdgrbyname): Return value returned by addgrbyX.
44673         (readdgrbygid): Likewise.
44674         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44675         (addpwbyX): Return value returned by cache_addpw.
44676         (readdpwbyname): Return value returned by addhstbyX.
44677         (readdpwbyuid): Likewise.
44678         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44679         (addservbyX): Return value returned by cache_addserv.
44680         (readdservbyname): Return value returned by addservbyX:
44681         (readdservbyport): Likewise.
44682         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44683         (addhstbyX): Return value returned by cache_addhst.
44684         (readdhstbyname): Return value returned by addhstbyX.
44685         (readdhstbyaddr): Likewise.
44686         (readdhstbynamev6): Likewise.
44687         (readdhstbyaddrv6): Likewise.
44688         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44689         (readdinitgroups): Return value returned by addinitgroupsX.
44690         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44691         (prune_cache): Keep track of timeout value of re-added entries.
44692         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44693         * nscd/nscd.h: Adjust prototypes of readd* functions.
44694
44695 2011-02-04  Roland McGrath  <roland@redhat.com>
44696
44697         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44698         (nis_stats): Likewise.
44699         * nis/nis_modify.c (nis_modify): Likewise.
44700         * nis/nis_remove.c (nis_remove): Likewise.
44701         * nis/nis_add.c (nis_add): Likewise.
44702
44703         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44704
44705         * posix/fnmatch_loop.c: Add some consts.
44706
44707         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44708
44709 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44710
44711         [BZ #12460]
44712         * config.make.in (config-cflags-novzeroupper): Define.
44713         * configure.in: Substitute libc_cv_cc_novzeroupper.
44714         * elf/Makefile (AVX-CFLAGS): Define.
44715         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44716         (CFLAGS-tst-auditmod4a.c): Likewise.
44717         (CFLAGS-tst-auditmod4b.c): Likewise.
44718         (CFLAGS-tst-auditmod6b.c): Likewise.
44719         (CFLAGS-tst-auditmod6c.c): Likewise.
44720         (CFLAGS-tst-auditmod7b.c): Likewise.
44721         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44722
44723 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44724
44725         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44726         function to the callback.
44727         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44728
44729 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44730
44731         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44732         of errno.
44733
44734 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44735
44736         [BZ #11724]
44737         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44738         of constructors.
44739         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44740         of destructors.
44741         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44742
44743         [BZ #11724]
44744         * elf/Makefile: Add rules to build and run new test.
44745         * elf/tst-initorder.c: New file.
44746         * elf/tst-initorder.exp: New file.
44747         * elf/tst-initordera1.c: New file.
44748         * elf/tst-initordera2.c: New file.
44749         * elf/tst-initordera3.c: New file.
44750         * elf/tst-initordera4.c: New file.
44751         * elf/tst-initorderb1.c: New file.
44752         * elf/tst-initorderb2.c: New file.
44753         * elf/tst-order-a1.c: New file.
44754         * elf/tst-order-a2.c: New file.
44755         * elf/tst-order-a3.c: New file.
44756         * elf/tst-order-a4.c: New file.
44757         * elf/tst-order-b1.c: New file.
44758         * elf/tst-order-b2.c: New file.
44759         * elf/tst-order-main.c: New file.
44760         New test case by George Gensure <werkt0@gmail.com>.
44761
44762 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44763
44764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44765         decoding ACE if AI_CANONIDN.
44766
44767 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44768
44769         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44770
44771 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44772
44773         * version.h (RELEASE): Bump for 2.13 release.
44774         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44775
44776         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44777
44778         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44779         MADV_NOHUGEPAGE.
44780         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44781         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44782         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44783         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44784         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44785         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44786
44787         * posix/getconf.c: Update copyright year.
44788         * catgets/gencat.c: Likewise.
44789         * csu/version.c: Likewise.
44790         * debug/catchsegv.sh: Likewise.
44791         * debug/xtrace.sh: Likewise.
44792         * elf/ldconfig.c: Likewise.
44793         * elf/ldd.bash.in: Likewise.
44794         * elf/sprof.c (print_version): Likewise.
44795         * iconv/iconv_prog.c: Likewise.
44796         * iconv/iconvconfig.c: Likewise.
44797         * locale/programs/locale.c: Likewise.
44798         * locale/programs/localedef.c: Likewise.
44799         * malloc/memusage.sh: Likewise.
44800         * malloc/mtrace.pl: Likewise.
44801         * nscd/nscd.c (print_version): Likewise.
44802         * nss/getent.c: Likewise.
44803
44804         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44805         PF_CAIF, and PF_ALG.
44806         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44807
44808 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44809
44810         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44811         (modules-names): Use them.
44812         (ifunc-test-modules, ifunc-pie-tests): Define.
44813         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44814         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44815         (test-extras): Likewise.
44816         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44817         $(compile-command.c).
44818         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44819         (all-built-dso): Define.
44820         (check-textrel.out, check-execstack.out): Depend on it.
44821
44822         * configure.in: Don't override --enable-multi-arch.
44823
44824 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44825
44826         [BZ #6812]
44827         * nscd/hstcache.c (tryagain): Define.
44828         (cache_addhst): Return tryagain not notfound for temporary errors.
44829         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44830         failed.
44831
44832 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44833
44834         [BZ #10563]
44835         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44836         to make the syscall.
44837         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44838
44839         [BZ #12378]
44840         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44841         and fall back to matching as normal character if the string ends before
44842         the matching ']' is found.  This is what POSIX requires.
44843         * posix/testfnm.c: Adjust test result.
44844         * posix/globtest.sh: Adjust test result.  Add new test.
44845         * posix/tst-fnmatch.input: Likewise.
44846         * posix/tst-fnmatch2.c: Add new test.
44847
44848 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44849
44850         * elf/Makefile (check-execstack): Revert last change.  Depend on
44851         check-execstack.h.
44852         (check-execstack.h): New target.
44853         (generated): Add check-execstack.h.
44854         * elf/check-execstack.c: Include "check-execstack.h".
44855         (main): Revert last change.
44856         (handle_file): Return zero if GNU_STACK is absent and
44857         DEFAULT_STACK_PERMS doesn't include PF_X.
44858
44859 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44860
44861         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44862         in child fails because the descriptor is already closed.
44863         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44864         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44865         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44866
44867         [BZ #12397]
44868         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44869         syscall.
44870
44871         [BZ #10484]
44872         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44873         temporary buffer used to handle multi lookups locally.
44874         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44875
44876 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44877
44878         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44879         loader is ld.so.
44880
44881 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44882
44883         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44884         alignment for SSE2.
44885
44886 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44887
44888         [BZ #12394]
44889         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44890         characters.  When rounding increased number of integer digits recompute
44891         number of groups.
44892         * stdio-common/tst-grouping.c: New file.
44893         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44894
44895 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44896
44897         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44898         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44899
44900         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44901         void.
44902         * bits/select.h: Likewise.
44903
44904 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44905
44906         * po/ja.po: Update from translation team.
44907
44908 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44909
44910         [BZ #11155]
44911         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44912         implementation just like for lxstat, fxstatat, et al.
44913
44914 2010-12-27  Jim Meyering  <meyering@redhat.com>
44915
44916         [BZ #12348]
44917         * posix/regexec.c (build_trtable): Return failure indication upon
44918         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44919
44920 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44921
44922         [BZ #12201]
44923         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44924         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44925         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44926         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44927
44928         [BZ #12207]
44929         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44930
44931         [BZ #12204]
44932         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44933         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44934
44935 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44936
44937         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44938         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44939         script has SORT_BY_INIT_PRIORITY.
44940         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44941         NO_CTORS_DTORS_SECTIONS is defined.
44942         * elf/soinit.c: Likewise.
44943         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44944         NO_CTORS_DTORS_SECTIONS is defined.
44945         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44946         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44947         * sysdeps/sh/init-first.c: Likewise.
44948         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44949
44950 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44951
44952         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44953         always use the slow path.
44954
44955 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44956
44957         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44958         similar rule which adds the sysdep directories to the header search in
44959         order to pick up the correct platform stackinfo.h.
44960         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44961         perform test if it is, otherwise return successfully without testing.
44962         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44963         DEFAULT_STACK_PERMS define in stackinfo.h.
44964         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44965         defined in stackinfo.h.
44966         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44967         DEFAULT_STACK_PERMS defined in stackinfo.h.
44968         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44969         * sysdeps/ia64/stackinfo.h: Likewise.
44970         * sysdeps/s390/stackinfo.h: Likewise.
44971         * sysdeps/sh/stackinfo.h: Likewise.
44972         * sysdeps/sparc/stackinfo.h: Likewise.
44973         * sysdeps/x86_64/stackinfo.h: Likewise.
44974         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44975         PF_X for powerpc64.  Retain PF_X for powerpc32.
44976
44977 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44978
44979         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44980         accurately.
44981         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44982         GETDENTS_64BIT_ALIGNED.
44983
44984 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
44985
44986         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44987
44988 2010-12-10  Andreas Schwab  <schwab@redhat.com>
44989
44990         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44991         _GNU_SOURCE.
44992
44993         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44994         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44995         Remove __restrict.
44996         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44997         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44998
44999 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45000
45001         [BZ #11655]
45002         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45003         are initialized.
45004
45005 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45006
45007         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45008
45009 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45010
45011         * po/it.po: Update from translation team.
45012
45013 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45014
45015         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45016         unused codes.
45017
45018 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45019
45020         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45021
45022 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45023
45024         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45025         specially.
45026         (gaih_getanswer_slice): Likewise.
45027
45028 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45029
45030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45031
45032 2010-05-31  Petr Baudis  <pasky@suse.cz>
45033
45034         [BZ #11149]
45035         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45036         silently even in the chroot mode.
45037
45038 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45039
45040         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45041         last patch a bit.  Pretty printing
45042
45043 2010-05-31  Petr Baudis <pasky@suse.cz>
45044
45045         [BZ #10085]
45046         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45047         initialization of skip_initgroups_dyn.
45048
45049 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45050
45051         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45052         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45053
45054 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45055
45056         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45057
45058 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45059
45060         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45061         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45062         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45063         ($(objpfx)tst-fnmatch-mem): New rule.
45064         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45065         * posix/tst-fnmatch.c (main): Call mtrace.
45066
45067 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45068
45069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45070         Support Intel processor model 6 and model 0x2c.
45071
45072 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45073
45074         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45075           signed comparison.
45076
45077 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45078
45079         [BZ #12205]
45080         * string/test-strncasecmp.c (check_result): New function.
45081         (do_one_test): Use it.
45082         (check1): New function.
45083         (test_main): Use it.
45084         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45085         Support strcasecmp and strncasecmp.
45086
45087 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45088
45089         [BZ #12194]
45090         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45091         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45092
45093 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45094
45095         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45096         IFUNC support.
45097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45098         memset-x86-64.
45099         * sysdeps/x86_64/multiarch/bzero.S: New file.
45100         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45101         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45102         * sysdeps/x86_64/multiarch/memset.S: New file.
45103         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45105         Set bit_Prefer_SSE_for_memop for Intel processors.
45106         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45107         Define.
45108         (index_Prefer_SSE_for_memop): Define.
45109         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45110
45111 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45112
45113         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45114         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45115
45116 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45117
45118         [BZ #12191]
45119         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45120         (__x86_64_raw_data_cache_size_half): Likewise.
45121         (__x86_64_raw_shared_cache_size): Likewise.
45122         (__x86_64_raw_shared_cache_size_half): Likewise.
45123
45124         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45125         (__x86_64_raw_data_cache_size_half): Likewise.
45126         (__x86_64_raw_shared_cache_size): Likewise.
45127         (__x86_64_raw_shared_cache_size_half): Likewise.
45128         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45129         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45130         and __x86_64_raw_shared_cache_size_half.  Round
45131         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45132         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45133         to multiple of 256 bytes.
45134
45135 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45136
45137         [BZ #12167]
45138         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45139         of inacessible symlinks.  Verify result of symlink before returning it.
45140         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45141         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45142
45143 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45144
45145         * math/math.h (isinf): Fix typo in comment.
45146
45147 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45148
45149         * po/da.po: Update from translation team.
45150
45151 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45152
45153         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45154         is added to the list.
45155
45156 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45157             Ulrich Drepper  <drepper@gmail.com>
45158
45159         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45160         the global list here.  Move code to...
45161         (_dl_add_to_namespace_list): ...here.  New function.
45162         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45163         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45164         * elf/dl-load.c (lose): Don't remove the element from the list.
45165         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45166         (_dl_map_object): Likewise.
45167
45168 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45169
45170         [BZ #12159]
45171         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45172         into all bytes of SSE register.
45173         Patch by Richard Li <richardpku@gmail.com>.
45174
45175 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45176
45177         [BZ #12140]
45178         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45179         perturbing.
45180
45181 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45182
45183         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45184         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45185         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45186         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45188         submachine.
45189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45190
45191 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45192
45193         * include/dlfcn.h (__RTLD_SECURE): Define.
45194         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45195         mode & __RTLD_SECURE instead.
45196         (open_path): Rename preloaded parameter to secure.
45197         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45198         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45199         * elf/dl-deps.c (openaux): Likewise.
45200         * elf/rtld.c (struct map_args): Remove is_preloaded.
45201         (map_doit): Don't use it.
45202         (dl_main): Likewise.
45203         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45204         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45205
45206 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45207
45208         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45209         (sysd-rules-targets): Remove duplicates.
45210         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45211         rtld-%.$o dependency.
45212
45213 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45214
45215         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45216         _dl_map_object do it.
45217
45218 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45219
45220         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45221         fast fma builtins, define the macros in the C99 standard.
45222         (FP_FAST_FMAF): Likewise.
45223         (FP_FAST_FMAL): Likewise.
45224         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45225
45226         * bits/mathdef.h: Update copyright year.
45227         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45228
45229 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45230
45231         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45232         builtins, define the macros in the C99 standard.
45233         (FP_FAST_FMAF): Likewise.
45234         (FP_FAST_FMAL): Likewise.
45235         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45236         multiply/add.
45237         (FP_FAST_FMAF): Likewise.
45238
45239 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45240
45241         [BZ #3268]
45242         * math/libm-test.inc (fma_test): Some new testcases.
45243         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45244         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45245         y and infinite z.  Do multiplication by C already in long double.
45246         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45247         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45248         y and infinite z.  Do bitwise or of inexact bit into u.d.
45249         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45250         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45251         * sysdeps/i386/fpu/s_fma.S: Removed.
45252         * sysdeps/i386/fpu/s_fmal.S: Removed.
45253
45254 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45255
45256         [BZ #3268]
45257         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45259         computation is not scheduled after fetestexcept.  Fix value
45260         of minimum denormal long double.
45261
45262 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45263
45264         [BZ #3268]
45265         * math/libm-test.inc (fma_test): Add some more tests.
45266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45267         correctly.
45268
45269 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45270
45271         * scripts/data/localplt-s390-linux-gnu.data: New file.
45272         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45273
45274 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45275
45276         [BZ #3268]
45277         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45278         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45279         instead of dbl-64.
45280         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45281         inlines.
45282         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45283         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45284         if one of x and y is very large and the other is subnormal.
45285         * sysdeps/s390/fpu/s_fmaf.c: New file.
45286         * sysdeps/s390/fpu/s_fma.c: New file.
45287         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45288         * sysdeps/powerpc/fpu/s_fma.S: New file.
45289         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45290         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45291         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45292
45293 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45294
45295         [BZ #3268]
45296         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45297         fma tests.
45298         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45299         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45300         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45301         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45302         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45303         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45304         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45305
45306 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45307
45308         [BZ #12078]
45309         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45310         * posix/bug-regex31.input: Add test case.
45311
45312 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45313
45314         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45315         * posix/bug-regex31.input: New file.
45316
45317         [BZ #12078]
45318         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45319         (parse_sub_exp): Fix last change, use postorder.
45320
45321         * posix/bug-regex31.c: New file.
45322         * posix/Makefile: Add rules to build and run bug-regex31.
45323
45324         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45325
45326         [BZ #12078]
45327         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45328
45329         [BZ #12108]
45330         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45331         to have entries in sys_siglist.
45332
45333         [BZ #12093]
45334         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45335         be NULL.
45336
45337 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45338
45339         [BZ #3268]
45340         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45341         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45342         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45343         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45344         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45345         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45346         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45347         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45348         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45349         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45350         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45351         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45352         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45353         * math/ftestexcept.c (fetestexcept): Likewise.
45354         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45355         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45356         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45357         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45358         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45359         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45360         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45361
45362 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45363
45364         [BZ #12107]
45365         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45366         newline.
45367
45368 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45369
45370         * string/bug-strstr1.c: New file.
45371         * string/Makefile: Add rules to build and run bug-strstr1.
45372
45373 2010-10-05  Eric Blake  <eblake@redhat.com>
45374
45375         [BZ #12092]
45376         * string/str-two-way.h (two_way_long_needle): Always clear memory
45377         when skipping input due to the shift table.
45378
45379 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45380
45381         [BZ #12005]
45382         * malloc/mcheck.c: Handle large requests.
45383
45384         [BZ #12077]
45385         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45386         for strncmp and strncasecmp.
45387         * string/stratcliff.c: Add tests for strcmp and strncmp.
45388         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45389
45390 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45391
45392         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45393         __set_fpscr.
45394
45395 2010-09-30  Andreas Jaeger  <aj@suse.de>
45396
45397         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45398         (CGROUP_SUPER_MAGIC): Define.
45399         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45400         Handle btrfs and cgroup file systems.
45401         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45402         Likewise.
45403
45404 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45405
45406         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45407         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45408
45409 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45410
45411         [BZ #12067]
45412         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45413         trying to locate the ELF header.
45414
45415 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45416
45417         [BZ #11611]
45418         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45419         Mask out sign-bit copies when constructing f_fsid.
45420
45421 2010-09-24  Petr Baudis <pasky@suse.cz>
45422
45423         * debug/stack_chk_fail_local.c: Add missing licence exception.
45424         * debug/warning-nop.c: Likewise.
45425
45426 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45427
45428         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45429         implementing getdents64 using getdents syscall, set d_type if
45430         __ASSUME_GETDENTS32_D_TYPE.
45431
45432 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45433
45434         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45435         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45436
45437 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45438
45439         [BZ #12037]
45440         * posix/unistd.h: Undo change of feature selection for ftruncate from
45441         2010-01-11.
45442
45443 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45444
45445         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45446         detection.
45447
45448 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45449
45450         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45451         fanotify_mark.
45452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45453
45454 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45455
45456         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45457         variables after CHECK_SP call.
45458         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45459
45460 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45461             Ulrich Drepper  <drepper@redhat.com>
45462
45463         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45464         re-relocationg ld.so.
45465         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45466         _dl_init_paths call.
45467         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45468         here anymore.
45469
45470 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45471
45472         * resolv/res_init.c (__res_vinit): Count the default server we added.
45473
45474 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45475             Ulrich Drepper  <drepper@redhat.com>
45476
45477         [BZ #11968]
45478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45479         (____longjmp_chk): Use %ebx for saving value across system call.
45480         Add unwind info.
45481
45482 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45483
45484         * manual/Makefile: Don't mix pattern rules with normal rules.
45485
45486 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45487
45488         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45489         operation.
45490         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45491         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45492         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45493         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45494         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45495         Likewise.
45496
45497 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45498
45499         [BZ #11979]
45500         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45501         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45502
45503 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45504
45505         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45506         * sysdeps/x86_64/addmul_1.S: Likewise.
45507         * sysdeps/x86_64/lshift.S: Likewise.
45508         * sysdeps/x86_64/mul_1.S: Likewise.
45509         * sysdeps/x86_64/rshift.S: Likewise.
45510         * sysdeps/x86_64/sub_n.S: Likewise.
45511         * sysdeps/x86_64/submul_1.S: Likewise.
45512
45513 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45514
45515         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45516         Define __sched_param instead of SCHED_* and sched_param when
45517         <bits/sched.h> is included with __need_schedparam defined.
45518         * bits/sched.h [__need_schedparam]
45519         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45520         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45521         (__defined_schedparam): Define to 1.
45522         (__sched_param): New structure, identical to sched_param.
45523         (__need_schedparam): Undefine.
45524
45525 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45526
45527         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45528         (epoll_create1): Declare.
45529
45530         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45531
45532 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45533
45534         [BZ #7066]
45535         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45536         shifting retval into place.
45537
45538 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45539
45540         * nis/rpcsvc/nis.h: Update copyright notice.
45541         * nis/rpcsvc/nis.x: Likewise.
45542         * nis/rpcsvc/nis_callback.h: Likewise.
45543         * nis/rpcsvc/nis_callback.x: Likewise.
45544         * nis/rpcsvc/nis_object.x: Likewise.
45545         * nis/rpcsvc/nis_tags.h: Likewise.
45546         * nis/rpcsvc/yp.h: Likewise.
45547         * nis/rpcsvc/yp.x: Likewise.
45548         * nis/rpcsvc/ypupd.h: Likewise.
45549         * nis/yp_xdr.c: Likewise.
45550         * nis/ypupdate_xdr.c: Likewise.
45551
45552         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45553         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45554         (pmap_getport): Use __libc_rpc_getport.
45555         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45556         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45557         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45558
45559 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45560
45561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45562         fanotify_mark.
45563
45564 2010-08-27  Roland McGrath  <roland@redhat.com>
45565
45566         * sysdeps/i386/i686/multiarch/Makefile
45567         (CFLAGS-varshift.c): New variable.
45568
45569 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45570
45571         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45572         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45573
45574         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45575
45576         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45577
45578 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45579
45580         * sysdeps/x86_64/strlen.S: Unroll the loop.
45581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45582         strlen-sse2 strlen-sse2-bsf.
45583         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45584         __strlen_no_bsf if bit_Slow_BSF is set.
45585         (__strlen_sse42): Removed.
45586         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45587         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45588
45589 2010-08-25  Roland McGrath  <roland@redhat.com>
45590
45591         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45592         * sysdeps/x86_64/multiarch/varshift.c: New file.
45593         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45594         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45595         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45596         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45597
45598 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45599
45600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45601         strlen-sse2 strlen-sse2-bsf.
45602         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45603         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45604         (__strlen_sse2): Removed.
45605         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45606         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45608         bit_Slow_BSF for Atom.
45609         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45610         (index_Slow_BSF): Define.
45611         (HAS_SLOW_BSF): Define.
45612
45613 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45614
45615         [BZ #10851]
45616         * resolv/res_init.c (__res_vinit): When no server address at all
45617         is given default to loopback.
45618
45619 2010-08-24  Roland McGrath  <roland@redhat.com>
45620
45621         * configure.in: Remove config-name.h generation.
45622         * configure: Regenerated.
45623         * config-name.in: File removed.
45624         * scripts/config-uname.sh: New file.
45625         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45626         ($(objdir)config-name.h): New target.
45627
45628         * sunrpc/rpc_parse.h: Avoid nested comment.
45629
45630 2010-08-24  Richard Henderson  <rth@redhat.com>
45631             Ulrich Drepper  <drepper@redhat.com>
45632             H.J. Lu  <hongjiu.lu@intel.com>
45633
45634         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45636         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45637         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45638         _mm_alignr_epi8 with _mm_loadu_si128.
45639         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45640         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45641         (__m128i_shift_right): Removed.
45642         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45643         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45644         * sysdeps/x86_64/multiarch/varshift.h: New file.
45645         * sysdeps/x86_64/multiarch/varshift.S: New file.
45646
45647 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45648
45649         * configure.in: Move assembler checks to before sysdep dir checking.
45650
45651 2010-08-20  Petr Baudis  <pasky@suse.cz>
45652
45653         * LICENSES: Sync the sunrpc license.
45654
45655 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45656
45657         * sunrpc/auth_des.c: Update copyright notice once again.
45658         * sunrpc/auth_none.c: Likewise.
45659         * sunrpc/auth_unix.c: Likewise.
45660         * sunrpc/authdes_prot.c: Likewise.
45661         * sunrpc/authuxprot.c: Likewise.
45662         * sunrpc/bindrsvprt.c: Likewise.
45663         * sunrpc/clnt_gen.c: Likewise.
45664         * sunrpc/clnt_perr.c: Likewise.
45665         * sunrpc/clnt_raw.c: Likewise.
45666         * sunrpc/clnt_simp.c: Likewise.
45667         * sunrpc/clnt_tcp.c: Likewise.
45668         * sunrpc/clnt_udp.c: Likewise.
45669         * sunrpc/clnt_unix.c: Likewise.
45670         * sunrpc/des_crypt.c: Likewise.
45671         * sunrpc/des_soft.c: Likewise.
45672         * sunrpc/get_myaddr.c: Likewise.
45673         * sunrpc/getrpcport.c: Likewise.
45674         * sunrpc/key_call.c: Likewise.
45675         * sunrpc/key_prot.c: Likewise.
45676         * sunrpc/openchild.c: Likewise.
45677         * sunrpc/pm_getmaps.c: Likewise.
45678         * sunrpc/pm_getport.c: Likewise.
45679         * sunrpc/pmap_clnt.c: Likewise.
45680         * sunrpc/pmap_prot.c: Likewise.
45681         * sunrpc/pmap_prot2.c: Likewise.
45682         * sunrpc/pmap_rmt.c: Likewise.
45683         * sunrpc/rpc/auth.h: Likewise.
45684         * sunrpc/rpc/auth_unix.h: Likewise.
45685         * sunrpc/rpc/clnt.h: Likewise.
45686         * sunrpc/rpc/des_crypt.h: Likewise.
45687         * sunrpc/rpc/key_prot.h: Likewise.
45688         * sunrpc/rpc/netdb.h: Likewise.
45689         * sunrpc/rpc/pmap_clnt.h: Likewise.
45690         * sunrpc/rpc/pmap_prot.h: Likewise.
45691         * sunrpc/rpc/pmap_rmt.h: Likewise.
45692         * sunrpc/rpc/rpc.h: Likewise.
45693         * sunrpc/rpc/rpc_des.h: Likewise.
45694         * sunrpc/rpc/rpc_msg.h: Likewise.
45695         * sunrpc/rpc/svc.h: Likewise.
45696         * sunrpc/rpc/svc_auth.h: Likewise.
45697         * sunrpc/rpc/types.h: Likewise.
45698         * sunrpc/rpc/xdr.h: Likewise.
45699         * sunrpc/rpc_clntout.c: Likewise.
45700         * sunrpc/rpc_cmsg.c: Likewise.
45701         * sunrpc/rpc_common.c: Likewise.
45702         * sunrpc/rpc_cout.c: Likewise.
45703         * sunrpc/rpc_dtable.c: Likewise.
45704         * sunrpc/rpc_hout.c: Likewise.
45705         * sunrpc/rpc_main.c: Likewise.
45706         * sunrpc/rpc_parse.c: Likewise.
45707         * sunrpc/rpc_parse.h: Likewise.
45708         * sunrpc/rpc_prot.c: Likewise.
45709         * sunrpc/rpc_sample.c: Likewise.
45710         * sunrpc/rpc_scan.c: Likewise.
45711         * sunrpc/rpc_scan.h: Likewise.
45712         * sunrpc/rpc_svcout.c: Likewise.
45713         * sunrpc/rpc_tblout.c: Likewise.
45714         * sunrpc/rpc_util.c: Likewise.
45715         * sunrpc/rpc_util.h: Likewise.
45716         * sunrpc/rpcinfo.c: Likewise.
45717         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45718         * sunrpc/rpcsvc/key_prot.x: Likewise.
45719         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45720         * sunrpc/rpcsvc/mount.x: Likewise.
45721         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45722         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45723         * sunrpc/rpcsvc/rex.x: Likewise.
45724         * sunrpc/rpcsvc/rstat.x: Likewise.
45725         * sunrpc/rpcsvc/rusers.x: Likewise.
45726         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45727         * sunrpc/rpcsvc/spray.x: Likewise.
45728         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45729         * sunrpc/rtime.c: Likewise.
45730         * sunrpc/svc.c: Likewise.
45731         * sunrpc/svc_auth.c: Likewise.
45732         * sunrpc/svc_authux.c: Likewise.
45733         * sunrpc/svc_raw.c: Likewise.
45734         * sunrpc/svc_run.c: Likewise.
45735         * sunrpc/svc_simple.c: Likewise.
45736         * sunrpc/svc_tcp.c: Likewise.
45737         * sunrpc/svc_udp.c: Likewise.
45738         * sunrpc/svc_unix.c: Likewise.
45739         * sunrpc/svcauth_des.c: Likewise.
45740         * sunrpc/xcrypt.c: Likewise.
45741         * sunrpc/xdr.c: Likewise.
45742         * sunrpc/xdr_array.c: Likewise.
45743         * sunrpc/xdr_float.c: Likewise.
45744         * sunrpc/xdr_mem.c: Likewise.
45745         * sunrpc/xdr_rec.c: Likewise.
45746         * sunrpc/xdr_ref.c: Likewise.
45747         * sunrpc/xdr_sizeof.c: Likewise.
45748         * sunrpc/xdr_stdio.c: Likewise.
45749
45750         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45751         handling.
45752
45753 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45754
45755         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45756
45757 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45758
45759         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45760         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45761         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45762         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45763         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45764         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45765         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45766         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45767         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45768         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45769         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45770         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45771         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45772         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45773
45774 2010-07-26  Anton Blanchard  <anton@samba.org>
45775
45776         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45777         * malloc/arena.c (heap_trim): Likewise.
45778
45779 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45780
45781         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45782         here.  Not...
45783         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45784         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45785
45786 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45787
45788         * sysdeps/i386/elf/Makefile: New file.
45789
45790 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45791
45792         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45793         from fanotify_init.
45794         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45795         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45796
45797 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45798
45799         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45800         of strncasecmp_l.
45801         * sysdeps/multiarch/strcmp.S: Likewise.
45802
45803 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45804
45805         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45806         strncase_l-nonascii.
45807         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45808         Add strncase_l-ssse3.
45809         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45810         * sysdeps/x86_64/strcmp.S: Likewise.
45811         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45812         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45813         * sysdeps/x86_64/strncase.S: New file.
45814         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45815         * sysdeps/x86_64/strncase_l.S: New file.
45816         * string/Makefile (strop-tests): Add strncasecmp.
45817         * string/test-strncasecmp.c: New file.
45818
45819         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45820         warning.
45821
45822         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45823         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45824
45825 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45826
45827         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45828
45829 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45830
45831         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45832         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45833         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45834
45835 2010-05-01  Alan Modra  <amodra@gmail.com>
45836
45837         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45838         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45839         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45840         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45841         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45842         tidying.  Don't tail-call __sigjmp_save for static lib.
45843         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45844         save location.
45845         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45846         (CALL_MCOUNT): Add eh info, and nop after bl.
45847         (TAIL_CALL_SYSCALL_ERROR): New macro.
45848         (PSEUDO_RET): Use it.
45849         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45850         Correct save location of integer regs and cr.
45851         (_dl_profile_resolve): Correct cr save location.  Delete nops
45852         after bl when SHARED.  Reduce cfi size a little by better
45853         placement of cfi directives.
45854         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45855         make a stack frame.  Instead use parm save area as a temp.
45856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45857         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45859         Don't make a stack frame for parent, use parm save area.
45860         Increase child stack frame to 112 bytes.  Don't save unused reg,
45861         and adjust reg usage.  Set up cfi on error recovery and
45862         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45864         (__makecontext): Add dummy nop after jump to exit.
45865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45866         Use correct parm save area and cr save, reduce stack frame.
45867         Correct cfi for possible PSEUDO_RET frame setup.
45868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45869         Branch to local label emitted by PSEUDO_RET rather than
45870         __syscall_error.
45871
45872 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45873
45874         [BZ #11904]
45875         * locale/programs/locale.c (print_assignment): New function.
45876         (show_locale_vars): Use it.
45877
45878 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45879
45880         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45881         field.
45882         (struct statfs64): Likewise.
45883         (_STATFS_F_FLAGS): Define.
45884         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45885         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45886         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45887         (ST_VALID): Define locally.
45888         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45889         __statvfs_getflags, use the provided value.
45890         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45891         __ASSUME_STATFS_F_FLAGS.
45892
45893         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45894
45895         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45896         Add sys/fanotify.h.
45897         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45898         fanotify_mask for GLIBC_2.13.
45899         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45900         fanotify_init and fanotify_mark.
45901         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45902         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45903
45904         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45905         Add prlimit.
45906         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45907         prlimit64 for GLIBC_2.13.
45908         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45909         prlimit64.
45910         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45911         syscall.
45912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45913         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45914         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45915         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45916         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45917         add prlimit alias.
45918         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45919
45920         [BZ #11903]
45921         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45922         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45923
45924         * nss/Makefile: Add rules to build and run tst-nss-test1.
45925         * shlib-versions: Add entry for libnss_test1.
45926         * nss/nss_test1.c: New file.
45927         * nss/tst-nss-test1.c: New file.
45928
45929         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45930         (__nss_configure_lookup): Set appropriate entry in
45931         __nss_configure_lookup to true.
45932         * nss/nsswitch.h: Define enum with indeces of databases in
45933         databases and __nss_database_custom arrays.  Declare
45934         __nss_database_custom.
45935         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45936         to avoid using nscd when custom rules are installed.
45937         * nss/getXXbyYY_r.c: Likewise.
45938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45939
45940         * nss/nss_files/files-parse.c: Whitespace fixes.
45941
45942 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45943
45944         [BZ #11883]
45945         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45946         * posix/fnmatch_loop.c: Likewise.
45947
45948 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45949
45950         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45951         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45952         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45953         * Versions.def [GLIBC_2.13]: Add.
45954
45955 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45956
45957         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45958         Also fail if tpwd after pwuid call is NULL.
45959
45960 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45961
45962         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45963         when converting to ms.
45964
45965 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45966
45967         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45968         EOPNOTSUPP errors with ENOTTY.
45969         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45970         EOPNOTSUPP errors with ENOTTY.
45971
45972 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45973
45974         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45975         Add strcasecmp_l-ssse3.
45976         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45977         strcasecmp.
45978         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45979         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45980         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45981
45982 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45983
45984         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45985
45986         * string/Makefile (strop-tests): Add strcasecmp.
45987         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45988         strcasecmp_l-nonascii.
45989         (gen-as-const-headers): Add locale-defines.sym.
45990         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45991         * sysdeps/x86_64/strcasecmp.S: New file.
45992         * sysdeps/x86_64/strcasecmp_l.S: New file.
45993         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45994         * sysdeps/x86_64/locale-defines.sym: New file.
45995         * string/test-strcasecmp.c: New file.
45996
45997         * string/test-strcasestr.c: Test both ends of the range of characters.
45998         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45999
46000 2010-07-29  Roland McGrath  <roland@redhat.com>
46001
46002         [BZ #11856]
46003         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46004
46005 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46006
46007         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46008         for ld.so.
46009
46010 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46011
46012         * manual/memory.texi (Malloc Tunable Parameters): Document
46013         M_PERTURB.
46014
46015 2010-07-26  Roland McGrath  <roland@redhat.com>
46016
46017         [BZ #11840]
46018         * configure.in (-fgnu89-inline check): Set and substitute
46019         gnu89_inline, not libc_cv_gnu89_inline.
46020         * configure: Regenerated.
46021         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46022
46023 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46024
46025         * string/test-strnlen.c: New file.
46026         * string/Makefile (strop-tests): Add strnlen.
46027         * string/tester.c (test_strnlen): Add a few more test cases.
46028         * string/tst-strlen.c: Better error reporting.
46029
46030         * sysdeps/x86_64/strnlen.S: New file.
46031
46032 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46033
46034         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46035         lower-latency instructions.
46036
46037 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46038
46039         * string/test-strcasestr.c: New file.
46040         * string/test-strstr.c: New file.
46041         * string/Makefile (strop-tests): Add strstr and strcasestr.
46042         * string/str-two-way.h: Don't undefine MAX.
46043         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46044
46045 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46046
46047         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46048         strcasestr-nonascii.
46049         (CFLAGS-strcasestr-nonascii.c): Define.
46050         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46051         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46052         Remove unused attribute.
46053
46054 2010-07-20  Roland McGrath  <roland@redhat.com>
46055
46056         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46057         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46058         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46059         like LD_HWCAP_MASK can disable hwcaps.
46060
46061 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46062
46063         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46064
46065 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46066
46067         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46068         call in strcasestr.
46069         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46070         __strcasestr_sse42_nonascii.
46071         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46072         strcasestr-nonascii.c.
46073         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46074
46075 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46076
46077         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46078         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46079         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46080         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46081
46082 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46083
46084         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46085         fcntl.
46086
46087 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46088
46089         [BZ #11577]
46090         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46091         dl_signal_cerror.
46092
46093 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46094
46095         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46096         _PC_PIPE_BUF using F_GETPIPE_SZ.
46097
46098 2010-07-05  Roland McGrath  <roland@redhat.com>
46099
46100         * manual/arith.texi (Rounding Functions): Fix rint description
46101         implicit in round description.
46102
46103 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46104
46105         * elf/Makefile: Fix linking for a few tests to make recent linker
46106         happy.
46107
46108 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46109
46110         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46111         $(common-objpfx)libc_nonshared.a.
46112
46113 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46114
46115         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46116         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46117         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46118         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46119         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46120         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46121         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46122         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46137         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46138         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46139         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46140         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46141         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46142         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46143         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46144         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46145         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46146         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46147         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46148         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46163
46164 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46165
46166         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46167         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46168         * string/memmove.c (memmove): Renamed to ...
46169         (MEMMOVE): ...this.  Default to memmove.
46170         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46171         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46172         (END_CHK): Define.
46173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46174         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46175         mempcpy-ssse3-back memmove-ssse3-back.
46176         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46177         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46178         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46179         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46180         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46181         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46182         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46183         * sysdeps/x86_64/multiarch/memmove.c: New file.
46184         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46185         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46186         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46187         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46188         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46189         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46190         Define.
46191         (index_Fast_Copy_Backward): Define.
46192         (HAS_ARCH_FEATURE): Define.
46193         (HAS_FAST_REP_STRING): Define.
46194         (HAS_FAST_COPY_BACKWARD): Define.
46195
46196 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46197
46198         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46199         Restore proper fallback handling.
46200
46201 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46202
46203         [BZ #11701]
46204         * posix/group_member.c (__group_member): Correct checking loop.
46205
46206         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46207         OOM in getpwuid_r correctly.  Return error number when the caller
46208         should return, otherwise -1.
46209         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46210         call returning > 0 value.
46211         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46212
46213 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46214
46215         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46216         libc_nonshared.a from targets in modules-names.
46217
46218 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46219
46220         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46221         requires it.
46222
46223 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46224
46225         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46226         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46227         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46228         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46229
46230 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46231
46232         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46233
46234 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46235
46236         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46237         and F_GETPIPE_SZ.
46238         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46239         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46240         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46241         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46242         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46243         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46244
46245 2010-06-14  Roland McGrath  <roland@redhat.com>
46246
46247         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46248
46249 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46250
46251         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46252         __REDIRECT followed by __THROW.
46253         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46254         * posix/getopt.h (getopt): Likewise.
46255
46256 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46257
46258         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46259         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46260         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46261         in AT_FLAGS.
46262         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46263         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46264
46265 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46266
46267         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46268
46269 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46270
46271         [BZ #11640]
46272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46273         Properly check family and model.
46274
46275 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46276
46277         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46278
46279 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46280
46281         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46282
46283 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46284
46285         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46286         symbol reference.
46287
46288 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46289
46290         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46291         symbol reference.
46292
46293 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46294
46295         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46296         and internal_recvmmsg.
46297         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46298         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46299         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46300         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46301
46302         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46303         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46304         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46305
46306 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46307
46308         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46309
46310 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46311
46312         POWER7 optimizations.
46313         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46314         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46315
46316 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46317
46318         * version.h: Update for 2.13 development version.
46319
46320 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46321
46322         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46323         exceptions.  Return 0.
46324
46325 2010-05-07  Roland McGrath  <roland@redhat.com>
46326
46327         * elf/ldconfig.c (main): Add a const.
46328
46329 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46330
46331         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46332         (args_options): Add no-idn option.
46333         (ahosts_keys_int): Add idn_flags to ai_flags.
46334         (parse_option): Handle 'i' option to clear idn_flags.
46335
46336         * malloc/malloc.c (_int_free): Possible race in the most recently
46337         added check.  Only act on the data if no current modification
46338         happened.
46339
46340 See ChangeLog.17 for earlier changes.