Fix __ieee754_logl (-LDBL_MAX) in FE_DOWNWARD mode (bug 17022).
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #17022]
4         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5         from arguments -2 or below.
6         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8
9 2014-06-18  Andreas Schwab  <schwab@suse.de>
10
11         [BZ #17062]
12         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13         of a bracket expr not to run off the end of the string.
14         * posix/Makefile (tests): Add tst-fnmatch3.
15         * posix/tst-fnmatch3.c: New file.
16
17 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18
19         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21         [$(cross-compiling) = no]: Likewise.
22         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23         [$(cross-compiling) = no]: Likewise.
24
25 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26
27         [BZ #17031]
28         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29         double, adjusted for any remainder from the high double.
30         * math/libm-test.inc (nearbyint): Add tests.
31         (rint): Likewise.
32
33 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34
35         * nptl/sysdeps/powerpc/Makefile: Moved ...
36         * sysdeps/powerpc/nptl/Makefile: ... here.
37         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
40         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
41         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
45         * nptl/sysdeps/powerpc/tls.h: Moved ...
46         * sysdeps/powerpc/nptl/tls.h: ... here.
47
48 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
49
50         [BZ #16681]
51         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
52         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
53         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
54         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
55         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
56         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
57         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
58         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
59         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
60
61 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
62
63         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
64
65 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
66
67         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
68         defined operator.
69
70         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
71         $TIMEOUTFACTOR.
72
73 2014-06-16  Florian Weimer  <fweimer@redhat.com>
74
75         [BZ #17058]
76         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
77         non-executed part of the test.
78
79 2014-06-16  Andreas Schwab  <schwab@suse.de>
80
81         * string/bits/string2.h (strdup, strndup): Update feature guard.
82
83 2014-06-14  David S. Miller  <davem@davemloft.net>
84
85         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86
87 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
88
89         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
90         that was previously under [RESET_PID].
91         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
92
93         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
94         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
95         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
96         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
97         (__libc_vfork): New strong alias.
98         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
99
100 2014-06-14 Andi Kleen  <ak@linux.intel.com>
101
102         * sysdeps/generic/elide.h: New file.
103
104 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
105
106         * Makefile (installed-headers): Adjust path of pthread.h header.
107
108 2014-06-13  Roland McGrath  <roland@hack.frob.com>
109
110         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
111         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
112         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
113         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
114
115         * nptl/sysdeps/s390/Makefile: Moved ...
116         * sysdeps/s390/nptl/Makefile: ... here.
117         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
118         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
119         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
120         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
121         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
122         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
123         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
124         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
125         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
126         * sysdeps/s390/nptl/pthreaddef.h: ... here.
127         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
128         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
129         * nptl/sysdeps/s390/tls.h: Moved ...
130         * sysdeps/s390/nptl/tls.h: ... here.
131
132         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
133         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
134
135 2014-06-13  David S. Miller  <davem@davemloft.net>
136
137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
140         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
144         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
145         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
146         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
147         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
148         Remove RESET_PID cpp guards.
149         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
150         Remove RESET_PID cpp guards.
151         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
152
153 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
154
155         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
156         __sp to uintptr_t.
157
158 2014-06-13  Andi Kleen  <ak@linux.intel.com>
159
160         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
161         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
162         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
163         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
164         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
165         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
166         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
167         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
168         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
169         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
170         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
171         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
172         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
173         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
174         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
175         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
176         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
177         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
178         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
179         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
180
181         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
182         (pthread_rwlock_rdlock): Add elision.
183         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
184         (pthread_rwlock_wrlock): Add elision.
185         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
186         (pthread_rwlock_trywrlock): Add elision.
187         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
188         (pthread_rwlock_tryrdlock): Add elision.
189         * nptl/pthread_rwlock_unlock.c: Include elide.h.
190         (pthread_rwlock_tryrdlock): Add elision unlock.
191         * nptl/sysdeps/pthread/pthread.h:
192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
193         (PTHREAD_RWLOCK_INITIALIZER,
194         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
195         Handle new elision field.
196         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
197         * sysdeps/arm/nptl/bits/pthreadtypes.h
198         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
199         * sysdeps/sh/nptl/bits/pthreadtypes.h
200         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
201         * sysdeps/tile/nptl/bits/pthreadtypes.h
202         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
203         * sysdeps/a/nptl/bits/pthreadtypes.h
204         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
205         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
207         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
208         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
209         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
210         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
211         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
213         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
214         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
215         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
217         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
218         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
219         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
221         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
222         (elision_init): Set try_xbegin to zero when no RTM.
223         * sysdeps/x86/nptl/bits/pthreadtypes.h
224         (pthread_rwlock_t): Change __pad1 to __rwelision.
225         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
226
227 2014-06-13  Andi Kleen  <ak@linux.intel.com>
228
229         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
230         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
231         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
232         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
233
234 2014-06-13  Meador Inge  <meadori@codesourcery.com>
235
236         [BZ #16996]
237         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
238         that the cached result has been set before returning it.
239
240 2014-06-12  Roland McGrath  <roland@hack.frob.com>
241
242         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
243         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
244         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
245         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
246         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
247         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
248
249         * nptl/sysdeps/sparc/Makefile: Moved ...
250         * sysdeps/sparc/nptl/Makefile: ... here.
251         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
252         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
253         * nptl/sysdeps/sparc/tls.h: Moved ...
254         * sysdeps/sparc/nptl/tls.h: ... here.
255         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
256         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
257         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
258         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
259         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
260         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
261         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
262         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
263         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
264         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
265         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
266         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
267         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
268         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
269         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
270         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
271         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
272         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
273         Update #include.
274         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
275         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
276         Update #include.
277         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
278         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
279         Update #include.
280         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
281         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
282         Update #include.
283
284         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
285
286         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
287         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
288
289         * sysdeps/pthread/posix-timer.h: Include <list.h>.
290         (struct list_links): Type removed.
291         (struct thread_node, struct timer_node): Replace struct list_links
292         with struct list_head.
293         (list_unlink_ip): Likewise.
294         * sysdeps/pthread/timer_routines.c
295         (timer_free_list, thread_free_list, thread_active_list): Likewise.
296         (list_append, list_insbefore): Likewise.
297         (list_init): Function removed.
298         (thread_init, init_module): Use INIT_LIST_HEAD instead.
299         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
300         * sysdeps/pthread/Makefile: ... here, new file.
301
302         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
303         * sysdeps/nptl/Implies: ... here.
304         * sysdeps/unix/sysv/linux/Implies: Add nptl.
305         * nptl/sysdeps/pthread/list.h: Moved ...
306         * include/list.h: ... here.
307         * nptl/sysdeps/pthread/createthread.c: Moved ...
308         * nptl/createthread.c: ... here.
309         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
310         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
311         * nptl/pt-longjmp.c: ... here.
312         * nptl/sysdeps/pthread/Makefile: Moved ...
313         * sysdeps/nptl/Makefile: ... here.
314         * nptl/sysdeps/pthread/Subdirs: Moved ...
315         * sysdeps/nptl/Subdirs: ... here.
316         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
317         * sysdeps/nptl/aio_misc.h: ... here.
318         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
319         * sysdeps/nptl/bits/libc-lock.h: ... here.
320         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
321         * sysdeps/nptl/bits/libc-lockP.h: ... here.
322         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
323         * sysdeps/nptl/bits/stdio-lock.h: ... here.
324         * nptl/sysdeps/pthread/configure: Moved ...
325         * sysdeps/nptl/configure: ... here.
326         * nptl/sysdeps/pthread/configure.ac: Moved ...
327         * sysdeps/nptl/configure.ac: ... here.
328         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
329         * sysdeps/nptl/gai_misc.h: ... here.
330         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
331         * sysdeps/nptl/librt-cancellation.c: ... here.
332         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
333         * sysdeps/nptl/malloc-machine.h: ... here.
334         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
335         * sysdeps/nptl/pthread-functions.h: ... here.
336         * nptl/sysdeps/pthread/pthread.h: Moved ...
337         * sysdeps/nptl/pthread.h: ... here.
338         * nptl/sysdeps/pthread/setxid.h: Moved ...
339         * sysdeps/nptl/setxid.h: ... here.
340         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
341         * sysdeps/nptl/sigfillset.c: ... here.
342         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
343         * sysdeps/nptl/tcb-offsets.h: ... here.
344         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
345         * sysdeps/nptl/tst-mqueue8x.c: ... here.
346         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
347         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
348         * nptl/sysdeps/pthread/allocalim.h: Moved ...
349         * sysdeps/pthread/allocalim.h: ... here.
350         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
351         * sysdeps/pthread/bits/sigthread.h: ... here.
352         * nptl/sysdeps/pthread/flockfile.c: Moved ...
353         * sysdeps/pthread/flockfile.c: ... here.
354         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
355         * sysdeps/pthread/ftrylockfile.c: ... here.
356         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
357         * sysdeps/pthread/funlockfile.c: ... here.
358         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
359         * sysdeps/pthread/posix-timer.h: ... here.
360         * nptl/sysdeps/pthread/timer_create.c: Moved ...
361         * sysdeps/pthread/timer_create.c: ... here.
362         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
363         * sysdeps/pthread/timer_delete.c: ... here.
364         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
365         * sysdeps/pthread/timer_getoverr.c: ... here.
366         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
367         * sysdeps/pthread/timer_gettime.c: ... here.
368         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
369         * sysdeps/pthread/timer_routines.c: ... here.
370         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
371         * sysdeps/pthread/timer_settime.c: ... here.
372         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
373         * sysdeps/pthread/tst-timer.c: ... here.
374         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
375         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
376
377         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
378         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
379
380         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
381         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
382         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
383         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
384         Update #include target.
385         * nptl/sysdeps/i386/i686/Makefile: Moved ...
386         * sysdeps/i386/i686/nptl/Makefile: ... here.
387         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
388         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
389         Update #include target.
390         * nptl/sysdeps/i386/i686/tls.h: Moved ...
391         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
392         * nptl/sysdeps/i386/Makefile: Moved ...
393         * sysdeps/i386/nptl/Makefile: ... here.
394         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
395         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
396         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
397         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
398         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
399         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
400         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
401         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
402         * sysdeps/i386/nptl/pthreaddef.h: ... here.
403         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
404         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
405         * nptl/sysdeps/i386/tls.h: Moved ...
406         * sysdeps/i386/nptl/tls.h: ... here.
407
408         * sysdeps/sh/Makefile [$(subdir) = csu]
409         (gen-as-const-headers): Add tcb-offsets.sym.
410         * nptl/sysdeps/sh/Makefile: File removed.
411         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
412         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
413         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
414         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
415         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
416         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
417         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
418         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
419         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
420         * sysdeps/sh/nptl/pthreaddef.h: ... here.
421         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
422         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
423         * nptl/sysdeps/sh/tls.h: Moved ...
424         * sysdeps/sh/nptl/tls.h: ... here.
425         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
426         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
427         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
428         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
429         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
430         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
431         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
432         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
433         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
434         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
435         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
436         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
437         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
438         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
439         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
440         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
441         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
442         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
443         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
444         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
445         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
446         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
447         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
448         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
449         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
450         Moved ...
451         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
452         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
453         Moved ...
454         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
455         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
456         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
457         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
458         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
459         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
460         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
461         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
462         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
463         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
464         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
465         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
466         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
467         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
468         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
469         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
470         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
471         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
472         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
473
474 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
475
476         * posix/spawn_faction_addopen.c: Include string.h.
477
478 2014-06-11  Roland McGrath  <roland@hack.frob.com>
479
480         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
481         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
482         * nptl/sysdeps/x86_64/Makefile: Moved ...
483         * sysdeps/x86_64/nptl/Makefile: ... here.
484         * nptl/sysdeps/x86_64/configure: Moved ...
485         * sysdeps/x86_64/nptl/configure: ... here.
486         * nptl/sysdeps/x86_64/configure.ac: Moved ...
487         * sysdeps/x86_64/nptl/configure.ac: ... here.
488         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
489         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
490         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
491         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
492         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
493         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
494         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
495         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
496         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
497         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
498         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
499         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
500         * nptl/sysdeps/x86_64/tls.h: Moved ...
501         * sysdeps/x86_64/nptl/tls.h: ... here.
502         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
503         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
504         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
505         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
506
507         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
508
509 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
510
511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
512
513 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
514
515         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
516         type.
517         [POSIX] (off_t): Likewise.
518         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
519         [POSIX] (S_ISBLK): Require macro.
520         [POSIX] (S_ISCHR): Likewise.
521         [POSIX] (S_ISDIR): Likewise.
522         [POSIX] (S_ISFIFO): Likewise.
523         [POSIX] (S_ISREG): Likewise.
524         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
525         optional-macro.
526         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
527         type.
528         [POSIX] (time_t): Likewise.
529         [POSIX] (timer_t): Likewise.
530
531 2014-06-11  Florian Weimer  <fweimer@redhat.com>
532
533         [BZ #17048]
534         * posix/spawn_int.h (struct __spawn_action): Make the path string
535         non-const to support deallocation.
536         * posix/spawn_faction_addopen.c
537         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
538         * posix/spawn_faction_destroy.c
539         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
540         path in all spawn_do_open actions.
541         * posix/tst-spawn.c (do_test): Exercise the copy operation in
542         posix_spawn_file_actions_addopen.
543
544 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
545
546         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
547         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
548         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
549         conditional code always true.
550         (__libc_vfork): New alias.
551
552 2014-06-11  Roland McGrath  <roland@hack.frob.com>
553
554         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
555         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
556
557         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
558
559         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
560         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
561
562         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
563         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
564
565         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
566         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
567
568 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
569
570         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
571         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
572         multiarch strcmp for PPC64.
573         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
574         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
576         multiarch optimizations.
577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
578         (__libc_ifunc_impl_list): Likewise.
579
580 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
581
582         * benchtests/scripts/validate_benchout.py: New script.
583         * benchtests/Makefile (bench-func): Call it.
584         * benchtests/scripts/benchout.schema.json: New file.
585
586 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
587
588         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
589         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
590         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
591         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
592         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
593         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
594         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
595         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
596         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
597         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
598         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
599         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
600         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
601         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
602         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
603         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
605         Moved ...
606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
607         ... here.
608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
609         Moved ...
610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
612         Moved ...
613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
614         ... here.
615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
616         Moved ...
617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
618         ... here.
619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
620         Moved ...
621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
623         Moved ...
624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
625         ... here.
626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
627         Moved ...
628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
629         ... here.
630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
631         Moved ...
632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
634         Moved ...
635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
636         ... here.
637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
638         Moved ...
639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
640         ... here.
641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
642         Moved ...
643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
644         ... here.
645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
646         Moved ...
647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
649         Moved ...
650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
651         ... here.
652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
653         Moved ...
654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
655         ... here.
656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
657         Moved ...
658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
659         ... here.
660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
661         Moved ...
662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
664         Moved ...
665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
666         ... here.
667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
668         Moved ...
669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
670         ... here.
671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
672         Moved ...
673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
675         Moved ...
676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
677         ... here.
678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
679         Moved ...
680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
682         Moved ...
683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
685         Moved ...
686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
687         ... here.
688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
689         Moved ...
690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
691         ... here.
692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
693         Moved ...
694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
695         ... here.
696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
697         Moved ...
698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
700         Moved ...
701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
702         ... here.
703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
704         Moved ...
705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
706         ... here.
707         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
708         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
710         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
711         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
712         Moved ...
713         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
714         ... here.
715         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
716         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
718         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
719         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
720         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
721         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
722         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
723         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
724         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
726         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
727         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
728         Moved ...
729         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
731         Moved ...
732         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
734         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
736         Moved ...
737         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
738         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
739         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
740         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
741         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
742         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
743         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
744
745 2014-06-10  Wilco  <wdijkstr@arm.com>
746
747         * math/test-fenv-return.c: New file.
748         * math/Makefile: Add new test test-fenv-return.
749
750 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
751
752         [BZ #17042]
753         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
754         when x - 1 is zero.
755         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
756         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
757         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
758         0.0L for an argument of 1.0L.
759         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
760         Likewise.
761         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
762         value when x - 1 is zero.
763         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
764         * sysdeps/i386/fpu/libm-test-ulps: Update.
765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
766
767 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
768
769         [BZ #15119]
770         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
771
772 2014-06-09  Roland McGrath  <roland@hack.frob.com>
773
774         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
775         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
776
777 2014-06-09  Roland McGrath  <roland@hack.frob.com>
778
779         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
780         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
781
782         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
783         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
784
785         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
786         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
787
788         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
789         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
790
791         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
792         if not already defined.
793         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
794         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
795         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
796         (TLS_INIT_TP): Use it.
797         (TLS_DEFINE_INIT_TP): New macro.
798         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
799
800 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
801
802         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
803         constant.
804         [POSIX] (IXANY): Likewise.
805         [POSIX] (OLCUC): Likewise.
806         [POSIX || POSIX2008] (CBAUD): Do not allow.
807         [POSIX || POSIX2008] (DEFECHO): Likewise.
808         [POSIX || POSIX2008] (ECHOCTL): Likewise.
809         [POSIX || POSIX2008] (ECHOKE): Likewise.
810         [POSIX || POSIX2008] (ECHOPRT): Likewise.
811         [POSIX || POSIX2008] (EXTA): Likewise.
812         [POSIX || POSIX2008] (EXTB): Likewise.
813         [POSIX || POSIX2008] (FLUSHO): Likewise.
814         [POSIX || POSIX2008] (LOBLK): Likewise.
815         [POSIX || POSIX2008] (PENDIN): Likewise.
816         [POSIX || POSIX2008] (SWTCH): Likewise.
817         [POSIX || POSIX2008] (VDISCARD): Likewise.
818         [POSIX || POSIX2008] (VDSUSP): Likewise.
819         [POSIX || POSIX2008] (VLNEXT): Likewise.
820         [POSIX || POSIX2008] (VREPRINT): Likewise.
821         [POSIX || POSIX2008] (VSTATUS): Likewise.
822         [POSIX || POSIX2008] (VWERASE): Likewise.
823         (B*): Change to B[0123456789]*.
824         * conform/data/time.h-data [POSIX || UNIX98]
825         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
826         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
827         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
828         [POSIX] (tm_*): Do not allow.
829
830 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
831
832         * Makefile (install): Don't set LANGUAGE.
833         * Makefile.in (install): Likewise.
834         * assert/Makefile (test-assert-ENV): Remove variable.
835         (test-assert-perr-ENV): Likewise.
836         * elf/Makefile (neededtest4-ENV): Likewise.
837         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
838         [$(cross-compiling) = no]: Don't set LANGUAGE.
839         * io/ftwtest-sh (LANG): Remove variable.
840         * libio/Makefile (tst-widetext-ENV): Likewise.
841         * manual/install.texi (Running make install): Don't refer to
842         environment settings for make install.
843         * INSTALL: Regenerated.
844         * nptl/tst-tls6.sh: Don't set LANG.
845         * posix/globtest.sh (LANG): Remove variable.
846         * string/Makefile (tester-ENV): Likewise.
847         (inl-tester-ENV): Likewise.
848         (noinl-tester-ENV): Likewise.
849         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
850         [$(cross-compiling) = no]: Don't set LANGUAGE.
851         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
852         without explicit environment settings.
853
854 2014-06-06  Roland McGrath  <roland@hack.frob.com>
855
856         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
857         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
858         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
859         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
860
861 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
862
863         * crypt/crypt-private.h [DOS]: Add some includes taken from the
864         other files in the crypt directory.
865         * crypt/crypt.c: Remove duplicate includes.
866         * crypt/crypt-entry.c: Likewise.
867         * crypt/crypt_util.c: Likewise.
868
869 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
870
871         * Makeconfig (run-program-env): New variable.
872         (run-program-prefix-before-env): Likewise.
873         (run-program-prefix-after-env): Likewise.
874         (run-program-prefix): Define in terms of new variables.
875         (built-program-cmd-before-env): New variable.
876         (built-program-cmd-after-env): Likewise.
877         (built-program-cmd): Define in terms of new variables.
878         (test-program-prefix-before-env): New variable.
879         (test-program-prefix-after-env): Likewise.
880         (test-program-prefix): Define in terms of new variables.
881         (test-program-cmd-before-env): New variable.
882         (test-program-cmd-after-env): Likewise.
883         (test-program-cmd): Define in terms of new variables.
884         * Rules (make-test-out): Use $(run-program-env).
885         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
886         (help): Do not mention environment variables.  Mention
887         --timeoutfactor option.
888         (timeoutfactor): New variable.
889         (blacklist_exports): Remove function.
890         (exports): Remove variable.
891         (command): Do not include ${exports}.
892         * manual/install.texi (Configuring and compiling): Do not mention
893         test wrappers preserving environment variables.  Mention that last
894         assignment to a variable must take precedence.
895         * INSTALL: Regenerated.
896         * benchtests/Makefile (run-bench): Use $(run-program-env).
897         * catgets/Makefile ($(objpfx)test1.cat): Use
898         $(built-program-cmd-before-env), $(run-program-env) and
899         $(built-program-cmd-after-env).
900         ($(objpfx)test2.cat): Do not specify environment variables
901         explicitly.
902         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
903         $(run-program-env) and $(built-program-cmd-after-env).
904         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
905         $(run-program-env) and $(test-program-cmd-after-env).
906         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
907         explicitly.
908         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
909         run_program_env and test_program_cmd_after_env arguments.
910         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
911         * elf/tst-pathopt.sh: Use run_program_env argument.
912         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
913         $(test-wrapper-env) and $(run-program-env).
914         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
915         run_program_env arguments.
916         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
917         * intl/Makefile ($(objpfx)tst-gettext.out): Use
918         $(test-program-prefix-before-env), $(run-program-env) and
919         $(test-program-prefix-after-env).
920         ($(objpfx)tst-gettext2.out): Likewise.
921         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
922         run_program_env and test_program_prefix_after_env arguments.
923         * intl/tst-gettext2.sh: Likewise.
924         * intl/tst-gettext4.sh: Do not set environment variables
925         explicitly.
926         * intl/tst-gettext6.sh: Likewise.
927         * intl/tst-translit.sh: Likewise.
928         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
929         $(test-program-prefix-before-env), $(run-program-env) and
930         $(test-program-prefix-after-env).
931         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
932         run_program_env and test_program_prefix_after_env arguments.
933         * math/Makefile (run-regen-ulps): Use $(run-program-env).
934         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
935         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
936         explicitly with each use of ${test_wrapper_env}.
937         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
938         $(test-program-prefix-before-env), $(run-program-env) and
939         $(test-program-prefix-after-env).
940         * posix/tst-getconf.sh: Do not set environment variables
941         explicitly.
942         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
943         run_program_env and test_program_prefix_after_env arguments.
944         * stdio-common/tst-printf.sh: Do not set environment variables
945         explicitly.
946         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
947         $(test-program-prefix-before-env), $(run-program-env) and
948         $(test-program-prefix-after-env).
949         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
950         run_program_env and test_program_prefix_after_env arguments.
951         Split $test calls into $test_pre and $test.
952         * timezone/Makefile (build-testdata): Use
953         $(built-program-cmd-before-env), $(run-program-env) and
954         $(built-program-cmd-after-env).
955
956 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
957
958         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
959         strlen for non SHARED builds.
960
961 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
962
963         * nptl/allocatestack.c (check_list): Inlined function...
964         (__reclaim_stacks): ... here.
965
966 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
967
968         [BZ #15698]
969         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
970         memory overrun.
971
972 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
973
974         * Rules (make-test-out): Include
975         LOCPATH=$(common-objpfx)localedata in default environment.
976         * debug/Makefile (tst-chk1-ENV): Remove variable.
977         (tst-chk2-ENV): Likewise.
978         (tst-chk3-ENV): Likewise.
979         (tst-chk4-ENV): Likewise.
980         (tst-chk5-ENV): Likewise.
981         (tst-chk6-ENV): Likewise.
982         (tst-lfschk1-ENV): Likewise.
983         (tst-lfschk2-ENV): Likewise.
984         (tst-lfschk3-ENV): Likewise.
985         (tst-lfschk4-ENV): Likewise.
986         (tst-lfschk5-ENV): Likewise.
987         (tst-lfschk6-ENV): Likewise.
988         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
989         (tst-iconv7-ENV): Likewise.
990         * intl/Makefile (LOCPATH-ENV): Likewise.
991         (tst-codeset-ENV): Likewise.
992         (tst-gettext3-ENV): Likewise.
993         (tst-gettext5-ENV): Likewise.
994         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
995         (tst-fopenloc-ENV): Likewise.
996         (tst-fgetws-ENV): Remove variable.
997         (tst-ungetwc1-ENV): Likewise.
998         (tst-ungetwc2-ENV): Likewise.
999         (bug-ungetwc2-ENV): Likewise.
1000         (tst-swscanf-ENV): Likewise.
1001         (bug-ftell-ENV): Likewise.
1002         (tst-fgetwc-ENV): Likewise.
1003         (tst-fseek-ENV): Likewise.
1004         (tst-ftell-partial-wide-ENV): Likewise.
1005         (tst-ftell-active-handler-ENV): Likewise.
1006         (tst-ftell-append-ENV): Likewise.
1007         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1008         (tst-regexloc-ENV): Likewise.
1009         (bug-regex1-ENV): Likewise.
1010         (tst-regex-ENV): Likewise.
1011         (tst-regex2-ENV): Likewise.
1012         (bug-regex5-ENV): Likewise.
1013         (bug-regex6-ENV): Likewise.
1014         (bug-regex17-ENV): Likewise.
1015         (bug-regex18-ENV): Likewise.
1016         (bug-regex19-ENV): Likewise.
1017         (bug-regex20-ENV): Likewise.
1018         (bug-regex22-ENV): Likewise.
1019         (bug-regex23-ENV): Likewise.
1020         (bug-regex25-ENV): Likewise.
1021         (bug-regex26-ENV): Likewise.
1022         (bug-regex30-ENV): Likewise.
1023         (bug-regex32-ENV): Likewise.
1024         (bug-regex33-ENV): Likewise.
1025         (bug-regex34-ENV): Likewise.
1026         (bug-regex35-ENV): Likewise.
1027         (tst-rxspencer-ENV): Likewise.
1028         (tst-rxspencer-no-utf8-ENV): Likewise.
1029         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1030         (tst-sscanf-ENV): Likewise.
1031         (tst-swprintf-ENV): Likewise.
1032         (tst-swscanf-ENV): Likewise.
1033         (test-vfprintf-ENV): Likewise.
1034         (scanf13-ENV): Likewise.
1035         (bug14-ENV): Likewise.
1036         (tst-grouping-ENV): Likewise.
1037         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1038         (tst-strtod3-ENV): Likewise.
1039         (tst-strtod4-ENV): Likewise.
1040         (tst-strtod5-ENV): Likewise.
1041         (testmb2-ENV): Likewise./
1042         * string/Makefile (tst-strxfrm-ENV): Likewise.
1043         (tst-strxfrm2-ENV): Likewise.
1044         (bug-strcoll1-ENV): Likewise.
1045         (test-strcasecmp-ENV): Likewise.
1046         (test-strncasecmp-ENV): Likewise.
1047         * time/Makefile (tst-strptime-ENV): Likewise.
1048         (tst-ftime_l-ENV): Likewise.
1049         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1050         (tst-mbrtowc-ENV): Likewise.
1051         (tst-wcrtomb-ENV): Likewise.
1052         (tst-mbrtowc2-ENV): Likewise.
1053         (tst-c16c32-1-ENV): Likewise.
1054         (tst-mbsnrtowcs-ENV): Likewise.
1055
1056 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1057
1058         * manual/resource.texi (How to get information about the memory
1059         subsystem?): Fix typo.
1060         Reported by Peon de la Parra Ivan <peon@keba.com>
1061
1062 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1063
1064         [BZ #16882]
1065         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1066         (pthread_spin_lock): Branch out of spin loop to proper location.
1067         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1068         (pthread_spin_lock): Likewise.
1069
1070         * nptl/tst-spin4.c: New test.
1071         * nptl/Makefile (tests): Add tst-spin4.
1072
1073 2014-06-03  Andreas Schwab  <schwab@suse.de>
1074
1075         [BZ #15946]
1076         * resolv/res_send.c (send_dg): Reload file descriptor after
1077         calling reopen.
1078
1079 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1080
1081         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1082
1083 2014-06-03  Richard Henderson  <rth@redhat.com>
1084
1085         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1086         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1087         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1088         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1089         in the SAVE_PID block.
1090         (__libc_vfork): New alias.
1091         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1092
1093         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1094         child in registers, not on the stack.  Remove RESET_PID conditionals.
1095         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1096
1097 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1098
1099         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1100
1101 2014-06-03  Wilco  <wdijkstr@arm.com>
1102
1103         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1104         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1105         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1106         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1107         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1108         Likewise.
1109
1110 2014-06-03  Wilco  <wdijkstr@arm.com>
1111
1112         * sysdeps/aarch64/fpu/math_private.h
1113         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1114         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1115         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1116         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1117         Fix declarations.
1118
1119 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1120
1121         * crypt/crypt-private.h: Include ufc-crypt.h.
1122         (__b64_from_24bit): Declare extern.
1123         * crypt/crypt_util.c(__b64_from_24bit): New function.
1124         (b64t): New static const variable.
1125         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1126         (b64t): Remove variable.
1127         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1128         * crypt/sha256-crypt.c: Include crypt-private.h.
1129         (b64t): Remove variable.
1130         (__sha256_crypt_r): Remove b64_from_24bit and replace
1131         with __b64_from_24bit.
1132         * crypt/sha512-crypt.c: Likewise.
1133
1134 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1135
1136         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1137         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1138         Label the code __libc_vfork rather than __vfork.
1139         [!NOT_IN_libc] (vfork): Define as weak alias.
1140         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1141         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1142         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1143
1144 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1145
1146         * malloc/malloc.c (malloc_info): Fix format specifier for
1147         n_mmaps.
1148
1149 2014-06-02  Wilco  <wdijkstr@arm.com>
1150
1151         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1152         FPCR write.
1153
1154 2014-06-02  Wilco  <wdijkstr@arm.com>
1155
1156         [BZ #17009]
1157         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1158         Rewrite to reduce FPCR/FPSR accesses.
1159
1160 2014-06-01  David S. Miller  <davem@davemloft.net>
1161
1162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1163
1164 2014-05-31  David S. Miller  <davem@davemloft.net>
1165
1166         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1167         to occur in round to nearest mode when |x| >= 2.0
1168
1169 2014-05-30  Richard Henderson  <rth@twiddle.net>
1170
1171         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1172         (PSEUDO_RET_NOERRNO): Remove.
1173         (ret): Don't redefine.
1174         (ret_NOERRNO): Define in terms of ret.
1175         (ret_ERRVAL): Likewise.
1176
1177         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1178         use of PSEUDO_RET; perform the error check directly.
1179
1180 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1181
1182         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1183         with __int128_t.
1184
1185 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1186
1187         * malloc/malloc (malloc_info): Fix formatting.
1188
1189 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1190             Roland McGrath  <roland@hack.frob.com>
1191
1192         * malloc/malloc (malloc_info): Also print mmapped statistics.
1193
1194 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1195
1196         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1197         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1198
1199 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1200
1201         * malloc/malloc.c (malloc_info): Inline mi_arena.
1202
1203 2014-05-29  Richard Henderson  <rth@twiddle.net>
1204
1205         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1206         Remove comma before expanding ASM_ARGS_##nr.
1207         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1208         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1209         of ASM_ARGS_##nr.
1210         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1211         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1212         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1213         (ASM_ARGS_1): Add leading comma.
1214
1215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1216         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1217         to __errno_location.
1218         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1219         Remove the expected plt for __errno_location.
1220
1221         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1222         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1223         call to __read_tp.
1224
1225         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1226         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1227         it and break it down.
1228         (DOCARGS_0, DOCARGS_1): Do nothing.
1229         (DOCARGS_2): Update to store into the new stack frame.
1230         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1231         (UNDOCARGS_1): Update to restore from the new stack frame.
1232         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1233         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1234
1235         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1236         (SINGLE_THREAD_P): New parameter for result regno.
1237         (PSEUDO): Update to match; use cbz instead of beq.
1238
1239         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1240         Use ENTRY to define the _nocancel entry point.  Share the syscall
1241         and syscall error check paths with the cancel path.
1242         (PSEUDO_END): New.
1243
1244         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1245         whitespace; tabs before and after asm mnemonics.
1246
1247 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1248
1249         [BZ #15132]
1250         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1251         Call fstat64 or stat64 internally, depending on arguments passed.
1252         Replace stat buffer argument with file descriptor argument.
1253         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1254         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1255         Pass fd to __internal_statvfs instead of calling fstat64.
1256         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1257         Pass fd to __internal_statvfs64 instead of calling fstat64.
1258         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1259         Pass -1 to __internal_statvfs instead of calling stat64.
1260         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1261         Pass -1 to __internal_statvfs64 instead of calling stat64.
1262
1263 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1264
1265         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1266         that was previously under [RESET_PID].
1267         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1268
1269         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1270         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1271
1272 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1273
1274         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1275
1276         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1277         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1278
1279 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1280
1281         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1282
1283 2014-05-27  Andreas Schwab  <schwab@suse.de>
1284
1285         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1286         TLS_INIT_TP macro.
1287         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1288         * elf/rtld.c (init_tls, dl_main): Likewise.
1289         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1290         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1291         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1292         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1293         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1294         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1295         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1296         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1297         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1298         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1299         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1300         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1301         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1302         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1303         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1304         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1305         * sysdeps/generic/tls.h: Update description.
1306
1307 2014-05-27  Will Newton  <will.newton@linaro.org>
1308
1309         [BZ #16990]
1310         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1311         and restore r2 rather than just restoring.
1312
1313 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1314
1315         [BZ #16724]
1316         * libio/tst-ftell-append.c: New test case.
1317         * libio/Makefile (tests): Add test case.
1318         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1319         append mode.
1320         * libio/wfileops.c (do_ftell_wide): Likewise.
1321
1322 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1323
1324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1325
1326         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1327         ...
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1330         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1331         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1332         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1333         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1334         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1335         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1336         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1337         Moved ...
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1340         Moved ...
1341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1342         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1343         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1344         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1345         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1346         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1347         ...
1348         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1349         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1350         Moved ...
1351         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1352         here.
1353         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1354         ...
1355         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1356         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1357         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1358
1359         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1360         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1361         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1362         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1363
1364         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1365         merge into ...
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1368         ...
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1371         ...
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1374         Moved ...
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1376         here.
1377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1378         Moved ...
1379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1381         Moved ...
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1383
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1385         conditional [RESET_PID].
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1388         removed.
1389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1390         removed.
1391
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1393         <tcb-offsets.h>.
1394         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1395         (__libc_vfork): New strong alias.
1396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1397         removed.
1398         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1399         Removed.
1400
1401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1402         <tcb-offsets.h>.
1403         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1404         (__libc_vfork): New strong alias.
1405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1406         removed.
1407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1408         removed.
1409
1410 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1411
1412         * malloc/malloc.c (mi_arena): New function.
1413         (malloc_info): Remove nested function mi_arena. Call non-nosted
1414         function mi_arena.
1415
1416 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1417
1418         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1419         by insrwi.
1420         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1421         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1422         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1423         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1424         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1425         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1426         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1427
1428 2014-05-26  Andreas Schwab  <schwab@suse.de>
1429
1430         [BZ #16984]
1431         * locale/programs/repertoire.c (repertoire_read): Add slash
1432         between I18NPATH element and file name.
1433         * locale/programs/locfile.c (locfile_read): Likewise.
1434
1435 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1436
1437         * nptl/pthread_mutexattr_settype.c
1438         (__pthread_mutexattr_settype):
1439         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1440
1441 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1442
1443         * nptl/tst-mutex5 (do_test):
1444         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1445
1446 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1447
1448         * benchtests/README: Document 'init' directive.
1449         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1450         BENCH_INIT.
1451         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1452         (parse_file): Recognize 'init' directive.
1453
1454 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1455
1456         [BZ #16796]
1457         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1458         alignment of struct pthread.
1459
1460 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1461
1462         [BZ #16878]
1463         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1464         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1465         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1466         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1467
1468 2014-05-25  Richard Henderson  <rth@twiddle.net>
1469
1470         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1471         (SINGLE_THREAD_P_PIC): Remove.
1472         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1473         (SINGLE_THREAD_P_PIC): Remove.
1474
1475         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1476         branch to syscall error ...
1477         (PSEUDO): ... here.
1478         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1479         from __local_syscall_error to .Lsyscall_error.
1480         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1481         (SYSCALL_ERROR): Update label name.
1482
1483         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1484         Do not use DOARGS/UNDOARGS.
1485         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1486         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1487         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1488         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1489         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1490
1491         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1492         block comment.
1493
1494         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1495         define if !NOT_IN_libc.
1496         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1497         define with non-default symbol versions.
1498
1499 2014-05-23  Richard Henderson  <rth@twiddle.net>
1500
1501         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1502         (vfork, __vfork): Define via compat_symbol.
1503
1504         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1505         [!HAVE_IFUNC] (vfork_compat): Remove.
1506         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1507
1508 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1509
1510         [BZ #16978]
1511         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1512         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1513         variable.
1514
1515 2014-05-23  Richard Henderson  <rth@twiddle.net>
1516
1517         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1518         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1519         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1520         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1521
1522         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1523         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1524         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1525         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1526         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1527         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1528         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1529         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1530         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1531         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1532         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1533         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1534         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1535         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1536         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1537         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1538         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1539         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1540         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1541         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1542         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1543         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1544         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1545         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1547         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1548         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1549         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1550         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1551         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1552         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1553         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1554         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1555         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1556         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1557         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1558         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1559         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1560         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1561         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1562         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1563         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1564         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1565         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1566         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1567         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1568         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1569         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1570         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1571         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1572         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1573         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1574         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1575         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1576         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1577         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1578
1579         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1580         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1581         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1582         before exiting on error.
1583         (__libc_vfork): New strong alias.
1584         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1585         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1586
1587         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1588         that was previously under [RESET_PID].
1589         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1590
1591         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1592
1593 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1594
1595         [BZ #16977]
1596         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1597         value when x - 1 is zero.
1598         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1599         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1600         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1601         0.0L for an argument of 1.0L.
1602         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1603         Likewise.
1604         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1605         value when x - 1 is zero.
1606         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1607         * sysdeps/i386/fpu/libm-test-ulps: Update.
1608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1609
1610 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1611
1612         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1613         alphasort and versionsort.
1614
1615 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1616
1617         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1618         macro.
1619         [copysignf]: Likewise.
1620
1621 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1622
1623         * crypt/md5-crypt.c: Fix formatting.
1624
1625 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1626
1627         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1628         (b64_from_24bit): New function.
1629
1630 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1631
1632         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1633         libc_hidden_builtin_def to ifunc.
1634         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1635         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1636
1637 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1638
1639         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1640         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1641
1642 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1643
1644         * nscd/Depend (linuxthreads): Remove.
1645         (nptl): Add.
1646         * resolv/Depend (linuxthreads): Remove.
1647         * rt/Depend (linuxthreads): Remove.
1648
1649         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1650         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1651         $(common-objpfx)elf/.
1652         (link-libc-before-gnulib): Likewise.
1653         (elfobjdir): Remove variable.
1654         * Makefile (install): Use $(elf-objpfx) instead of
1655         $(common-objpfx)elf/.
1656         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1657         $(elfobjdir)/.
1658         (link-libc-deps): Likewise.
1659         ($(common-objpfx)libc.so): Likewise.
1660         ($(common-objpfx)linkobj/libc.so): Likewise.
1661         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1662         instead of $(common-objpfx)elf/.
1663         (symbolic-link-list): Likewise.
1664         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1665         [$(cross-compiling) = no]: Likewise.
1666         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1667         $(elfobjdir)/.
1668         (static-gnulib-arch): Likewise.
1669         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1670         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1671         $(common-objpfx)elf/.
1672
1673 2014-05-21  Richard Henderson  <rth@redhat.com>
1674
1675         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1676         (SINGLE_THREAD_P): Use the correct width load.  Fold
1677         into the ldr offset.
1678
1679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1680         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1681
1682 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1683
1684         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1685         (libgcc_s_resume): Use __attribute_used__.
1686         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1687         Likewise.
1688
1689 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1690
1691         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1692         optimization when used with float constants.
1693
1694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1695
1696 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1697
1698         [BZ #16915]
1699         * locale/nl_langinfo_l.c: Make direct reference to every
1700         _nl_current_CATEGORY symbol.
1701         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1702         (tests-static): Add tst-langinfo-static.
1703         (tests-special): Add tst-langinfo-static.out.
1704         ($(objpfx)tst-langinfo.out): Redirect output.
1705         ($(objpfx)tst-langinfo-static.out): New.
1706         * localedata/tst-langinfo.sh: Send output to stdout.
1707         * localedata/tst-langinfo-static.c: New file.
1708
1709         [BZ #16965]
1710         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1711         when the shift amount is modulo the limb size.
1712
1713 2014-05-20  Richard Henderson  <rth@redhat.com>
1714
1715         [BZ #16967]
1716         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1717         Change type of sa_flags from unsigned int to int.
1718
1719         [BZ #16966]
1720         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1721
1722         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1723
1724 2014-05-20  Will Newton  <will.newton@linaro.org>
1725
1726         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1727         Test the return value of the system call in the nocancel case.
1728
1729 2014-05-20  Will Newton  <will.newton@linaro.org>
1730             Yvan Roux  <yvan.roux@linaro.org>
1731
1732         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1733         #include of asm/ptrace.h.
1734         (PTRACE_GET_THREAD_AREA): Remove #undef.
1735         (PTRACE_GETHBPREGS): Likewise.
1736         (PTRACE_SETHBPREGS): Likewise.
1737         (struct user_regs_struct): New structure.
1738         (struct user_fpsimd_struct): New structure.
1739         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1740         #include of asm/ptrace.h and second #include of sys/user.h.
1741         (PTRACE_GET_THREAD_AREA): Remove #undef.
1742         (PTRACE_GETHBPREGS): Likewise.
1743         (PTRACE_SETHBPREGS): Likewise.
1744         (ELF_NGREG): Use new struct user_regs_struct.
1745         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1746
1747 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1748
1749         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1750         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1751
1752 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1753
1754         [BZ #16958]
1755         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1756         membar to avoid block loads/stores to overlap previous stores.
1757
1758 2014-05-17  Richard Henderson  <rth@redhat.com>
1759
1760         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1761         Create the __##syscall_name##_nocancel entry point.
1762         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1763         Remove; let the sysdep-cancel.h code create it.
1764
1765 2014-05-17  David S. Miller  <davem@davemloft.net>
1766
1767         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1768         Protect with __USE_GNU.
1769         (TIOCSET_TEMPT): Likewise.
1770         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1771         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1772         these are already provided in bits/ioctl-types.h
1773
1774 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1775
1776         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1777         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1778
1779         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1780         Use wait4 regardless of [__NR_waitpid].
1781
1782 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1783
1784         PR libgcc/60166
1785         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1786         (_FP_NANSIGN_Q): Set the quiet bit.
1787
1788 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1789
1790         * benchtests/Makefile
1791         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1792         not $(common-objpfx)math/libm.so.
1793         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1794         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1795         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1796         $(common-objpfx)dlfcn/libdl.so.
1797         ($(objpfx)tst-audit8): Depend on $(libm), not
1798         $(common-objpfx)math/libm.so.
1799         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1800         not $(common-objpfx)dlfcn/libdl.so.
1801         * math/Makefile
1802         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1803         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1804         [$(build-shared) = yes].
1805         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1806         $(common-objpfx)nptl/libpthread.so.
1807         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1808         $(common-objpfx)math/libm.so$(libm.so-version) or
1809         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1810         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1811         $(common-objpfx)dlfcn/libdl.so.
1812         * setjmp/Makefile (link-libm): Remove variable.
1813         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1814         * stdio-common/Makefile (link-libm): Remove variable.
1815         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1816         * stdlib/Makefile (link-libm): Remove variable.
1817         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1818         ($(objpfx)tst-strtod-round): Likewise.
1819         ($(objpfx)tst-tininess): Likewise.
1820         ($(objpfx)tst-strtod-underflow): Likewise.
1821         ($(objpfx)tst-strtod6): Likewise.
1822         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1823         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1824         $(common-objpfx)dlfcn/libdl.so.
1825
1826 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1827
1828         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1829         BSD terminal modes definitions.
1830
1831 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1832
1833         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1834         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1835
1836         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1837         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1838         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1839         Don't do #include_next.
1840         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1841         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1842         Don't do #include_next.
1843         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1844         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1845         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1846         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1847
1848 2014-05-16  Allan McRae  <allan@archlinux.org>
1849
1850         * po/sv.po: Update Swedish translation from translation project.
1851
1852         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1853         in sed expression.
1854
1855 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1856
1857         [BZ #16917]
1858         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1859         errno if the TIOCGPTN ioctl fails with an error different than
1860         EINVAL.
1861         * login/tst-ptsname.c: New file.
1862         * login/Makefile (tests): Add tst-ptsname.
1863
1864         [BZ #16943]
1865         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1866         and prlimit64.
1867
1868 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1869
1870         [BZ #16849]
1871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1872         herrno to return EAI_AGAIN.
1873
1874 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1875
1876         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1877         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1878         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1879         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1880         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1881         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1882         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1883         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1884         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1885         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1886         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1887         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1888         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1889         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1890         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1891         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1892         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1893         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1894         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1895         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1896         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1897         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1898         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1899         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1900         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1901         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1902         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1903         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1904         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1905         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1907         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1909         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1911         Moved ...
1912         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1914         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1918         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1920         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1924         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1926         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1928         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1930         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1932         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1934         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1936         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1938         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1940         Moved ...
1941         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1943         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1945         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1947         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1949         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1951         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1953         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1955         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1957         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1959         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1961         Moved ...
1962         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1965
1966         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1967         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1968         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1969         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1970         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1971         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1972         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1973         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1974         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1975         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1976         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1977         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1978         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1979         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1980         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1981         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1982         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1983         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1984         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1985         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1986         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1987         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1988         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1989         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1990         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1991         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1992         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1993         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1994         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1995         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1996         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1997
1998         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1999         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2000
2001         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2002         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2003         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2004         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2005         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2006         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2007         Moved ...
2008         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2009         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2010         Moved ...
2011         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2012         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2013         Moved ...
2014         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2015         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2016         Moved ...
2017         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2018         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2019         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2020         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2021         Moved ...
2022         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2023         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2024         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2025         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2026         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2027         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2028         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2029         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2030         Moved ...
2031         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2032         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2033         Moved ...
2034         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2035         ... here.
2036         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2037         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2038         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2039         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2040         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2041         Moved ...
2042         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2043         ... here.
2044         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2045         Moved ...
2046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2047         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2048         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2049         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2050         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2051         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2052         Moved ...
2053         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2054         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2055         Moved ...
2056         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2057         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2058         Moved ...
2059         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2061         Moved ...
2062         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2063         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2064         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2065         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2066         Moved ...
2067         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2068         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2069         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2070         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2071         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2072         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2073         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2074         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2075         Moved ...
2076         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2077         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2078         Moved ...
2079         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2080         ... here.
2081         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2082         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2083         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2084         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2085         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2086         Moved ...
2087         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2088         ... here.
2089         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2090         Moved ...
2091         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2092         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2093         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2094         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2095         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2096         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2097         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2098         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2099         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2100         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2101         Moved ...
2102         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2103         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2104         Moved ...
2105         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2106         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2107         Moved ...
2108         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2109         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2110         Moved ...
2111         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2112         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2113         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2114         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2115         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2116         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2117         Moved ...
2118         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2119         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2120         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2121         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2122         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2123         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2124         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2125         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2126         Moved ...
2127         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2128         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2129         Moved ...
2130         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2131         ... here.
2132         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2133         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2134         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2135         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2136         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2137         Moved ...
2138         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2139         ... here.
2140         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2141         Moved ...
2142         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2143         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2144         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2145         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2146         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2147         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2148         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2149         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2150         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2151         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2152         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2153
2154         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2155         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2156
2157         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2158         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2159
2160         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2161         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2162         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2163         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2164         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2165         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2166         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2167         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2168         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2169         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2170         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2171         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2172         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2173         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2174         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2175         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2176         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2177         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2178         Moved ...
2179         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2180         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2181         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2182         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2183         Moved ...
2184         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2185         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2186         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2187         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2188         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2189         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2190         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2191         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2192         Moved ...
2193         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2195         Moved ...
2196         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2197         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2198         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2200         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2202         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2203         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2204         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2205         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2206         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2207         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2208         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2209         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2210         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2211         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2212         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2213
2214         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2215         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2216         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2217         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2218         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2219
2220         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2221         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2222         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2223         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2224         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2225         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2226         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2227         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2228         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2229         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2230
2231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2232         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2233
2234         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2235         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2236         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2237         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2238         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2239         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2240         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2241         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2242         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2243         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2244         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2245         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2246         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2247         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2249         Update #include.
2250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2251         Likewise.
2252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2253         Likewise.
2254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2255         Likewise.
2256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2257         Likewise.
2258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2259         Likewise.
2260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2261         Likewise.
2262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2263         Likewise.
2264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2265         Likewise.
2266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2267         Likewise.
2268         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2269         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2270         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2271         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2272         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2273         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2274         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2275         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2276         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2277         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2278         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2279         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2280         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2281         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2282         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2283
2284         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2285         that was previously under [RESET_PID].
2286         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2287         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2288         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2289
2290         * sysdeps/i386/nptl/Implies: New file.
2291         * sysdeps/x86_64/nptl/Implies: New file.
2292         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2293         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2294         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2295         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2296
2297         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2298         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2299         (__libc_vfork): New strong alias.
2300         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2301         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2302
2303         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2304         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2305         (__libc_vfork): New strong alias.
2306         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2307         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2308
2309         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2310         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2311         (__libc_vfork): New strong alias.
2312         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2313         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2314         * nptl/pt-vfork.c: New file.
2315         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2316         (libpthread: GLIBC_2.20): New version set (empty).
2317
2318 2014-05-14  Will Newton  <will.newton@linaro.org>
2319
2320         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2321         rather than #if.
2322
2323 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2324
2325         [BZ #16564]
2326         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2327         arguments with exponent 65 or above.
2328         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2329         arguments 0x1p113L or above.
2330         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2331         to arguments 0x1p107L or above.
2332         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2333         positive arguments with exponent 65 or above.
2334         * math/auto-libm-test-in: Add more tests of log1p.
2335         * math/auto-libm-test-out: Regenerated.
2336
2337         [BZ #16928]
2338         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2339         non-finite arguments is +0.
2340         * math/s_cacosf.c (__cacosf): Likewise.
2341         * math/s_cacosl.c (__cacosl): Likewise.
2342         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2343         * sysdeps/i386/fpu/libm-test-ulps: Update.
2344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2345
2346         [BZ #16927]
2347         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2348         value.
2349         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2350         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2351         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2352         for explicit high bit of mantissa when testing for argument equal
2353         to 1.
2354         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2355         * sysdeps/i386/fpu/libm-test-ulps: Update.
2356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2357
2358         [BZ #16516]
2359         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2360         (__erf): Scale by 16 instead of 8 in potentially underflowing
2361         case.  Ensure exception if result actually underflows.
2362         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2363         (__erff): Scale by 16 instead of 8 in potentially underflowing
2364         case.  Ensure exception if result actually underflows.
2365         * sysdeps/ieee754/ldbl-128/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         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2370         (efx8): Remove variable.
2371         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2372         case.  Ensure exception if result actually underflows.
2373         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2374         (efx8): Remove variable.
2375         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2376         case.  Ensure exception if result actually underflows.
2377         * math/auto-libm-test-in: Add more tests of erf.
2378         * math/auto-libm-test-out: Regenerated.
2379
2380 2014-05-14  Andreas Schwab  <schwab@suse.de>
2381
2382         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2383         Remove code conditionalized on USE___THREAD.
2384
2385         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2386         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2387         not definedness.
2388
2389 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2390
2391         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2392         Define unconditionally.
2393         (__ASSUME_O_CLOEXEC): Likewise.
2394         (__ASSUME_SOCK_CLOEXEC): Likewise.
2395         (__ASSUME_IN_NONBLOCK): Likewise.
2396         (__ASSUME_PIPE2): Likewise.
2397         (__ASSUME_EVENTFD2): Likewise.
2398         (__ASSUME_SIGNALFD4): Likewise.
2399         (__ASSUME_DUP3): Likewise.
2400         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2401         (__ASSUME_DUP3): Do not define.
2402         (__ASSUME_EVENTFD2): Likewise.
2403         (__ASSUME_IN_NONBLOCK): Likewise.
2404         (__ASSUME_O_CLOEXEC): Likewise.
2405         (__ASSUME_PIPE2): Likewise.
2406         (__ASSUME_SIGNALFD4): Likewise.
2407         (__ASSUME_SOCK_CLOEXEC): Likewise.
2408         (__ASSUME_UTIMES): Undefine.
2409         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2410         (__ASSUME_UTIMES): Do not define.
2411         (__ASSUME_O_CLOEXEC): Likewise.
2412         (__ASSUME_SOCK_CLOEXEC): Likewise.
2413         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2414         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2415         0x020621].
2416         (__ASSUME_PIPE2): Likewise.
2417         (__ASSUME_EVENTFD2): Likewise.
2418         (__ASSUME_SIGNALFD4): Likewise.
2419         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2420         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2421         Do not define.
2422         (__ASSUME_EVENTFD2): Likewise.
2423         (__ASSUME_SIGNALFD4): Likewise.
2424         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2425         (__ASSUME_32BITUIDS): Likewise.
2426         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2427         (__ASSUME_IPC64): Likewise.
2428         (__ASSUME_ST_INO_64_BIT): Likewise.
2429         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2430         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2431         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2432         (__ASSUME_UTIMES): Do not define.
2433         (__ASSUME_PSELECT): Likewise.
2434         (__ASSUME_PPOLL): Likewise.
2435         (__ASSUME_O_CLOEXEC): Likewise.
2436         (__ASSUME_SOCK_CLOEXEC): Likewise.
2437         (__ASSUME_IN_NONBLOCK): Likewise.
2438         (__ASSUME_PIPE2): Likewise.
2439         (__ASSUME_EVENTFD2): Likewise.
2440         (__ASSUME_SIGNALFD4): Likewise.
2441         (__ASSUME_DUP3): Likewise.
2442         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2443         (__ASSUME_UTIMES): Likewise.
2444         (__ASSUME_O_CLOEXEC): Likewise.
2445         (__ASSUME_SOCK_CLOEXEC): Likewise.
2446         (__ASSUME_IN_NONBLOCK): Likewise.
2447         (__ASSUME_PIPE2): Likewise.
2448         (__ASSUME_EVENTFD2): Likewise.
2449         (__ASSUME_SIGNALFD4): Likewise.
2450         (__ASSUME_DUP3): Likewise.
2451         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2452         (__ASSUME_UTIMES): Likewise.
2453         (__ASSUME_O_CLOEXEC): Likewise.
2454         (__ASSUME_SOCK_CLOEXEC): Likewise.
2455         (__ASSUME_IN_NONBLOCK): Likewise.
2456         (__ASSUME_PIPE2): Likewise.
2457         (__ASSUME_EVENTFD2): Likewise.
2458         (__ASSUME_SIGNALFD4): Likewise.
2459         (__ASSUME_DUP3): Likewise.
2460         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2461         Likewise.
2462         (__ASSUME_UTIMES): Likewise.
2463         (__ASSUME_EVENTFD2): Likewise.
2464         (__ASSUME_SIGNALFD4): Likewise.
2465         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2466         (__ASSUME_O_CLOEXEC): Likewise.
2467         (__ASSUME_SOCK_CLOEXEC): Likewise.
2468         (__ASSUME_IN_NONBLOCK): Likewise.
2469         (__ASSUME_PIPE2): Likewise.
2470         (__ASSUME_EVENTFD2): Likewise.
2471         (__ASSUME_SIGNALFD4): Likewise.
2472         (__ASSUME_DUP3): Likewise.
2473         (__ASSUME_UTIMES): Undefine.
2474
2475         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2476         feclearexcept.  Remove symbol versioning code.
2477         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2478         symbol versioning code.
2479         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2480         symbol versioning code.
2481         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2482         feupdateenv.  Remove symbol versioning code.
2483         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2484         fegetexceptflag.  Remove symbol versioning code.
2485         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2486         fesetexceptflag.  Remove symbol versioning code.
2487         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2488         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2489         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2490         (__posix_fadvise64_l32): Remove prototype.
2491         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2492         code.
2493
2494 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2495
2496         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2497         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2498         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2499         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2500
2501 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2502
2503         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2504         current working directory
2505
2506 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2507
2508         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2509         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2510         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2511         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2512         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2513         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2514         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2515         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2516         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2517         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2518         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2519         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2520         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2521         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2522         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2523         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2524         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2525         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2526         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2527         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2528         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2529         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2530         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2531         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2532         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2533         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2537         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2538         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2539         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2540         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2541         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2542         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2543         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2544         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2545         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2546         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2547         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2548         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2549         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2550
2551         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2552         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2553
2554         * sysdeps/unix/sysv/linux/arm/Makefile
2555         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2556         Add rt-aeabi_unwind_cpp_pr1.
2557         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2558         Add nptl-aeabi_unwind_cpp_pr1.
2559         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2560         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2561         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2562         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2563         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2564         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2565
2566         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2567         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2568         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2569         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2570
2571         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2572         Deconditionalize the code that was previously under [RESET_PID].
2573         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2574
2575         * sysdeps/generic/exit-thread.h: New file.
2576         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2577         * include/unistd.h (__exit_thread): Remove declaration.
2578         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2579         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2580         * csu/libc-start.c: Include <exit-thread.h>.
2581         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2582         * nptl/pthread_create.c: Include <exit-thread.h>.
2583         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2584         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2585         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2586         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2587         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2588         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2589         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2590         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2591         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2592         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2593         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2594         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2595         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2596         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2597         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2598         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2599         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2600
2601 2014-05-13  Andreas Schwab  <schwab@suse.de>
2602
2603         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2604
2605 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2606
2607         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2608         (__ASSUME_UTIMES): Do not condition on kernel version.
2609         (__ASSUME_PSELECT): Define unconditionally.
2610         (__ASSUME_PPOLL): Likewise.
2611         (__ASSUME_ATFCTS): Likewise.
2612         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2613         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2614         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2615         (__ASSUME_UTIMENSAT): Define unconditionally.
2616         (__ASSUME_PRIVATE_FUTEX): Likewise.
2617         (__ASSUME_FALLOCATE): Likewise.
2618         (__ASSUME_O_CLOEXEC): Likewise.
2619         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2620         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2621         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2622         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2623         (__ASSUME_IN_NONBLOCK): Likewise.
2624         (__ASSUME_PIPE2): Likewise.
2625         (__ASSUME_EVENTFD2): Likewise.
2626         (__ASSUME_SIGNALFD4): Likewise.
2627         (__ASSUME_DUP3): Likewise.
2628         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2629         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2630         (__ASSUME_AT_RANDOM): Likewise.
2631         (__ASSUME_PREADV): Likewise.
2632         (__ASSUME_PWRITEV): Likewise.
2633         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2634         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2635         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2636         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2637         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2638         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2639         (__ASSUME_O_CLOEXEC): Define unconditionally.
2640         (__ASSUME_PSELECT): Do not undefine conditionally.
2641         (__ASSUME_PPOLL): Likewise.
2642         (__ASSUME_ATFCTS): Likewise.
2643         (__ASSUME_SET_ROBUST_LIST): Likewise.
2644         (__ASSUME_UTIMENSAT): Likewise.
2645         (__ASSUME_FDATASYNC): Define unconditionally.
2646         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2647         (__ASSUME_SIGFRAME_V2): Likewise.
2648         )__ASSUME_EVENTFD2): Likewise.
2649         (__ASSUME_SIGNALFD4): Likewise.
2650         (__ASSUME_PSELECT): Do not undefine conditionally.
2651         (__ASSUME_PPOLL): Likewise.
2652         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2653         (__ASSUME_PSELECT): Define unconditionally.
2654         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
2663         (__ASSUME_O_CLOEXEC): Likewise.
2664         (__ASSUME_SOCK_CLOEXEC): Likewise.
2665         (__ASSUME_IN_NONBLOCK): Likewise.
2666         (__ASSUME_PIPE2): Likewise.
2667         (__ASSUME_EVENTFD2): Likewise.
2668         (__ASSUME_SIGNALFD4): Likewise.
2669         (__ASSUME_DUP3): Likewise.
2670         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2671         (__ASSUME_EVENTFD2): Likewise.
2672         (__ASSUME_SIGNALFD4): Likewise.
2673         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2674
2675 2014-05-12  Andreas Schwab  <schwab@suse.de>
2676
2677         [BZ #16932]
2678         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2679         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2680         than maximum RPC packet size.
2681         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2682         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2683         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2684         (_nss_nis_getservbyport_r): Likewise.
2685
2686 2014-05-12  Will Newton  <will.newton@linaro.org>
2687
2688         * malloc/Makefile (tests): Add tst-mallopt.
2689         * malloc/tst-mallopt.c: New file.
2690
2691 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2692
2693         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2694         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2695
2696 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2697
2698         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2699         (tst-tlsmod6.so): Likewise.
2700
2701 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2702
2703         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2704
2705 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2706
2707         [BZ #16064]
2708         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2709         and <dl-procinfo.h>.
2710         (__fegetenv): Save SSE state in envp->__eip if supported.
2711         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2712         envp->__eip if supported.
2713         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2714         and <dl-procinfo.h>.
2715         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2716         __data_offset and __data_selector in environment to 0.  Set SSE
2717         state if supported.
2718         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2719         test-fenv-sse.
2720         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2721         -mfpmath=sse.
2722         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2723
2724 2014-05-09  Will Newton  <will.newton@linaro.org>
2725
2726         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2727         and libc_relro_required for ARM.
2728         * sysdeps/arm/preconfigure: Regenerate.
2729
2730 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2731             Stefan Liebler  <stli@linux.vnet.ibm.com>
2732
2733         * config.make.in (enable-lock-elision): New Makefile variable.
2734         * configure.ac: Likewise.
2735         * configure: Regenerate.
2736         * sysdeps/s390/configure.ac:
2737         Add check for gcc transactions support.
2738         * sysdeps/s390/configure: Regenerate.
2739         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2740         Build elision files if enabled.
2741         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2742         Add lock elision support for s390.
2743         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2744         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2745         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2746         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2747         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2748         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2749         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2750         Likewise.
2751         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2752         Likewise.
2753         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2754         Likewise.
2755         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2756         Likewise.
2757         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2758         (__lll_timedlock_elision, __lll_lock_elision)
2759         (__lll_unlock_elision, __lll_trylock_elision)
2760         (lll_timedlock_elision, lll_lock_elision)
2761         (lll_unlock_elision, lll_trylock_elision): Add.
2762         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2763         (pthread_mutex_t): Add lock elision support for s390.
2764
2765 2014-05-14  Wilco  <wdijkstr@arm.com>
2766
2767         * sysdeps/arm/fclrexcpt.c: Cleanup.
2768         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2769         * sysdeps/arm/feenablxcpt.c: Cleanup.
2770         * sysdeps/arm/fegetenv.c: Cleanup.
2771         * sysdeps/arm/fegetexcept.c: Cleanup.
2772         * sysdeps/arm/fegetround.c: Cleanup.
2773         * sysdeps/arm/feholdexcpt.c: Cleanup.
2774         * sysdeps/arm/fesetenv.c: Cleanup.
2775         * sysdeps/arm/fesetround.c: Cleanup.
2776         * sysdeps/arm/feupdateenv.c: Cleanup.
2777         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2778         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2779         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2780         * sysdeps/arm/ftestexcept.c: Cleanup.
2781         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2782         * sysdeps/arm/setfpucw.c: Cleanup.
2783
2784 2014-05-09  Will Newton  <will.newton@linaro.org>
2785
2786         * sysdeps/arm/armv7/strcmp.S: New file.
2787         * NEWS: Mention addition of ARMv7 optimized strcmp.
2788
2789 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2790
2791         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2792         look for %.ac rather than %.in.
2793
2794         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2795         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2796         * sysdeps/mach/hurd/configure: Regenerated.
2797         * sysdeps/unix/sysv/linux/configure: Regenerated.
2798
2799         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2800
2801 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2802
2803         [BZ# 16922]
2804         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2805         (LONG_SUB): Ditto.
2806         (PTR_SUB): Ditto.
2807
2808 2014-05-07  Andreas Schwab  <schwab@suse.de>
2809
2810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2811         when skipping over non-matching result from nscd.
2812
2813 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2814
2815         [BZ #16876]
2816         * nptl/sockperf.c (client): Check socket return value.
2817
2818         [BZ #16877]
2819         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2820         nscd security class.
2821
2822 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2823
2824         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2825         * sysdeps/arm/unwind.h: ... here.
2826
2827 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2828
2829         [BZ# 16916]
2830         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2831         Define.
2832
2833 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2834
2835         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2836         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2837         multiarch strncpy for PPC64.
2838         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2839         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2841         multiarch optimizations.
2842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2843         (__libc_ifunc_impl_list): Likewise.
2844         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2845         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2846         multiarch stpncpy for PPC64.
2847         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2848         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2849
2850 2014-05-06  Andreas Schwab  <schwab@suse.de>
2851
2852         [BZ #16912]
2853         * gmon/mcount.c (_MCOUNT_DECL): Use
2854         atomic_compare_and_exchange_bool_acq instead of
2855         catomic_compare_and_exchange_bool_acq.
2856
2857 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2858
2859         * elf/Makefile (others, install-bin): Remove pldd.
2860         (pldd-modules): Variable removed.
2861         ($(objpfx)pldd): Target removed.
2862         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2863         (others, install-bin): Append pldd here.
2864         ($(objpfx)pldd): New target.
2865
2866         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2867         to 0, so the first #if test emitted later doesn't see it undefined.
2868         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2869         * sysdeps/gnu/errlist.c: Regenerated.
2870
2871 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2872
2873         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2874         [libc_hidden_builtin_def]: Define to empty value.
2875         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2876         [libc_hidden_builtin_def]: Likewise.
2877         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2878         [libc_hidden_builtin_def]: Likewise.
2879         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2880         [libc_hidden_builtin_def]: Likewise.
2881         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2882         __redirect_memcpy and define ifunc as default hidden symbol.
2883         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2884         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2885
2886 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2887
2888         * locale/iso-4217.def: Reintroduce XDR currency.
2889
2890 2014-05-04  Allan McRae  <allan@archlinux.org>
2891
2892         * po/eo.po: Update Esperanto translation from translation project.
2893
2894 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2895
2896         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2897         and FEATURE_INDEX_MAX to 1.
2898         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2899
2900 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2901
2902         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2903         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2904         * iconvdata/big5.c (ONE_DIRECTION): Define.
2905         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2906         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2907         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2908         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2909         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2910         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2911         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2912         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2913         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2914         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2915         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2916         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2917         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2918         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2919         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2920         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2921         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2922         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2923         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2924         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2925         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2926         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2927         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2928         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2929         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2930         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2931         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2932         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2933         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2934         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2935         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2936         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2937         * iconvdata/johab.c (ONE_DIRECTION): Define.
2938         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2939         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2940         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2941         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2942         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2943         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2944         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2945         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2946         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2947         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2948
2949 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2950
2951         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2952         (_IO_JUMPS_OFFSET): Define to 0.
2953
2954         * nptl/sysdeps/pthread/bits/libc-lock.h
2955         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2956         (__libc_lock_define_initialized_recursive): Always define using
2957         initializer.  Modern compilers treat uninitialized (implicit zero) and
2958         explicit zero initializers the same (i.e. put the datum in bss).
2959
2960 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2961
2962         * nscd/nscd-client.h: Include <string.h>.
2963
2964 2014-05-01  David S. Miller  <davem@davemloft.net>
2965
2966         [BZ #16885]
2967         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2968         multiple zero bytes exist at the end of a string.
2969         Reported by Aurelien Jarno <aurelien@aurel32.net>
2970
2971         * string/test-strcmp.c (check): Add explicit test for situations where
2972         there are multiple zero bytes after the first.
2973
2974 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2975
2976         [BZ #16890]
2977         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2978         when compiling wprintf.
2979         * stdio-common/tstdiomisc.c (t3): New function.
2980         (main): Call it.
2981
2982 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2983
2984         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2985         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2986         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2987         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2988
2989 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2990
2991         * stdlib/longlong.h: Updated from GCC.
2992
2993 2014-05-01  Will Newton  <will.newton@linaro.org>
2994             Bernard Ogden  <bernie.ogden@linaro.org>
2995
2996         * NEWS: Update fixed bug list.
2997
2998         [BZ #15119]
2999         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3000
3001 2014-04-30  David S. Miller  <davem@davemloft.net>
3002
3003         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3004         (libc_feholdexcept_setround_sparc_ctx): New function.
3005         (libc_fesetenv_sparc_ctx): Likewise.
3006         (libc_feupdateenv_sparc_ctx): Likewise.
3007         (libc_feholdsetround_sparc_ctx): Likewise.
3008         (libc_feholdexcept_setround_ctx): Define.
3009         (libc_feholdexcept_setroundf_ctx): Likewise.
3010         (libc_feholdexcept_setroundl_ctx): Likewise.
3011         (libc_fesetenv_ctx): Likewise.
3012         (libc_fesetenvf_ctx): Likewise.
3013         (libc_fesetenvl_ctx): Likewise.
3014         (libc_feupdateenv_ctx): Likewise.
3015         (libc_feupdateenvf_ctx): Likewise.
3016         (libc_feupdateenvl_ctx): Likewise.
3017         (libc_feresetround_ctx): Likewise.
3018         (libc_feresetroundf_ctx): Likewise.
3019         (libc_feresetroundl_ctx): Likewise.
3020         (libc_feholdsetround_ctx): Likewise.
3021         (libc_feholdsetroundf_ctx): Likewise.
3022         (libc_feholdsetroundl_ctx): Likewise.
3023
3024         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3025         with __USE_GNU instead of XOPEN cpp guards.
3026
3027         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3028         0.
3029
3030         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3031         with XOPEN cpp guards.
3032
3033 2014-04-30  Julian Brown  <julian@codesourcery.com>
3034
3035         [BZ #16888]
3036         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3037         handling.
3038
3039 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3040
3041         [BZ #9894]
3042         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3043         Change to 2.6.32.
3044         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3045         * sysdeps/unix/sysv/linux/configure: Regenerated.
3046         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3047         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3048         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3049         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3050         * README: Update reference to required Linux kernel version.
3051         * manual/install.texi (Linux): Update reference to required Linux
3052         kernel headers version.
3053         * INSTALL: Regenerated.
3054
3055         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3056         header inclusion.
3057         [POSIX] (limits.h): Likewise.
3058         [POSIX] (math.h): Likewise.
3059         [POSIX] (sys/wait.h): Likewise.
3060         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3061         function.
3062         [POSIX] (stddef.h): Do not allow header inclusion.
3063
3064 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3065
3066         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3067
3068 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3069
3070         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3071         Return immediately after lll_futex_wake.
3072
3073 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3074
3075         [BZ #16791]
3076         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3077         structure.
3078         (datahead_init_pos): Call datahead_init_common early.
3079         (datahead_init_neg): Likewise.
3080
3081         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3082         datahead_init_neg): New functions.
3083         * nscd/aicache.c (addhstaiX): Use them.
3084         * nscd/grpcache.c (cache_addgr): Likewise.
3085         * nscd/hstcache.c (cache_addhst): Likewise.
3086         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3087         * nscd/netgroupcache.c (do_notfound): Likewise.
3088         (addgetnetgrentX): Likewise.
3089         (addinnetgrX): Likewise.
3090         * nscd/pwdcache.c (cache_addpw): Likewise.
3091         * nscd/servicescache.c (cache_addserv): Likewise.
3092
3093 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3094             Atsushi Onoe  <atsushi@onoe.org>
3095
3096         [BZ #14308]
3097         [BZ #12994]
3098         [BZ #13651]
3099         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3100         one response is valid.
3101         * resolv/res_send.c (send_dg): Check for validity of other
3102         response if the current response is a referral.
3103
3104 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3105
3106         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3107
3108 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3109
3110         [BZ #16823]
3111         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3112         Always divide by positive zero when computing -Inf result.
3113         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3114         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3115
3116 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3117
3118         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3119         FPSCR if value do not change.
3120         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3121         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3122         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3123         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3124         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3125         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3126         function.
3127
3128 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3129
3130         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3131         * sysdeps/unix/sysv/linux/hppa: Move directory from
3132         ports/systeps/unix/sysv/linux/hppa.
3133         * README: Update listing for hppa-*-linux-gnu.
3134
3135 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3136
3137         [BZ #16754]
3138         * manual/stdio.texi (Hook functions): Fix types of stream hook
3139         functions.
3140         [BZ #16854]
3141         * socket/sys/socket.h: Fix typo in comment.
3142
3143 2014-04-28  Wilco  <wdijkstr@arm.com>
3144
3145         * sysdeps/arm/fenv_private.h: New file.
3146         * sysdeps/arm/math_private.h: New file.
3147         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3148
3149 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3150
3151         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3152         with __int128_t.
3153         (La_x86_64_retval): Likewise.
3154
3155 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3156
3157         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3158         fpsr if value didn't change.
3159         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3160         to fpcr if value didn't change.
3161         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3162         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3163         fpsr or fpcr if value didn't change.
3164         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3165         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3166         fpcr if value didn't change.
3167         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3168         to fpsr if value didn't change.
3169
3170 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3171
3172         * nptl/tst-sem3.c: Use test-skeleton.c
3173         (main): Rename to do_test.  Use return instead of
3174         exit.
3175         * nptl/tst-sem4.c: Use test-skeleton.c
3176         (main): Rename to do_test.
3177
3178 2014-04-22  David S. Miller  <davem@davemloft.net>
3179
3180         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3181         (struct sigaction): New struct member __glibc_reserved0, change
3182         type of sa_flags to int.
3183
3184 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3185
3186         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3187         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3188
3189 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3190
3191         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3192         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3193
3194 2014-04-22  Will Newton  <will.newton@linaro.org>
3195             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3196
3197         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3198         (__longjmp): Add longjmp and longjmp_target SystemTap
3199         probes.
3200         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3201         (__sigsetjmp): Add setjmp SystemTap probe.
3202
3203 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3204
3205         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3206         match manual order.
3207
3208 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3209
3210         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3211
3212         * sysdeps/powerpc/fpu/fenv_private.h
3213         (libc_feholdexcept_setroundl_ctx): Define to
3214         libc_feholdexcept_setround_ppc_ctx.
3215         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3216         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3217         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3218         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3219
3220 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3221
3222         * sysdeps/aarch64/math-tests.h: New file.
3223
3224 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3225
3226         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3227         New.
3228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3229         Check and set bit_AVX2_Usable.
3230         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3231         macro.
3232         (bit_AVX2): Likewise.
3233         (index_AVX2_Usable): Likewise.
3234         (CPUID_AVX2): Likewise.
3235         (HAS_AVX2): Likewise.
3236
3237 2014-04-17  Will Newton  <will.newton@linaro.org>
3238
3239         * manual/setjmp.texi (System V contexts): Add note that
3240         calling setcontext on a context created by a call to a
3241         signal handler is undefined.  Update text to note that
3242         setcontext from a signal handler is possible but not
3243         recommended.
3244
3245         [BZ #16629]
3246         * stdlib/tst-setcontext.c: Include signal.h.
3247         (main): Check that the signal stack before and
3248         after swapcontext is the same.
3249
3250         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3251         Re-implement to restore registers in user code and avoid
3252         rt_sigreturn system call.
3253
3254 2014-04-17  Wilco  <wdijkstr@arm.com>
3255
3256         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3257         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3258         * math/test-fenv.c: Skip exception trap tests on targets which only
3259         support non-stop mode.
3260
3261 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3262             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3263
3264         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3265         (libc_feholdsetround_aarch64_ctx)
3266         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3267         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3268         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3269         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3270         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3271         (libc_feresetround_noexl_ctx): Define.
3272
3273 2014-04-16  Richard Henderson  <rth@redhat.com>
3274
3275         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3276
3277         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3278         unwind tables.
3279
3280         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3281         const from the non-libc, non-ldso copy.
3282
3283         * sysdeps/alpha/libm-test-ulps: Regenerate.
3284
3285 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3286             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3287
3288         * sysdeps/aarch64/fpu/math_private.h: New file.
3289
3290 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3291
3292         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3293
3294 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3295
3296         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3297         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3298         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3299         Intel MPX bound registers before _dl_profile_fixup.
3300         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3301         registers after _dl_profile_fixup.  Save and restore bound
3302         registers bnd0/bnd1 when calling _dl_call_pltexit.
3303         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3304         (LR_BND_OFFSET): Likewise.
3305         (LRV_BND0_OFFSET): Likewise.
3306         (LRV_BND1_OFFSET): Likewise.
3307
3308 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3309
3310         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3311         to...
3312         * sysdeps/mach/hurd/i386/tls.h: ... here.
3313         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3314         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3315         fields.
3316
3317 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3318
3319         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3320
3321 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3322
3323         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3324
3325 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3326
3327         [BZ #14770]
3328         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3329         * sysdeps/s390/configure: Regenerate.
3330
3331         [BZ #16824]
3332         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3333         Set round-to-nearest internally to reduce error accumulation.
3334
3335 2014-04-16  Alan Modra  <amodra@gmail.com>
3336
3337         [BZ #16740]
3338         [BZ #16619]
3339         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3340         * math/libm-test.inc (frexp_test_data): Add tests.
3341         * NEWS: Update fixed bug list.
3342
3343 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3344
3345         * benchtests/Makefile: Depend on libraries in build directory.
3346         (bench-math): Separate out math tests.
3347         (bench-pthread): Separate out pthread tests.
3348         (bench): Include math and pthread tests.
3349
3350 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3351
3352         [BZ #16831]
3353         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3354         _dl_debug_initialize.
3355
3356         * configure.ac: Remove SELinux header check.
3357         * configure: Regenerate.
3358         * nscd/selinux.c (perms): Array of const char* to permission names.
3359         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3360         default policy. Call string_to_security_class and string_to_av_perm to
3361         translate strings. Enforce default policy and call avs_has_perm with
3362         results of translated strings.
3363
3364 2014-04-13  David S. Miller  <davem@davemloft.net>
3365
3366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3367
3368 2014-04-12  Allan McRae  <allan@archlinux.org>
3369
3370         [BZ #16838]
3371         * manual/string.texi (Collation Functions): Fix qsort argument
3372         order in example.
3373         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3374
3375 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3376
3377         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3378         Make the test a no-op if there are no exceptions defined.
3379
3380 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3381
3382         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3383         enable-hardcoded-path-in-tests
3384
3385 2014-04-11  Will Newton  <will.newton@linaro.org>
3386
3387         * benchtests/Makefile (extra-objs): Add json-lib.o.
3388         (bench-func): Tidy up JSON output.
3389         * benchtests/bench-skeleton.c: Include json-lib.h.
3390         (main): Use JSON library functions to do output of
3391         benchmark results.
3392         * benchtests/bench-timing-type.c (main): Output the
3393         timing type simply, leaving formatting to the user.
3394         * benchtests/json-lib.c: New file.
3395         * benchtests/json-lib.h: Likewise.
3396
3397 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3398
3399         [BZ #15215]
3400         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3401         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3402         memory barriers.  Add comments.
3403         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3404         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3405         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3406         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3407         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3408         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3409
3410 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3411
3412         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3413         * sysdeps/s390/s390-64/configure.ac: ... this ...
3414         * sysdeps/s390/configure.ac: ... to here.
3415         * sysdeps/s390/s390-32/configure: Delete file.
3416         * sysdeps/s390/s390-64/configure: Delete file.
3417         * sysdeps/s390/configure: Regenerate.
3418
3419 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3420
3421         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3422
3423 2014-04-11  Will Newton  <will.newton@linaro.org>
3424
3425         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3426         to zero if it is not defined elsewhere.  (mtrim): Test
3427         the value of MALLOC_DEBUG with #if rather than #ifdef.
3428
3429 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3430
3431         * benchtests/pthread_once-inputs: New file.
3432         * benchtests/pthread_once-source.c: New file.
3433         * benchtests/README: Update documentation.
3434
3435 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3436             H.J. Lu  <hongjiu.lu@intel.com>
3437
3438         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3439         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3440         * sysdeps/x86_64/configure: Regenerated.
3441         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3442         macro.
3443         (REGISTER_SAVE_RAX): Likewise.
3444         (REGISTER_SAVE_RCX): Likewise.
3445         (REGISTER_SAVE_RDX): Likewise.
3446         (REGISTER_SAVE_RSI): Likewise.
3447         (REGISTER_SAVE_RDI): Likewise.
3448         (REGISTER_SAVE_R8): Likewise.
3449         (REGISTER_SAVE_R9): Likewise.
3450         (REGISTER_SAVE_BND0): Likewise.
3451         (REGISTER_SAVE_BND1): Likewise.
3452         (REGISTER_SAVE_BND2): Likewise.
3453         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3454         bound registers when calling _dl_fixup.
3455
3456 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3457
3458         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3459         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3460         of its definition.
3461         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3462         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3463         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3464         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3465         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3466         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3467         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3468
3469 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3470
3471         [BZ #15514]
3472         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3473         pathconf(_PC_NAME_MAX).
3474
3475 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3476
3477         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3478         Remove macro usage.
3479         (__PTHREAD_SPINS): Move definition to ...
3480         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3481         (__PTHREAD_SPINS): ... here.
3482         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3483         (__PTHREAD_SPIN): Likewise.
3484         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3485         (__PTHREAD_SPIN): Likewise.
3486         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3487         (__PTHREAD_SPIN): Likewise.
3488         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3489         (__PTHREAD_SPIN): Likewise.
3490         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3491         (__PTHREAD_SPIN): Likewise.
3492         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3493         (__PTHREAD_SPIN): Likewise.
3494         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3495         (__PTHREAD_SPIN): Likewise.
3496         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3497         (__PTHREAD_SPIN): Likewise.
3498         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3499         (__PTHREAD_SPIN): Likewise.
3500         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3501         (__PTHREAD_SPIN): Likewise.
3502         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3503         (__PTHREAD_SPIN): Likewise.
3504         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3505         (__PTHREAD_SPIN): Likewise.
3506
3507         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3508         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3509         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3510         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3511         imply folder.
3512         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3513         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3514         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3515         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3516         correct imply path.
3517         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3518         strlen symbol for non multi-arch builds.
3519         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3520         missing hidden_def and weak_alias.
3521
3522 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3523
3524         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3525
3526 2014-04-07  Will Newton  <will.newton@linaro.org>
3527
3528         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3529         and contents.  [!_LIBC] Remove #ifndef and contents.
3530         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3531         * string/memccpy.c (__memccpy): Use ANSI prototype.
3532         * string/memfrob.c (memfrob): Likewise.
3533         * string/strcoll.c (STRCOLL): Likewise.
3534         * string/strlen.c (strlen): Likewise.
3535         * string/strtok.c (STRTOK): Likewise.
3536         * string/strcat.c: Remove unused #include of memcopy.h.
3537         (strcat): Use ANSI prototype.
3538         * string/strchr.c: Remove unused #include of memcopy.h.
3539         (strchr): Use ANSI prototype.
3540         * string/strcmp.c: Remove unused #include of memcopy.h.
3541         (strcmp): Use ANSI prototype.
3542         * string/strcpy.c: Remove unused #include of memcopy.h.
3543         (strcpy): Use ANSI prototype.
3544
3545 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3546
3547         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3548         * config.make.in (config-extra-cppflags): Set it from
3549         libc_extra_cppflags.
3550         * configure.ac (libc_extra_cflags): Make it accumulate over
3551         configure fragments.
3552         (libc_extra_cppflags): New flag.
3553         * configure. Regenerate.
3554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3555         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3556         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3558
3559         [BZ #16815]
3560         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3561         result for FE_DOWNWARD rounding mode.
3562         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3563         Likewise.
3564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3565
3566 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3567
3568         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3569         in function argument name.
3570
3571 2014-04-03  David Svoboda  <svoboda@cert.org>
3572
3573         [BZ #5666]
3574         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3575         explicitly.
3576
3577 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3578
3579         * elf/dl-unmap-segments.h: New file.
3580         * sysdeps/generic/ldsodefs.h
3581         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3582         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3583         * elf/dl-fptr.c: Likewise.
3584         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3585         * sysdeps/aarch64/tlsdesc.c: Likewise.
3586         * sysdeps/arm/tlsdesc.c: Likewise.
3587         * sysdeps/i386/tlsdesc.c: Likewise.
3588         * sysdeps/tile/dl-runtime.c: Likewise.
3589         * sysdeps/x86_64/tlsdesc.c: Likewise.
3590         * elf/dl-load.h: New file.
3591         * elf/dl-load.c: Include it.
3592         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3593         Macros moved to dl-load.h.
3594         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3595         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3596         Use _dl_unmap_segments in place of __munmap.
3597         Break out segment-mapping loop into ...
3598         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3599
3600 2014-04-03  Will Newton  <will.newton@linaro.org>
3601
3602         * elf/dl-lookup.c (do_lookup_x): Remove comment
3603         referring to nested function and move variable
3604         declarations down to before first use.
3605
3606 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3607
3608         [BZ #16799]
3609         [BZ #16800]
3610         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3611         with 0 numerator.
3612         * math/s_catanf.c (__catanf): Likewise.
3613         * math/s_catanh.c (__catanh): Likewise.
3614         * math/s_catanhf.c (__catanhf): Likewise.
3615         * math/s_catanhl.c (__catanhl): Likewise.
3616         * math/s_catanl.c (__catanl): Likewise.
3617         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3618         by positive zero when computing -Inf result.
3619         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3620         (catanh_test): Likewise.
3621         * sysdeps/i386/fpu/libm-test-ulps: Update.
3622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3623
3624         [BZ #16789]
3625         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3626         instead of using underflowing value in computing result.
3627         * math/s_clog10.c (__clog10): Likewise.
3628         * math/s_clog10f.c (__clog10f): Likewise.
3629         * math/s_clog10l.c (__clog10l): Likewise.
3630         * math/s_clogf.c (__clogf): Likewise.
3631         * math/s_clogl.c (__clogl): Likewise.
3632         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3633         (clog10_test): Likewise.
3634         * sysdeps/i386/fpu/libm-test-ulps: Update.
3635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3636
3637 2014-04-02  Alan Modra  <amodra@gmail.com>
3638
3639         [BZ #16739]
3640         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3641         output when value is near a power of two.  Use int64_t for lx and
3642         remove casts.  Use decimal rather than hex exponent constants.
3643         Don't use long double multiplication when double will suffice.
3644         * math/libm-test.inc (nextafter_test_data): Add tests.
3645         * NEWS: Add 16739 and 16786 to bug list.
3646
3647         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3648
3649         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3650
3651 2014-04-01  Will Newton  <will.newton@linaro.org>
3652
3653         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3654         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3655
3656 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3657
3658         [BZ #13347]
3659         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3660         * nptl/tst-setuid2.c: New file.
3661         * nptl/Makefile (xtests): Add tst-setuid2.
3662
3663 2014-04-01  Alan Modra  <amodra@gmail.com>
3664
3665         [BZ #16786]
3666         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3667
3668 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3669
3670         [BZ #6803]
3671         [BZ #6804]
3672         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3673         set errno as appropriate.
3674         * math/w_scalbf.c (__scalbf): Likewise.
3675         * math/w_scalbl.c (__scalbl): Likewise.
3676         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3677         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3678         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3679         Add more NaN tests.
3680
3681         [BZ #16349]
3682         * math/w_atan2.c: Include <errno.h>.
3683         (__atan2): Set errno for result underflowing to zero.
3684         * math/w_atan2f.c: Include <errno.h>.
3685         (__atan2f): Set errno for result underflowing to zero.
3686         * math/w_atan2l.c: Include <errno.h>.
3687         (__atan2l): Set errno for result underflowing to zero.
3688         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3689         tests.
3690         * math/auto-libm-test-out: Regenerated.
3691
3692 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3693
3694         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3695         Encode instruction correctly in little endian.
3696         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3697         Likewise.
3698         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3699         Likewise.
3700         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3701         Likewise.
3702         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3703         Likewise.
3704
3705 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3706
3707         [BZ #9894]
3708         * sysdeps/unix/sysv/linux/kernel-features.h
3709         [__sparc__ && !__arch64__ && !__sparc_v9__]
3710         (__ASSUME_SET_ROBUST_LIST): Do not define.
3711         [__sparc__ && !__arch64__ && !__sparc_v9__]
3712         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3713         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3714         Likewise.
3715         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3716         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3717         (__ASSUME_REQUEUE_PI): Likewise.
3718         (__ASSUME_SET_ROBUST_LIST): Likewise.
3719         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3720         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3721         Undefine.
3722         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3723         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3724         Likewise.
3725         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3726         Likewise.
3727         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3728         Likewise.
3729         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3730         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3731         Undefine.
3732         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3733         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3734         Likewise.
3735
3736         [BZ #16648]
3737         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3738         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3739         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3740
3741 2014-03-31  Will Newton  <will.newton@linaro.org>
3742
3743         * benchtests/Makefile (bench): Add ffs and ffsll to list
3744         of tests.
3745         * benchtests/ffs-inputs: New file.
3746         * benchtests/ffsll-inputs: Likewise.
3747
3748 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3749
3750         [BZ #16770]
3751         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3752         too large before casting to int.
3753         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3754         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3755         * math/libm-test.inc (scalb_test_data): Add more tests.
3756
3757 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3758
3759         * benchtests/Makefile (DETAILED_OPT): New make option.
3760         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3761         set.
3762         * benchtests/bench-skeleton.c: Include stdbool.h.
3763         (main): Store and print timings per input.
3764         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3765         member to each argument value.
3766         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3767         (_print_arg_data): Initialize per-input timing to 0.
3768
3769         * benchtests/Makefile (timing-type): New binary.
3770         (bench-clean): Also remove bench-timing-type.
3771         (bench): New target for timing-type.
3772         (bench-func): Print output in JSON format.
3773         * benchtests/bench-skeleton.c (main): Print output in JSON
3774         format.
3775         * benchtests/bench-timing-type.c: New file.
3776         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3777         (TIMING_PRINT_STATS): Remove.
3778         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3779         name separately.
3780
3781         * benchtests/bench-modf.c: Remove.
3782         * benchtests/modf-inputs: New inputs file.
3783
3784 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3785
3786         [BZ #16362]
3787         * math/s_clog10.c (M_PI_LOG10E): New macro.
3788         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3789         imaginary parts are 0.
3790         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3791         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3792         imaginary parts are 0.
3793         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3794         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3795         imaginary parts are 0.
3796         * math/libm-test.inc (clog10_test_data): Update expected results
3797         for when real and imaginary parts are 0.
3798
3799 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3800
3801         * elf/dl-load.c: Finish conversion of __builtin_expect into
3802         __glibc_{un}likely.
3803
3804 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3805
3806         [BZ #16348]
3807         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3808         1+x for argument with exponent below -67.
3809         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3810         Likewise.
3811         * math/auto-libm-test-in: Add more tests of exp.
3812         * math/auto-libm-test-out: Regenerated.
3813
3814 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3815
3816         [BZ #16759]
3817         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3818         (nscd_getnetgrent): Use it.
3819
3820         [BZ #16760]
3821         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3822         of stpcpy.
3823
3824 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3825
3826         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3827         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3828         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3829         (lll_robust_unlock): Remove out of line section. Use cfi
3830         intrinsics.
3831         (LLL_STUB_UNWIND_INFO*): Remove.
3832         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3833         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3834         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3835         (lll_robust_unlock): Remove out of line section. Use cfi
3836         intrinsics.
3837         (LLL_STUB_UNWIND_INFO*): Remove.
3838
3839 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3840
3841         [BZ #16758]
3842         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3843         blank values.
3844
3845 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3846
3847         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3848
3849 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3850
3851         [BZ #16198]
3852         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3853         fnstenv.
3854         * math/test-fenv-preserve.c: New file.
3855         * math/Makefile (tests): Add test-fenv-preserve.
3856
3857 2014-03-26  Will Newton <will.newton@linaro.org>
3858
3859         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3860
3861 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3862
3863         * scripts/versionlist.awk: Partition the version sets and emit all
3864         GLIBC_* (sorted) before all others (sorted).
3865
3866 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3867
3868         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3869         GLIBC_2.2.5 version.
3870
3871 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3872
3873         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3874         calls.
3875
3876         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3877         previous change.
3878
3879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3880
3881 2014-03-25  Andreas Schwab  <schwab@suse.de>
3882
3883         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3884         label to be used after in6ailist is initialized.
3885
3886 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3887
3888         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3889         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3890
3891 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3892
3893         [BZ #16357]
3894         [BZ #16599]
3895         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3896         min_plus_half.
3897         (fp_formats): Update initializers.
3898         (init_fp_formats): Initialize new field.
3899         (output_for_one_input_case): Allow underflow for results up to
3900         min_plus_half.
3901         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3902         * math/auto-libm-test-in: Don't mark some underflows from asin and
3903         atanh as spurious.
3904         * math/auto-libm-test-out: Regenerated.
3905         * sysdeps/i386/fpu/libm-test-ulps: Update.
3906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3907
3908 2014-03-25  Andreas Schwab  <schwab@suse.de>
3909
3910         * libio/Makefile (tst-ftell-partial-wide-ENV)
3911         (tst-ftell-active-handler-ENV): Define.
3912
3913 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3914
3915         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3916
3917 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3918
3919         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3920
3921 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3922
3923         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3924         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3925         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3926
3927 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3928
3929         [BZ #16634]
3930         * elf/dl-load.c (open_verify): Add mode parameter.
3931         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3932         (open_path): Change from boolean 'secure' to complete flag 'mode'
3933         (_dl_map_object): Adjust.
3934         * elf/Makefile (tests): Add tst-dlopen-aout.
3935         * elf/tst-dlopen-aout.c: New test.
3936
3937 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3938
3939         [BZ #16714]
3940         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3941         (struct stat): Rename member pad0 to __glibc_reserved0.
3942
3943         [BZ #16712]
3944         * sysdeps/s390/s390-32/bits/wordsize.h
3945         (__WORDSIZE32_SIZE_ULONG): New define.
3946         * sysdeps/s390/s390-64/bits/wordsize.h
3947         (__WORDSIZE32_SIZE_ULONG): Likewise.
3948         * sysdeps/generic/stdint.h (SIZE_MAX):
3949         Define as UL if __WORDSIZE32_SIZE_ULONG.
3950
3951         [BZ #16713]
3952         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3953         (__glibc_reserved0): New variable.
3954         (sa_flags): Change type to int.
3955
3956         * posix/Makefile (before-compile): Use += before-compile instead
3957         of a :=.
3958
3959         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3960         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3961
3962 2014-03-20  Andreas Schwab  <schwab@suse.de>
3963
3964         [BZ #16743]
3965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3966         non-matching result from nscd.
3967
3968 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3969
3970         * scripts/bench.py: Moved to ...
3971         * benchtests/scripts/bench.py: ... here.
3972         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3973
3974 2014-03-24  Andreas Schwab  <schwab@suse.de>
3975
3976         [BZ #16002]
3977         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3978         alloca_account and account alloca use for struct in6ailist.
3979
3980 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3981
3982         [BZ #16284]
3983         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3984         rounding mode to recompute results that overflow to infinity or
3985         underflow to zero.
3986         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3987         bug 16284.
3988         * math/auto-libm-test-out: Regenerated.
3989         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3990         (ccosh_test): Likewise.
3991         (csin_test_data): Use plus_oflow.
3992         (csin_test): Use ALL_RM_TEST.
3993         (csinh_test_data): Use plus_oflow.
3994         (csinh_test): Use ALL_RM_TEST.
3995         * sysdeps/i386/fpu/libm-test-ulps: Update.
3996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3997
3998 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
3999
4000         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4001         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4002         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4003
4004         [BZ #16731]
4005         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4006         when x - 1 is zero.
4007         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4008         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4009         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4010         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4011         argument is 1.
4012         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4013         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4014         zero.
4015         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4016         * sysdeps/i386/fpu/libm-test-ulps: Update.
4017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4018
4019 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4020
4021         * scripts/bench.pl: Remove file.
4022         * scripts/bench.py: New benchmark script.
4023         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4024         * benchtests/README: Mention python dependency.
4025         * scripts/pylintrc: New file.
4026         * scripts/pylint: New file.
4027
4028         * bits/mathdef.h: Use #ifdef instead of #if.
4029         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4030         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4031         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4032         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4033         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4034         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4035
4036 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4037             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4038
4039         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4041         and strpbrk-ppc64 objects.
4042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4043         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4044         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4045         multiarch strpbrk for POWER7.
4046         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4047         multiarch strpbrk for PPC64.
4048         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4049         ifunc selector.
4050         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4051         strpbrk for POWER7.
4052
4053 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4054
4055         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4056         (atan_test): Likewise.
4057         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4058         (atanh_test): Use ALL_RM_TEST.
4059         (atan2_test_data): Likewise.
4060         (cabs_test): Likewise.
4061         (cacosh_test): Likewise.
4062         (carg_test): Likewise.
4063         (casin_test): Likewise.
4064         (casinh_test): Likewise.
4065         (cbrt_test): Likewise.
4066         (csqrt_test): Likewise.
4067         (erf_test): Likewise.
4068         (erfc_test): Likewise.
4069         (pow10_test): Likewise.
4070         (exp2_test): Likewise.
4071         (hypot_test): Likewise.
4072         (j0_test): Likewise.
4073         (j1_test): Likewise.
4074         (lgamma_test): Likewise.
4075         (gamma_test): Likewise.
4076         (sincos_test): Likewise.
4077         (tanh_test): Likewise.
4078         (y0_test): Likewise.
4079         (y1_test): Likewise.
4080         * sysdeps/i386/fpu/libm-test-ulps: Update.
4081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4082
4083 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4084
4085         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4087         and strcspn-ppc64 objects.
4088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4089         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4090         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4091         multiarch strcspn for POWER7.
4092         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4093         multiarch strcspn for PPC64.
4094         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4095         ifunc selector.
4096         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4097         strcspn for POWER7.
4098
4099 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4100
4101         * math/gen-libm-test.pl (generate_testfile): Expect only function
4102         name as argument to AUTO_TESTS_* and pass results for all rounding
4103         modes to parse_args.
4104         (parse_auto_input): Separate inputs of automatic tests from
4105         outputs before storing in %auto_tests.
4106         * math/libm-test.inc (acos_test_data): Update call to
4107         AUTO_TESTS_f_f.
4108         (acos_test): Use ALL_RM_TEST.
4109         (acos_tonearest_test_data): Remove.
4110         (acos_test_tonearest): Likewise.
4111         (acos_towardzero_test_data): Likewise.
4112         (acos_test_towardzero): Likewise.
4113         (acos_downward_test_data): Likewise.
4114         (acos_test_downward): Likewise.
4115         (acos_upward_test_data): Likewise.
4116         (acos_test_upward): Likewise.
4117         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4118         (asin_test_data): Likewise.
4119         (asin_test): Use ALL_RM_TEST.
4120         (asin_tonearest_test_data): Remove.
4121         (asin_test_tonearest): Likewise.
4122         (asin_towardzero_test_data): Likewise.
4123         (asin_test_towardzero): Likewise.
4124         (asin_downward_test_data): Likewise.
4125         (asin_test_downward): Likewise.
4126         (asin_upward_test_data): Likewise.
4127         (asin_test_upward): Likewise.
4128         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4129         (atan_test_data): Likewise.
4130         (atanh_test_data): Likewise.
4131         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4132         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4133         (carg_test_data): Likewise.
4134         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4135         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4136         (ccosh_test_data): Likewise.
4137         (cexp_test_data): Likewise.
4138         (clog_test_data): Likewise.
4139         (clog10_test_data): Likewise.
4140         (cos_test_data): Update call to AUTO_TESTS_f_f.
4141         (cos_test): Use ALL_RM_TEST.
4142         (cos_tonearest_test_data): Remove.
4143         (cos_test_tonearest): Likewise.
4144         (cos_towardzero_test_data): Likewise.
4145         (cos_test_towardzero): Likewise.
4146         (cos_downward_test_data): Likewise.
4147         (cos_test_downward): Likewise.
4148         (cos_upward_test_data): Likewise.
4149         (cos_test_upward): Likewise.
4150         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4151         (cosh_test): Use ALL_RM_TEST.
4152         (cosh_tonearest_test_data): Remove.
4153         (cosh_test_tonearest): Likewise.
4154         (cosh_towardzero_test_data): Likewise.
4155         (cosh_test_towardzero): Likewise.
4156         (cosh_downward_test_data): Likewise.
4157         (cosh_test_downward): Likewise.
4158         (cosh_upward_test_data): Likewise.
4159         (cosh_test_upward): Likewise.
4160         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4161         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4162         (ctan_test_data): Likewise.
4163         (ctan_test): Use ALL_RM_TEST.
4164         (ctan_tonearest_test_data): Remove.
4165         (ctan_test_tonearest): Likewise.
4166         (ctan_towardzero_test_data): Likewise.
4167         (ctan_test_towardzero): Likewise.
4168         (ctan_downward_test_data): Likewise.
4169         (ctan_test_downward): Likewise.
4170         (ctan_upward_test_data): Likewise.
4171         (ctan_test_upward): Likewise.
4172         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4173         (ctanh_test): Use ALL_RM_TEST.
4174         (ctanh_tonearest_test_data): Remove.
4175         (ctanh_test_tonearest): Likewise.
4176         (ctanh_towardzero_test_data): Likewise.
4177         (ctanh_test_towardzero): Likewise.
4178         (ctanh_downward_test_data): Likewise.
4179         (ctanh_test_downward): Likewise.
4180         (ctanh_upward_test_data): Likewise.
4181         (ctanh_test_upward): Likewise.
4182         (erf_test_data): Update call to AUTO_TESTS_f_f.
4183         (erfc_test_data): Likewise.
4184         (exp_test_data): Likewise.
4185         (exp_test): Use ALL_RM_TEST.
4186         (exp_tonearest_test_data): Remove.
4187         (exp_test_tonearest): Likewise.
4188         (exp_towardzero_test_data): Likewise.
4189         (exp_test_towardzero): Likewise.
4190         (exp_downward_test_data): Likewise.
4191         (exp_test_downward): Likewise.
4192         (exp_upward_test_data): Likewise.
4193         (exp_test_upward): Likewise.
4194         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4195         (exp10_test): Use ALL_RM_TEST.
4196         (exp10_tonearest_test_data): Remove.
4197         (exp10_test_tonearest): Likewise.
4198         (exp10_towardzero_test_data): Likewise.
4199         (exp10_test_towardzero): Likewise.
4200         (exp10_downward_test_data): Likewise.
4201         (exp10_test_downward): Likewise.
4202         (exp10_upward_test_data): Likewise.
4203         (exp10_test_upward): Likewise.
4204         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4205         (expm1_test_data): Likewise.
4206         (expm1_test): Use ALL_RM_TEST.
4207         (expm1_tonearest_test_data): Remove.
4208         (expm1_test_tonearest): Likewise.
4209         (expm1_towardzero_test_data): Likewise.
4210         (expm1_test_towardzero): Likewise.
4211         (expm1_downward_test_data): Likewise.
4212         (expm1_test_downward): Likewise.
4213         (expm1_upward_test_data): Likewise.
4214         (expm1_test_upward): Likewise.
4215         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4216         (fma_test): Use ALL_RM_TEST.
4217         (fma_towardzero_test_data): Remove.
4218         (fma_test_towardzero): Likewise.
4219         (fma_downward_test_data): Likewise.
4220         (fma_test_downward): Likewise.
4221         (fma_upward_test_data): Likewise.
4222         (fma_test_upward): Likewise.
4223         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4224         (j0_test_data): Update call to AUTO_TESTS_f_f.
4225         (j1_test_data): Likewise.
4226         (jn_test_data): Update call to AUTO_TESTS_if_f.
4227         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4228         (log_test_data): Update call to AUTO_TESTS_f_f.
4229         (log10_test_data): Likewise.
4230         (log1p_test_data): Likewise.
4231         (log2_test_data): Likewise.
4232         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4233         (pow_tonearest_test_data): Likewise.
4234         (sin_test_data): Update call to AUTO_TESTS_f_f.
4235         (sin_test): Use ALL_RM_TEST.
4236         (sin_tonearest_test_data): Remove.
4237         (sin_test_tonearest): Likewise.
4238         (sin_towardzero_test_data): Likewise.
4239         (sin_test_towardzero): Likewise.
4240         (sin_downward_test_data): Likewise.
4241         (sin_test_downward): Likewise.
4242         (sin_upward_test_data): Likewise.
4243         (sin_test_upward): Likewise.
4244         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4245         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4246         (sinh_test): Use ALL_RM_TEST.
4247         (sinh_tonearest_test_data): Remove.
4248         (sinh_test_tonearest): Likewise.
4249         (sinh_towardzero_test_data): Likewise.
4250         (sinh_test_towardzero): Likewise.
4251         (sinh_downward_test_data): Likewise.
4252         (sinh_test_downward): Likewise.
4253         (sinh_upward_test_data): Likewise.
4254         (sinh_test_upward): Likewise.
4255         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4256         (sqrt_test): Use ALL_RM_TEST.
4257         (sqrt_tonearest_test_data): Remove.
4258         (sqrt_test_tonearest): Likewise.
4259         (sqrt_towardzero_test_data): Likewise.
4260         (sqrt_test_towardzero): Likewise.
4261         (sqrt_downward_test_data): Likewise.
4262         (sqrt_test_downward): Likewise.
4263         (sqrt_upward_test_data): Likewise.
4264         (sqrt_test_upward): Likewise.
4265         (tan_test_data): Update call to AUTO_TESTS_f_f.
4266         (tan_test): Use ALL_RM_TEST.
4267         (tan_tonearest_test_data): Remove.
4268         (tan_test_tonearest): Likewise.
4269         (tan_towardzero_test_data): Likewise.
4270         (tan_test_towardzero): Likewise.
4271         (tan_downward_test_data): Likewise.
4272         (tan_test_downward): Likewise.
4273         (tan_upward_test_data): Likewise.
4274         (tan_test_upward): Likewise.
4275         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4276         (tgamma_test_data): Likewise.
4277         (y0_test_data): Likewise.
4278         (y1_test_data): Likewise.
4279         (yn_test_data): Update call to AUTO_TESTS_if_f.
4280         (main): Do not call removed functions.
4281
4282 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4283
4284         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4285         (ldexp_test_data): Remove.
4286         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4287         scalbn_test_data.
4288         (scalb_test): Use ALL_RM_TEST.
4289
4290 2014-03-19  Andreas Schwab  <schwab@suse.de>
4291
4292         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4293
4294 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4295
4296         [BZ #16649]
4297         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4298         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4299         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4301         (__ASSUME_PREADV): Undefine.
4302         (__ASSUME_PWRITEV): Likewise.
4303
4304 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4305
4306         * bits/mman-linux.h: Add comment about non-Linux use.
4307         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4308         bits/mman-linux.h resting place.
4309
4310         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4311         * bits/mman-linux.h: ... here.
4312
4313 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4314
4315         * conform/conformtest.pl: Add standard definition when calling C
4316         preprocessor on data files.
4317         (checknamespace): Remove unused variable.
4318
4319 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4320
4321         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4322         minus_oflow, plus_uflow and minus_uflow in expected results.
4323         * math/libm-test.inc (scalbn_test_data): Add more tests of
4324         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4325         minus_uflow.
4326         (scalbn_test): Use ALL_RM_TEST.
4327         (scalbln_test_data): Add more tests of negative arguments.  Use
4328         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4329         (scalbln_test): Use ALL_RM_TEST.
4330
4331 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4332
4333         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4334
4335 2014-03-18  Will Newton  <will.newton@linaro.org>
4336
4337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4338         inaccurate comment.
4339
4340 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4341
4342         * Makerules [!subdir] (check-abi): Exit with error status if a
4343         test failed.
4344
4345 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4346
4347         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4348         for rint.  Include results for all rounding modes.
4349         (nearbyint_test): Use ALL_RM_TEST.
4350         (rint_test_data): Include all tests used for nearbyint.
4351
4352 2014-03-17  Will Newton  <will.newton@linaro.org>
4353
4354         * nptl/sysdeps/pthread/pthread.h: Revert previous
4355         change.
4356
4357         * sysdeps/generic/ldsodefs.h: Revert previous
4358         change.
4359
4360         * libio/genops.c: Revert previous change.
4361         * libio/libioP.h: Likewise.
4362         * stdio-common/vfprintf.c: Likewise.
4363
4364         * sysdeps/generic/math_private.h: Revert previous
4365         change.
4366
4367         * sysdeps/generic/math_private.h: Check whether
4368         HAVE_RM_CTX is defined with #ifdef rather
4369         than #if.
4370
4371         * argp/argp-fmtstream.h: Check whether
4372         __STRICT_ANSI__ is defined with #ifdef rather
4373         than #if.
4374         * argp/argp.h: Likewise.
4375
4376         * libio/genops.c: Check whether
4377         _IO_JUMPS_OFFSET is defined with #ifdef rather
4378         than #if.
4379         * libio/libioP.h: Likewise.
4380         * stdio-common/vfprintf.c: Likewise.
4381
4382         * sysdeps/generic/ldsodefs.h: Check whether
4383         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4384         than #if.
4385
4386         * nptl/sysdeps/pthread/pthread.h: Check
4387         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4388         its value.
4389
4390 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4391
4392         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4393         setting O_APPEND.
4394         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4395         test case.
4396
4397         [BZ #16680]
4398         * libio/fileops.c (_IO_file_open): Seek to end of file but
4399         don't cache the offset.
4400         (get_file_offset): Remove function.
4401         (do_ftell): Use cached offset when available.
4402         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4403         don't cache the offset.
4404         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4405         case.
4406         (do_one_test): Call it.
4407         (do_ftell_test): Fix up expected old offset for a+ mode.
4408         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4409         available.
4410
4411         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4412         up test status with function return status.
4413         (do_write_test): Likewise.
4414         (do_append_test): Likewise.
4415
4416         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4417         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4418         Remove.
4419
4420 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4421
4422         * math/gen-libm-test.pl (parse_args): Handle results specified for
4423         each rounding mode separately.
4424         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4425         tests and results from lrint_tonearest_test_data,
4426         lrint_towardzero_test_data, lrint_downward_test_data and
4427         lrint_upward_test_data.
4428         (lrint_test): Use ALL_RM_TEST.
4429         (lrint_tonearest_test_data): Remove.
4430         (lrint_test_tonearest): Likewise.
4431         (lrint_towardzero_test_data): Likewise.
4432         (lrint_test_towardzero): Likewise.
4433         (lrint_downward_test_data): Likewise.
4434         (lrint_test_downward): Likewise.
4435         (lrint_upward_test_data): Likewise.
4436         (lrint_test_upward): Likewise.
4437         (llrint_test_data): Merge in per-rounding-mode tests and results
4438         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4439         llrint_downward_test_data and llrint_upward_test_data.
4440         (llrint_test): Use ALL_RM_TEST.
4441         (llrint_tonearest_test_data): Remove.
4442         (llrint_test_tonearest): Likewise.
4443         (llrint_towardzero_test_data): Likewise.
4444         (llrint_test_towardzero): Likewise.
4445         (llrint_downward_test_data): Likewise.
4446         (llrint_test_downward): Likewise.
4447         (llrint_upward_test_data): Likewise.
4448         (llrint_test_upward): Likewise.
4449         (rint_test_data): Merge in per-rounding-mode tests and results
4450         from rint_tonearest_test_data, rint_towardzero_test_data,
4451         rint_downward_test_data and rint_upward_test_data.  Add
4452         per-rounding-mode results for tests not in those arrays.
4453         (rint_test): Use ALL_RM_TEST.
4454         (rint_tonearest_test_data): Remove.
4455         (rint_test_tonearest): Likewise.
4456         (rint_towardzero_test_data): Likewise.
4457         (rint_test_towardzero): Likewise.
4458         (rint_downward_test_data): Likewise.
4459         (rint_test_downward): Likewise.
4460         (rint_upward_test_data): Likewise.
4461         (rint_test_upward): Likewise.
4462         (main): Don't call removed functions.
4463
4464 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4465
4466         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4467         "Compiled on ..." crapola.  It is anti-useful.
4468
4469 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4470
4471         * scripts/evaluate-test.sh: Handle fourth argument to determine
4472         whether test run should stop on failure.
4473         * Makeconfig (stop-on-test-failure): New variable.
4474         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4475         $(stop-on-test-failure).
4476         * Makefile (tests): Give a summary of results from testing and
4477         exit with failure status if they include an ERROR or FAIL.
4478         (xtests): Likewise.
4479         * manual/install.texi (Configuring and compiling): Mention
4480         stop-on-test-failure=y.
4481         * INSTALL: Regenerated.
4482
4483 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4484
4485         * scripts/versionlist.awk: New file.
4486         * Makerules [$(build-shared) = yes]
4487         (postclean-generated): Add Versions.def, not Versions.def.v and
4488         Versions.def.v.i.
4489         ($(common-objpfx)Versions.def.v.i): Target removed.
4490         ($(common-objpfx)Versions.def): New target.
4491         ($(common-objpfx)Versions.all): Depend on that rather that
4492         $(common-objpfx)Versions.def.v.
4493         * Versions.def: File removed.
4494
4495         * Makeconfig (+gccwarn): Add -Wundef.
4496         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4497         a dl-sysdep.h breaking its contract.
4498         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4499         * include/stackinfo.h: New file.
4500         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4501         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4502         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4503         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4504         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4505         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4506         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4507         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4508         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4509         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4510         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4511         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4512         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4513         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4514         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4515
4516 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4517
4518         [BZ #16707]
4519         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4520         implementation.
4521         * math/libm-test.inc (round_test_data): Add more tests.
4522
4523         [BZ #16706]
4524         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4525         implementation.
4526         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4527
4528         [BZ #16701]
4529         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4530         implementation.
4531         * math/libm-test.inc (ceil_test_data): Add more tests.
4532
4533         * math/libm-test.inc (trunc_test_data): Add more tests related to
4534         BZ#16414.
4535
4536 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4537
4538         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4539         with #if rather than #ifdef.
4540         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4541
4542 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4543
4544         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4545         first.  Disable AVX-512 GCC support if assembler doesn't support
4546         it.
4547         * sysdeps/x86_64/configure: Regenerated.
4548
4549 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4550
4551         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4552         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4553         (__old_pthread_attr_setstack): Likewise.
4554         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4555         [!_STACK_GROWS_DOWN]: Likewise.
4556
4557 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4558
4559         * config.make.in (have-bash2): Delete.
4560         * configure.ac (libc_cv_have_bash2): Delete.
4561         * configure: Regenerate.
4562         * elf/Makefile (common-ldd-rewrite): Rename to ...
4563         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4564         (sh-ldd-rewrite): Delete.
4565         (bash-ldd-rewrite): Delete.
4566         (have-bash2): Delete checks.
4567         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4568         ldd-rewrite.
4569
4570         * config.make.in (have-ksh): Delete.
4571         (KSH): Delete.
4572         * configure.ac (libc_cv_have_ksh): Delete.
4573         * configure: Regenerate.
4574
4575         * elf/Makefile: Delete $(have-ksh) check.
4576         ($(objpfx)sotruss): Change KSH to BASH.
4577         * elf/sotruss.ksh: Rename to ...
4578         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4579         function style to match POSIX.  Drop ksh vim mode setting.
4580
4581         * manual/time.texi (Specifying the Time Zone with TZ): Change
4582         Tuesday to Thursday.
4583
4584         * debug/tst-longjmp_chk2.c: Update header comment.
4585         (stackoverflow_handler): Add comment.  Call assert on pass value.
4586
4587 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4588
4589         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4590         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4591         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4592         (La_x86_64_vector): Add zmm.
4593         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4594         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4595         ($(objpfx)tst-audit10): New target.
4596         ($(objpfx)tst-audit10.out): Likewise.
4597         (tst-audit10-ENV): New.
4598         (AVX512-CFLAGS): Likewise.
4599         (CFLAGS-tst-audit10.c): Likewise.
4600         (CFLAGS-tst-auditmod10a.c): Likewise.
4601         (CFLAGS-tst-auditmod10b.c): Likewise.
4602         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4603         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4604         * sysdeps/x86_64/configure: Regenerated.
4605         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4606         AVX-512 zmm register support.
4607         (_dl_x86_64_save_sse): Likewise.
4608         (_dl_x86_64_restore_sse): Likewise.
4609         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4610         size vector registers.
4611         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4612         (ZMM_SIZE): Likewise.
4613         * sysdeps/x86_64/tst-audit10.c: New file.
4614         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4615         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4616
4617 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4618
4619         * configure.ac (HAVE_EHDR_START): New check.
4620         * configure: Regenerated.
4621         * config.h.in (HAVE_EHDR_START): New #undef.
4622         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4623         assuming the lowest-addressed segment maps the start of the file.
4624
4625 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4626
4627         * INSTALL: Regenerated.
4628
4629 2014-03-13  Will Newton  <will.newton@linaro.org>
4630
4631         * manual/setjmp.texi (System V contexts): Improve
4632         clarity and grammar of documentation.
4633
4634 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4635
4636         [BZ #16381]
4637         * elf/Makefile (tests): Add tst-pie2.
4638         (tests-pie): Add tst-pie2.
4639         * elf/tst-pie2.c: New file.
4640         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4641         for ET_EXEC.
4642         * elf/rtld.c (map_doit): Load executable as lt_executable.
4643         (dl_main): Likewise.
4644
4645 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4646
4647         [BZ #16642]
4648         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4649         (__ASSUME_PSELECT): Undefine.
4650
4651 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4652
4653         [BZ #16689]
4654         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4655         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4656         static build.
4657         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4658         selector for static builds.
4659
4660 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4661
4662         [BZ #16695]
4663         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4664         key in the buffer.
4665
4666 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4667
4668         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4669         IFUNC selector for static builds.
4670
4671 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4672
4673         * sysdeps/mips/math_private.h [__mips_hard_float]
4674         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4675         libc_feresetround_mips_ctx.
4676         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4677         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4678         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4679
4680         [BZ #16677]
4681         * math/s_nextafter.c (__nextafter): Do not return value from
4682         overflowing computation.
4683         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4684         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4685         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4686         Likewise.
4687         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4688         Likewise.
4689         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4690         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4691
4692 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4693
4694         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4695         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4696         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4697         the new mov targetting sp.
4698
4699 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4700
4701         [BZ #16683]
4702         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4703         Define it for static builds as well.
4704         (NO_BZERO_IMPL): Likewise.
4705
4706 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4707
4708         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4709         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4710         multiarch strspn for PPC64.
4711         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4712         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4714         (__libc_ifunc_impl_list): Likewise.
4715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4716         multiarch optimizations
4717         * string/strspn.c (strspn): Using macro to redefine symbol name.
4718
4719 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4720             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4721
4722         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4723         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4724         multiarch strncat for PPC64.
4725         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4726         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4728         (__libc_ifunc_impl_list): Likewise.
4729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4730         multiarch optimizations
4731
4732 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4733
4734         [BZ #16639]
4735         * nscd/nscd.service: Make service type forking.
4736
4737 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4738
4739         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4740         sign in non default rounding modes.
4741         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4742
4743 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4744
4745         * math/libm-test.inc (ALL_RM_TEST): New macro.
4746         (ceil_test): Use ALL_RM_TEST.
4747         (cimag_test): Likewise.
4748         (conj_test): Likewise.
4749         (copysign_test): Likewise.
4750         (cproj_test): Likewise.
4751         (creal_test): Likewise.
4752         (fabs_test): Likewise.
4753         (floor_test): Likewise.
4754         (fmax_test): Likewise.
4755         (fmin_test): Likewise.
4756         (fmod_test): Likewise.
4757         (fpclassify_test): Likewise.
4758         (frexp_test): Likewise.
4759         (ilogb_test): Likewise.
4760         (isfinite_test): Likewise.
4761         (finite_test): Likewise.
4762         (isgreater_test): Likewise.
4763         (isgreaterequal_test): Likewise.
4764         (isinf_test): Likewise.
4765         (isless_test): Likewise.
4766         (islessequal_test): Likewise.
4767         (islessgreater_test): Likewise.
4768         (isnan_test): Likewise.
4769         (isnormal_test): Likewise.
4770         (issignaling_test): Likewise.
4771         (isunordered_test): Likewise.
4772         (logb_test): Likewise.
4773         (logb_downward_test_data): Remove.
4774         (logb_test_downward): Likewise.
4775         (lround_test): Use ALL_RM_TEST.
4776         (llround_test): Likewise.
4777         (modf_test): Likewise.
4778         (nexttoward_test): Likewise.
4779         (remainder_test): Likewise.
4780         (drem_test): Likewise.
4781         (remainder_tonearest_test_data): Likewise.
4782         (remainder_test_tonearest): Likewise.
4783         (drem_test_tonearest): Likewise.
4784         (remainder_towardzero_test_data): Likewise.
4785         (remainder_test_towardzero): Likewise.
4786         (drem_test_towardzero): Likewise.
4787         (remainder_downward_test_data): Likewise.
4788         (remainder_test_downward): Likewise.
4789         (drem_test_downward): Likewise.
4790         (remainder_upward_test_data): Likewise.
4791         (remainder_test_upward): Likewise.
4792         (drem_test_upward): Likewise.
4793         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4794         (round_test): Use ALL_RM_TEST.
4795         (signbit_test): Likewise.
4796         (trunc_test): Likewise.
4797         (significand_test): Likewise.
4798         (main): Don't call removed functions.
4799
4800 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4801
4802         [BZ #16674]
4803         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4804         || __USE_XOPEN2K8].
4805         (ILL_ILLOPN): Likewise.
4806         (ILL_ILLADR): Likewise.
4807         (ILL_ILLTRP): Likewise.
4808         (ILL_PRVOPC): Likewise.
4809         (ILL_PRVREG): Likewise.
4810         (ILL_COPROC): Likewise.
4811         (ILL_BADSTK): Likewise.
4812         (FPE_INTDIV): Likewise.
4813         (FPE_INTOVF): Likewise.
4814         (FPE_FLTDIV): Likewise.
4815         (FPE_FLTOVF): Likewise.
4816         (FPE_FLTUND): Likewise.
4817         (FPE_FLTRES): Likewise.
4818         (FPE_FLTINV): Likewise.
4819         (FPE_FLTSUB): Likewise.
4820         (SEGV_MAPERR): Likewise.
4821         (SEGV_ACCERR): Likewise.
4822         (BUS_ADRALN): Likewise.
4823         (BUS_ADRERR): Likewise.
4824         (BUS_OBJERR): Likewise.
4825         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4826         (TRAP_TRACE): Likewise.
4827         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4828         __USE_XOPEN2K8].
4829         (CLD_KILLED): Likewise.
4830         (CLD_DUMPED): Likewise.
4831         (CLD_TRAPPED): Likewise.
4832         (CLD_STOPPED): Likewise.
4833         (CLD_CONTINUED): Likewise.
4834         (POLL_IN): Likewise.
4835         (POLL_OUT): Likewise.
4836         (POLL_MSG): Likewise.
4837         (POLL_ERR): Likewise.
4838         (POLL_PRI): Likewise.
4839         (POLL_HUP): Likewise.
4840         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4841         Likewise.
4842         (ILL_ILLOPN): Likewise.
4843         (ILL_ILLADR): Likewise.
4844         (ILL_ILLTRP): Likewise.
4845         (ILL_PRVOPC): Likewise.
4846         (ILL_PRVREG): Likewise.
4847         (ILL_COPROC): Likewise.
4848         (ILL_BADSTK): Likewise.
4849         (FPE_INTDIV): Likewise.
4850         (FPE_INTOVF): Likewise.
4851         (FPE_FLTDIV): Likewise.
4852         (FPE_FLTOVF): Likewise.
4853         (FPE_FLTUND): Likewise.
4854         (FPE_FLTRES): Likewise.
4855         (FPE_FLTINV): Likewise.
4856         (FPE_FLTSUB): Likewise.
4857         (SEGV_MAPERR): Likewise.
4858         (SEGV_ACCERR): Likewise.
4859         (BUS_ADRALN): Likewise.
4860         (BUS_ADRERR): Likewise.
4861         (BUS_OBJERR): Likewise.
4862         (BUS_MCEERR_AR): Likewise.
4863         (BUS_MCEERR_AO): Likewise.
4864         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4865         (TRAP_TRACE): Likewise.
4866         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4867         __USE_XOPEN2K8].
4868         (CLD_KILLED): Likewise.
4869         (CLD_DUMPED): Likewise.
4870         (CLD_TRAPPED): Likewise.
4871         (CLD_STOPPED): Likewise.
4872         (CLD_CONTINUED): Likewise.
4873         (POLL_IN): Likewise.
4874         (POLL_OUT): Likewise.
4875         (POLL_MSG): Likewise.
4876         (POLL_ERR): Likewise.
4877         (POLL_PRI): Likewise.
4878         (POLL_HUP): Likewise.
4879         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4880         (ILL_ILLOPN): Likewise.
4881         (ILL_ILLADR): Likewise.
4882         (ILL_ILLTRP): Likewise.
4883         (ILL_PRVOPC): Likewise.
4884         (ILL_PRVREG): Likewise.
4885         (ILL_COPROC): Likewise.
4886         (ILL_BADSTK): Likewise.
4887         (FPE_INTDIV): Likewise.
4888         (FPE_INTOVF): Likewise.
4889         (FPE_FLTDIV): Likewise.
4890         (FPE_FLTOVF): Likewise.
4891         (FPE_FLTUND): Likewise.
4892         (FPE_FLTRES): Likewise.
4893         (FPE_FLTINV): Likewise.
4894         (FPE_FLTSUB): Likewise.
4895         (SEGV_MAPERR): Likewise.
4896         (SEGV_ACCERR): Likewise.
4897         (BUS_ADRALN): Likewise.
4898         (BUS_ADRERR): Likewise.
4899         (BUS_OBJERR): Likewise.
4900         (BUS_MCEERR_AR): Likewise.
4901         (BUS_MCEERR_AO): Likewise.
4902         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4903         (TRAP_TRACE): Likewise.
4904         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4905         __USE_XOPEN2K8].
4906         (CLD_KILLED): Likewise.
4907         (CLD_DUMPED): Likewise.
4908         (CLD_TRAPPED): Likewise.
4909         (CLD_STOPPED): Likewise.
4910         (CLD_CONTINUED): Likewise.
4911         (POLL_IN): Likewise.
4912         (POLL_OUT): Likewise.
4913         (POLL_MSG): Likewise.
4914         (POLL_ERR): Likewise.
4915         (POLL_PRI): Likewise.
4916         (POLL_HUP): Likewise.
4917         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4918         Likewise.
4919         (ILL_ILLOPN): Likewise.
4920         (ILL_ILLADR): Likewise.
4921         (ILL_ILLTRP): Likewise.
4922         (ILL_PRVOPC): Likewise.
4923         (ILL_PRVREG): Likewise.
4924         (ILL_COPROC): Likewise.
4925         (ILL_BADSTK): Likewise.
4926         (ILL_BADIADDR): Likewise.
4927         (ILL_BREAK): Likewise.
4928         (FPE_INTDIV): Likewise.
4929         (FPE_INTOVF): Likewise.
4930         (FPE_FLTDIV): Likewise.
4931         (FPE_FLTOVF): Likewise.
4932         (FPE_FLTUND): Likewise.
4933         (FPE_FLTRES): Likewise.
4934         (FPE_FLTINV): Likewise.
4935         (FPE_FLTSUB): Likewise.
4936         (FPE_DECOVF): Likewise.
4937         (FPE_DECDIV): Likewise.
4938         (FPE_DECERR): Likewise.
4939         (FPE_INVASC): Likewise.
4940         (FPE_INVDEC): Likewise.
4941         (SEGV_MAPERR): Likewise.
4942         (SEGV_ACCERR): Likewise.
4943         (SEGV_PSTKOVF): Likewise.
4944         (BUS_ADRALN): Likewise.
4945         (BUS_ADRERR): Likewise.
4946         (BUS_OBJERR): Likewise.
4947         (BUS_MCEERR_AR): Likewise.
4948         (BUS_MCEERR_AO): Likewise.
4949         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4950         (TRAP_TRACE): Likewise.
4951         (TRAP_BRANCH): Likewise.
4952         (TRAP_HWBKPT): Likewise.
4953         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4954         __USE_XOPEN2K8].
4955         (CLD_KILLED): Likewise.
4956         (CLD_DUMPED): Likewise.
4957         (CLD_TRAPPED): Likewise.
4958         (CLD_STOPPED): Likewise.
4959         (CLD_CONTINUED): Likewise.
4960         (POLL_IN): Likewise.
4961         (POLL_OUT): Likewise.
4962         (POLL_MSG): Likewise.
4963         (POLL_ERR): Likewise.
4964         (POLL_PRI): Likewise.
4965         (POLL_HUP): Likewise.
4966         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4967         (ILL_ILLOPN): Likewise.
4968         (ILL_ILLADR): Likewise.
4969         (ILL_ILLTRP): Likewise.
4970         (ILL_PRVOPC): Likewise.
4971         (ILL_PRVREG): Likewise.
4972         (ILL_COPROC): Likewise.
4973         (ILL_BADSTK): Likewise.
4974         (FPE_INTDIV): Likewise.
4975         (FPE_INTOVF): Likewise.
4976         (FPE_FLTDIV): Likewise.
4977         (FPE_FLTOVF): Likewise.
4978         (FPE_FLTUND): Likewise.
4979         (FPE_FLTRES): Likewise.
4980         (FPE_FLTINV): Likewise.
4981         (FPE_FLTSUB): Likewise.
4982         (SEGV_MAPERR): Likewise.
4983         (SEGV_ACCERR): Likewise.
4984         (BUS_ADRALN): Likewise.
4985         (BUS_ADRERR): Likewise.
4986         (BUS_OBJERR): Likewise.
4987         (BUS_MCEERR_AR): Likewise.
4988         (BUS_MCEERR_AO): Likewise.
4989         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4990         (TRAP_TRACE): Likewise.
4991         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4992         __USE_XOPEN2K8].
4993         (CLD_KILLED): Likewise.
4994         (CLD_DUMPED): Likewise.
4995         (CLD_TRAPPED): Likewise.
4996         (CLD_STOPPED): Likewise.
4997         (CLD_CONTINUED): Likewise.
4998         (POLL_IN): Likewise.
4999         (POLL_OUT): Likewise.
5000         (POLL_MSG): Likewise.
5001         (POLL_ERR): Likewise.
5002         (POLL_PRI): Likewise.
5003         (POLL_HUP): Likewise.
5004         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5005         (ILL_ILLOPN): Likewise.
5006         (ILL_ILLADR): Likewise.
5007         (ILL_ILLTRP): Likewise.
5008         (ILL_PRVOPC): Likewise.
5009         (ILL_PRVREG): Likewise.
5010         (ILL_COPROC): Likewise.
5011         (ILL_BADSTK): Likewise.
5012         (FPE_INTDIV): Likewise.
5013         (FPE_INTOVF): Likewise.
5014         (FPE_FLTDIV): Likewise.
5015         (FPE_FLTOVF): Likewise.
5016         (FPE_FLTUND): Likewise.
5017         (FPE_FLTRES): Likewise.
5018         (FPE_FLTINV): Likewise.
5019         (FPE_FLTSUB): Likewise.
5020         (SEGV_MAPERR): Likewise.
5021         (SEGV_ACCERR): Likewise.
5022         (BUS_ADRALN): Likewise.
5023         (BUS_ADRERR): Likewise.
5024         (BUS_OBJERR): Likewise.
5025         (BUS_MCEERR_AR): Likewise.
5026         (BUS_MCEERR_AO): Likewise.
5027         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5028         (TRAP_TRACE): Likewise.
5029         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5030         __USE_XOPEN2K8].
5031         (CLD_KILLED): Likewise.
5032         (CLD_DUMPED): Likewise.
5033         (CLD_TRAPPED): Likewise.
5034         (CLD_STOPPED): Likewise.
5035         (CLD_CONTINUED): Likewise.
5036         (POLL_IN): Likewise.
5037         (POLL_OUT): Likewise.
5038         (POLL_MSG): Likewise.
5039         (POLL_ERR): Likewise.
5040         (POLL_PRI): Likewise.
5041         (POLL_HUP): Likewise.
5042         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5043         (ILL_ILLOPN): Likewise.
5044         (ILL_ILLADR): Likewise.
5045         (ILL_ILLTRP): Likewise.
5046         (ILL_PRVOPC): Likewise.
5047         (ILL_PRVREG): Likewise.
5048         (ILL_COPROC): Likewise.
5049         (ILL_BADSTK): Likewise.
5050         (FPE_INTDIV): Likewise.
5051         (FPE_INTOVF): Likewise.
5052         (FPE_FLTDIV): Likewise.
5053         (FPE_FLTOVF): Likewise.
5054         (FPE_FLTUND): Likewise.
5055         (FPE_FLTRES): Likewise.
5056         (FPE_FLTINV): Likewise.
5057         (FPE_FLTSUB): Likewise.
5058         (SEGV_MAPERR): Likewise.
5059         (SEGV_ACCERR): Likewise.
5060         (BUS_ADRALN): Likewise.
5061         (BUS_ADRERR): Likewise.
5062         (BUS_OBJERR): Likewise.
5063         (BUS_MCEERR_AR): Likewise.
5064         (BUS_MCEERR_AO): Likewise.
5065         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5066         (TRAP_TRACE): Likewise.
5067         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5068         __USE_XOPEN2K8].
5069         (CLD_KILLED): Likewise.
5070         (CLD_DUMPED): Likewise.
5071         (CLD_TRAPPED): Likewise.
5072         (CLD_STOPPED): Likewise.
5073         (CLD_CONTINUED): Likewise.
5074         (POLL_IN): Likewise.
5075         (POLL_OUT): Likewise.
5076         (POLL_MSG): Likewise.
5077         (POLL_ERR): Likewise.
5078         (POLL_PRI): Likewise.
5079         (POLL_HUP): Likewise.
5080         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5081         (ILL_ILLOPN): Likewise.
5082         (ILL_ILLADR): Likewise.
5083         (ILL_ILLTRP): Likewise.
5084         (ILL_PRVOPC): Likewise.
5085         (ILL_PRVREG): Likewise.
5086         (ILL_COPROC): Likewise.
5087         (ILL_BADSTK): Likewise.
5088         (ILL_DBLFLT): Likewise.
5089         (ILL_HARDWALL): Likewise.
5090         (FPE_INTDIV): Likewise.
5091         (FPE_INTOVF): Likewise.
5092         (FPE_FLTDIV): Likewise.
5093         (FPE_FLTOVF): Likewise.
5094         (FPE_FLTUND): Likewise.
5095         (FPE_FLTRES): Likewise.
5096         (FPE_FLTINV): Likewise.
5097         (FPE_FLTSUB): Likewise.
5098         (SEGV_MAPERR): Likewise.
5099         (SEGV_ACCERR): Likewise.
5100         (BUS_ADRALN): Likewise.
5101         (BUS_ADRERR): Likewise.
5102         (BUS_OBJERR): Likewise.
5103         (BUS_MCEERR_AR): Likewise.
5104         (BUS_MCEERR_AO): Likewise.
5105         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5106         (TRAP_TRACE): Likewise.
5107         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5108         __USE_XOPEN2K8].
5109         (CLD_KILLED): Likewise.
5110         (CLD_DUMPED): Likewise.
5111         (CLD_TRAPPED): Likewise.
5112         (CLD_STOPPED): Likewise.
5113         (CLD_CONTINUED): Likewise.
5114         (POLL_IN): Likewise.
5115         (POLL_OUT): Likewise.
5116         (POLL_MSG): Likewise.
5117         (POLL_ERR): Likewise.
5118         (POLL_PRI): Likewise.
5119         (POLL_HUP): Likewise.
5120         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5121         (ILL_ILLOPN): Likewise.
5122         (ILL_ILLADR): Likewise.
5123         (ILL_ILLTRP): Likewise.
5124         (ILL_PRVOPC): Likewise.
5125         (ILL_PRVREG): Likewise.
5126         (ILL_COPROC): Likewise.
5127         (ILL_BADSTK): Likewise.
5128         (FPE_INTDIV): Likewise.
5129         (FPE_INTOVF): Likewise.
5130         (FPE_FLTDIV): Likewise.
5131         (FPE_FLTOVF): Likewise.
5132         (FPE_FLTUND): Likewise.
5133         (FPE_FLTRES): Likewise.
5134         (FPE_FLTINV): Likewise.
5135         (FPE_FLTSUB): Likewise.
5136         (SEGV_MAPERR): Likewise.
5137         (SEGV_ACCERR): Likewise.
5138         (BUS_ADRALN): Likewise.
5139         (BUS_ADRERR): Likewise.
5140         (BUS_OBJERR): Likewise.
5141         (BUS_MCEERR_AR): Likewise.
5142         (BUS_MCEERR_AO): Likewise.
5143         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5144         (TRAP_TRACE): Likewise.
5145         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5146         __USE_XOPEN2K8].
5147         (CLD_KILLED): Likewise.
5148         (CLD_DUMPED): Likewise.
5149         (CLD_TRAPPED): Likewise.
5150         (CLD_STOPPED): Likewise.
5151         (CLD_CONTINUED): Likewise.
5152         (POLL_IN): Likewise.
5153         (POLL_OUT): Likewise.
5154         (POLL_MSG): Likewise.
5155         (POLL_ERR): Likewise.
5156         (POLL_PRI): Likewise.
5157         (POLL_HUP): Likewise.
5158         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5159         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5160
5161         [BZ #16670]
5162         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5163         before #include of <time.h>.
5164         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5165         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5166         (test-xfail-UNIX98/sched.h/conform): Likewise.
5167
5168 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5169
5170         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5171         error absence of trapping exception support.
5172         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5173
5174 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5175
5176         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5177         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5178         * timezone/Makefile (testdata): Move definition above include of
5179         Rules.
5180         (test-zones): New variable.
5181         (tests-special): Add zone files.
5182         (build-testdata): Use $(evaluate-test).
5183
5184         * elf/Makefile (tests-special): Rename tests to end with .out.
5185         ($(objpfx)noload-mem): Likewise.
5186         ($(objpfx)tst-leaks1-mem): Likewise.
5187         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5188         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5189         $(objpfx)test-iconvconfig.out.
5190         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5191         set -e inside subshell and redirect output to file.
5192         * iconvdata/Makefile (generated): Rename tests to end with .out.
5193         Correct type.
5194         (tests-special): Rename tests to end with .out.
5195         ($(objpfx)mtrace-tst-loading): Likewise.
5196         * intl/Makefile (generated): Likewise.
5197         (tests-special): Likewise.
5198         ($(objpfx)mtrace-tst-gettext): Likewise.
5199         * misc/Makefile (generated): Likewise.
5200         (tests-special): Likewise.
5201         ($(objpfx)tst-error1-mem): Likewise.
5202         * nptl/Makefile (tests-special): Likewise.
5203         ($(objpfx)tst-stack3-mem): Likewise.
5204         (generated): Likewise.
5205         * posix/Makefile (generated): Likewise.
5206         (tests-special): Likewise.
5207         (xtests-special): Likewise.
5208         ($(objpfx)tst-fnmatch-mem): Likewise.
5209         ($(objpfx)bug-regex2-mem): Likewise.
5210         ($(objpfx)bug-regex14-mem): Likewise.
5211         ($(objpfx)bug-regex21-mem): Likewise.
5212         ($(objpfx)bug-regex31-mem): Likewise.
5213         ($(objpfx)tst-vfork3-mem): Likewise.
5214         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5215         ($(objpfx)tst-pcre-mem): Likewise.
5216         ($(objpfx)tst-boost-mem): Likewise.
5217         ($(objpfx)bug-ga2-mem): Likewise.
5218         ($(objpfx)bug-glob2-mem): Likewise.
5219         * resolv/Makefile (generate): Likewise.
5220         (tests-special): Likewise.
5221         (xtests-special): Likewise.
5222         (generated): Likewise.
5223         ($(objpfx)mtrace-tst-leaks): Likewise.
5224         ($(objpfx)mtrace-tst-leaks2): Likewise.
5225
5226         * scripts/merge-test-results.sh: New file.
5227         * Makefile (tests-special-notdir): New variable.
5228         (tests): Run merge-test-results.sh.
5229         (xtests): Likewise.
5230         * Rules (tests-special-notdir): New variable.
5231         (xtests-special-notdir): Likewise.
5232         (tests): Run merge-test-results.sh
5233         (xtests): Likewise.
5234
5235         * Makeconfig (test-xfail-name): New variable.
5236         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5237         compute variable name for expected failures.
5238         * conform/Makefile (conformtest-headers-data): New variable.
5239         (conformtest-standards): Likewise.
5240         (conformtest-headers-ISO): Likewise.
5241         (conformtest-headers-ISO99): Likewise.
5242         (conformtest-headers-ISO11): Likewise.
5243         (conformtest-headers-POSIX): Likewise.
5244         (conformtest-headers-XPG3): Likewise.
5245         (conformtest-headers-XPG4): Likewise.
5246         (conformtest-headers-UNIX98): Likewise.
5247         (conformtest-headers-XOPEN2K): Likewise.
5248         (conformtest-headers-POSIX2008): Likewise.
5249         (conformtest-headers-XOPEN2K8): Likewise.
5250         (conformtest-header-list-base): Likewise.
5251         (conformtest-header-list-tests): Likewise.
5252         (conformtest-header-base): Likewise.
5253         (conformtest-header-tests): Likewise.
5254         (tests-special): Add $(conformtest-header-list-tests).  If
5255         [$(fast-check) && !$(cross-compiling)], add
5256         $(conformtest-header-tests) instead of
5257         $(objpfx)run-conformtest.out.
5258         (generated): Add $(conformtest-header-list-base).  If
5259         [$(fast-check) && !$(cross-compiling)], add
5260         $(conformtest-header-base).  Remove previous setting.
5261         ($(conformtest-header-list-tests)): New target.
5262         (test-xfail-run-conformtest): Remove variable.
5263         ($(objpfx)run-conformtest.out): Remove target.
5264         (test-xfail-ISO11/complex.h/conform): New variable.
5265         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5266         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5267         (test-xfail-XPG3/varargs.h/conform): Likewise.
5268         (test-xfail-XPG4/varargs.h/conform): Likewise.
5269         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5270         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5271         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5272         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5273         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5274         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5275         (test-xfail-XPG3/ftw.h/conform): Likewise.
5276         (test-xfail-XPG3/grp.h/conform): Likewise.
5277         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5278         (test-xfail-XPG3/limits.h/conform): Likewise.
5279         (test-xfail-XPG3/pwd.h/conform): Likewise.
5280         (test-xfail-XPG3/search.h/conform): Likewise.
5281         (test-xfail-XPG3/signal.h/conform): Likewise.
5282         (test-xfail-XPG3/stdio.h/conform): Likewise.
5283         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5284         (test-xfail-XPG3/string.h/conform): Likewise.
5285         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5286         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5287         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5288         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5289         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5290         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5291         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5292         (test-xfail-XPG3/termios.h/conform): Likewise.
5293         (test-xfail-XPG3/time.h/conform): Likewise.
5294         (test-xfail-XPG3/unistd.h/conform): Likewise.
5295         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5296         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5297         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5298         (test-xfail-XPG4/netdb.h/conform): Likewise.
5299         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5300         (test-xfail-XPG4/signal.h/conform): Likewise.
5301         (test-xfail-XPG4/stdio.h/conform): Likewise.
5302         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5303         (test-xfail-XPG4/stropts.h/conform): Likewise.
5304         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5305         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5306         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5307         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5308         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5309         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5310         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5311         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5312         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5313         (test-xfail-XPG4/termios.h/conform): Likewise.
5314         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5315         (test-xfail-XPG4/unistd.h/conform): Likewise.
5316         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5317         (test-xfail-POSIX/sched.h/conform): Likewise.
5318         (test-xfail-POSIX/signal.h/conform): Likewise.
5319         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5320         (test-xfail-POSIX/tar.h/conform): Likewise.
5321         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5322         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5323         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5324         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5325         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5326         (test-xfail-UNIX98/sched.h/conform): Likewise.
5327         (test-xfail-UNIX98/signal.h/conform): Likewise.
5328         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5329         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5330         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5331         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5332         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5333         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5334         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5335         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5336         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5337         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5338         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5339         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5340         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5341         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5342         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5343         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5344         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5345         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5346         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5347         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5348         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5349         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5350         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5351         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5352         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5353         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5354         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5355         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5356         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5357         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5358         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5359         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5360         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5361         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5362         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5363         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5364         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5365         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5366         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5367         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5368         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5369         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5370         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5371         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5372         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5373         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5374         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5375         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5376         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5377         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5378         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5379         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5380         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5381         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5382         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5383         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5384         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5385         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5386         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5387         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5388         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5389         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5390         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5391         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5392         (conformtest-cc-flags): Likewise.
5393         ($(conformtest-header-tests): New target.
5394         * conform/check-header-lists.sh: New file.
5395         * conform/run-conformtest.sh: Remove.
5396
5397         * conform/conformtest.pl: Allow ' and \ in values given for
5398         constants.
5399         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5400         inclusion.
5401         [POSIX] (sys/types.h): Likewise.
5402         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5403         inclusion.
5404         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5405         inclusion.
5406         * conform/data/signal.h-data (SIGIO): Remove expectation.
5407         [XPG3] (SIGBUS): Do not expect.
5408         [POSIX || XPG3] (SIGPOLL): Likewise.
5409         [POSIX || XPG3] (SIGPROF): Likewise.
5410         [POSIX || XPG3] (SIGSYS): Likewise.
5411         [XPG3] (SIGTRAP): Likewise.
5412         [POSIX || XPG3] (SIGURG): Likewise.
5413         [POSIX || XPG3] (SIGVTALRM): Likewise.
5414         [POSIX || XPG3] (SIGXCPU): Likewise.
5415         [POSIX || XPG3] (SIGXFSZ): Likewise.
5416         [POSIX] (SA_SIGINFO): Expect.
5417         [XPG3] (siginfo_t): Do not expect type or contents.
5418         [POSIX] (si_pid): Do not expect element.
5419         [POSIX] (si_uid): Likewise.
5420         [POSIX] (si_addr): Likewise.
5421         [POSIX] (si_status): Likewise.
5422         [POSIX] (si_band): Likewise.
5423         [XPG4] (si_value): Likewise.
5424         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5425         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5426         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5427         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5428         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5429         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5430         [POSIX || XPG3] (ILL_COPROC): Likewise.
5431         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5432         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5433         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5434         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5435         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5436         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5437         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5438         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5439         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5440         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5441         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5442         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5443         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5444         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5445         [POSIX || XPG3] (CLD_EXITED): Likewise.
5446         [POSIX || XPG3] (CLD_KILLED): Likewise.
5447         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5448         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5449         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5450         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5451         [POSIX || XPG3] (POLL_IN): Likewise.
5452         [POSIX || XPG3] (POLL_OUT): Likewise.
5453         [POSIX || XPG3] (POLL_MSG): Likewise.
5454         [POSIX || XPG3] (POLL_ERR): Likewise.
5455         [POSIX || XPG3] (POLL_PRI): Likewise.
5456         [POSIX || XPG3] (POLL_HUP): Likewise.
5457         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5458         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5459         (SIG*): Do not allow.
5460         [XPG3] (si_*): Likewise.
5461         [XPG3] (SI_*): Likewise.
5462         [XPG3 || XPG4] (sigev_*): Likewise.
5463         [XPG3 || XPG4] (SIGEV_*): Likewise.
5464         [XPG3 || XPG4] (sival_*): Likewise.
5465         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5466         [POSIX || XPG3] (BUS_*): Likewise.
5467         [POSIX || XPG3] (CLD_*): Likewise.
5468         [POSIX || XPG3] (FPE_*): Likewise.
5469         [POSIX || XPG3] (ILL_*): Likewise.
5470         [POSIX || XPG3] (POLL_*): Likewise.
5471         [POSIX || XPG3] (SEGV_*): Likewise.
5472         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5473         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5474         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5475         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5476         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5477         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5478         Specify type and value.
5479         (TVERSLEN): Likewise.
5480         (REGTYPE): Likewise.
5481         (AREGTYPE): Likewise.
5482         (LNKTYPE): Likewise.
5483         (SYMTYPE): Likewise.
5484         (CHRTYPE): Likewise.
5485         (BLKTYPE): Likewise.
5486         (DIRTYPE): Likewise.
5487         (FIFOTYPE): Likewise.
5488         (CONTTYPE): Likewise.
5489         (TSUID): Likewise.
5490         (TSGID): Likewise.
5491         (TSVTX): Likewise.
5492         (TUREAD): Likewise.
5493         (TUWRITE): Likewise.
5494         (TUEXEC): Likewise.
5495         (TGREAD): Likewise.
5496         (TGWRITE): Likewise.
5497         (TGEXEC): Likewise.
5498         (TOREAD): Likewise.
5499         (TOWRITE): Likewise.
5500         (TOEXEC): Likewise.
5501         [POSIX] (TSVTX): Expect constant.
5502
5503 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5504
5505         * Makefile (tests): Change dependencies to ....
5506         (tests-special): ... additions to this variable.
5507         (tests): Depend on $(tests-special).
5508         * Makerules (check-abi-list): New variable.
5509         (check-abi): Depend on $(check-abi-list).
5510         [$(subdir) = elf] (tests-special): Add
5511         $(objpfx)check-abi-libc.out.
5512         [$(build-shared) = yes && subdir] (tests-special): Add
5513         $(check-abi-list).
5514         [$(build-shared) = yes && subdir] (tests): Do not depend on
5515         check-abi.
5516         * Rules (tests): Depend on $(tests-special).
5517         (xtests): Depend on $(xtests-special).
5518         * catgets/Makefile (tests): Change dependencies to ....
5519         (tests-special): ... additions to this variable.
5520         * conform/Makefile (tests): Change dependencies to ....
5521         (tests-special): ... additions to this variable.
5522         * elf/Makefile (tests): Change dependencies to ....
5523         (tests-special): ... additions to this variable.
5524         * grp/Makefile (tests): Change dependencies to ....
5525         (tests-special): ... additions to this variable.
5526         * iconv/Makefile (xtests): Change dependencies to ....
5527         (xtests-special): ... additions to this variable.
5528         * iconvdata/Makefile (tests): Change dependencies to ....
5529         (tests-special): ... additions to this variable.
5530         * intl/Makefile (tests): Change dependencies to ....
5531         (tests-special): ... additions to this variable.  Also add
5532         $(objpfx)tst-gettext.out.
5533         * io/Makefile (tests): Change dependencies to ....
5534         (tests-special): ... additions to this variable.
5535         * libio/Makefile (tests): Change dependencies to ....
5536         (tests-special): ... additions to this variable.
5537         * malloc/Makefile (tests): Change dependencies to ....
5538         (tests-special): ... additions to this variable.
5539         * misc/Makefile (tests): Change dependencies to ....
5540         (tests-special): ... additions to this variable.
5541         * nptl/Makefile (tests): Change dependencies to ....
5542         (tests-special): ... additions to this variable.
5543         * nptl_db/Makefile (tests): Change dependencies to ....
5544         (tests-special): ... additions to this variable.
5545         * posix/Makefile (tests): Change dependencies to ....
5546         (tests-special): ... additions to this variable.
5547         (xtests): Change dependencies to ....
5548         (xtests-special): ... additions to this variable.
5549         * resolv/Makefile (tests): Change dependencies to ....
5550         (tests-special): ... additions to this variable.
5551         (xtests): Change dependencies to ....
5552         (xtests-special): ... additions to this variable.
5553         * stdio-common/Makefile (tests): Change dependencies to ....
5554         (tests-special): ... additions to this variable.
5555         (do-tst-unbputc): Remove target.
5556         (do-tst-printf): Likewise.
5557         * stdlib/Makefile (tests): Change dependencies to ....
5558         (tests-special): ... additions to this variable.
5559         * string/Makefile (tests): Change dependencies to ....
5560         (tests-special): ... additions to this variable.
5561         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5562         (tests-special): ... additions to this variable.
5563
5564         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5565         whole file.
5566         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5567         whole file.
5568         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5569         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5570
5571         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5572         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5573         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5574         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5575         * conform/data/libgen.h-data [XPG3]: Likewise.
5576         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5577         * conform/data/ndbm.h-data [XPG3]: Likewise.
5578         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5579         * conform/data/netdb.h-data [XPG3]: Likewise.
5580         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5581         * conform/data/poll.h-data [XPG3]: Likewise.
5582         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5583         * conform/data/strings.h-data [XPG3]: Likewise.
5584         * conform/data/stropts.h-data [XPG3]: Likewise.
5585         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5586         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5587         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5588         Likewise.
5589         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5590         * conform/data/sys/time.h-data [XPG3]: Likewise.
5591         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5592         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5593         * conform/data/sys/un.h-data [XPG3]: Likewise.
5594         * conform/data/syslog.h-data [XPG3]: Likewise.
5595         * conform/data/ucontext.h-data [XPG3]: Likewise.
5596         * conform/data/utmpx.h-data [XPG3]: Likewise.
5597         * conform/data/varargs.h-data [UNIX98]: Enable file.
5598
5599         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5600
5601         * math/libm-test.inc (struct test_f_f_data): Move expected results
5602         into structure for each rounding mode.
5603         (struct test_ff_f_data): Likewise.
5604         (struct test_ff_f_data_nexttoward): Likewise.
5605         (struct test_fi_f_data): Likewise.
5606         (struct test_fl_f_data): Likewise.
5607         (struct test_if_f_data): Likewise.
5608         (struct test_fff_f_data): Likewise.
5609         (struct test_c_f_data): Likewise.
5610         (struct test_f_f1_data): Likewise.
5611         (struct test_fF_f1_data): Likewise.
5612         (struct test_ffI_f1_data): Likewise.
5613         (struct test_c_c_data): Likewise.
5614         (struct test_cc_c_data): Likewise.
5615         (struct test_f_i_data): Likewise.
5616         (struct test_ff_i_data): Likewise.
5617         (struct test_f_l_data): Likewise.
5618         (struct test_f_L_data): Likewise.
5619         (struct test_fFF_11_data): Likewise.
5620         (RM_): New macro.
5621         (RM_FE_DOWNWARD): Likewise.
5622         (RM_FE_TONEAREST): Likewise.
5623         (RM_FE_TOWARDZERO): Likewise.
5624         (RM_FE_UPWARD): Likewise.
5625         (RUN_TEST_LOOP_f_f): Update references to expected results.
5626         (RUN_TEST_LOOP_2_f): Likewise.
5627         (RUN_TEST_LOOP_fff_f): Likewise.
5628         (RUN_TEST_LOOP_c_f): Likewise.
5629         (RUN_TEST_LOOP_f_f1): Likewise.
5630         (RUN_TEST_LOOP_fF_f1): Likewise.
5631         (RUN_TEST_LOOP_fI_f1): Likewise.
5632         (RUN_TEST_LOOP_ffI_f1): Likewise.
5633         (RUN_TEST_LOOP_c_c): Likewise.
5634         (RUN_TEST_LOOP_cc_c): Likewise.
5635         (RUN_TEST_LOOP_f_i): Likewise.
5636         (RUN_TEST_LOOP_f_i_tg): Likewise.
5637         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5638         (RUN_TEST_LOOP_f_b): Likewise.
5639         (RUN_TEST_LOOP_f_b_tg): Likewise.
5640         (RUN_TEST_LOOP_f_l): Likewise.
5641         (RUN_TEST_LOOP_f_L): Likewise.
5642         (RUN_TEST_LOOP_fFF_11): Likewise.
5643         * math/gen-libm-test.pl (parse_args): Output four copies of
5644         expected results for each test.
5645
5646         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5647         (__ASSUME_UTIMES): Remove.
5648         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5649         (__ASSUME_UTIMES): Likewise.
5650
5651         * math/gen-auto-libm-tests.c: Update comment on output format.
5652         (output_for_one_input_case): Generate before-rounding and
5653         after-rounding information as conditions on output flags not
5654         floating-point format.
5655         * math/auto-libm-test-out: Regenerated.
5656         * math/gen-libm-test.pl (cond_value): New function.
5657         (or_cond_value): Use cond_value.
5658         (generate_testfile): Handle conditional exceptions.
5659
5660 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5661
5662         * math/libm-test.inc (max_valid_error): New variable.
5663         (init_max_error): Take new argument specifying whether function
5664         results are exactly determined.  Set max_valid_error and bound
5665         other variables for errors based on this argument.
5666         (set_max_error): Do not record results above max_valid_error.
5667         (check_float_internal): Only accept errors of up to 0.5ulps if
5668         also at most max_valid_error.
5669         (START): Take new argument EXACT and pass it to init_max_error.
5670         (acos_test): Update call to START.
5671         (acos_test_tonearest): Likewise.
5672         (acos_test_towardzero): Likewise.
5673         (acos_test_downward): Likewise.
5674         (acos_test_upward): Likewise.
5675         (acosh_test): Likewise.
5676         (asin_test): Likewise.
5677         (asin_test_tonearest): Likewise.
5678         (asin_test_towardzero): Likewise.
5679         (asin_test_downward): Likewise.
5680         (asin_test_upward): Likewise.
5681         (asinh_test): Likewise.
5682         (atan_test): Likewise.
5683         (atanh_test): Likewise.
5684         (atan2_test): Likewise.
5685         (cabs_test): Likewise.
5686         (cacos_test): Likewise.
5687         (cacosh_test): Likewise.
5688         (carg_test): Likewise.
5689         (casin_test): Likewise.
5690         (casinh_test): Likewise.
5691         (catan_test): Likewise.
5692         (catanh_test): Likewise.
5693         (cbrt_test): Likewise.
5694         (ccos_test): Likewise.
5695         (ccosh_test): Likewise.
5696         (ceil_test): Likewise.
5697         (cexp_test): Likewise.
5698         (cimag_test): Likewise.
5699         (clog_test): Likewise.
5700         (clog10_test): Likewise.
5701         (conj_test): Likewise.
5702         (copysign_test): Likewise.
5703         (cos_test): Likewise.
5704         (cos_test_tonearest): Likewise.
5705         (cos_test_towardzero): Likewise.
5706         (cos_test_downward): Likewise.
5707         (cos_test_upward): Likewise.
5708         (cosh_test): Likewise.
5709         (cosh_test_tonearest): Likewise.
5710         (cosh_test_towardzero): Likewise.
5711         (cosh_test_downward): Likewise.
5712         (cosh_test_upward): Likewise.
5713         (cpow_test): Likewise.
5714         (cproj_test): Likewise.
5715         (creal_test): Likewise.
5716         (csin_test): Likewise.
5717         (csinh_test): Likewise.
5718         (csqrt_test): Likewise.
5719         (ctan_test): Likewise.
5720         (ctan_test_tonearest): Likewise.
5721         (ctan_test_towardzero): Likewise.
5722         (ctan_test_downward): Likewise.
5723         (ctan_test_upward): Likewise.
5724         (ctanh_test): Likewise.
5725         (ctanh_test_tonearest): Likewise.
5726         (ctanh_test_towardzero): Likewise.
5727         (ctanh_test_downward): Likewise.
5728         (ctanh_test_upward): Likewise.
5729         (erf_test): Likewise.
5730         (erfc_test): Likewise.
5731         (exp_test): Likewise.
5732         (exp_test_tonearest): Likewise.
5733         (exp_test_towardzero): Likewise.
5734         (exp_test_downward): Likewise.
5735         (exp_test_upward): Likewise.
5736         (exp10_test): Likewise.
5737         (exp10_test_tonearest): Likewise.
5738         (exp10_test_towardzero): Likewise.
5739         (exp10_test_downward): Likewise.
5740         (exp10_test_upward): Likewise.
5741         (pow10_test): Likewise.
5742         (exp2_test): Likewise.
5743         (expm1_test): Likewise.
5744         (expm1_test_tonearest): Likewise.
5745         (expm1_test_towardzero): Likewise.
5746         (expm1_test_downward): Likewise.
5747         (expm1_test_upward): Likewise.
5748         (fabs_test): Likewise.
5749         (fdim_test): Likewise.
5750         (floor_test): Likewise.
5751         (fma_test): Likewise.
5752         (fma_test_towardzero): Likewise.
5753         (fma_test_downward): Likewise.
5754         (fma_test_upward): Likewise.
5755         (fmax_test): Likewise.
5756         (fmin_test): Likewise.
5757         (fmod_test): Likewise.
5758         (fpclassify_test): Likewise.
5759         (frexp_test): Likewise.
5760         (hypot_test): Likewise.
5761         (ilogb_test): Likewise.
5762         (isfinite_test): Likewise.
5763         (finite_test): Likewise.
5764         (isgreater_test): Likewise.
5765         (isgreaterequal_test): Likewise.
5766         (isinf_test): Likewise.
5767         (isless_test): Likewise.
5768         (islessequal_test): Likewise.
5769         (islessgreater_test): Likewise.
5770         (isnan_test): Likewise.
5771         (isnormal_test): Likewise.
5772         (issignaling_test): Likewise.
5773         (isunordered_test): Likewise.
5774         (j0_test): Likewise.
5775         (j1_test): Likewise.
5776         (jn_test): Likewise.
5777         (ldexp_test): Likewise.
5778         (lgamma_test): Likewise.
5779         (gamma_test): Likewise.
5780         (lrint_test): Likewise.
5781         (lrint_test_tonearest): Likewise.
5782         (lrint_test_towardzero): Likewise.
5783         (lrint_test_downward): Likewise.
5784         (lrint_test_upward): Likewise.
5785         (llrint_test): Likewise.
5786         (llrint_test_tonearest): Likewise.
5787         (llrint_test_towardzero): Likewise.
5788         (llrint_test_downward): Likewise.
5789         (llrint_test_upward): Likewise.
5790         (log_test): Likewise.
5791         (log10_test): Likewise.
5792         (log1p_test): Likewise.
5793         (log2_test): Likewise.
5794         (logb_test): Likewise.
5795         (logb_test_downward): Likewise.
5796         (lround_test): Likewise.
5797         (llround_test): Likewise.
5798         (modf_test): Likewise.
5799         (nearbyint_test): Likewise.
5800         (nextafter_test): Likewise.
5801         (nexttoward_test): Likewise.
5802         (pow_test): Likewise.
5803         (pow_test_tonearest): Likewise.
5804         (pow_test_towardzero): Likewise.
5805         (pow_test_downward): Likewise.
5806         (pow_test_upward): Likewise.
5807         (remainder_test): Likewise.
5808         (drem_test): Likewise.
5809         (remainder_test_tonearest): Likewise.
5810         (drem_test_tonearest): Likewise.
5811         (remainder_test_towardzero): Likewise.
5812         (drem_test_towardzero): Likewise.
5813         (remainder_test_downward): Likewise.
5814         (drem_test_downward): Likewise.
5815         (remainder_test_upward): Likewise.
5816         (drem_test_upward): Likewise.
5817         (remquo_test): Likewise.
5818         (rint_test): Likewise.
5819         (rint_test_tonearest): Likewise.
5820         (rint_test_towardzero): Likewise.
5821         (rint_test_downward): Likewise.
5822         (rint_test_upward): Likewise.
5823         (round_test): Likewise.
5824         (scalb_test): Likewise.
5825         (scalbn_test): Likewise.
5826         (scalbln_test): Likewise.
5827         (signbit_test): Likewise.
5828         (sin_test): Likewise.
5829         (sin_test_tonearest): Likewise.
5830         (sin_test_towardzero): Likewise.
5831         (sin_test_downward): Likewise.
5832         (sin_test_upward): Likewise.
5833         (sincos_test): Likewise.
5834         (sinh_test): Likewise.
5835         (sinh_test_tonearest): Likewise.
5836         (sinh_test_towardzero): Likewise.
5837         (sinh_test_downward): Likewise.
5838         (sinh_test_upward): Likewise.
5839         (sqrt_test): Likewise.
5840         (sqrt_test_tonearest): Likewise.
5841         (sqrt_test_towardzero): Likewise.
5842         (sqrt_test_downward): Likewise.
5843         (sqrt_test_upward): Likewise.
5844         (tan_test): Likewise.
5845         (tan_test_tonearest): Likewise.
5846         (tan_test_towardzero): Likewise.
5847         (tan_test_downward): Likewise.
5848         (tan_test_upward): Likewise.
5849         (tanh_test): Likewise.
5850         (tgamma_test): Likewise.
5851         (trunc_test): Likewise.
5852         (y0_test): Likewise.
5853         (y1_test): Likewise.
5854         (yn_test): Likewise.
5855         (significand_test): Likewise.
5856
5857         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5858         individual tests in comment.
5859         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5860         (prev_max_error): New variable.
5861         (prev_real_max_error): Likewise.
5862         (prev_imag_max_error): Likewise.
5863         (compare_ulp_data): Don't refer to test names in comment.
5864         (find_test_ulps): Remove function.
5865         (find_function_ulps): Likewise.
5866         (find_complex_function_ulps): Likewise.
5867         (init_max_error): Take function name as argument.  Look up ulps
5868         for that function.
5869         (print_ulps): Remove function.
5870         (print_max_error): Use prev_max_error instead of calling
5871         find_function_ulps.
5872         (print_complex_max_error): Use prev_real_max_error and
5873         prev_imag_max_error instead of calling find_complex_function_ulps.
5874         (check_float_internal): Take max_ulp parameter instead of calling
5875         find_test_ulps.  Don't call print_ulps.
5876         (check_float): Update call to check_float_internal.
5877         (check_complex): Update calls to check_float_internal.
5878         (START): Pass argument to init_max_error.
5879         * math/gen-libm-test.pl (%results): Don't include "kind"
5880         information.
5881         (parse_ulps): Don't handle ulps of individual tests.
5882         (print_ulps_file): Likewise.
5883         (output_ulps): Likewise.
5884         * math/README.libm-test: Update.
5885         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5886         individual tests.
5887         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5888         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5889         * sysdeps/arm/libm-test-ulps: Likewise.
5890         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5891         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5892         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5893         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5894         * sysdeps/microblaze/libm-test-ulps: Likewise.
5895         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5896         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5897         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5898         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5899         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5900         * sysdeps/sh/libm-test-ulps: Likewise.
5901         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5902         * sysdeps/tile/libm-test-ulps: Likewise.
5903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5904
5905 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5906
5907         * math/libm-test.inc (print_complex_max_error): Check separately
5908         whether real and imaginary errors are within allowed range and
5909         pass 0 to print_complex_function_ulps instead of value within
5910         allowed range.
5911
5912 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5913
5914         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5915         formatting.
5916         (get_handles_fopen): Likewise.
5917         (do_write_test): Likewise.
5918
5919         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5920
5921         * libio/fileops.c (do_ftell): Use cached offset when
5922         available.
5923         * libio/iofwide.c (do_ftell_wide): Likewise.
5924         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5925         _IO_file_attach.
5926         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5927
5928         [BZ #16532]
5929         * libio/libioP.h (get_file_offset): New function.
5930         * libio/fileops.c (get_file_offset): Likewise.
5931         (do_ftell): Likewise.
5932         (_IO_new_file_seekoff): Split out ftell logic.
5933         * libio/wfileops.c (do_ftell_wide): Likewise.
5934         (_IO_wfile_seekoff): Split out ftell logic.
5935         * libio/tst-ftell-active-handler.c: New test case.
5936         * libio/Makefile (tests): Add it.
5937
5938 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5939
5940         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5941         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5942
5943 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5944
5945         [BZ #16639]
5946         * nscd/connections.c (nscd_init): Call do_exit.
5947         (start_threads): Call do_exit and notify_parent.
5948         (begin_drop_privileges): Call do_exit.
5949         (finish_drop_privileges): Likewise.
5950         * nscd/selinux.c (preserve_capabilities): Likewise.
5951         (install_real_capabilities): Likewise.
5952         (nscd_selinux_enabled): Likewise.
5953         (avc_create_thread): Likewise.
5954         (avc_alloc_lock): Likewise.
5955         (nscd_avc_init): Likewise.
5956         * nscd/nscd.c (parent_fd): New static variable.
5957         (main): Create a pipe between parent and child processes.
5958         Skip closing parent_fd.
5959         (monitor_child): New function.
5960         (do_exit): Likewise.
5961         (notify_parent): Likewise.
5962         * nscd/nscd.h (notify_parent): Likewise.
5963         (do_exit): Likewise.
5964
5965 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5966
5967         * malloc/malloc.c (__libc_calloc): Revert last change.
5968
5969 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5970
5971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5972
5973 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5974
5975         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5977         implementation.
5978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5979         (__libc_ifunc_impl_list): Likewise.
5980         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5981         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5982         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5983         * string/strrchr.c: Define STRRCHR.
5984
5985 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5986
5987         * benchtest/bench-strtok.c (simple_strtok): Delete.
5988         (strtok_string): Use as benchmark.
5989         * string/strtok (STRTOK): New macro.
5990
5991 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
5992
5993         * manual/threads.texi: Add header and standard comments to all
5994         functions.
5995
5996         * elf/dl-lookup.c (check_match): New function.
5997         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5998         (do_lookup_x): Remove nested function check_match. Use non-nested
5999         function check_match.
6000
6001 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6002
6003         * csu/Makefile (generated, before-compile): Use += rather than =.
6004         * catgets/Makefile (generated, generated-dirs): Likewise.
6005         * debug/Makefile (generated): Likewise.
6006         * dlfcn/Makefile (generated): Likewise.
6007         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6008         * iconvdata/Makefile (before-compile, generated): Likewise.
6009         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6010         * libio/Makefile (generated): Likewise.
6011         * malloc/Makefile (generated): Likewise.
6012         * manual/Makefile (generated, generated-dirs): Likewise.
6013         * misc/Makefile (generated): Likewise.
6014         * posix/Makefile (generated): Likewise.
6015         * resolv/Makefile (generated): Likewise.
6016         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6017         * timezone/Makefile (generated, generated-dirs): Likewise.
6018
6019         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6020
6021 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6022
6023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6024         power8 implementation.
6025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6026         file: POWER8 llround ifunc implementation.
6027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6028         (__lllround): Add POWER8 implementation.
6029         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6030         POWER8 llround implementation.
6031
6032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6033         power8 implementation.
6034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6035         file: POWER8 llrint ifunc implementation.
6036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6037         Add POWER8 implementation.
6038         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6039         POWER8 llrint implementation.
6040
6041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6042         power8 implementation.
6043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6044         file: POWER8 finite ifunc implementation.
6045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6046         Add POWER8 implementation.
6047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6048         Likewise.
6049         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6050         POWER8 finite implementation.
6051         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6052
6053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6054         power8 implementation.
6055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6056         file: POWER8 isinf ifunc implementation.
6057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6058         POWER8 implementation.
6059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6060         Likewise.
6061         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6062         isinf implementation.
6063         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6064
6065         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6066         (INIT_ARCH): Add hwcap2 initialization.
6067         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6068         power8 implementation.
6069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6070         file: POWER8 isnan ifunc implementation.
6071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6072         POWER8 implementation.
6073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6074         Likewise.
6075         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6076         isnan implementation.
6077         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6078
6079 2014-02-27  Joey Ye  <joey.ye@arm.com>
6080
6081         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6082         (_FP_NANFRAC_Q): Set to zero.
6083
6084 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6085
6086         [BZ #16623]
6087         * math/auto-libm-test-in: New test inputs.
6088         * math/auto-libm-test-out: Regenerate.
6089         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6090         and DA.
6091         (__cos): Likewise.
6092         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6093
6094 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6095
6096         * scripts/evaluate-test.sh: Take new argument indicating whether
6097         failure is expected.
6098         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6099         indicating whether failure is expected.
6100         * conform/Makefile (test-xfail-run-conformtest): New variable.
6101         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6102         level.
6103         * posix/Makefile (test-xfail-annexc): New variable.
6104         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6105
6106 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6107
6108         * argp/Makefile: Include Makeconfig immediately after defining
6109         subdir.
6110         * assert/Makefile: Likewise.
6111         * benchtests/Makefile: Likewise.
6112         * catgets/Makefile: Likewise.
6113         * conform/Makefile: Likewise.
6114         * crypt/Makefile: Likewise.
6115         * csu/Makefile: Likewise.
6116         (all): Remove target.
6117         * ctype/Makefile: Include Makeconfig immediately after defining
6118         subdir.
6119         * debug/Makefile: Likewise.
6120         * dirent/Makefile: Likewise.
6121         * dlfcn/Makefile: Likewise.
6122         * gmon/Makefile: Likewise.
6123         * gnulib/Makefile: Likewise.
6124         * grp/Makefile: Likewise.
6125         * gshadow/Makefile: Likewise.
6126         * hesiod/Makefile: Likewise.
6127         * hurd/Makefile: Likewise.
6128         (all): Remove target.
6129         * iconvdata/Makefile: Include Makeconfig immediately after
6130         defining subdir.
6131         * inet/Makefile: Likewise.
6132         * intl/Makefile: Likewise.
6133         * io/Makefile: Likewise.
6134         * libio/Makefile: Likewise.
6135         (all): Remove target.
6136         * locale/Makefile: Include Makeconfig immediately after defining
6137         subdir.
6138         * login/Makefile: Likewise.
6139         * mach/Makefile: Likewise.
6140         (all): Remove target.
6141         * malloc/Makefile: Include Makeconfig immediately after defining
6142         subdir.
6143         (all): Remove target.
6144         * manual/Makefile: Include Makeconfig immediately after defining
6145         subdir.
6146         * math/Makefile: Likewise.
6147         * misc/Makefile: Likewise.
6148         * nis/Makefile: Likewise.
6149         * nss/Makefile: Likewise.
6150         * po/Makefile: Likewise.
6151         (all): Remove target.
6152         * posix/Makefile: Include Makeconfig immediately after defining
6153         subdir.
6154         * pwd/Makefile: Likewise.
6155         * resolv/Makefile: Likewise.
6156         * resource/Makefile: Likewise.
6157         * rt/Makefile: Likewise.
6158         * setjmp/Makefile: Likewise.
6159         * shadow/Makefile: Likewise.
6160         * signal/Makefile: Likewise.
6161         * socket/Makefile: Likewise.
6162         * soft-fp/Makefile: Likewise.
6163         * stdio-common/Makefile: Likewise.
6164         * stdlib/Makefile: Likewise.
6165         * streams/Makefile: Likewise.
6166         * string/Makefile: Likewise.
6167         * sunrpc/Makefile: Likewise.
6168         (all): Remove target.
6169         * sysvipc/Makefile: Include Makeconfig immediately after defining
6170         subdir.
6171         * termios/Makefile: Likewise.
6172         * time/Makefile: Likewise.
6173         * timezone/Makefile: Likewise.
6174         (all): Remove target.
6175         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6176         subdir.
6177         * wctype/Makefile: Likewise.
6178
6179 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6180
6181         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6182         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6183         (libc_feholdexcept_setround_mips): Ditto.
6184         (libc_feholdsetround): New.
6185         (libc_feholdsetroundf): New.
6186         (libc_feholdsetroundl): New.
6187         (libc_feupdateenv_test_mips): New.
6188         (libc_feupdateenv_test): New.
6189         (libc_feupdateenv_testf): New.
6190         (libc_feupdateenv_testl): New.
6191         (libc_feresetround): New.
6192         (libc_feresetroundf): New.
6193         (libc_feresetroundl): New.
6194         (libc_fetestexcept_mips): New.
6195         (libc_fetestexcept): New.
6196         (libc_fetestexceptf): New.
6197         (libc_fetestexceptl): New.
6198         (HAVE_RM_CTX): New.
6199         (libc_feholdexcept_setround_mips_ctx): New.
6200         (libc_feholdexcept_setround_ctx): New.
6201         (libc_feholdexcept_setroundf_ctx): New.
6202         (libc_feholdexcept_setroundl_ctx): New.
6203         (libc_fesetenv_mips_ctx): New.
6204         (libc_fesetenv_ctx): New.
6205         (libc_fesetenv_ctxf): New.
6206         (libc_fesetenv_ctxl): New.
6207         (libc_feupdateenv_mips_ctx): New.
6208         (libc_feupdateenv_ctx): New.
6209         (libc_feupdateenvf_ctx): New.
6210         (libc_feupdateenvl_ctx): New.
6211         (libc_feholdsetround_mips_ctx): New.
6212         (libc_feholdsetround_ctx): New.
6213         (libc_feholdsetroundf_ctx): New.
6214         (libc_feholdsetroundl_ctx): New.
6215         (libc_feresetround_mips_ctx): New.
6216         (libc_feresetround_ctx): New.
6217         (libc_feresetroundf_ctx): New.
6218         (libc_feresetroundl_ctx): New.
6219
6220 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6221
6222         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6223
6224         * manual/ipc.texi: New file.
6225         * manual/Makefile (chapters): Add ipc.
6226         * manual/job.texi: Add "Inter-Process Communication" to next.
6227         * manual/process.texi: Add "Inter-Process Communication" to prev.
6228
6229 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6230
6231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6232
6233 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6234
6235         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6236
6237         * manual/arith.texi: Fix spaces after sentences.
6238         * manual/charset.texi: Likewise.
6239         * manual/errno.texi: Likewise.
6240         * manual/install.texi: Likewise.
6241         * manual/llio.texi: Likewise.
6242         * manual/locale.texi: Likewise.
6243         * manual/maint.texi: Likewise.
6244         * manual/math.texi: Likewise.
6245         * manual/memory.texi: Likewise.
6246         * manual/message.texi: Likewise.
6247         * manual/probes.texi: Likewise.
6248         * manual/resource.texi: Likewise.
6249         * manual/signal.texi: Likewise.
6250         * manual/socket.texi: Likewise.
6251         * manual/stdio.texi: Likewise.
6252         * manual/string.texi: Likewise.
6253         * manual/time.texi: Likewise.
6254         * manual/users.texi: Likewise.
6255
6256 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6257
6258         [BZ #16632]
6259         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6260         _DEFAULT_SOURCE is defined.
6261
6262 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6263             Carlos O'Donell  <carlos@redhat.com>
6264
6265         [BZ #16613]
6266         * elf/dl-tls.c (_dl_count_modids): New function.
6267         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6268         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6269         audit library and increment generation counter.
6270         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6271         * elf/tst-audit9.c: New file.
6272         * elf/tst-auditmod9a.c: New file.
6273         * elf/tst-auditmod9b.c: New file.
6274         * elf/Makefile: Add rules to build and run tst-audit9.
6275
6276 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6277
6278         [BZ #15347]
6279         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6280
6281 2014-02-25  Will Newton  <will.newton@linaro.org>
6282
6283         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6284         (__longjmp): Restore sp and lr before restoring callee
6285         saved registers.  Add longjmp and longjmp_target
6286         SystemTap probe point.
6287         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6288         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6289         Define to zero to match jmpbuf layout.
6290         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6291         (__sigsetjmp): Save sp and lr before saving callee
6292         saved registers.  Add setjmp SystemTap probe point.
6293
6294 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6295
6296         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6297
6298 2014-02-24  Andreas Schwab  <schwab@suse.de>
6299
6300         [BZ #15804]
6301         * elf/pldd.c (wait_for_ptrace_stop): New function.
6302         (main): Call it after attaching.
6303
6304 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6305
6306         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6307         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6308         Versions files is now verboten.
6309         * hurd/Versions (libc: GLIBC_2.0):
6310         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6311         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6312         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6313         * mach/Versions: Likewise.
6314
6315         * csu/Versions: Remove unused %include.
6316         * resolv/Versions: Likewise.
6317
6318 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6319
6320         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6321         ($(objpfx)check-local-headers.out): Likewise.
6322         ($(objpfx)begin-end-check.out): Likewise.
6323         * Makerules (check-abi-%.out): Likewise.
6324         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6325         ($(objpfx)test2.cat): Likewise.
6326         ($(objpfx)de/libc.cat): Likewise.
6327         ($(objpfx)test-gencat.out): Likewise.
6328         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6329         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6330         ($(objpfx)noload-mem): Likewise.
6331         ($(objpfx)tst-pathopt.out): Likewise.
6332         ($(objpfx)tst-rtld-load-self.out): Likewise.
6333         ($(objpfx)tst-array1-cmp.out): Likewise.
6334         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6335         ($(objpfx)tst-array2-cmp.out): Likewise.
6336         ($(objpfx)tst-array3-cmp.out): Likewise.
6337         ($(objpfx)tst-array4-cmp.out): Likewise.
6338         ($(objpfx)tst-array5-cmp.out): Likewise.
6339         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6340         ($(objpfx)check-textrel.out): Likewise.
6341         ($(objpfx)check-execstack.out): Likewise.
6342         ($(objpfx)check-localplt.out): Likewise.
6343         ($(objpfx)order2-cmp.out): Likewise.
6344         ($(objpfx)tst-leaks1-mem): Likewise.
6345         ($(objpfx)tst-leaks1-static-mem): Likewise.
6346         ($(objpfx)tst-initorder-cmp.out): Likewise.
6347         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6348         ($(objpfx)tst-unused-dep.out): Likewise.
6349         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6350         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6351         * iconv/Makefile (test-iconvconfig): Likewise.
6352         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6353         ($(objpfx)iconv-test.out): Likewise.
6354         ($(objpfx)tst-tables.out): Likewise.
6355         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6356         ($(objpfx)tst-gettext.out): Likewise.
6357         ($(objpfx)tst-translit.out): Likewise.
6358         ($(objpfx)tst-gettext2.out): Likewise.
6359         ($(objpfx)tst-gettext4.out): Likewise.
6360         ($(objpfx)tst-gettext6.out): Likewise.
6361         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6362         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6363         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6364         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6365         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6366         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6367         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6368         ($(objpfx)wordexp-tst.out): Likewise.
6369         ($(objpfx)annexc.out): Likewise.
6370         ($(objpfx)tst-fnmatch-mem): Likewise.
6371         ($(objpfx)bug-regex2-mem): Likewise.
6372         ($(objpfx)bug-regex14-mem): Likewise.
6373         ($(objpfx)bug-regex21-mem): Likewise.
6374         ($(objpfx)bug-regex31-mem): Likewise.
6375         ($(objpfx)tst-vfork3-mem): Likewise.
6376         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6377         ($(objpfx)tst-pcre-mem): Likewise.
6378         ($(objpfx)tst-boost-mem): Likewise.
6379         ($(objpfx)tst-getconf.out): Likewise.
6380         ($(objpfx)bug-ga2-mem): Likewise.
6381         ($(objpfx)bug-glob2-mem): Likewise.
6382         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6383         ($(objpfx)mtrace-tst-leaks2): Likewise.
6384         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6385         ($(objpfx)tst-printf.out): Likewise.
6386         ($(objpfx)tst-setvbuf1.out): Likewise.
6387         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6388         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6389         ($(objpfx)tst-fmtmsg.out): Likewise.
6390         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6391         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6392
6393         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6394         * bits/sigaction.h [__USE_MISC]: Likewise.
6395         * bits/waitstatus.h: Update #endif comments.
6396         * ctype/ctype.h: Likewise.
6397         * dirent/dirent.h: Likewise.
6398         [__USE_MISC]: Remove redundant conditionals.
6399         * grp/grp.h: Update #endif comments.
6400         [__USE_GNU]: Remove redundant conditionals.
6401         [__USE_MISC]: Likewise.
6402         * inet/netinet/in.h [__USE_GNU]: Likewise.
6403         * io/sys/stat.h [__USE_MISC]: Likewise.
6404         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6405         * libio/bits/stdio.h: Update #endif comments.
6406         [__USE_MISC]: Remove redundant conditionals.
6407         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6408         * libio/stdio.h: Update #endif comments.
6409         [__USE_MISC]: Remove redundant conditionals.
6410         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6411         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6412         * math/math.h: Update #else and #endif comments.
6413         [__USE_MISC]: Remove redundant conditionals.
6414         * misc/sys/uio.h: Update #endif comments.
6415         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6416         * posix/glob.h [__USE_MISC]: Likewise.
6417         * posix/sys/types.h: Update #endif comments.
6418         [__USE_MISC]: Remove redundant conditionals.
6419         * posix/sys/wait.h: Update #endif comments.
6420         [__USE_MISC]: Remove redundant conditionals.
6421         * posix/unistd.h: Update #endif comments.
6422         [__USE_MISC]: Remove redundant conditionals.
6423         * pwd/pwd.h [__USE_GNU]: Likewise.
6424         [__USE_MISC]: Likewise.
6425         * resolv/netdb.h [__USE_GNU]: Likewise.
6426         * signal/signal.h: Update #endif comments.
6427         [__USE_MISC]: Remove redundant conditionals.
6428         * stdlib/stdlib.h: Update #else and #endif comments.
6429         [__USE_MISC]: Remove redundant conditionals.
6430         [__USE_GNU]: Likewise.
6431         * string/bits/string2.h [__USE_MISC]: Likewise.
6432         * string/string.h: Update #endif comments.
6433         [__USE_MISC]: Remove redundant conditionals.
6434         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6435         Likewise.
6436         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6437         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6438         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6439         Likewise.
6440         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6441         Likewise.
6442         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6443         comments.
6444         [__USE_MISC]: Remove redundant conditionals.
6445         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6446         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6447         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6448         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6449         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6450         Likewise.
6451         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6452         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6453         Likewise.
6454         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6455         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6456         Likewise.
6457         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6458         Likewise.
6459         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6460         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6461         Likewise.
6462         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6463         Likewise.
6464         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6465         * sysdeps/x86/bits/string.h: Update #endif comments.
6466         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6467         conditionals.
6468         * time/sys/time.h: Update #endif comments.
6469         * time/time.h: Likewise.
6470         [__USE_MISC]: Remove redundant conditionals.
6471
6472 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6473
6474         [BZ #16600]
6475         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6476
6477 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6478
6479         * Versions.def (librt): Add GLIBC_2.17.
6480
6481 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6482
6483         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6484         synonym for _SYS_AUXV_H to allow direct inclusion.
6485         * sysdeps/sparc/bits/hwcap.h: Likewise.
6486         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6487         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6488         * sysdeps/sparc/sysdep.h: Likewise.
6489
6490 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6491
6492         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6493
6494 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6495
6496         * benchtests/bench-strrchr.c: Print length instead of position.
6497
6498 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6499
6500         [BZ #16611]
6501         * sysdeps/unix/sysv/linux/kernel-features.h
6502         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6503         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6504         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6505         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6506         Likewise.
6507         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6508         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6509         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6510         (__ASSUME_SENDMMSG): Define instead of using previous
6511         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6512         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6513         (__ASSUME_SENDMMSG_SYSCALL): Define.
6514         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6515         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6516         Likewise.
6517         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6518         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6519         Likewise.
6520         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6521         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6522         Likewise.
6523         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6524         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6525         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6526         [__ASSUME_SENDMMSG]: Change conditionals to
6527         [__ASSUME_SENDMMSG_SOCKETCALL].
6528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6529         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6530         Define.
6531         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6532         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6533         Likewise.
6534         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6535         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6536         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6537         [!__ASSUME_SENDMMSG]: Change conditional to
6538         [!__ASSUME_SENDMMSG_SOCKETCALL].
6539         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6540         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6541         Define.
6542
6543         [BZ #16610]
6544         * sysdeps/unix/sysv/linux/kernel-features.h
6545         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6546         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6547         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6548         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6549         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6550         [__i386__ || __sparc__]
6551         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6552         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6553         (__ASSUME_RECVMMSG): Define instead of using previous
6554         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6555         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6556         (__ASSUME_RECVMMSG_SYSCALL): Define.
6557         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6558         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6559         Likewise.
6560         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6561         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6562         Likewise.
6563         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6564         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6565         Likewise.
6566         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6567         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6568         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6569         [__ASSUME_RECVMMSG]: Change condition to
6570         [__ASSUME_RECVMMSG_SOCKETCALL].
6571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6572         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6573         Define.
6574         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6575         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6576         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6577         Likewise.
6578         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6579         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6580         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6581         [!__ASSUME_RECVMMSG]: Change condition to
6582         [!__ASSUME_RECVMMSG_SOCKETCALL].
6583         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6584         (__ASSUME_RECVMMSG_SYSCALL): Define.
6585
6586         [BZ #16609]
6587         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6588         __powerpc__ || __s390__ || __sh__ || __sparc__]
6589         (__ASSUME_SOCKETCALL): Define.
6590         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6591         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6592         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6593         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6594         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6595         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6596         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6597         (__ASSUME_ACCEPT4): Define instead of using previous
6598         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6599         __powerpc__ || __sparc__ || __s390__)] condition.
6600         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6601         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6602         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6603         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6604         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6605         [!__ASSUME_ACCEPT4]: Change condition to
6606         [!__ASSUME_ACCEPT4_SOCKETCALL].
6607         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6608         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6609         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6610         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6611         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6612         __ASSUME_ACCEPT4_SYSCALL.
6613         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6614         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6615         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6616         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6617         __ASSUME_ACCEPT4_SYSCALL.
6618         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6619         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6620         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6621         [__ASSUME_ACCEPT4]: Change condition to
6622         [__ASSUME_ACCEPT4_SOCKETCALL].
6623         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6624         (__ASSUME_SOCKETCALL): Define.
6625         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6627         (__ASSUME_SOCKETCALL): Define.
6628         (__ASSUME_ACCEPT4): Remove.
6629         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6630         Define.
6631         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6632         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6633         Likewise.
6634         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6635         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6636
6637         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6638         macro.
6639         (HWCAP_ARM_LPAE): Likewise.
6640         (HWCAP_ARM_EVTSTRM): Likewise.
6641         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6642         Add vpfd32, lpae and evtstrm.
6643         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6644         Increase to 22.
6645
6646 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6647
6648         * math/auto-libm-test-in: Add tests of clog10.
6649         * math/auto-libm-test-out: Regenerated.
6650         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6651         * sysdeps/i386/fpu/libm-test-ulps: Update.
6652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6653
6654 2014-02-18  Andreas Schwab  <schwab@suse.de>
6655
6656         [BZ #16574]
6657         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6658         Store non-zero if the second buffer was newly allocated.
6659         (send_dg): Likewise.
6660         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6661         to send_vc and send_dg.
6662         (res_nsend): Pass NULL for ansp2_malloced.
6663         * resolv/res_query.c (__libc_res_nquery): Add parameter
6664         answerp2_malloced and pass it down to __libc_res_nsend.
6665         (res_nquery): Pass additional NULL to __libc_res_nquery.
6666         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6667         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6668         second answer buffer if answerp2_malloced was set.
6669         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6670         (__libc_res_nquerydomain): Add parameter
6671         answerp2_malloced and pass it down to __libc_res_nquery.
6672         (res_nquerydomain): Pass additional NULL to
6673         __libc_res_nquerydomain.
6674         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6675         additional NULL to __libc_res_nsend and __libc_res_nquery.
6676         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6677         additional NULL to __libc_res_nsearch.
6678         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6679         parameter of __libc_res_nsearch to check for separately allocated
6680         second buffer.
6681         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6682         __libc_res_nquery.
6683         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6684         additional NULL to __libc_res_nquery.
6685         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6686         __libc_res_nsearch.
6687         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6688         * include/resolv.h: Update prototypes of __libc_res_nquery,
6689         __libc_res_nsearch, __libc_res_nsend.
6690
6691 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6692
6693         * math/auto-libm-test-in: Add tests of fma.
6694         * math/auto-libm-test-out: Regenerated.
6695         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6696         (fma_towardzero_test_data): Likewise.
6697         (fma_downward_test_data): Likewise.
6698         (fma_upward_test_data): Likewise.
6699         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6700         mpc_mode.
6701         (rounding_modes): Add values for new field.
6702         (func_calc_method): Add value mpfr_fff_f.
6703         (func_calc_desc): Add mpfr_fff_f union field.
6704         (test_function): Add field exact_args.
6705         (FUNC): Add macro argument EXACT_ARGS.
6706         (FUNC_mpfr_f_f): Update call to FUNC.
6707         (FUNC_mpfr_f_f): Likewise.
6708         (FUNC_mpfr_ff_f): Likewise.
6709         (FUNC_mpfr_if_f): Likewise.
6710         (FUNC_mpc_c_f): Likewise.
6711         (FUNC_mpc_c_c): Likewise.
6712         (test_functions): Add fma.  Update calls to FUNC.
6713         (handle_input_arg): Add argument exact_args.
6714         (add_test): Update call to handle_input_arg.
6715         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6716         (output_for_one_input_case): Update call to calc_generic_results.
6717         Recalculate exact zero results in each rounding mode.
6718
6719         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6720         non-negative before setting low bit.
6721         * math/auto-libm-test-in: Mark one asin test possibly having
6722         spurious underflow.
6723         * math/auto-libm-test-out: Regenerated.
6724         * sysdeps/i386/fpu/libm-test-ulps: Update.
6725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6726
6727 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6728
6729         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6730         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6731         ports/sysdeps/unix/sysv/linux/microblaze.
6732         * README: Add missing listing for microblaze*-*-linux-gnu.
6733
6734 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6735
6736         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6737         * sysdeps/unix/sysv/linux/ia64: Move directory from
6738         ports/sysdeps/unix/sysv/linux/ia64.
6739         * README: Update listing for ia64-*-linux-gnu.
6740
6741 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6742             Joseph Myers  <joseph@codesourcery.com>
6743
6744         * Makeconfig (test-name): New variable.
6745         (evaluate-test): Likewise.
6746         * Makerules (do-test-clean): Remove .test-result files.
6747         (common-mostlyclean): Likewise.
6748         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6749         * scripts/evaluate-test.sh: New file.
6750
6751 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6752
6753         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6754         separate $(objpfx)tst-fopenloc-cmp.out and
6755         $(objpfx)tst-fopenloc-mem.out targets.
6756         (tests): Update dependencies.
6757         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6758         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6759         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6760         (tst-rxspencer-no-utf8-ARGS): New variable.
6761         (tst-rxspencer-no-utf8-ENV): Likewise.
6762         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6763         instead of $(objpfx)tst-rxspencer-mem.
6764         ($(objpfx)tst-rxspencer-mem): Change target to
6765         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6766         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6767         * posix/tst-rxspencer-no-utf8.c: New file.
6768
6769         * elf/Makefile ($(objpfx)order.out): Remove rule.
6770         [$(run-built-tests) = yes] (tests): Depend on
6771         $(objpfx)order-cmp.out.
6772         ($(objpfx)order-cmp.out): New rule.
6773         [$(run-built-tests) = yes] (tests): Depend on
6774         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6775         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6776         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6777         $(objpfx)tst-array5-static-cmp.out.
6778         ($(objpfx)tst-array1.out): Remove rule.
6779         ($(objpfx)tst-array1-cmp.out): New rule.
6780         ($(objpfx)tst-array1-static.out): Remove rule.
6781         ($(objpfx)tst-array1-static-cmp.out): New rule.
6782         ($(objpfx)tst-array2.out): Remove rule.
6783         ($(objpfx)tst-array2-cmp.out): New rule.
6784         ($(objpfx)tst-array3.out): Remove rule.
6785         ($(objpfx)tst-array3-cmp.out): New rule.
6786         ($(objpfx)tst-array4.out): Remove rule.
6787         ($(objpfx)tst-array4-cmp.out): New rule.
6788         ($(objpfx)tst-array5.out): Remove rule.
6789         ($(objpfx)tst-array5-cmp.out): New rule.
6790         ($(objpfx)tst-array5-static.out): Remove rule.
6791         ($(objpfx)tst-array5-static-cmp.out): New rule.
6792         [$(run-built-tests) = yes] (tests): Depend on
6793         $(objpfx)order2-cmp.out.
6794         ($(objpfx)order2.out): Remove rule.
6795         ($(objpfx)order2-cmp.out): New rule.
6796         ($(objpfx)tst-initorder.out): Remove rule.
6797         [$(run-built-tests) = yes] (tests): Depend on
6798         $(objpfx)tst-initorder-cmp.out.
6799         ($(objpfx)tst-initorder-cmp.out): New rule.
6800         ($(objpfx)tst-initorder2.out): Remove rule.
6801         [$(run-built-tests) = yes] (tests): Depend on
6802         $(objpfx)tst-initorder2-cmp.out.
6803         ($(objpfx)tst-initorder2-cmp.out): New rule.
6804         [$(run-built-tests) = yes] (tests): Depend on
6805         $(objpfx)tst-unused-dep-cmp.out.
6806         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6807         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6808         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6809         on $(objpfx)tst-setvbuf1-cmp.out.
6810         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6811         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6812         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6813         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6814         ($(objpfx)tst-svc.out): Remove rule.
6815         ($(objpfx)tst-svc-cmp.out): New rule.
6816
6817 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6818
6819         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6820         * ctype/ctype.h [__USE_MISC]: Likewise.
6821         * dirent/dirent.h [__USE_MISC]: Likewise.
6822         * grp/grp.h [__USE_MISC]: Likewise.
6823         * io/fcntl.h [__USE_MISC]: Likewise.
6824         * io/sys/stat.h [__USE_MISC]: Likewise.
6825         * libio/stdio.h [__USE_MISC]: Likewise.
6826         * posix/unistd.h [__USE_MISC]: Likewise.
6827         * pwd/pwd.h [__USE_MISC]: Likewise.
6828         * stdlib.h [__USE_MISC]: Likewise.
6829         * string/bits/string2.h [__USE_MISC]: Likewise.
6830         * string/string.h [__USE_MISC]: Likewise.
6831         * time/time.h [__USE_MISC]: Likewise.
6832
6833 2014-02-13  Andreas Schwab  <schwab@suse.de>
6834
6835         [BZ #16574]
6836         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6837         second answer buffer if it was separately allocated.
6838
6839 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6840
6841         * sysdeps/mips/math-tests.h: Include <features.h>.
6842         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6843         (ROUNDING_TESTS_long_double): Do not define.
6844         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6845         (EXCEPTION_TESTS_long_double): Likewise.
6846         * sysdeps/mips/mips64/libm-test-ulps: Update.
6847
6848         * include/features.h (__USE_BSD): Remove macro definitions.
6849         (__USE_SVID): Likewise.
6850         (_BSD_SOURCE): Likewise.
6851         (_SVID_SOURCE): Likewise.
6852         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6853         from definition of _DEFAULT_SOURCE.
6854         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6855         [_DEFAULT_SOURCE].
6856         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6857         * bits/mman.h [__USE_BSD]: Likewise.
6858         * bits/termios.h [__USE_BSD]: Likewise.
6859         * bits/waitstatus.h [__USE_BSD]: Likewise.
6860         * ctype/ctype.h [__USE_SVID]: Likewise.
6861         * dirent/dirent.h [__USE_BSD]: Likewise.
6862         * grp/grp.h [__USE_SVID]: Likewise.
6863         [__USE_BSD]: Likewise.
6864         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6865         * io/fcntl.h [__USE_BSD]: Likewise.
6866         * io/ftw.h [__USE_BSD]: Likewise.
6867         * io/sys/stat.h [__USE_BSD]: Likewise.
6868         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6869         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6870         * libio/stdio.h [__USE_SVID]: Likewise.
6871         [__USE_BSD]: Likewise.
6872         * math/math.h [__USE_SVID]: Likewise.
6873         [__USE_BSD]: Likewise.
6874         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6875         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6876         * misc/search.h [__USE_SVID]: Likewise.
6877         * misc/sys/mman.h [__USE_BSD]: Likewise.
6878         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6879         * misc/sys/uio.h [__USE_BSD]: Likewise.
6880         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6881         * posix/glob.h [__USE_BSD]: Likewise.
6882         * posix/regex.h [__USE_BSD]: Likewise.
6883         * posix/sys/types.h [__USE_BSD]: Likewise.
6884         [__USE_SVID]: Likewise.
6885         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6886         * posix/sys/wait.h [__USE_BSD]: Likewise.
6887         [__USE_SVID]: Likewise.
6888         * posix/unistd.h [__USE_BSD]: Likewise.
6889         [__USE_SVID]: Likewise.
6890         * pwd/pwd.h [__USE_SVID]: Likewise.
6891         * resolv/netdb.h [__USE_BSD]: Likewise.
6892         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6893         * signal/signal.h [__USE_BSD]: Likewise.
6894         [__USE_SVID]: Likewise.
6895         * socket/sys/socket.h [__USE_BSD]: Likewise.
6896         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6897         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6898         [__USE_SVID]: Likewise.
6899         * string/bits/string2.h [__USE_BSD]: Likewise.
6900         [__USE_SVID]: Likewise.
6901         * string/bits/string3.h [__USE_BSD]: Likewise.
6902         * string/endian.h [__USE_BSD]: Likewise.
6903         * string/string.h [__USE_SVID]: Likewise.
6904         [__USE_BSD]: Likewise.
6905         * string/strings.h [__USE_BSD]: Likewise.
6906         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6907         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6908         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6909         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6910         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6911         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6912         Likewise.
6913         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6914         Likewise.
6915         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6916         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6917         Likewise.
6918         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6919         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6920         Likewise.
6921         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6922         Likewise.
6923         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6924         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6925         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6926         Likewise.
6927         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6928         Likewise.
6929         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6930         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6931         * termios/termios.h [__USE_BSD]: Likewise.
6932         * time/sys/time.h [__USE_BSD]: Likewise.
6933         * time/time.h [__USE_BSD]: Likewise.
6934         [__USE_SVID]: Likewise.
6935
6936         * Makefile (subdir_targets): Remove subdir_lint.out.
6937
6938         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6939         (do-tst-printf): Likewise.
6940         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6941         $(objpfx)tst-printf.out.
6942
6943         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6944
6945         * Makerules (check-abi-%): Change target to
6946         $(objpfx)check-abi-%.out.
6947         (check-abi target): Update dependencies.
6948         (check-abi-pattern variable): Redirect output of diff to $@.
6949         (check-abi variable): Likewise.
6950         * elf/Makefile (check-abi): Update dependencies.
6951
6952         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6953         unused.
6954         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6955         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6956         subnormal range.
6957         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6958         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6959         value has largest subnormal exponent.
6960         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6961         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6962         * sysdeps/aarch64/soft-fp/sfp-machine.h
6963         (_FP_TININESS_AFTER_ROUNDING): New macro.
6964         * sysdeps/alpha/soft-fp/sfp-machine.h
6965         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6966         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6967         Likewise.
6968         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6969         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6970         * sysdeps/mips/soft-fp/sfp-machine.h
6971         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6972         * sysdeps/powerpc/soft-fp/sfp-machine.h
6973         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6974         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6975         Likewise.
6976         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6977         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6978         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6979         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6980         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6981         Likewise.
6982
6983 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6984
6985         [BZ #16545]
6986         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6987         model 1.
6988
6989 2014-02-12  Richard Henderson  <rth@redhat.com>
6990
6991         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6992         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6993         * sysdeps/unix/sysv/linux/alpha: Move directory from
6994         ports/sysdeps/unix/sysv/linux/alpha.
6995         * README: Update listing for alpha-*-linux-gnu.
6996
6997 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
6998
6999         * include/features.h: Update comment documenting feature test
7000         macros.
7001         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7002         _DEFAULT_SOURCE.
7003         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7004         (_SVID_SOURCE): Likewise.
7005         (_DEFAULT_SOURCE): Update description of default features.
7006         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7007         with _GNU_SOURCE.
7008         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7009         (S_ISVTX): Likewise.
7010         * manual/math.texi (Mathematical Constants): Likewise.
7011         * manual/signal.texi (Interrupted Primitives): Likewise.
7012         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7013         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7014         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7015         Don't refer to _SVID_SOURCE in warning text.
7016
7017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7018
7019         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7020         already defined.
7021         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7022         * sysdeps/mips/dl-lookup.c: Remove.
7023         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7024
7025 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7026
7027         [BZ #16447]
7028         * math/auto-libm-test-in: Add testcase for expl.
7029         * math/auto-libm-test-out: Regenerate.
7030         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7031         calculation of unsafe.
7032         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7033
7034 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7035
7036         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7037         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7038         ports/sysdeps/unix/sysv/linux/aarch64.
7039         * README: Update listing for aarch64*-*-linux-gnu.
7040
7041 2014-02-11  Will Newton  <will.newton@linaro.org>
7042
7043         * manual/probes.texi (Mathematical Function Probes): Use
7044         "triggered" instead of "hit".
7045
7046         * manual/probes.texi (Internal Probes): Add documentation
7047         of setjmp, longjmp and longjmp_target probes.
7048
7049         * include/stap-probe.h: Add comment about probe argument
7050         format.
7051
7052         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7053         definition.  (tr_where, tr_freehook, tr_mallochook,
7054         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7055
7056 2014-02-11  David S. Miller  <davem@davemloft.net>
7057
7058         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7059         processing int_tests.
7060
7061 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7062
7063         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7064         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7065         * sysdeps/unix/sysv/linux/mips: Move directory from
7066         ports/sysdeps/unix/sysv/linux/mips.
7067         * README: Update listing for mips-*-linux-gnu and
7068         mips64-*-linux-gnu.
7069
7070 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7071
7072         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7073         * sysdeps/unix/sysv/linux/m68k: Move directory from
7074         ports/sysdeps/unix/sysv/linux/m68k.
7075         * README: Update listing for m68k-*-linux-gnu.
7076
7077 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7078
7079         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7080         * sysdeps/unix/sysv/linux/generic: Move directory from
7081         ports/sysdeps/unix/sysv/linux/generic.
7082         * sysdeps/unix/sysv/linux/tile: Move directory from
7083         ports/sysdeps/unix/sysv/linux/tile.
7084         * README: Update listing for tile*-*-linux-gnu.
7085
7086 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7087
7088         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7089         __builtin_expect.
7090         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7091         * catgets/open_catalog.c (__open_catalog): Likewise.
7092         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7093         * debug/confstr_chk.c: Likewise.
7094         * debug/fread_chk.c (__fread_chk): Likewise.
7095         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7096         * debug/getgroups_chk.c: Likewise.
7097         * debug/mbsnrtowcs_chk.c: Likewise.
7098         * debug/mbsrtowcs_chk.c: Likewise.
7099         * debug/mbstowcs_chk.c: Likewise.
7100         * debug/memcpy_chk.c: Likewise.
7101         * debug/memmove_chk.c: Likewise.
7102         * debug/mempcpy_chk.c: Likewise.
7103         * debug/memset_chk.c: Likewise.
7104         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7105         * debug/strcat_chk.c (__strcat_chk): Likewise.
7106         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7107         * debug/strncat_chk.c (__strncat_chk): Likewise.
7108         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7109         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7110         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7111         * debug/wcpncpy_chk.c: Likewise.
7112         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7113         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7114         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7115         * debug/wcsncpy_chk.c: Likewise.
7116         * debug/wcsnrtombs_chk.c: Likewise.
7117         * debug/wcsrtombs_chk.c: Likewise.
7118         * debug/wcstombs_chk.c: Likewise.
7119         * debug/wmemcpy_chk.c: Likewise.
7120         * debug/wmemmove_chk.c: Likewise.
7121         * debug/wmempcpy_chk.c: Likewise.
7122         * debug/wmemset_chk.c: Likewise.
7123         * dirent/scandirat.c (SCANDIRAT): Likewise.
7124         * dlfcn/dladdr1.c (dladdr1): Likewise.
7125         * dlfcn/dladdr.c (dladdr): Likewise.
7126         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7127         * dlfcn/dlerror.c (__dlerror): Likewise.
7128         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7129         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7130         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7131         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7132         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7133         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7134         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7135         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7136         Likewise.
7137         * elf/dl-conflict.c: Likewise.
7138         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7139         * elf/dl-dst.h: Likewise.
7140         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7141         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7142         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7143         * elf/dl-init.c (call_init, _dl_init): Likewise.
7144         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7145         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7146         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7147         Likewise.
7148         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7149         Likewise.
7150         * elf/dl-minimal.c (__libc_memalign): Likewise.
7151         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7152         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7153         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7154         * elf/dl-sym.c (do_sym): Likewise.
7155         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7156         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7157         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7158         * elf/dl-writev.h (_dl_writev): Likewise.
7159         * elf/ldconfig.c (search_dir): Likewise.
7160         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7161         (dl_main): Likewise.
7162         * elf/setup-vdso.h (setup_vdso): Likewise.
7163         * grp/compat-initgroups.c (compat_call): Likewise.
7164         * grp/fgetgrent.c (fgetgrent): Likewise.
7165         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7166         * grp/putgrent.c (putgrent): Likewise.
7167         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7168         Likewise.
7169         * hurd/hurdinit.c: Likewise.
7170         * iconvdata/8bit-gap.c (struct): Likewise.
7171         * iconvdata/ansi_x3.110.c : Likewise.
7172         * iconvdata/big5.c : Likewise.
7173         * iconvdata/big5hkscs.c : Likewise.
7174         * iconvdata/cp1255.c: Likewise.
7175         * iconvdata/cp1258.c : Likewise.
7176         * iconvdata/cp932.c : Likewise.
7177         * iconvdata/euc-cn.c: Likewise.
7178         * iconvdata/euc-jisx0213.c : Likewise.
7179         * iconvdata/euc-jp.c: Likewise.
7180         * iconvdata/euc-jp-ms.c : Likewise.
7181         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7182         * iconvdata/gb18030.c : Likewise.
7183         * iconvdata/gbbig5.c (const): Likewise.
7184         * iconvdata/gbgbk.c: Likewise.
7185         * iconvdata/gbk.c : Likewise.
7186         * iconvdata/ibm1364.c : Likewise.
7187         * iconvdata/ibm930.c : Likewise.
7188         * iconvdata/ibm932.c: Likewise.
7189         * iconvdata/ibm933.c : Likewise.
7190         * iconvdata/ibm935.c : Likewise.
7191         * iconvdata/ibm937.c : Likewise.
7192         * iconvdata/ibm939.c : Likewise.
7193         * iconvdata/ibm943.c: Likewise.
7194         * iconvdata/iso_11548-1.c: Likewise.
7195         * iconvdata/iso-2022-cn.c : Likewise.
7196         * iconvdata/iso-2022-cn-ext.c : Likewise.
7197         * iconvdata/iso-2022-jp-3.c: Likewise.
7198         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7199         * iconvdata/iso-2022-kr.c : Likewise.
7200         * iconvdata/iso646.c (gconv_end): Likewise.
7201         * iconvdata/iso_6937-2.c : Likewise.
7202         * iconvdata/iso_6937.c : Likewise.
7203         * iconvdata/iso8859-1.c: Likewise.
7204         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7205         * iconvdata/shift_jisx0213.c : Likewise.
7206         * iconvdata/sjis.c : Likewise.
7207         * iconvdata/t.61.c : Likewise.
7208         * iconvdata/tcvn5712-1.c : Likewise.
7209         * iconvdata/tscii.c: Likewise.
7210         * iconvdata/uhc.c : Likewise.
7211         * iconvdata/unicode.c (gconv_end): Likewise.
7212         * iconvdata/utf-16.c (gconv_end): Likewise.
7213         * iconvdata/utf-32.c (gconv_end): Likewise.
7214         * iconvdata/utf-7.c (base64): Likewise.
7215         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7216         * iconv/gconv_close.c (__gconv_close): Likewise.
7217         * iconv/gconv_open.c (__gconv_open): Likewise.
7218         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7219         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7220         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7221         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7222         (ucs4le_internal_loop_single): Likewise.
7223         * iconv/iconv.c (iconv): Likewise.
7224         * iconv/iconv_close.c: Likewise.
7225         * iconv/loop.c (SINGLE): Likewise.
7226         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7227         * include/atomic.h: Likewise.
7228         * inet/inet6_option.c (option_alloc): Likewise.
7229         * intl/bindtextdom.c (set_binding_values): Likewise.
7230         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7231         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7232         * intl/localealias.c (read_alias_file): Likewise.
7233         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7234         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7235         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7236         * libio/fmemopen.c (fmemopen): Likewise.
7237         * libio/iofgets.c (_IO_fgets): Likewise.
7238         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7239         * libio/iofgetws.c (fgetws): Likewise.
7240         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7241         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7242         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7243         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7244         * locale/findlocale.c (_nl_find_locale): Likewise.
7245         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7246         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7247         Likewise.
7248         * locale/setlocale.c (setlocale): Likewise.
7249         * login/programs/pt_chown.c (main): Likewise.
7250         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7251         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7252         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7253         (mmap, mmap64, mremap, munmap): Likewise.
7254         * math/e_exp2l.c: Likewise.
7255         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7256         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7257         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7258         * math/s_catan.c (__catan): Likewise.
7259         * math/s_catanf.c (__catanf): Likewise.
7260         * math/s_catanh.c (__catanh): Likewise.
7261         * math/s_catanhf.c (__catanhf): Likewise.
7262         * math/s_catanhl.c (__catanhl): Likewise.
7263         * math/s_catanl.c (__catanl): Likewise.
7264         * math/s_ccosh.c (__ccosh): Likewise.
7265         * math/s_ccoshf.c (__ccoshf): Likewise.
7266         * math/s_ccoshl.c (__ccoshl): Likewise.
7267         * math/s_cexp.c (__cexp): Likewise.
7268         * math/s_cexpf.c (__cexpf): Likewise.
7269         * math/s_cexpl.c (__cexpl): Likewise.
7270         * math/s_clog10.c (__clog10): Likewise.
7271         * math/s_clog10f.c (__clog10f): Likewise.
7272         * math/s_clog10l.c (__clog10l): Likewise.
7273         * math/s_clog.c (__clog): Likewise.
7274         * math/s_clogf.c (__clogf): Likewise.
7275         * math/s_clogl.c (__clogl): Likewise.
7276         * math/s_csin.c (__csin): Likewise.
7277         * math/s_csinf.c (__csinf): Likewise.
7278         * math/s_csinh.c (__csinh): Likewise.
7279         * math/s_csinhf.c (__csinhf): Likewise.
7280         * math/s_csinhl.c (__csinhl): Likewise.
7281         * math/s_csinl.c (__csinl): Likewise.
7282         * math/s_csqrt.c (__csqrt): Likewise.
7283         * math/s_csqrtf.c (__csqrtf): Likewise.
7284         * math/s_csqrtl.c (__csqrtl): Likewise.
7285         * math/s_ctan.c (__ctan): Likewise.
7286         * math/s_ctanf.c (__ctanf): Likewise.
7287         * math/s_ctanh.c (__ctanh): Likewise.
7288         * math/s_ctanhf.c (__ctanhf): Likewise.
7289         * math/s_ctanhl.c (__ctanhl): Likewise.
7290         * math/s_ctanl.c (__ctanl): Likewise.
7291         * math/w_pow.c: Likewise.
7292         * math/w_powf.c: Likewise.
7293         * math/w_powl.c: Likewise.
7294         * math/w_scalb.c (sysv_scalb): Likewise.
7295         * math/w_scalbf.c (sysv_scalbf): Likewise.
7296         * math/w_scalbl.c (sysv_scalbl): Likewise.
7297         * misc/error.c (error_tail): Likewise.
7298         * misc/pselect.c (__pselect): Likewise.
7299         * nis/nis_callback.c (__nis_create_callback): Likewise.
7300         * nis/nis_call.c (__nisfind_server): Likewise.
7301         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7302         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7303         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7304         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7305         * nis/nis_lookup.c (nis_lookup): Likewise.
7306         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7307         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7308         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7309         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7310         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7311         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7312         * nis/nss_compat/compat-initgroups.c (add_group)
7313         (internal_getgrent_r): Likewise.
7314         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7315         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7316         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7317         (internal_getspnam_r): Likewise.
7318         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7319         (_nss_nis_getaliasbyname_r): Likewise.
7320         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7321         (_nss_nis_getntohost_r): Likewise.
7322         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7323         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7324         (_nss_nis_getgrgid_r): Likewise.
7325         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7326         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7327         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7328         (_nss_nis_gethostbyname4_r): Likewise.
7329         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7330         (initgroups_netid): Likewise.
7331         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7332         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7333         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7334         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7335         (_nss_nis_getprotobynumber_r): Likewise.
7336         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7337         (_nss_nis_getsecretkey): Likewise.
7338         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7339         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7340         (_nss_nis_getpwuid_r): Likewise.
7341         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7342         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7343         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7344         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7345         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7346         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7347         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7348         Likewise.
7349         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7350         (_nss_nisplus_getntohost_r): Likewise.
7351         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7352         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7353         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7354         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7355         Likewise.
7356         * nis/nss_nisplus/nisplus-initgroups.c
7357         (_nss_nisplus_initgroups_dyn): Likewise.
7358         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7359         (_nss_nisplus_getnetbyaddr_r): Likewise.
7360         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7361         (_nss_nisplus_getprotobynumber_r): Likewise.
7362         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7363         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7364         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7365         Likewise.
7366         * nis/nss_nisplus/nisplus-service.c
7367         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7368         (_nss_nisplus_getservbyport_r): Likewise.
7369         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7370         (_nss_nisplus_getspnam_r): Likewise.
7371         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7372         Likewise.
7373         * nscd/aicache.c (addhstaiX): Likewise.
7374         * nscd/cache.c (cache_search, prune_cache): Likewise.
7375         * nscd/connections.c (register_traced_file, send_ro_fd)
7376         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7377         (main_loop_epoll): Likewise.
7378         * nscd/grpcache.c (addgrbyX): Likewise.
7379         * nscd/hstcache.c (addhstbyX): Likewise.
7380         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7381         * nscd/mem.c (gc, mempool_alloc): Likewise.
7382         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7383         (addinnetgrX): Likewise.
7384         * nscd/nscd-client.h (__nscd_acquire_maplock)
7385         (__nscd_drop_map_ref): Likewise.
7386         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7387         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7388         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7389         Likewise.
7390         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7391         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7392         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7393         (__nscd_get_map_ref): Likewise.
7394         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7395         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7396         Likewise.
7397         * nscd/pwdcache.c (addpwbyX): Likewise.
7398         * nscd/selinux.c (preserve_capabilities): Likewise.
7399         * nscd/servicescache.c (addservbyX): Likewise.
7400         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7401         * posix/fnmatch.c (fnmatch): Likewise.
7402         * posix/getopt.c (_getopt_internal_r): Likewise.
7403         * posix/glob.c (glob, glob_in_dir): Likewise.
7404         * posix/wordexp.c (exec_comm_child): Likewise.
7405         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7406         (getanswer_r, gaih_getanswer_slice): Likewise.
7407         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7408         * resolv/res_init.c: Likewise.
7409         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7410         * resolv/res_query.c (__libc_res_nquery): Likewise.
7411         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7412         Likewise.
7413         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7414         * stdio-common/perror.c (perror): Likewise.
7415         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7416         * stdio-common/tmpnam.c (tmpnam): Likewise.
7417         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7418         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7419         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7420         Likewise.
7421         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7422         * stdlib/putenv.c (putenv): Likewise.
7423         * stdlib/setenv.c (__add_to_environ): Likewise.
7424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7425         * stdlib/strtol_l.c (INTERNAL): Likewise.
7426         * string/memmem.c (memmem): Likewise.
7427         * string/strerror.c (strerror): Likewise.
7428         * string/strnlen.c (__strnlen): Likewise.
7429         * string/test-memmem.c (simple_memmem): Likewise.
7430         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7431         * sunrpc/pm_getport.c (__get_socket): Likewise.
7432         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7433         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7434         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7435         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7436         Likewise.
7437         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7438         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7439         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7440         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7441         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7442         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7443         Likewise.
7444         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7445         Likewise.
7446         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7447         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7448         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7449         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7450         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7452         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7453         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7454         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7455         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7456         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7457         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7458         Likewise.
7459         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7460         Likewise.
7461         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7462         Likewise.
7463         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7464         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7465         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7466         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7467         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7468         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7469         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7470         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7471         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7472         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7473         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7474         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7475         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7476         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7478         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7479         Likewise.
7480         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7481         Likewise.
7482         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7483         Likewise.
7484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7485         Likewise.
7486         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7487         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7488         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7489         Likewise.
7490         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7491         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7492         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7493         * sysdeps/posix/sleep.c: Likewise.
7494         * sysdeps/posix/tempname.c: Likewise.
7495         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7496         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7497         Likewise.
7498         * sysdeps/powerpc/powerpc32/dl-machine.h
7499         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7500         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7501         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7502         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7503         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7504         Likewise.
7505         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7506         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7507         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7508         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7509         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7510         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7511         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7512         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7513         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7514         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7515         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7516         (elf_machine_lazy_rel): Likewise.
7517         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7518         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7519         (elf_machine_lazy_rel): Likewise.
7520         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7521         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7522         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7523         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7524         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7525         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7526         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7527         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7528         Likewise.
7529         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7530         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7531         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7532         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7533         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7534         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7535         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7536         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7537         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7538         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7539         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7540         Likewise.
7541         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7542         (__posix_fallocate64_l64): Likewise.
7543         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7544         (posix_fallocate): Likewise.
7545         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7546         Likewise.
7547         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7548         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7549         (getifaddrs_internal): Likewise.
7550         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7551         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7552         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7553         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7554         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7555         (__posix_fallocate64_l64): Likewise.
7556         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7557         Likewise.
7558         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7559         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7560         (__get_clockfreq): Likewise.
7561         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7562         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7563         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7566         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7567         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7568         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7569         Likewise.
7570         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7571         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7572         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7573         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7574         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7575         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7576         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7577         Likewise.
7578         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7579         (posix_fallocate): Likewise.
7580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7581         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7582         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7583         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7584         (elf_machine_rela, elf_machine_rela_relative)
7585         (elf_machine_lazy_rel): Likewise.
7586         * time/asctime.c (asctime_internal): Likewise.
7587         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7588         * time/tzset.c (__tzset_parse_tz): Likewise.
7589         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7590         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7591         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7592         * wcsmbs/wcsmbsload.h: Likewise.
7593
7594         [BZ #15894]
7595         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7596
7597         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7598         (arena_get2): Remove THREAD_STATS conditionals.
7599         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7600         (__malloc_stats, int): Likewise.
7601
7602 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7603
7604         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7605         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7606
7607         * manual/setjmp.texi: Fix typos/grammar errors.
7608
7609         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7610         Only return early when n is <= 0.  Delete unused return statement.
7611
7612         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7613         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7614         * debug/tst-longjmp_chk3.c: New file.
7615
7616         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7617         (test_main): Replace code with set_fortify_handler call.
7618         * debug/test-strcpy_chk.c: Likewise.
7619         * debug/tst-chk1.c: Likewise.
7620         * debug/tst-longjmp_chk.c: Likewise.
7621         * test-skeleton.c: Include fcntl.h & paths.h
7622         (set_fortify_handler): Define.
7623
7624         * debug/tst-longjmp_chk.c: Add header comment and include
7625         ../test-skeleton.c.
7626         (do_test): Mark static.
7627         (TEST_FUNCTION): Define.
7628
7629         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7630         (IP_PMTUDISC_INTERFACE): Likewise.
7631         (IP_MULTICAST_IF): Likewise.
7632         (IP_MULTICAST_TTL): Likewise.
7633         (IP_MULTICAST_LOOP): Likewise.
7634         (IP_ADD_MEMBERSHIP): Likewise.
7635         (IP_DROP_MEMBERSHIP): Likewise.
7636         (IP_UNBLOCK_SOURCE): Likewise.
7637         (IP_BLOCK_SOURCE): Likewise.
7638         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7639         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7640         (IP_MSFILTER): Likewise.
7641         (MCAST_JOIN_GROUP): Likewise.
7642         (MCAST_BLOCK_SOURCE): Likewise.
7643         (MCAST_UNBLOCK_SOURCE): Likewise.
7644         (MCAST_LEAVE_GROUP): Likewise.
7645         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7646         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7647         (MCAST_MSFILTER): Likewise.
7648         (IP_MULTICAST_ALL): Likewise.
7649         (IP_UNICAST_IF): Likewise.
7650
7651         * timezone/Makefile: Delete $(have-ksh) check.
7652         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7653         * timezone/tzselect.ksh: Add +x mode bits.
7654
7655         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7656         (ANON_INODE_FS_MAGIC): Likewise.
7657         (BDEVFS_MAGIC): Likewise.
7658         (BINFMTFS_MAGIC): Likewise.
7659         (BTRFS_TEST_MAGIC): Likewise.
7660         (CRAMFS_MAGIC_WEND): Likewise.
7661         (DEBUGFS_MAGIC): Likewise.
7662         (ECRYPTFS_SUPER_MAGIC): Likewise.
7663         (EXT3_SUPER_MAGIC): Likewise.
7664         (EXT4_SUPER_MAGIC): Likewise.
7665         (FUTEXFS_SUPER_MAGIC): Likewise.
7666         (HOSTFS_SUPER_MAGIC): Likewise.
7667         (HUGETLBFS_MAGIC): Likewise.
7668         (MINIX3_SUPER_MAGIC): Likewise.
7669         (MTD_INODE_FS_MAGIC): Likewise.
7670         (NILFS_SUPER_MAGIC): Likewise.
7671         (OPENPROM_SUPER_MAGIC): Likewise.
7672         (PIPEFS_MAGIC): Likewise.
7673         (PSTOREFS_MAGIC): Likewise.
7674         (QNX6_SUPER_MAGIC): Likewise.
7675         (RAMFS_MAGIC): Likewise.
7676         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7677         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7678         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7679         (SECURITYFS_MAGIC): Likewise.
7680         (SELINUX_MAGIC): Likewise.
7681         (SMACK_MAGIC): Likewise.
7682         (SOCKFS_MAGIC): Likewise.
7683         (SQUASHFS_MAGIC): Likewise.
7684         (STACK_END_MAGIC): Likewise.
7685         (TMPFS_MAGIC): Likewise.
7686         (USBDEVICE_SUPER_MAGIC): Likewise.
7687         (V9FS_MAGIC): Likewise.
7688         (XENFS_SUPER_MAGIC): Likewise.
7689         (CRAMFS_MAGIC): Fix typo in comment.
7690         (EXT2_SUPER_MAGIC): Update comment.
7691         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7692
7693 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7694
7695         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7696         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7697         * sysdeps/unix/sysv/linux/arm: Move directory from
7698         ports/sysdeps/unix/sysv/linux/arm.
7699         * README: Update listing for arm-*-linux-gnueabi.
7700
7701         * README: Remove mention of am33.
7702
7703 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7704
7705         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7706         than the comma operator, to avoid "rhs of comma has no effect"
7707         compiler warnings.
7708         (__sigfillset, __sigandset, __sigorset): Likewise.
7709         * include/signal.h (__sigemptyset): Likewise.
7710         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7711
7712 2014-02-07  Allan McRae  <allan@archlinux.org>
7713
7714         * version.h (RELEASE): Set to "development".
7715         (VERSION): Set to "2.19.90"
7716         * NEWS: Add 2.20 section.
7717
7718 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7719
7720         [BZ #16529]
7721         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7722
7723 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7724
7725         * manual/contrib.texi: Update entry for Carlos O'Donell,
7726         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7727
7728 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7729
7730         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7731
7732         * sysdeps/unix/sysv/linux/kernel-features.h
7733         [__LINUX_KERNEL_VERSION >= 0x020621]
7734         (__ASSUME_PROC_PID_TASK_COMM): Define.
7735
7736 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7737
7738         [BZ #16398]
7739         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7740         conversion when destination buffer does not have enough space.
7741         * libio/tst-ftell-partial-wide.c: New test case.
7742         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7743
7744         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7745         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7746         Leonard and Allan McRae.
7747
7748 2014-02-04  David S. Miller  <davem@davemloft.net>
7749
7750         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7751         32-bit.
7752
7753 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7754
7755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7756         New file
7757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7758         New file
7759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7760         New file.
7761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7762         New file.
7763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7764         New file.
7765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7766         New file.
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7768         New file.
7769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7770         New file.
7771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7772         New file.
7773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7774         New file.
7775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7776         New file.
7777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7778         New file.
7779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7780         New file.
7781
7782 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7783
7784         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7785         * shlib-versions: Likewise.
7786
7787 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7788             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7789
7790         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7791         (abilist-pattern): New variable, set to %-le.abilist.
7792
7793         * Makerules (abilist-pattern): New variable.
7794         (vpath): Use $(abilist-pattern) in place of %.abilist.
7795         (check-abi-% pattern rule): Likewise.
7796         (check-abi, update-abi): Likewise.
7797
7798 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7799
7800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7801
7802 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7803
7804         * manual/startup.texi: Add next, previous, and top entries for
7805         the `Program Arguments' and `Environment Variables' nodes.
7806
7807 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7808
7809         * manual/macros.texi: Add comments before MTASC-safety macros.
7810
7811         * manual/users.texi: Document MTASC-safety properties.
7812
7813         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7814         (pthread_getspecific, pthread_setspecific): Format with
7815         @deftypefun, and add @safety note.
7816         * manual/signal.texi: Move comments that analyze the above
7817         functions to their home place.
7818
7819 2014-02-03  Allan McRae  <allan@archlinux.org>
7820
7821         * po/sl.po: Update Slovenian translation from translation project.
7822
7823 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7824
7825         * manual/time.texi (timegm): Add missing blank after @c.
7826         Reported by Joseph Myers <joseph@codesourcery.com>.
7827
7828 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7829
7830         * manual/check-safety.sh: New.
7831         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7832
7833         * manual/terminal.texi: Document MTASC-safety properties.
7834
7835         * manual/filesys.texi: Document MTASC-safety properties.
7836
7837         * manual/errno.texi: Document MTASC-safety properties.
7838
7839         * manual/intro.texi: Document safety identifiers and
7840         conditionals.
7841
7842         * manual/string.texi (wcstok): Fix prototype.
7843         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7844
7845         * manual/time.texi: Document MTASC-safety properties.
7846
7847         * manual/string.texi: Document MTASC-safety properties.
7848
7849         * manual/threads.texi: Document MTASC-safety properties.
7850
7851         * manual/stdio.texi: Document MTASC-safety properties.
7852
7853         * manual/syslog.texi: Document MTASC-safety properties.
7854
7855         * manual/sysinfo.texi: Document MTASC-safety properties.
7856
7857         * manual/startup.texi: Document MTASC-safety properties.
7858
7859         * manual/socket.texi: Document MTASC-safety properties.
7860
7861         * manual/signal.texi: Document MTASC-safety properties.
7862
7863 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7864
7865         * manual/setjmp.texi: Document MTASC-safety properties.
7866
7867         * manual/search.texi: Document MTASC-safety properties.
7868
7869         * manual/resource.texi: Document MTASC-safety properties.
7870
7871         * manual/process.texi: Document MTASC-safety properties.
7872
7873         * manual/platform.texi: Document MTASC-safety properties.
7874
7875         * manual/pipe.texi: Document MTASC-safety properties.
7876
7877         * manual/pattern.texi: Document MTASC-safety properties.
7878
7879         * manual/message.texi: Document MTASC-safety properties.
7880
7881         [BZ #12751]
7882         * manual/memory.texi: Document MTASC-safety properties.
7883
7884         * manual/math.texi: Document MTASC-safety properties.
7885
7886         * manual/locale.texi: Document MTASC-safety properties.
7887
7888         * manual/llio.texi: Document MTASC-safety properties.
7889
7890         * manual/libdl.texi: New.
7891
7892         * manual/lang.texi: Document MTASC-safety properties.
7893
7894         * manual/job.texi: Document MTASC-safety properties.
7895
7896         * manual/getopt.texi: Document MTASC-safety properties.
7897
7898         * manual/ctype.texi: Document MTASC-safety properties.
7899
7900 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7901
7902         [BZ #16046]
7903         * csu/libc-tls.c (static_map): Remove variable.
7904         (__libc_setup_tls): Use main executable's link map for TLS data.
7905         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7906         casing for LM_ID_BASE and GL(dl_nns).
7907         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7908         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7909         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7910         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7911         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7912         member.
7913         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7914         l_phnum members.
7915
7916 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7917
7918         * manual/debug.texi: Document MTASC-safety properties.
7919
7920 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7921
7922         [BZ #16510]
7923         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7924         of __x86_64__ when disabling x87 inline functions.
7925
7926 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7927
7928         * manual/charset.texi: Document MTASC-safety properties.
7929
7930         * manual/crypt.texi: Document MTASC-safety properties.
7931
7932         * manual/conf.texi: Document MTASC-safety properties.
7933
7934         * manual/arith.texi: Document MTASC-safety properties.
7935
7936         * manual/argp.texi: Document MTASC-safety properties.
7937
7938         * manual/macros.texi: Introduce macros to document multi
7939         thread, asynchronous signal and asynchronous cancellation
7940         safety properties.
7941         * manual/intro.texi: Introduce the properties themselves.
7942
7943 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7944
7945         * sysdeps/sh/sh4/Makefile: New file.
7946
7947 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7948
7949         * math/gen-libm-test.pl ($srcdir): New variable.
7950         ($auto_input): Use it.
7951
7952 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7953
7954         [BZ #16506]
7955         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7956         access beyond array bounds when parsing netgroups file.
7957
7958         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7959         the old buffer before realloc.
7960
7961 2014-01-27  Allan McRae  <allan@archlinux.org>
7962
7963         * po/fr.po: Update French translation from translation project.
7964
7965 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7966
7967         * sysdeps/sh/libm-test-ulps: Regenerate.
7968
7969 2014-01-24  David S. Miller  <davem@davemloft.net>
7970
7971         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7972
7973 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7974
7975         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7976         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7977
7978 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7979
7980         [BZ #16474]
7981         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7982         string pointers after reallocation.
7983
7984 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7985
7986         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7987         __SH4A__ instead of __SH_FPU_ANY__.
7988
7989 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7990
7991         * sysdeps/sh/fpu_control.h: New file.
7992         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7993         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7994         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7995         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7996         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7997         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7998         * sysdeps/sh/sys/ucontext.h: Remove.
7999         * sysdeps/sh/sys: Remove directory.
8000
8001 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8002
8003         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8004         s390/sys/ucontext.h.
8005         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8006         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8007
8008 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8009
8010         [BZ #15605]
8011         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8012
8013 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8014
8015         [BZ#16431]
8016         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8017         Adjust the vDSO correctly for internal calls.
8018         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8019
8020 2014-01-20  Allan McRae  <allan@archlinux.org>
8021
8022         * po/ca.po: Update Catalan translation from translation project.
8023
8024 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8025
8026         * sysdeps/s390/sotruss-lib.c: New file.
8027
8028 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8029
8030         [BZ#16430]
8031         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8032         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8033         local calls issues by not having a PLT stub required for IFUNC calls.
8034         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8035
8036 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8037
8038         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8039         * math/test-fpucw-static.c: Likewise.
8040
8041 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8042
8043         [BZ #16453]
8044         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8045
8046 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8047
8048         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8049         implementation for powerpc.
8050
8051 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8052
8053         [BZ #14782]
8054         * sysdeps/posix/system.c (__libc_system): Do not enable
8055         asynchronous cancellation.
8056
8057 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8058
8059         [BZ #16427]
8060         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8061         handling only for numbers special also in the IEEE case.
8062
8063 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8064
8065         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8066
8067 2014-01-11  Allan McRae  <allan@archlinux.org>
8068
8069         * po/bg.po: Update Bulgarian translation from translation project.
8070
8071         * po/de.po: Update German translation from translation project.
8072
8073 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8074
8075         * sysdeps/generic/gcc-compat.h: New file.
8076
8077 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8078
8079         * benchtests/asin-inputs: Correct slow inputs.
8080         * benchtests/acos-inputs: Likewise.
8081
8082 2014-01-10  Allan McRae  <allan@archlinux.org>
8083
8084         * po:sv.po: Update Swedish translation from translation project.
8085
8086         * po/vi.po: Update Vietnamese translation from translation project.
8087
8088         * po/eo.po: Update Esperanto translation from translation project.
8089
8090         * po/cs.po: Update Czech translation from translation project.
8091
8092         * po/nl.po: Update Dutch translation from translation project.
8093
8094         * po/pl.po: Update Polish translation from translation project.
8095
8096         * po/ru.po: Update Russian translation from translation project.
8097
8098         * po/uk.po: Update Ukrainian translation from translation project.
8099
8100 2014-01-08  Brooks Moses  <bmoses@google.com>
8101
8102         * elf/dl-load.c: Fix comment typo.
8103
8104 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8105
8106         * po/header.pot: Rename to...
8107         * po/pot.header: ... this.
8108         * po/Makefile: Use pot.header.
8109
8110 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8111             Maxim Kuvyrkov  <maxim@kugelworks.com>
8112
8113         [BZ #16394]
8114         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8115         SRC and DEST against LEN.
8116
8117 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8118
8119         [BZ #16414]
8120         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8121         implementation.
8122         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8123
8124 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8125
8126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8127
8128 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8129
8130         [BZ #16408]
8131         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8132         for large positive arguments.
8133
8134 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8135
8136         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8137
8138         * math/auto-libm-test-in: Mark various tests with
8139         xfail-rounding:ldbl-128ibm.
8140         * math/auto-libm-test-out: Regenerated.
8141
8142         [BZ #16407]
8143         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8144         Increase overflow threshold.
8145
8146 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8147
8148         [BZ #14286]
8149         * stdio-common/vfprintf.c: Check for integer overflow.
8150
8151 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8152
8153         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8154         the first argument and return value of __tls_get_addr_internal.
8155
8156 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8157
8158         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8159         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8160
8161 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8162
8163         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8164         * sysdeps/s390/rtld-global-offsets.sym: New file.
8165         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8166         GLIBC_2.19 symbol.
8167         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8168         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8169         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8170         ... this.
8171         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8172         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8173         ... this.
8174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8175         Regenerate.
8176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8177         Regenerate.
8178         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8179         halfs of GPRs for high_gprs contexts.
8180         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8181         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8182         field.
8183         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8184         uc_flags field.
8185         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8186         64 bit versions:
8187         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8188         for high GPRs (uc_high_gprs) and for future extensions
8189         (__reserved).
8190         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8191         for future extensions (__reserved).
8192         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8193         64 bit versions:
8194         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8195         SC_HIGHGPRS offset definition.
8196         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8197         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8198
8199         * Versions.def: Add GLIBC_2.19 for libpthread.
8200         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8201         siglongjmp for libpthread with GLIBC_2.19 symver.
8202         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8203         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8204         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8205         * sysdeps/s390/__longjmp.c: New file.
8206         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8207         * sysdeps/s390/longjmp.c: New file.
8208         * sysdeps/s390/setjmp.S: New file.
8209         * sysdeps/s390/sigjmp.S: New file.
8210         * sysdeps/s390/v1-longjmp.c: New file.
8211         * sysdeps/s390/v1-setjmp.h: New file.
8212         * sysdeps/s390/v1-sigjmp.c: New file.
8213         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8214         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8215         GLIBC_2.19 version.
8216         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8217         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8218         versioned symbols for ____longjmp_chk.
8219         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8220         Likewise.
8221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8222         Regenerate.
8223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8224         Regenerate.
8225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8226         Regenerate.
8227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8228         Regenerate.
8229         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8230         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8231         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8232         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8233         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8234         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8235         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8236         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8237         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8238         * sysdeps/s390/rtld-__longjmp.c: New file.
8239         * sysdeps/s390/rtld-setjmp.S: New file.
8240
8241 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8242
8243         [BZ #16400]
8244         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8245         Return -__logl (x) for small positive arguments without evaluating
8246         a polynomial.
8247
8248 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8249
8250         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8251         Rename to ...
8252         (__ptrace_peeksiginfo_args): ... this.
8253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8254         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8256
8257 2014-01-06  Allan McRae  <allan@archlinux.org>
8258
8259         * inet/netinet/in.h: Fix typo in comment.
8260
8261 2014-01-05  Andreas Jaeger  <aj@suse.de>
8262
8263         * sysdeps/i386/fpu/libm-test-ulps: Update.
8264
8265 2014-01-05  Allan McRae  <allan@archlinux.org>
8266
8267         * po/libc.pot: Regenerated.
8268
8269         * malloc/memusagestat.c: Fix gettext call formatting.
8270
8271 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8272
8273         * nscd/nscd.c: Improve usage() output.
8274
8275 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8276
8277         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8278         * sysdeps/unix/sysv/linux/configure: Regenerated.
8279         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8280         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8281
8282 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8283
8284         [BZ #16390]
8285         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8286         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8287
8288 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8289
8290         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8291         extra tokens at end of #undef directive.
8292         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8293         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8294         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8295
8296 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8297
8298         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8299
8300         * math/auto-libm-test-in: Mark various tests with
8301         xfail-rounding:ldbl-128ibm.
8302         * math/auto-libm-test-out: Regenerated.
8303
8304 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8305
8306         [BZ #16386]
8307         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8308         numbers with subnormal high part when calculating exponent.
8309
8310         [BZ #16385]
8311         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8312         fabs.
8313
8314         [BZ #16384]
8315         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8316         M_LN2l.
8317         (__ieee754_acoshl): Use __log1pl not __log1p.
8318
8319 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8320
8321         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8322         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8323         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8324         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8325         (reused_arena, arena_get2): Convert to GNU style.
8326         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8327         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8328         (memalign_check, __malloc_set_state): Likewise.
8329         * malloc/mallocbug.c (main): Likewise.
8330         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8331         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8332         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8333         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8334         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8335         (__posix_memalign, malloc_info): Likewise.
8336         * malloc/malloc.h: Likewise.
8337         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8338         (mallochook, memalignhook, reallochook, mabort): Likewise.
8339         * malloc/mcheck.h: Likewise.
8340         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8341         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8342         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8343         * malloc/morecore.c (__default_morecore): Likewise.
8344         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8345         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8346         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8347         (print_and_abort): Likewise.
8348         * malloc/obstack.h: Likewise.
8349         * malloc/set-freeres.c (__libc_freeres): Likewise.
8350         * malloc/tst-mallocstate.c (main): Likewise.
8351         * malloc/tst-mtrace.c (main): Likewise.
8352         * malloc/tst-realloc.c (do_test): Likewise.
8353
8354 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8355
8356         [BZ #16366]
8357         * nscd/netgroupcache.c (do_notfound): New function.
8358         (addgetnetgrentX): Use it.
8359
8360         [BZ # 16365]
8361         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8362         NSS_STATUS_NOTFOUND.
8363
8364 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8365
8366         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8368
8369 2014-01-01  Allan McRae  <allan@archlinux.org>
8370
8371         * scripts/update-copyrights: Update configure input file suffix.
8372
8373         * NEWS: Update copyright year.
8374         * catgets/gencat.c: Likewise.
8375         * csu/version.c: Likewise.
8376         * debug/catchsegv.sh: Likewise.
8377         * debug/pcprofiledump.c: Likewise.
8378         * debug/xtrace.sh: Likewise.
8379         * elf/ldconfig.c: Likewise.
8380         * elf/ldd.bash.in: Likewise.
8381         * elf/pldd.c: Likewise.
8382         * elf/sotruss.ksh: Likewise.
8383         * elf/sprof.c: Likewise.
8384         * iconv/iconv_prog.c: Likewise.
8385         * iconv/iconvconfig.c: Likewise.
8386         * locale/programs/locale.c: Likewise.
8387         * locale/programs/localedef.c: Likewise.
8388         * login/programs/pt_chown.c: Likewise.
8389         * malloc/memusage.sh: Likewise.
8390         * malloc/memusagestat.c: Likewise.
8391         * malloc/mtrace.pl: Likewise.
8392         * manual/libc.texinfo: Likewise.
8393         * nscd/nscd.c: Likewise.
8394         * nss/getent.c: Likewise.
8395         * nss/makedb.c: Likewise.
8396         * posix/getconf.c: Likewise.
8397         * scripts/test-installation.pl: Likewise.
8398
8399         * All files with FSF copyright notices: Update copyright dates
8400         using scripts/update-copyrights.
8401         * intl/plural.c: Regenerated.
8402         * locale/programs/charmap-kw.h: Likewise.
8403         * locale/programs/locfile-kw.h: Likewise.
8404
8405 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8406
8407         * sysdeps/unix/sysv/linux/configure: Regenerated.
8408         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8409         the linux/fanotify.h header.
8410         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8411         HAVE_LINUX_FANOTIFY_H is defined.
8412
8413 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8414
8415         * benchtests/cos-inputs: New inputs.
8416         * benchtests/sin-inputs: Likewise.
8417
8418         * benchtests/atan-inputs: New inputs. Fix name of multiple
8419         precision fallback inputs.
8420
8421         * benchtests/atanh-inputs: New inputs.
8422         * benchtests/tanh-inputs: Likewise.
8423
8424         * benchtests/acosh-inputs: New inputs.
8425         * benchtests/asinh-inputs: Likewise.
8426
8427         * benchtests/cosh-inputs: New inputs.
8428         * benchtests/sinh-inputs: Likewise.
8429
8430         * benchtests/acos-inputs: Add more inputs.
8431         * benchtests/asin-inputs: Likewise.
8432
8433 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8434
8435         [BZ #16375]
8436         * manual/arith.texi: Fix spelling.
8437         * manual/charset.texi: Likewise.
8438         * manual/errno.texi: Likewise.
8439         * manual/filesys.texi: Likewise.
8440         * manual/lang.texi: Likewise.
8441         * manual/llio.texi: Likewise.
8442         * manual/locale.texi: Likewise.
8443         * manual/message.texi: Likewise.
8444         * manual/resource.texi: Likewise.
8445         * manual/search.texi: Likewise.
8446         * manual/setjmp.texi: Likewise.
8447         * manual/stdio.texi: Likewise.
8448         * manual/string.texi: Likewise.
8449         * manual/sysinfo.texi: Likewise.
8450         * manual/time.texi: Likewise.
8451
8452 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8453
8454         * po/sl.po: New file.
8455
8456 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8457
8458         * .gitignore: Add core/.gdbinit/.gdb_history.
8459
8460 2013-12-27  Allan McRae  <allan@archlinux.org>
8461
8462         [BZ #16369]
8463         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8464         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8465
8466 2013-12-24  Brooks Moses  <bmoses@google.com>
8467
8468         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8469         all compilers that claim C++98 compliance, not just GCC.
8470         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8471         Likewise.
8472
8473 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8474
8475         * NEWS: Restore accidentally deleted bug-fix entries.
8476
8477 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8478             Ondřej Bílka  <neleai@seznam.cz>
8479
8480         [BZ #15073]
8481         * malloc/malloc.c (_int_free): Perform sanity check only if we
8482         have_lock.
8483
8484 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8485
8486         [BZ #12986]
8487         * manual/stdio.texi (String Input Conversions): Clarify that character
8488         classes are not supported.
8489
8490 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8491
8492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8493
8494 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8495
8496         [BZ #16337]
8497         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8498         Calculate results for small negative arguments directly rather
8499         than using reflection formula with special underflow handling.
8500
8501         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8502         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8503         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8504         (fchflags): Likewise.
8505         (revoke): Likewise.
8506         (setlogin): Likewise.
8507         (sigaltstack): Likewise.
8508         (wait4): Likewise.
8509         (sigblock): Remove.
8510         (sigsetmask): Likewise.
8511         (wait3): Likewise.
8512         (waitpid): Likewise.
8513         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8514         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8515         file.
8516         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8517         * sysdeps/unix/bsd/Makefile: ... here.
8518         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8519         * sysdeps/unix/bsd/Versions: ... here.
8520         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8521         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8522         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8523         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8524         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8525         * sysdeps/unix/bsd/sigblock.c: ... here.
8526         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8527         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8528         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8529         * sysdeps/unix/bsd/sigvec.c: ... here.
8530         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8531         * sysdeps/unix/bsd/tcdrain.c: ... here.
8532         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8533         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8534         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8535         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8536         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8537         * sysdeps/unix/bsd/wait.c: ... here.
8538         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8539         * sysdeps/unix/bsd/wait3.c: ... here.
8540         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8541         * sysdeps/unix/bsd/waitpid.c: ... here.
8542
8543 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8544
8545         [BZ #16356]
8546         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8547         round-to-nearest for [!USE_AS_EXPM1L].
8548         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8549         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8550         more tests of exp and exp10.  Expect some exp10 tests to miss
8551         exceptions or fail in directed rounding modes.
8552         * math/auto-libm-test-out: Regenerated.
8553         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8554         (exp10_test_tonearest): New function.
8555         (exp10_towardzero_test_data): New array.
8556         (exp10_test_towardzero): New function.
8557         (exp10_downward_test_data): New array.
8558         (exp10_test_downward): New function.
8559         (exp10_upward_test_data): New array.
8560         (exp10_test_upward): New function.
8561         (main): Call the new functions.
8562         * sysdeps/i386/fpu/libm-test-ulps: Update.
8563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8564
8565 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8566
8567         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8568         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8569         * math/auto-libm-test-out: Regenerated.
8570         * math/libm-test.inc (acosh_test_data): Add more tests.
8571         (atanh_test_data): Likewise.
8572         (ceil_test_data): Likewise.
8573         (copysign_test_data): Likewise.
8574         * sysdeps/i386/fpu/libm-test-ulps: Update.
8575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8576
8577         * timezone/checktab.awk: Update from tzcode 2013i.
8578         * timezone/private.h: Likewise.
8579         * timezone/scheck.c: Likewise.
8580         * timezone/tzfile.h: Likewise.
8581         * timezone/tzselect.ksh: Likewise.
8582         * timezone/zdump.c: Likewise.
8583         * timezone/zic.c: Likewise.
8584
8585         * math/auto-libm-test-in: Add tests of cpow.
8586         * math/auto-libm-test-out: Regenerated.
8587         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8588         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8589         mpc_cc_c.
8590         (func_calc_desc): Add mpc_cc_c union field.
8591         (test_functions): Add cpow.
8592         (special_fill_2pi): New function.
8593         (special_real_inputs): Add 2pi.
8594         (calc_generic_results): Handle mpc_cc_c.
8595         * sysdeps/i386/fpu/libm-test-ulps: Update.
8596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8597
8598         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8599         csqrt, ctan and ctanh.
8600         * math/auto-libm-test-out: Regenerated.
8601         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8602         (TEST_COND_x86): Likewise.
8603         (ccos_test_data): Use AUTO_TESTS_c_c.
8604         (ccosh_test_data): Likewise.
8605         (cexp_test_data): Likewise.
8606         (clog_test_data): Likewise.
8607         (csqrt_test_data): Likewise.
8608         (ctan_test_data): Likewise.
8609         (ctan_tonearest_test_data): Likewise.
8610         (ctan_towardzero_test_data): Likewise.
8611         (ctan_downward_test_data): Likewise.
8612         (ctan_upward_test_data): Likewise.
8613         (ctanh_test_data): Likewise.
8614         (ctanh_tonearest_test_data): Likewise.
8615         (ctanh_towardzero_test_data): Likewise.
8616         (ctanh_downward_test_data): Likewise.
8617         (ctanh_upward_test_data): Likewise.
8618         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8619         mpc_c_c.
8620         (func_calc_desc): Add mpc_c_c union field.
8621         (FUNC_mpc_c_c): New macro.
8622         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8623         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8624         ctanh.
8625         (special_fill_min_subnorm_p120): New function.
8626         (special_real_inputs): Add min_subnorm_p120.
8627         (calc_generic_results): Handle mpc_c_c.
8628         * sysdeps/i386/fpu/libm-test-ulps: Update.
8629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8630
8631 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8632
8633         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8634         (do_sin_slow): New functions.
8635         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8636         (cslow2, csloww1, csloww2): Use the new functions.
8637
8638         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8639         Use M to change sign of result instead of X.  Assume X is
8640         positive.
8641         (csloww1): Likewise.
8642         (__sin): Adjust.
8643         (__cos): Adjust.
8644
8645         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8646         arguments A and DA.
8647         (__sin): Adjust.
8648         (__cos): Likewise.
8649
8650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8651         (__cos): Likewise.
8652         (sloww1): Don't adjust sign of DX.
8653         (csloww1): Likewise.
8654         (sloww2): Use X directly and don't adjust sign of DX.
8655         (csloww2): Likewise.
8656
8657 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8658
8659         * math/auto-libm-test-in: Add tests of cabs and carg.
8660         * math/auto-libm-test-out: Regenerated.
8661         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8662         (carg_test_data): Likewise.
8663         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8664         mpc_c_f.
8665         (func_calc_desc): Add mpc_c_f union field.
8666         (test_functions): Add cabs and carg.
8667         (calc_generic_results): Handle mpc_c_f.
8668
8669         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8670         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8671         as a macro and a compat symbol.
8672         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8673         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8674         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8675         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8676         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8677         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8678         not use .hidden.
8679         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8680         Likewise.
8681         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8682         Likewise.
8683         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8684         Likewise.
8685         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8686         Likewise.
8687         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8688         Likewise.
8689         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8690         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8691         from GLIBC_2.3.2.
8692
8693 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8694
8695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8696
8697 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8698
8699         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8700         trailing whitespace removed.
8701         * scripts/config.guess: Update to version 2013-11-29.
8702         * scripts/config.sub: Update to version 2013-10-01.
8703
8704         * math/auto-libm-test-in: Add tests of sincos.
8705         * math/auto-libm-test-out: Regenerated.
8706         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8708         mpfr_f_11.
8709         (func_calc_desc): Add mpfr_f_11 union field.
8710         (test_functions): Add sincos.
8711         (calc_generic_results): Handle mpfr_f_11.
8712         * sysdeps/i386/fpu/libm-test-ulps: Update.
8713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8714
8715 2013-12-19  Andreas Schwab  <schwab@suse.de>
8716
8717         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8718         CALL_MCOUNT.
8719         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8720         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8721         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8722
8723 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8724
8725         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8726         * sysdeps/i386/fpu/libm-test-ulps: Update.
8727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8728
8729         [BZ #16293]
8730         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8731         round-to-nearest mode when using frndint.
8732         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8733         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8734         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8735         Likewise.
8736         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8737         sinh test to fail.
8738         * math/auto-libm-test-out: Regenerated.
8739         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8740         (TEST_COND_x86): Likewise.
8741         (expm1_tonearest_test_data): New array.
8742         (expm1_test_tonearest): New function.
8743         (expm1_towardzero_test_data): New array.
8744         (expm1_test_towardzero): New function.
8745         (expm1_downward_test_data): New array.
8746         (expm1_test_downward): New function.
8747         (expm1_upward_test_data): New array.
8748         (expm1_test_upward): New function.
8749         (main): Run the new test functions.
8750         * sysdeps/i386/fpu/libm-test-ulps: Update.
8751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8752
8753         * include/features.h: Update comment documenting feature test
8754         macros.  Mention _DEFAULT_SOURCE in comment.
8755         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8756         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8757         _BSD_SOURCE and _SVID_SOURCE.
8758         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8759         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8760         !_SVID_SOURCE]: Likewise.
8761         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8762         (__USE_POSIX_IMPLICITLY): Define.
8763         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8764         (_POSIX_SOURCE): Undefine and redefine.
8765         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8766         (_POSIX_C_SOURCE): Likewise.
8767         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8768         (Feature Test Macros): Update documentation of default features.
8769
8770 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8771
8772         * benchtests/Makefile: Add bench-strtok.
8773         * benchtests/bench-strtok.c: New file: strtok benchtest.
8774
8775 2013-12-19  Allan McRae  <allan@archlinux.org>
8776
8777         * manual/install.texi: Suppress menu for plain text output.
8778         * INSTALL: Regenerated.
8779
8780 2013-12-18  Brooks Moses  <bmoses@google.com>
8781
8782         [BZ #15846]
8783         * misc/getauxval.c: Include errno.h.
8784         (__getauxval): Set errno to ENOENT if the requested type is not
8785         found.
8786         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8787         don't declare with __attribute_const__.
8788         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8789         * manual/startup.texi: Document that getauxval sets errno.
8790
8791 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8792
8793         * math/auto-libm-test-in: Add tests of jn and yn.
8794         * math/auto-libm-test-out: Regenerated.
8795         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8796         (yn_test_data): Likewise.
8797         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8798         mpfr_if_f.
8799         (func_calc_desc): Add mpfr_if_f union field.
8800         (FUNC_mpfr_if_f): New macro.
8801         (test_functions): Add jn and yn.
8802         (calc_generic_results): Assert type of second input for
8803         mpfr_ff_f.  Handle mpfr_if_f.
8804         (output_for_one_input_case): Disable all checking for arguments
8805         fitting floating-point types in case of an integer argument.
8806         * sysdeps/i386/fpu/libm-test-ulps: Update.
8807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8808
8809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8810         Don't expect fegetround reference in libm.so.
8811
8812 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8813
8814         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8815         $(config-cflags-nofma).
8816
8817 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8818
8819         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8820         * math/auto-libm-test-out: Regenerated.
8821
8822         [BZ #16338]
8823         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8824         to determine exponent and adjust argument to have exponent of -1.
8825         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8826         log2.
8827         * math/auto-libm-test-out: Regenerated.
8828         * sysdeps/i386/fpu/libm-test-ulps: Update.
8829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8830
8831 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8832
8833         * manual/probes.texi: Remove cases when per-thread arenas are
8834         disabled.
8835
8836 2013-12-18  Andreas Schwab  <schwab@suse.de>
8837
8838         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8839         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8840         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8841         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8842         * sysdeps/i386/i686/multiarch/Makefile: Update.
8843         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8844
8845 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8846
8847         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8848         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8849
8850 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8851
8852         [BZ #15968]
8853         Support TZ transition times < 00:00:00.
8854         This is needed for version-3 tz-format files; it supports time
8855         stamps past 2037 for America/Godthab (the only entry in the tz
8856         database for which this change is relevant).
8857         * manual/time.texi (TZ Variable): Document transition times
8858         from -167:59:59 through -00:00:01.
8859         * time/tzset.c (tz_rule): Time of day is now signed.
8860         (__tzset_parse_tz): Parse negative time of day.
8861
8862         Document TZ transition times >= 25:00:00.
8863         * manual/time.texi (TZ Variable): Document transition times from
8864         25:00:00 through 167:59:59.  These are already supported, and this
8865         support will help with version-3 tz-format files.
8866
8867         * manual/time.texi (TZ Variable): Modernize North America example
8868         to reflect current (i.e., 2007-and-later) daylight saving rules.
8869
8870         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8871
8872 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8873
8874         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8875         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8877         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8878         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8879         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8880         * sysdeps/unix/bsd/clock.c: Likewise.
8881         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8882         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8883         * sysdeps/unix/bsd/init-posix.c: Likewise.
8884         * sysdeps/unix/bsd/poll.c: Likewise.
8885         * sysdeps/unix/bsd/ptsname.c: Likewise.
8886         * sysdeps/unix/bsd/seekdir.c: Likewise.
8887         * sysdeps/unix/bsd/setegid.c: Likewise.
8888         * sysdeps/unix/bsd/seteuid.c: Likewise.
8889         * sysdeps/unix/bsd/setgid.c: Likewise.
8890         * sysdeps/unix/bsd/setrgid.c: Likewise.
8891         * sysdeps/unix/bsd/setruid.c: Likewise.
8892         * sysdeps/unix/bsd/setsid.c: Likewise.
8893         * sysdeps/unix/bsd/setuid.c: Likewise.
8894         * sysdeps/unix/bsd/sigaction.c: Likewise.
8895         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8896         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8897         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8898         * sysdeps/unix/bsd/telldir.c: Likewise.
8899         * sysdeps/unix/bsd/times.c: Likewise.
8900         * sysdeps/unix/bsd/usleep.c: Likewise.
8901
8902         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8903         ($(objpfx)libbsd-compat.a): Remove rule.
8904
8905         * include/features.h (__FAVOR_BSD): Do not define.
8906         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8907         features conflicting with POSIX.
8908         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8909         (_BSD_SOURCE): Remove description of not being a subset of other
8910         feature test macros.
8911         * manual/job.texi (getpgrp): Do not document BSD version.
8912         (getpgid): Do not document by reference to BSD getpgrp.
8913         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8914         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8915         * signal/signal.h [__FAVOR_BSD]: Likewise.
8916         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8917         instead of making contents conditional on [__FAVOR_BSD].
8918         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8919
8920 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8921
8922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8923
8924 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8925
8926         [BZ #16314]
8927         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8928         values below 2**-450, not 2**-500.
8929         * math/auto-libm-test-in: Don't allow spurious underflow from
8930         hypot.
8931         * math/auto-libm-test-out: Regenerated.
8932
8933         [BZ #16316]
8934         [BZ #16330]
8935         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8936         values of ha and hb and sort them after adjusting subnormal
8937         arguments.
8938         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8939         Likewise.
8940         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8941         values of ea and eb and sort them after adjusting subnormal
8942         arguments.
8943         * math/auto-libm-test-in: Do not expect some hypot tests of
8944         subnormals to fail.  Add more hypot tests.
8945         * math/auto-libm-test-out: Regenerated.
8946
8947 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8948
8949         [BZ #13304]
8950         * sysdeps/sh/s_fma.c: New file.
8951         * sysdeps/sh/s_fmaf.c: New file.
8952         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8953         version.
8954         * sysdeps/sh/Implies: Add sh/soft-fp.
8955
8956 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8957
8958         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8959         level of indirection to members `objname', `errstring', `malloced'.
8960         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8961         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8962         it as the __longjmp argument (just pass 1 instead).
8963         (_dl_catch_error): Initialize C with argument pointers and address of
8964         volatile local ERRCODE rather than copying values out of C at return.
8965
8966 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8967
8968         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8969         * math/auto-libm-test-out: Regenerated.
8970         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8971         (hypot_test_data): Likewise.
8972         (pow_test_data): Likewise.
8973         (pow_tonearest_test_data): Likewise.
8974         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8975         mpfr_ff_f.
8976         (func_calc_desc): Add mpfr_ff_f union field.
8977         (FUNC_mpfr_ff_f): New macro.
8978         (test_functions): Add atan2, hypot and pow.
8979         (special_fill_min): New function.
8980         (special_fill_minus_min): Likewise.
8981         (special_fill_min_subnorm): Likewise.
8982         (special_fill_minus_min_subnorm): Likewise.
8983         (special_real_inputs): Add min, -min, min_subnorm and
8984         -min_subnorm.
8985         (calc_generic_results): Handle mpfr_ff_f.
8986         * sysdeps/i386/fpu/libm-test-ulps: Update.
8987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988
8989 2013-12-16  Will Newton  <will.newton@linaro.org>
8990
8991         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8992         (Aligned Memory Blocks): Add documentation for aligned_alloc
8993         and suggest it as an alternative to posix_memalign.
8994         (Hooks for Malloc): Document __memalign_hook is also called
8995         for aligned_alloc.  (Summary of Malloc): Add summary for
8996         aligned alloc.  Document __memalign_hook is also called
8997         for aligned_alloc.
8998
8999 2013-12-16  Will Newton  <will.newton@linaro.org>
9000
9001         * manual/memory.texi (Malloc Examples): Clarify default
9002         alignment documentation.  Suggest posix_memalign rather
9003         than memalign or valloc.
9004         (Aligned Memory Blocks): Remove suggestion to use memalign
9005         or valloc.  Remove obsolete comment about BSD.
9006         Document memalign errno values and mark the function obsolete.
9007         Document posix_memalign returned error codes.  Mark valloc
9008         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9009         called for posix_memalign and valloc.
9010         (Summary of Malloc): Add posix_memalign to function summary.
9011         __memalign_hook is also called for posix_memalign and valloc.
9012
9013 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9014
9015         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9016         TAYLOR_SIN.
9017         (__sin): Adjust.
9018         (__cos): Likewise.
9019         (sloww): Use mynumber union.  Expand ternary operator into
9020         if-else statements.
9021         (cslow): use mynumber union.
9022
9023 2013-12-16  Allan McRae  <allan@archlinux.org>
9024
9025         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9026         * configure: Regenerated.
9027
9028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9029
9030         [BZ #14120]
9031         * configure.ac: Added --enable-maintainer-mode. Check for
9032         autoconf when enabled.
9033         * configure: Regenerated.
9034
9035         * nscd/nscd.service: New file.
9036         * nscd/nscd.tmpfiles: New file.
9037
9038 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9039
9040         [BZ #12100]
9041         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9042         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9043         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9044         (strstr): Add __strstr_sse2_unaligned ifunc.
9045         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9046         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9047         (strcasestr): Remove __strcasestr_sse42 ifunc.
9048         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9051
9052 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9053
9054         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9055         * sysdeps/sh/bits/fenv.h: ... here.
9056         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9057
9058 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9059
9060         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9061
9062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9063         hypotf multiarch implementations.
9064         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9065         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9066         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9067         multiarch hypot for PPC64.
9068         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9069         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9070         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9071         multiarch hypotf for PPC64.
9072
9073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9074         modff multiarch implementations.
9075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9078         multiarch modf for PPC64.
9079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9082         multiarch modff for PPC64.
9083
9084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9085         and logl multiarch implementations.
9086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9089         multiarch logb for PPC64.
9090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9093         multiarch logb for PPC64.
9094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9097         multiarch logb for PPC64.
9098
9099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9100         isinff multiarch implementation.
9101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9102         file.
9103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9105         multiarch isinf for PPC64.
9106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9107         file.
9108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9109         multiarch isinff for PPC64.
9110
9111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9112         finitef multiarch implementation.
9113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9114         file.
9115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9117         multiarch finite for PPC64.
9118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9119         file.
9120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9121         multiarch finitef for PPC64.
9122
9123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9124         lrint multiarch implementation.
9125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9126         file.
9127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9129         multiarch llrint for PPC64.
9130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9131         multiarch lrint for PPC64.
9132
9133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9134         copysignf multiarch implementation.
9135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9136         file.
9137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9138         file.
9139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9140         multiarch copysign for PPC64.
9141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9142         multiarch copysignf for PPC64.
9143
9144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9145         multiarch implementation.
9146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9147         file.
9148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9149         file.
9150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9151         file.
9152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9153         file.
9154         multiarch llround for PPC64.
9155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9156         multiarch trunc for PPC64.
9157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9158         multiarch truncf for PPC64.
9159
9160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9161         multiarch implementation.
9162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9163         file.
9164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9165         file.
9166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9167         file.
9168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9169         file.
9170         multiarch llround for PPC64.
9171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9172         multiarch round for PPC64.
9173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9174         multiarch roundf for PPC64.
9175
9176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9177         multiarch implementation.
9178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9179         file.
9180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9181         file.
9182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9183         file.
9184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9185         file.
9186         multiarch llround for PPC64.
9187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9188         multiarch floor for PPC64.
9189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9190         multiarch floorf for PPC64.
9191
9192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9193         multiarch implementation.
9194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9195         file.
9196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9197         file.
9198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9199         file.
9200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9201         file.
9202         multiarch llround for PPC64.
9203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9204         multiarch ceil for PPC64.
9205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9206         multiarch ceilf for PPC64.
9207
9208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9209         multiarch implementation.
9210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9211         file.
9212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9213         file.
9214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9215         file.
9216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9217         multiarch llround for PPC64.
9218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9219         multiarch lround for PPC64.
9220
9221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9222         multiarch implementation.
9223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9226         file.
9227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9230         multiarch isnan for PPC64.
9231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9232         multiarch isnanf for PPC64.
9233
9234         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9235         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9236         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9237         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9238         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9240
9241         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9242         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9243         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9244         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9245
9246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9247         multiarch implementations.
9248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9249         (__libc_ifunc_impl_list): Likewise.
9250         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9251         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9252         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9253         multiarch stpcpy for PPC64.
9254
9255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9256         multiarch implementations.
9257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9258         (__libc_ifunc_impl_list): Likewise.
9259         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9260         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9261         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9262         multiarch strcpy for PPC64.
9263
9264         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9265         redefine function name.
9266         (_wordcopy_fwd_dest_aligned): Likewise.
9267         (_wordcopy_bwd_aligned): Likewise.
9268         (_wordcopy_bwd_dest_aligned): Likewise.
9269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9270         multiarch implementations.
9271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9272         (__libc_ifunc_impl_list): Likewise.
9273         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9274         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9275         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9276         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9277         multiarch wcscpy for PPC64.
9278
9279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9280         multiarch implementations.
9281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9282         (__libc_ifunc_impl_list): Likewise.
9283         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9284         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9285         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9286         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9287         multiarch wcscpy for PPC64.
9288
9289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9290         multiarch implementations.
9291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9292         (__libc_ifunc_impl_list): Likewise.
9293         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9294         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9295         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9296         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9297         multiarch wcsrchr for PPC64.
9298
9299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9300         multiarch implementations.
9301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9302         (__libc_ifunc_impl_list): Likewise.
9303         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9304         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9305         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9306         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9307         multiarch wcschr for PPC64.
9308
9309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9310         multiarch implementations.
9311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9312         (__libc_ifunc_impl_list): Likewise.
9313         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9314         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9315         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9316         multiarch strchrnul for PPC64.
9317
9318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9319         implementations.
9320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9321         (__libc_ifunc_impl_list): Likewise.
9322         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9323         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9324         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9325         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9326         strchr for PPC64.
9327
9328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9329         implementations.
9330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9331         (__libc_ifunc_impl_list): Likewise.
9332         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9333         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9334         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9335         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9336         strncmp for PPC64.
9337
9338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9339         multiarch implementations.
9340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9341         (__libc_ifunc_impl_list): Likewise.
9342         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9343         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9344         strncasecmp for PPC64.
9345         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9346         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9347         multiarch strncasecmp_l for PPC64.
9348
9349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9350         multiarch implementations.
9351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9352         (__libc_ifunc_impl_list): Likewise.
9353         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9354         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9355         multiarch strcasecmp for PPC64.
9356         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9357         file.
9358         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9359         multiarch strcasecmp_l for PPC64.
9360
9361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9362         implementations.
9363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9364         (__libc_ifunc_impl_list): Likewise.
9365         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9366         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9367         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9368         strnlen for PPC64.
9369
9370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9371         implementations.
9372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9373         (__libc_ifunc_impl_list): Likewise.
9374         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9375         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9376         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9377         strlen for PPC64.
9378
9379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9380         implementations.
9381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9382         (__libc_ifunc_impl_list): Likewise.
9383         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9384         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9385         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9386         rawmemrchr for PPC64.
9387
9388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9389         implementation.
9390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9391         (__libc_ifunc_impl_list): Likewise.
9392         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9393         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9394         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9395         memrchr for PPC64.
9396
9397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9398         implementation.
9399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9400         (__libc_ifunc_impl_list): Likewise.
9401         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9402         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9403         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9404         memchr for PPC64.
9405
9406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9407         implementation.
9408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9409         (__libc_ifunc_impl_list): Likewise.
9410         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9411         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9412         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9413         mempcpy for PPC64.
9414
9415         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9416         avoid cretion of __bzero symbol.
9417         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9418         Likewise.
9419         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9420         Likewise.
9421         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9422         Likewise.
9423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9424         multiarch implementations.
9425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9426         (__libc_ifunc_impl_list): Likewise.
9427         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9428         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9429         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9430         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9431         bzero for PPC32.
9432         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9433         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9434         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9435         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9436         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9437         memset for PPC64.
9438         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9439
9440         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9442         implementations.
9443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9444         (__libc_ifunc_impl_list): Likewise.
9445         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9446         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9447         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9448         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9449         memcmp for PPC64.
9450
9451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9452         multiarch for POWER/PPC64.
9453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9454         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9455         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9456         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9457         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9458         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9459         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9460         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9461         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9462         memcpy for PPC64.
9463
9464         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9465         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9466         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9467         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9468         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9469         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9470         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9471         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9472         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9473         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9474         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9475         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9476         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9477         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9478         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9486
9487 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9488
9489         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9490
9491 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9492
9493         * benchtests/Makefile (bench): Add exp2 and log2.
9494         (LDLIBS-bench-exp2): Add -lm.
9495         (LDLIBS-bench-log2): Likewise.
9496         * benchtests/exp2-inputs: New inputs file.
9497         * benchtests/log2-inputs: New inputs file.
9498         * benchtests/log-inputs: Add new inputs.
9499         * benchtests/tan-inputs: Likewise.
9500
9501 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9502
9503         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9504         definition...
9505         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9506         (csloww2): ... from here.
9507
9508         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9509         instead of structures.
9510         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9511         (POLYNOMIAL): Likewise.
9512         (TAYLOR_SLOW): Likewise.
9513         (__sin): Likewise.
9514         (__cos): Likewise.
9515         (slow1): Likewise.
9516         (slow2): Likewise.
9517         (sloww): Likewise.
9518         (sloww1); Likewise.
9519         (sloww2): Likewise.
9520         (bsloww1): Likewise.
9521         (bsloww2): Likewise.
9522         (cslow2): Likewise.
9523         (csloww): Likewise.
9524         (csloww1): Likewise.
9525         (csloww2): Likewise.
9526
9527 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9528
9529         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9530         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9531         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9532         * malloc/hooks.c (realloc_check): Likewise.
9533
9534         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9535         * malloc/arena.c: Remove PER_THREAD conditional.
9536         [!PER_THREAD]: Remove code.
9537         (ptmalloc_unlock_all2): Likewise.
9538         (ptmalloc_init): Likewise.
9539         (_int_new_arena): Likewise.
9540         (arena_get2): Likewise.
9541         * malloc/hooks.c (__malloc_get_state): Likewise.
9542         (__malloc_set_state): Likewise.
9543         * malloc/malloc.c: Likewise.
9544         (struct malloc_state): Likewise.
9545         (struct malloc_par): Likewise.
9546         (__libc_realloc): Likewise.
9547         (__libc_mallopt): Likewise.
9548
9549 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9550
9551         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9552
9553 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9554
9555         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9556         macro to a function.  Check for zero perturb_byte.
9557         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9558
9559         * malloc/malloc.c: (force_reg): Remove.
9560         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9561         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9562         force_reg by atomic_forced_read.
9563         * malloc/arena.c (ptmalloc_init): Likewise.
9564         * malloc/hooks.c (top_check): Likewise.
9565
9566 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9567
9568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9569
9570 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9571
9572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9573
9574 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9575
9576         * math/auto-libm-test-in: Add tests of lgamma.
9577         * math/auto-libm-test-out: Regenerated.
9578         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9579         (M_LOG_2_SQRT_PIl): Likewise.
9580         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9581         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9582         mpfr_f_f1.
9583         (func_calc_desc): Add mpfr_f_f1 union field.
9584         (ARGS1): New macro.
9585         (ARGS2): Likewise.
9586         (ARGS3): Likewise.
9587         (ARGS4): Likewise.
9588         (RET1): Likewise.
9589         (RET2): Likewise.
9590         (CALC): Likewise.
9591         (FUNC): Likewise.
9592         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9593         (test_functions): Add lgamma.
9594         (calc_generic_results): Handle mpfr_f_f1.
9595         * sysdeps/i386/fpu/libm-test-ulps: Update.
9596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9597
9598 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9599
9600         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9601         __mpn_add_n for PowerPC64/POWER7.
9602         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9603         __mpn_sub_n for PowerPC64/POWER7.
9604
9605         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9606         __mpn_addmul_1 for PowerPC64.
9607         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9608         __mpn_submul_1 for PowerPC64.
9609         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9610         for PowerPC64.
9611         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9612         for PowerPC64.
9613
9614 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9615
9616         [BZ #15089]
9617         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9618
9619 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9620
9621         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9622
9623         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9624         add multiarch folders.
9625         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9626         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9627         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9628         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9629         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9630         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9631         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9632         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9633         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9634         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9635         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9642
9643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9644         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9646         New file.
9647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9648         New file.
9649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9650         multiarch __ieee754_hypot for PowerPC32.
9651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9652         New file.
9653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9654         New file.
9655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9656         multiarch __ieee754_hypotf for PowerPC32.
9657
9658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9659         long_double_symbol only if __logbl is defined.
9660         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9661         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9663         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9665         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9666         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9667         path for implementation.
9668         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9669         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9671         logb, and logbl multiarch implementations for PowerPC32.
9672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9673         file.
9674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9675         file.
9676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9677         multiarch logb for PowerPC32.
9678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9679         file.
9680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9681         file.
9682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9683         multiarch logbf for PowerPC32.
9684         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9686         file.
9687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9688         multiarch logbl implementation for PowerPC32.
9689
9690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9691         and modff multiarch implementations.
9692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9693         New file.
9694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9695         New file.
9696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9697         multiarch modf for PowerPC32.
9698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9699         New file.
9700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9701         New file.
9702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9703         multiarch modff for PowerPC32.
9704
9705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9706         and lrintf multiarch implementations.
9707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9708         New file.
9709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9710         New file.
9711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9712         multiarch lrint for PowerPC32.
9713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9714         file: multiarch lrintf for PowerPC32.
9715
9716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9717         and lroundf multiarch implementations.
9718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9719         New file.
9720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9721         New file.
9722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9723         New file.
9724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9725         multiarch lround for PowerPC32.
9726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9727         file: multiarch lroundf for PowerPC32.
9728
9729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9730         copysign and copysignf multiarch implementations.
9731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9732         New file.
9733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9734         New file.
9735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9736         file: multiarch copysign for PowerPC32.
9737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9738         file: multiarch copysignf for PowerPC32.
9739
9740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9741         and truncf multiarch implementations.
9742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9743         New file.
9744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9745         file.
9746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9747         multiarch trunc for PowerPC32.
9748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9749         New file.
9750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9751         New file.
9752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9753         multiarch truncf for PowerPC32.
9754
9755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9756         and roundf multiarch implementations.
9757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9758         New file.
9759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9760         file.
9761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9762         multiarch round for PowerPC32.
9763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9764         New file.
9765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9766         New file.
9767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9768         multiarch roundf for PowerPC32.
9769
9770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9771         and floorf multiarch implementations.
9772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9773         New file.
9774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9775         file.
9776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9777         multiarch floor for PowerPC32.
9778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9779         New file.
9780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9781         New file.
9782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9783         multiarch floorf for PowerPC32.
9784
9785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9786         and ceilf multiarch implementations.
9787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9788         New file.
9789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9790         file.
9791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9792         multiarch ceil for PowerPC32.
9793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9794         New file.
9795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9796         file.
9797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9798         multiarch ceilf for PowerPC32.
9799
9800         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9801         is defined.
9802         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9803         FINITEF is defined.
9804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9805         and finitef multiarch implementations.
9806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9807         New file.
9808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9809         file.
9810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9811         multiarch finite for PowerPC32.
9812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9813         New file.
9814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9815         file: multiarch finitef for PowerPC32.
9816
9817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9818         and isinff multiarch implementations.
9819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9820         file.
9821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9822         file.
9823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9824         multiarch isinf for PowerPC32.
9825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9826         New file.
9827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9828         multiarch isinff for PowerPC32.
9829
9830         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9831         alias when __isnan is defined.
9832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9833         and isnanf multiarch implementations.
9834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9835         file.
9836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9837         file.
9838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9839         file.
9840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9841         file.
9842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9843         multiarch isnan for PowerPC32.
9844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9845         New file.
9846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9847         New file.
9848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9849         multiarch isnanf for PowerPC32.
9850
9851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9852         and sqrtf multiarch implementations.
9853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9854         file.
9855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9856         file.
9857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9858         multiarch sqrt for PowerPC32.
9859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9860         file.
9861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9862         file.
9863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9864         multiarch sqrtf for PowerPC32.
9865
9866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9867         and llroundf multiarch implementations.
9868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9869         New file.
9870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9871         New file.
9872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9873         New file.
9874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9875         file: multiarch llround for PowerPC32.
9876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9877         file: multiarch llroundf for PowerPC32.
9878
9879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9880         multiarch PowerPC32 fpu implementations.
9881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9882         New file.
9883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9884         New file.
9885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9886         multiarch llrint for PowerPC32.
9887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9888         New file.
9889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9890         New file.
9891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9892         file.
9893
9894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9895
9896         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9897         file.
9898         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9899         file.
9900         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9901         file.
9902         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9903         multiarch wordcopy for PPC32.
9904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9905         wordcopy objects.
9906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9907         (__libc_ifunc_impl_list): Likewise.
9908         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9909         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9910         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9911         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9912         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9913         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9914
9915         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9916         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9917         file.
9918         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9919         file.
9920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9921         file.
9922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9923         multiarch wcscpy for PPC32.
9924         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9925         multiarch objects.
9926         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9927         (__libc_ifunc_impl_list): Likewise.
9928         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9929         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9930         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9931         sysdeps/powerpc/power6/wcscpy.c.
9932
9933         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9935         file.
9936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9937         file.
9938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9939         file.
9940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9941         multiarch wcsrchr for PPC32.
9942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9943         multiarch objects.
9944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9945         (__libc_ifunc_impl_list): Likewise.
9946         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9947         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9948         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9949         sysdeps/powerpc/power6/wcsrchr.c.
9950
9951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9952         file.
9953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9954         file.
9955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9957         multiarch wcschr for PPc32.
9958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9959         multiarch objects.
9960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9961         (__libc_ifunc_impl_list): Likewise.
9962         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9963         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9964         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9965         sysdeps/powerpc/power6/wcschr.c.
9966
9967         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9968         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9969         file.
9970         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9971         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9972         file: multiarch strchr for PPC32.
9973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9974         multiarch objects.
9975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9976         (__libc_ifunc_impl_list): Likewise.
9977
9978         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9979         name.
9980         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9981         file.
9982         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9983         file.
9984         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9985         multiarch strchrnul for PPC32.
9986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9987         multiarch objects.
9988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9989         (__libc_ifunc_impl_list): Likewise.
9990
9991         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9992         file.
9993         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9994         multiarch strncasecmp for PPC32.
9995         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9996         file.
9997         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9998         multiarch strncasecmp_l for PPC32.
9999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10000         strncasecmp multiarch objects.
10001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10002         (__libc_ifunc_impl_list): Likewise.
10003
10004         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10005         file.
10006         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10007         multiarch strncasecmp for PPC32.
10008         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10009         New file.
10010         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10011         multiarch strcasecmp_l for PPC32.
10012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10013         multiarch objects.
10014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10015         (__libc_ifunc_impl_list): Likewise.
10016
10017         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10018         file.
10019         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10020         file.
10021         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10022         multiarch strncmp for PPC32.
10023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10024         multiarch objects.
10025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10026         (__libc_ifunc_impl_list): Likewise.
10027
10028         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10029         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10030         file.
10031         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10032         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10034         multiarch objects.
10035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10036         (__libc_ifunc_impl_list): Likewise.
10037
10038         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10039         file.
10040         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10041         file.
10042         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10044         multiarch objects.
10045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10046         (__libc_ifunc_impl_list): Likewise.
10047
10048         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10049         file.
10050         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10051         file.
10052         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10053         multiarch rawmemchr for PPC32.
10054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10055         multiarch objects.
10056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10057         (__libc_ifunc_impl_list): Likewise.
10058
10059         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10060         file.
10061         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10062         file.
10063         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10064         file: memrchr multiarch for PPC32.
10065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10066         multiarch objects.
10067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10068         (__libc_ifunc_impl_list): Likewise.
10069
10070         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10071         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10072         file.
10073         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10074         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10075         multiarch memchr for PPC32.
10076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10077         multiarch objects.
10078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10079         (__libc_ifunc_impl_list): Likewise.
10080
10081         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10082         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10083         file.
10084         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10085         file.
10086         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10087         file: multiarch mempcpy for PPC32.
10088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10089         multiarch objects.
10090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10091         (__libc_ifunc_impl_list): Likewise.
10092
10093         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10094         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10095         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10096         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10097         multiarch bzero for PPC32.
10098         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10099         file.
10100         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10101         file.
10102         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10103         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10104         file: multiarch memset for PPC32.
10105         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10107         memset multiarch objects.
10108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10109         (__libc_ifunc_impl_list): Likewise.
10110
10111         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10112         file.
10113         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10114         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10115         memcmp for PPC32.
10116         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10118         multiarch objects.
10119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10120         (__libc_ifunc_impl_list): Likewise.
10121
10122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10123         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10124         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10125         file.
10126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10127         file.
10128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10129         file.
10130         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10131         multiarch memcpy for PPC32.
10132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10133         multiarch objects.
10134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10135         (__libc_ifunc_impl_list): Likewise.
10136
10137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10138         support multiarch for POWER/PPC32.
10139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10140         Likewise.
10141         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10143         Implies file to make multiarch folder appers before the fpu and
10144         default folder for power4 configuration.
10145
10146 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10147
10148         * scripts/bench.pl: Append volatile keyword to type.
10149
10150 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10151
10152         * sysdeps/sh/sotruss-lib.c: New file.
10153         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10154
10155 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10156
10157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10158
10159 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10160
10161         [BZ #6810]
10162         * math/w_tgamma.c: Include <errno.h>.
10163         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10164         * math/w_tgammaf.c: Include <errno.h>.
10165         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10166         * math/w_tgammal.c: Include <errno.h>.
10167         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10168         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10169         underflow.  Add more tgamma tests.
10170         * math/auto-libm-test-out: Regenerated.
10171         * sysdeps/i386/fpu/libm-test-ulps: Update.
10172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173
10174         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10175         sin, sinh, tan, tanh, tgamma, y0 and y1.
10176         * math/auto-libm-test-out: Regenerated.
10177         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10178         (TEST_COND_x86): Likewise.
10179         (M_E2l): Remove macro.
10180         (M_E3l): Likewise.
10181         (M_2_SQRT_PIl): Likewise.
10182         (M_SQRT_PIl): Likewise.
10183         (M_1_DIV_El): Likewise.
10184         (log_test_data): Use AUTO_TESTS_f_f.
10185         (log10_test_data): Likewise.
10186         (log1p_test_data): Likewise.
10187         (log2_test_data): Likewise.
10188         (sin_test_data): Likewise.
10189         (sin_tonearest_test_data): Likewise.
10190         (sin_towardzero_test_data): Likewise.
10191         (sin_downward_test_data): Likewise.
10192         (sin_upward_test_data): Likewise.
10193         (sinh_test_data): Likewise.
10194         (sinh_tonearest_test_data): Likewise.
10195         (sinh_towardzero_test_data): Likewise.
10196         (sinh_downward_test_data): Likewise.
10197         (sinh_upward_test_data): Likewise.
10198         (tan_test_data): Likewise.
10199         (tan_tonearest_test_data): Likewise.
10200         (tan_towardzero_test_data): Likewise.
10201         (tan_downward_test_data): Likewise.
10202         (tan_upward_test_data): Likewise.
10203         (tanh_test_data): Likewise.
10204         (tgamma_test_data): Likewise.
10205         (y0_test_data): Likewise.
10206         (y1_test_data): Likewise.
10207         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10208         (special_real_inputs): Add pi/4.
10209         * sysdeps/i386/fpu/libm-test-ulps: Update.
10210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211
10212 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10213
10214         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10215         "longjmp_target" static probes.
10216         (__longjmp): Rename to __longjmp_symbol.
10217         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10218         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10219         on which longjmp to generate.
10220         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10221         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10222         probe.
10223         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10224         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10225         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10226         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10227         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10228         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10230         __longjmp_symbol based on which __longjmp to generate.
10231         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10232         probe.
10233         (setjmp): Rename to setjmp_symbol.
10234         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10235         (_setjmp): Rename to _setjmp_symbol.
10236         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10237         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10238         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10239         which setjmp to generate.
10240         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10241         "longjmp_target" static probes.
10242
10243 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10244
10245         * benchtests/README: Add note about output arguments.
10246         * benchtests/bench-sincos.c: Remove file.
10247         * benchtests/sincos-inputs: New file.
10248         * scripts/bench.pl: Identify output arguments and define
10249         static variables for them.
10250
10251         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10252
10253         [BZ #15941]
10254         * Makefile (INSTALL): Add install-plain.texi as the primary
10255         dependency.
10256         * manual/install-plain.texi: New file.
10257         * manual/install.texi: Include node directive only for
10258         non-plaintext output.
10259
10260 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10261
10262         * stdlib/longlong.h: Update from GCC.
10263
10264         [BZ #6807]
10265         [BZ #15901]
10266         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10267         * math/w_j0f.c (y0f): Likewise.
10268         * math/w_j0l.c (__y0l): Likewise.
10269         * math/w_j1.c (y1): Likewise.
10270         * math/w_j1f.c (y1f): Likewise.
10271         * math/w_j1l.c (__y1l): Likewise
10272         * math/w_jn.c (yn): Likewise.
10273         * math/w_jnf.c (ynf): Likewise.
10274         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10275         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10276         value for Bessel function domain errors outside _SVID_ mode.
10277         Adjust sign of return value for yn (negative integer, 0).
10278         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10279         by zero in return for negative x and set sign appropriately for
10280         negative n.
10281         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10282         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10283         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10284         expectations in error cases.
10285         (y1_test_data): Likewise.
10286         (yn_test_data): Likewise.
10287         * sysdeps/i386/fpu/libm-test-ulps: Update.
10288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10289
10290 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10291
10292         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10293         "64" to "64-v1".  Add "64-v2".
10294         (abi-64-options): Rename to ...
10295         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10296         (abi-64-condition): Rename to ...
10297         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10298         (abi-64-ld-soname): Rename to ...
10299         (abi-64-v1-ld-soname): ... this.
10300         (abi-64-v2-options): Define.
10301         (abi-64-v2-condition): Likewise.
10302         (abi-64-v2-ld-soname): Likewise.
10303         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10304         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10308
10309 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10310             Alan Modra  <amodra@gmail.com>
10311
10312         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10313         New versions for use with the ELFv2 ABI.
10314         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10315         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10316         declaration.
10317         (struct La_ppc64v2_retval): Likewise.
10318         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10319         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10320         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10321         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10322         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10323         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10324         Do not save or restore CR.
10325         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10326         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10327         return values for ELFv2 ABI.  Fix location of FPR return registers.
10328         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10329         updated values for _CALL_ELF == 2.
10330         (La_regs, La_retval, int_retval): Likewise.
10331
10332 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10333
10334         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10335         (FRAME_MIN_SIZE_PARM): Likewise.
10336         (FRAME_BACKCHAIN): Likewise.
10337         (FRAME_CR_SAVE): Likewise.
10338         (FRAME_LR_SAVE): Likewise.
10339         (FRAME_TOC_SAVE): Likewise.
10340         (FRAME_PARM_SAVE): Likewise.
10341         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10342         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10343         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10344         (call_mcount_parm_offset): New macro.
10345         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10346         (PROF): Use symbolic stack frame offsets.
10347         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10348         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10349         Redefine in terms of FRAME_MIN_SIZE.
10350         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10351         (_dl_profile_resolve): Likewise.  Update comment.
10352         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10353         symbols stack frame offsets.
10354         (__sigsetjmp): Likewise.
10355         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10356         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10357         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10358         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10359
10360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10361         (FRAME_BACKCHAIN): Remove.
10362         (FRAME_CR_SAVE): Likewise.
10363         (FRAME_LR_SAVE): Likewise.
10364         (FRAME_COMPILER_DW): Likewise.
10365         (FRAME_LINKER_DW): Likewise.
10366         (FRAME_TOC_SAVE): Likewise.
10367         (FRAME_PARM_SAVE): Likewise.
10368         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10369         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10370         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10372         (CHECK_SP): Use symbolic stack frame offsets.
10373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10374         zone" instead of caller's parameter save area for temp storage.
10375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10376         Likewise.  Also, use symbolic stack frame offsets.
10377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10378         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10379         our own stack frame instead of the caller's.
10380         (__socket): Use symbolic stack frame offsets.
10381
10382 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10383             Alan Modra  <amodra@gmail.com>
10384
10385         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10386         Define.
10387         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10388         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10389         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10390         New function.
10391         (elf_machine_fixup_plt): Call it.
10392         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10393         reloc arguments.
10394         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10395         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10396         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10397         r2 before calling target.
10398
10399 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10400             Alan Modra  <amodra@gmail.com>
10401
10402         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10403         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10404         versions of macros to support ELFv2 ABI.
10405         (LOCALENTRY): New macro.
10406         (ENTRY, EALIGN): Use it.
10407         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10408         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10409         fall through into ENTRY entry point.
10410         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10411         Only define if _CALL_ELF != 2.
10412
10413         (elf_machine_matches_host): Verify ABI version matches.
10414         (RTLD_START): Use LOCALENTRY.
10415         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10416         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10417         (PLT_ENTRY_WORDS): New macro.
10418         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10419         (elf_machine_runtime_setup): Support ELFv2 ABI.
10420         (elf_machine_fixup_plt): Likewise.
10421         (elf_machine_plt_conflict): Likewise.
10422         (resolve_ifunc): Likewise.
10423         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10424         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10425         Likewise.
10426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10427         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10429         (makecontext): Support ELFv2 ABI.
10430         * elf/elf.h (EF_PPC64_ABI): Define.
10431
10432 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10433
10434         * sysdeps/powerpc/powerpc64/sysdep.h
10435         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10436         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10437         (ENTRY) [ASSEMBLER]: ... but instead here ...
10438         (EALIGN) [ASSEMBLER]: ... and here.
10439         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10440         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10441         (ENTRY_2) [!ASSEMBLER]: Use it.
10442         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10443         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10444         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10445         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10446         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10448         Use PPC64_LOAD_FUNCPTR.
10449
10450         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10451
10452 2013-12-04  Alan Modra  <amodra@gmail.com>
10453
10454         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10455         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10456         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10457         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10458
10459         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10460         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10461         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10462         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10463         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10464         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10465
10466 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10467
10468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10469         (__makecontext): Fix incorrect CFI when backtracing out of
10470         context created via makecontext.
10471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10472         (__setcontext): Fix incorrect CFI during switch to new context.
10473         (__novec_setcontext): Likewise.
10474
10475 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10476
10477         [BZ #4772]
10478         * time/strptime_l.c (__strptime_internal): Allow modifiers
10479         in strptime.
10480         * time/tst-strptime.c (day_tests): Add testcase.
10481
10482 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10483
10484         * scripts/bench.pl: Skip over blank lines.
10485
10486 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10487
10488         [BZ #926]
10489         * manual/time.texi (Calendar Time): Clarify what timezone functions
10490         use.
10491
10492 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10493
10494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10495
10496 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10497
10498         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10499         implementation.
10500         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10501         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10502         * debug/memset_chk.c (__memset_chk): Likewise.
10503         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10504         * debug/strncpy_chk.c: Likewise.
10505
10506 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10507
10508         [BZ #15268]
10509         [BZ #15425]
10510         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10511         (__ieee754_exp): For possibly underflowing results, check size of
10512         result and force underflow exception if required.
10513         * math/auto-libm-test-in: Add more tests of exp.
10514         * math/auto-libm-test-out: Regenerated.
10515         * sysdeps/i386/fpu/libm-test-ulps: Update.
10516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10517
10518         [BZ #16283]
10519         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10520         * math/w_exp2f.c (__exp2f): Likewise.
10521         * math/w_exp2l.c (__exp2l): Likewise.
10522         * math/auto-libm-test-in: Do not allow missing errno on exp2
10523         underflow.
10524         * math/auto-libm-test-out: Regenerated.
10525
10526 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10527
10528         [BZ #16274]
10529         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10530         handle filename validation.
10531         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10532         (do_open): Delete.
10533
10534 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10535
10536         [BZ #6786]
10537         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10538         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10539         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10540         <float.h>.
10541         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10542         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10543         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10544         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10545         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10546         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10547         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10548         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10549         Add more erfc tests.
10550         * math/auto-libm-test-out: Regenerated.
10551         * sysdeps/i386/fpu/libm-test-ulps: Update.
10552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10553
10554         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10555         exp2, expm1, j0 and j1.
10556         * math/auto-libm-test-out: Regenerated.
10557         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10558         (erfc_test_data): Likewise.
10559         (exp_test_data): Likewise.
10560         (exp_tonearest_test_data): Likewise.
10561         (exp_towardzero_test_data): Likewise.
10562         (exp_downward_test_data): Likewise.
10563         (exp_upward_test_data): Likewise.
10564         (exp10_test_data): Likewise.
10565         (exp2_test_data): Likewise.
10566         (expm1_test_data): Likewise.
10567         (j0_test_data): Likewise.
10568         (j1_test_data): Likewise.
10569         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10570         (input_flag_type): Add flag_xfail_rounding.
10571         (input_flags): Add xfail-rounding.
10572         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10573         (output_for_one_input_case): Handle flag_xfail_rounding.
10574         * sysdeps/i386/fpu/libm-test-ulps: Update.
10575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10576
10577 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10578
10579         [BZ #16289]
10580         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10581         division by 0.
10582
10583 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10584
10585         [BZ #16195]
10586         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10587         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10588         (STAP_PROBE0): New macro.
10589         (STAP_PROBE1): Likewise.
10590         (STAP_PROBE2): Likewise.
10591         (STAP_PROBE3): Likewise.
10592         (STAP_PROBE4): Likewise.
10593
10594 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10595
10596         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10597
10598 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10599
10600         * benchtests/Makefile (bench): Add sqrt.
10601         (LDLIBS-bench-sqrt): New.
10602         * benchtests/sqrt-input: New.
10603
10604 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10605
10606         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10607         (GAIH_EAI): Likewise.
10608         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10609         (gaih_inet): Likewise.
10610         (getaddrinfo): Don't use GAIH_EAI.
10611
10612         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10613         (struct gaih): Remove definition.
10614
10615 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10616
10617         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10618         Use HERRNOP directly.
10619
10620 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10621
10622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10623
10624 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10625
10626         * math/gen-auto-libm-tests.c (test_functions): Add more
10627         single-argument functions.
10628         (special_fill_pi_2): New function.
10629         (special_fill_minus_pi_2): Likewise.
10630         (special_fill_pi_6): Likewise.
10631         (special_fill_minus_pi_6): Likewise.
10632         (special_fill_pi_3): Likewise.
10633         (special_fill_2pi_3): Likewise.
10634         (special_fill_e): Likewise.
10635         (special_fill_1_e): Likewise.
10636         (special_fill_e_minus_1): Likewise.
10637         (special_real_inputs): Add more special inputs.
10638         (output_for_one_input_case): Do not require ERANGE on underflow to
10639         zero if round-to-nearest result does not underflow to zero, unless
10640         exact results required.
10641         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10642         atan, atanh, cbrt, cos and cosh.
10643         * math/auto-libm-test-out: Regenerated.
10644         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10645         (acos_tonearest_test_data): Likewise.
10646         (acos_towardzero_test_data): Likewise.
10647         (acos_downward_test_data): Likewise.
10648         (acos_upward_test_data): Likewise.
10649         (acosh_test_data): Likewise.
10650         (asin_test_data): Likewise.
10651         (asin_tonearest_test_data): Likewise.
10652         (asin_towardzero_test_data): Likewise.
10653         (asin_upward_test_data): Likewise.
10654         (asinh_test_data): Likewise.
10655         (atan_test_data): Likewise.
10656         (atanh_test_data): Likewise.
10657         (cbrt_test_data): Likewise.
10658         (cos_test_data): Likewise.
10659         (cos_tonearest_test_data): Likewise.
10660         (cos_towardzero_test_data): Likewise.
10661         (cos_downward_test_data): Likewise.
10662         (cos_upward_test_data): Likewise.
10663         (cosh_test_data): Likewise.
10664         (cosh_tonearest_test_data): Likewise.
10665         (cosh_towardzero_test_data): Likewise.
10666         (cosh_downward_test_data): Likewise.
10667         (cosh_upward_test_data): Likewise.
10668         * sysdeps/i386/fpu/libm-test-ulps: Update.
10669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670
10671 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10672
10673         [BZ #6787]
10674         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10675         * math/w_exp10f.c (__exp10f): Likewise.
10676         * math/w_exp10l.c (__exp10l): Likewise.
10677         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10678         errno settings in existing tests.
10679
10680         [BZ #14032]
10681         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10682         precision control set to double precision.
10683         * sysdeps/i386/fpu/w_sqrt.c: New file.
10684         * math/auto-libm-test-in: Add more tests.
10685         * math/auto-libm-test-out: Update.
10686
10687         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10688         (sqrt_test_tonearest): New function.
10689         (sqrt_towardzero_test_data): New variable.
10690         (sqrt_test_towardzero): New function.
10691         (sqrt_downward_test_data): New variable.
10692         (sqrt_test_downward): New function.
10693         (sqrt_upward_test_data): New variable.
10694         (sqrt_test_upward): New function.
10695         (main): Call the new functions.
10696
10697         * math/gen-auto-libm-tests.c: New file.
10698         * math/auto-libm-test-in: Likewise.
10699         * math/auto-libm-test-out: New generated file.
10700         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10701         variables.
10702         (%beautify): Add generated representations of zero.
10703         (top level): Set $auto_input and call parse_auto_input.
10704         (beautify): Remove trailing "f" from hex float constants.
10705         (parse_args): Handle XFAIL_TEST.
10706         (convert_condition): New function.
10707         (or_value): Likewise.
10708         (or_cond_value): Likewise.
10709         (generate_testfile): Handle AUTO_TESTS_* lines.
10710         (parse_auto_input): New function.
10711         * math/libm-test.inc (XFAIL_TEST): New macro.
10712         (ERRNO_UNCHANGED): Update value.
10713         (ERRNO_EDOM): Likewise.
10714         (ERRNO_ERANGE): Likewise.
10715         (IGNORE_RESULT): Likewise.
10716         (TEST_COND_flt_32): New macro.
10717         (TEST_COND_dbl_64): Likewise.
10718         (TEST_COND_ldbl_96_intel): Likewise.
10719         (TEST_COND_ldbl_96_m68k): Likewise.
10720         (TEST_COND_ldbl_128): Likewise.
10721         (TEST_COND_ldbl_128ibm): Likewise.
10722         (TEST_COND_long32): Likewise.
10723         (TEST_COND_long64): Likewise.
10724         (TEST_COND_before_rounding): Likewise.
10725         (TEST_COND_after_rounding): Likewise.
10726         (enable_test): Handle XFAIL_TEST flag.
10727         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10728         with finite results.
10729         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10730         auto-libm-test-out.
10731
10732 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10733             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10734
10735         [BZ #16214]
10736         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10737         __tls_get_addr_internal instead of __tls_get_offset in order to
10738         avoid GOT pointer dependency.  Make rtld export
10739         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10740         __tls_get_addr since we are a __tls_get_offset platform.
10741         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10742         GOT pointer being set up before.
10743         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10744
10745 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10746
10747         * manual/math.texi (Errors in Math Functions): Document accuracy
10748         goals.
10749
10750         [BZ #15004]
10751         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10752         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10753         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10754         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10755         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10756         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10757         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10758         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10759         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10760         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10761         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10762         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10763         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10764         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10765         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10766         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10767
10768         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10769         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10770         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10771         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10772         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10773         Likewise.
10774         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10775         Likewise.
10776         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10777         Likewise.
10778         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10779         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10780         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10781         atomic-feupdateenv and flt-rounds.
10782         * sysdeps/powerpc/nofpu/Versions (libc): Add
10783         __atomic_feholdexcept, __atomic_feclearexcept,
10784         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10785         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10786         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10787         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10788         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10789         here.
10790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10791         Update.
10792
10793         * manual/arith.texi (FP Exceptions): Document that exceptions may
10794         not be raised when matherr is used.
10795         (Math Error Reporting): Document overflow in directed rounding
10796         modes.  Document that errno may not be set when finite values are
10797         returned on overflow.  Document intent to set errno on underflow
10798         only for underflow to zero.
10799
10800         [BZ #16271]
10801         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10802         round-to-nearest then adjust result for other rounding modes.
10803         * include/fenv.h (fegetround): Use libm_hidden_proto.
10804         * math/fegetround.c (fegetround): Use libm_hidden_def.
10805         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10806         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10807         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10808         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10809         Likewise.
10810         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10811         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10812         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10813         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10814
10815 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10816
10817         [BZ #16077]
10818         * nss/Versions (libnss_files): Add
10819         _nss_files_gethostbyname3_r.
10820         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10821         New function.
10822         (HOST_DB_LOOKUP): Remove macro.
10823         (_nss_files_gethostbyname_r): Implement function without the
10824         HOST_DB_LOOKUP macro.
10825         (_nss_files_gethostbyname2_r): Likewise.
10826
10827 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10828
10829         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10830
10831 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10832
10833         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10834         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10835         warning.
10836
10837 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10838
10839         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10840         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10841         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10842         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10843         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10844         __fe_nomask_env_priv and attribute_hidden.
10845         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10846         (libc_feupdateenv_test_ppc): Likewise.
10847         (libc_feresetround_ppc): Likewise.
10848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10849         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10850         compat_symbol macro.
10851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10852         (__fe_nomask_env): Likewise.
10853         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10854
10855 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10856
10857         * string/Makefile: Remove ifunc tests.
10858         * string/test-string.h: Define TEST_IFUNC.
10859         * string/test-bcopy-ifunc.c: Remove.
10860         * string/test-bzero-ifunc.c: Likewise.
10861         * string/test-memccpy-ifunc.c: Likewise.
10862         * string/test-memchr-ifunc.c: Likewise.
10863         * string/test-memcmp-ifunc.c: Likewise.
10864         * string/test-memcpy-ifunc.c: Likewise.
10865         * string/test-memmem-ifunc.c: Likewise.
10866         * string/test-memmove-ifunc.c: Likewise.
10867         * string/test-mempcpy-ifunc.c: Likewise.
10868         * string/test-memrchr-ifunc.c: Likewise.
10869         * string/test-memset-ifunc.c: Likewise.
10870         * string/test-rawmemchr-ifunc.c: Likewise.
10871         * string/test-stpcpy-ifunc.c: Likewise.
10872         * string/test-stpncpy-ifunc.c: Likewise.
10873         * string/test-strcasecmp-ifunc.c: Likewise.
10874         * string/test-strcasestr-ifunc.c: Likewise.
10875         * string/test-strcat-ifunc.c: Likewise.
10876         * string/test-strchr-ifunc.c: Likewise.
10877         * string/test-strchrnul-ifunc.c: Likewise.
10878         * string/test-strcmp-ifunc.c: Likewise.
10879         * string/test-strcpy-ifunc.c: Likewise.
10880         * string/test-strcspn-ifunc.c: Likewise.
10881         * string/test-strlen-ifunc.c: Likewise.
10882         * string/test-strncasecmp-ifunc.c: Likewise.
10883         * string/test-strncat-ifunc.c: Likewise.
10884         * string/test-strncmp-ifunc.c: Likewise.
10885         * string/test-strncpy-ifunc.c: Likewise.
10886         * string/test-strnlen-ifunc.c: Likewise.
10887         * string/test-strpbrk-ifunc.c: Likewise.
10888         * string/test-strrchr-ifunc.c: Likewise.
10889         * string/test-strspn-ifunc.c: Likewise.
10890         * string/test-strstr-ifunc.c: Likewise.
10891
10892 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10893
10894         * benchtests/Makefile: Remove ifunc tests.
10895         * benchtests/bench-string.h: Define TEST_IFUNC.
10896         * benchtests/bench-bcopy-ifunc.c: Remove.
10897         * benchtests/bench-bzero-ifunc.c: Likewise.
10898         * benchtests/bench-memccpy-ifunc.c: Likewise.
10899         * benchtests/bench-memchr-ifunc.c: Likewise.
10900         * benchtests/bench-memcmp-ifunc.c: Likewise.
10901         * benchtests/bench-memcpy-ifunc.c: Likewise.
10902         * benchtests/bench-memmem-ifunc.c: Likewise.
10903         * benchtests/bench-memmove-ifunc.c: Likewise.
10904         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10905         * benchtests/bench-memrchr-ifunc.c: Likewise.
10906         * benchtests/bench-memset-ifunc.c: Likewise.
10907         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10908         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10909         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10910         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10911         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10912         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10913         * benchtests/bench-strcat-ifunc.c: Likewise.
10914         * benchtests/bench-strchr-ifunc.c: Likewise.
10915         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10916         * benchtests/bench-strcmp-ifunc.c: Likewise.
10917         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10918         * benchtests/bench-strcpy-ifunc.c: Likewise.
10919         * benchtests/bench-strcspn-ifunc.c: Likewise.
10920         * benchtests/bench-strlen-ifunc.c: Likewise.
10921         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10922         * benchtests/bench-strncat-ifunc.c: Likewise.
10923         * benchtests/bench-strncmp-ifunc.c: Likewise.
10924         * benchtests/bench-strncpy-ifunc.c: Likewise.
10925         * benchtests/bench-strnlen-ifunc.c: Likewise.
10926         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10927         * benchtests/bench-strrchr-ifunc.c: Likewise.
10928         * benchtests/bench-strsep-ifunc.c: Likewise.
10929         * benchtests/bench-strspn-ifunc.c: Likewise.
10930         * benchtests/bench-strstr-ifunc.c: Likewise.
10931
10932 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10933
10934         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10935
10936 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10937
10938         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10939         * rt/aio.h: Likewise.
10940         * sysdeps/gnu/bits/utmp.h: Likewise.
10941         * sysdeps/gnu/bits/utmpx.h: Likewise.
10942         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10943         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10944         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10945         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10946         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10947         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10948         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10949         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10950         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10951         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10952         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10953         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10954         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10956         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10957         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10958         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10959         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10960         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10961         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10962         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10963         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10964         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10965         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10966         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10967         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10968         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10969         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10970         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10971         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10972         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10973         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10974         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10975         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10976         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10977         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10978         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10979         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10980         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10981         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10982         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10983         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10984
10985 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10986
10987         [BZ #16245]
10988         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10989         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10990
10991 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
10992
10993         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10994         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10995         Likewise.
10996
10997 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10998
10999         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11000         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11001         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11002         (__fesetround): Remove define.
11003         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11004         rounding and exceptions handling.
11005         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11006         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11007         (__fe_nomask_env): Likewise.
11008         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11009         __fegetround instead of fegetround.
11010         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11011         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11012
11013 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11014
11015         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11016         it's there.
11017
11018         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11019
11020 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11021
11022         [BZ #11157]
11023         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11024         (encrypt_r): Likewise.
11025         * malloc/obstack.h (obstack_free): Likewise.
11026         * posix/unistd.h (encrypt): Likewise.
11027
11028 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11029
11030         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11031         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11032         DL_CALL_DT_FINI() that call the functions directly.
11033         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11034         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11035         * elf/dl-fini.c: Likewise.
11036
11037 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11038
11039         * malloc/hooks.c (memalign_check): Add alignment rounding.
11040         * malloc/malloc.c (_mid_memalign): New function.
11041         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11042         Implement by calling _mid_memalign.
11043         * manual/probes.texi (Memory Allocation Probes): Remove
11044         memory_valloc_retry and memory_pvalloc_retry.
11045
11046 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11047
11048         * locale/programs/locarchive.c (open_archive): Add const
11049         qualifier to ARCHIVEFNAME and copy default fname to
11050         DEFAULT_FNAME.
11051
11052         [BZ #15601]
11053         * libio/tst-widetext.input: Rename Oriya to Odia.
11054         * locale/iso-639.def: Likewise.
11055
11056         * manual/probes.texi (Mathematical Function Probes): Add
11057         documentation for sin, cos, asin and acos probes.
11058         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11059         (__sin32): Add slowasin probe.
11060         (__cos32): Add slowacos probe.
11061         (__mpsin): Add slowsin probe.
11062         (__mpcos): Add slowcos probe.
11063
11064 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11065
11066         [BZ #15483]
11067         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11068         thread-local __sim_exceptions_thread and global
11069         __sim_exceptions_global.
11070         (__sim_disabled_exceptions): Change to thread-local
11071         __sim_disabled_exceptions_thread and global
11072         __sim_disabled_exceptions_global.
11073         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11074         and global __sim_round_mode_global.
11075         (__simulate_exceptions): Use thread-local floating-point state and
11076         set global state from it as needed.
11077         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11078         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11079         __sim_round_mode_thread.
11080         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11081         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11082         and global __sim_exceptions_global.
11083         (__sim_disabled_exceptions): Change to thread-local
11084         __sim_disabled_exceptions_thread and global
11085         __sim_disabled_exceptions_global.
11086         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11087         and global __sim_round_mode_global.
11088         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11089         (SIM_SET_GLOBAL): Likewise.
11090         * sysdeps/powerpc/soft-fp/sfp-machine.h
11091         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11092         __sim_round_mode_thread.
11093         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11094         __sim_disabled_exceptions_thread.
11095         (__sim_exceptions): Change to __sim_exceptions_thread.
11096         (__sim_disabled_exceptions): Change to
11097         __sim_disabled_exceptions_thread.
11098         (__sim_round_mode): Change to __sim_round_mode_thread.
11099         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11100         thread-local floating-point state and set global state from it as
11101         needed.
11102         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11103         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11104         (__sim_disabled_exceptions): Remove extern declaration.
11105         (feenableexcept): Use thread-local floating-point state and set
11106         global state from it as needed.
11107         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11108         extern declaration.
11109         (__sim_disabled_exceptions): Likewise.
11110         (__sim_round_mode): Likewise.
11111         (__fegetenv): Use thread-local floating-point state.
11112         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11113         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11114         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11115         floating-point state and set global state from it as needed.
11116         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11117         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11118         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11119         Likewise.
11120         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11121         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11122         Likewise.
11123         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11124         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11125         Use __sim_round_mode_thread.
11126         * math/test-fenv-tls.c: New file.
11127         * math/Makefile (tests): Add test-fenv-tls.
11128         ($(objpfx)test-fenv-tls): Depend on
11129         $(common-objpfx)nptl/libpthread.so.
11130
11131 2013-11-19  Andreas Schwab  <schwab@suse.de>
11132
11133         * locale/programs/locale.c (show_info): Decode wordarray elements.
11134         * locale/categories.def (LC_MONETARY): Add element for
11135         _NL_MONETARY_CRNCYSTR.
11136         * locale/C-monetary.c (conversion_rate): New variable.
11137         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11138         element.
11139
11140 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11141
11142         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11143         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11144
11145 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11146
11147         * elf/Makefile (tst-auxv): New test.
11148         * elf/tst-auxv.c: New
11149         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11150
11151 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11152
11153         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11154         (hidden_proto): Caller changed.
11155         (hidden_tls_proto): New macro.
11156         (libc_hidden_tls_proto): Likewise.
11157         (rtld_hidden_tls_proto): Likewise.
11158         (libm_hidden_tls_proto): Likewise.
11159         (libresolv_hidden_tls_proto): Likewise.
11160         (librt_hidden_tls_proto): Likewise.
11161         (libdl_hidden_tls_proto): Likewise.
11162         (libnss_files_hidden_tls_proto): Likewise.
11163         (libnsl_hidden_tls_proto): Likewise.
11164         (libnss_nisplus_hidden_tls_proto): Likewise.
11165         (libutil_hidden_tls_proto): Likewise.
11166
11167 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11168
11169         [BZ #10253]
11170         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11171         (decompose_rpath): Defer expansion to fillin_rpath.
11172         (_dl_init_paths): Pass linkmap to fillin_rpath.
11173
11174 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11175
11176         * benchtests/Makefile: Add strsep.
11177         * benchtests/bench-strsep.c: New file: strsep benchtest.
11178         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11179
11180 2013-11-18  Andreas Schwab  <schwab@suse.de>
11181
11182         * locale/programs/locale.c (show_info) [case byte]: Check for
11183         '\377' instead of '\177'.
11184         * locale/C-monetary.c (not_available): Always use "\377".
11185         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11186         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11187         detect unavailable sign_posn locale elements.
11188         * locale/localeconv.c (__localeconv): For grouping and
11189         mon_grouping handle "\177" and "\377" like no grouping.
11190         (INT_ELEM): New macro.  Use it to set all numeric members.
11191         * locale/programs/ld-monetary.c (monetary_read)
11192         <tok_mon_grouping>: Normalize single -1 to the empty string.
11193         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11194         Likewise.
11195
11196 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11197
11198         [BZ #16055]
11199         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11200         when we match (nil).
11201         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11202
11203 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11204
11205         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11206         (NO_TEST_INLINE): Update value.
11207         (ERRNO_UNCHANGED): Likewise.
11208         (ERRNO_EDOM): Likewise.
11209         (ERRNO_ERANGE): Likewise.
11210         (IGNORE_RESULT): Likewise.
11211         (check_float_internal): Check signs of NaN results if
11212         TEST_NAN_SIGN used.
11213         (check_complex): Pass TEST_NAN_SIGN flag through to second
11214         check_float_internal call.
11215         (copysign_test_data): Add tests with quiet NaNs as second
11216         argument.  Use TEST_NAN_SIGN.
11217         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11218         TEST_NAN_SIGN.
11219         (signbit_test_data): Add tests of quiet NaN argument.
11220         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11221
11222         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11223         $ignore_result.
11224         (parse_args): Handle function results specified as IGNORE.
11225         * math/libm-test.inc (IGNORE_RESULT): New macro.
11226         (check_float_internal): Do not check numerical result if flag
11227         IGNORE_RESULT set.
11228         (check_complex): Pass through IGNORE_RESULT to second
11229         check_float_internal call.
11230         (check_int): Do not check numerical result if flag IGNORE_RESULT
11231         set.
11232         (check_long): Likewise.
11233         (check_bool): Likewise.
11234         (check_longlong): Likewise.
11235         (lrint_test_data): Add tests of infinite and NaN arguments.
11236         (lrint_tonearest_test_data): Likewise.
11237         (lrint_towardzero_test_data): Likewise.
11238         (lrint_downward_test_data): Likewise.
11239         (lrint_upward_test_data): Likewise.
11240         (llrint_test_data): Likewise.
11241         (llrint_tonearest_test_data): Likewise.
11242         (llrint_towardzero_test_data): Likewise.
11243         (llrint_downward_test_data): Likewise.
11244         (llrint_upward_test_data): Likewise.
11245         (lround_test_data): Likewise.
11246         (llround_test_data): Likewise.
11247
11248         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11249         (ERRNO_UNCHANGED): Update value.
11250         (ERRNO_EDOM): Likewise.
11251         (ERRNO_ERANGE): Likewise.
11252         (NO_TEST_INLINE_FLOAT): New macro.
11253         (NO_TEST_INLINE_DOUBLE): Likewise.
11254         (enable_test): New function.
11255         (RUN_TEST_f_f): Check enable_test before running test.
11256         (RUN_TEST_2_f): Likewise.
11257         (RUN_TEST_fff_f): Likewise.
11258         (RUN_TEST_c_f): Likewise.
11259         (RUN_TEST_f_f1): Likewise.
11260         (RUN_TEST_fF_f1): Likewise.
11261         (RUN_TEST_fI_f1): Likewise.
11262         (RUN_TEST_ffI_f1): Likewise.
11263         (RUN_TEST_c_c): Likewise.
11264         (RUN_TEST_cc_c): Likewise.
11265         (RUN_TEST_f_i): Likewise.
11266         (RUN_TEST_f_i_tg): Likewise.
11267         (RUN_TEST_ff_i_tg): Likewise.
11268         (RUN_TEST_f_b): Likewise.
11269         (RUN_TEST_f_b_tg): Likewise.
11270         (RUN_TEST_f_l): Likewise.
11271         (RUN_TEST_f_L): Likewise.
11272         (RUN_TEST_fFF_11): Likewise.
11273         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11274         conditionals.
11275         (cosh_test_data): Likewise.
11276         (exp_test_data): Likewise.
11277         (expm1_test_data): Likewise.
11278         (hypot_test_data): Likewise.
11279         (pow_test_data): Likewise.
11280         (sinh_test_data): Likewise.
11281         (tanh_test_data): Likewise.
11282         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11283         flags argument.
11284
11285         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11286         tests with quiet NaN input and output.
11287         (acosh_test_data): Likewise.
11288         (asin_test_data): Likewise.
11289         (asinh_test_data): Likewise.
11290         (atan_test_data): Likewise.
11291         (atanh_test_data): Likewise.
11292         (atan2_test_data): Likewise.
11293         (cbrt_test_data): Likewise.
11294         (cos_test_data): Likewise.
11295         (cosh_test_data): Likewise.
11296         (erf_test_data): Likewise.
11297         (erfc_test_data): Likewise.
11298         (exp_test_data): Likewise.
11299         (exp10_test_data): Likewise.
11300         (exp2_test_data): Likewise.
11301         (expm1_test_data): Likewise.
11302         (hypot_test_data): Likewise.
11303         (j0_test_data): Likewise.
11304         (j1_test_data): Likewise.
11305         (jn_test_data): Likewise.
11306         (lgamma_test_data): Likewise.
11307         (log_test_data): Likewise.
11308         (log10_test_data): Likewise.
11309         (log1p_test_data): Likewise.
11310         (log2_test_data): Likewise.
11311         (pow_test_data): Likewise.
11312         (scalb_test_data): Likewise.
11313         (sin_test_data): Likewise.
11314         (sincos_test_data): Likewise.
11315         (sinh_test_data): Likewise.
11316         (tan_test_data): Likewise.
11317         (tanh_test_data): Likewise.
11318         (tgamma_test_data): Likewise.
11319         (y0_test_data): Likewise.
11320         (y1_test_data): Likewise.
11321         (yn_test_data): Likewise.
11322
11323         [BZ #16167]
11324         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11325         argument being NaN and avoid computations with second argument in
11326         that case.
11327         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11328         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11329         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11330
11331 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11332
11333         * locale/iso-639.def: Add Chitwani Tharu (the).
11334
11335 2013-11-14  Andreas Schwab  <schwab@suse.de>
11336
11337         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11338         word instead of empty string.
11339
11340 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11341
11342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11343         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11345         (__fe_nomask_env): Likewise.
11346
11347 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11348
11349         * benchtests/bench-timing.h: Include time.h.
11350
11351 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11352
11353         [BZ #15997]
11354         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11355         to 3.4.0 for x32.
11356         * sysdeps/unix/sysv/linux/configure: Regenerated.
11357
11358 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11359
11360         [BZ #16151]
11361         * stdlib/strtod_l.c (round_and_return): Do not consider
11362         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11363         exponent one less than half the least subnormal exponent.
11364         * stdlib/test-strtod-round-data: Add more tests.
11365         * stdlib/tst-strtod-round.c (tests): Regenerated.
11366
11367 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11368
11369         [BZ #14143]
11370         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11371         (__fe_mask_env): Likewise.
11372         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11373         libm_hidden_proto and add function prototype.
11374         (__fe_mask_env): Add function prototype.
11375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11376         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11378         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11380         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11381
11382 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11383
11384         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11385         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11386
11387 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11388
11389         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11390         of htab_find_slot().
11391
11392 2013-11-11  David S. Miller  <davem@davemloft.net>
11393
11394         [BZ #16150]
11395         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11396         symbol in the non-vis3 case in static builds.
11397         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11398         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11399         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11400         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11401
11402 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11403
11404         [BZ #387]
11405         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11406         it is empty.
11407
11408 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11409
11410         * benchtests/Makefile: Add bench-strtod.
11411         * benchtests/bench-strtod.c: New file: strtod benchtest
11412
11413 2013-11-11  Andreas Schwab  <schwab@suse.de>
11414
11415         [BZ #16153]
11416         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11417         terminating NUL in key length.
11418
11419 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11420
11421         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11422         Add artificial ODP entry for vDSO symbol for PPC64.
11423         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11424         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11425
11426 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11427
11428         [BZ #15374]
11429         * nss/getent.c (services_keys): Recognize services starting with digit.
11430
11431 2013-11-06  David S. Miller  <davem@davemloft.net>
11432
11433         [BZ #15985]
11434         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11435         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11436
11437 2013-11-06  Will Newton  <will.newton@linaro.org>
11438
11439         * manual/memory.texi (Malloc Examples): Remove register
11440         keyword from examples.
11441
11442 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11443
11444         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11445
11446 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11447
11448         [BZ #6981]
11449         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11450         depending on [__GCC_IEC_559 > 0].
11451         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11452         depending on [__GCC_IEC_559_COMPLEX > 0].
11453
11454 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11455
11456         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11457         to iso-639.def.
11458
11459 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11460
11461         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11462
11463 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11464
11465         [BZ #16112]
11466         * malloc/malloc (malloc_info): Do not handle first bin as
11467         special case.
11468
11469 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11470
11471         * locale/iso-639.def: Add Central Nahuatl (nhn).
11472
11473 2013-11-01  Bruno Haible  <bruno@clisp.org>
11474
11475         [BZ #7003]
11476         * manual/math.texi (BSD Random): Specify range upper bound as
11477         in POSIX.
11478
11479 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11480
11481         * locale/iso-639.def: Add Meadow Mari (mhr).
11482
11483 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11484
11485         [BZ #14752], [BZ #15763]
11486         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11487         Validate name.
11488         * rt/tst_shm.c: Add test for escaping directory.
11489
11490 2013-10-31  Andreas Schwab  <schwab@suse.de>
11491
11492         [BZ #15917]
11493         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11494         followed by 'x' as part of digit sequence.
11495         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11496
11497 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11498
11499         [BZ #16037]
11500         * configure.ac: allow GNU Make 4.0 and greater.
11501         * configure: Regenerated.
11502
11503 2013-10-30  Will Newton  <will.newton@linaro.org>
11504
11505         [BZ #16038]
11506         * malloc/hooks.c (memalign_check): Limit alignment to the
11507         maximum representable power of two.
11508         * malloc/malloc.c (__libc_memalign): Likewise.
11509         * malloc/tst-memalign.c (do_test): Add test for very
11510         large alignment values.
11511         * malloc/tst-posix_memalign.c (do_test): Likewise.
11512
11513 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11514
11515         [BZ #11087]
11516         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11517         (munmap_chunk): Likewise.
11518         (mremap_chunk): Likewise.
11519
11520 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11521
11522         [BZ #15799]
11523         * stdlib/div.c (div): Remove obsolete code.
11524         * stdlib/ldiv.c (ldiv): Likewise.
11525         * stdlib/lldiv.c (lldiv): Likewise.
11526
11527 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11528
11529         [BZ #16071]
11530         * nss/nss_files/files-XXX.c (get_contents_ret): New
11531         enumerator.
11532         (get_contents): New function.
11533         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11534
11535 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11536
11537         * configure.in: Moved to ...
11538         * configure.ac: ... here. Change reference to configure.in
11539         to configure.ac.
11540         * sysdeps/arm/preconfigure.ac: ... here.
11541         configure.in to configure.ac.
11542         * sysdeps/gnu/configure.in: Moved to ...
11543         * sysdeps/gnu/configure.ac: ... here.
11544         * sysdeps/i386/configure.in: Moved to ...
11545         * sysdeps/i386/configure.ac: ... here.
11546         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11547         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11548         * sysdeps/mach/configure.in: Moved to ...
11549         * sysdeps/mach/configure.ac: ... here.
11550         * sysdeps/mach/hurd/configure.in: Moved to ...
11551         * sysdeps/mach/hurd/configure.ac: ... here.
11552         * sysdeps/powerpc/configure.in: Moved to ...
11553         * sysdeps/powerpc/configure.ac: ... here.
11554         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11555         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11556         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11557         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11558         * sysdeps/s390/s390-32/configure.in: Moved to ...
11559         * sysdeps/s390/s390-32/configure.ac: ... here.
11560         * sysdeps/s390/s390-64/configure.in: Moved to ...
11561         * sysdeps/s390/s390-64/configure.ac: ... here.
11562         * sysdeps/sh/configure.in: Moved to ...
11563         * sysdeps/sh/configure.ac: ... here.
11564         * sysdeps/sparc/configure.in: Moved to ...
11565         * sysdeps/sparc/configure.ac: ... here.
11566         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11567         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11568         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11569         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11570         * sysdeps/x86_64/configure.in: Moved to ...
11571         * sysdeps/x86_64/configure.ac: ... here.
11572         * sysdeps/x86_64/preconfigure.in: Moved to ...
11573         * sysdeps/x86_64/preconfigure.ac: ... here.
11574         * aclocal.m4: Change reference to configure.in to configure.ac.
11575         * config.h.in: Likewise.
11576         * manual/install.texi: Likewise.
11577         * manual/maint.texi: Likewise.
11578         * Makefile: Likewise.
11579         * malloc/Makefile: Likewise.
11580         * nscd/Makefile: Likewise.
11581         * Makeconfig: Change reference to configure.in and
11582         preconfigure.in to configure.ac and preconfigure.ac
11583         respectively.
11584         * INSTALL: Regenerated.
11585         * configure: Likewise.
11586         * sysdeps/gnu/configure: Likewise.
11587         * sysdeps/i386/configure: Likewise.
11588         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11589         * sysdeps/mach/configure: Likewise.
11590         * sysdeps/mach/hurd/configure: Likewise.
11591         * sysdeps/powerpc/configure: Likewise.
11592         * sysdeps/powerpc/powerpc32/configure: Likewise.
11593         * sysdeps/powerpc/powerpc64/configure: Likewise.
11594         * sysdeps/s390/s390-32/configure: Likewise.
11595         * sysdeps/s390/s390-64/configure: Likewise.
11596         * sysdeps/sh/configure: Likewise.
11597         * sysdeps/sparc/configure: Likewise.
11598         * sysdeps/unix/sysv/linux/configure: Likewise.
11599         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11600         * sysdeps/x86_64/configure: Likewise.
11601         * sysdeps/x86_64/preconfigure: Likewise.
11602
11603 2013-10-29  Andreas Schwab  <schwab@suse.de>
11604
11605         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11606
11607 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11608
11609         * benchtests/pow-inputs: Add new inputs.
11610
11611         * benchtests/exp-inputs: Add new inputs.
11612
11613         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11614         conditional check for return value.
11615         (__cos32): Likewise.
11616
11617 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11618
11619         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11620         to provide a boost for large inputs with word alignment.
11621         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11622         implementation based on optimized PPC64 strcpy.
11623         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11624         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11625         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11626         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11627
11628 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11629
11630         [BZ #2801]
11631         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11632
11633 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11634
11635         [BZ #14876]
11636         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11637         * time/tst-strptime.c (day_tests): Add testcase.
11638
11639 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11640
11641         [BZ #14029]
11642         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11643
11644 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11645
11646         [BZ #16074]
11647         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11648         MAP_FAILED on error.
11649
11650 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11651
11652         [BZ #16072]
11653         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11654         heap for large requests.
11655
11656 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11657
11658         [BZ #9954]
11659         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11660         result if the result has no associated interface.
11661         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11662         interface for all 127.X.Y.Z addresses.
11663
11664 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11665
11666         * locale/iso-639.def: Add Ligurian (lij)
11667
11668 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11669
11670         [BZ #15825]
11671         * sunrpc/rpc_main.c: Document rpcgen -5.
11672
11673 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11674
11675         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11676
11677 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11678
11679         [BZ #10278]
11680         * posix/glob.c: Match only directories when trailing slash is present.
11681         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11682         (main): Add testcase.
11683
11684 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11685
11686         [BZ #15670]
11687         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11688
11689 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11690
11691         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11692         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11693         AUTH_DES and cindex for FIPS 140-2.
11694         (DES Encryption): Add cindex FIPS 46-3.
11695
11696         * locale/locarchive.h (struct locarhandle): Add fname.
11697         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11698         if an optional argument was specified to --list-archive,
11699         otherwise NULL.
11700         * locale/programs/locarchive.c (show_archive_content): Take new
11701         argument fname and pass it via ah.fname to open_archive.
11702         * locale/programs/localedef.h: Update decl.
11703         (open_archive): If AH->fname is non-null, open that file
11704         rather than the default file name, and don't ignore ENOENT.
11705         (create_archive): Set AH.fname to NULL.
11706         (delete_locales_from_archive): Likewise.
11707         (add_locales_to_archive): Likewise.
11708         * locale/programs/locfile.c (write_all_categories): Likewise.
11709
11710 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11711             Aldy Hernandez  <aldyh@redhat.com>
11712
11713         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11714         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11715         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11716         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11717         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11718         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11719         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11720         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11721         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11722         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11723         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11724         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11725         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11726         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11727         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11728         Likewise.
11729         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11730         Likewise.
11731         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11732         Likewise.
11733         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11734         Likewise.
11735         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11736         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11737         Likewise.
11738         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11739         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11740         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11741         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11742         Likewise.
11743         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11744         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11745         * sysdeps/powerpc/preconfigure: Likewise.
11746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11747         Likewise.
11748         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11749         Replace contents of file by #include of <fenv_libc.h>.
11750         * sysdeps/powerpc/soft-fp/sfp-machine.h
11751         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11752         and <sys/prctl.h>.
11753         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11754         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11755         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11756         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11757         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11758         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11760         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11761         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11762         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11763         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11764         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11766         Allow copysignl PLT reference to be missing.
11767
11768 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11769             Joseph Myers  <joseph@codesourcery.com
11770
11771         [BZ #15948]
11772         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11773         single character.
11774         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11775
11776 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11777
11778         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11779         * elf/tst-tls1.c: Likewise.
11780         * elf/tst-tls10.h: Likewise.
11781         * elf/tst-tls14.c: Likewise.
11782         * elf/tst-tls2.c: Likewise.
11783         * elf/tst-tls3.c: Likewise.
11784         * elf/tst-tls4.c: Likewise.
11785         * elf/tst-tls5.c: Likewise.
11786         * elf/tst-tls6.c: Likewise.
11787         * elf/tst-tls7.c: Likewise.
11788         * elf/tst-tls8.c: Likewise.
11789         * elf/tst-tls9.c: Likewise.
11790         * elf/tst-tlsmod1.c: Likewise.
11791         * elf/tst-tlsmod13.c: Likewise.
11792         * elf/tst-tlsmod13a.c: Likewise.
11793         * elf/tst-tlsmod14a.c: Likewise.
11794         * elf/tst-tlsmod16a.c: Likewise.
11795         * elf/tst-tlsmod16b.c: Likewise.
11796         * elf/tst-tlsmod2.c: Likewise.
11797         * elf/tst-tlsmod3.c: Likewise.
11798         * elf/tst-tlsmod4.c: Likewise.
11799         * elf/tst-tlsmod5.c: Likewise.
11800         * elf/tst-tlsmod6.c: Likewise.
11801
11802 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11803
11804         [BZ #12486]
11805         * malloc/malloc.c: remove checks for statistics.
11806
11807 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11808
11809         [BZ #15277]
11810         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11811         * inet/tst-network.c: Add testcase.
11812
11813 2013-10-17  Andreas Schwab  <schwab@suse.de>
11814
11815         [BZ #15218]
11816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11817         to determine canonical name.
11818
11819 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11820
11821         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11822         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11824         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11826         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11827         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11828         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11829         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11830         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11831         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11832         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11833         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11834         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11835         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11836         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11837         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11838         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11839         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11840         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11841         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11842         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11844         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11845         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11846         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11847         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11848         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11849         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11850         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11851         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11852         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11853         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11854         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11855         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11856         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11857         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11858         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11859         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11860         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11861         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11862         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11863         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11864         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11865         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11866         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11867         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11868         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11869         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11870         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11871         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11872         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11873         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11874         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11875         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11876         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11877         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11878         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11879
11880 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11881
11882         [BZ #16041]
11883         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11884         make result into a quiet NaN.
11885
11886 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11887
11888         * soft-fp/adddf3.c: Fix horizontal whitespace.
11889         * soft-fp/addsf3.c: Likewise.
11890         * soft-fp/addtf3.c: Likewise.
11891         * soft-fp/divdf3.c: Likewise.
11892         * soft-fp/divsf3.c: Likewise.
11893         * soft-fp/divtf3.c: Likewise.
11894         * soft-fp/double.h: Likewise.
11895         * soft-fp/eqdf2.c: Likewise.
11896         * soft-fp/eqsf2.c: Likewise.
11897         * soft-fp/eqtf2.c: Likewise.
11898         * soft-fp/extenddftf2.c: Likewise.
11899         * soft-fp/extended.h: Likewise.
11900         * soft-fp/extendsfdf2.c: Likewise.
11901         * soft-fp/extendsftf2.c: Likewise.
11902         * soft-fp/extendxftf2.c: Likewise.
11903         * soft-fp/fixdfdi.c: Likewise.
11904         * soft-fp/fixdfsi.c: Likewise.
11905         * soft-fp/fixdfti.c: Likewise.
11906         * soft-fp/fixsfdi.c: Likewise.
11907         * soft-fp/fixsfsi.c: Likewise.
11908         * soft-fp/fixsfti.c: Likewise.
11909         * soft-fp/fixtfdi.c: Likewise.
11910         * soft-fp/fixtfsi.c: Likewise.
11911         * soft-fp/fixtfti.c: Likewise.
11912         * soft-fp/fixunsdfdi.c: Likewise.
11913         * soft-fp/fixunsdfsi.c: Likewise.
11914         * soft-fp/fixunsdfti.c: Likewise.
11915         * soft-fp/fixunssfdi.c: Likewise.
11916         * soft-fp/fixunssfsi.c: Likewise.
11917         * soft-fp/fixunssfti.c: Likewise.
11918         * soft-fp/fixunstfdi.c: Likewise.
11919         * soft-fp/fixunstfsi.c: Likewise.
11920         * soft-fp/fixunstfti.c: Likewise.
11921         * soft-fp/floatdidf.c: Likewise.
11922         * soft-fp/floatdisf.c: Likewise.
11923         * soft-fp/floatditf.c: Likewise.
11924         * soft-fp/floatsidf.c: Likewise.
11925         * soft-fp/floatsisf.c: Likewise.
11926         * soft-fp/floatsitf.c: Likewise.
11927         * soft-fp/floattidf.c: Likewise.
11928         * soft-fp/floattisf.c: Likewise.
11929         * soft-fp/floattitf.c: Likewise.
11930         * soft-fp/floatundidf.c: Likewise.
11931         * soft-fp/floatundisf.c: Likewise.
11932         * soft-fp/floatunditf.c: Likewise.
11933         * soft-fp/floatunsidf.c: Likewise.
11934         * soft-fp/floatunsisf.c: Likewise.
11935         * soft-fp/floatunsitf.c: Likewise.
11936         * soft-fp/floatuntidf.c: Likewise.
11937         * soft-fp/floatuntisf.c: Likewise.
11938         * soft-fp/floatuntitf.c: Likewise.
11939         * soft-fp/fmadf4.c: Likewise.
11940         * soft-fp/fmasf4.c: Likewise.
11941         * soft-fp/fmatf4.c: Likewise.
11942         * soft-fp/gedf2.c: Likewise.
11943         * soft-fp/gesf2.c: Likewise.
11944         * soft-fp/getf2.c: Likewise.
11945         * soft-fp/ledf2.c: Likewise.
11946         * soft-fp/lesf2.c: Likewise.
11947         * soft-fp/letf2.c: Likewise.
11948         * soft-fp/muldf3.c: Likewise.
11949         * soft-fp/mulsf3.c: Likewise.
11950         * soft-fp/multf3.c: Likewise.
11951         * soft-fp/negdf2.c: Likewise.
11952         * soft-fp/negsf2.c: Likewise.
11953         * soft-fp/negtf2.c: Likewise.
11954         * soft-fp/op-1.h: Likewise.
11955         * soft-fp/op-2.h: Likewise.
11956         * soft-fp/op-4.h: Likewise.
11957         * soft-fp/op-8.h: Likewise.
11958         * soft-fp/op-common.h: Likewise.
11959         * soft-fp/quad.h: Likewise.
11960         * soft-fp/single.h: Likewise.
11961         * soft-fp/soft-fp.h: Likewise.
11962         * soft-fp/sqrtdf2.c: Likewise.
11963         * soft-fp/sqrtsf2.c: Likewise.
11964         * soft-fp/sqrttf2.c: Likewise.
11965         * soft-fp/subdf3.c: Likewise.
11966         * soft-fp/subsf3.c: Likewise.
11967         * soft-fp/subtf3.c: Likewise.
11968         * soft-fp/truncdfsf2.c: Likewise.
11969         * soft-fp/trunctfdf2.c: Likewise.
11970         * soft-fp/trunctfsf2.c: Likewise.
11971         * soft-fp/trunctfxf2.c: Likewise.
11972         * soft-fp/unorddf2.c: Likewise.
11973         * soft-fp/unordsf2.c: Likewise.
11974         * soft-fp/unordtf2.c: Likewise.
11975
11976 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11977
11978         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11979         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11980
11981 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11982
11983         * elf/dl-libc.c: Clear initfini list after freeing.
11984
11985 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11986
11987         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11988         * soft-fp/addsf3.c: Likewise.
11989         * soft-fp/addtf3.c: Likewise.
11990         * soft-fp/divdf3.c: Likewise.
11991         * soft-fp/divsf3.c: Likewise.
11992         * soft-fp/divtf3.c: Likewise.
11993         * soft-fp/double.h: Likewise.
11994         * soft-fp/eqdf2.c: Likewise.
11995         * soft-fp/eqsf2.c: Likewise.
11996         * soft-fp/eqtf2.c: Likewise.
11997         * soft-fp/extenddftf2.c: Likewise.
11998         * soft-fp/extended.h: Likewise.
11999         * soft-fp/extendsfdf2.c: Likewise.
12000         * soft-fp/extendsftf2.c: Likewise.
12001         * soft-fp/extendxftf2.c: Likewise.
12002         * soft-fp/fixdfdi.c: Likewise.
12003         * soft-fp/fixdfsi.c: Likewise.
12004         * soft-fp/fixdfti.c: Likewise.
12005         * soft-fp/fixsfdi.c: Likewise.
12006         * soft-fp/fixsfsi.c: Likewise.
12007         * soft-fp/fixsfti.c: Likewise.
12008         * soft-fp/fixtfdi.c: Likewise.
12009         * soft-fp/fixtfsi.c: Likewise.
12010         * soft-fp/fixtfti.c: Likewise.
12011         * soft-fp/fixunsdfdi.c: Likewise.
12012         * soft-fp/fixunsdfsi.c: Likewise.
12013         * soft-fp/fixunsdfti.c: Likewise.
12014         * soft-fp/fixunssfdi.c: Likewise.
12015         * soft-fp/fixunssfsi.c: Likewise.
12016         * soft-fp/fixunssfti.c: Likewise.
12017         * soft-fp/fixunstfdi.c: Likewise.
12018         * soft-fp/fixunstfsi.c: Likewise.
12019         * soft-fp/fixunstfti.c: Likewise.
12020         * soft-fp/floatdidf.c: Likewise.
12021         * soft-fp/floatdisf.c: Likewise.
12022         * soft-fp/floatditf.c: Likewise.
12023         * soft-fp/floatsidf.c: Likewise.
12024         * soft-fp/floatsisf.c: Likewise.
12025         * soft-fp/floatsitf.c: Likewise.
12026         * soft-fp/floattidf.c: Likewise.
12027         * soft-fp/floattisf.c: Likewise.
12028         * soft-fp/floattitf.c: Likewise.
12029         * soft-fp/floatundidf.c: Likewise.
12030         * soft-fp/floatundisf.c: Likewise.
12031         * soft-fp/floatunsidf.c: Likewise.
12032         * soft-fp/floatunsisf.c: Likewise.
12033         * soft-fp/floatuntidf.c: Likewise.
12034         * soft-fp/floatuntisf.c: Likewise.
12035         * soft-fp/floatuntitf.c: Likewise.
12036         * soft-fp/fmadf4.c: Likewise.
12037         * soft-fp/fmasf4.c: Likewise.
12038         * soft-fp/fmatf4.c: Likewise.
12039         * soft-fp/gedf2.c: Likewise.
12040         * soft-fp/gesf2.c: Likewise.
12041         * soft-fp/getf2.c: Likewise.
12042         * soft-fp/ledf2.c: Likewise.
12043         * soft-fp/lesf2.c: Likewise.
12044         * soft-fp/letf2.c: Likewise.
12045         * soft-fp/muldf3.c: Likewise.
12046         * soft-fp/mulsf3.c: Likewise.
12047         * soft-fp/multf3.c: Likewise.
12048         * soft-fp/negdf2.c: Likewise.
12049         * soft-fp/negsf2.c: Likewise.
12050         * soft-fp/negtf2.c: Likewise.
12051         * soft-fp/op-1.h: Likewise.
12052         * soft-fp/op-2.h: Likewise.
12053         * soft-fp/op-4.h: Likewise.
12054         * soft-fp/op-8.h: Likewise.
12055         * soft-fp/op-common.h: Likewise.
12056         * soft-fp/quad.h: Likewise.
12057         * soft-fp/single.h: Likewise.
12058         * soft-fp/soft-fp.h: Likewise.
12059         * soft-fp/sqrtdf2.c: Likewise.
12060         * soft-fp/sqrtsf2.c: Likewise.
12061         * soft-fp/sqrttf2.c: Likewise.
12062         * soft-fp/subdf3.c: Likewise.
12063         * soft-fp/subsf3.c: Likewise.
12064         * soft-fp/subtf3.c: Likewise.
12065         * soft-fp/truncdfsf2.c: Likewise.
12066         * soft-fp/trunctfdf2.c: Likewise.
12067         * soft-fp/trunctfsf2.c: Likewise.
12068         * soft-fp/trunctfxf2.c: Likewise.
12069         * soft-fp/unorddf2.c: Likewise.
12070         * soft-fp/unordsf2.c: Likewise.
12071         * soft-fp/unordtf2.c: Likewise.
12072
12073 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12074
12075         [BZ #15672]
12076         * misc/error.c (error_tail): Fix possible buffer overflow.
12077
12078 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12079
12080         [BZ #13028]
12081         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12082         address.
12083
12084 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12085
12086         [BZ #832]
12087         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12088         testing pipefail option.
12089
12090 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12091
12092         * soft-fp/double.h: Indent preprocessor directives inside #if.
12093         * soft-fp/extended.h: Likewise.
12094         * soft-fp/op-2.h: Likewise.
12095         * soft-fp/op-4.h: Likewise.
12096         * soft-fp/op-common.h: Likewise.
12097         * soft-fp/quad.h: Likewise.
12098         * soft-fp/single.h: Likewise.
12099         * soft-fp/soft-fp.h: Likewise.
12100
12101 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12102
12103         * iconv/iconv_prog.c: Fix typos.
12104         * stdio-common/psiginfo-data.h: Likewise.
12105
12106 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12107
12108         [BZ #15764]
12109         * locale/setlocale.c: Fix typo.
12110
12111 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12112
12113         [BZ #16036]
12114         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12115         signaling NaN arguments.
12116         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12117         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12118
12119         [BZ #14910]
12120         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12121         unordered operands.
12122         * soft-fp/gesf2.c (__gesf2): Likewise.
12123         * soft-fp/getf2.c (__getf2): Likewise.
12124         * soft-fp/ledf2.c (__ledf2): Likewise.
12125         * soft-fp/lesf2.c (__lesf2): Likewise.
12126         * soft-fp/letf2.c (__letf2): Likewise.
12127
12128         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12129         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12130         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12131         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12132         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12133         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12134         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12135         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12136         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12137         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12138         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12139         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12140         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12141         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12142         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12143         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12144         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12145         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12146         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12147         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12148         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12149         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12150         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12151         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12152         * soft-fp/floattidf.c (__floattidf): Likewise.
12153         * soft-fp/floattisf.c (__floattisf): Likewise.
12154         * soft-fp/floattitf.c (__floattitf): Likewise.
12155         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12156         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12157         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12158         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12159         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12160         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12161         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12162         * soft-fp/gesf2.c (__gesf2): Likewise.
12163         * soft-fp/getf2.c (__getf2): Likewise.
12164         * soft-fp/ledf2.c (__ledf2): Likewise.
12165         * soft-fp/lesf2.c (__lesf2): Likewise.
12166         * soft-fp/letf2.c (__letf2): Likewise.
12167
12168         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12169         Undefine and redefine.
12170         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12171         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12172         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12173         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12174         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12175         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12176         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12177         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12178         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12179         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12180         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12181         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12182         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12183         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12184         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12185
12186         [BZ #16032]
12187         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12188         without decrementing exponent if mantissa >= that for the
12189         denominator, not >.
12190         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12191         denominator, not >.  Decrement exponent in < case instead of
12192         incrementing in >= case.
12193         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12194         without decrementing exponent if mantissa >= that for the
12195         denominator, not >.
12196
12197         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12198         computing saturated result for unsigned overflow.
12199
12200 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12201             Jeff Law  <law@redhat.com>
12202
12203         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12204         (atan2Mp): Add systemtap probe marker.
12205         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12206         (__ieee754_log): Add systemtap probe marker.
12207         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12208         (atanMp): Add systemtap probe marker.
12209         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12210         (tanMp): Add systemtap probe marker.
12211         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12212         (__slowexp): Add systemtap probe marker.
12213         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12214         (__slowpow): Add systemtap probe marker.
12215         * manual/probes.texi: Document probes.
12216
12217 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12218
12219         [BZ #15362]
12220         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12221         written.
12222         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12223         written.
12224         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12225         written to buffer but not flushed.
12226         * libio/iofwrite_u.c:  Likewise.
12227         * libio/iopadn.c:  Return bytes returned even if EOF was
12228         encountered.
12229         * libio/iowpadn.c:  Likewise.
12230         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12231         if _IO_padn does not write the whole buffer.
12232         [!COMPILE_WPRINTF] (PAD): Likewise.
12233
12234 2013-10-10  David S. Miller  <davem@davemloft.net>
12235
12236         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12237         directory block.
12238
12239 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12240
12241         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12242         instead of FSF address.
12243         * soft-fp/fixdfti.c: Likewise.
12244         * soft-fp/fixsfti.c: Likewise.
12245         * soft-fp/fixtfti.c: Likewise.
12246         * soft-fp/fixunsdfti.c: Likewise.
12247         * soft-fp/fixunssfti.c: Likewise.
12248         * soft-fp/fixunstfti.c: Likewise.
12249         * soft-fp/floattidf.c: Likewise.
12250         * soft-fp/floattisf.c: Likewise.
12251         * soft-fp/floattitf.c: Likewise.
12252         * soft-fp/floatuntidf.c: Likewise.
12253         * soft-fp/floatuntisf.c: Likewise.
12254         * soft-fp/floatuntitf.c: Likewise.
12255         * soft-fp/trunctfxf2.c: Likewise.
12256
12257         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12258         * soft-fp/fixdfti.c: Likewise.
12259         * soft-fp/fixsfti.c: Likewise.
12260         * soft-fp/fixtfti.c: Likewise.
12261         * soft-fp/fixunsdfti.c: Likewise.
12262         * soft-fp/fixunssfti.c: Likewise.
12263         * soft-fp/fixunstfti.c: Likewise.
12264         * soft-fp/floattidf.c: Likewise.
12265         * soft-fp/floattisf.c: Likewise.
12266         * soft-fp/floattitf.c: Likewise.
12267         * soft-fp/floatuntidf.c: Likewise.
12268         * soft-fp/floatuntisf.c: Likewise.
12269         * soft-fp/floatuntitf.c: Likewise.
12270         * soft-fp/trunctfxf2.c: Likewise.
12271
12272 2013-10-10  David S. Miller  <davem@davemloft.net>
12273
12274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12275
12276 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12277
12278         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12279         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12280         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12281         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12282         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12283         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12284         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12285
12286         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12287         for NaNs before doing comparisons on argument.
12288         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12289         Likewise.
12290
12291 2013-10-10  Will Newton  <will.newton@linaro.org>
12292
12293         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12294         passed to _int_memalign does not overflow.
12295
12296 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12297
12298         * scripts/bench.pl: Add include-sources directive.
12299         * benchtests/README: Update documentation.
12300
12301 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12302
12303         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12304         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12305         instead of FP_INIT_ROUNDMODE.
12306         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12307         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12308
12309         [BZ #16034]
12310         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12311         copy class of input value.
12312         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12313         not handle exceptions.
12314         * soft-fp/negsf2.c (__negsf2): Likewise.
12315         * soft-fp/negtf2.c (__negtf2): Likewise.
12316         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12317
12318 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12319
12320         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12321         semicolon.  From Linux kernel.
12322
12323 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12324
12325         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12326
12327 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12328
12329         [BZ #156]
12330         * manual/socket.texi: Added statement about buffer
12331         for gethostbyname2_r.
12332
12333 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12334
12335         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12336         Use .p2align directive instead, throughout.
12337         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12338         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12339         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12340         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12341         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12342         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12343         * sysdeps/x86_64/strchr.S: Likewise.
12344         * sysdeps/x86_64/strrchr.S: Likewise.
12345
12346 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12347
12348         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12349
12350         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12351
12352         * sysdeps/generic/math_private.h (__mpsin1): Remove
12353         declaration.
12354         (__mpcos1): Likewise.
12355         (__mpsin): New argument __range_reduce.
12356         (__mpcos): Likewise.
12357         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12358         (slow): Use __mpsin and __mpcos.
12359         (slow1): Likewise.
12360         (slow2): Likewise.
12361         (sloww): Likewise.
12362         (sloww1): Likewise.
12363         (sloww2): Likewise.
12364         (bsloww): Likewise.
12365         (bsloww1): Likewise.
12366         (bsloww2): Likewise.
12367         (cslow2): Likewise.
12368         (csloww): Likewise.
12369         (csloww1): Likewise.
12370         (csloww2): Likewise.
12371         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12372         range_reduce.  Merge in __mpsin1.
12373         (__mpcos): Likewise.
12374         (__mpsin1): Remove.
12375         (__mpcos1): Likewise.
12376
12377 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12378
12379         * locale/loadlocale.c (_nl_intern_locale_data): Use
12380         LOCFILE_ALIGNED_P.
12381         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12382         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12383         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12384         obstack data is appropriately aligned.
12385         (obstack_int32_grow_fast): Likewise.
12386         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12387         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12388         (add_locale_uint32_array): Likewise.
12389
12390 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12391
12392         * benchtests/Makefile: Remove ARGLIST and RET variables.
12393         ($(objpfx)bench-%.c): Pass only function name to the script.
12394         * benchtests/README: Update documentation.
12395         * benchtests/acos-inputs: Add new directives.
12396         * benchtests/acosh-inputs: Likewise.
12397         * benchtests/asin-inputs: Likewise.
12398         * benchtests/asinh-inputs: Likewise.
12399         * benchtests/atan-inputs: Likewise.
12400         * benchtests/atanh-inputs: Likewise.
12401         * benchtests/cos-inputs: Likewise.
12402         * benchtests/cosh-inputs: Likewise.
12403         * benchtests/exp-inputs: Likewise.
12404         * benchtests/log-inputs: Likewise.
12405         * benchtests/pow-inputs: Likewise.
12406         * benchtests/rint-inputs: Likewise.
12407         * benchtests/sin-inputs: Likewise.
12408         * benchtests/sinh-inputs: Likewise.
12409         * benchtests/tan-inputs: Likewise.
12410         * benchtests/tanh-inputs: Likewise.
12411         * scripts/bench.pl: Add support for new directives.
12412
12413 2013-10-07  Alan Modra  <amodra@gmail.com>
12414
12415         * README: Fix careless merge.
12416
12417 2013-10-05  Alan Modra  <amodra@gmail.com>
12418
12419         * NEWS: Mention powerpc64le support and bugs fixed.
12420         * README: Both big-endian and little-endian powerpc64 supported.
12421
12422 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12423
12424         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12425         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12426         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12427         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12428
12429 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12430
12431         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12432         match prototype.
12433
12434 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12435
12436         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12437         Move -mhard-float appending from
12438         ports/sysdeps/powerpc/powerpc32/Makefile.
12439         [$(with-fp) = yes] (ASFLAGS): Likewise.
12440         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12441         * sysdeps/powerpc/nofpu: Move directory from
12442         ports/sysdeps/powerpc/nofpu.
12443         * sysdeps/powerpc/soft-fp: Move directory from
12444         ports/sysdeps/powerpc/soft-fp.
12445         * sysdeps/powerpc/powerpc32/405: Move directory from
12446         ports/sysdeps/powerpc/powerpc32/405.
12447         * sysdeps/powerpc/powerpc32/440: Move directory from
12448         ports/sysdeps/powerpc/powerpc32/440.
12449         * sysdeps/powerpc/powerpc32/464: Move directory from
12450         ports/sysdeps/powerpc/powerpc32/464.
12451         * sysdeps/powerpc/powerpc32/476: Move directory from
12452         ports/sysdeps/powerpc/powerpc32/476.
12453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12454         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12456         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12458         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12460         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12462         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12463         * README: Update for powerpc-*-linux-gnu software floating point
12464         support in libc.
12465
12466         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12467         case to powerpc/powerpc32*.
12468         * sysdeps/unix/sysv/linux/configure: Regenerated.
12469
12470         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12471         (_FPU_MASK_OM): Define as 0x04.
12472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12474         0x00c10080.
12475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12476         0x0000003c.
12477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12478
12479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12480         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12481         getcontext_e500.
12482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12483         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12484         setcontext_e500.
12485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12486         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12487         and setcontext_e500.
12488
12489 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12490
12491         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12492
12493 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12494
12495         * manual/threads.texi (Default Thread Attributes): Fix typo.
12496
12497 2013-10-04  Will Newton  <will.newton@linaro.org>
12498
12499         * malloc/Makefile: Add tst-memalign.
12500         * malloc/tst-memalign.c: New file.
12501
12502         * malloc/tst-posix_memalign.c: Add comments.
12503         (do_test): Add comments and call free on all potentially
12504         allocated pointers. Add space after cast.
12505
12506         * malloc/tst-pvalloc.c: Add comments.
12507         (do_test): Add comments and call free on all potentially
12508         allocated pointers. Remove duplicate check for NULL pointer.
12509         Add space after cast.
12510
12511         * malloc/tst-valloc.c: Add comments.
12512         (do_test): Add comments and call free on all potentially
12513         allocated pointers. Remove duplicate check for NULL pointer.
12514         Add space after cast.
12515
12516 2013-10-04  Alan Modra  <amodra@gmail.com>
12517
12518         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12519         Use stdint types in rather than __attribute__((mode())).
12520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12521
12522 2013-10-04  Alan Modra  <amodra@gmail.com>
12523
12524         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12525         Correct handling of unaligned relocs for little-endian.
12526         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12527
12528 2013-10-04  Alan Modra  <amodra@gmail.com>
12529
12530         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12531         * configure: Regenerate.
12532         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12533         * shlib-versions: Likewise.
12534
12535 2013-10-04  Alan Modra  <amodra@gmail.com>
12536
12537         * string/tester.c (test_memrchr): Increment reported test cycle.
12538
12539 2013-10-04  Alan Modra  <amodra@gmail.com>
12540
12541         * string/test-memcpy.c (do_one_test): When reporting errors, print
12542         string address and don't overrun end of string.
12543
12544 2013-10-04  Alan Modra  <amodra@gmail.com>
12545
12546         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12547         insrdi.  Make better use of reg selection to speed exit slightly.
12548         Schedule entry path a little better.  Remove useless "are we done"
12549         checks on entry to main loop.  Handle wrapping around zero address.
12550         Correct main loop count.  Handle single left-over word from main
12551         loop inline rather than by using loop_small.  Remove extra word
12552         case in loop_small caused by wrong loop count.  Add little-endian
12553         support.
12554         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12555         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12556         cache hint.
12557         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12558         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12559         support.  Avoid rlwimi.
12560         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12561
12562 2013-10-04  Alan Modra  <amodra@gmail.com>
12563
12564         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12565         insrdi.  Formatting.
12566         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12567         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12568         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12569         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12570         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12571         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12572
12573 2013-10-04  Alan Modra  <amodra@gmail.com>
12574
12575         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12576         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12578         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12579         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12580         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12581         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12582         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12583         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12584         use of regs.  Use power7 mtocrf.  Tidy function tails.
12585
12586 2013-10-04  Alan Modra  <amodra@gmail.com>
12587
12588         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12589         Formatting.  Consistently use rXXX register defines or rN defines.
12590         Use early exit labels that avoid restoring unused non-volatile regs.
12591         Make cr field use more consistent with rWORDn compares.  Rename
12592         regs used as shift registers for unaligned loop, using rN defines
12593         for short lifetime/multiple use regs.
12594         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12595         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12596         addi 1,1,64 to pop stack frame.  Simplify return value code.
12597         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12598
12599 2013-10-04  Alan Modra  <amodra@gmail.com>
12600
12601         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12602         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12603         rather than rlwimi.
12604         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12605         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12606         little-endian support.  Correct typos.
12607         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12608         rather than rlwimi.
12609         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12610         in loop and entry code to keep "and." results.
12611         (strchr): Add little-endian support.  Comment.  Move cntlzd
12612         earlier in tail.
12613         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12614
12615 2013-10-04  Alan Modra  <amodra@gmail.com>
12616
12617         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12618         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12619         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12620         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12621
12622 2013-10-04  Alan Modra  <amodra@gmail.com>
12623
12624         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12625         (rTMP): Define as r11.
12626         (strcmp): Add little-endian support.  Optimise tail.
12627         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12628         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12629         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12630         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12631         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12632         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12633         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12634
12635 2013-10-04  Alan Modra  <amodra@gmail.com>
12636
12637         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12638         little-endian support.  Remove unnecessary "are we done" tests.
12639         Handle "s" wrapping around zero and extremely large "size".
12640         Correct main loop count.  Handle single left-over word from main
12641         loop inline rather than by using small_loop.  Correct comments.
12642         Delete "zero" tail, use "end_max" instead.
12643         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12644
12645 2013-10-04  Alan Modra  <amodra@gmail.com>
12646
12647         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12648         support.  Don't branch over align.
12649         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12650         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12651         support.  Rearrange tmp reg use to suit.  Comment.
12652         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12653
12654 2013-10-04  Alan Modra  <amodra@gmail.com>
12655
12656         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12657
12658 2013-10-04  Alan Modra  <amodra@gmail.com>
12659
12660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12661         conditional form of branch and link when obtaining pc.
12662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12663
12664 2013-10-04  Alan Modra  <amodra@gmail.com>
12665
12666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12667         HIWORD/LOWORD.
12668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12670
12671 2013-10-04  Alan Modra  <amodra@gmail.com>
12672
12673         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12674         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12675         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12676         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12677         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12678         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12679         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12680         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12681         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12682         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12683
12684 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12685             Alistair Popple <alistair@ozlabs.au.ibm.com>
12686             Alan Modra <amodra@gmail.com>
12687
12688         [BZ #15723]
12689         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12690         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12691         _dl_hwcap access for little-endian.
12692         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12693         destroy vmx regs when saving unaligned.
12694         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12695         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12696         destroy vmx regs when saving unaligned.
12697
12698 2013-10-04  Alan Modra  <amodra@gmail.com>
12699
12700         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12701         Don't use a union to pack hi/low value.
12702
12703 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12704
12705         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12706         for little-endian.
12707         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12708         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12709         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12710         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12711         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12712
12713 2013-10-04  Alan Modra  <amodra@gmail.com>
12714
12715         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12716         constants to usual value for .cst8 section, and remove redundant
12717         high address load.
12718         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12719         constant for 0x1p52.  Load little-endian words of double from
12720         correct stack offsets.
12721
12722 2013-10-04  Alan Modra  <amodra@gmail.com>
12723
12724         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12725         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12726         words of double from correct stack offsets.
12727         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12728         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12729         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12730         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12731         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12732         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12733         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12734         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12735         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12736         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12737         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12738         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12739         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12740         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12741         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12742         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12743         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12744
12745 2013-10-04  Alan Modra  <amodra@gmail.com>
12746
12747         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12748         64-bit int/double union.
12749         (_FPU_SETCW): Likewise.
12750         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12751         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12752
12753 2013-10-04  Alan Modra  <amodra@gmail.com>
12754
12755         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12756         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12757
12758 2013-10-04  Alan Modra  <amodra@gmail.com>
12759
12760         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12761         use vector int constants.
12762         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12763
12764 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12765
12766         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12767         array with long long.
12768         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12769         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12770         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12771         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12772         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12773         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12774         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12775         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12776         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12777         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12778         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12779         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12780         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12781
12782 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12783
12784         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12785         (__signbit): Likewise.  Correct for little-endian.
12786         (__signbitl): Call __signbit.
12787         (lrint): Correct for little-endian.
12788         (lrintf): Call lrint.
12789
12790 2013-10-04  Alan Modra  <amodra@gmail.com>
12791
12792         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12793         union 32-bit int array member with 64-bit int array.
12794         (t515, tm256): Double rather than long double.
12795         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12796
12797 2013-10-04  Alan Modra  <amodra@gmail.com>
12798
12799         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12800         Delete.
12801         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12802         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12803         version of math_ldbl.h.
12804
12805 2013-10-04  Alan Modra  <amodra@gmail.com>
12806
12807         [BZ #15734], [BZ #15735]
12808         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12809         all uses of ieee875 long double macros and unions.  Simplify test
12810         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12811         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12812         normalize after ldbl_extract_mantissa, and don't add hidden bit
12813         already handled.  Don't treat low word of ieee854 mantissa like
12814         low word of IBM long double and mask off bit when testing for
12815         zero.
12816         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12817         all uses of ieee875 long double macros and unions.  Simplify tests
12818         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12819         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12820         two1022, instead use their values.  Recognise that tests for large
12821         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12822         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12823         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12824         test for 0.0L and nan.  Correct negation.
12825         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12826         ieee875 long double macros and unions.  Correct output for large
12827         magnitude x.  Correct absolute value calculation.
12828         (__erfcl): Likewise.
12829         * math/libm-test.inc: Add tests for errors discovered in IBM long
12830         double versions of fmodl, remainderl, erfl and erfcl.
12831
12832 2013-10-04  Alan Modra  <amodra@gmail.com>
12833
12834         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12835         all uses of ieee854 long double macros and unions.  Simplify tests
12836         for long doubles that are fully specified by the high double.
12837         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12838         Likewise.
12839         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12840         Remove dead code too.
12841         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12842         (__ieee754_ynl): Likewise.
12843         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12844         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12845         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12846         Remove dead code too.
12847         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12848         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12849         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12850         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12851         Simplify.
12852         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12853         Simplify.
12854         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12855         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12856         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12857         Comment on variable precision.
12858         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12859         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12860         Likewise.
12861         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12862         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12863         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12864         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12865         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12866
12867 2013-10-04  Alan Modra  <amodra@gmail.com>
12868
12869         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12870         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12871         all uses of ieee854 long double macros and unions.
12872         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12873         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12874         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12875         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12876         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12877         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12878         Likewise.
12879         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12880         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12881         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12882         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12883         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12884         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12885         Simplify sign and nan test too.
12886         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12887         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12888         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12889         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12890         Likewise.
12891         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12892         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12893         Likewise.
12894         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12895         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12896         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12897         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12898         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12900
12901 2013-10-04  Alan Modra  <amodra@gmail.com>
12902
12903         * stdio-common/printf_size.c (__printf_size): Don't use
12904         union ieee854_long_double in fpnum union.
12905         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12906         signbit macro to retrieve sign from long double.
12907         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12908         retrieve sign from long double.
12909         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12910         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12911         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12912         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12913         * math/test-misc.c (main): Don't use union ieee854_long_double.
12914
12915 2013-10-04  Alan Modra  <amodra@gmail.com>
12916
12917         [BZ #15680]
12918         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12919         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12920         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12921         calculation.  Remove unnecessary test for denormal exponent.
12922         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12923         Correct handling of denormals.  Avoid undefined shift behaviour.
12924         Correct normalisation of low mantissa when low double is denormal.
12925         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12926         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12927         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12928         Correct normalisation of low mantissa.  Test for overflow of high
12929         mantissa and normalise.
12930         (ldbl_nearbyint): Use more readable constant for two52.
12931         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12932         (__mpn_construct_long_double): Fix test for overflow of high
12933         mantissa and correct normalisation.  Avoid undefined shift.
12934
12935 2013-10-04  Alan Modra  <amodra@gmail.com>
12936
12937         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12938         (union ibm_extended_long_double): Define as an array of ieee754_double.
12939         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12940         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12941         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12942         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12943         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12944         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12945         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12946         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12947         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12948         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12949         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12950
12951 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12952
12953         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12954         page size instead of calling getpagesize.
12955
12956         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12957         (LOCFILE_ALIGN_MASK): Likewise.
12958         (LOCFILE_ALIGN_UP): Likewise.
12959         (LOCFILE_ALIGNED_P): Likewise.
12960         * locale/programs/ld-collate.c (collate_output): Use the new
12961         macros instead of __alignof__ (int32_t).
12962         * locale/weight.h (findidx): Likewise.
12963
12964 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12965
12966         [BZ #431]
12967         * manual/string.texi: Fix strncat and wcsncat.
12968
12969 2013-10-03  Brooks Moses  <bmoses@google.com>
12970
12971         [BZ #15915]
12972         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12973         * Makerules: ...here, and adjust associated comments.
12974
12975 2013-10-02  Will Newton  <will.newton@linaro.org>
12976
12977         * malloc/Makefile: Add tst-pvalloc.
12978         * malloc/tst-pvalloc.c: New file.
12979
12980 2013-10-02  Will Newton  <will.newton@linaro.org>
12981
12982         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12983         improve test coverage.
12984
12985 2013-10-02  Will Newton  <will.newton@linaro.org>
12986
12987         * malloc/Makefile: Add tst-posix_memalign.
12988         * malloc/tst-posix_memalign.c: New file.
12989
12990 2013-10-01  Eric Blake  <eblake@redhat.com>
12991
12992         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12993         Use __THROWNL rather than __THROW on static functions.
12994
12995 2013-09-30  Petr Machata  <pmachata@redhat.com>
12996
12997         * elf/elf.h (R_AARCH64_ABS16): New macro.
12998         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12999         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13000         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13001         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13002         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13003         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13004         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13005         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13006         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13007         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13008         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13009         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13010         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13011         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13012         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13013         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13014         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13015         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13016         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13017         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13018         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13019         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13020         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13021         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13022         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13023         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13024         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13025         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13026         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13027         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13028         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13029         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13030         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13031         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13032         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13033         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13034         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13035         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13036         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13037         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13038         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13039         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13040         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13041         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13042         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13043         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13044         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13045         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13046         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13047         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13048         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13049         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13050         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13051         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13052         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13053         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13054         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13055         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13056         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13057         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13058         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13059         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13060         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13061         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13062         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13063         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13064         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13065         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13066         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13067         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13068         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13069         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13070         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13071         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13072         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13073         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13074         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13075         (R_AARCH64_TLSDESC_LDR): Likewise.
13076         (R_AARCH64_TLSDESC_ADD): Likewise.
13077         (R_AARCH64_TLSDESC_CALL): Likewise.
13078
13079 2013-09-30  Andreas Schwab  <schwab@suse.de>
13080
13081         [BZ #15048]
13082         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13083         the nss database lookup.
13084         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13086
13087 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13088
13089         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13090
13091 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13092
13093         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13094         ${Bash-specific parameter/pattern/string} parameter expansion.
13095         * sysdeps/unix/make-syscalls.sh: Likewise.
13096
13097 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13098
13099         * sysdeps/sh/stackguard-macros.h: New file.
13100
13101 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13102
13103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13105         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13106         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13107         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13108         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13109
13110 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13111
13112         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13113         Fix thread ID register.
13114
13115 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13116
13117         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13118         [POSIX || UNIX98]: Require rather than permitting all symbols from
13119         <time.h>.
13120         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13121         element of struct sched_param.
13122         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13123         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13124         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13125         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13126         constant.
13127
13128 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13129
13130         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13131         argument calculation.
13132
13133 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13134
13135         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13136         Expect macro.
13137         [POSIX] (pthread_attr_t): Do not require type.
13138         [POSIX] (pthread_cond_t): Likewise.
13139         [POSIX] (pthread_condattr_t): Likewise.
13140         [POSIX] (pthread_key_t): Likewise.
13141         [POSIX] (pthread_mutex_t): Likewise.
13142         [POSIX] (pthread_mutexattr_t): Likewise.
13143         [POSIX] (pthread_once_t): Likewise.
13144         [POSIX] (pthread_t): Likewise.
13145         [POSIX-based standards] (pthread_atfork): Expect function.
13146
13147 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13148             Richard Sandiford  <richard@codesourcery.com>
13149
13150         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13151         (swap_endianness_p): New extern variable.
13152         (set_big_endian): New inline function.
13153         (maybe_swap_uint32): Likewise.
13154         (maybe_swap_uint32_array): Likewise.
13155         (maybe_swap_uint32_obstack): Likewise.
13156         * locale/programs/locfile.c: Include <stdbool.h>.
13157         (swap_endianness_p): New variable.
13158         (add_locale_uint32): Call maybe_swap_uint32.
13159         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13160         (write_locale_data): Call maybe_swap_uint32_array.
13161         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13162         maybe_swap_uint32.
13163         (obstack_int32_grow_fast): Likewise.
13164         (output_weightwc): Call maybe_swap_uint32_obstack.
13165         (collate_output): Likewise.
13166         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13167         (OPT_LITTLE_ENDIAN): Likewise.
13168         (options): Add --little-endian and --big-endian options.
13169         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13170         * locale/programs/locarchive.c: Include "locfile.h".
13171         (GET): New macro.
13172         (SET): Likewise.
13173         (INC): Likewise.
13174         (create_archive): Use the new macros to access fields of
13175         structures directly mapped from or written to locale archives.
13176         (oldlocrecentcmp): Likewise.
13177         (enlarge_archive): Likewise.
13178         (insert_name): Likewise.
13179         (add_alias): Likewise.
13180         (add_locale): Likewise.
13181         (delete_locales_from_archive): Likewise.
13182         (show_archive_content): Likewise.
13183         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13184         locale data.
13185
13186 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13187
13188         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13189         http://www.gnu.org/doc/freemanuals.texi.
13190         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13191
13192 2013-09-24  Will Newton  <will.newton@linaro.org>
13193
13194         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13195         macro.
13196
13197 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13198
13199         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13200         unsigned char.
13201
13202 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13203
13204         * manual/threads.texi (POSIX Threads): Fix a typo.
13205
13206 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13207
13208         [BZ #14547]
13209         * string/tst-strcoll-overflow.c: New test case.
13210         * string/Makefile (xtests): Add tst-strcoll-overflow.
13211         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13212         cache if string sizes may cause integer overflow.
13213
13214         [BZ #14547]
13215         * string/strcoll_l.c (coll_seq): New members rule, idx,
13216         save_idx and back_us.
13217         (get_next_seq_nocache): New function.
13218         (do_compare_nocache): New function.
13219         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13220         when malloc fails.
13221
13222 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13223
13224         [BZ #15754]
13225         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13226         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13227         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13228
13229         [BZ #15754]
13230         * elf/Makefile (tests): Add tst-ptrguard1.
13231         (tests-static): Add tst-ptrguard1-static.
13232         (tst-ptrguard1-ARGS): Define.
13233         (tst-ptrguard1-static-ARGS): Define.
13234         * elf/tst-ptrguard1.c: New file.
13235         * elf/tst-ptrguard1-static.c: New file.
13236         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13237         * sysdeps/i386/stackguard-macros.h: Likewise.
13238         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13239         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13240         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13241         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13242         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13243         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13244
13245 2013-09-23  Hector Marco  <hecmargi@upv.es>
13246             Ismael Ripoll  <iripoll@disca.upv.es>
13247             Carlos O'Donell  <carlos@redhat.com>
13248
13249         [BZ #15754]
13250         * sysdeps/generic/stackguard-macros.h: Define
13251         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13252         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13253         Define __pointer_chk_guard_local.
13254         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13255         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13256
13257 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13258
13259         [BZ #15859]
13260         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13261
13262 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13263
13264         * include/string.h (__ffs): Declare as hidden.
13265         * string/ffs.c (__ffs): Define as hidden.
13266         * sysdeps/i386/ffs.c (__ffs): Likewise.
13267         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13268         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13269         * sysdeps/s390/ffs.c (__ffs): Likewise.
13270         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13271
13272 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13273
13274         * NEWS: Mention malloc probes.
13275
13276         * malloc/arena.c (new_heap): New memory_heap_new probe.
13277         (grow_heap): New memory_heap_more probe.
13278         (shrink_heap): New memory_heap_less probe.
13279         (heap_trim): New memory_heap_free probe.
13280         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13281         (systrim): New memory_sbrk_less probe.
13282         * manual/probes.texi: Document them.
13283
13284         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13285         * manual/probes.texi: Document it.
13286
13287         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13288         (__libc_realloc): Add memory_realloc_retry probe.
13289         (__libc_memalign): Add memory_memalign_retry probe.
13290         (__libc_valloc): Add memory_valloc_retry probe.
13291         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13292         (__libc_calloc): Add memory_calloc_retry probe.
13293         * manual/probes.texi: Document them.
13294
13295         * malloc/arena.c (get_free_list): Add probe
13296         memory_arena_reuse_free_list.
13297         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13298         and memory_arena_reuse.
13299         (arena_get2) [!PER_THREAD]: Likewise.
13300         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13301         memory_arena_reuse_realloc.
13302         * manual/probes.texi: Document them.
13303
13304         * malloc/malloc.c (__libc_free): Add
13305         memory_mallopt_free_dyn_thresholds probe.
13306         (__libc_mallopt): Add multiple memory_mallopt probes.
13307         * manual/probes.texi: Document them.
13308
13309         * malloc/malloc.c: Include stap-probe.h.
13310         (__libc_mallopt): Add memory_mallopt probe.
13311         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13312         * manual/probes.texi: New.
13313         * manual/Makefile (chapters): Add probes.
13314         * manual/threads.texi: Set next node.
13315
13316 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13317
13318         [BZ #15963, #13985]
13319         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13320         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13321         Add `Chinese' to `nan' entry name.
13322
13323 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13324
13325         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13326         (POLYNOMIAL): Likewise.
13327         (TAYLOR_SINCOS): Likewise.
13328         (TAYLOR_SLOW): Likewise.
13329         (__sin): Use TAYLOR_SINCOS.
13330         (__cos): Likewise.
13331         (slow): Use TAYLOR_SLOW.
13332         (sloww): Likewise.
13333         (bsloww): Likewise.
13334         (csloww): Likewise.
13335
13336 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13337
13338         * stdlib/strtod_l.c: Fix buffer overrun.
13339
13340 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13341
13342         * benchtests/Makefile (bench): Add sincos.
13343         * benchtests/bench-sincos.c: New file.
13344
13345         * math/libm-test.inc (cos_test_data): New test inputs.
13346         (sin_test_data): Likewise.
13347
13348         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13349         macro.
13350         (__sin): Use it.
13351         (__cos): Likewise.
13352         (slow1): Likewise.
13353         (slow2): Likewise.
13354         (sloww1): Likewise.
13355         (sloww2): Likewise.
13356         (bsloww1): Likewise.
13357         (bsloww2): Likewise.
13358         (cslow2): Likewise.
13359         (csloww1): Likewise.
13360         (csloww2): Likewise.
13361
13362         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13363         function.
13364         (__sin): Use it.
13365         (__cos): Likewise.
13366
13367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13368         gotos.
13369         (__cos): Likewise.
13370
13371 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13372
13373         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13374         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13375         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13376         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13377         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13378         * elf/cache.c (print_entry): Handle the new cache flags.
13379
13380 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13381             Aldy Hernandez  <aldyh@redhat.com>
13382
13383         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13384         Change condition to [_SOFT_FLOAT].
13385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13392         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13394         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13397         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13400         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13401         declaration.
13402
13403 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13404
13405         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13406         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13407         (__longjmp): Use LOAD_GP to load saved GPRs.
13408         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13409         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13410         (__sigsetjmp): Use SAVE_GP to save GPRs.
13411
13412         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13413         Do not append -msoft-float.
13414         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13415
13416 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13417
13418         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13419
13420 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13421
13422         [BZ #15966]
13423         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13424         (_FPU_GETCW): Use initial "__" on variable and field names but not
13425         on macro parameter name.
13426         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13427         parentheses around reference to macro parameter.
13428
13429 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13430
13431         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13432         prototype.
13433         (ctype_startup): Use uint32_t in cast and sizeof for
13434         ctype->charnames.
13435
13436 2013-09-11  Jia Liu  <proljc@gmail.com>
13437
13438         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13439         __daddr_t_defined.
13440         [__FreeBSD__]: Likewise.
13441
13442 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13443
13444         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13445         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13446         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13447         (strchr): Remove __strchr_sse42 ifunc selection.
13448         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13449         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13450
13451 2013-09-11  Will Newton  <will.newton@linaro.org>
13452
13453         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13454         parameter to RES. Remove hardcoded 1000 value.
13455         * benchtests/bench-skeleton.c (main): Pass RES parameter
13456         to TIMING_INIT and multiply result by 1000.
13457
13458 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13459
13460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13461
13462 2013-09-11  Andreas Schwab  <schwab@suse.de>
13463
13464         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13465         if not defined.
13466         (O_TMPFILE) [__USE_GNU]: Define.
13467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13468         Define.
13469
13470 2013-09-11  Will Newton  <will.newton@linaro.org>
13471
13472         [BZ #15857]
13473         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13474         does not overflow.
13475
13476 2013-09-11  Will Newton  <will.newton@linaro.org>
13477
13478         [BZ #15856]
13479         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13480         does not overflow.
13481
13482 2013-09-11  Will Newton  <will.newton@linaro.org>
13483
13484         [BZ #15855]
13485         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13486         does not overflow.
13487
13488 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13489
13490         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13491         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13492         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13493         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13494         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13495
13496 2013-09-10  Allan McRae  <allan@archlinux.org>
13497
13498         [BZ #15748]
13499         * manual/arith.texi (Parsing of Floats): Clarify
13500         cross-reference.
13501
13502         [BZ #15849]
13503         * manual/install.texi (Running make install): Mention
13504         --enable-pt-chown.
13505         * INSTALL: Regenerated.
13506
13507 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13508
13509         * csu/init-first.c (_init): Remove the !SHARED condition around
13510         FPU control word initialization.
13511         * elf/dl-support.c (_dl_fpu_control): New variable.
13512         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13513         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13514         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13515         * math/test-fpucw-static.c: New file.
13516         * math/test-fpucw-ieee.c: New file.
13517         * math/test-fpucw-ieee-static.c: New file.
13518         * math/Makefile (tests): Add `test-fpucw-ieee' and
13519         `$(tests-static)'.
13520         (tests-static): New variable.
13521         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13522         dependency to...
13523         [($(build-shared),yes)]
13524         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13525         ... this.
13526         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13527         New dependency.
13528
13529 2013-09-09  Allan McRae  <allan@archlinux.org>
13530
13531         [BZ #15939]
13532         * manual/string.texi (Collation Functions): Fix typo in
13533         strcoll example.
13534         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13535
13536         [BZ #15893]
13537         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13538
13539         [BZ #15892]
13540         * libio/memstream.c (open_memstream): Fix memory leak.
13541         * libio/wmemstream.c (open_wmemstream): Likewise.
13542
13543         [BZ #15895]
13544         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13545
13546 2013-09-09  Will Newton  <will.newton@linaro.org>
13547
13548         * malloc/Makefile: Add tst-realloc to tests.
13549         * malloc/tst-realloc.c: New file.
13550
13551 2013-09-09  Allan McRae  <allan@archlinux.org>
13552
13553         [BZ #15844]
13554         * COPYING: Update from GNU website to fix FSF address.
13555         * COPYING.LIB: Likewise.
13556
13557 2013-09-06  David S. Miller  <davem@davemloft.net>
13558
13559         * po/zh_TW.po: Update Chinese (traditional) translation from
13560         translation project.
13561
13562 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13563             Joseph Myers  <joseph@codesourcery.com>
13564
13565         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13566         "localeinfo.h".
13567         (obstack_chunk_alloc): New macro.
13568         (obstack_chunk_free): Likewise.
13569         (record_offset): New function.
13570         (init_locale_data): Likewise.
13571         (align_locale_data): Likewise.
13572         (add_locale_empty): Likewise.
13573         (add_locale_raw_data): Likewise.
13574         (add_locale_raw_obstack): Likewise.
13575         (add_locale_string): Likewise.
13576         (add_locale_wstring): Likewise.
13577         (add_locale_uint32): Likewise.
13578         (add_locale_uint32_array): Likewise.
13579         (add_locale_char): Likewise.
13580         (start_locale_structure): Likewise.
13581         (end_locale_structure): Likewise.
13582         (start_locale_prelude): Likewise.
13583         (end_locale_prelude): Likewise.
13584         (write_locale_data): Take locale_file structure rather than an
13585         iovec.
13586         * locale/programs/locfile.h: Include "obstack.h".
13587         (struct locale_file): Change to store locale file contents instead
13588         of header.
13589         (init_locale_data): New prototype.
13590         (align_locale_data): Likewise.
13591         (add_locale_empty): Likewise.
13592         (add_locale_raw_data): Likewise.
13593         (add_locale_raw_obstack): Likewise.
13594         (add_locale_string): Likewise.
13595         (add_locale_wstring): Likewise.
13596         (add_locale_uint32): Likewise.
13597         (add_locale_uint32_array): Likewise.
13598         (add_locale_char): Likewise.
13599         (start_locale_structure): Likewise.
13600         (end_locale_structure): Likewise.
13601         (start_locale_prelude): Likewise.
13602         (end_locale_prelude): Likewise.
13603         (write_locale_data): Update prototype.
13604         * locale/programs/3level.h (struct TABLE): Remove result field.
13605         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13606         Use new locale_file interface.
13607         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13608         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13609         * locale/programs/ld-address.c (address_output): Use new
13610         locale_file interface.
13611         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13612         NO_ADD_LOCALE.
13613         (collate_finish): Don't call collseq_table_finalize.
13614         (collate_output): Use new locale_file interface.
13615         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13616         in file.
13617         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13618         (TABLE): Move defines earlier in file.
13619         (ELEMENT): Likewise.
13620         (DEFAULT): Likewise.
13621         (wctrans_table_add): Move macro and inline function earlier in
13622         file.
13623         (struct wctype_table): Move type earlier in file.
13624         (add_locale_wctype_table): New static prototype.
13625         (struct locale_ctype_t): Use logical types instead of struct iovec
13626         pointers for members.
13627         (ctype_output): Use new locale_file interface.
13628         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13629         new locale_file interface.
13630         (allocate_arrays): Update for use of new locale_file interface.
13631         * locale/programs/ld-identification.c (identification_output): Use
13632         new locale_file interface.
13633         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13634         * locale/programs/ld-messages.c (messages_output): Likewise.
13635         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13636         * locale/programs/ld-name.c (name_output): Likewise.
13637         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13638         * locale/programs/ld-paper.c (paper_output): Likewise.
13639         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13640         * locale/programs/ld-time.c (time_output): Likewise.
13641
13642 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13643
13644         * benchtests/Makefile: Add memrchr benchmark.
13645         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13646         benchmark as memrchr.
13647         * benchtests/bench-memrchr-ifunc.c: New file.
13648         * benchtests/bench-memrchr.c: New file.
13649
13650 2013-09-06   Will Newton  <will.newton@linaro.org>
13651
13652         * benchtests/Makefile (string-bench): Add memcpy.
13653
13654 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13655             Cong Wang  <amwang@redhat.com>
13656
13657         [BZ #15850]
13658         * sysdeps/unix/sysv/linux/bits/in.h
13659         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13660         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13661         before __USE_KERNEL_IPV6_DEFS uses.
13662         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13663         IPPROTO_BEETPH.
13664         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13665         sockaddr_in6, or ipv6_mreq.
13666
13667 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13668
13669         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13670         memory access for final bytes in some large inputs.
13671         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13672
13673 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13674
13675         * string/test-memrchr.c: New file.
13676         * string/test-memrchr-ifunc.c: New file.
13677         * string/Makefile: Add new memrchr testcase.
13678
13679 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13680
13681         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13682         fanotify_init returns EPERM.
13683
13684 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13685
13686         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13687         errors.
13688         (top level): Treat second token from macro or constant entries for
13689         allowed headers as allowed.
13690         * include/complex.h: Condition internal declarations on
13691         [!_ISOMAC].
13692         * include/fenv.h: Condition include of <stdbool.h> and internal
13693         declarations on [!_ISOMAC].
13694
13695 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13696
13697         [BZ #15923]
13698         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13699
13700 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13701
13702         * configure.in (--enable-versioning): Remove configure option.
13703         (libc_cv_asm_symver_directive): Remove configure test.
13704         (libc_cv_ld_version_script_option): Likewise.
13705         (VERSIONING): Remove variable and AC_SUBST.
13706         (DO_VERSIONING): Remove AC_DEFINE.
13707         * configure: Regenerated.
13708         * config.h.in (DO_VERSIONING): Remove macro.
13709         * Makerules [$(versioning) = yes]: Change conditionals to
13710         [$(build-shared) = yes].
13711         * config.make.in (versioning): Remove variable.
13712         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13713         [$(build-shared) = yes].
13714         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13715         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13716         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13717         [$(build-shared) = yes].
13718         * extra-lib.mk [$(versioning) = yes]: Likewise.
13719         * hurd/Makefile [$(versioning) = yes]: Likewise.
13720         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13721         [SHARED].
13722         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13723         [SHARED].
13724         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13725         [SHARED && !NO_HIDDEN].
13726         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13727         [SHARED].
13728         [SHARED && DO_VERSIONING]: Likewise..
13729         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13730         [$(build-shared) = yes].
13731         * manual/install.texi (--disable-versioning): Remove
13732         documentation.
13733         * INSTALL: Regenerated.
13734         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13735         to [SHARED].
13736         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13737         [$(build-shared) = yes].
13738         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13739         * sysdeps/i386/i686/multiarch/strstr-c.c
13740         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13741         [SHARED && !NO_HIDDEN].
13742         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13743         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13744         * sysdeps/powerpc/powerpc32/dl-machine.c
13745         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13746         * sysdeps/powerpc/powerpc32/sysdep.h
13747         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13748         to [SHARED && PIC && !NO_HIDDEN].
13749         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13750         conditional to [SHARED].
13751
13752 2013-09-04   Will Newton  <will.newton@linaro.org>
13753
13754         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13755         * benchtests/bench-string.h: Include bench-timing.h instead
13756         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13757         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13758         call to HP_TIMING_DIFF_INIT.
13759         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13760         instead of hp-timing.h macros.
13761         * benchtests/bench-memchr.c: Likewise.
13762         * benchtests/bench-memcmp.c: Likewise.
13763         * benchtests/bench-memcpy.c: Likewise.
13764         * benchtests/bench-memmem.c: Likewise.
13765         * benchtests/bench-memmove.c: Likewise.
13766         * benchtests/bench-memset.c: Likewise.
13767         * benchtests/bench-rawmemchr.c: Likewise.
13768         * benchtests/bench-strcasecmp.c: Likewise.
13769         * benchtests/bench-strcasestr.c: Likewise.
13770         * benchtests/bench-strcat.c: Likewise.
13771         * benchtests/bench-strchr.c: Likewise.
13772         * benchtests/bench-strcmp.c: Likewise.
13773         * benchtests/bench-strcpy.c: Likewise.
13774         * benchtests/bench-strcpy_chk.c: Likewise.
13775         * benchtests/bench-strlen.c: Likewise.
13776         * benchtests/bench-strncasecmp.c: Likewise.
13777         * benchtests/bench-strncat.c: Likewise.
13778         * benchtests/bench-strncmp.c: Likewise.
13779         * benchtests/bench-strncpy.c: Likewise.
13780         * benchtests/bench-strnlen.c: Likewise.
13781         * benchtests/bench-strpbrk.c: Likewise.
13782         * benchtests/bench-strrchr.c: Likewise.
13783         * benchtests/bench-strspn.c: Likewise.
13784         * benchtests/bench-strstr.c: Likewise.
13785
13786 2013-09-04  Will Newton  <will.newton@linaro.org>
13787
13788         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13789
13790 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13791
13792         [BZ #15427]
13793         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13794         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13795         * math/libm-test.inc (lgamma_test_data): Add more tests.
13796         * sysdeps/i386/fpu/libm-test-ulps: Update.
13797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13798
13799 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13800
13801         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13803         Add ifunc.
13804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13805         Add strcmp-sse2-unaligned
13806         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13807
13808 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13809
13810         * Versions.def (libc): Add GLIBC_2.19.
13811
13812 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13813
13814         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13815         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13816
13817 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13818
13819         [BZ #14155]
13820         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13821         intermediate calculations in recurrence.
13822         (__ieee754_ynf): Likewise.
13823         * math/libm-test.inc (jn_test_data): Do not allow spurious
13824         underflow exception.  Add more tests.
13825         (yn_test_data): Add more tests.
13826         * sysdeps/i386/fpu/libm-test-ulps: Update.
13827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13828
13829 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13830
13831         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13832
13833 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13834
13835         * csu/init-first.c: Fix then/than typos.
13836         * locale/programs/ld-collate.c: Likewise.
13837         * locale/programs/linereader.h: Likewise.
13838         * manual/charset.texi: Likewise.
13839         * manual/filesys.texi: Likewise.
13840         * manual/stdio.texi: Likewise.
13841         * manual/string.texi: Likewise.
13842         * stdlib/fmtmsg.c: Likewise.
13843         * sysdeps/i386/stpncpy.S: Likewise.
13844         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13845         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13846         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13847         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13848
13849 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13850
13851         * elf/dl-open.c: Fix typos.
13852         * iconvdata/gbbig5.c: Likewise.
13853         * iconvdata/iso-2022-jp.c: Likewise.
13854         * iconv/gconv_int.h: Likewise.
13855         * iconv/loop.c: Likewise.
13856         * nis/rpcsvc/nis.h: Likewise.
13857         * resolv/ns_name.c: Likewise.
13858         * stdio-common/vfscanf.c: Likewise.
13859         * streams/stropts.h: Likewise.
13860         * sunrpc/rpc_thread.c: Likewise.
13861         * sysdeps/i386/strpbrk.S: Likewise.
13862         * sysdeps/ieee754/k_standard.c: Likewise.
13863         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13864         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13865         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13866         * sysdeps/mach/hurd/profil.c: Likewise.
13867         * sysdeps/s390/dl-procinfo.h: Likewise.
13868         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13869         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13870         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13871         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13872         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13873
13874 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13875
13876         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13877         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13878
13879 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13880
13881         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13882         aix specific files.
13883         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13884         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13885         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13886         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13887         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13888         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13889         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13890         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13891
13892 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13893             Roland McGrath  <roland@hack.frob.com>
13894
13895         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13896         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13897
13898 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13899
13900         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13901         __executable_start symbol instead of _start.
13902
13903 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13904
13905         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13906         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13907         Move macros to...
13908         * sysdeps/gnu/ldsodefs.h: ... this new file.
13909
13910         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13911         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13912         instead of ELFOSABI_LINUX.
13913
13914         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13915         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13916         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13917         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13918         Likewise.
13919         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13920         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13921         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13922         Likewise.
13923         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13924         (ibm_extended_long_double): Add ieee_nan member.
13925         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13926         (do_test): New function.
13927
13928         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13929         TEST_TRUNC.
13930         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13931         functions, renamed from truncdfsf_test, trunctfsf_test,
13932         trunctfdf_test.
13933         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13934         functions.
13935         (do_test): Run all these.
13936
13937 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13938
13939         * argp/argp-help.c: Fix typos.
13940         * argp/argp-parse.c: Likewise.
13941         * debug/backtracesyms.c: Likewise.
13942         * elf/elf.h: Likewise.
13943         * malloc/malloc.c: Likewise.
13944         * nis/nis_print.c: Likewise.
13945         * resolv/res_comp.c: Likewise.
13946         * stdlib/stdlib.h: Likewise.
13947         * sunrpc/clnt_tcp.c: Likewise.
13948         * sunrpc/clnt_udp.c: Likewise.
13949         * sunrpc/clnt_unix.c: Likewise.
13950         * sysdeps/unix/bsd/ptsname.c: Likewise.
13951         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13952         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13954         Likewise.
13955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13956         Likewise.
13957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13958         Likewise.
13959         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13960
13961 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13962
13963         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13965
13966 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13967
13968         [BZ #15897]
13969         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13970         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13971         ($(objpfx)bug-dl-leaf): New rule.
13972         ($(objpfx)bug-dl-leaf.so): Likewise.
13973         ($(objpfx)bug-dl-leaf.out): Likewise.
13974         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13975         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13976         * dlfcn/bug-dl-leaf.c: New test.
13977         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13978         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13979         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13980         (dlclose): Likewise.
13981         (dlmopen): Likewise.
13982
13983 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13984
13985         * include/netdb.h [!_ISOMAC]:
13986         Don't include <tls.h>.
13987         (h_errno, __libc_h_errno): Move declaration and macros out of
13988         [_LIBC_REENTRANT].
13989
13990         * include/resolv.h [_RESOLV_H_]:
13991         Don't include <tls.h>.
13992         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13993         * resolv/res_libc.c: Don't include <tls.h>.
13994         (_res): Use __attribute__ ((nocommon)) in place of
13995         __attribute__ ((section (".bss"))).
13996
13997         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13998         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13999
14000         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14001
14002         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14003         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14004
14005         * resolv/res_mkquery.c: Include <sys/time.h>.
14006
14007         * inet/ifreq.c: Moved to ...
14008         * sysdeps/unix/ifreq.c: ... here.
14009         * inet/ifreq.c: New file, true stub version.
14010
14011         * socket/sa_len.c: New file.
14012         * socket/Makefile (aux): Add it.
14013         * sysdeps/unix/sysv/linux/Makefile
14014         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14015         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14016         and #include <socket/sa_len.c>.
14017         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14018         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14019
14020         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14021         * bits/socket.h: ... here.
14022
14023         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14024         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14025         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14026
14027 2013-08-27  Andreas Schwab  <schwab@suse.de>
14028
14029         [BZ #15736]
14030         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14031         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14032         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14033         * string/test-strcasecmp.c (test_main): Run tests in several
14034         locales.
14035         * string/test-strncasecmp.c (test_main): Likewise.
14036
14037         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14038         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14039         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14040         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14041         (__strncasecmp_ssse3) [PIC]: Likewise.
14042
14043 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14044
14045         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14046
14047         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14048         instead of explicitly declaring xdecrypt.
14049         * nis/nss_nis/nis-publickey.c: Likewise.
14050
14051 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14052
14053         [BZ #15890]
14054         * nscd/aicache.c: Include res_hconf.h.
14055         (addhstaiX): Initialize res_hconf.
14056
14057 2013-08-26  Andreas Schwab  <schwab@suse.de>
14058
14059         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14060         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14061
14062 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14063
14064         * nscd/aicache.c (addhstaiX): Fix indentation.
14065
14066 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14067
14068         * configure.ac: Quote $build_pt_chown test.
14069         * configure: Regenerated.
14070
14071 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14072
14073         [BZ #15532]
14074         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14075         * math/s_cexpf.c (__cexpf): Likewise.
14076         * math/s_cexpl.c (__cexpl): Likewise.
14077         * math/libm-test.inc (cexp_test_data): Correct expected return
14078         value for NaN + i0.  Add another test.
14079
14080 2013-08-22  David S. Miller  <davem@davemloft.net>
14081
14082         * po/ca.po: Update Catalan translation from translation project.
14083         * po/uk.po: Add Ukrainian translations from translation project.
14084
14085 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14086
14087         [BZ #15797]
14088         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14089         is infinite, not alongside NaN test.
14090         * math/s_fdimf.c (__fdimf): Likewise.
14091         * math/s_fdiml.c (__fdiml): Likewise.
14092         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14093         errno is unchanged.
14094
14095 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14096
14097         * argp/argp-help.c: Fix typos.
14098         * crypt/speeds.c: Likewise.
14099         * csu/check_fds.c: Likewise.
14100         * elf/dl-load.c: Likewise.
14101         * elf/dl-open.c: Likewise.
14102         * elf/reldep3.c: Likewise.
14103         * elf/reldep.c: Likewise.
14104         * elf/sprof.c: Likewise.
14105         * iconv/iconv_charmap.c: Likewise.
14106         * iconv/skeleton.c: Likewise.
14107         * iconv/strtab.c: Likewise.
14108         * io/lockf64.c: Likewise.
14109         * libio/libioP.h: Likewise.
14110         * resolv/gai_notify.c: Likewise.
14111         * resolv/ns_name.c: Likewise.
14112         * resolv/ns_samedomain.c: Likewise.
14113         * resolv/res_send.c: Likewise.
14114         * stdlib/random.c: Likewise.
14115         * sunrpc/rpc/xdr.h: Likewise.
14116         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14117         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14118         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14119         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14120         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14121         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14123         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14124         * sysdeps/mach/hurd/check_fds.c: Likewise.
14125         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14126         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14127         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14128         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14129         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14130         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14131         * sysdeps/pthread/aio_notify.c: Likewise.
14132         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14133         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14134         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14135         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14136         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14137
14138 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14139
14140         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14141         version if bit_Slow_SSE4_2 is set.
14142         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14143         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14144
14145 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14146
14147         [BZ #15867]
14148         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14149         trampoline stack frame information.
14150         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14151         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14152         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14153         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14154         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14155         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14156         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14157         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14158         sa_flags value.
14159         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14160         interrupting a syscall and set with option SA_SIGINFO.
14161
14162 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14163
14164         [BZ #15531]
14165         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14166         argument is infinite.
14167         * math/s_cprojf.c (__cprojf): Likewise.
14168         * math/s_cprojl.c (__cprojl): Likewise.
14169         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14170         * math/libm-test.inc (cproj_test_data): Add more tests.
14171
14172         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14173
14174         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14175         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14176         size.  Use __ffs to determine corresponding shift.
14177
14178 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14179             Roland McGrath  <roland@hack.frob.com>
14180
14181         * Makefile (INSTALL): Remove trailing blank lines from output of
14182         makeinfo.
14183
14184 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14185
14186         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14187         Align 32 bit compat elf_greg to 8 bytes.
14188
14189 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14190
14191         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14192
14193 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14194
14195         * string/strcoll_l.c (coll_seq): New structure.
14196         (get_next_seq_cached): New function.
14197         (get_next_seq): New function.
14198         (do_compare): New function.
14199         (STRCOLL): Use GNU style definition.  Simplify implementation
14200         by using get_next_seq, get_next_seq_cached and do_compare.
14201
14202 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14203
14204         [BZ #14699]
14205         CVE-2013-4237
14206         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14207         member.
14208         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14209         member.
14210         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14211         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14212         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14213         conditional.
14214         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14215         GETDENTS_64BIT_ALIGNED.
14216         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14217         * manual/filesys.texi (Reading/Closing Directory): Document
14218         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14219         strongly.
14220         * manual/conf.texi (Limits for Files): Add portability note to
14221         NAME_MAX, PATH_MAX.
14222         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14223
14224 2013-08-13  Andreas Schwab  <schwab@suse.de>
14225
14226         [BZ #15749]
14227         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14228         of fabs.
14229         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14230         LDBL_MAX_EXP >= 16384]: Add tests for it.
14231
14232 2013-08-12  David S. Miller  <davem@davemloft.net>
14233
14234         * version.h (RELEASE): Set to "development".
14235         (VERSION): Set to "2.18.90".
14236         * NEWS: Add 2.19 section.
14237
14238 2013-08-03  David S. Miller  <davem@davemloft.net>
14239
14240         * po/ko.po: Update Korean translation from translation project.
14241
14242 2013-08-01  David S. Miller  <davem@davemloft.net>
14243
14244         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14245         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14246         Bilka.
14247
14248 2013-07-30  David S. Miller  <davem@davemloft.net>
14249
14250         * po/fr.po: Update French translation from translation project.
14251
14252 2013-07-28  David S. Miller  <davem@davemloft.net>
14253
14254         * po/cs.po: Update Czech translation from translation project.
14255
14256         * po/sv.po: Update Swedish translation from translation project.
14257
14258 2013-07-27  David S. Miller  <davem@davemloft.net>
14259
14260         * po/eo.po: Update Esperanto translation from translation project.
14261
14262         * po/vi.po: Update Vietnamese translation from translation project.
14263
14264         * po/de.po: Update German translation from translation project.
14265
14266 2013-07-26  David S. Miller  <davem@davemloft.net>
14267
14268         * po/bg.po: Update Bulgarian translation from translation project.
14269
14270         * po/nl.po: Update Dutch translation from translation project.
14271         * po/pl.po: Update Polish translation from translation project.
14272         * po/ru.po: Update Russian translation from translation project.
14273
14274 2013-07-24  David S. Miller  <davem@davemloft.net>
14275
14276         * po/libc.pot: Update.
14277
14278 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14279
14280         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14281         variable page size.
14282         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14283         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14284         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14285
14286 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14287
14288         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14289
14290 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14291             Andreas Schwab  <schwab@suse.de>
14292             Roland McGrath  <roland@hack.frob.com>
14293             Joseph Myers  <joseph@codesourcery.com>
14294             Carlos O'Donell  <carlos@redhat.com>
14295
14296         [BZ #15755]
14297         * config.h.in: Define HAVE_PT_CHOWN.
14298         * config.make.in (build-pt-chown): New variable.
14299         * configure.in (--enable-pt_chown): New configure option.
14300         * configure: Regenerate.
14301         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14302         build-pt-chown is enabled.
14303         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14304         pt_chown to fix pty ownership.
14305         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14306         CLOSE_ALL_FDS.
14307         * manual/install.texi (Configuring and compiling): Mention
14308         --enable-pt_chown. Add @findex for grantpt.
14309         * INSTALL: Regenerate.
14310
14311 2013-07-20  David S. Miller  <davem@davemloft.net>
14312
14313         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14314         difference between 32-bit and 64-bit.
14315
14316 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14317
14318         [BZ #15711]
14319         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14320         Avoid system header dependency with -ffreestanding.
14321         ($(objpfx)bits/syscall%d): Likewise.
14322
14323 2013-07-13  David S. Miller  <davem@davemloft.net>
14324
14325         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14326         underflows from atanl/atan2l due to bug 15319.
14327         (casinh_test_data): Likewise.
14328
14329 2013-07-07  David S. Miller  <davem@davemloft.net>
14330
14331         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14332
14333 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14334
14335         * sysdeps/i386/fpu/libm-test-ulps: Update.
14336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14337
14338 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14339
14340         * configure.in (--enable-lock-elision): Fix message text.
14341         * INSTALL: Regenerate.
14342         * configure: Regenerate.
14343
14344 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14345
14346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14347
14348 2013-07-03  Andreas Jaeger  <aj@suse.de>
14349
14350         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14351         define.
14352         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14353         (ptrace_peeksiginfo_args): Add.
14354         (__ptrace_peeksiginfo_flags): Add.
14355         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14356         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14357         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14358
14359 2013-07-03  Allan McRae  <allan@archlinux.org>
14360
14361         * sysdeps/i386/fpu/libm-test-ulps: Update.
14362
14363 2013-07-02  David S. Miller  <davem@davemloft.net>
14364
14365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14366
14367 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14368
14369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14370
14371 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14372
14373         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14375
14376 2013-07-02  Andi Kleen <ak@linux.intel.com>
14377
14378         * config.h.in (ENABLE_LOCK_ELISION): Add.
14379         * configure.in (--enable-lock-elision): Add option.
14380         * manual/install.texi: Document --enable lock elision.
14381         * configure: Regenerate
14382         * INSTALL: Regenerate.
14383
14384 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14385
14386         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14387         SSE4.2 strcasecmp for libc.a.
14388         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14389
14390 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14391
14392         [BZ #13304]
14393         * soft-fp/op-common.h (_FP_FMA): New macro.
14394         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14395         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14396         (_FP_MUL_MEAT_1_imm): ... here.
14397         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14398         (_FP_MUL_MEAT_1_wide): ... here.
14399         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14400         (_FP_MUL_MEAT_1_hard): ... here.
14401         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14402         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14403         (_FP_MUL_MEAT_2_wide): ... here.
14404         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14405         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14406         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14407         (_FP_MUL_MEAT_2_gmp): ... here.
14408         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14409         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14410         (_FP_MUL_MEAT_4_wide): ... here.
14411         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14412         (_FP_MUL_MEAT_4_gmp): ... here.
14413         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14414         (_FP_WFRACBITS_DW_S): Likewise.
14415         (_FP_WFRACXBITS_DW_S): Likewise.
14416         (_FP_HIGHBIT_DW_S): Likewise.
14417         (FP_FMA_S): Likewise.
14418         (_FP_FRAC_HIGH_DW_S): Likewise.
14419         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14420         (_FP_WFRACBITS_DW_D): Likewise.
14421         (_FP_WFRACXBITS_DW_D): Likewise.
14422         (_FP_HIGHBIT_DW_D): Likewise.
14423         (FP_FMA_D): Likewise.
14424         (_FP_FRAC_HIGH_DW_D): Likewise.
14425         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14426         (_FP_WFRACBITS_DW_E): Likewise.
14427         (_FP_WFRACXBITS_DW_E): Likewise.
14428         (_FP_HIGHBIT_DW_E): Likewise.
14429         (FP_FMA_E): Likewise.
14430         (_FP_FRAC_HIGH_DW_E): Likewise.
14431         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14432         (_FP_WFRACBITS_DW_Q): Likewise.
14433         (_FP_WFRACXBITS_DW_Q): Likewise.
14434         (_FP_HIGHBIT_DW_Q): Likewise.
14435         (FP_FMA_Q): Likewise.
14436         (_FP_FRAC_HIGH_DW_Q): Likewise.
14437         * soft-fp/fmasf4.c: New file.
14438         * soft-fp/fmadf4.c: Likewise.
14439         * soft-fp/fmatf4.c: Likewise.
14440
14441 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14442
14443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14444         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14445         Silvermont.
14446         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14447         macro.
14448         (index_Slow_SSE4_2): Likewise.
14449         (index_Prefer_PMINUB_for_stringop): Likewise.
14450         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14451         bit_Slow_SSE4_2 is set.
14452         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14453         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14454
14455 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14456
14457         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14458         rtld_global._dl_hwcap2.
14459         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14460         POWER8.
14461         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14462         POWER8 feature descriptions defined in _dl_hwcap2.
14463         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14464         string handling for POWER8 feature bits.
14465         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14466         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14467         _dl_powerpc_cap_flags.
14468         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14469         * sysdeps/powerpc/rtld-global-offsets.sym
14470         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14471         _dl_hwcap2 in the rtld_global_ro structure.
14472
14473 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14474
14475         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14476         hardware capabilities in support of AT_HWCAP2.
14477         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14478         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14479         GLRO(dl_hwcap2).
14480         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14481         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14482         explicitly the unknown a_type display mechanism is used.
14483         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14484         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14485         struct member.
14486         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14487         to macro prototype for AT_HWCAP2 support.
14488         * sysdeps/i386/dl-procinfo.h: Likewise.
14489         * sysdeps/s390/dl-procinfo.h: Likewise.
14490         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14491         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14492         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14493         return -1 for unknown a_type display fallback.
14494         * sysdeps/sparc/dl-procinfo.h: Likewise.
14495         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14496         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14497
14498 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14499
14500         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14501         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14502
14503 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14504
14505         [BZ #12492]
14506         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14507         mprotect making __stack_prot writable.
14508
14509 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14510             Joseph Myers  <joseph@codesourcery.com>
14511
14512         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14513         as being properly aligned.
14514
14515 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14516
14517         * dlfcn/modstatic5.c: New file.
14518         * dlfcn/tststatic5.c: New file.
14519         * dlfcn/Makefile (tests): Add tststatic5.
14520         (tests-static): Likewise.
14521         (modules-names): Add modstatic5.
14522         (tststatic5-ENV): New variable.
14523         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14524
14525         [BZ #15022]
14526         * elf/dl-support.c (_dl_main_map): New variable.
14527         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14528         (_dl_nns, _dl_load_adds): Set to 1.
14529         (_dl_initial_searchlist): Refer to _dl_main_map.
14530         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14531         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14532         call to _dl_get_origin.
14533         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14534         around call_map.
14535         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14536         * dlfcn/modstatic3.c: New file.
14537         * dlfcn/tststatic3.c: New file.
14538         * dlfcn/tststatic4.c: New file.
14539         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14540         (tests-static): Likewise.
14541         (modules-names): Add modstatic3.
14542         (tststatic3-ENV, tststatic4-ENV): New variables.
14543         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14544         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14545
14546 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14547
14548         * configure.in (CC): Require GCC version 4.4 or later.
14549         * configure: Regenerated.
14550         * manual/install.texi (Tools for Compilation): Update GCC version
14551         requirement.
14552         * INSTALL: Regenerated.
14553
14554 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14555
14556         [BZ #15674]
14557         * string/test-memcmp.c (check2): New.
14558         (main): Call check2.
14559
14560         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14561
14562 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14563
14564         [BZ #15022]
14565         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14566         over to...
14567         (dl_open_worker) [!SHARED]: ... here.
14568
14569 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14570
14571         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14572
14573 2013-06-25  Richard Henderson  <rth@redhat.com>
14574
14575         * locale/programs/locarchive.c: Include <libc-internal.h>
14576
14577 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14578
14579         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14580         trailing whitespace removed.
14581
14582 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14583
14584         [BZ #10283]
14585         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14586         * locale/programs/locarchive.c: Include libc-mmap.h.
14587         (prepare_address_space): Take two new outputs (the mmap base and len).
14588         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14589         values.
14590         (create_archive): Declare new mmap base and len values for
14591         prepare_address_space, and store the result in ah.
14592         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14593         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14594         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14595         Declare new mmap base and len values for
14596         prepare_address_space, and store the result in new_ah.
14597         (open_archive): Declare new mmap base and len values for
14598         prepare_address_space, and store the result in ah.
14599         (close_archive): If ah->mmap_base is not NULL, use that and
14600         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14601         * sysdeps/generic/libc-mmap.h: New file.
14602
14603 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14604
14605         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14606         (ALIGN_UP): Likewise.
14607         (PTR_ALIGN_DOWN): Likewise.
14608         (PTR_ALIGN_UP): Likewise.
14609
14610 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14611
14612         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14613         entry mapped to PPC_PLATFORM_POWER8.
14614         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14615         POWER8.
14616         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14617         (_dl_string_platform): Add case for exporting platform position for
14618         POWER8.
14619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14620         search path to sysdeps/powerpc/powerpc32/power8 directory.
14621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14622         search path to sysdeps/powerpc/powerpc64/power8 directory.
14623         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14624         power7 directories.
14625         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14626         power7 directories.
14627
14628 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14629
14630         * INSTALL: Regenerate.
14631
14632         * nscd/connections.c (nscd_init): Fix comment.
14633
14634 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14635
14636         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14637
14638         [BZ #15667]
14639         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14640         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14641
14642 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14643
14644         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14645         DL_DST_REQ_STATIC.
14646         (DL_DST_REQ_STATIC): Remove macro.
14647
14648 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14649
14650         [BZ #7006]
14651         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14652         with a shift of 0 bits.
14653
14654 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14655
14656         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14657         $(tststatic-ENV).
14658
14659 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14660
14661         [BZ #15655]
14662         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14663
14664 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14665
14666         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14667         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14668         accepts -fno-tree-loop-distribute-patterns.
14669         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14670         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14671         recursive call.
14672         * string/memset.c (memset): Likewise.
14673         * string/test-memmove.c (simple_memmove): Disable loop transformation
14674         to library calls.
14675         * string/test-memset.c (simple_memset): Likewise.
14676         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14677         * benchtests/bench-memset.c (simple_memset): Likewise.
14678         * configure: Regenerated.
14679
14680 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14681
14682         * math/test-misc.c (main): Ignore fesetround failure when failures
14683         of subsequent rounding tests would be ignored.
14684
14685         [BZ #15654]
14686         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14687         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14688         * math/fegetenv.c (__fegetenv): Return 0.
14689         * math/fegetexcept.c (fegetexcept): Return 0.
14690         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14691         FE_TONEAREST.
14692         * math/feholdexcpt.c (feholdexcept): Return 0.
14693         * math/fesetenv.c (__fesetenv): Return 0.
14694         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14695         argument FE_TONEAREST.
14696         * math/feupdateenv.c (__feupdateenv): Return 0.
14697         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14698
14699 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14700
14701         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14702         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14703         ($(objpfx)rtld-%.os rules): Use them.
14704
14705 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14706
14707         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14708         fields.
14709
14710 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14711
14712         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14713         length of target pattern, then descending length of dependency pattern.
14714         * configure.in (AWK): Require gawk 3.1.2 or newer.
14715         * manual/install.texi (Tools for Compilation): Say that we do.
14716         * configure: Regenerated.
14717
14718         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14719         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14720         * scripts/sysd-rules.awk: ... this new script.
14721         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14722         than a glob-style pattern.
14723
14724 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14725
14726         * math/test-misc.c (main): Do not treat incorrectly rounded
14727         conversions as failure unless ROUNDING_TESTS passes.
14728
14729 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14730
14731         [BZ #15631]
14732         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14733         restore exception state around main square root computation, then
14734         check for inexactness explicitly.
14735
14736         * math/libm-test.inc (fma_test_data): Add another test.
14737
14738 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14739
14740         * manual/threads.texi (Non-POSIX Extensions): New document
14741         node.  Document pthread_getattr_default_np and
14742         pthread_setattr_default_np.
14743
14744         * Versions.def (libpthread): Add GLIBC_2.18.
14745         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14747         Likewise.
14748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14749         Likewise.
14750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14751         Likewise.
14752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14753         Likewise.
14754         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14755         Likewise.
14756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14757         Likewise.
14758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14759         Likewise.
14760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14761         Likewise.
14762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14763         Likewise.
14764
14765 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14766
14767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14768         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14769
14770 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14771             H.J. Lu  <hjl.tools@gmail.com>
14772
14773         [BZ #15627]
14774         * sysdeps/x86_64/rtld-memset.c: Remove file.
14775         * sysdeps/x86_64/rtld-memset.S: New file.
14776
14777 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14778
14779         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14780         (test_in_one_mode): Take arguments for whether the rounding mode
14781         is supported for each floating-point type.
14782         (do_test): Pass new arguments to test_in_one_mode using
14783         ROUNDING_TESTS.
14784
14785 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14786
14787         * posix/tst-waitid.c (do_test): Distinguish different instances of
14788         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14789         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14790         before entering the kernel for waitpid.
14791
14792 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14793
14794         * NEWS: Fix note on clock function precision.  Text by Roland
14795         McGrath.
14796
14797 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14798
14799         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14800         it into place only when and if the sanity check passes.
14801
14802 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14803
14804         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14805         output for whether conversion result is exact.  Take argument
14806         indicating whether type is IBM long double.
14807         (round_for_all): Change need_exact field to ibm_ld.
14808         * stdlib/tst-strtod-round.c (struct exactness): New type.
14809         (struct test): Change bool ld_ok field to struct exactness exact.
14810         (TEST): Update all definitions for change to field.
14811         (tests): Regenerate array contents.
14812         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14813         field value.  Check for IBM long double here.
14814         (do_test): Update calls to test_in_one_mode.
14815
14816 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14817
14818         [BZ #12515]
14819         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14820         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14821
14822 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14823
14824         [BZ #15605]
14825         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14826         generated by the compiler on loop optimizations.
14827         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14828         general definitions.
14829
14830 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14831
14832         * math/bug-nextafter.c: Include <math-tests.h>.
14833         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14834         the relevant type.
14835         * math/bug-nexttoward.c: Include <math-tests.h>.
14836         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14837         the relevant type.
14838         * math/test-misc.c: Include <math-tests.h>.
14839         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14840         the relevant type.
14841
14842 2013-06-12  Andreas Jaeger  <aj@suse.de>
14843
14844         * po/ia.po: Update Interlingua translation from translation
14845         project.
14846
14847 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14848
14849         * include/fenv.h: Include stdbool.h.
14850         (struct rm_ctx): New structure.
14851         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14852         Define macro.
14853         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14854         (SET_RESTORE_ROUNDF): Likewise.
14855         (SET_RESTORE_ROUNDL): Likewise.
14856         (SET_RESTORE_ROUND_NOEX): Likewise.
14857         (SET_RESTORE_ROUND_NOEXF): Likewise.
14858         (SET_RESTORE_ROUND_NOEXL): Likewise.
14859         (SET_RESTORE_ROUND_53BIT): Likewise.
14860         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14861         (libc_feresetround_noexf_ctx): Likewise.
14862         (libc_feresetround_noexl_ctx): Likewise.
14863         (libc_feholdsetround_53bit_ctx): Likewise.
14864         (libc_feresetround_53bit_ctx): Likewise.
14865         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14866         (libc_feholdexcept_setround_sse_ctx): New function.
14867         (libc_fesetenv_sse_ctx): Likewise.
14868         (libc_feupdateenv_sse_ctx): Likewise.
14869         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14870         (libc_feholdexcept_setround_387_ctx): Likewise.
14871         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14872         (libc_feholdsetround_387_prec_ctx): Likewise.
14873         (libc_feholdsetround_387_ctx): Likewise.
14874         (libc_feholdsetround_387_53bit_ctx): Likewise.
14875         (libc_feholdsetround_sse_ctx): Likewise.
14876         (libc_feresetround_sse_ctx): Likewise.
14877         (libc_feresetround_387_ctx): Likewise.
14878         (libc_feupdateenv_387_ctx): Likewise.
14879         (libc_feholdexcept_setroundf_ctx): Define macro.
14880         (libc_fesetenvf_ctx): Likewise.
14881         (libc_feupdateenvf_ctx): Likewise.
14882         (libc_feholdsetroundf_ctx): Likewise.
14883         (libc_feresetroundf_ctx): Likewise.
14884         (libc_feholdexcept_setround_ctx): Likewise.
14885         (libc_fesetenv_ctx): Likewise.
14886         (libc_feupdateenv_ctx): Likewise.
14887         (libc_feholdsetround_ctx): Likewise.
14888         (libc_feresetround_ctx): Likewise.
14889         (libc_feholdexcept_setroundl_ctx): Likewise.
14890         (libc_feupdateenvl_ctx): Likewise.
14891         (libc_feholdsetroundl_ctx): Likewise.
14892         (libc_feresetroundl_ctx): Likewise.
14893         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14894         (libc_feresetround_53bit_ctx): Likewise.
14895
14896 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14897
14898         * locale/iso-639.def: Convert to UTF-8.
14899
14900 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14901
14902         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14903         (EXCEPTION_TESTS_double): Likewise.
14904         (EXCEPTION_TESTS_long_double): Likewise.
14905         (EXCEPTION_TESTS): Likewise.
14906         * math/libm-test.inc (test_exceptions): Only test exceptions if
14907         EXCEPTION_TESTS (FLOAT).
14908
14909 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14910
14911         * benchtests/Makefile (string-bench): Add strcpy_chk and
14912         stpcpy_chk.
14913         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14914         * benchtests/bench-stpcpy_chk.c: New file.
14915         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14916         * benchtests/bench-strcpy_chk.c: New file.
14917         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14918         code.
14919         (do_test): Likewise.
14920
14921 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14922
14923         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14924         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14925         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14926         with tabs where appropriate.
14927         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14928         dl-procinfo.h.
14929         [PPC_PLATFORM_PPC440]: Likewise.
14930         [PPC_PLATFORM_PPC464]: Likewise.
14931         [PPC_PLATFORM_PPC476]: Likewise.
14932         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14933         ppc464, and ppc476 platform strings merging from ports/
14934         dl-procinfo.h.
14935
14936 2013-06-11  Andreas Schwab  <schwab@suse.de>
14937
14938         [BZ #14991]
14939         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14940         (from_ucs4_idx): Regenerate.
14941         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14942         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14943         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14944         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14945         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14946         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14947         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14948         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14949         from FROM_LOOP and TO_LOOP specific macros.
14950         (BODY): Handle combining characters.
14951         * iconvdata/BIG5HKSCS.irreversible: Update.
14952         * iconvdata/BIG5HKSCS.precomposed: New file.
14953         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14954         characters.
14955         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14956
14957 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14958
14959         * include/sys/time.h: Fix indentation and add copyright header.
14960
14961         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14962         (do_test): Likewise.
14963         * string/test-memchr.c (do_one_test): Likewise.
14964         (do_test): Likewise.
14965         * string/test-memcmp.c (do_one_test): Likewise.
14966         (do_test): Likewise.
14967         * string/test-memcpy.c (do_one_test): Likewise.
14968         (do_test): Likewise.
14969         * string/test-memmem.c (do_one_test): Likewise.
14970         (do_test): Likewise.
14971         (do_random_tests): Likewise.
14972         * string/test-memmove.c (do_one_test): Likewise.
14973         (do_test): Likewise.
14974         * string/test-memset.c (do_one_test): Likewise.
14975         (do_test): Likewise.
14976         * string/test-rawmemchr.c (do_one_test): Likewise.
14977         (do_test): Likewise.
14978         * string/test-strcasecmp.c (do_one_test): Likewise.
14979         (do_test): Likewise.
14980         * string/test-strcasestr.c (do_one_test): Likewise.
14981         (do_test): Likewise.
14982         * string/test-strcat.c (do_one_test): Likewise.
14983         (do_test): Likewise.
14984         * string/test-strchr.c (do_one_test): Likewise.
14985         (do_test): Likewise.
14986         * string/test-strcmp.c (do_one_test): Likewise.
14987         (do_test): Likewise.
14988         * string/test-strcpy.c (do_one_test): Likewise.
14989         (do_test): Likewise.
14990         * string/test-string.h: Likewise.
14991         (test_init): Likewise.
14992         * string/test-strlen.c (do_one_test): Likewise.
14993         (do_test): Likewise.
14994         * string/test-strncasecmp.c (do_one_test): Likewise.
14995         (do_test): Likewise.
14996         * string/test-strncat.c (do_one_test): Likewise.
14997         (do_test): Likewise.
14998         * string/test-strncmp.c (do_one_test): Likewise.
14999         (do_test_limit): Likewise.
15000         (do_test): Likewise.
15001         * string/test-strncpy.c (do_one_test): Likewise.
15002         (do_test): Likewise.
15003         * string/test-strnlen.c (do_one_test): Likewise.
15004         (do_test): Likewise.
15005         * string/test-strpbrk.c (do_one_test): Likewise.
15006         (do_test): Likewise.
15007         * string/test-strrchr.c (do_one_test): Likewise.
15008         (do_test): Likewise.
15009         * string/test-strspn.c (do_one_test): Likewise.
15010         (do_test): Likewise.
15011         * string/test-strstr.c (do_one_test): Likewise.
15012         (do_test): Likewise.
15013
15014         * benchtests/Makefile (string-bench): Add string benchmarks.
15015         * benchtests/bench-bcopy-ifunc.c: New file.
15016         * benchtests/bench-bcopy.c: New file.
15017         * benchtests/bench-bzero-ifunc.c: New file.
15018         * benchtests/bench-bzero.c: New file.
15019         * benchtests/bench-memccpy-ifunc.c: New file.
15020         * benchtests/bench-memccpy.c: New file.
15021         * benchtests/bench-memchr-ifunc.c: New file.
15022         * benchtests/bench-memchr.c: New file.
15023         * benchtests/bench-memcmp-ifunc.c: New file.
15024         * benchtests/bench-memcmp.c: New file.
15025         * benchtests/bench-memmem-ifunc.c: New file.
15026         * benchtests/bench-memmem.c: New file.
15027         * benchtests/bench-memmove-ifunc.c: New file.
15028         * benchtests/bench-memmove.c: New file.
15029         * benchtests/bench-mempcpy-ifunc.c: New file.
15030         * benchtests/bench-mempcpy.c: New file.
15031         * benchtests/bench-memset-ifunc.c: New file.
15032         * benchtests/bench-memset.c: New file.
15033         * benchtests/bench-rawmemchr-ifunc.c: New file.
15034         * benchtests/bench-rawmemchr.c: New file.
15035         * benchtests/bench-stpcpy-ifunc.c: New file.
15036         * benchtests/bench-stpcpy.c: New file.
15037         * benchtests/bench-stpncpy-ifunc.c: New file.
15038         * benchtests/bench-stpncpy.c: New file.
15039         * benchtests/bench-strcasecmp-ifunc.c: New file.
15040         * benchtests/bench-strcasecmp.c: New file.
15041         * benchtests/bench-strcasestr-ifunc.c: New file.
15042         * benchtests/bench-strcasestr.c: New file.
15043         * benchtests/bench-strcat-ifunc.c: New file.
15044         * benchtests/bench-strcat.c: New file.
15045         * benchtests/bench-strchr-ifunc.c: New file.
15046         * benchtests/bench-strchr.c: New file.
15047         * benchtests/bench-strchrnul-ifunc.c: New file.
15048         * benchtests/bench-strchrnul.c: New file.
15049         * benchtests/bench-strcmp-ifunc.c: New file.
15050         * benchtests/bench-strcmp.c: New file.
15051         * benchtests/bench-strcpy-ifunc.c: New file.
15052         * benchtests/bench-strcpy.c: New file.
15053         * benchtests/bench-strcspn-ifunc.c: New file.
15054         * benchtests/bench-strcspn.c: New file.
15055         * benchtests/bench-strlen-ifunc.c: New file.
15056         * benchtests/bench-strlen.c: New file.
15057         * benchtests/bench-strncasecmp-ifunc.c: New file.
15058         * benchtests/bench-strncasecmp.c: New file.
15059         * benchtests/bench-strncat-ifunc.c: New file.
15060         * benchtests/bench-strncat.c: New file.
15061         * benchtests/bench-strncmp-ifunc.c: New file.
15062         * benchtests/bench-strncmp.c: New file.
15063         * benchtests/bench-strncpy-ifunc.c: New file.
15064         * benchtests/bench-strncpy.c: New file.
15065         * benchtests/bench-strnlen-ifunc.c: New file.
15066         * benchtests/bench-strnlen.c: New file.
15067         * benchtests/bench-strpbrk-ifunc.c: New file.
15068         * benchtests/bench-strpbrk.c: New file.
15069         * benchtests/bench-strrchr-ifunc.c: New file.
15070         * benchtests/bench-strrchr.c: New file.
15071         * benchtests/bench-strspn-ifunc.c: New file.
15072         * benchtests/bench-strspn.c: New file.
15073         * benchtests/bench-strstr-ifunc.c: New file.
15074         * benchtests/bench-strstr.c: New file.
15075
15076         * benchtests/Makefile: Disable parallel execution of targets.
15077         (string-bench): Add memcpy.
15078         (benchset): New variable to store a list of benchmark sets.
15079         (bench-func): Renamed from bench.
15080         (bench-set): New target.
15081         (bench): Depend on bench-func and bench-set.
15082         * benchtests/README: Add section on benchmark sets.
15083         * benchtests/bench-memcpy-ifunc.c: New file.
15084         * benchtests/bench-memcpy.c: New file.
15085         * benchtests/bench-string.h: New file.
15086
15087 2013-06-11  Andreas Schwab  <schwab@suse.de>
15088
15089         [BZ #15577]
15090         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15091         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15092         values in the triple.
15093         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15094         terminator in the group key.
15095
15096 2013-06-11  Andreas Jaeger  <aj@suse.de>
15097
15098         * po/zh_TW.po: Update Chinese (traditional) translation from
15099         translation project.
15100
15101 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15102
15103         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15104         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15105         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15106         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15107         (clock_getcpuclockid): Likewise.
15108         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15109         Add weak_alias and libc_hidden_def.
15110         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15111         * rt/clock_gettime.c (clock_gettime): Rename to
15112         __clock_gettime.  Add weak_alias and libc_hidden_def.
15113         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15114         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15115         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15116         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15117         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15118         Likewise.
15119         * rt/clock_settime.c (clock_settime): Rename to
15120         __clock_settime.  Add weak_alias and libc_hidden_def.
15121         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15122
15123 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15124
15125         * mach/err_boot.sub: Remove trailing whitespace.
15126         * mach/err_ipc.sub: Likewise.
15127         * mach/err_mach.sub: Likewise.
15128
15129         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15130         (ROUNDING_TESTS_double): Likewise.
15131         (ROUNDING_TESTS_long_double): Likewise.
15132         (ROUNDING_TESTS): Likewise.
15133         * math/libm-test.inc: Include <math-tests.h>.
15134         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15135         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15136         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15137         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15138
15139 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15140
15141         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15142         of assigning.
15143
15144 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15145
15146         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15147         otherwise empty TRANS lines.
15148         * sysdeps/gnu/errlist.c: Regenerated.
15149
15150         * catgets/gencat.c (error_print): Use (void) in function
15151         definition.
15152         * crypt/crypt_util.c (__init_des): Likewise.
15153         * crypt/speeds.c (Stop): Likewise.
15154         (main): Likewise.
15155         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15156         * inet/ruserpass.c (token): Likewise.
15157         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15158         * intl/localealias.c (extend_alias_table): Likewise.
15159         * intl/plural-exp.c (init_germanic_plural): Likewise.
15160         * libio/fcloseall.c (__fcloseall): Likewise.
15161         * libio/genops.c (_IO_flush_all): Likewise.
15162         (_IO_flush_all_linebuffered): Likewise.
15163         (_IO_cleanup): Likewise.
15164         (_IO_iter_begin): Likewise.
15165         (_IO_iter_end): Likewise.
15166         (_IO_list_lock): Likewise.
15167         (_IO_list_unlock): Likewise.
15168         (_IO_list_resetlock): Likewise.
15169         * libio/getchar.c (getchar): Likewise.
15170         * libio/getchar_u.c (getchar_unlocked): Likewise.
15171         * libio/getwchar.c (getwchar): Likewise.
15172         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15173         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15174         * login/getpt.c (__getpt): Likewise.
15175         * login/tst-utmp.c (main): Likewise.
15176         * malloc/hooks.c (__malloc_check_init): Likewise.
15177         * malloc/malloc.c (__malloc_stats): Likewise.
15178         * malloc/mtrace.c (tr_break): Likewise.
15179         (mtrace): Likewise.
15180         (muntrace): Likewise.
15181         * misc/fstab.c (endfsent): Likewise.
15182         * misc/getclktck.c (__getclktck): Likewise.
15183         * misc/getdtsz.c (__getdtablesize): Likewise.
15184         * misc/gethostid.c (gethostid): Likewise.
15185         * misc/getpagesize.c (__getpagesize): Likewise.
15186         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15187         (__get_nprocs): Likewise.
15188         (__get_phys_pages): Likewise.
15189         (__get_avphys_pages): Likewise.
15190         * misc/getttyent.c (getttyent): Likewise.
15191         (setttyent): Likewise.
15192         (endttyent): Likewise.
15193         * misc/getusershell.c (getusershell): Likewise.
15194         (endusershell): Likewise.
15195         (setusershell): Likewise.
15196         (initshells): Likewise.
15197         * misc/hsearch.c (__hdestroy): Likewise.
15198         * misc/sync.c (sync): Likewise.
15199         * misc/syslog.c (closelog_internal): Likewise.
15200         (closelog): Likewise.
15201         * misc/ttyslot.c (ttyslot): Likewise.
15202         * misc/vhangup.c (vhangup): Likewise.
15203         * posix/fork.c (__fork): Likewise.
15204         * posix/getegid.c (__getegid): Likewise.
15205         * posix/geteuid.c (__geteuid): Likewise.
15206         * posix/getgid.c (__getgid): Likewise.
15207         * posix/getpid.c (__getpid): Likewise.
15208         * posix/getppid.c (__getppid): Likewise.
15209         * posix/getuid.c (__getuid): Likewise.
15210         * posix/pause.c (pause): Likewise.
15211         * posix/setpgrp.c (setpgrp): Likewise.
15212         * posix/setsid.c (__setsid): Likewise.
15213         * posix/test-vfork.c (noop): Likewise.
15214         * resolv/gethnamaddr.c (_endhtent): Likewise.
15215         (_gethtent): Likewise.
15216         (ht_endhostent): Likewise.
15217         (gethostent): Likewise.
15218         (dns_service): Likewise.
15219         * stdlib/drand48.c (drand48): Likewise.
15220         * stdlib/lrand48.c (lrand48): Likewise.
15221         * stdlib/mrand48.c (mrand48): Likewise.
15222         * stdlib/rand.c (rand): Likewise.
15223         * stdlib/random.c (__random): Likewise.
15224         * stdlib/setenv.c (clearenv): Likewise.
15225         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15226         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15227         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15228         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15229         (__get_nprocs): Likewise.
15230         (__get_phys_pages): Likewise.
15231         (__get_avphys_pages): Likewise.
15232         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15233         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15234         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15235         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15236         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15237         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15238         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15239         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15240         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15241         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15242         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15243         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15244         * sysdeps/posix/clock.c (clock): Likewise.
15245         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15246         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15247         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15248         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15249         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15250         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15251         (__get_nprocs_conf): Likewise.
15252         (__get_phys_pages): Likewise.
15253         (__get_avphys_pages): Likewise.
15254         * time/clock.c (clock): Likewise.
15255         * time/tzset.c (__tzname_max): Likewise.
15256
15257 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15258
15259         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15260         (__bswap_32): Do not use "register".
15261         * crypt/crypt.c (_ufc_doit_r): Likewise.
15262         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15263         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15264         * gmon/gmon.c (__monstartup): Likewise.
15265         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15266         * hurd/hurdmalloc.c (more_memory): Likewise.
15267         (malloc): Likewise.
15268         (free): Likewise.
15269         (realloc): Likewise.
15270         (malloc_fork_prepare): Likewise.
15271         (malloc_fork_parent): Likewise.
15272         (malloc_fork_child): Likewise.
15273         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15274         (_svcauth_des): Likewise.
15275         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15276         * inet/inet_net.c (inet_network): Likewise.
15277         * inet/inet_netof.c (inet_netof): Likewise.
15278         * inet/rcmd.c (__validuser2_sa): Likewise.
15279         * io/fts.c (fts_open): Likewise.
15280         (fts_load): Likewise.
15281         (fts_close): Likewise.
15282         (fts_read): Likewise.
15283         (fts_children): Likewise.
15284         (fts_build): Likewise.
15285         (fts_stat): Likewise.
15286         (fts_sort): Likewise.
15287         (fts_alloc): Likewise.
15288         (fts_lfree): Likewise.
15289         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15290         (_IO_file_xsgetn): Likewise.
15291         (_IO_file_xsgetn_mmap): Likewise.
15292         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15293         (_IO_cookie_write): Likewise.
15294         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15295         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15296         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15297         * malloc/obstack.c (_obstack_begin): Likewise.
15298         (_obstack_begin_1): Likewise.
15299         (_obstack_newchunk): Likewise.
15300         (_obstack_allocated_p): Likewise.
15301         (obstack_free): Likewise.
15302         (_obstack_memory_used): Likewise.
15303         * misc/getttyent.c (getttynam): Likewise.
15304         (getttyent): Likewise.
15305         (skip): Likewise.
15306         (value): Likewise.
15307         * misc/getusershell.c (initshells): Likewise.
15308         * misc/syslog.c (__vsyslog_chk): Likewise.
15309         * misc/ttyslot.c (ttyslot): Likewise.
15310         * nis/nis_hash.c (__nis_hash): Likewise.
15311         * posix/fnmatch_loop.c (FCT): Likewise.
15312         * posix/getconf.c (print_all): Likewise.
15313         (main): Likewise.
15314         * posix/getopt.c (exchange): Likewise.
15315         * posix/glob.c (globfree): Likewise.
15316         (prefix_array): Likewise.
15317         (__glob_pattern_type): Likewise.
15318         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15319         (NS_GET32): Likewise.
15320         (NS_PUT16): Likewise.
15321         (NS_PUT32): Likewise.
15322         * resolv/gethnamaddr.c (getanswer): Likewise.
15323         (gethostbyname2): Likewise.
15324         (gethostbyaddr): Likewise.
15325         (_gethtent): Likewise.
15326         (_gethtbyname2): Likewise.
15327         (_gethtbyaddr): Likewise.
15328         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15329         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15330         * resolv/res_init.c (__res_vinit): Likewise.
15331         (net_mask): Likewise.
15332         * resolv/res_mkquery.c (outchar): Likewise.
15333         (PRINT): Likewise.
15334         * stdio-common/printf_fp.c (outchar): Likewise.
15335         (PRINT): Likewise.
15336         * stdio-common/printf_fphex.c (outchar): Likewise.
15337         (PRINT): Likewise.
15338         * stdio-common/printf_size.c (outchar): Likewise.
15339         (PRINT): Likewise.
15340         * stdio-common/test_rdwr.c (main): Likewise.
15341         * stdio-common/tfformat.c (matches): Likewise.
15342         * stdio-common/vfprintf.c (outchar): Likewise.
15343         (printf_unknown): Likewise.
15344         (buffered_vfprintf): Likewise.
15345         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15346         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15347         (ReadFile): Likewise.
15348         * stdlib/qsort.c (SWAP): Likewise.
15349         (_quicksort): Likewise.
15350         * stdlib/setenv.c (__add_to_environ): Likewise.
15351         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15352         * stdlib/strtol_l.c (__strtol_l): Likewise.
15353         * stdlib/tst-strtod.c (main): Likewise.
15354         * stdlib/tst-strtol.c (main): Likewise.
15355         * stdlib/tst-strtoll.c (main): Likewise.
15356         * string/bits/string2.h (__strcmp_cc): Likewise.
15357         (__strcmp_cg): Likewise.
15358         (__strcspn_c1): Likewise.
15359         (__strcspn_c2): Likewise.
15360         (__strcspn_c3): Likewise.
15361         (__strspn_c1): Likewise.
15362         (__strspn_c2): Likewise.
15363         (__strspn_c3): Likewise.
15364         (__strsep_1c): Likewise.
15365         (__strsep_2c): Likewise.
15366         (__strsep_3c): Likewise.
15367         * string/memccpy.c (__memccpy): Likewise.
15368         * string/stpcpy.c (__stpcpy): Likewise.
15369         * string/strcmp.c (strcmp): Likewise.
15370         * string/strrchr.c (strrchr): Likewise.
15371         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15372         Likewise.
15373         * sysdeps/mach/hurd/getcwd.c
15374         (_hurd_canonicalize_directory_name_internal): Likewise.
15375         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15376         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15377         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15378         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15379         Likewise, in both definitions.
15380         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15381         definitions.
15382         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15383         64] (__bswap_64): Likewise.
15384         * time/test_time.c (main): Likewise.
15385         * time/tzfile.c (__tzfile_read): Likewise.
15386         (__tzfile_compute): Likewise.
15387         * time/tzset.c (__tzset_parse_tz): Likewise.
15388         (tzset_internal): Likewise.
15389         (compute_change): Likewise.
15390         * wcsmbs/wcscat.c (__wcscat): Likewise.
15391         * wcsmbs/wcschr.c (wcschr): Likewise.
15392         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15393         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15394         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15395         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15396         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15397         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15398         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15399         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15400         * wcsmbs/wmemset.c (wmemset): Likewise.
15401
15402 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15403
15404         * scripts/config.guess: Update to version 2013-05-16.
15405         * scripts/config.sub: Update to version 2013-04-24.
15406         * scripts/install-sh: Update to version 2011-11-20.07.
15407         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15408         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15409
15410 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15411
15412         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15413         * elf/sln.c: Likewise.
15414         * hurd/hurd/ioctl.h: Likewise.
15415         * hurd/hurdmalloc.c: Likewise.
15416         * hurd/xattr.c: Likewise.
15417         * include/shlib-compat.h: Likewise.
15418         * inet/ruserpass.c: Likewise.
15419         * libio/iofgets_u.c: Likewise.
15420         * libio/iofgetws_u.c: Likewise.
15421         * locale/programs/ld-identification.c: Likewise.
15422         * locale/programs/ld-time.c: Likewise.
15423         * mach/msg-destroy.c: Likewise.
15424         * nss/nss_files/files-netgrp.c: Likewise.
15425         * resolv/res_data.c: Likewise.
15426         * soft-fp/op-1.h: Likewise.
15427         * soft-fp/op-2.h: Likewise.
15428         * soft-fp/op-4.h: Likewise.
15429         * soft-fp/op-common.h: Likewise.
15430         * stdio-common/printf_fphex.c: Likewise.
15431         * stdlib/strtod_l.c: Likewise.
15432         * sunrpc/rpc/clnt.h: Likewise.
15433         * sysdeps/generic/framestate.c: Likewise.
15434         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15435         * sysdeps/i386/bsd-setjmp.S: Likewise.
15436         * sysdeps/i386/__longjmp.S: Likewise.
15437         * sysdeps/i386/setjmp.S: Likewise.
15438         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15439         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15440         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15441         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15442         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15443         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15444         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15445         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15446         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15447         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15448         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15449         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15450         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15451         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15452         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15453         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15454         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15455         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15456         * sysdeps/ieee754/support.c: Likewise.
15457         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15458         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15459         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15460         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15461         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15462         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15463         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15464         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15465         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15466         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15467         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15468         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15469         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15470         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15471         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15472         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15473         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15475
15476 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15477
15478         * posix/transbug.c: Remove executable mode.
15479
15480 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15481
15482         * crypt/speeds.c: Remove trailing whitespace.
15483         * dlfcn/default.c: Likewise.
15484         * elf/ifuncdep2.c: Likewise.
15485         * elf/ifuncmain1.c: Likewise.
15486         * elf/ifuncmain1vis.c: Likewise.
15487         * elf/testobj.h: Likewise.
15488         * elf/tst-stackguard1.c: Likewise.
15489         * gmon/sys/gmon.h: Likewise.
15490         * hurd/hurdmsg.c: Likewise.
15491         * hurd/new-fd.c: Likewise.
15492         * hurd/ports-get.c: Likewise.
15493         * iconvdata/ibm1008_420.c: Likewise.
15494         * inet/tst-getni1.c: Likewise.
15495         * inet/tst-getni2.c: Likewise.
15496         * libio/ioungetc.c: Likewise.
15497         * libio/wfiledoalloc.c: Likewise.
15498         * manual/libm-err-tab.pl: Likewise.
15499         * math/w_dremf.c: Likewise.
15500         * misc/ftruncate.c: Likewise.
15501         * posix/bug-glob2.c: Likewise.
15502         * posix/tst-pcre.c: Likewise.
15503         * posix/wait4.c: Likewise.
15504         * resolv/README: Likewise.
15505         * resolv/res_debug.h: Likewise.
15506         * resolv/tst-inet_ntop.c: Likewise.
15507         * setjmp/bug269-setjmp.c: Likewise.
15508         * soft-fp/extended.h: Likewise.
15509         * soft-fp/op-1.h: Likewise.
15510         * soft-fp/op-2.h: Likewise.
15511         * soft-fp/op-4.h: Likewise.
15512         * soft-fp/op-8.h: Likewise.
15513         * soft-fp/testit.c: Likewise.
15514         * stdio-common/bug16.c: Likewise.
15515         * stdlib/random.c: Likewise.
15516         * sunrpc/rpcsvc/rquota.x: Likewise.
15517         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15518         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15519         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15520         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15521         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15522         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15523         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15524         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15525         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15526         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15527         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15528         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15529         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15530         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15531         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15532         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15533         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15534         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15535         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15536         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15537         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15538         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15539         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15540         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15541         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15542         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15544         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15545         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15546         * sysdeps/ieee754/s_lib_version.c: Likewise.
15547         * sysdeps/mach/hurd/check_fds.c: Likewise.
15548         * sysdeps/mach/hurd/getsockname.c: Likewise.
15549         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15550         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15551         * sysdeps/powerpc/bits/link.h: Likewise.
15552         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15553         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15554         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15555         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15556         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15557         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15558         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15559         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15560         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15561         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15562         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15563         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15564         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15565         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15566         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15567         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15568         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15569         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15570         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15571         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15572         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15573         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15574         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15575         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15576         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15577         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15578         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15579         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15580         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15581         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15582         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15583         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15584         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15585         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15586         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15587         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15588         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15589         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15590         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15591         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15592         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15593         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15594         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15595         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15596         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15597         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15598         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15599         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15600         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15601         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15602         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15603         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15604         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15605         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15606         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15607         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15608         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15609         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15610         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15611         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15612         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15613         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15614         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15615         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15616         * sysdeps/powerpc/sysdep.h: Likewise.
15617         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15618         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15619         * sysdeps/sh/dl-trampoline.S: Likewise.
15620         * sysdeps/sh/memset.S: Likewise.
15621         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15622         * sysdeps/sh/strlen.S: Likewise.
15623         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15624         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15625         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15626         * sysdeps/sparc/sparc32/rem.S: Likewise.
15627         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15628         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15629         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15630         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15631         * sysdeps/sparc/sparc32/urem.S: Likewise.
15632         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15633         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15634         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15635         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15636         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15637         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15638         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15639         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15640         * sysdeps/unix/bsd/times.c: Likewise.
15641         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15642         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15646         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15647         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15648         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15649         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15650         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15651         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15652         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15653         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15654         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15655         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15656         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15657         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15658         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15659         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15660         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15661         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15662         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15663         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15664         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15665         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15666         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15667         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15668         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15669         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15670         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15671         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15672         * sysdeps/x86_64/strcspn.S: Likewise.
15673
15674 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15675
15676         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15677         generated file.  Regenerate properly from gen-translit.pl.
15678         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15679         locale/C-translit.h.
15680
15681 2013-06-05  Andreas Schwab  <schwab@suse.de>
15682
15683         [BZ #15100]
15684         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15685         week as 6 instead of -1.
15686         * time/tst-strptime.c (day_tests): Add test case.
15687
15688 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15689
15690         * sysdeps/generic/math_private.h
15691         (libc_feholdexcept_setround_53bit): Replace with
15692         libc_feholdsetround_53bit.
15693         (libc_feupdateenv_53bit): Replace with
15694         libc_feresetround_53bit.
15695         (SET_RESTORE_ROUND_53BIT): Adjust.
15696
15697 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15698
15699         * string/test-strchrnul.c: Add copyright header.
15700
15701         * posix/tst-getaddrinfo4.c: Increase test timeout.
15702
15703 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15704
15705         [BZ #15536]
15706         * math/libm-test.inc (MAX_EXP): Remove
15707         (MIN_EXP): Define.
15708         (ulp): Use MIN_EXP - MANT_DIG.
15709         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15710
15711 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15712
15713         * po/be.po: Revert last change.
15714         * po/zh_CN.po: Likewise.
15715         * po/header.pot: Likewise.
15716
15717 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15718
15719         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15720         link-libc-deps to empty as target-specific variable.
15721         * Makerules (link-libc-args): New variable.
15722         (libc-for-link): Likewise.
15723         (link-libc-deps): Likewise.
15724         (lib%.so): Depend on $(link-libc-deps).  Link with
15725         $(link-libc-args).
15726         (build-module): Link with $(link-libc-args).
15727         (build-module-asneeded): Likewise.
15728         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15729         list of objects.
15730         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15731         target-specific variable.
15732         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15733         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15734         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15735         libc.
15736         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15737         libc and ld.so.
15738         ($(objpfx)libpcprofile.so): Likewise.
15739         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15740         libc_nonshared.a.
15741         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15742         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15743         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15744         $(link-libc-deps).
15745         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15746         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15747         * login/Makefile ($(objpfx)libutil.so): Likewise.
15748         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15749         * math/Makefile ($(objpfx)libm.so): Likewise.
15750         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15751         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15752         variable instead of depending directly on libc.
15753         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15754         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15755         $(link-libc-deps).
15756         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15757         libc.
15758         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15759         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15760         ($(objpfx)libanl.so): Likewise.
15761         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15762         ld.so.
15763         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15764         $(link-libc-deps).
15765         * sysdeps/i386/fpu/Makefile: Remove file.
15766         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15767         ($(objpfx)libm.so): Remove dependency on ld.so.
15768
15769 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15770
15771         [BZ # 15553]
15772         * nis/yp_xdr.c (XDRMAXNAME): Define.
15773         (XDRMAXRECORD): Define.
15774         (xdr_domainname): Use XDRMAXNAME.
15775         (xdr_mapname): Likewise.
15776         (xdr_peername): Likewise.
15777         (xdr_keydat): Use XDRMAXRECORD.
15778         (xdr_valdat): Likewise.
15779
15780 2013-05-30  Jeff Law  <law@redhat.com>
15781
15782         [BZ #14256]
15783         * manual/errno.texi (ESTALE): Update to account for more than
15784         just NFS file systems.
15785         * sysdeps/gnu/errlist.c: Regenerated.
15786
15787 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15788
15789         [BZ #15465]
15790         * elf/Makefile (tests): Add tst-null-argv.
15791         (modules-names):  Add tst-null-argv-lib.
15792         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15793         (tst-null-argv-ENV): Set environment for tst-null-argv.
15794         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15795         (RTLD_PROGNAME): New macro.
15796         * elf/tst-null-argv.c: New test case.
15797         * elf/tst-null-argv-lib.c: Library for test case.
15798         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15799         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15800         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15801         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15802         * elf/dl-init.c (call_init): Likewise.
15803         (_dl_init): Likewise.
15804         * elf/dl-load.c (print_search_path): Likewise.
15805         (_dl_map_object): Likewise.
15806         * elf/dl-lookup.c (do_lookup_x): Likewise.
15807         (add_dependency): Likewise.
15808         (_dl_lookup_symbol_x): Likewise.
15809         (_dl_debug_bindings): Likewise.
15810         * elf/dl-open.c (_dl_show_scope): Likewise.
15811         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15812         * elf/dl-version.c (match_symbol): Likewise.
15813         (_dl_check_map_versions): Likewise.
15814         * elf/rtld.c (dl_main): Likewise.
15815         (print_unresolved): Use RTLD_PROGNAME.
15816         (print_missing_version): Likewise.
15817         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15818         (elf_machine_rela): Likewise.
15819         * sysdeps/powerpc/powerpc32/dl-machine.c
15820         (__process_machine_rela): Likewise.
15821         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15822         Likewise.
15823         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15824         Likewise.
15825         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15826         Likewise.
15827         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15828         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15829         Likewise.
15830         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15831         Likewise.
15832         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15833
15834 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15835
15836         * po/be.po: Add descriptive title.
15837         * po/zh_CN.po: Likewise.
15838         * po/header.pot: Likewise.
15839
15840 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15841
15842         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15843         error message.
15844         (enlarge_archive): Likewise.
15845
15846 2013-05-28  Ben North  <ben@redfrontdoor.org>
15847
15848         * manual/arith.texi (frexp): It is the magnitude of the return
15849         value which lies in [0.5, 1), not the return value itself.
15850
15851 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15852
15853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15854
15855 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15856
15857         * stdio-common/bug26.c (main): Correct fscanf template.
15858
15859         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15860         declare _dl_skip_args.
15861
15862         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15863         Don't declare.
15864
15865         * manual/platform.texi: Add missing @end deftypefun.
15866
15867 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15868
15869         [BZ #15529]
15870         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15871         bit of mantissa of 2^16382.
15872         * math/libm-test.inc (hypot_test_data): Add more tests.
15873
15874         * math/libm-test.inc: Add drem and pow10 to list of tested
15875         functions.
15876         (pow10_test): New function.
15877         (drem_test): Likewise.
15878         (drem_test_tonearest): Likewise.
15879         (drem_test_towardzero): Likewise.
15880         (drem_test_downward): Likewise.
15881         (drem_test_upward): Likewise.
15882         (main): Call the new functions.
15883
15884         * math/libm-test.inc (finite_test_data): Remove.
15885         (finite_test): Run tests from isfinite_test_data.
15886         (gamma_test_data): Remove.
15887         (gamma_test): Run tests from lgamma_test_data.
15888         * sysdeps/i386/fpu/libm-test-ulps: Update.
15889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15890
15891 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15892
15893         * manual/platform.texi: Add PowerPC PPR function set documentation.
15894         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15895         implementation.
15896
15897 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15898
15899         * math/libm-test.inc (MAX_EXP): Define.
15900         (ULPDIFF): Define.
15901         (ulp): New function.
15902         (check_float_internal): Use ULPDIFF.
15903         (cpow_test): Disable failing test.
15904         (check_ulp): Test ulp() implemetnation.
15905         (main): Call check_ulp before starting tests.
15906
15907 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15908
15909         * math/gen-libm-test.pl (generate_testfile): Do not handle
15910         START_DATA and END_DATA.
15911         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15912         END_DATA.
15913         (acos_tonearest_test_data): Likewise.
15914         (acos_towardzero_test_data): Likewise.
15915         (acos_downward_test_data): Likewise.
15916         (acos_upward_test_data): Likewise.
15917         (acosh_test_data): Likewise.
15918         (asin_test_data): Likewise.
15919         (asin_tonearest_test_data): Likewise.
15920         (asin_towardzero_test_data): Likewise.
15921         (asin_downward_test_data): Likewise.
15922         (asin_upward_test_data): Likewise.
15923         (asinh_test_data): Likewise.
15924         (atan_test_data): Likewise.
15925         (atanh_test_data): Likewise.
15926         (atan2_test_data): Likewise.
15927         (cabs_test_data): Likewise.
15928         (cacos_test_data): Likewise.
15929         (cacosh_test_data): Likewise.
15930         (carg_test_data): Likewise.
15931         (casin_test_data): Likewise.
15932         (casinh_test_data): Likewise.
15933         (catan_test_data): Likewise.
15934         (catanh_test_data): Likewise.
15935         (cbrt_test_data): Likewise.
15936         (ccos_test_data): Likewise.
15937         (ccosh_test_data): Likewise.
15938         (ceil_test_data): Likewise.
15939         (cexp_test_data): Likewise.
15940         (cimag_test_data): Likewise.
15941         (clog_test_data): Likewise.
15942         (clog10_test_data): Likewise.
15943         (conj_test_data): Likewise.
15944         (copysign_test_data): Likewise.
15945         (cos_test_data): Likewise.
15946         (cos_tonearest_test_data): Likewise.
15947         (cos_towardzero_test_data): Likewise.
15948         (cos_downward_test_data): Likewise.
15949         (cos_upward_test_data): Likewise.
15950         (cosh_test_data): Likewise.
15951         (cosh_tonearest_test_data): Likewise.
15952         (cosh_towardzero_test_data): Likewise.
15953         (cosh_downward_test_data): Likewise.
15954         (cosh_upward_test_data): Likewise.
15955         (cpow_test_data): Likewise.
15956         (cproj_test_data): Likewise.
15957         (creal_test_data): Likewise.
15958         (csin_test_data): Likewise.
15959         (csinh_test_data): Likewise.
15960         (csqrt_test_data): Likewise.
15961         (ctan_test_data): Likewise.
15962         (ctan_tonearest_test_data): Likewise.
15963         (ctan_towardzero_test_data): Likewise.
15964         (ctan_downward_test_data): Likewise.
15965         (ctan_upward_test_data): Likewise.
15966         (ctanh_test_data): Likewise.
15967         (ctanh_tonearest_test_data): Likewise.
15968         (ctanh_towardzero_test_data): Likewise.
15969         (ctanh_downward_test_data): Likewise.
15970         (ctanh_upward_test_data): Likewise.
15971         (erf_test_data): Likewise.
15972         (erfc_test_data): Likewise.
15973         (exp_test_data): Likewise.
15974         (exp_tonearest_test_data): Likewise.
15975         (exp_towardzero_test_data): Likewise.
15976         (exp_downward_test_data): Likewise.
15977         (exp_upward_test_data): Likewise.
15978         (exp10_test_data): Likewise.
15979         (exp2_test_data): Likewise.
15980         (expm1_test_data): Likewise.
15981         (fabs_test_data): Likewise.
15982         (fdim_test_data): Likewise.
15983         (finite_test_data): Likewise.
15984         (floor_test_data): Likewise.
15985         (fma_test_data): Likewise.
15986         (fma_towardzero_test_data): Likewise.
15987         (fma_downward_test_data): Likewise.
15988         (fma_upward_test_data): Likewise.
15989         (fmax_test_data): Likewise.
15990         (fmin_test_data): Likewise.
15991         (fmod_test_data): Likewise.
15992         (fpclassify_test_data): Likewise.
15993         (frexp_test_data): Likewise.
15994         (gamma_test_data): Likewise.
15995         (hypot_test_data): Likewise.
15996         (ilogb_test_data): Likewise.
15997         (isfinite_test_data): Likewise.
15998         (isgreater_test_data): Likewise.
15999         (isgreaterequal_test_data): Likewise.
16000         (isinf_test_data): Likewise.
16001         (isless_test_data): Likewise.
16002         (islessequal_test_data): Likewise.
16003         (islessgreater_test_data): Likewise.
16004         (isnan_test_data): Likewise.
16005         (isnormal_test_data): Likewise.
16006         (issignaling_test_data): Likewise.
16007         (isunordered_test_data): Likewise.
16008         (j0_test_data): Likewise.
16009         (j1_test_data): Likewise.
16010         (jn_test_data): Likewise.
16011         (ldexp_test_data): Likewise.
16012         (lgamma_test_data): Likewise.
16013         (lrint_test_data): Likewise.
16014         (lrint_tonearest_test_data): Likewise.
16015         (lrint_towardzero_test_data): Likewise.
16016         (lrint_downward_test_data): Likewise.
16017         (lrint_upward_test_data): Likewise.
16018         (llrint_test_data): Likewise.
16019         (llrint_tonearest_test_data): Likewise.
16020         (llrint_towardzero_test_data): Likewise.
16021         (llrint_downward_test_data): Likewise.
16022         (llrint_upward_test_data): Likewise.
16023         (log_test_data): Likewise.
16024         (log10_test_data): Likewise.
16025         (log1p_test_data): Likewise.
16026         (log2_test_data): Likewise.
16027         (logb_test_data): Likewise.
16028         (logb_downward_test_data): Likewise.
16029         (lround_test_data): Likewise.
16030         (llround_test_data): Likewise.
16031         (modf_test_data): Likewise.
16032         (nearbyint_test_data): Likewise.
16033         (nextafter_test_data): Likewise.
16034         (nexttoward_test_data): Likewise.
16035         (pow_test_data): Likewise.
16036         (pow_tonearest_test_data): Likewise.
16037         (pow_towardzero_test_data): Likewise.
16038         (pow_downward_test_data): Likewise.
16039         (pow_upward_test_data): Likewise.
16040         (remainder_test_data): Likewise.
16041         (remainder_tonearest_test_data): Likewise.
16042         (remainder_towardzero_test_data): Likewise.
16043         (remainder_downward_test_data): Likewise.
16044         (remainder_upward_test_data): Likewise.
16045         (remquo_test_data): Likewise.
16046         (rint_test_data): Likewise.
16047         (rint_tonearest_test_data): Likewise.
16048         (rint_towardzero_test_data): Likewise.
16049         (rint_downward_test_data): Likewise.
16050         (rint_upward_test_data): Likewise.
16051         (round_test_data): Likewise.
16052         (scalb_test_data): Likewise.
16053         (scalbn_test_data): Likewise.
16054         (scalbln_test_data): Likewise.
16055         (signbit_test_data): Likewise.
16056         (sin_test_data): Likewise.
16057         (sin_tonearest_test_data): Likewise.
16058         (sin_towardzero_test_data): Likewise.
16059         (sin_downward_test_data): Likewise.
16060         (sin_upward_test_data): Likewise.
16061         (sincos_test_data): Likewise.
16062         (sinh_test_data): Likewise.
16063         (sinh_tonearest_test_data): Likewise.
16064         (sinh_towardzero_test_data): Likewise.
16065         (sinh_downward_test_data): Likewise.
16066         (sinh_upward_test_data): Likewise.
16067         (sqrt_test_data): Likewise.
16068         (tan_test_data): Likewise.
16069         (tan_tonearest_test_data): Likewise.
16070         (tan_towardzero_test_data): Likewise.
16071         (tan_downward_test_data): Likewise.
16072         (tan_upward_test_data): Likewise.
16073         (tanh_test_data): Likewise.
16074         (tgamma_test_data): Likewise.
16075         (trunc_test_data): Likewise.
16076         (y0_test_data): Likewise.
16077         (y1_test_data): Likewise.
16078         (yn_test_data): Likewise.
16079         (significand_test_data): Likewise.
16080
16081         * math/gen-libm-test.pl (@functions): Remove variable.
16082         (generate_testfile): Don't handle START and END lines.
16083         * math/libm-test.inc (START): New macro.
16084         (END): Likewise.
16085         (END_COMPLEX): Likewise.
16086         (acos_test): Use END macro without arguments.
16087         (acos_test_tonearest): Likewise.
16088         (acos_test_towardzero): Likewise.
16089         (acos_test_downward): Likewise.
16090         (acos_test_upward): Likewise.
16091         (acosh_test): Likewise.
16092         (asin_test): Likewise.
16093         (asin_test_tonearest): Likewise.
16094         (asin_test_towardzero): Likewise.
16095         (asin_test_downward): Likewise.
16096         (asin_test_upward): Likewise.
16097         (asinh_test): Likewise.
16098         (atan_test): Likewise.
16099         (atanh_test): Likewise.
16100         (atan2_test): Likewise.
16101         (cabs_test): Likewise.
16102         (cacos_test): Use END_COMPLEX macro without arguments.
16103         (cacosh_test): Likewise.
16104         (carg_test): Use END macro without arguments.
16105         (casin_test): Use END_COMPLEX macro without arguments.
16106         (casinh_test): Likewise.
16107         (catan_test): Likewise.
16108         (catanh_test): Likewise.
16109         (cbrt_test): Use END macro without arguments.
16110         (ccos_test): Use END_COMPLEX macro without arguments.
16111         (ccosh_test): Likewise.
16112         (ceil_test): Use END macro without arguments.
16113         (cexp_test): Use END_COMPLEX macro without arguments.
16114         (cimag_test): Use END macro without arguments.
16115         (clog_test): Use END_COMPLEX macro without arguments.
16116         (clog10_test): Likewise.
16117         (conj_test): Likewise.
16118         (copysign_test): Use END macro without arguments.
16119         (cos_test): Likewise.
16120         (cos_test_tonearest): Likewise.
16121         (cos_test_towardzero): Likewise.
16122         (cos_test_downward): Likewise.
16123         (cos_test_upward): Likewise.
16124         (cosh_test): Likewise.
16125         (cosh_test_tonearest): Likewise.
16126         (cosh_test_towardzero): Likewise.
16127         (cosh_test_downward): Likewise.
16128         (cosh_test_upward): Likewise.
16129         (cpow_test): Use END_COMPLEX macro without arguments.
16130         (cproj_test): Likewise.
16131         (creal_test): Use END macro without arguments.
16132         (csin_test): Use END_COMPLEX macro without arguments.
16133         (csinh_test): Likewise.
16134         (csqrt_test): Likewise.
16135         (ctan_test): Likewise.
16136         (ctan_test_tonearest): Likewise.
16137         (ctan_test_towardzero): Likewise.
16138         (ctan_test_downward): Likewise.
16139         (ctan_test_upward): Likewise.
16140         (ctanh_test): Likewise.
16141         (ctanh_test_tonearest): Likewise.
16142         (ctanh_test_towardzero): Likewise.
16143         (ctanh_test_downward): Likewise.
16144         (ctanh_test_upward): Likewise.
16145         (erf_test): Use END macro without arguments.
16146         (erfc_test): Likewise.
16147         (exp_test): Likewise.
16148         (exp_test_tonearest): Likewise.
16149         (exp_test_towardzero): Likewise.
16150         (exp_test_downward): Likewise.
16151         (exp_test_upward): Likewise.
16152         (exp10_test): Likewise.
16153         (exp2_test): Likewise.
16154         (expm1_test): Likewise.
16155         (fabs_test): Likewise.
16156         (fdim_test): Likewise.
16157         (finite_test): Likewise.
16158         (floor_test): Likewise.
16159         (fma_test): Likewise.
16160         (fma_test_towardzero): Likewise.
16161         (fma_test_downward): Likewise.
16162         (fma_test_upward): Likewise.
16163         (fmax_test): Likewise.
16164         (fmin_test): Likewise.
16165         (fmod_test): Likewise.
16166         (fpclassify_test): Likewise.
16167         (frexp_test): Likewise.
16168         (gamma_test): Likewise.
16169         (hypot_test): Likewise.
16170         (ilogb_test): Likewise.
16171         (isfinite_test): Likewise.
16172         (isgreater_test): Likewise.
16173         (isgreaterequal_test): Likewise.
16174         (isinf_test): Likewise.
16175         (isless_test): Likewise.
16176         (islessequal_test): Likewise.
16177         (islessgreater_test): Likewise.
16178         (isnan_test): Likewise.
16179         (isnormal_test): Likewise.
16180         (issignaling_test): Likewise.
16181         (isunordered_test): Likewise.
16182         (j0_test): Likewise.
16183         (j1_test): Likewise.
16184         (jn_test): Likewise.
16185         (ldexp_test): Likewise.
16186         (lgamma_test): Likewise.
16187         (lrint_test): Likewise.
16188         (lrint_test_tonearest): Likewise.
16189         (lrint_test_towardzero): Likewise.
16190         (lrint_test_downward): Likewise.
16191         (lrint_test_upward): Likewise.
16192         (llrint_test): Likewise.
16193         (llrint_test_tonearest): Likewise.
16194         (llrint_test_towardzero): Likewise.
16195         (llrint_test_downward): Likewise.
16196         (llrint_test_upward): Likewise.
16197         (log_test): Likewise.
16198         (log10_test): Likewise.
16199         (log1p_test): Likewise.
16200         (log2_test): Likewise.
16201         (logb_test): Likewise.
16202         (logb_test_downward): Likewise.
16203         (lround_test): Likewise.
16204         (llround_test): Likewise.
16205         (modf_test): Likewise.
16206         (nearbyint_test): Likewise.
16207         (nextafter_test): Likewise.
16208         (nexttoward_test): Likewise.
16209         (pow_test): Likewise.
16210         (pow_test_tonearest): Likewise.
16211         (pow_test_towardzero): Likewise.
16212         (pow_test_downward): Likewise.
16213         (pow_test_upward): Likewise.
16214         (remainder_test): Likewise.
16215         (remainder_test_tonearest): Likewise.
16216         (remainder_test_towardzero): Likewise.
16217         (remainder_test_downward): Likewise.
16218         (remainder_test_upward): Likewise.
16219         (remquo_test): Likewise.
16220         (rint_test): Likewise.
16221         (rint_test_tonearest): Likewise.
16222         (rint_test_towardzero): Likewise.
16223         (rint_test_downward): Likewise.
16224         (rint_test_upward): Likewise.
16225         (round_test): Likewise.
16226         (scalb_test): Likewise.
16227         (scalbn_test): Likewise.
16228         (scalbln_test): Likewise.
16229         (signbit_test): Likewise.
16230         (sin_test): Likewise.
16231         (sin_test_tonearest): Likewise.
16232         (sin_test_towardzero): Likewise.
16233         (sin_test_downward): Likewise.
16234         (sin_test_upward): Likewise.
16235         (sincos_test): Likewise.
16236         (sinh_test): Likewise.
16237         (sinh_test_tonearest): Likewise.
16238         (sinh_test_towardzero): Likewise.
16239         (sinh_test_downward): Likewise.
16240         (sinh_test_upward): Likewise.
16241         (sqrt_test): Likewise.
16242         (tan_test): Likewise.
16243         (tan_test_tonearest): Likewise.
16244         (tan_test_towardzero): Likewise.
16245         (tan_test_downward): Likewise.
16246         (tan_test_upward): Likewise.
16247         (tanh_test): Likewise.
16248         (tgamma_test): Likewise.
16249         (trunc_test): Likewise.
16250         (y0_test): Likewise.
16251         (y1_test): Likewise.
16252         (yn_test): Likewise.
16253         (significand_test): Likewise.
16254
16255 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16256
16257         [BZ #15381]
16258         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16259
16260 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16261
16262         [BZ #14894]
16263         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16264         __ppc_mdoio and __ppc_mdoom.
16265         * manual/platform.texi: Document new functions __ppc_yield,
16266         __ppc_mdoio and __ppc_mdoom.
16267
16268 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16269
16270         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16271         (main): Mention "tls" pseudo-hwcap is legacy.
16272         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16273
16274 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16275
16276         * math/gen-libm-test.pl (parse_args): Output only string of
16277         arguments as text for test name, not full call or descriptions of
16278         tests for extra outputs.
16279         (generate_testfile): Do not pass function name to parse_args.
16280         Generate this_func variable from START.
16281         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16282         field to arg_str.
16283         (struct test_ff_f_data): Likewise.
16284         (test_ff_f_data_nexttoward): Likewise.
16285         (struct test_fi_f_data): Likewise.
16286         (struct test_fl_f_data): Likewise.
16287         (struct test_if_f_data): Likewise.
16288         (struct test_fff_f_data): Likewise.
16289         (struct test_c_f_data): Likewise.
16290         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16291         (struct test_fF_f1_data): Likewise.
16292         (struct test_ffI_f1_data): Likewise.
16293         (struct test_c_c_data): Rename test_name field to arg_str.
16294         (struct test_cc_c_data): Likewise.
16295         (struct test_f_i_data): Likewise.
16296         (struct test_ff_i_data): Likewise.
16297         (struct test_f_l_data): Likewise.
16298         (struct test_f_L_data): Likewise.
16299         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16300         and extra2_name.
16301         (COMMON_TEST_SETUP): New macro.
16302         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16303         (COMMON_TEST_CLEANUP): Likewise.
16304         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16305         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16306         macros.
16307         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16308         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16309         macros.
16310         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16311         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16312         cleanup macros.
16313         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16314         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16315         macros.
16316         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16317         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16318         macros.
16319         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16320         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16321         cleanup macros.
16322         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16323         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16324         cleanup macros.
16325         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16326         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16327         cleanup macros.
16328         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16329         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16330         macros.
16331         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16332         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16333         macros.
16334         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16335         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16336         macros.
16337         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16338         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16339         cleanup macros.
16340         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16341         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16342         cleanup macros.
16343         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16344         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16345         macros.
16346         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16347         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16348         cleanup macros.
16349         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16350         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16351         macros.
16352         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16353         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16354         macros.
16355         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16356         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16357         cleanup macros.
16358         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16359
16360 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16361
16362         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16363         to _sifields.sigfault.
16364         (si_addr_lsb): Define new macro.
16365         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16366         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16367         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16368
16369 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16370
16371         [BZ #15441]
16372         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16373         returns -1.
16374         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16375         null return -1.
16376         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16377         loading the domain.
16378
16379 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16380
16381         * math/gen-libm-test.pl (parse_args): Do not include expected
16382         result in test name.
16383         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16384         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16385         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16386         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16387         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16389
16390 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16391
16392         * benchtests/Makefile: Sort function entries.
16393
16394         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16395         tanh, asinh, acosh, atanh.
16396         * benchtests/acos-inputs: New file.
16397         * benchtests/acosh-inputs: New file.
16398         * benchtests/asin-inputs: New file.
16399         * benchtests/asinh-inputs: New file.
16400         * benchtests/atanh-inputs: New file.
16401         * benchtests/cosh-inputs: New file.
16402         * benchtests/log-inputs: New file.
16403         * benchtests/sinh-inputs: New file.
16404         * benchtests/tanh-inputs: New file.
16405
16406 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16407
16408         [BZ #15339]
16409         * posix/tst-getaddrinfo4.c: New test.
16410         * posix/Makefile (tests): Add it.
16411
16412 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16413
16414         [BZ #15339]
16415         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16416         when no services were used.
16417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16418         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16419
16420 2013-05-21  Andreas Schwab  <schwab@suse.de>
16421
16422         [BZ #15014]
16423         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16424         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16425         successful.
16426         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16427         redundant variable declarations and reallocation of buffer when
16428         parsing as IPv6 address.  Always set NSS status when called from
16429         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16430         buffer too small.  Correct computation of needed size.
16431         * nss/Makefile (tests): Add test-digits-dots.
16432         * nss/test-digits-dots.c: New test.
16433
16434 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16435
16436         * benchtests/Makefile: Remove instructions for adding
16437         benchmark tests.
16438         * benchtests/README: New file to explain how to execute and
16439         enhance the benchmark tests.
16440
16441 2013-05-21  Andreas Schwab  <schwab@suse.de>
16442
16443         [BZ #15493]
16444         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16445         * setjmp/tst-sigsetjmp.c: New test.
16446
16447 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16448
16449         * sysdeps/x86_64/memset.S (memset): New implementation.
16450         (__bzero): Likewise.
16451         (__memset_tail): New function.
16452
16453 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16454
16455         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16456         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16457         __memcpy_sse2_unaligned ifunc selection.
16458         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16459         Add memcpy-sse2-unaligned.S.
16460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16461         Add: __memcpy_sse2_unaligned.
16462
16463 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16464
16465         [BZ #15490]
16466         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16467         math_force_eval before restoring floating-point envrionment.
16468         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16469         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16470         Likewise.
16471         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16472         <math_private.h>.
16473         (__nearbyintl): Use math_force_eval before restoring
16474         floating-point environment.
16475         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16476
16477         * math/gen-libm-test.pl (special_functions): Remove.
16478         (parse_args): Don't handle TEST_extra.  Handle functions with no
16479         return value.
16480         * math/libm-test.inc (struct test_sincos_data): Replace with
16481         struct test_fFF_11_data.
16482         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16483         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16484         (sincos_test_data): Change element type to struct
16485         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16486         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16487         RUN_TEST_LOOP_sincos.
16488         * math/README.libm-test: Don't mention special handling of
16489         individual functions.
16490         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16491         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16492         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16493         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16494         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16496
16497         * math/gen-libm-test.pl (get_variable): Remove function.
16498         (parse_args): Don't show pointer parameters to call in test
16499         names.  Use "extra output N" in test names for extra outputs
16500         rather than naming variables.
16501
16502 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16503
16504         [BZ #15488]
16505         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16506         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16507         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16508         double tests.
16509         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16510         disable.
16511         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16512         check_long_double.
16513
16514         * math/gen-libm-test.pl (@tests): Remove variable.
16515         ($count): Likewise.
16516         (new_test): Remove function.
16517         (show_exceptions): New function.
16518         (special_functions): Use show_exceptions instead of new_test.
16519         (parse_args): Likewise.
16520         (generate_testfile): Pass only function name in generated call to
16521         print_max_error or print_complex_max_error.
16522         (get_ulps): Do not handle complex tests specially.
16523         (output_test): Rename to ...
16524         (get_all_ulps_for_test): ... this.  Return a string rather than
16525         printing to a file.  Require ulps to be present.
16526         (output_ulps): Generate arrays rather than #defines.
16527         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16528         (struct ulp_data): New type.
16529         (BUILD_COMPLEX_ULP): Remove macro.
16530         (compare_ulp_data): New function.
16531         (find_ulps): Likewise.
16532         (find_test_ulps): Likewise.
16533         (find_function_ulps): Likewise.
16534         (find_complex_function_ulps): Likewise.
16535         (print_max_error): Determine allowed ulps using
16536         find_function_ulps.
16537         (print_complex_max_error): Determine allowed ulps using
16538         find_complex_function_ulps.
16539         (check_float_internal): Determine max ulps using find_test_ulps.
16540         (check_float): Do not take max_ulp parameter.  Update call to
16541         check_float_internal.
16542         (check_complex): Likewise.
16543         (check_int): Do not take max_ulp parameter.
16544         (check_long): Likewise.
16545         (check_bool): Likewise.
16546         (check_longlong): Likewise.
16547         (struct test_f_f_data): Remove max_ulp field.
16548         (struct test_ff_f_data): Likewise.
16549         (struct test_ff_f_data_nexttoward): Likewise.
16550         (struct test_fi_f_data): Likewise.
16551         (struct test_fl_f_data): Likewise.
16552         (struct test_if_f_data): Likewise.
16553         (struct test_fff_f_data): Likewise.
16554         (struct test_c_f_data): Likewise.
16555         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16556         (struct test_fF_f1_data): Likewise.
16557         (struct test_ffI_f1_data): Likewise.
16558         (struct test_c_c_data): Remove max_ulp field.
16559         (struct test_cc_c_data): Likewise.
16560         (struct test_f_i_data): Likewise.
16561         (struct test_ff_i_data): Likewise.
16562         (struct test_f_l_data): Likewise.
16563         (struct test_f_L_data): Likewise.
16564         (struct test_sincos_data): Likewise.
16565         (RUN_TEST_f_f): Do not handle ulps.
16566         (RUN_TEST_LOOP_f_f): Likewise.
16567         (RUN_TEST_2_f): Likewise.
16568         (RUN_TEST_LOOP_2_f): Likewise.
16569         (RUN_TEST_fff_f): Likewise.
16570         (RUN_TEST_LOOP_fff_f): Likewise.
16571         (RUN_TEST_c_f): Likewise.
16572         (RUN_TEST_LOOP_c_f): Likewise.
16573         (RUN_TEST_f_f1): Likewise.
16574         (RUN_TEST_LOOP_f_f1): Likewise.
16575         (RUN_TEST_fF_f1): Likewise.
16576         (RUN_TEST_LOOP_fF_f1): Likewise.
16577         (RUN_TEST_fI_f1): Likewise.
16578         (RUN_TEST_LOOP_fI_f1): Likewise.
16579         (RUN_TEST_ffI_f1): Likewise.
16580         (RUN_TEST_LOOP_ffI_f1): Likewise.
16581         (RUN_TEST_c_c): Likewise.
16582         (RUN_TEST_LOOP_c_c): Likewise.
16583         (RUN_TEST_cc_c): Likewise.
16584         (RUN_TEST_LOOP_cc_c): Likewise.
16585         (RUN_TEST_f_i): Likewise.
16586         (RUN_TEST_LOOP_f_i): Likewise.
16587         (RUN_TEST_f_i_tg): Likewise.
16588         (RUN_TEST_LOOP_f_i_tg): Likewise.
16589         (RUN_TEST_ff_i_tg): Likewise.
16590         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16591         (RUN_TEST_f_b): Likewise.
16592         (RUN_TEST_LOOP_f_b): Likewise.
16593         (RUN_TEST_f_b_tg): Likewise.
16594         (RUN_TEST_LOOP_f_b_tg): Likewise.
16595         (RUN_TEST_f_l): Likewise.
16596         (RUN_TEST_LOOP_f_l): Likewise.
16597         (RUN_TEST_f_L): Likewise.
16598         (RUN_TEST_LOOP_f_L): Likewise.
16599         (RUN_TEST_sincos): Likewise.
16600         (RUN_TEST_LOOP_sincos): Likewise.
16601
16602 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16603
16604         [BZ #15480]
16605         [BZ #15485]
16606         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16607         main case of finite arguments, set rounding mode to FE_TONEAREST
16608         and discard exceptions.
16609         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16610         exceptions.
16611         (remainder_tonearest_test_data): New variable.
16612         (remainder_test_tonearest): New function.
16613         (remainder_towardzero_test_data): New variable.
16614         (remainder_test_towardzero): New function.
16615         (remainder_downward_test_data): New variable.
16616         (remainder_test_downward): New function.
16617         (remainder_upward_test_data): New variable.
16618         (remainder_test_upward): New function.
16619         (main): Call the new test functions.
16620
16621         * math/libm-test.inc (struct test_f_f1_data): Remove field
16622         extra_init.
16623         (struct test_fF_f1_data): Likewise.
16624         (struct test_ffI_f1_data): Likewise.
16625         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16626         based on value of EXTRA_EXPECTED.
16627         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16628         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16629         EXTRA_VAR based on value of EXTRA_EXPECTED.
16630         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16631         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16632         EXTRA_VAR based on value of EXTRA_EXPECTED.
16633         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16634         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16635         EXTRA_VAR based on value of EXTRA_EXPECTED.
16636         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16637         * math/gen-libm-test.pl (parse_args): Don't output initializers
16638         for extra output values.
16639
16640         * math/libm-test.inc (check_int): Expect result to be exactly
16641         equal to expected value and do not handle ulps.
16642         (check_long): Likewise.
16643         (check_longlong): Likewise.
16644
16645         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16646         exceptions.
16647         (cimag_test_data): Likewise.
16648         (conj_test_data): Likewise.
16649         (copysign_test_data): Likewise.
16650         (cproj_test_data): Likewise.
16651         (creal_test_data): Likewise.
16652         (fabs_test_data): Likewise.
16653         (fdim_test_data): Likewise.
16654         (finite_test_data): Likewise.
16655         (floor_test_data): Likewise.
16656         (fmax_test_data): Likewise.
16657         (fmin_test_data): Likewise.
16658         (fmod_test_data): Likewise.
16659         (fpclassify_test_data): Likewise.
16660         (frexp_test_data): Likewise.
16661         (ilogb_test_data): Likewise.
16662         (isfinite_test_data): Likewise.
16663         (isgreater_test_data): Likewise.
16664         (isgreaterequal_test_data): Likewise.
16665         (isinf_test_data): Likewise.
16666         (isless_test_data): Likewise.
16667         (islessequal_test_data): Likewise.
16668         (islessgreater_test_data): Likewise.
16669         (isnan_test_data): Likewise.
16670         (isnormal_test_data): Likewise.
16671         (issignaling_test_data): Likewise.
16672         (isunordered_test_data): Likewise.
16673         (ldexp_test_data): Likewise.
16674         (lrint_test_data): Likewise.
16675         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16676         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16677         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16678         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16679         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16680         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16681         test input.
16682         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16683         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16684         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16685         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16686         that test input.
16687         (lrint_downward_test_data): Test for "inexact" exceptions.
16688         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16689         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16690         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16691         test input.
16692         (lrint_upward_test_data): Test for "inexact" exceptions.
16693         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16694         test input.
16695         (llrint_test_data): Test for "inexact" exceptions.
16696         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16697         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16698         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16699         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16700         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16701         (llrint_downward_test_data): Test for "inexact" exceptions.
16702         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16703         (llrint_upward_test_data): Test for "inexact" exceptions.
16704         (logb_test_data): Likewise.
16705         (logb_downward_test_data): Likewise.
16706         (nextafter_test_data): Likewise.
16707         (nexttoward_test_data): Likewise.
16708         (remainder_test_data): Likewise.
16709         (remquo_test_data): Likewise.
16710         (scalbn_test_data): Likewise.
16711         (scalbln_test_data): Likewise.
16712         (signbit_test_data): Likewise.
16713         (sqrt_test_data): Likewise.
16714         (significand_test_data): Likewise.
16715
16716 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16717
16718         [BZ #15424]
16719         * benchtests/bench-modf.c (struct args): Mark arg0 as
16720         volatile.
16721         * scripts/bench.pl: Mark members of struct args as volatile.
16722
16723 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16724
16725         [BZ # 15497]
16726         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16727         negative infinity on POWER6 or lower.
16728         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16729
16730 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16731
16732         [BZ #15442]
16733         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16734         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16735         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16736         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16737         (_FP_SETQNAN): New macro.
16738         (_FP_SETQNAN_SEMIRAW): Likewise.
16739         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16740         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16741         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16742         (FP_EXTEND): Use _FP_FRAC_SNANP.
16743         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16744         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16745         into account.
16746         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16747         New macro.
16748         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16749         Likewise.
16750
16751 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16752
16753         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16754         with DIVIDE_BY_ZERO_EXCEPTION.
16755         (gamma_test_data): Likewise.
16756         (lgamma_test_data): Likewise.
16757         (log_test_data): Likewise.
16758         (log10_test_data): Likewise.
16759         (log2_test_data): Likewise.
16760         (tgamma_test_data): Likewise.
16761
16762         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16763         (acos_test_tonearest): Likewise.
16764         (acos_test_towardzero): Likewise.
16765         (acos_test_downward): Likewise.
16766         (acos_test_upward): Likewise.
16767         (acosh_test): Likewise.
16768         (asin_test): Likewise.
16769         (asin_test_tonearest): Likewise.
16770         (asin_test_towardzero): Likewise.
16771         (asin_test_downward): Likewise.
16772         (asin_test_upward): Likewise.
16773         (asinh_test): Likewise.
16774         (atan_test): Likewise.
16775         (atanh_test): Likewise.
16776         (atan2_test): Likewise.
16777         (cabs_test): Likewise.
16778         (cacos_test): Likewise.
16779         (cacosh_test): Likewise.
16780         (casin_test): Likewise.
16781         (casinh_test): Likewise.
16782         (catan_test): Likewise.
16783         (catanh_test): Likewise.
16784         (cbrt_test): Likewise.
16785         (ccos_test): Likewise.
16786         (ccosh_test): Likewise.
16787         (cexp_test): Likewise.
16788         (clog_test): Likewise.
16789         (clog10_test): Likewise.
16790         (cos_test): Likewise.
16791         (cos_test_tonearest): Likewise.
16792         (cos_test_towardzero): Likewise.
16793         (cos_test_downward): Likewise.
16794         (cos_test_upward): Likewise.
16795         (cosh_test): Likewise.
16796         (cosh_test_tonearest): Likewise.
16797         (cosh_test_towardzero): Likewise.
16798         (cosh_test_downward): Likewise.
16799         (cosh_test_upward): Likewise.
16800         (cpow_test): Likewise.
16801         (csin_test): Likewise.
16802         (csinh_test): Likewise.
16803         (csqrt_test): Likewise.
16804         (ctan_test): Likewise.
16805         (ctan_test_tonearest): Likewise.
16806         (ctan_test_towardzero): Likewise.
16807         (ctan_test_downward): Likewise.
16808         (ctan_test_upward): Likewise.
16809         (ctanh_test): Likewise.
16810         (ctanh_test_tonearest): Likewise.
16811         (ctanh_test_towardzero): Likewise.
16812         (ctanh_test_downward): Likewise.
16813         (ctanh_test_upward): Likewise.
16814         (erf_test): Likewise.
16815         (erfc_test): Likewise.
16816         (exp_test): Likewise.
16817         (exp_test_tonearest): Likewise.
16818         (exp_test_towardzero): Likewise.
16819         (exp_test_downward): Likewise.
16820         (exp_test_upward): Likewise.
16821         (exp10_test): Likewise.
16822         (exp2_test): Likewise.
16823         (expm1_test): Likewise.
16824         (fmod_test): Likewise.
16825         (gamma_test): Likewise.
16826         (hypot_test): Likewise.
16827         (j0_test): Likewise.
16828         (j1_test): Likewise.
16829         (jn_test): Likewise.
16830         (lgamma_test): Likewise.
16831         (log_test): Likewise.
16832         (log10_test): Likewise.
16833         (log1p_test): Likewise.
16834         (log2_test): Likewise.
16835         (logb_test_downward): Likewise.
16836         (pow_test): Likewise.
16837         (pow_test_tonearest): Likewise.
16838         (pow_test_towardzero): Likewise.
16839         (pow_test_downward): Likewise.
16840         (pow_test_upward): Likewise.
16841         (remainder_test): Likewise.
16842         (remquo_test): Likewise.
16843         (sin_test): Likewise.
16844         (sin_test_tonearest): Likewise.
16845         (sin_test_towardzero): Likewise.
16846         (sin_test_downward): Likewise.
16847         (sin_test_upward): Likewise.
16848         (sincos_test): Likewise.
16849         (sinh_test): Likewise.
16850         (sinh_test_tonearest): Likewise.
16851         (sinh_test_towardzero): Likewise.
16852         (sinh_test_downward): Likewise.
16853         (sinh_test_upward): Likewise.
16854         (sqrt_test): Likewise.
16855         (tan_test): Likewise.
16856         (tan_test_tonearest): Likewise.
16857         (tan_test_towardzero): Likewise.
16858         (tan_test_downward): Likewise.
16859         (tan_test_upward): Likewise.
16860         (tanh_test): Likewise.
16861         (tgamma_test): Likewise.
16862         (y0_test): Likewise.
16863         (y1_test): Likewise.
16864         (yn_test): Likewise.
16865
16866         * math/gen-libm-test.pl (adjust_arg): Remove function.
16867         (special_function): Remove argument $in_func.  Only handle
16868         generating output for tables of tests, not inside functions.
16869         (parse_args): Likewise.
16870         (generate_testfile): Remove variable $in_func.  Update call to
16871         parse_args.
16872         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16873         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16874         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16875         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16876         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16877         (MAX_VALUE_INIT): Rename macro to max_value.
16878         (MIN_VALUE_INIT): Rename macro to min_value.
16879         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16880         (plus_zero): Remove variable.
16881         (minus_zero): Likewise.
16882         (plus_infty): Likewise.
16883         (minus_infty): Likewise.
16884         (qnan_value): Likewise.
16885         (max_value): Likewise.
16886         (min_value): Likewise.
16887         (min_subnorm_value): Likewise.
16888
16889 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16890
16891         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16892         uint64_t or uint32_t usage.
16893         * crypt/sha256-block.c: Likewise.
16894         * crypt/sha256-crypt.c: Likewise.
16895         * crypt/sha256.c: Likewise.
16896         * crypt/sha512-block.c: Likewise.
16897         * crypt/sha512-crypt.c: Likewise.
16898         * crypt/sha512.c: Likewise.
16899         * debug/backtrace-tst.c: Likewise.
16900         * debug/pcprofiledump.c: Likewise.
16901         * elf/cache.c: Likewise.
16902         * elf/dl-cache.c: Likewise.
16903         * elf/dl-misc.c: Likewise.
16904         * elf/dl-profile.c: Likewise.
16905         * elf/dl-support.c: Likewise.
16906         * elf/ldconfig.c: Likewise.
16907         * elf/sprof.c: Likewise.
16908         * iconv/dummy-repertoire.c: Likewise.
16909         * iconv/iconv_charmap.c: Likewise.
16910         * iconv/skeleton.c: Likewise.
16911         * iconvdata/8bit-generic.c: Likewise.
16912         * iconvdata/cp737.h: Likewise.
16913         * iconvdata/cp775.h: Likewise.
16914         * iconvdata/ibm1008.h: Likewise.
16915         * iconvdata/ibm1025.h: Likewise.
16916         * iconvdata/ibm1046.h: Likewise.
16917         * iconvdata/ibm1097.h: Likewise.
16918         * iconvdata/ibm1112.h: Likewise.
16919         * iconvdata/ibm1122.h: Likewise.
16920         * iconvdata/ibm1123.h: Likewise.
16921         * iconvdata/ibm1124.h: Likewise.
16922         * iconvdata/ibm1129.h: Likewise.
16923         * iconvdata/ibm1130.h: Likewise.
16924         * iconvdata/ibm1132.h: Likewise.
16925         * iconvdata/ibm1133.h: Likewise.
16926         * iconvdata/ibm1137.h: Likewise.
16927         * iconvdata/ibm1140.h: Likewise.
16928         * iconvdata/ibm1141.h: Likewise.
16929         * iconvdata/ibm1142.h: Likewise.
16930         * iconvdata/ibm1143.h: Likewise.
16931         * iconvdata/ibm1144.h: Likewise.
16932         * iconvdata/ibm1145.h: Likewise.
16933         * iconvdata/ibm1146.h: Likewise.
16934         * iconvdata/ibm1147.h: Likewise.
16935         * iconvdata/ibm1148.h: Likewise.
16936         * iconvdata/ibm1149.h: Likewise.
16937         * iconvdata/ibm1153.h: Likewise.
16938         * iconvdata/ibm1154.h: Likewise.
16939         * iconvdata/ibm1155.h: Likewise.
16940         * iconvdata/ibm1156.h: Likewise.
16941         * iconvdata/ibm1157.h: Likewise.
16942         * iconvdata/ibm1158.h: Likewise.
16943         * iconvdata/ibm1160.h: Likewise.
16944         * iconvdata/ibm1161.h: Likewise.
16945         * iconvdata/ibm1162.h: Likewise.
16946         * iconvdata/ibm1163.h: Likewise.
16947         * iconvdata/ibm1164.h: Likewise.
16948         * iconvdata/ibm1166.h: Likewise.
16949         * iconvdata/ibm1167.h: Likewise.
16950         * iconvdata/ibm12712.h: Likewise.
16951         * iconvdata/ibm1390.h: Likewise.
16952         * iconvdata/ibm1399.h: Likewise.
16953         * iconvdata/ibm16804.h: Likewise.
16954         * iconvdata/ibm4517.h: Likewise.
16955         * iconvdata/ibm4899.h: Likewise.
16956         * iconvdata/ibm4909.h: Likewise.
16957         * iconvdata/ibm4971.h: Likewise.
16958         * iconvdata/ibm5347.h: Likewise.
16959         * iconvdata/ibm803.h: Likewise.
16960         * iconvdata/ibm856.h: Likewise.
16961         * iconvdata/ibm901.h: Likewise.
16962         * iconvdata/ibm902.h: Likewise.
16963         * iconvdata/ibm9030.h: Likewise.
16964         * iconvdata/ibm9066.h: Likewise.
16965         * iconvdata/ibm921.h: Likewise.
16966         * iconvdata/ibm922.h: Likewise.
16967         * iconvdata/ibm9448.h: Likewise.
16968         * iconvdata/isiri-3342.h: Likewise.
16969         * iconvdata/jis0201.h: Likewise.
16970         * include/link.h: Likewise.
16971         * include/netdb.h: Likewise.
16972         * inet/check_native.c: Likewise.
16973         * inet/check_pf.c: Likewise.
16974         * inet/getipv4sourcefilter.c: Likewise.
16975         * inet/getnameinfo.c: Likewise.
16976         * inet/getsourcefilter.c: Likewise.
16977         * inet/htonl.c: Likewise.
16978         * inet/setipv4sourcefilter.c: Likewise.
16979         * inet/setsourcefilter.c: Likewise.
16980         * inet/test-inet6_opt.c: Likewise.
16981         * inet/tst-network.c: Likewise.
16982         * locale/C-collate.c: Likewise.
16983         * locale/C-ctype.c: Likewise.
16984         * locale/C-time.c: Likewise.
16985         * locale/C-translit.h: Likewise.
16986         * locale/loadarchive.c: Likewise.
16987         * locale/programs/3level.h: Likewise.
16988         * locale/programs/charmap.c: Likewise.
16989         * locale/programs/charmap.h: Likewise.
16990         * locale/programs/ld-address.c: Likewise.
16991         * locale/programs/ld-collate.c: Likewise.
16992         * locale/programs/ld-ctype.c: Likewise.
16993         * locale/programs/ld-identification.c: Likewise.
16994         * locale/programs/ld-measurement.c: Likewise.
16995         * locale/programs/ld-messages.c: Likewise.
16996         * locale/programs/ld-monetary.c: Likewise.
16997         * locale/programs/ld-name.c: Likewise.
16998         * locale/programs/ld-numeric.c: Likewise.
16999         * locale/programs/ld-paper.c: Likewise.
17000         * locale/programs/ld-telephone.c: Likewise.
17001         * locale/programs/ld-time.c: Likewise.
17002         * locale/programs/linereader.c: Likewise.
17003         * locale/programs/locale.c: Likewise.
17004         * locale/programs/locarchive.c: Likewise.
17005         * locale/programs/locfile.h: Likewise.
17006         * locale/programs/repertoire.c: Likewise.
17007         * locale/programs/simple-hash.c: Likewise.
17008         * locale/programs/simple-hash.h: Likewise.
17009         * malloc/memusage.c: Likewise.
17010         * malloc/memusagestat.c: Likewise.
17011         * nis/nis_defaults.c: Likewise.
17012         * nis/nis_hash.c: Likewise.
17013         * nis/nis_print.c: Likewise.
17014         * nis/nis_xdr.c: Likewise.
17015         * nscd/connections.c: Likewise.
17016         * nscd/hstcache.c: Likewise.
17017         * nscd/nscd_gethst_r.c: Likewise.
17018         * nscd/nscd_getserv_r.c: Likewise.
17019         * nscd/nscd_helper.c: Likewise.
17020         * nscd/servicescache.c: Likewise.
17021         * nss/makedb.c: Likewise.
17022         * nss/nss_db/db-XXX.c: Likewise.
17023         * nss/nss_db/db-initgroups.c: Likewise.
17024         * nss/nss_db/db-netgrp.c: Likewise.
17025         * nss/nss_files/files-network.c: Likewise.
17026         * nss/nss_files/files-parse.c: Likewise.
17027         * posix/bug-regex5.c: Likewise.
17028         * posix/fnmatch_loop.c: Likewise.
17029         * posix/regcomp.c: Likewise.
17030         * posix/regexec.c: Likewise.
17031         * posix/tst-rfc3484-2.c: Likewise.
17032         * posix/tst-rfc3484-3.c: Likewise.
17033         * posix/tst-rfc3484.c: Likewise.
17034         * resolv/nss_dns/dns-canon.c: Likewise.
17035         * resolv/nss_dns/dns-network.c: Likewise.
17036         * resolv/res_init.c: Likewise.
17037         * resolv/res_mkquery.c: Likewise.
17038         * resolv/tst-aton.c: Likewise.
17039         * stdlib/cxa_atexit.c: Likewise.
17040         * stdlib/cxa_finalize.c: Likewise.
17041         * stdlib/gen-fpioconst.c: Likewise.
17042         * stdlib/strtol_l.c: Likewise.
17043         * string/tst-endian.c: Likewise.
17044         * sunrpc/auth_des.c: Likewise.
17045         * sunrpc/clnt_udp.c: Likewise.
17046         * sunrpc/rtime.c: Likewise.
17047         * sunrpc/svcauth_des.c: Likewise.
17048         * sunrpc/xdr.c: Likewise.
17049         * sunrpc/xdr_intXX_t.c: Likewise.
17050         * sunrpc/xdr_rec.c: Likewise.
17051         * sysdeps/generic/ldconfig.h: Likewise.
17052         * sysdeps/generic/ldsodefs.h: Likewise.
17053         * sysdeps/generic/memusage.h: Likewise.
17054         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17055         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17056         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17057         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17058         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17059         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17060         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17061         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17062         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17063         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17064         * sysdeps/posix/getaddrinfo.c: Likewise.
17065         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17066         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17067         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17068         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17069         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17070         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17071         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17072         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17073         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17074         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17075         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17076         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17077         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17078         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17079         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17080         * sysdeps/x86_64/dl-tls.h: Likewise.
17081         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17082         * time/alt_digit.c: Likewise.
17083         * time/era.c: Likewise.
17084         * wcsmbs/tst-c16c32-1.c: Likewise.
17085
17086 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17087
17088         * math/libm-test.inc (struct test_sincos_data): New type.
17089         (RUN_TEST_LOOP_sincos): New macro.
17090         (sincos_test_data): New variable.
17091         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17092
17093 2013-05-16  Richard Henderson  <rth@redhat.com>
17094
17095         * math/atest-exp2.c (LIMB64): New macro.
17096         (CONSTSZ): New macro.
17097         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17098         (hexdig): Move ...
17099         (print_mpn_fp): ... to function scope.
17100         (read_mpn_hex): Remove.
17101         (get_log2): Remove.
17102         (exp2_mpn): Use mp_log2.
17103         (main): Use mp_exp1.
17104
17105 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17106
17107         * math/libm-test.inc: Remove comment about not testing "inexact"
17108         exceptions.
17109         (INEXACT_EXCEPTION): New macro.
17110         (NO_INEXACT_EXCEPTION): Likewise.
17111         (INVALID_EXCEPTION_OK): Update value.
17112         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17113         (OVERFLOW_EXCEPTION_OK): Likewise.
17114         (UNDERFLOW_EXCEPTION_OK): Likewise.
17115         (IGNORE_ZERO_INF_SIGN): Likewise.
17116         (ERRNO_UNCHANGED): Likewise.
17117         (ERRNO_EDOM): Likewise.
17118         (ERRNO_ERANGE): Likewise.
17119         (test_exceptions): Handle testing "inexact" exceptions.
17120         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17121         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17122         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17123         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17124         INEXACT_EXCEPTION.
17125         (rint_towardzero_test_data): Likewise.
17126         (rint_downward_test_data): Likewise.
17127         (rint_upward_test_data): Likewise.
17128
17129         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17130         with OVERFLOW_EXCEPTION.
17131         (exp10_test_data): Likewise.
17132         (exp2_test_data): Likewise.
17133         (expm1_test_data): Likewise.
17134         (lgamma_test_data): Likewise.
17135         (pow_test_data): Likewise.
17136         (tgamma_test_data): Likewise.
17137         (yn_test_data): Remove duplicate test of overflow.
17138
17139         * math/libm-test.inc (struct test_cc_c_data): New type.
17140         (RUN_TEST_LOOP_cc_c): New macro.
17141         (cpow_test_data): New variable.
17142         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17143
17144         * math/libm-test.inc (struct test_f_L_data): New type.
17145         (RUN_TEST_LOOP_f_L): New macro.
17146         (llrint_test_data): New variable.
17147         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17148         (llrint_tonearest_test_data): New variable.
17149         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17150         (llrint_towardzero_test_data): New variable.
17151         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17152         (llrint_downward_test_data): New variable.
17153         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17154         (llrint_upward_test_data): New variable.
17155         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17156         (llround_test_data): New variable.
17157         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17158
17159 2013-05-13  Peter Collingbourne  <pcc@google.com>
17160
17161         * math/atest-exp2.c (get_log2): Remove const attribute.
17162
17163 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17164
17165         * math/libm-test.inc (struct test_f_l_data): New type.
17166         (RUN_TEST_LOOP_f_l): New macro.
17167         (lrint_test_data): New variable.
17168         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17169         (lrint_tonearest_test_data): New variable.
17170         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17171         (lrint_towardzero_test_data): New variable.
17172         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17173         (lrint_downward_test_data): New variable.
17174         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17175         (lrint_upward_test_data): New variable.
17176         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17177         (lround_test_data): New variable.
17178         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17179
17180 2013-05-15  Peter Collingbourne  <pcc@google.com>
17181
17182         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17183         (EXTRACT_WORDS64) Use where appropriate.
17184         (INSERT_WORDS64) Likewise.
17185
17186         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17187         constraints with x constraints.
17188         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17189
17190         * malloc/obstack.c (_obstack_compat): Add initializer.
17191
17192 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17193
17194         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17195         si_trapno and add si_addr_lsb to _sifields.sigfault.
17196         (si_trapno): Remove macro.
17197         (si_addr_lsb): Define new macro.
17198         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17199
17200 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17201
17202         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17203         instead of TEST_f_l.
17204         (llrint_test_tonearest): Likewise.
17205         (llrint_test_towardzero): Likewise.
17206         (llrint_test_downward): Likewise.
17207         (llrint_test_upward): Likewise.
17208         (llround_test): Likewise.
17209
17210         * math/libm-test.inc (struct test_f_i_data): Add comment.
17211         (RUN_TEST_LOOP_f_b): New macro.
17212         (RUN_TEST_LOOP_f_b_tg): Likewise.
17213         (finite_test_data): New variable.
17214         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17215         (isfinite_test_data): New variable.
17216         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17217         (isinf_test_data): New variable.
17218         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17219         (isnan_test_data): New variable.
17220         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17221         (isnormal_test_data): New variable.
17222         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17223         (issignaling_test_data): New variable.
17224         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17225         (signbit_test_data): New variable.
17226         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17227
17228         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17229         with INVALID_EXCEPTION.
17230         (acosh_test_data): Likewise.
17231         (asin_test_data): Likewise.
17232         (atanh_test_data): Likewise.
17233         (fmod_test_data): Likewise.
17234         (log_test_data): Likewise.
17235         (log10_test_data): Likewise.
17236         (log2_test_data): Likewise.
17237         (pow_test_data): Likewise.
17238         (sqrt_test_data): Likewise.
17239         (y0_test_data): Likewise.
17240         (y1_test_data): Likewise.
17241         (yn_test_data): Likewise.
17242
17243         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17244         function contents.
17245
17246         * math/libm-test.inc (struct test_ff_i_data): New type.
17247         (RUN_TEST_LOOP_ff_i_tg): New macro.
17248         (isgreater_test_data): New variable.
17249         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17250         (isgreaterequal_test_data): New variable.
17251         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17252         (isless_test_data): New variable.
17253         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17254         (islessequal_test_data): New variable.
17255         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17256         (islessgreater_test_data): New variable.
17257         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17258         (isunordered_test_data): New variable.
17259         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17260
17261 2013-05-14  David S. Miller  <davem@davemloft.net>
17262
17263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17264
17265 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17266
17267         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17268
17269         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17270         extra_test to int.
17271         (struct test_f_i_data): Change type of max_ulp to int.
17272
17273         * math/libm-test.inc (test_ffI_f1_data): New type.
17274         (RUN_TEST_LOOP_ffI_f1): New macro.
17275         (remquo_test_data): New variable.
17276         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17277
17278         * setjmp/tst-setjmp-fp.c: New file.
17279         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17280         (link-libm): New variable.
17281         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17282
17283         * math/libm-test.inc (struct test_f_i_data): New type.
17284         (RUN_TEST_LOOP_f_i): New macro.
17285         (RUN_TEST_LOOP_f_i_tg): Likewise.
17286         (fpclassify_test_data): New variable.
17287         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17288         (ilogb_test_data): New variable.
17289         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17290
17291         * math/libm-test.inc (scalbln_test): Correct function name in END
17292         call.
17293
17294         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17295         (RUN_TEST_LOOP_fI_f1): New macro.
17296         (frexp_test_data): New variable.
17297         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17298
17299         * math/libm-test.inc (struct test_fF_f1_data): New type.
17300         (RUN_TEST_LOOP_fF_f1): New macro.
17301         (modf_test_data): New variable.
17302         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17303
17304         * math/libm-test.inc (struct test_f_f1_data): New type.
17305         (RUN_TEST_LOOP_f_f1): New macro.
17306         (gamma_test_data): New variable.
17307         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17308         (lgamma_test_data): New variable.
17309         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17310
17311 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17312
17313         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17314         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17315         (main): Comment "tls" pseudo-hwcap.
17316
17317 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17318
17319         * math/libm-test.inc (struct test_fl_f_data): New type.
17320         (RUN_TEST_LOOP_fl_f): New variable.
17321         (scalbln_test_data): New variable.
17322         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17323
17324         * math/libm-test.inc (struct test_fi_f_data): New type.
17325         (RUN_TEST_LOOP_fi_f): New macro.
17326         (ldexp_test_data): New variable.
17327         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17328         (scalbn_test_data): New variable.
17329         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17330
17331         * math/libm-test.inc (struct test_c_f_data): New type.
17332         (RUN_TEST_LOOP_c_f): New macro.
17333         (cabs_test_data): New variable.
17334         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17335         (carg_test_data): New variable.
17336         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17337         (cimag_test_data): New variable.
17338         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17339         (creal_test_data): New variable.
17340         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17341
17342         * math/libm-test.inc (struct test_if_f_data): New type.
17343         (RUN_TEST_LOOP_if_f): New macro.
17344         (jn_test_data): New variable.
17345         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17346         (yn_test_data): New variable.
17347         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17348
17349         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17350
17351 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17352
17353         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17354         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17355
17356 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17357
17358         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17359         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17360         (bench-deps): Add bench-timing.h.
17361         * benchtests-bench-skeleton.c: Include bench-timing.h.
17362         (main): Use TIMING_* macros instead of clock_gettime.
17363         * benchtests/bench-timing.h: New file.
17364
17365         [BZ #14582]
17366         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17367         Renamed from _LIB_VERSION.
17368         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17369
17370 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17371
17372         * math/libm-test.inc (struct test_fff_f_data): New type.
17373         (RUN_TEST_LOOP_fff_f): New macro.
17374         (fma_test_data): New variable.
17375         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17376         (fma_towardzero_test_data): New variable.
17377         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17378         (fma_downward_test_data): New variable.
17379         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17380         (fma_upward_test_data): New variable.
17381         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17382
17383         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17384         (struct test_c_c_data): New type.
17385         (RUN_TEST_LOOP_c_c): New macro.
17386         (cacos_test_data): New variable.
17387         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17388         (cacosh_test_data): New variable.
17389         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17390         (casin_test_data): New variable.
17391         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17392         (casinh_test_data): New variable.
17393         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17394         (catan_test_data): New variable.
17395         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17396         (catanh_test_data): New variable.
17397         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17398         (ccos_test_data): New variable.
17399         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17400         (ccosh_test_data): New variable.
17401         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17402         (cexp_test_data): New variable.
17403         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17404         (clog_test_data): New variable.
17405         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17406         (clog10_test_data): New variable.
17407         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17408         (conj_test_data): New variable.
17409         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17410         (cproj_test_data): New variable.
17411         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17412         (csin_test_data): New variable.
17413         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17414         (csinh_test_data): New variable.
17415         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17416         (csqrt_test_data): New variable.
17417         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17418         (ctan_test_data): New variable.
17419         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17420         (ctan_tonearest_test_data): New variable.
17421         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17422         (ctan_towardzero_test_data): New variable.
17423         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17424         (ctan_downward_test_data): New variable.
17425         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17426         (ctan_upward_test_data): New variable.
17427         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17428         (ctanh_test_data): New variable.
17429         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17430         (ctanh_tonearest_test_data): New variable.
17431         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17432         (ctanh_towardzero_test_data): New variable.
17433         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17434         (ctanh_downward_test_data): New variable.
17435         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17436         (ctanh_upward_test_data): New variable.
17437         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17438         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17439         of BUILD_COMPLEX.
17440
17441         * math/libm-test.inc (struct test_ff_f_data): New type.
17442         (struct test_ff_f_data_nexttoward): Likewise.
17443         (RUN_TEST_LOOP_2_f): New macro.
17444         (RUN_TEST_LOOP_ff_f): Likewise.
17445         (atan2_test_data): New variable.
17446         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17447         (copysign_test_data): New variable.
17448         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17449         (fdim_test_data): New variable.
17450         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17451         (fmax_test_data): New variable.
17452         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17453         (fmin_test_data): New variable.
17454         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17455         (fmod_test_data): New variable.
17456         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17457         (hypot_test_data): New variable.
17458         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17459         (nextafter_test_data): New variable.
17460         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17461         (nexttoward_test_data): New variable.
17462         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17463         (pow_test_data): New variable.
17464         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17465         (pow_tonearest_test_data): New variable.
17466         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17467         (pow_towardzero_test_data): New variable.
17468         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17469         (pow_downward_test_data): New variable.
17470         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17471         (pow_upward_test_data): New variable.
17472         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17473         (remainder_test_data): New variable.
17474         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17475         (scalb_test_data): New variable.
17476         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17477         * sysdeps/i386/fpu/libm-test-ulps: Update.
17478
17479 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17480
17481         * math/libm-test.inc (fma_test): Use max_value instead of local
17482         variable fltmax.
17483         (nextafter_test): Likewise.
17484
17485         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17486         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17487         (acos_downward_test_data): New variable.
17488         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17489         (acos_upward_test_data): New variable.
17490         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17491         (acosh_test_data): New variable.
17492         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17493         (asin_test_data): New variable.
17494         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17495         (asin_tonearest_test_data): New variable.
17496         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17497         (asin_towardzero_test_data): New variable.
17498         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17499         (asin_downward_test_data): New variable.
17500         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17501         (asin_upward_test_data): New variable.
17502         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17503         (asinh_test_data): New variable.
17504         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17505         (atan_test_data): New variable.
17506         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17507         (atanh_test_data): New variable.
17508         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17509         (cbrt_test_data): New variable.
17510         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17511         (ceil_test_data): New variable.
17512         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17513         (cos_test_data): New variable.
17514         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17515         (cos_tonearest_test_data): New variable.
17516         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17517         (cos_towardzero_test_data): New variable.
17518         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17519         (cos_downward_test_data): New variable.
17520         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17521         (cos_upward_test_data): New variable.
17522         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17523         (cosh_test_data): New variable.
17524         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17525         (cosh_tonearest_test_data): New variable.
17526         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17527         (cosh_towardzero_test_data): New variable.
17528         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17529         (cosh_downward_test_data): New variable.
17530         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17531         (cosh_upward_test_data): New variable.
17532         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17533         (erf_test_data): New variable.
17534         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17535         (erfc_test_data): New variable.
17536         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17537         (exp_test_data): New variable.
17538         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17539         (exp_tonearest_test_data): New variable.
17540         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17541         (exp_towardzero_test_data): New variable.
17542         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17543         (exp_downward_test_data): New variable.
17544         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17545         (exp_upward_test_data): New variable.
17546         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17547         (exp10_test_data): New variable.
17548         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17549         (exp2_test_data): New variable.
17550         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17551         (expm1_test_data): New variable.
17552         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17553         (fabs_test_data): New variable.
17554         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17555         (floor_test_data): New variable.
17556         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17557         (j0_test_data): New variable.
17558         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17559         (j1_test_data): New variable.
17560         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17561         (log_test_data): New variable.
17562         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17563         (log10_test_data): New variable.
17564         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17565         (log1p_test_data): New variable.
17566         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17567         (log2_test_data): New variable.
17568         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17569         (logb_test_data): New variable.
17570         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17571         (logb_downward_test_data): New variable.
17572         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17573         (nearbyint_test_data): New variable.
17574         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17575         (rint_test_data): New variable.
17576         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17577         (rint_tonearest_test_data): New variable.
17578         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17579         (rint_towardzero_test_data): New variable.
17580         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17581         (rint_downward_test_data): New variable.
17582         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17583         (rint_upward_test_data): New variable.
17584         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17585         (round_test_data): New variable.
17586         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17587         (sin_test_data): New variable.
17588         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17589         (sin_tonearest_test_data): New variable.
17590         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17591         (sin_towardzero_test_data): New variable.
17592         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17593         (sin_downward_test_data): New variable.
17594         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17595         (sin_upward_test_data): New variable.
17596         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17597         (sinh_test_data): New variable.
17598         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17599         (sinh_tonearest_test_data): New variable.
17600         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17601         (sinh_towardzero_test_data): New variable.
17602         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17603         (sinh_downward_test_data): New variable.
17604         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17605         (sinh_upward_test_data): New variable.
17606         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17607         (sqrt_test_data): New variable.
17608         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17609         (tan_test_data): New variable.
17610         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17611         (tan_tonearest_test_data): New variable.
17612         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17613         (tan_towardzero_test_data): New variable.
17614         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17615         (tan_downward_test_data): New variable.
17616         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17617         (tan_upward_test_data): New variable.
17618         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17619         (tanh_test_data): New variable.
17620         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17621         (tgamma_test_data): New variable.
17622         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17623         (trunc_test_data): New variable.
17624         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17625         (y0_test_data): New variable.
17626         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17627         (y1_test_data): New variable.
17628         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17629         (significand_test_data): New variable.
17630         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17631
17632 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17633
17634         [BZ #12387]
17635         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17636
17637 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17638
17639         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17640
17641 2013-05-10  Andreas Jaeger  <aj@suse.de>
17642
17643         [BZ #15448]
17644         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17645         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17646
17647 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17648
17649         * math/gen-libm-test.pl (adjust_arg): New function.
17650         (special_functions): Handle generating output in both functions
17651         and arrays.
17652         (parse_args): Likewise.
17653         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17654         $in_func argument to parse_args.
17655         * math/libm-test.inc (struct test_f_f_data): New type.
17656         (IF_ROUND_INIT_): New macro.
17657         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17658         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17659         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17660         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17661         (ROUND_RESTORE_): Likewise.
17662         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17663         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17664         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17665         (ROUND_RESTORE_FE_UPWARD): Likewise.
17666         (RUN_TEST_LOOP_f_f): New macro.
17667         (acos_test_data): New variable.
17668         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17669         (acos_tonearest_test_data): New variable.
17670         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17671
17672 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17673
17674         * benchtests/bench-skeleton.c (startup): Fix coding style.
17675
17676 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17677
17678         [BZ #6809]
17679         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17680         negative infinity argument.
17681         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17682         negative infinity argument.
17683         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17684         negative infinity argument.
17685         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17686         domain errors.
17687
17688 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17689
17690         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17691         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17692         * iconv/iconv_prog.c (main): Likewise.
17693         * locale/programs/charmap-dir.c (charmap_readdir)
17694         (fopen_uncompressed): Likewise.
17695         * locale/programs/locfile.c (siblings_uncached)
17696         (write_locale_data): Use lstat64 instead of lstat.
17697         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17698         stat.
17699
17700 2013-05-10  Andreas Jaeger  <aj@suse.de>
17701
17702         [BZ #15395]
17703         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17704         localization.
17705         Include <locale.h>.
17706
17707 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17708
17709         * elf/dl-close.c (_dl_close_worker): Add comments.
17710
17711 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17712
17713         [BZ #15359]
17714         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17715         high part of pi/2.
17716         (__ieee754_rem_pio2l): Update comments.
17717
17718         [BZ #15429]
17719         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17720         high part of pi/2.
17721         (__ieee754_rem_pio2l): Update comments.
17722
17723         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17724         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17725
17726         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17727         M_PI_4l.
17728
17729         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17730         (M_PI_34_LOG10El): Likewise.
17731         (M_PI2_LOG10El): Likewise.
17732         (M_PI4_LOG10El): Likewise.
17733         (M_PI_LOG10El): Likewise.
17734
17735 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17736
17737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17738
17739 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17740
17741         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17742         (MINUS_ZERO_INIT): Likewise.
17743         (PLUS_INFTY_INIT): Likewise.
17744         (MINUS_INFTY_INIT): Likewise.
17745         (QNAN_VALUE_INIT): Likewise.
17746         (MAX_VALUE_INIT): Likewise.
17747         (MIN_VALUE_INIT): Likewise.
17748         (MIN_SUBNORM_VALUE_INIT): Likewise.
17749         (plus_zero): Initialize with PLUS_ZERO_INIT.
17750         (minus_zero): Initialize with MINUS_ZERO_INIT.
17751         (plus_infty): Initialize with PLUS_INFTY_INIT.
17752         (minus_infty): Initialize with MINUS_INFTY_INIT.
17753         (qnan_value): Initialize with QNAN_VALUE_INIT.
17754         (max_value): Initialize with MAX_VALUE_INIT.
17755         (min_value): Initialize with MIN_VALUE_INIT.
17756         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17757
17758         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17759         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17760         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17761         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17762
17763         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17764         (RUN_TEST_2_f): Likewise.
17765         (RUN_TEST_ff_f): Likewise.
17766         (RUN_TEST_fi_f): Likewise.
17767         (RUN_TEST_fl_f): Likewise.
17768         (RUN_TEST_fff_f): Likewise.
17769         (RUN_TEST_c_f): Likewise.
17770         (RUN_TEST_f_f1): Likewise.
17771         (RUN_TEST_fF_f1): Likewise.
17772         (RUN_TEST_fI_f1): Likewise.
17773         (RUN_TEST_ffI_f1): Likewise.
17774         (RUN_TEST_c_c): Likewise.
17775         (RUN_TEST_cc_c): Likewise.
17776         (RUN_TEST_f_i): Likewise.
17777         (RUN_TEST_f_i_tg): Likewise.
17778         (RUN_TEST_ff_i_tg): Likewise.
17779         (RUN_TEST_f_b): Likewise.
17780         (RUN_TEST_f_b_tg): Likewise.
17781         (RUN_TEST_f_l): Likewise.
17782         (RUN_TEST_f_L): Likewise.
17783         (RUN_TEST_sincos): Likewise.
17784         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17785         whether to show exceptions.  Do not include ");\n" in return
17786         value.
17787         (special_functions): Output call to RUN_TEST_sincos instead of
17788         check_float calls.  Update calls to new_test.
17789         (parse_args): Output call to single RUN_TEST_* macro instead of
17790         check_* calls and other assignments.  Update calls to new_test.
17791
17792         [BZ #2546]
17793         [BZ #2560]
17794         [BZ #5159]
17795         [BZ #15426]
17796         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17797         input to result for tgamma overflow.
17798         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17799         (gamma_coeff): New variable.
17800         (NCOEFF): New macro.
17801         (gamma_positive): New function.
17802         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17803         underflow here.  Use gamma_positive instead of exp (lgamma) for
17804         other arguments.
17805         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17806         (gamma_coeff): New variable.
17807         (NCOEFF): New macro.
17808         (gammaf_positive): New function.
17809         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17810         underflow here.  Use gamma_positive instead of exp (lgamma) for
17811         other arguments.
17812         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17813         (gamma_coeff): New variable.
17814         (NCOEFF): New macro.
17815         (gammal_positive): New function.
17816         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17817         underflow here.  Use gamma_positive instead of exp (lgamma) for
17818         other arguments.
17819         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17820         (gamma_coeff): New variable.
17821         (NCOEFF): New macro.
17822         (gammal_positive): New function.
17823         (__ieee754_gammal_r): Handle positive infinity, overflow and
17824         underflow here.  Handle NaN the same as positive infinity.  Remove
17825         check x < 0xffffffff for negative integers.  Use gamma_positive
17826         instead of exp (lgamma) for other arguments.
17827         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17828         (gamma_coeff): New variable.
17829         (NCOEFF): New macro.
17830         (gammal_positive): New function.
17831         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17832         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17833         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17834         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17835         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17836         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17837         * sysdeps/generic/math_private.h (__gamma_productf): New
17838         prototype.
17839         (__gamma_product): Likewise.
17840         (__gamma_productl): Likewise.
17841         * math/Makefile (libm-calls): Add gamma_product.
17842         * math/libm-test.inc (tgamma_test): Add more tests.
17843         * sysdeps/i386/fpu/libm-test-ulps: Update.
17844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17845
17846 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17847
17848         * benchtests/bench-skeleton.c (main): Preheat CPU.
17849
17850 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17851
17852         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17853
17854 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17855
17856         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17857         and _dl_skip_args_internal.
17858
17859 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17860
17861         * manual/message.texi (Message Translation): Talk about users.
17862         Message to key mapping impacts design.
17863
17864 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17865
17866         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17867
17868         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17869
17870         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17871         * sysdeps/wordsize-64/glob64.c: ... here.
17872
17873         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17874         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17875         New macros.
17876
17877         * debug/getlogin_r_chk.c: Moved to ...
17878         * login/getlogin_r_chk.c: ... here.
17879         * debug/Makefile (routines): Move getlogin_r_chk to ...
17880         * login/Makefile (routines): ... here.
17881         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17882         * login/Versions (libc: GLIBC_2.4): ... here.
17883
17884         * io/poll.c (__poll): Renamed from poll.
17885         Add libc_hidden_def.
17886         (poll): Define as weak alias.
17887
17888         * debug/ptsname_r_chk.c: Moved to ...
17889         * login/ptsname_r_chk.c: ... here.
17890         * debug/Makefile (routines): Move ptsname_r_chk to ...
17891         * login/Makefile (routines): ... here.
17892         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17893         * login/Versions (libc: GLIBC_2.4): ... here.
17894
17895         * posix/getlogin.c: Moved to ...
17896         * login/getlogin.c: ... here.
17897         * posix/getlogin_r.c: Moved to ...
17898         * login/getlogin_r.c: ... here.
17899         * posix/getlogin_r.c: Moved to ...
17900         * login/getlogin_r.c: ... here.
17901         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17902         * login/Makefile (routines): ... here.
17903         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17904         * login/Versions (libc: GLIBC_2.0): ... here.
17905
17906         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17907         (setrlimit): Define as weak alias.
17908
17909         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17910         Call __ names for open, ftruncate, and close.
17911         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17912         (truncate): Define as weak alias.
17913
17914 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17915
17916         * math/gen-libm-test.pl (parse_args): Initialize x before each
17917         test of frexp, modf and remquo.
17918
17919         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17920         test signgam value.
17921
17922 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17923
17924         [BZ #15418]
17925         [BZ #15419]
17926         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17927         internal tests.
17928         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17929
17930 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17931
17932         * elf/dl-writev.h: New file.
17933         * elf/dl-misc.c: Include it.
17934         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17935         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17936
17937 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17938
17939         * math/libm-test.inc (noXFails): Remove variable.
17940         (noXPasses): Likewise.
17941         (BUILD_COMPLEX_INT): Remove macro.
17942         (print_screen): Remove xfail argument.
17943         (print_screen_max_error): Likewise.
17944         (update_stats): Likewise.
17945         (print_max_error): Likewise.  Update calls to other affected
17946         functions.
17947         (print_complex_max_error): Likewise.
17948         (test_single_exception): Update calls to print_screen.
17949         (test_single_errno): Likewise.
17950         (check_float_internal): Remove xfail argument.  Update calls to
17951         other affected functions.
17952         (check_float): Likewise.
17953         (check_complex): Likewise.
17954         (check_int): Likewise.
17955         (check_long): Likewise.
17956         (check_bool): Likewise.
17957         (check_longlong): Likewise.
17958         (main): Don't print noXFails and noXPasses.
17959         * math/gen-libm-test.pl (top level): Don't mention expected
17960         failure handling in comment.
17961         (new_test): Don't handle expected failures.
17962         (parse_args): Don't mention expected failure handling in comment.
17963         (generate_testfile): Don't handle expected failures.
17964         (parse_ulps): Likewise.
17965         (print_ulps_file): Likewise.
17966         (get_failure): Remove function.
17967         (output_test): Don't handle expected failures.
17968         * make/README.libm-test: Don't mention expected failure handling.
17969
17970         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17971         (minus_zero): Likewise.
17972         (plus_infty): Likewise.
17973         (minus_infty): Likewise.
17974         (qnan_value): Likewise.
17975         (max_value): Likewise.
17976         (min_value): Likewise.
17977         (min_subnorm_value): Likewise.
17978         (initialize): Do not initialize those variables dynamically.
17979
17980 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17981
17982         * io/open.c (__open_2): Moved to ...
17983         * io/open_2.c: ... this new file.
17984         * io/open64.c (__open64_2): Moved to ...
17985         * io/open64_2.c: ... this new file.
17986         * io/openat.c (__openat_2): Moved to ...
17987         * io/openat_2.c: ... this new file.
17988         * io/openat64.c (__openat64_2): Moved to ...
17989         * io/openat64_2.c: ... this new file.
17990         * io/Makefile (routines): Add them.
17991         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17992         * sysdeps/unix/sysv/linux/open_2.c: File removed.
17993         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17994         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17995         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17996         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17997         (__openat64): Add hidden_ver.
17998         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17999         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18000
18001         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18002         Separately conditionalize setting of GLRO(dl_sysinfo) so
18003         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18004         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18005
18006 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18007
18008         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18009         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18010         definition.
18011         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18012         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18013         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18014         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18015         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18016
18017 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18018
18019         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18020         test signgam value.
18021
18022         * math/libm-test.inc (hypot_test): Do not use
18023         IGNORE_ZERO_INF_SIGN.
18024
18025 2013-05-03  Andreas Jaeger  <aj@suse.de>
18026
18027         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18028         Linux 3.9.
18029         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18030         (PF_MAX): Adjust for VSOCK change.
18031
18032 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18033
18034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18035
18036 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18037
18038         [BZ #15264]
18039         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18040         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18041         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18042
18043 2013-05-02  David S. Miller  <davem@davemloft.net>
18044
18045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18046
18047 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18048
18049         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18050
18051 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18052
18053         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18054
18055 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18056
18057         [BZ #14952]
18058         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18059         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18060         Use __attribute__ ((__gnu_inline__)).
18061         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18062         Don't use __attribute__ ((__gnu_inline__)).
18063
18064 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18065
18066         [BZ #15423]
18067         * math/s_catan.c (__catan): Handle small real or imaginary part of
18068         input specially to avoid spurious underflow.
18069         * math/s_catanf.c (__catanf): Likewise.
18070         * math/s_catanh.c (__catanh): Likewise.
18071         * math/s_catanhf.c (__catanhf): Likewise.
18072         * math/s_catanhl.c (__catanhl): Likewise.
18073         * math/s_catanl.c (__catanl): Likewise.
18074         * math/libm-test.inc (catan_test): Add more tests.
18075         (catanh_test): Likewise.
18076         * sysdeps/i386/fpu/libm-test-ulps: Update.
18077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18078
18079 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18080
18081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18082
18083 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18084
18085         [BZ #15416]
18086         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18087         accurately for denominator in atan2.
18088         * math/s_catanf.c (__catanf): Likewise.
18089         * math/s_catanh.c (__catanh): Likewise.
18090         * math/s_catanhf.c (__catanhf): Likewise.
18091         * math/s_catanhl.c (__catanhl): Likewise.
18092         * math/s_catanl.c (__catanl): Likewise.
18093         * math/libm-test.inc (catan_test): Add more tests.
18094         (catanh_test): Likewise.
18095         * sysdeps/i386/fpu/libm-test-ulps: Update.
18096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18097
18098 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18099
18100         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18101
18102         * benchtests/Makefile (bench): Remove slow benchmarks.
18103         * benchtests/atan-inputs: Add slow benchmark inputs.
18104         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18105         (BENCH_FUNC): Accept variant offset.
18106         (VARIANT): Define.
18107         * benchtests/bench-skeleton.c (main): Run benchmark for each
18108         variant.
18109         * benchtests/cos-inputs: Add slow benchmark inputs.
18110         * benchtests/exp-inputs: Likewise.
18111         * benchtests/pow-inputs: Likewise.
18112         * benchtests/sin-inputs: Likewise.
18113         * benchtests/slowatan-inputs: Remove.
18114         * benchtests/slowatan.c: Remove.
18115         * benchtests/slowcos-inputs: Remove.
18116         * benchtests/slowcos.c: Remove.
18117         * benchtests/slowexp-inputs: Remove.
18118         * benchtests/slowexp.c: Remove.
18119         * benchtests/slowpow-inputs: Remove.
18120         * benchtests/slowpow.c: Remove.
18121         * benchtests/slowsin-inputs: Remove.
18122         * benchtests/slowsin.c: Remove.
18123         * benchtests/slowtan-inputs: Remove.
18124         * benchtests/slowtan.c: Remove.
18125         * benchtests/tan-inputs: Add slow benchmark inputs.
18126         * scripts/bench.pl: Parse comments and directives.
18127
18128         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18129         in CPPFLAGS.
18130         ($(objpfx)bench-%.c): Remove *-ITER.
18131         * benchtests/bench-modf.c: Remove definition of ITER.
18132         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18133         (main): Loop for DURATION seconds instead of fixed number of
18134         iterations.
18135         * scripts/bench.pl: Don't expect iterations in parameters.
18136
18137 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18138
18139         * io/fchdir.c (__fchdir): Renamed from fchdir.
18140         (fchdir): Define as weak alias.
18141
18142 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18143
18144         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18145         (ERRNO_EDOM): Likewise.
18146         (ERRNO_ERANGE): Likewise.
18147         (noErrnoTests): New variable.
18148         (init_max_error): Set errno to 0.
18149         (test_single_errno): New function.
18150         (test_errno): Likewise.
18151         (check_float_internal): Call test_errno.  Set errno to 0.
18152         (check_complex): Refer to errno tests in comment.
18153         (check_int): Call test_errno.  Set errno to 0.
18154         (check_long): Likewise.
18155         (check_bool): Likewise.
18156         (check_longlong): Likewise.
18157         (cos_test): Use ERRNO_* flags for errno tests instead of
18158         check_int.
18159         (expm1_test): Likewise.
18160         (fmod_test): Likewise.
18161         (ilogb_test): Likewise.
18162         (lgamma_test): Likewise.
18163         (pow_test): Likewise.
18164         (remainder_test): Likewise.
18165         (sin_test): Likewise.
18166         (tan_test): Likewise.
18167         (yn_test): Likewise.
18168         (initialize): Set errno to 0.
18169         (main): Print number of errno tests.
18170         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18171
18172 2013-04-29  Andreas Jaeger  <aj@suse.de>
18173
18174         [BZ #15084]
18175         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18176         and RES_USEVC.
18177
18178         [BZ #15085]
18179         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18180         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18181         unimplemented.
18182
18183         [BZ #15380]
18184         * stdlib/random.c (__initstate): Return NULL if
18185         __initstate fails.
18186
18187         [BZ #15086]
18188         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18189         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18190         RES_SNGLKUPREOP.
18191
18192 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18193
18194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18195
18196 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18197
18198         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18199         of individual tests.
18200         (casin_test): Likewise.
18201         (casinh_test): Likewise.
18202
18203 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18204
18205         [BZ #15409]
18206         * math/s_catan.c (__catan): Handle arguments with large real or
18207         imaginary part separately without squaring.
18208         * math/s_catanf.c (__catanf): Likewise.
18209         * math/s_catanh.c (__catanh): Likewise.
18210         * math/s_catanhf.c (__catanhf): Likewise.
18211         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18212         and redefine.
18213         (__catanhl): Handle arguments with large real or imaginary part
18214         separately without squaring.
18215         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18216         and redefine.
18217         (__catanl): Handle arguments with large real or imaginary part
18218         separately without squaring.
18219         * math/libm-test.inc (catan_test): Add more tests.
18220         (catanh_test): Likewise.
18221         * sysdeps/i386/fpu/libm-test-ulps: Update.
18222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18223
18224 2013-04-27  Andreas Jaeger  <aj@suse.de>
18225
18226         [BZ #15007]
18227         * stdlib/stdlib.h: Update guards for qecvt.
18228         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18229         <stdlib.h>.
18230
18231 2013-04-27  Allan McRae  <allan@archlinux.org>
18232
18233         * sysdeps/i386/fpu/libm-test-ulps: Update.
18234
18235 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18236
18237         [BZ #15406]
18238         * math/s_catan.c: Include <float.h>.
18239         (__catan): Ensure underflow exception occurs for underflowed
18240         result.
18241         * math/s_catanf.c: Include <float.h>.
18242         (__catanf): Ensure underflow exception occurs for underflowed
18243         result.
18244         * math/s_catanh.c: Include <float.h>.
18245         (__catanh): Ensure underflow exception occurs for underflowed
18246         result.
18247         * math/s_catanhf.c: Include <float.h>.
18248         (__catanhf): Ensure underflow exception occurs for underflowed
18249         result.
18250         * math/s_catanhl.c: Include <float.h>.
18251         (__catanhl): Ensure underflow exception occurs for underflowed
18252         result.
18253         * math/s_catanl.c: Include <float.h>.
18254         (__catanl): Ensure underflow exception occurs for underflowed
18255         result.
18256         * math/libm-test.inc (catan_test): Add more tests.
18257         (catanh_test): Likewise.
18258
18259         [BZ #15405]
18260         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18261         underflowed result.
18262         * math/s_ccoshf.c (__ccoshf): Likewise.
18263         * math/s_ccoshl.c (__ccoshl): Likewise.
18264         * math/s_csin.c (__csin): Likewise.
18265         * math/s_csinf.c (__csinf): Likewise.
18266         * math/s_csinh.c (__csinh): Likewise.
18267         * math/s_csinhf.c (__csinhf): Likewise.
18268         * math/s_csinhl.c (__csinhl): Likewise.
18269         * math/s_csinl.c (__csinl): Likewise.
18270         * math/libm-test.inc (ccos_test): Add more tests.
18271         (ccosh_test): Likewise.
18272         (csin_test): Likewise.
18273         (csinh_test): Likewise.
18274
18275 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18276
18277         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18278         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18279         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18280         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18281         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18282         powerpc/power5+/fpu folders.
18283         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18284
18285
18286 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18287
18288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18289
18290 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18291
18292         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18293         additions to variable.
18294         [$(config-machine) = x86_64] (modules-names): Likewise.
18295         ($(objpfx)tst-audit3): Remove dependency.
18296         ($(objpfx)tst-audit3.out): Likewise.
18297         ($(objpfx)tst-audit4): Likewise.
18298         ($(objpfx)tst-audit4.out): Likewise.
18299         ($(objpfx)tst-audit5): Likewise.
18300         ($(objpfx)tst-audit5.out): Likewise.
18301         ($(objpfx)tst-audit6): Likewise.
18302         ($(objpfx)tst-audit6.out): Likewise.
18303         ($(objpfx)tst-audit7): Likewise.
18304         ($(objpfx)tst-audit7.out): Likewise.
18305         (tst-audit3-ENV): Remove variable.
18306         (tst-audit4-ENV): Likewise.
18307         (tst-audit5-ENV): Likewise.
18308         (tst-audit6-ENV): Likewise.
18309         (tst-audit7-ENV): Likewise.
18310         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18311         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18312         addition to variable.
18313         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18314         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18315         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18316         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18317         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18318         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18319         tst-audit3, tst-audit4 and tst-audit5.
18320         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18321         tst-audit6 and tst-audit7.
18322         [$(subdir) = elf] (modules-names): Add audit modules for those
18323         tests.
18324         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18325         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18326         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18327         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18328         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18329         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18330         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18331         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18332         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18333         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18334         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18335         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18336         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18337         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18338         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18339         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18340         Likewise.
18341         [$(subdir) = elf && $(config-cflags-avx) = yes]
18342         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18343         [$(subdir) = elf && $(config-cflags-avx) = yes]
18344         (CFLAGS-tst-auditmod4a.c): Likewise.
18345         [$(subdir) = elf && $(config-cflags-avx) = yes]
18346         (CFLAGS-tst-auditmod4b.c): Likewise.
18347         [$(subdir) = elf && $(config-cflags-avx) = yes]
18348         (CFLAGS-tst-auditmod6b.c): Likewise.
18349         [$(subdir) = elf && $(config-cflags-avx) = yes]
18350         (CFLAGS-tst-auditmod6c.c): Likewise.
18351         [$(subdir) = elf && $(config-cflags-avx) = yes]
18352         (CFLAGS-tst-auditmod7b.c): Likewise.
18353         * elf/tst-audit3.c: Move to ...
18354         * sysdeps/x86_64/tst-audit3.c: ... here.
18355         * elf/tst-audit4.c: Move to ...
18356         * sysdeps/x86_64/tst-audit4.c: ... here.
18357         * elf/tst-audit5.c: Move to ...
18358         * sysdeps/x86_64/tst-audit5.c: ... here.
18359         * elf/tst-audit6.c: Move to ...
18360         * sysdeps/x86_64/tst-audit6.c: ... here.
18361         * elf/tst-audit7.c: Move to ...
18362         * sysdeps/x86_64/tst-audit7.c: ... here.
18363         * elf/tst-auditmod3a.c: Move to ...
18364         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18365         * elf/tst-auditmod3b.c: Move to ...
18366         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18367         * elf/tst-auditmod4a.c: Move to ...
18368         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18369         * elf/tst-auditmod4b.c: Move to ...
18370         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18371         * elf/tst-auditmod5a.c: Move to ...
18372         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18373         * elf/tst-auditmod5b.c: Move to ...
18374         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18375         * elf/tst-auditmod6a.c: Move to ...
18376         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18377         * elf/tst-auditmod6b.c: Move to ...
18378         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18379         * elf/tst-auditmod6c.c: Move to ...
18380         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18381         * elf/tst-auditmod7a.c: Move to ...
18382         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18383         * elf/tst-auditmod7b.c: Move to ...
18384         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18385
18386 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18387
18388         [BZ #15366]
18389         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18390         define unconditionally.
18391         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18392         define unconditionally.
18393         (INT8_C, INT16_C, etc.): Likewise.
18394
18395 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18396
18397         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18398         __ehdr_start with hidden visibility.
18399
18400         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18401
18402 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18403
18404         * math/libm-test.inc (cos_test): Use accurate hex constants.
18405         (sincost_test): Likewise.
18406
18407 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18408
18409         * math/libm-test.inc (catan_test): Add more tests.
18410         (catanh_test): Likewise.
18411
18412         * math/s_catanf.c (__catanf): Use suffixed floating-point
18413         constants.
18414         * math/s_catanhf.c (__catanhf): Likewise.
18415         * math/s_catanhl.c (__catanhl): Likewise.
18416         * math/s_catanl.c (__catanl): Likewise.
18417
18418         [BZ #15394]
18419         * math/s_catan.c (__catan): Calculate imaginary part of result
18420         with log1p not log unless computing log of number close to 0.
18421         * math/s_catanf.c (__catanf): Likewise.
18422         * math/s_catanl.c (__catanl): Likewise.
18423         * math/s_catanh.c (__catanh): Calculate real part of result with
18424         log1p not log unless computing log of number close to 0.
18425         * math/s_catanhf.c (__catanhf): Likewise.
18426         * math/s_catanhl.c (__catanhl): Likewise.
18427         * math/libm-test.inc (catan_test): Add more tests.
18428         (catanh_test): Likewise.
18429         * sysdeps/i386/fpu/libm-test-ulps: Update.
18430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18431
18432 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18433
18434         * benchtests/Makefile: Mention files in which fast and slow
18435         paths of math functions are implemented.
18436
18437 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18438
18439         * sysdeps/posix/timespec_get.c: New file.
18440
18441 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18442
18443         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18444         POWER.
18445         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18446         for POWER.
18447         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18448         powerpc/power5/fpu folders.
18449         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18450         * benchtests/Makefile: Add modf testcase.
18451         * benchtests/bench-modf.c: New file: Benchmark test for mo
18452
18453 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18454
18455         [BZ #14888]
18456         * time/Makefile (tests): Add tst-strptime-whitespace.
18457         * time/strptime_l.c (get_number): Use ISSPACE.
18458         (__strptime_internal): Likewise.
18459         * time/tst-strptime-whitespace.c: New test case.
18460
18461 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18462
18463         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18464         member.
18465         (_nss_files_init): Set it here.
18466
18467 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18468
18469         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18470         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18471         unsigned.
18472
18473 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18474
18475         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18476
18477 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18478
18479         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18480         size just once.
18481
18482 2013-04-21  David S. Miller  <davem@davemloft.net>
18483
18484         * po/ru.po: Update Russion translation from translation project.
18485
18486 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18487
18488         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18489         and setfsgid.
18490
18491 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18492
18493         * configure.in: Remove i386 configure warning. Remove i386 case.
18494         * configure: Regenerate.
18495         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18496         Add example to error message.
18497         * sysdeps/i386/configure: Regenerate.
18498
18499 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18500
18501         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18502         slowtan.
18503         * benchtests/cos-inputs: New file.
18504         * benchtests/slowcos-inputs: New file.
18505         * benchtests/slowcos.c: New file.
18506         * benchtests/slowtan-inputs: New file.
18507         * benchtests/slowtan.c: New file.
18508         * benchtests/tan-inputs: New file.
18509
18510 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18511
18512         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18513         considered kosher.
18514
18515 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18516
18517         * benchtests/Makefile: Include cppflags-iterator.mk to add
18518         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18519
18520         * Makefile.in (bench-clean): New target.
18521         * benchtests/Makefile (bench-clean): Likewise.
18522
18523 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18524
18525         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18526
18527 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18528
18529         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18530
18531 2013-04-15  Andreas Schwab  <schwab@suse.de>
18532
18533         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18534         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18535         * nscd/pwdcache.c (cache_addpw): Likewise.
18536         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18537         more than recsize.
18538
18539 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18540
18541         * benchtests/Makefile (bench): Write all output to
18542         bench-out.tmp together.
18543
18544 2013-04-15  Andreas Schwab  <schwab@suse.de>
18545
18546         * nscd/nscd.c (main): Don't fork again after closing files.
18547
18548 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18549
18550         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18551
18552         * benchtests/Rules (bench-deps): Collect dependencies into a
18553         single variable.  Add Makefile to dependencies.
18554         ($(objpfx)bench-%.c): Depend on bench-deps.
18555
18556 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18557             Xavier Roche  <roche+kml2@exalead.com>
18558
18559         [BZ #15361]
18560         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18561         just that it's a file descriptor.
18562         * manual/llio.texi (Synchronizing AIO Operations): Update description
18563         for EBADF error from aio_fsync.
18564
18565 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18566
18567         * Rules (bench): Move target definition...
18568         * benchtests/Makefile: ... here.
18569
18570 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18571
18572         * math/libm-test.inc (cos_test): Fix PI/2 test.
18573         (sincos_test): Likewise.
18574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18575         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18576
18577 2013-04-11  Andreas Schwab  <schwab@suse.de>
18578
18579         [BZ #13988]
18580         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18581         accept exponent character only when digits were seen.
18582         * stdio-common/Makefile (tests): Add bug26.
18583         * stdio-common/bug26.c: New file.
18584
18585         [BZ #14293]
18586         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18587         non-freeable.
18588
18589 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18590
18591         * Makeconfig (rtld-prefix): Define built linker prefix.
18592         * Rules (run-bench): Use it.
18593         * math/Makefile (run-regen-ulps): Likewise.
18594
18595         * Rules (bench): Remove eval.
18596
18597 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18598             Roland McGrath  <roland@hack.frob.com>
18599             Ondrej Bilka  <neleai@seznam.cz>
18600
18601         [BZ #15346]
18602         * time/getdate.c: Include ctype.h and alloca.h.
18603         (__getdate_r): Trim leading and trailing spaces of input.
18604         * time/tst-getdate.c (tests): Add tests with leading and
18605         trailing spaces.
18606
18607 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18608
18609         [BZ #14280]
18610         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18611         when computing value.
18612
18613 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18614
18615         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18616         Use testrun.sh to run libm tests.
18617
18618         [BZ #15309]
18619         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18620
18621 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18622
18623         [BZ #15264]
18624         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18625
18626 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18627
18628         * Makefile.in (regen-ulps): New target.
18629         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18630         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18631         [ifneq (no,$(PERL)] (regen-ulps): New target.
18632         [ifeq (no,$(PERL)] (regen-ulps): New target.
18633         * math/libm-test.inc (ulps_file_name): Define.
18634         (output_dir): New variable.
18635         (options): Add "output-dir" option.
18636         (parse_opt): Handle 'o' case.
18637         (main): If output_dir is non-NULL use it as a prefix
18638         otherwise use "".
18639         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18640
18641 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18642
18643         [BZ #10060, #10062]
18644         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18645         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18646         fail configure if __sync_val_compare_and_swap is not inlined.
18647         * sysdeps/i386/configure: Regenerate.
18648         * configure.in: Build for i686 when configured for i386.
18649         * configure: Regenerate.
18650         * README: Remove i386 reference.
18651
18652 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18653
18654         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18655         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18656
18657 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18658
18659         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18660         (lmsnanval): New variables.
18661         (F): Add conversion tests.
18662         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18663         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18664
18665         * stdio-common/tstdiomisc.c (F): Properly collect individual
18666         tests' results.
18667
18668         [BZ #14686, #15336]
18669         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18670         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18671         Instead, use input NaN values or generate a qNaN by arithmetic
18672         operation.  Also fix bugs to comply with the standard.
18673         * math/libm-test.inc (remainder_test): Add more tests.
18674
18675         [BZ #15335, #15342]
18676         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18678         input NaN values or generate a qNaN by arithmetic operation.
18679
18680         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18681         unreachable code.
18682
18683         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18684         definitions.
18685
18686 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18687
18688         [BZ #14478]
18689         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18690         underflowed result.
18691         * math/s_cexpf.c (__cexpf): Likewise.
18692         * math/s_cexpl.c (__cexpl): Likewise.
18693         * math/libm-test.inc (cexp_test): Add more tests.
18694
18695 2013-04-03  Andreas Schwab  <schwab@suse.de>
18696
18697         [BZ #15330]
18698         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18699         order arrays from heap if bigger than alloca cutoff.
18700
18701 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18702
18703         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18704         (SNAN_TESTS_double): Refer to GCC PR56831.
18705         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18706         GCC PR56828.
18707
18708 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18709
18710         * Rules (bench): Move bench.out after the run is complete.
18711
18712         * Rules (bench): Echo currently running benchmark.
18713
18714         * benchtests/Makefile (bench): Add atan and slowatan.
18715         * benchtests/atan-inputs: New file.
18716         * benchtests/slowatan-inputs: New file.
18717         * benchtests/slowatan.c: New file.
18718
18719         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18720         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18721         its value.
18722
18723         [BZ #15305]
18724         * sysdeps/unix/sysv/linux/kernel-features.h
18725         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18726         __ASSUME_XFS_RESTRICTED_CHOWN.
18727         * sysdeps/unix/sysv/linux/pathconf.c
18728         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18729         Save and restore errno.
18730
18731 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18732
18733         [BZ #15327]
18734         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18735         arguments using __kernel_casinh.
18736         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18737         arguments using __kernel_casinhf.
18738         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18739         arguments using __kernel_casinhl.
18740         * math/libm-test.inc (cacosh_test): Add more tests.
18741         * sysdeps/i386/fpu/libm-test-ulps: Update.
18742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18743
18744 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18745
18746         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18748
18749         * bench/Makefile (bench): Add sin and slowsin.
18750         * benchtests/sin-inputs: New file.
18751         * benchtests/slowsin-inputs: New file.
18752         * benchtests/slowsin.c: New file.
18753
18754         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18755         (bench): Add slowexp and slowpow.
18756         (exp-ITER): Increase iterations.
18757         (pow-ITER): Likewise.
18758         * benchtests/exp-inputs: Change input.
18759         * benchtests/pow-inputs: Likewise.
18760         * benchtests/slowexp-inputs: New file.
18761         * benchtests/slowexp.c: New file.
18762         * benchtests/slowpow-inputs: New file.
18763         * benchtests/slowpow.c: New file.
18764
18765 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18766
18767         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18768         instructions.
18769         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18770         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18771         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18772         * benchtests/Makefile: Add rint benchtest.
18773         * benchtests/rint-inputs: Input for rint benchtest.
18774
18775 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18776
18777         * Versions.def (libm): Add GLIBC_2.18.
18778         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18779         hidden libm prototypes.
18780         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18781         * math/Makefile (libm-calls): Add s_issignaling.
18782         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18783         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18784         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18785         declaration.
18786         * math/math.h [__USE_GNU] (issignaling): New macro.
18787         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18788         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18789         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18790         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18791         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18792         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18793         * manual/arith.texi (issignaling): New section.
18794         * manual/libm-err-tab.pl (@all_functions): Update comment.
18795         * math/gen-libm-test.pl (parse_args): Apply special handling for
18796         issignaling.
18797         * math/libm-test.inc (print_float, issignaling_test): New
18798         functions.
18799         (check_float_internal): Add issignaling checks.
18800         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18801         default definition.
18802         * sysdeps/powerpc/math-tests.h: New file.
18803         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18804         tests.
18805         * math/test-snan.c (TEST_FUNC): Likewise.
18806
18807 2013-03-30  David S. Miller  <davem@davemloft.net>
18808
18809         * po/de.po: Update from translation team.
18810
18811 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18812
18813         [BZ #10357]
18814         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18815         imaginary part less than 1.0 and real part less than 0.5
18816         specially.
18817         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18818         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18819         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18820         (cacos_test): Add more tests.
18821         (casin_test): Likewise.
18822         (casinh_test): Likewise.
18823         * sysdeps/i386/fpu/libm-test-ulps: Update.
18824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18825
18826 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18827
18828         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18829         ONE with its value.
18830
18831         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18832         (__pow_mp): Replace ONE and MONE with their values.
18833         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18834         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18835         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18836         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18837         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18838         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18839
18840         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18841
18842         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18843         (__pow_mp): Replace ZERO and MZERO with their values.
18844         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18845         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18846         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18847         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18848         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18849         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18850         (__sqr): Likewise.
18851
18852         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18853
18854         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18855
18856 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18857
18858         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18859         Declare with __attribute__ ((weak)).
18860         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18861         Call __call_tls_dtors only if it's not NULL.
18862
18863 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18864
18865         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18866         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18867         magic __ehdr_start linker symbol if it's defined.
18868         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18869         them up here if it was already done.
18870
18871         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18872         (_dl_aux_init): Use const in cast when setting it.
18873         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18874         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18875         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18876
18877         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18878         Declare them here.
18879         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18880         * csu/libc-tls.c: Nor here.
18881         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18882
18883         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18884         (__libc_message): Never call vsyslog.
18885
18886 2013-03-28  Alan Modra  <amodra@gmail.com>
18887
18888         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18889         Define as empty.
18890         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18891         Likewise.
18892
18893 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18894
18895         [BZ #15214]
18896         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18897         underflow.
18898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18899
18900 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18901
18902         [BZ #15304]
18903         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18904         Don't add gid passed as argument.
18905
18906         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18907
18908 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18909
18910         [BZ #15307]
18911         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18912         imaginary part between 1.0 and 1.5 and real part less than 0.5
18913         specially.
18914         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18915         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18916         * math/libm-test.inc (cacos_test): Add more tests.
18917         (casin_test): Likewise.
18918         (casinh_test): Likewise.
18919         * sysdeps/i386/fpu/libm-test-ulps: Update.
18920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18921
18922 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18923
18924         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18925         constants.
18926         (norm): Likewise.
18927         (denorm): Likewise.
18928         (__dbl_mp): Likewise.
18929         (add_magnitudes): Likewise.
18930         (sub_magnitudes): Likewise.
18931         (__add): Likewise.
18932         (__sub): Likewise.
18933         (__mul): Likewise.
18934         (__sqr): Likewise.
18935         (__inv): Likewise.
18936         (__dvd): Likewise.
18937
18938         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18939         commented code.
18940         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18941         (__dubcos): Likewise.
18942         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18943         (__ieee754_acos): Likewise.
18944         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18945         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18946         (__exp1): Likewise.
18947         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18948         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18949         (log1): Likewise.
18950         (my_log2): Likewise.
18951         (checkint): Likewise.
18952         * sysdeps/ieee754/dbl-64/e_remainder.c
18953         (__ieee754_remainder): Likewise.
18954         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18955         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18956         (bsloww): Likewise.
18957         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18958
18959         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18960         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18961         MANTISSA_STORE_T to store computations on mantissa.  Use
18962         macros for rounding and division.
18963         (denorm): Likewise.
18964         (__dbl_mp): Likewise.
18965         (add_magnitudes): Likewise.
18966         (sub_magnitudes): Likewise.
18967         (__mul): Likewise.
18968         (__sqr): Likewise.
18969         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18970         powers of two in terms of TWOPOW macro.
18971         (mp_no): Make type of mantissa as MANTISSA_T.
18972         [!RADIXI]: Define RADIXI.
18973         [!TWO52]: Define TWO52.
18974         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18975
18976 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18977
18978         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18979         llroundl symbol when building for PPC32.
18980
18981 2013-03-24  Mark H Weaver  <mhw@netris.org>
18982
18983         * manual/arith.texi (Normalization Functions): Fix prototypes for
18984         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18985
18986 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18987
18988         [BZ #13889]
18989         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18990         high value to check if expl overflow.
18991         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18992         to check for underflow and overflow.
18993         * math/libm-test.inc: Add exp test.
18994
18995 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
18996
18997         [BZ #11120]
18998         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18999         with NOT_IN_libc.
19000
19001 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19002
19003         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19004         symbol.
19005
19006 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19007
19008         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19009         wrap blocks consisting of several statements.
19010
19011         * sysdeps/generic/math-tests.h: New file.
19012         * sysdeps/i386/fpu/math-tests.h: Likewise.
19013         * math/test-snan.c: Include it.
19014         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19015
19016 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19017
19018         [BZ #15285]
19019         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19020         (__ieee754_j0l): Do not improve calculations using cos of twice
19021         input for inputs above LDBL_MAX / 2.0L.
19022         (__ieee754_y0l): Likewise.
19023         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19024         (__ieee754_j1l): Do not improve calculations using cos of twice
19025         input for inputs above LDBL_MAX / 2.0L.
19026         (__ieee754_y1l): Likewise.
19027         * math/libm-test.inc (j0_test): Add another test.
19028         (j1_test): Likewise.
19029         (y0_test): Likewise.
19030         (y1_test): Likewise.
19031         * sysdeps/i386/fpu/libm-test-ulps: Update.
19032
19033 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19034
19035         * Rules ($(objpfx)bench-%.c): Include code from a C source
19036         file.
19037
19038 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19039
19040         [BZ #15287]
19041         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19042         imaginary part 1.0 and real part less than 0.5 specially.
19043         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19044         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19045         * math/libm-test.inc (cacos_test): Add more tests.
19046         (casin_test): Likewise.
19047         (casinh_test): Likewise.
19048         * sysdeps/i386/fpu/libm-test-ulps: Update.
19049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19050
19051 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19052
19053         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19054         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19055
19056 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19057
19058         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19059         * config.make.in (config-cflags-sse4): Remove variable.
19060         (config-cflags-avx): Likewise.
19061         (config-cflags-sse2avx): Likewise.
19062         (config-cflags-novzeroupper): Likewise.
19063         (config-asflags-i686): Likewise.
19064         (have-mfma4): Likewise.
19065         (have-as-vis3): Likewise.
19066         (MIG): Likewise.
19067         * configure.in (MIG): Do not AC_SUBST.
19068         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19069         (libc_cv_cc_sse4): Do not AC_SUBST.
19070         (libc_cv_cc_avx): Likewise.
19071         (libc_cv_cc_sse2avx): Likewise.
19072         (libc_cv_cc_novzeroupper): Likewise.
19073         (libc_cv_cc_fma4): Likewise.
19074         (libc_cv_as_i686): Likewise.
19075         (libc_cv_sparc_as_vis3): Likewise.
19076         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19077         LIBC_CONFIG_VAR.
19078         (config-asflags-i686): Likewise.
19079         (config-cflags-avx): Likewise.
19080         (config-cflags-sse2avx): Likewise.
19081         (have-mfma4): Likewise.
19082         (config-cflags-novzeroupper): Likewise.
19083         * sysdeps/mach/configure.in (MIG): Likewise.
19084         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19085         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19086         LIBC_CONFIG_VAR.
19087         (config-cflags-avx): Likewise.
19088         (config-cflags-sse2avx): Likewise.
19089         (have-mfma4): Likewise.
19090         (config-cflags-novzeroupper): Likewise.
19091         * configure: Regenerated.
19092         * sysdeps/i386/configure: Likewise.
19093         * sysdeps/mach/configure: Likewise.
19094         * sysdeps/sparc/configure: Likewise.
19095         * sysdeps/x86_64/configure: Likewise.
19096
19097 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19098
19099         [BZ #14812]
19100         * locale/programs/localedef.c (options): Put N_ translation marker
19101         on argument names, not just descriptions.
19102
19103 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19104
19105         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19106
19107 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19108
19109         [BZ #14176]
19110         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19111
19112 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19113
19114         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19115         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19116         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19117         [!BEFORE_ABORT] (before_abort): New function.
19118         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19119         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19120         (writev_for_fatal): New function.
19121         (WRITEV_FOR_FATAL): New macro; call that.
19122         (backtrace_and_maps): New function.
19123         (BEFORE_ABORT): New macro; call that.
19124         (struct str_list): Type removed.
19125         (__libc_message, __libc_fatal): Functions removed.
19126         Include <sysdeps/posix/libc_fatal.c> instead.
19127
19128 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19129
19130         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19131         constants.
19132         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19133         double constants.
19134
19135 2013-03-19  Andreas Schwab  <schwab@suse.de>
19136
19137         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19138         * sysdeps/gnu/configure: Regenerate.
19139
19140         * configure.in: Substitute libc_cv_rtlddir.
19141         * configure: Regenerate.
19142         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19143         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19144         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19145         * elf/Makefile (install-others, CFLAGS-interp.c)
19146         (ldso_install, common-ldd-rewrite): Likewise.
19147         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19148         $(inst_slibdir)/$(rtld-installed-name).
19149         * scripts/rellns-sh: Add -p option.
19150         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19151         for source.
19152
19153 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19154
19155         * manual/nptl.texi: Renamed to ...
19156         * manual/threads.texi: ... this.
19157         * manual/Makefile (chapters): Update.
19158
19159 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19160
19161         [BZ #14812]
19162         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19163         on argument names, not just descriptions.
19164         * malloc/memusagestat.c (options): Likewise.
19165         * nss/getent.c (options): Likewise.
19166
19167 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19168
19169         [BZ #14812]
19170         * iconv/iconv_prog.c (options): Put N_ translation marker
19171         on argument names, not just descriptions.
19172         * iconv/iconvconfig.c (options): Likewise.
19173
19174 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19175
19176         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19177         implementation which is faster on all x86_64 architectures.
19178         Tested on AMD, Intel Nehalem, SNB, IVB.
19179         * sysdeps/x86_64/strnlen.S: Likewise.
19180
19181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19182         Remove all multiarch strlen and strnlen versions.
19183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19184         Remove strlen and strnlen related parts.
19185
19186         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19187         Inline strlen part.
19188         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19189
19190         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19191         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19192         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19193         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19194         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19195         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19196
19197 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19198
19199         * manual/memory.texi (Malloc Tunable Parameters):
19200         Sort parameters alphabetically. Add comments for missing entries.
19201
19202 2013-03-17  David S. Miller  <davem@davemloft.net>
19203
19204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19205
19206 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19207
19208         [BZ #15283]
19209         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19210         for arguments at most half maximum finite value.
19211         * math/libm-test.inc (j0_test): Add more tests.
19212         (j1_test): Likewise.
19213         (y0_test): Likewise.
19214         (y1_test): Likewise.
19215         * sysdeps/i386/fpu/libm-test-ulps: Update.
19216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19217
19218         [BZ #14155]
19219         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19220         1 / x and functions P and Q for arguments above 0x1p256L.
19221         (__ieee754_y0l): Likewise.
19222         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19223         (__ieee754_y1l): Likewise.
19224         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19225         (j1_test): Likewise.
19226         (y0_test): Likewise.
19227         (y1_test): Likewise.
19228
19229 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19230
19231         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19232         variable.
19233
19234 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19235
19236         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19237         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19238         zero since it's initialized to EXEC_PAGESIZE.
19239
19240         * sysdeps/unix/sysv/linux/ldsodefs.h
19241         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19242         * sysdeps/generic/ldsodefs.h: ... here.
19243
19244 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19245
19246         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19247
19248         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19249         math/test-snan.c.
19250         * math/test-snan.c: Renamed from
19251         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19252         * math/Makefile (tests): Add test-snan.
19253         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19254         test-powerpc-snan.
19255
19256         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19257         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19258         functions.
19259         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19260         __builtin_nan family of functions.
19261         * math/libm-test.inc (initialize): Initialize qnan_value with
19262         __builtin_nan family of functions.
19263         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19264         Remove variables.
19265         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19266         Remove functions.
19267         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19268         storage class.  Initialize qNaN_var and sNaN_var with
19269         __builtin_nan and __builtin_nans families of functions,
19270         respectively.
19271
19272         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19273         (sqrt_test): Remove duplicate test with qNaN input.
19274         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19275         (round_test, signbit_test, significand_test): Note missing +/-Inf
19276         as well as qNaN tests.
19277
19278         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19279         qNaN_var.  Fix a few strings, too.
19280         * math/libm-test.inc (nan_value): Rename to qnan_value.
19281         * math/gen-libm-test.pl (%beautify): Adjust to that.
19282         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19283         * math/test-misc.c (main): Likewise.
19284         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19285         to __qnan_bytes, and __qnan_union, respectively.
19286         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19287         Likewise.
19288         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19289         and lqnanval, respectively.
19290         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19291         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19292         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19293         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19294
19295         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19296         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19297         doubles.
19298
19299         * math/test-misc.c (main): Fix copy'n'pastos.
19300         * misc/tst-efgcvt.c (special): Likewise.
19301
19302         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19303         Remove declarations.
19304
19305 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19306
19307         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19308         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19309         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19310         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19311
19312 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19313
19314         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19315         macro to return vdso values correctly in IFUNC implementations.
19316         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19317         Optimization by using IFUNC.
19318
19319 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19320             Richard Henderson  <rth@redhat.com>
19321             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19322
19323         * Makefile.in (bench): New target.
19324         * NEWS: Mention the benchmark framework.
19325         * Rules (bench): Likewise.
19326         (binaries-bench): Generate binaries for functions to
19327         benchmark.
19328         * benchtests/Makefile: New makefile for benchmark tests.
19329         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19330         programs.
19331         * benchtests/exp-inputs: New input file for EXP function.
19332         * benchtests/pow-inputs: New input file for POW function.
19333         * scripts/bench.pl: New script to generate source files for
19334         benchmark programs.
19335
19336 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19337
19338         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19339         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19340         computations on mantissa.  Use macros for rounding and
19341         division.
19342         (denorm): Likewise.
19343         (__dbl_mp): Likewise.
19344         (add_magnitudes): Likewise.
19345         (sub_magnitudes): Likewise.
19346         (__mul): Likewise.
19347         (__sqr): Likewise.
19348         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19349         powers of two in terms of TWOPOW macro.
19350         (mp_no): Make type of mantissa as MANTISSA_T.
19351         [!RADIXI]: Define RADIXI.
19352         [!TWO52]: Define TWO52.
19353         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19354
19355         * manual/nptl.texi (cindex): Modify threads to pthreads.
19356
19357 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19358
19359         * sysdeps/x86_64/preconfigure: Regenerated.
19360
19361 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19362
19363         [BZ #14155]
19364         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19365         0x1p28 and above.
19366         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19367         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19368         0x1p28 and above.
19369         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19370         * math/libm-test.inc (j0_test): Do not allow one spurious
19371         underflow exception.
19372         (y1_test): Likewise.
19373
19374 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19375
19376         * manual/Makefile (chapters): Add nptl.
19377         * manual/debug.texi (Debugging Support): Add link to Threads
19378         chapter.
19379         * manual/nptl.texi: New file.
19380
19381         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19382
19383 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19384
19385         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19386         for non-NULL pointer before the memory validity test. Pointed
19387         out by Holger Brunck <holger.brunck@keymile.com>.
19388
19389 2013-03-13  Andreas Schwab  <schwab@suse.de>
19390
19391         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19392         instead of .os.
19393
19394 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19395
19396         * timezone/zic.c: Update from tzcode 2013b.
19397
19398 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19399
19400         * manual/install.texi (Configuring and compiling):
19401         Mention i686 and i586.
19402         * INSTALL: Regenerate.
19403
19404 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19405
19406         * sysdeps/init_array/elf-init.c: New file.
19407         * csu/elf-init.c
19408         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19409         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19410
19411         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19412         __gmon_start__ as global, but as static with a .preinit_array pointer.
19413         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19414         * sysdeps/init_array/crti.S: New file, empty except for comments.
19415         * sysdeps/init_array/crtn.S: Likewise.
19416
19417 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19418
19419         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19420         definining bcopy.
19421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19422         Remove Prefer_SSE_for_memop.
19423         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19424         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19425         HAS_PREFER_SSE_FOR_MEMOP.
19426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19427         memset-x86-64.
19428         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19429         Remove bzero, memset ifunc support.
19430         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19431         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19432         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19433         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19434
19435 2013-03-11  Andreas Schwab  <schwab@suse.de>
19436
19437         [BZ #15234]
19438         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19439         by SHLIB_COMPAT.
19440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19441         (GLIBC_2.16): Remove pthread_atfork.
19442
19443 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19444
19445         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19446         (ptestcases.h): Likewise.
19447
19448 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19449
19450         * Makeconfig ($(common-objpfx)config.status): Depend on
19451         sysdeps/*/preconfigure{,.in} too.
19452
19453 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19454
19455         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19456         (__free_hook): Use void * instead of __malloc_ptr_t.
19457         (__malloc_hook): Likewise.
19458         (__realloc_hook): Likewise.
19459         (__memalign_hook): Likewise.
19460         (__after_morecore_hook): Likewise.
19461         * malloc/arena.c (save_malloc_hook): Likewise.
19462         (save_free_hook): Likewise.
19463         * malloc/hooks.c (malloc_hook_ini): Likewise.
19464         (realloc_hook_ini): Likewise.
19465         (memalign_hook_ini): Likewise.
19466         * malloc/malloc.c (malloc_hook_ini): Likewise.
19467         (realloc_hook_ini): Likewise.
19468         (memalign_hook_ini): Likewise.
19469         (__free_hook): Likewise.
19470         (__malloc_hook): Likewise.
19471         (__realloc_hook): Likewise.
19472         (__memalign_hook): Likewise.
19473         (__libc_malloc): Likewise.
19474         (__libc_free): Likewise.
19475         (__libc_realloc): Likewise.
19476         (__libc_memalign): Likewise.
19477         (__libc_valloc): Likewise.
19478         (__libc_pvalloc): Likewise.
19479         (__libc_calloc): Likewise.
19480         (__posix_memalign): Likewise.
19481         * malloc/morecore.c (__sbrk): Likewise.
19482         (__default_morecore): Likewise.
19483
19484         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19485
19486         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19487         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19488         __malloc_ptrdiff_t.
19489
19490         * malloc/malloc.h (__malloc_size_t): Remove macro.
19491         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19492         __malloc_size_t.
19493         (old_memalign_hook): Likewise.
19494         (old_realloc_hook): Likewise.
19495         (struct hdr): Likewise.
19496         (flood): Likewise.
19497         (mallochook): Likewise.
19498         (memalignhook): Likewise.
19499         (reallochook): Likewise.
19500         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19501         (tr_old_realloc_hook): Likewise.
19502         (tr_old_memalign_hook): Likewise.
19503         (tr_mallochook): Likewise.
19504         (tr_reallochook): Likewise.
19505         (tr_memalignhook): Likewise.
19506
19507 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19508
19509         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19510         default_ldbl_pack and using as default implementation.
19511         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19512         implementation.
19513         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19514         redundant definition.
19515         (ldbl_insert_mantissa): Likewise.
19516         (ldbl_canonicalize): Likewise.
19517         (ldbl_nearbyint): Likewise.
19518         (ldbl_pack): Rename to ldbl_pack_ppc.
19519         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19520         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19521         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19522
19523 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19524
19525         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19526         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19527         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19528         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19530         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19531         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19532         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19533
19534 2013-03-07  Andreas Jaeger  <aj@suse.de>
19535
19536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19537         bits/mman-linux.h.
19538
19539 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19540
19541         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19542         Include mpa.h and declare __MPEXP.
19543         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19544         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19545         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19546         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19547         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19548         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19549         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19550
19551         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19552         (__slowpow): Use long double EXPL and LOGL functions to
19553         compute POW.
19554         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19555         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19556         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19557         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19558         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19559         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19560
19561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19562         intermediate variable to calculate exponent.
19563         (__sqr): Likewise.
19564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19565         Likewise.
19566         (__sqr): Likewise.
19567
19568         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19569         [!NO__SQR]: Define __sqr.
19570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19571         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19572         sysdeps/ieee754/dbl-64/mpa.c.
19573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19574
19575         [BZ #12723]
19576         * posix/Makefile (tests): Add tst-pathconf.
19577         * posix/tst-pathconf.c: New test case.
19578         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19579         _PC_PIPE_BUF.
19580         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19581
19582 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19583
19584         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19585
19586 2013-03-06  Andreas Jaeger  <aj@suse.de>
19587
19588         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19589         definition via __MAP_ANONYMOUS.
19590
19591         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19592         it's not part of Linux headers.
19593
19594         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19595         (MAP_HUGE_MASK): Define.
19596
19597         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19598         Define.
19599         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19600         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19601         Define.
19602         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19603         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19604         Define.
19605         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19606         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19607         Define.
19608         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19609
19610         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19611         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19612         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19613         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19614         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19615         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19616
19617         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19618         Handle f2fs.
19619
19620         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19621         Handle f2fs and efivarfs.
19622
19623         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19624         f2fs.
19625
19626         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19627         (EFIVARFS_MAGIC): Add.
19628         (F2FS_LINK_MAX): Add.
19629
19630 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19631
19632         * stdio-common/vfprintf.c: Replace __builtin_expect with
19633         __glibc_unlikely.
19634
19635 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19636
19637         [BZ #13550]
19638         * sysdeps/generic/bp-sym.h: Remove file.
19639         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19640         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19641         <bp-sym.h> and <bp-asm.h>.
19642         (__longjmp): Don't use BP_SYM.
19643         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19644         and <bp-asm.h>.
19645         (memcpy): Don't use BP_SYM.
19646         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19647         <bp-sym.h> and <bp-asm.h>.
19648         (memcpy): Don't use BP_SYM.
19649         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19650         <bp-asm.h>.
19651         (memcpy): Don't use BP_SYM.
19652         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19653         <bp-asm.h>.
19654         (memset): Don't use BP_SYM.
19655         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19656         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19657         (__bzero): Don't use BP_SYM.
19658         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19659         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19660         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19661         <bp-sym.h> and <bp-asm.h>.
19662         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19663         pointers.
19664         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19665         <bp-sym.h> and <bp-asm.h>.
19666         (memcpy): Don't use BP_SYM.
19667         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19668         <bp-sym.h> and <bp-asm.h>.
19669         (memset): Don't use BP_SYM.
19670         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19671         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19672         (__bzero): Don't use BP_SYM.
19673         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19674         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19675         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19676         <bp-sym.h> and <bp-asm.h>.
19677         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19678         pointers.
19679         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19680         <bp-sym.h> and <bp-asm.h>.
19681         (memcpy): Don't use BP_SYM.
19682         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19683         <bp-sym.h> and <bp-asm.h>.
19684         (memset): Don't use BP_SYM.
19685         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19686         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19687         (__bzero): Don't use BP_SYM.
19688         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19689         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19690         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19691         <bp-sym.h> and <bp-asm.h>.
19692         (__memchr): Don't use BP_SYM.
19693         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19694         <bp-sym.h> and <bp-asm.h>.
19695         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19696         pointers.
19697         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19698         <bp-sym.h> and <bp-asm.h>.
19699         (memcpy): Don't use BP_SYM.
19700         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19701         <bp-sym.h> and <bp-asm.h>.
19702         (__mempcpy): Don't use BP_SYM.
19703         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19704         <bp-sym.h> and <bp-asm.h>.
19705         (__memrchr): Don't use BP_SYM.
19706         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19707         <bp-sym.h> and <bp-asm.h>.
19708         (memset): Don't use BP_SYM.
19709         (__bzero): Likewise.
19710         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19711         <bp-sym.h> and <bp-asm.h>.
19712         (__rawmemchr): Don't use BP_SYM.
19713         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19714         <bp-sym.h> and <bp-asm.h>.
19715         (__STRCMP): Don't use BP_SYM.
19716         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19717         <bp-sym.h> and <bp-asm.h>.
19718         (strchr): Don't use BP_SYM.
19719         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19720         <bp-sym.h> and <bp-asm.h>.
19721         (__strchrnul): Don't use BP_SYM.
19722         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19723         <bp-sym.h> and <bp-asm.h>.
19724         (strlen): Don't use BP_SYM.
19725         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19726         <bp-sym.h> and <bp-asm.h>.
19727         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19728         pointers.
19729         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19730         <bp-sym.h> and <bp-asm.h>.
19731         (__strnlen): Don't use BP_SYM.
19732         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19733         <bp-sym.h> and <bp-asm.h>.
19734         (__GI__setjmp): Don't use BP_SYM.
19735         (_setjmp): Likewise.
19736         (__sigsetjmp): Likewise.
19737         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19738         (L(start_addresses)): Don't use BP_SYM.
19739         (_start): Likewise.
19740         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19741         <bp-asm.h>.
19742         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19743         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19744         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19745         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19746         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19747         <bp-asm.h>.
19748         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19749         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19750         about bounded pointers.
19751         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19752         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19753         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19754         <bp-asm.h>.
19755         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19756         about bounded pointers.  Remove GKM FIXME comments.
19757         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19758         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19759         <bp-asm.h>.
19760         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19761         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19762         Remove GKM FIXME comments.
19763         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19764         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19765         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19766         <bp-asm.h>.
19767         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19768         about bounded pointers.  Remove GKM FIXME comment.
19769         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19770         and <bp-asm.h>.
19771         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19772         pointers.
19773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19774         <bp-sym.h> and <bp-asm.h>.
19775         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19777         <bp-sym.h> and <bp-asm.h>.
19778         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19779         comment.
19780
19781 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19782
19783         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19784         call free(NULL).
19785
19786 2013-03-05  David S. Miller  <davem@davemloft.net>
19787
19788         * po/es.po: Update from translation team.
19789
19790 2013-03-05  Andreas Jaeger  <aj@suse.de>
19791
19792         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19793         <bits/mman-linux.h>.
19794         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19795         is fine.
19796         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19797         <bits/mman-linux.h> to end of file.
19798         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19799         is fine.
19800         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19801         <bits/mman-linux.h> to end of file.
19802         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19803         is fine.
19804         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19805         <bits/mman-linux.h> to end of file.
19806
19807         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19808         (MCL_CURRENT, MCL_FUTURE): Define here.
19809
19810 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19811
19812         [BZ #15232]
19813         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19814         attribute_hidden.
19815         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19816
19817 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19818
19819         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19820         fourth parameter needed for rt_sigprocmask syscall.
19821         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19822         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19823         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19824         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19825         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19826         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19827
19828 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19829
19830         [BZ #13550]
19831         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19832         comment about bounded pointers.
19833         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19834         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19835
19836 2013-03-04  Andreas Jaeger  <aj@suse.de>
19837
19838         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19839         common definitions.
19840
19841         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19842         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19843         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19844         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19845         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19846         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19847
19848 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19849
19850         [BZ #15055]
19851         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19852         __ieee754_sqrl instead of __sqrl.
19853
19854 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19855
19856         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19857         * sysdeps/powerpc/fpu_control.h: ... here.
19858         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19859         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19860         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19861         * sysdeps/powerpc/bits/mathinline.h: ... here.
19862
19863 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19864
19865         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19866         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19867         to just [NEED_DL_SYSINFO_DSO].
19868         * elf/dl-support.c: Likewise.
19869         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19870         * elf/rtld.c (dl_main): Likewise.
19871         * elf/setup-vdso.h (setup_vdso): Likewise.
19872         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19873         * sysdeps/unix/sysv/linux/dl-sysdep.c
19874         (_dl_discover_osversion): Likewise.
19875
19876 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19877
19878         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19879         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19880
19881 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19882
19883         * NEWS: Mention libm performance improvements and non-x86 PI
19884         futex support.
19885
19886         * csu/libc-start.c (__pthread_initialize_minimal): Change
19887         function arguments.
19888         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19889
19890 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19891
19892         [BZ #13550]
19893         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19894         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19895         <bp-sym.h> and <bp-asm.h>.
19896         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19897         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19898         and <bp-asm.h>.
19899         (memcpy): Don't use BP_SYM.
19900         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19901         <bp-asm.h>.
19902         (__mpn_add_n): Don't use BP_SYM.
19903         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19904         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19905         and <bp-asm.h>.
19906         (__mpn_addmul_1): Don't use BP_SYM.
19907         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19908         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19909         <bp-sym.h>.
19910         (_setjmp): Don't use BP_SYM.
19911         (__novmx_setjmp): Likewise.
19912         (__GI__setjmp): Likewise.
19913         (__vmx_setjmp): Likewise.
19914         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19915         <bp-sym.h>.
19916         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19917         (__bzero): Don't use BP_SYM.
19918         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19919         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19920         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19921         <bp-sym.h> and <bp-asm.h>.
19922         (memcpy): Don't use BP_SYM.
19923         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19924         <bp-sym.h> and <bp-asm.h>.
19925         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19926         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19927         <bp-sym.h> and <bp-asm.h>.
19928         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19929         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19930         <bp-asm.h>.
19931         (__mpn_lshift): Don't use BP_SYM.
19932         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19933         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19934         <bp-asm.h>.
19935         (memset): Don't use BP_SYM.
19936         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19937         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19938         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19939         <bp-asm.h>.
19940         (__mpn_mul_1): Don't use BP_SYM.
19941         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19942         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19943         <bp-sym.h> and <bp-asm.h>.
19944         (memcmp): Don't use BP_SYM.
19945         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19946         <bp-sym.h> and <bp-asm.h>.
19947         (memcpy): Don't use BP_SYM.
19948         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19949         <bp-sym.h> and <bp-asm.h>.
19950         (memset): Don't use BP_SYM.
19951         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19952         <bp-sym.h> and <bp-asm.h>.
19953         (strncmp): Don't use BP_SYM.
19954         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19955         <bp-sym.h> and <bp-asm.h>.
19956         (memcpy): Don't use BP_SYM.
19957         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19958         <bp-sym.h> and <bp-asm.h>.
19959         (memset): Don't use BP_SYM.
19960         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19961         <bp-sym.h> and <bp-asm.h>.
19962         (__memchr): Don't use BP_SYM.
19963         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19964         <bp-sym.h> and <bp-asm.h>.
19965         (memcmp): Don't use BP_SYM.
19966         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19967         <bp-sym.h> and <bp-asm.h>.
19968         (memcpy): Don't use BP_SYM.
19969         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19970         <bp-sym.h> and <bp-asm.h>.
19971         (__mempcpy): Don't use BP_SYM.
19972         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19973         <bp-sym.h> and <bp-asm.h>.
19974         (__memrchr): Don't use BP_SYM.
19975         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19976         <bp-sym.h> and <bp-asm.h>.
19977         (memset): Don't use BP_SYM.
19978         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19979         <bp-sym.h> and <bp-asm.h>.
19980         (__rawmemchr): Don't use BP_SYM.
19981         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19982         <bp-sym.h> and <bp-asm.h>.
19983         (__STRCMP): Don't use BP_SYM.
19984         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19985         <bp-sym.h> and <bp-asm.h>.
19986         (strchr): Don't use BP_SYM.
19987         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19988         <bp-sym.h> and <bp-asm.h>.
19989         (__strchrnul): Don't use BP_SYM.
19990         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19991         <bp-sym.h> and <bp-asm.h>.
19992         (strlen): Don't use BP_SYM.
19993         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19994         <bp-sym.h> and <bp-asm.h>.
19995         (strncmp): Don't use BP_SYM.
19996         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19997         <bp-sym.h> and <bp-asm.h>.
19998         (__strnlen): Don't use BP_SYM.
19999         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20000         <bp-asm.h>.
20001         (__mpn_rshift): Don't use BP_SYM.
20002         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20003         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20004         <bp-sym.h> and <bp-asm.h>.
20005         (__sigsetjmp): Don't use BP_SYM.
20006         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20007         (L(start_addresses)): Don't use BP_SYM.
20008         (_start): Likewise.
20009         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20010         <bp-asm.h>.
20011         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20012         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20013         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20014         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20015         <bp-asm.h>.
20016         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20017         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20018         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20019         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20020         <bp-asm.h>.
20021         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20022         comments.
20023         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20024         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20025         <bp-asm.h>.
20026         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20027         FIXME comments.
20028         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20029         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20030         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20031         <bp-asm.h>.
20032         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20033         comment.
20034         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20035         and <bp-asm.h>.
20036         (strncmp): Don't use BP_SYM,
20037         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20038         <bp-asm.h>.
20039         (__mpn_sub_n): Don't use BP_SYM.
20040         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20041         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20042         and <bp-asm.h>.
20043         (__mpn_submul_1): Don't use BP_SYM.
20044         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20046         <bp-sym.h> and <bp-asm.h>.
20047         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20049         <bp-sym.h> and <bp-asm.h>.
20050         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20051         comment.
20052
20053 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20054
20055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20056         Use ZK to minimize writes to Z.
20057         (sub_magnitudes): Simplify code a bit.
20058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20059         Use ZK to minimize writes to Z.
20060         (sub_magnitudes): Simplify code a bit.
20061
20062 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20063
20064         * csu/gmon-start.c: Add special exception to license text.
20065
20066 2013-02-27  Richard Henderson  <rth@redhat.com>
20067
20068         * scripts/config.guess: Update from config.git.
20069         * scripts/config.sub: Likewise.
20070
20071 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20072
20073         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20074
20075         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20076
20077         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20078
20079         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20080
20081         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20082
20083 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20084
20085         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20086         [$(build-shared = yes].
20087
20088 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20089
20090         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20091         (__mul): Reduce iterations for calculating mantissa.
20092
20093         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20094         MPTWO.
20095         (__mpranred): Likewise.
20096
20097         [BZ #15160]
20098         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20099         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20100
20101 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20102
20103         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20104         Define __attribute__.
20105
20106 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20107
20108         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20109         unused.
20110         * posix/regex_internal.h (__attribute): Remove.
20111         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20112         (re_string_context_at): Likewise.
20113         (bitset_not): Use __attribute__ and mark function as possibly
20114         unused.
20115         (bitset_merge): Likewise.
20116         (bitset_mask): Likewise.
20117         (re_string_char_size_at): Likewise.
20118         (re_string_wchar_at): Likewise.
20119         (re_string_elem_size_at): Likewise.
20120
20121 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20122
20123         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20124         code.
20125         (cc32): Likewise.
20126
20127         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20128         (__acr): Likewise.
20129         (__cpy): Likewise.
20130         (norm): Likewise.
20131         (denorm): Likewise.
20132         (__dbl_mp): Likewise.
20133         (add_magnitudes): Likewise.
20134         (sub_magnitudes): Likewise.
20135         (__mul): Likewise.
20136         (__inv): Likewise.
20137
20138         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20139         style.
20140
20141         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20142         style.
20143
20144         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20145         code.
20146
20147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20148         up changes with default code.
20149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20150         Likewise.
20151
20152 2013-02-24  Allan McRae  <allan@archlinux.org>
20153
20154         * manual/socket.texi (The Internet Namespace): Order menu items
20155         to match that in the file.
20156
20157         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20158         node listing of the info page menu.
20159
20160 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20161
20162         [BZ #13550]
20163         * sysdeps/i386/bp-asm.h: Remove file.
20164         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20165         (PARMS): Do not use macros from bp-asm.h.
20166         (S1): Likewise.
20167         (S2): Likewise.
20168         (SIZE): Likewise.
20169         (__mpn_add_n): Do not use BP_SYM
20170         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20171         "bp-asm.h".
20172         (PARMS): Do not use macros from bp-asm.h.
20173         (S1): Likewise.
20174         (SIZE): Likewise.
20175         (__mpn_addmul_1): Do not use BP_SYM
20176         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20177         "bp-asm.h".
20178         (PARMS): Do not use macros from bp-asm.h.
20179         (SIGMSK): Likewise.
20180         (_setjmp): Likewise.  Do not use BP_SYM.
20181         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20182         "bp-asm.h".
20183         (PARMS): Do not use macros from bp-asm.h.
20184         (SIGMSK): Likewise.
20185         (setjmp): Likewise.  Do not use BP_SYM.
20186         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20187         "bp-asm.h".
20188         (PARMS): Do not use macros from bp-asm.h.
20189         (__frexp): Do not use BP_SYM.
20190         (frexp): Likewise.
20191         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20192         "bp-asm.h".
20193         (PARMS): Do not use macros from bp-asm.h.
20194         (__frexpf): Do not use BP_SYM.
20195         (frexpf): Likewise.
20196         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20197         "bp-asm.h".
20198         (PARMS): Do not use macros from bp-asm.h.
20199         (__frexpl): Do not use BP_SYM.
20200         (frexpl): Likewise.
20201         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20202         "bp-asm.h".
20203         (PARMS): Do not use macros from bp-asm.h.
20204         (__remquo): Do not use BP_SYM.
20205         (remquo): Likewise.
20206         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20207         "bp-asm.h".
20208         (PARMS): Do not use macros from bp-asm.h.
20209         (__remquof): Do not use BP_SYM.
20210         (remquof): Likewise.
20211         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20212         "bp-asm.h".
20213         (PARMS): Do not use macros from bp-asm.h.
20214         (__remquol): Do not use BP_SYM.
20215         (remquol): Likewise.
20216         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20217         "bp-asm.h".
20218         (PARMS): Do not use macros from bp-asm.h.
20219         (DEST): Likewise.
20220         (SRC): Likewise.
20221         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20222         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20223         "bp-asm.h".
20224         (PARMS): Do not use macros from bp-asm.h.
20225         (strlen): Do not use BP_SYM.
20226         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20227         "bp-asm.h".
20228         (PARMS): Do not use macros from bp-asm.h.
20229         (S1): Likewise.
20230         (S2): Likewise.
20231         (SIZE): Likewise.
20232         (__mpn_add_n): Do not use BP_SYM.
20233         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20234         "bp-asm.h".
20235         (PARMS): Do not use macros from bp-asm.h.
20236         (S1): Likewise.
20237         (SIZE): Likewise.
20238         (__mpn_addmul_1): Do not use BP_SYM.
20239         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20240         weak_alias.
20241         (bzero): Likewise.
20242         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20243         "bp-asm.h".
20244         (PARMS): Do not use macros from bp-asm.h.
20245         (S): Likewise.
20246         (SIZE): Likewise.
20247         (__mpn_lshift): Do not use BP_SYM.
20248         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20249         "bp-asm.h".
20250         (PARMS): Do not use macros from bp-asm.h.
20251         (DEST): Likewise.
20252         (SRC): Likewise.
20253         (LEN): Likewise.
20254         (memcpy): Likewise.  Do not use BP_SYM.
20255         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20256         libc_hidden_def and weak_alias.
20257         (mempcpy): Do not use BP_SYM in weak_alias.
20258         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20259         "bp-asm.h".
20260         (PARMS): Do not use macros from bp-asm.h.
20261         (DEST): Likewise.
20262         (LEN): Likewise.
20263         [!BZERO_P] (CHR): Likewise.
20264         (memset): Likewise.  Do not use BP_SYM.
20265         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20266         "bp-asm.h".
20267         (PARMS): Do not use macros from bp-asm.h.
20268         (S1): Likewise.
20269         (SIZE): Likewise.
20270         (__mpn_mul_1): Do not use BP_SYM.
20271         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20272         "bp-asm.h".
20273         (PARMS): Do not use macros from bp-asm.h.
20274         (S): Likewise.
20275         (SIZE): Likewise.
20276         (__mpn_rshift): Do not use BP_SYM.
20277         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20278         "bp-asm.h".
20279         (PARMS): Do not use macros from bp-asm.h.
20280         (STR): Likewise.
20281         (CHR): Likewise.
20282         (strchr): Likewise.  Do not use BP_SYM.
20283         (index): Do not use BP_SYM in weak_alias.
20284         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20285         "bp-asm.h".
20286         (PARMS): Do not use macros from bp-asm.h.
20287         (DEST): Likewise.
20288         (SRC): Likewise.
20289         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20290         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20291         "bp-asm.h".
20292         (PARMS): Do not use macros from bp-asm.h.
20293         (strlen): Do not use BP_SYM.
20294         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20295         "bp-asm.h".
20296         (PARMS): Do not use macros from bp-asm.h.
20297         (S1): Likewise.
20298         (S2): Likewise.
20299         (SIZE): Likewise.
20300         (__mpn_sub_n): Do not use BP_SYM.
20301         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20302         "bp-asm.h".
20303         (PARMS): Do not use macros from bp-asm.h.
20304         (S1): Likewise.
20305         (SIZE): Likewise.
20306         (__mpn_submul_1): Do not use BP_SYM.
20307         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20308         "bp-asm.h".
20309         (PARMS): Do not use macros from bp-asm.h.
20310         (S1): Likewise.
20311         (S2): Likewise.
20312         (SIZE): Likewise.
20313         (__mpn_add_n): Do not use BP_SYM.
20314         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20315         weak_alias.
20316         (bzero): Likewise.
20317         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20318         "bp-asm.h".
20319         (PARMS): Do not use macros from bp-asm.h.
20320         (BLK2): Likewise.
20321         (LEN): Likewise.
20322         (memcmp): Do not use BP_SYM.
20323         (bcmp): Do not use BP_SYM in weak_alias.
20324         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20325         "bp-asm.h".
20326         (PARMS): Do not use macros from bp-asm.h.
20327         (DEST): Likewise.
20328         (SRC): Likewise.
20329         (LEN): Likewise.
20330         (memcpy): Likewise.  Do not use BP_SYM.
20331         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20332         "bp-asm.h".
20333         (PARMS): Do not use macros from bp-asm.h.
20334         (DEST): Likewise.
20335         (SRC): Likewise.
20336         (LEN): Likewise.
20337         (memmove): Likewise.  Do not use BP_SYM.
20338         * sysdeps/i386/i686/mempcpy.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         (SRC): Likewise.
20343         (LEN): Likewise.
20344         (__mempcpy): Likewise.  Do not use BP_SYM.
20345         (mempcpy): Do not use BP_SYM in weak_alias.
20346         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20347         "bp-asm.h".
20348         (PARMS): Do not use macros from bp-asm.h.
20349         (DEST): Likewise.
20350         (LEN): Likewise.
20351         [!BZERO_P] (CHR): Likewise.
20352         (memset): Likewise.  Do not use BP_SYM.
20353         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20354         "bp-asm.h".
20355         (PARMS): Do not use macros from bp-asm.h.
20356         (STR2): Likewise.
20357         (strcmp): Do not use BP_SYM.
20358         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20359         "bp-asm.h".
20360         (PARMS): Do not use macros from bp-asm.h.
20361         (STR): Likewise.
20362         (DELIM): Likewise.
20363         [USE_AS_STRTOK_R] (SAVE): Likewise.
20364         (FUNCTION): Likewise.  Do not use BP_SYM.
20365         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20366         aliases.
20367         (strtok_r): Likewise.
20368         (__GI___strtok_r): Likewise.
20369         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20370         (PARMS): Do not use macros from bp-asm.h.
20371         (S): Likewise.
20372         (SIZE): Likewise.
20373         (__mpn_lshift): Do not use BP_SYM.
20374         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20375         (PARMS): Do not use macros from bp-asm.h.
20376         (STR): Likewise.
20377         (CHR): Likewise.
20378         (__memchr): Do not use BP_SYM.
20379         (memchr): Do not use BP_SYM in weak_alias.
20380         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20381         (PARMS): Do not use macros from bp-asm.h.
20382         (BLK2): Likewise.
20383         (LEN): Likewise.
20384         (memcmp): Do not use BP_SYM.
20385         (bcmp): Do not use BP_SYM in weak_alias.
20386         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20387         (PARMS): Do not use macros from bp-asm.h.
20388         (S1): Likewise.
20389         (SIZE): Likewise.
20390         (__mpn_mul_1): Do not use BP_SYM.
20391         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20392         "bp-asm.h".
20393         (PARMS): Do not use macros from bp-asm.h.
20394         (STR): Likewise.
20395         (CHR): Likewise.
20396         (__rawmemchr): Do not use BP_SYM.
20397         (rawmemchr): Do not use BP_SYM in weak_alias.
20398         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20399         (PARMS): Do not use macros from bp-asm.h.
20400         (S): Likewise.
20401         (SIZE): Likewise.
20402         (__mpn_rshift): Do not use BP_SYM.
20403         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20404         (PARMS): Do not use macros from bp-asm.h.
20405         (SIGMSK): Likewise.
20406         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20407         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20408         (_start): Do not use BP_SYM.
20409         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20410         (PARMS): Do not use macros from bp-asm.h.
20411         (DEST): Likewise.
20412         (SRC): Likewise.
20413         (__stpcpy): Likewise.  Do not use BP_SYM.
20414         (stpcpy): Do not use BP_SYM in weak_alias.
20415         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20416         "bp-asm.h".
20417         (PARMS): Do not use macros from bp-asm.h.
20418         (DEST): Likewise.
20419         (SRC): Likewise.
20420         (LEN): Likewise.
20421         (__stpncpy): Likewise.  Do not use BP_SYM.
20422         (stpncpy): Do not use BP_SYM in weak_alias.
20423         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20424         (PARMS): Do not use macros from bp-asm.h.
20425         (STR): Likewise.
20426         (CHR): Likewise.
20427         (strchr): Likewise.  Do not use BP_SYM.
20428         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20429         "bp-asm.h".
20430         (PARMS): Do not use macros from bp-asm.h.
20431         (STR): Likewise.
20432         (CHR): Likewise.
20433         (__strchrnul): Likewise.  Do not use BP_SYM.
20434         (strchrnul): Do not use BP_SYM in weak_alias.
20435         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20436         "bp-asm.h".
20437         (PARMS): Do not use macros from bp-asm.h.
20438         (STOP): Likewise.
20439         (strcspn): Do not use BP_SYM.
20440         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20441         "bp-asm.h".
20442         (PARMS): Do not use macros from bp-asm.h.
20443         (STR): Likewise.
20444         (STOP): Likewise.
20445         (strpbrk): Likewise.  Do not use BP_SYM.
20446         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20447         "bp-asm.h".
20448         (PARMS): Do not use macros from bp-asm.h.
20449         (STR): Likewise.
20450         (CHR): Likewise.
20451         (strrchr): Likewise.  Do not use BP_SYM.
20452         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20453         (PARMS): Do not use macros from bp-asm.h.
20454         (SKIP): Likewise.
20455         (strspn): Do not use BP_SYM.
20456         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20457         (PARMS): Do not use macros from bp-asm.h.
20458         (STR): Likewise.
20459         (DELIM): Likewise.
20460         (SAVE): Likewise.
20461         (FUNCTION): Likewise.  Do not use BP_SYM.
20462         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20463         aliases.
20464         (strtok_r): Likewise.
20465         (__GI___strtok_r): Likewise.
20466         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20467         (PARMS): Do not use macros from bp-asm.h.
20468         (S1): Likewise.
20469         (S2): Likewise.
20470         (SIZE): Likewise.
20471         (__mpn_sub_n): Do not use BP_SYM.
20472         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20473         "bp-asm.h".
20474         (PARMS): Do not use macros from bp-asm.h.
20475         (S1): Likewise.
20476         (SIZE): Likewise.
20477         (__mpn_submul_1): Do not use BP_SYM.
20478         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20479         <bp-sym.h>.
20480         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20481         and <bp-asm.h>.
20482         (PARMS): Do not use macros from bp-asm.h.
20483         (FLAGS): Likewise.
20484         (PTID): Likewise.
20485         (TLS): Likewise.
20486         (CTID): Likewise.
20487         (__clone): Do not use BP_SYM.
20488         (clone): Do not use BP_SYM in weak_alias.
20489         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20490         and <bp-asm.h>.
20491         (PARMS): Do not use macros from bp-asm.h.
20492         (LEN): Likewise.
20493         (__mmap64): Do not use BP_SYM.
20494         (mmap64): Do not use BP_SYM in weak_alias.
20495         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20496         <bp-sym.h> and <bp-asm.h>.
20497         (PARMS): Do not use macros from bp-asm.h.
20498         (__posix_fadvise64_l64): Do not use BP_SYM.
20499         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20500         (PARMS): Do not use macros from bp-asm.h.
20501         (NSOPS): Likewise.
20502         (semtimedop): Do not use BP_SYM.
20503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20504         and <bp-asm.h>.
20505
20506 2013-02-21  Allan McRae  <allan@archlinux.org>
20507
20508         * manual/message.texi (Charset conversion in gettext):
20509         Move @end statement to beginning of line.
20510
20511 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20512
20513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20514         static.
20515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20516         Likewise.
20517
20518         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20519         (denorm): Likewise.
20520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20522
20523 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20524
20525         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20526         tail-call to the resolved function if pltexit isn't needed.
20527
20528 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20529
20530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20531         or Y being zero as being unlikely.
20532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20533         Likewise.
20534
20535 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20536
20537         * manual/nss.texi (System Databases and Name Service Switch):
20538         Remove frobnicate @pxref.
20539
20540 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20541
20542         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20543         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20544
20545 2013-02-20  Petr Machata  <pmachata@redhat.com>
20546
20547         * elf/elf.h (R_ARM_TARGET1): New macro.
20548         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20549         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20550         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20551         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20552         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20553         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20554         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20555         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20556         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20557         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20558         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20559         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20560         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20561         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20562         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20563         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20564         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20565         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20566         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20567         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20568         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20569         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20570         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20571         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20572         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20573         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20574         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20575         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20576         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20577         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20578         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20579         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20580         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20581         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20582         (R_ARM_THM_GOT_BREL12): Likewise.
20583         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20584         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20585         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20586         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20587         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20588         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20589         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20590         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20591         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20592
20593 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20594
20595         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20596         __attribute_used__ to __attribute__ ((unused)).
20597
20598 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20599
20600         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20601         powerpc mpa.c.
20602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20603         comment formatting.
20604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20605
20606 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20607
20608         [BZ #13550]
20609         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20610         Remove macro.
20611         (ENTER): Remove both macro definitions.
20612         (LEAVE): Likewise.
20613         (CHECK_BOUNDS_LOW): Likewise.
20614         (CHECK_BOUNDS_HIGH): Likewise.
20615         (CHECK_BOUNDS_BOTH): Likewise.
20616         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20617         (RETURN_BOUNDED_POINTER): Likewise.
20618         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20619         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20620         (POP_ERRNO_LOCATION_RETURN): Likewise.
20621         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20622         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20623         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20624         macros.
20625         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20626         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20627         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20628         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20629         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20630         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20631         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20632         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20633         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20634         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20635         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20636         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20637         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20638         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20639         removed macros.
20640         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20641         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20642         macros.
20643         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20644         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20645         * sysdeps/i386/i586/memset.S (memset): Likewise.
20646         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20647         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20648         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20649         macros.
20650         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20651         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20652         Change uses of L(2) to L(out).
20653         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20654         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20655         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20656         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20657         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20658         removed macros.
20659         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20660         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20661         macros.
20662         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20663         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20664         (RETURN): Do not use macro LEAVE.
20665         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20666         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20667         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20668         * sysdeps/i386/i686/memset.S (memset): Likewise.
20669         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20670         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20671         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20672         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20673         Likewise.
20674         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20675         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20676         L(1_2) and L(1_3) into L(1).
20677         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20678         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20679         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20680         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20681         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20682         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20683         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20684         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20685         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20686         macros.
20687         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20688         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20689         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20690         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20691         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20692         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20693         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20694         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20695         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20696         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20697         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20698         * sysdeps/i386/strspn.S (strspn): Likewise.
20699         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20700         conditional code.
20701         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20702         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20703         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20704         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20705         L(1_3) into L(1_1).
20706         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20707         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20708         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20709         macros.
20710         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20711
20712 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20713
20714         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20715         macro.
20716
20717 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20718
20719         * math/atest-exp.c (exp_mpn): Remove ROUND.
20720         * math/atest-exp2.c (exp_mpn): Likewise.
20721         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20722
20723         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20724         * stdlib/tst-tls-atexit-lib.c: Likewise.
20725         * stdlib/tst-tls-atexit.c: Likewise.
20726
20727 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20728
20729         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20730         and __attribute_alloc_size__.
20731
20732 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20733
20734         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20735         __attribute_alloc_size__.
20736         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20737         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20738
20739 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20740
20741         * include/programs/xmalloc.h: New file.
20742         * catgets/gencat.c: Include it.
20743         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20744         * elf/pldd.c: Likewise.
20745         * iconv/iconv_charmap.c: Likewise.
20746         * iconv/iconvconfig.c: Likewise.
20747         * iconv/strtab.c: Likewise.
20748         * locale/programs/locale.c: Likewise.
20749         * locale/programs/localedef.h: Likewise.
20750         * locale/programs/simple-hash.c: Likewise.
20751         * nscd/nscd.h: Likewise.
20752         * nss/makedb.c: Likewise.
20753         * sysdeps/generic/ldconfig.h: Likewise.
20754
20755 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20756
20757         * Versions.def: Add GLIBC_2.18.
20758         * include/link.h (struct link_map): New member l_tls_dtor_count.
20759         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20760         (__call_tls_dtors): Likewise.
20761         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20762         __cxa_thread_atexit_impl.
20763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20764         Likewise.
20765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20766         Likewise.
20767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20768         Likewise.
20769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20770         Likewise.
20771         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20773         Likewise.
20774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20775         Likewise.
20776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20778         Likewise.
20779         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20780         (tests): Add test case tst-tls-atexit.
20781         (modules-names): Add shared library for tst-tls-atexit.
20782         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20783         (GLIBC_PRIVATE): Add __call_tls_dtors.
20784         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20785         for libstdc++.
20786         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20787         * stdlib/tst-tls-atexit.c: New test case.
20788         * stdlib/tst-tls-atexit-lib.c: New test case.
20789
20790         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20791
20792         * elf/Versions (ld): Add _dl_find_dso_for_object.
20793         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20794         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20795         (dl_open_worker): Use _dl_find_dso_for_object.
20796         * elf/dl-sym.c (do_sym): Likewise.
20797         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20798
20799 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20800
20801         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20802         Syntactic changes only.
20803         (_dl_runtime_profile): Do a tail-call to the resolved function.
20804
20805 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20806
20807         [BZ #13550]
20808         * sysdeps/x86_64/bp-asm.h: Remove file.
20809         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20810         <bp-sym.h> and <bp-asm.h>.
20811         (__clone): Do not use BP_SYM.
20812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20813         <bp-sym.h> and <bp-asm.h>.
20814         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20815         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20816         "bp-asm.h".
20817         (_setjmp): Do not use BP_SYM.
20818         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20819         "bp-asm.h".
20820         (setjmp): Do not use BP_SYM.
20821         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20822         libc_hidden_def.
20823         (mempcpy): Do not use BP_SYM in weak_alias.
20824         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20825         "bp-asm.h".
20826         (strchr): Do not use BP_SYM.
20827         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20828         "bp-asm.h".
20829         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20830         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20831         (_start): Do not use BP_SYM.
20832         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20833         "bp-asm.h".
20834         (strcat): Do not use BP_SYM.
20835         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20836         "bp-asm.h".
20837         (STRCMP): Do not use BP_SYM.
20838         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20839         "bp-asm.h".
20840         (STRCPY): Do not use BP_SYM.
20841         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20842         "bp-asm.h".
20843         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20844         "bp-asm.h".
20845         (FUNCTION): Do not use BP_SYM.
20846         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20847         weak_alias.
20848         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20849
20850 2013-02-17  Andreas Jaeger  <aj@suse.de>
20851
20852         * time/Versions: Sort entries.
20853         * string/Versions: Likewise.
20854         * resolv/Versions: Likewise.
20855         * posix/Versions: Likewise.
20856         * iconv/Versions: Likewise.
20857         * elf/Versions: Likewise.
20858         * wcsmbs/Versions: Likewise.
20859
20860 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20861
20862         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20863         loop termination condition.
20864
20865         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20866         variable to calculate EZ.
20867         (__sqr): Likewise.
20868
20869         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20870         the lower precision input.
20871
20872 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20873
20874         [BZ #13550]
20875         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20876         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20877         (run-via-rtld-prefix): Do not handle %-bp tests.
20878         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20879         (all-object-suffixes): Remove .ob.
20880         (bppfx): Remove variable.
20881         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20882         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20883         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20884         [$(build-bounded) = yes] (libtype.ob): Likewise.
20885         * Makerules (elide-routines.ob): Remove variable.
20886         (do-tests-clean): Do not handle *-bp.out.
20887         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20888         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20889         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20890         (tests): Do not include $(tests-bp.out).
20891         (xtests): Do not include $(xtests-bp.out).
20892         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20893         [$(build-bounded) = yes] ($(addprefix
20894         $(objpfx),$(binaries-bounded))): Remove rule.
20895         ($(objpfx)%-bp.out): Remove rule.
20896         * config.make.in (build-bounded): Remove variable.
20897         * crypt/Makefile [$(build-bounded) = yes]
20898         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20899         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20900         append to variable.
20901         [$(build-bounded) = yes] (install-lib): Likewise.
20902         [$(build-bounded) = yes] (generated): Likewise.
20903         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20904         Remove rule.
20905         * intl/Makefile [$(build-bounded) = yes]
20906         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20907         * math/Makefile [$(build-bounded) = yes]
20908         ($(tests:%=$(objpfx)%-bp): Likewise.
20909         * misc/Makefile [$(build-bounded) = yes]
20910         ($(objpfx)tst-tsearch-bp): Likewise.
20911         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20912         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20913         Remove dependency.
20914         * string/Makefile (o-objects.ob): Remove variable.
20915         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20916         (CFLAGS-.ob): Remove variable.
20917         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20918         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20919         both definitions of variable.
20920         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20921         (ASFLAGS-.ob): Remove variable.
20922
20923 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20924
20925         [BZ #13550]
20926         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20927         Remove __BOUNDED_POINTERS__ from condition.
20928         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20929         * string/bits/string2.h [!__NO_STRING_INLINES &&
20930         !__BOUNDED_POINTERS__]: Likewise.
20931         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20932         Likewise.
20933         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20934         Remove conditional code.
20935         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20936         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20937         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20938         condition.
20939
20940         [BZ #13550]
20941         * csu/libc-start.c: Do not include <bp-sym.h>.
20942         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20943         * elf/dl-open.c: Do not include <bp-sym.h>.
20944         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20945         * math/fegetenv.c: Do not include <bp-sym.h>.
20946         (fegetenv): Do not use BP_SYM in versioned symbols.
20947         * nptl/sysdeps/pthread/bits/libc-lockP.h
20948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20949         <bp-sym.h>.
20950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20951         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20953         (__pthread_mutex_destroy): Likewise.
20954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20955         (__pthread_mutex_lock): Likewise.
20956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20957         (__pthread_mutex_trylock): Likewise.
20958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20959         (__pthread_mutex_unlock): Likewise.
20960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20961         (__pthread_mutexattr_init): Likewise.
20962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20963         (__pthread_mutexattr_destroy): Likewise.
20964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20965         (__pthread_mutexattr_settype): Likewise.
20966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20967         (__pthread_rwlock_init): Likewise.
20968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20969         (__pthread_rwlock_destroy): Likewise.
20970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20971         (__pthread_rwlock_rdlock): Likewise.
20972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20973         (__pthread_rwlock_tryrdlock): Likewise.
20974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20975         (__pthread_rwlock_wrlock): Likewise.
20976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20977         (__pthread_rwlock_trywrlock): Likewise.
20978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20979         (__pthread_rwlock_unlock): Likewise.
20980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20981         (__pthread_key_create): Likewise.
20982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20983         (__pthread_setspecific): Likewise.
20984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20985         (__pthread_getspecific): Likewise.
20986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20987         Likewise.
20988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20989         (_pthread_cleanup_push_defer): Likewise.
20990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20991         (_pthread_cleanup_pop_restore): Likewise.
20992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20993         (pthread_setcancelstate): Likewise.
20994         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20995         <bp-sym.h>.
20996         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20997         (memchr): Do not use BP_SYM in weak_alias.
20998         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20999         (fegetenv): Do not use BP_SYM in versioned symbols.
21000         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21001         (fesetenv): Do not use BP_SYM in versioned symbols.
21002         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21003         (feupdateenv): Do not use BP_SYM in versioned symbols.
21004         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21005         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21006         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21007         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21008         (open64): Do not use BP_SYM in weak_alias.
21009         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21010         (fegetenv): Do not use BP_SYM in versioned symbols.
21011         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21012         (fesetenv): Do not use BP_SYM in versioned symbols.
21013         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21014         (feupdateenv): Do not use BP_SYM in versioned symbols.
21015         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21016         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21017         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21018         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21019         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21020         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21021         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21022         <bp-sym.h>.
21023         (__libc_start_main): Do not use BP_SYM.
21024
21025 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21026
21027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21028         redundant return line.
21029         (norm): Likewise.
21030         (denorm): Likewise.
21031         (dbl_mp): Likewise.
21032         (sub_magnitudes): Likewise.
21033         (__add): Likewise.
21034         (__sub): Likewise.
21035         (__mul): Likewise.
21036         (__inv): Likewise.
21037         (__dvd): Likewise.
21038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21039         (norm): Likewise.
21040         (denorm): Likewise.
21041         (dbl_mp): Likewise.
21042         (sub_magnitudes): Likewise.
21043         (__add): Likewise.
21044         (__sub): Likewise.
21045         (__mul): Likewise.
21046         (__inv): Likewise.
21047         (__dvd): Likewise.
21048
21049         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21050         instead of __mul.
21051         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21052         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21053         (cc32): Likewise.
21054
21055         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21056         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21057         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21058         of __mul for squares.
21059         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21060         function
21061         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21062         Likewise.
21063         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21064         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21065
21066 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21067
21068         [BZ #13550]
21069         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21070         code.
21071         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21072         prototype or function definition.  Rename ubp_* variables and
21073         parameters.  Remove argv definitions conditional on
21074         [__BOUNDED_POINTERS__].
21075         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21076         * elf/dl-runtime.c (_dl_fixup): Likewise.
21077         * include/set-hooks.h (RUN_HOOK): Likewise.
21078         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21079         definition.
21080         * string/strcpy.c (strcpy): Do not use __unbounded.
21081         * sysdeps/generic/frame.h (struct layout): Likewise.
21082         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21083         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21084         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21085         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21086         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21087         (__backtrace): Likewise.
21088         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21089         use __ptrvalue.
21090         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21091         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21092         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21093         Likewise.
21094         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21095         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21096         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21097         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21098         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21099         Do not use __unbounded.
21100         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21101         Rename __unboundedrlimits parameter to rlimits in prototype.
21102         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21103         Do not use __unbounded.
21104         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21105         not use __ptrvalue.
21106         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21107         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21108         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21109         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21110         __ptrvalue or __unbounded.
21111         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21112         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21113         use __unbounded.
21114         (__new_msgctl): Do not use __ptrvalue.
21115         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21116         __unbounded.
21117         (__libc_msgrcv): Do not use __ptrvalue.
21118         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21119         startup_info): Do not use __unbounded.
21120         (__libc_start_main): Likewise.  Rename ubp_* variables and
21121         parameters.  Remove argv definitions conditional on
21122         [__BOUNDED_POINTERS__].
21123         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21124         __ptrvalue.
21125         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21126         use __unbounded.
21127         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21128         or __ptrvalue.
21129         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21130         use __unbounded.
21131         (__new_shmctl): Do not use __ptrvalue.
21132         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21133         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21134         Likewise.
21135         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21136         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21137         (__libc_sigaction): Likewise.
21138         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21139         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21140         Likewise.
21141         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21142
21143 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21144
21145         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21146
21147         * string/mempcpy.c: Implement by calling memcpy.
21148
21149 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21150
21151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21152
21153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21154         evaluation.
21155
21156         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21157         values in the mantissa.
21158
21159         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21160         minimize writes to Z.
21161         (sub_magnitudes): Simplify code a bit.
21162
21163 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21164
21165         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21166         from the message.  The linker prefixes all warnings with that already.
21167
21168 2013-02-12  Andreas Schwab  <schwab@suse.de>
21169
21170         [BZ #15078]
21171         * posix/regexec.c (extend_buffers): Add parameter min_len.
21172         (check_matching): Pass minimum needed length.
21173         (clean_state_log_if_needed): Likewise.
21174         (get_subexp): Likewise.
21175         * posix/Makefile (tests): Add bug-regex34.
21176         (bug-regex34-ENV): Define.
21177         * posix/bug-regex34.c: New file.
21178
21179         [BZ #11561]
21180         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21181         elements compare against the byte sequence of it, not its name.
21182         * posix/Makefile (tests): Add bug-regex35.
21183         (bug-regex35-ENV): Define.
21184         * posix/bug-regex35.c: New file.
21185
21186 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21187
21188         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21189         comment.
21190         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21191         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21192         (CHECK_EOL): Add undef.
21193
21194 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21195
21196         * bits/stdlib-bsearch.h: New file.
21197         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21198         * stdlib/stdlib.h: Likewise.
21199
21200 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21201
21202         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21203         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21204         declaration.
21205         * manual/search.texi (Array Search Function): Add missing const in
21206         lfind prototype.
21207         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21208         declaration to use rlim_t.
21209         (Basic Scheduling Functions): Remove erroneous const from
21210         sched_getparam prototype.  Remove erroneous * from
21211         sched_get_priority_max and sched_get_priority_min prototypes.
21212         (Resource Usage): Fix summary @comment on vtimes to refer to
21213         sys/vtimes.h rather than vtimes.h.
21214         Add missing *s in vtimes prototype.
21215         (Limits on Resources): Fix ulimit prototype to return long int.
21216         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21217         prototypes to use long int rather than double.
21218         (BSD Random): Fix initstate and setstate to use char *, not void *.
21219         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21220         prototype to make second argument 'struct aiocb64 *const[]'.
21221         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21222         (Status of AIO Operations): Remove erroneous const in aio_return and
21223         aio_return64 prototypes.
21224         (Synchronizing I/O): Fix sync prototype to return void.
21225         * manual/startup.texi (Suboptions): Remove an erroneous const in
21226         getsubopt prototype.
21227         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21228         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21229         use size_t rather than int.
21230         (Scanning All Users): Likewise for getpwent_r.
21231         (Setting Groups): Add missing const to setgroups prototype.
21232         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21233         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21234         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21235         'const void *' rather than 'const char *'.
21236         (Host Address Functions): Likewise for inet_ntop.
21237         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21238         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21239         ssize_t for return value.
21240         (Sending Data): Likewise for send, sendto, sendmsg.
21241         (Socket Option Functions): Add a missing const in setsockopt prototype.
21242         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21243         use wchar_t for the argument.
21244         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21245         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21246         take no arguments.
21247         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21248         double/float/long double for second argument.
21249         Fix return types of significand, significandf, significandl.
21250         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21251         argument in fchmod prototype.
21252         (File Owner): Use uid_t and gid_t in fchown prototype.
21253         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21254         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21255         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21256         use 'const struct dirent **' as argument types to CMP function pointer
21257         argument.
21258         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21259         (File Times): Fix summary magic @comment for struct utimbuf and utime
21260         to refer to utime.h, not time.h.
21261         * manual/string.texi (Argz Functions): Add missing const in
21262         argz_extract and argz_next prototypes.
21263         (Finding Tokens in a String): Likewise for basename.
21264         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21265         (Copying and Concatenation): Fix typo in wmemmove prototype.
21266         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21267         (Signal Stack): Remove erroneous const in sigstack prototype.
21268         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21269         prototype.
21270         (Simple Calendar Time): Likewise for stime.
21271         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21272         prototype.
21273         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21274         say sys/sysctl.h instead.
21275         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21276         and vsyslog prototypes.
21277
21278 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21279
21280         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21281         Remove.
21282
21283 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21284
21285         * misc/sys/mman.h: Fix typo in mremap comment.
21286
21287 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21288
21289         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21290         the '\0' terminator.
21291
21292 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21293
21294         [BZ #13550]
21295         * debug/segfault.c: Don't include <bp-checks.h>.
21296         * sysdeps/generic/bp-checks.h: Remove file.
21297         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21298         (__GETDENTS): Don't use CHECK_N.
21299         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21300         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21301         (__getgroups): Don't use CHECK_N.
21302         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21303         (setgroups): Don't use CHECK_N.
21304         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21305         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21306         (__libc_msgrcv): Don't use CHECK_N.
21307         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21308         (__libc_msgsnd): Don't use CHECK_N.
21309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21310         <bp-checks.h>.
21311         (__libc_pread): Don't use CHECK_N.
21312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21313         include <bp-checks.h>.
21314         (__libc_pread64): Don't use CHECK_N.
21315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21316         include <bp-checks.h>.
21317         (__libc_pwrite): Don't use CHECK_N.
21318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21319         include <bp-checks.h>.
21320         (__libc_pwrite64): Don't use CHECK_N.
21321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21322         <bp-checks.h>.
21323         (__libc_pread): Don't use CHECK_N.
21324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21325         include <bp-checks.h>.
21326         (__libc_pread64): Don't use CHECK_N.
21327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21328         include <bp-checks.h>.
21329         (__libc_pwrite): Don't use CHECK_N.
21330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21331         include <bp-checks.h>.
21332         (__libc_pwrite64): Don't use CHECK_N.
21333         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21334         (do_pread): Don't use CHECK_N.
21335         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21336         (do_pread64): Don't use CHECK_N.
21337         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21338         (do_pwrite): Don't use CHECK_N.
21339         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21340         (do_pwrite64): Don't use CHECK_N.
21341         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21342         (__libc_readv): Don't use CHECK_N.
21343         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21344         (semop): Don't use CHECK_N.
21345         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21346         <bp-checks.h>.
21347         (semtimedop): Don't use CHECK_N.
21348         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21349         (__libc_pread): Don't use CHECK_N.
21350         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21351         <bp-checks.h>.
21352         (__libc_pread64): Don't use CHECK_N.
21353         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21354         <bp-checks.h>.
21355         (__libc_pwrite): Don't use CHECK_N.
21356         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21357         <bp-checks.h>.
21358         (__libc_pwrite64): Don't use CHECK_N.
21359         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21360         <bp-checks.h>.
21361         (__libc_msgrcv): Don't use CHECK_N.
21362         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21363         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21364         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21365         (__libc_writev): Don't use CHECK_N.
21366
21367 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21368
21369         * string/strcpy.c: Removed unused variable.
21370
21371         * Makeconfig (+sysdep-includes): Define with := rather than =.
21372         Use an existing include/ subdir of each sysdeps dir before it.
21373
21374 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21375
21376         * nscd/connection.c (register_traced_file): Comment function.
21377         [HAVE_INOTIFY] (union __inev): Define.
21378         [HAVE_INOTIFY] (inotify_check_files): New function.
21379         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21380         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21381         clear_db_cache.
21382         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21383
21384 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21385
21386         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21387         loaded if not already and that a failure is permanent.
21388
21389 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21390
21391         [BZ #15006]
21392         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21393         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21394
21395 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21396
21397         [BZ #13550]
21398         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21399         (CHECK_1_NULL_OK): Likewise.
21400         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21401         (__fxstat): Do not use CHECK_1.
21402         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21403         <bp-checks.h>.
21404         (___fxstat64): Do not use CHECK_1.
21405         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21406         <bp-checks.h>.
21407         (__fxstatat): Do not use CHECK_1.
21408         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21409         <bp-checks.h>.
21410         (__fxstatat64): Do not use CHECK_1.
21411         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21412         <bp-checks.h>.
21413         (__fxstat): Do not use CHECK_1.
21414         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21415         <bp-checks.h>.
21416         (__fxstatat): Do not use CHECK_1.
21417         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21418         <bp-checks.h>.
21419         (__getresgid): Do not use CHECK_1.
21420         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21421         <bp-checks.h>.
21422         (__getresuid): Do not use CHECK_1.
21423         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21424         <bp-checks.h>.
21425         (__lxstat): Do not use CHECK_1.
21426         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21427         <bp-checks.h>.
21428         (__old_msgctl): Do not use CHECK_1.
21429         (__new_msgctl): Likewise.
21430         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21431         <bp-checks.h>.
21432         (__new_setrlimit): Do not use CHECK_1.
21433         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21434         <bp-checks.h>.
21435         (__old_shmctl): Do not use CHECK_1.
21436         (__new_shmctl): Likewise.
21437         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21438         <bp-checks.h>.
21439         (__xstat): Do not use CHECK_1.
21440         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21441         (__lxstat): Do not use CHECK_1.
21442         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21443         <bp-checks.h>.
21444         (___lxstat64): Do not use CHECK_1.
21445         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21446         (__old_msgctl): Do not use CHECK_1.
21447         (__new_msgctl): Likewise.
21448         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21449         <bp-checks.h>.
21450         (__gettimeofday): Do not use CHECK_1.
21451         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21452         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21453         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21454         <bp-checks.h>.
21455         (__gettimeofday): Do not use CHECK_1.
21456         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21457         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21458         (__new_shmctl): Do not use CHECK_1.
21459         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21460         <bp-checks.h>.
21461         (do_sigtimedwait): Do not use CHECK_1.
21462         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21463         <bp-checks.h>.
21464         (do_sigwaitinfo): Do not use CHECK_1.
21465         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21466         <bp-checks.h>.
21467         (msgctl): Do not use CHECK_1.
21468         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21469         <bp-checks.h>.
21470         (shmctl): Do not use CHECK_1.
21471         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21472         (ustat): Do not use CHECK_1.
21473         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21474         <bp-checks.h>.
21475         (__fxstat): Do not use CHECK_1.
21476         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21477         <bp-checks.h>.
21478         (__fxstatat): Do not use CHECK_1.
21479         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21480         <bp-checks.h>.
21481         (__lxstat): Do not use CHECK_1.
21482         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21483         <bp-checks.h>.
21484         (__xstat): Do not use CHECK_1.
21485         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21486         (__xstat): Do not use CHECK_1.
21487         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21488         (___xstat64): Do not use CHECK_1.
21489
21490         [BZ #13550]
21491         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21492         definitions.
21493         (CHECK_BOUNDS_HIGH): Likewise.
21494         * string/strcpy.c: Do not include <bp-checks.h>.
21495         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21496
21497 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21498
21499         * nscd/nscd-client.h (__nscd_drop_map_ref):
21500         Add __attribute__ ((unused)).
21501         * nis/nss-nisplus.h (niserr2nss): Likewise.
21502
21503         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21504         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21505
21506         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21507         Remove inline keyword.
21508         * include/rounding-mode.h (round_away): Likewise.
21509         * libio/wfileops.c (adjust_wide_data): Likewise.
21510         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21511         (__m128i_strloadu_tolower): Likewise.
21512         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21513         (__m128i_strloadu_tolower): Likewise.
21514         * time/mktime.c (ydhms_diff): Likewise.
21515         * locale/elem-hash.h (elem_hash): Likewise.
21516         * locale/setlocale.c (setdata): Likewise.
21517         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21518         (re_string_wchar_at): Likewise.
21519         (bitset_not, bitset_merge, bitset_mask): Likewise.
21520         [!(__GNUC__ > 3)] (inline): Remove macro.
21521         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21522         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21523         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21524         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21525         * string/memcmp.c (memcmp_bytes): Likewise.
21526         * locale/programs/locarchive.c (compute_hashval): Likewise.
21527         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21528         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21529         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21530         * nss/getent.c (print_rpc, print_protocols): Likewise.
21531         (print_passwd, print_group, print_aliases): Likewise.
21532         * nis/nss-nisplus.h (niserr2nss): Likewise.
21533         * nscd/connections.c (restart_p): Likewise.
21534         Change return type to bool.
21535
21536 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21537
21538         * Makeconfig (all-Depend-files): Add existing
21539         $(sorted-subdirs:=/Depend) files.
21540         (all-subdirs): Remove nss.
21541         * sysdeps/unix/inet/Subdirs: Add it here instead.
21542         * hesiod/Depend: New file.
21543
21544         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21545         instead of calling alloca.
21546
21547         * io/lseek.c (__lseek): Rename to __libc_lseek.
21548         Define __lseek as an alias.
21549
21550         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21551
21552 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21553
21554         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21555         else clause and remove check for non-standard endianness.
21556
21557 2013-02-04  David S. Miller  <davem@davemloft.net>
21558
21559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21560
21561 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21562
21563         [BZ #13550]
21564         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21565         (__ubp_memchr): Remove prototype.
21566         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21567         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21568         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21569         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21570         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21571         Remove alias.
21572         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21573         (__ubp_memchr): Likewise.
21574         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21575         (__ubp_memchr): Likewise.
21576         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21577         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21578         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21579         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21580         CHECK_STRING.
21581         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21582         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21583         (__getcwd): Do not use CHECK_STRING.
21584         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21585         <bp-checks.h>.
21586         (__real_chown): Do not use CHECK_STRING.
21587         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21588         <bp-checks.h>.
21589         (fchownat): Do not use CHECK_STRING.
21590         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21591         CHECK_STRING.
21592         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21593         <bp-checks.h>.
21594         (__lchown): Do not use CHECK_STRING.
21595         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21596         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21597         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21598         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21600         include <bp-checks.h>.
21601         (truncate64): Do not use CHECK_STRING.
21602         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21603         <bp-checks.h>.
21604         (__real_chown): Do not use CHECK_STRING.
21605         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21606         <bp-checks.h>.
21607         (__lchown): Do not use CHECK_STRING.
21608         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21609         <bp-checks.h>.
21610         (__chown): Do not use CHECK_STRING.
21611         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21612         <bp-checks.h>.
21613         (truncate64): Do not use CHECK_STRING.
21614         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21615         Likewise.
21616         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21617         (__xmknod): Do not use CHECK_STRING.
21618         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21619         <bp-checks.h>.
21620         (__xmknodat): Do not use CHECK_STRING.
21621         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21622         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21623
21624 2013-02-04  Andreas Schwab  <schwab@suse.de>
21625
21626         [BZ #14142]
21627         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21628         * include/netdb.h: Likewise for h_errno.
21629         * elf/tst-stackguard1.c: Include <tls.h>.
21630
21631 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21632
21633         * elf/link.h (struct link_map): Extend the l_addr comment.
21634         * include/link.h (struct link_map): Likewise.
21635
21636 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21637
21638         [BZ #13550]
21639         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21640         (BOUNDED_1): Remove macro.
21641         * debug/backtrace.c: Don't include <bp-checks.h>.
21642         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21643         (__backtrace): Likewise.
21644         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21645         <bp-checks.h>.
21646         (__backtrace): Don't use BOUNDED_1.
21647         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21648         <bp-checks.h>.
21649         (__backtrace): Don't use BOUNDED_1.
21650         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21651         (__backtrace): Don't use BOUNDED_1.
21652         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21653         (shmat): Don't use BOUNDED_N.
21654
21655 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21656
21657         [BZ #13550]
21658         * sysdeps/generic/bp-start.h: Remove file.
21659         * csu/libc-start.c: Don't include <bp-start.h>.
21660         (LIBC_START_MAIN): Set up __environ directly instead of using
21661         INIT_ARGV_and_ENVIRON.
21662         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21663         <bp-start.h>.
21664
21665         [BZ #13550]
21666         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21667         definitions.
21668         (CHECK_FCNTL): Likewise.
21669         (CHECK_N_PAGES): Likewise.
21670
21671         [BZ #13550]
21672         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21673         definitions.
21674         (CHECK_SIGSET_NULL_OK): Likewise.
21675         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21676         <bp-checks.h>.
21677         (sigpending): Don't use CHECK_SIGSET.
21678         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21679         <bp-checks.h>.
21680         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21681         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21682         <bp-checks.h>.
21683         (do_sigsuspend): Don't use CHECK_SIGSET.
21684         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21685         use CHECK_SIGSET.
21686         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21687         (do_sigwait): Don't use CHECK_SIGSET.
21688         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21689         use CHECK_SIGSET.
21690         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21691         include <bp-checks.h>.
21692         (sigpending): Don't use CHECK_SIGSET.
21693         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21694         include <bp-checks.h>.
21695         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21696         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21697         <bp-checks.h>.
21698         (sigpending): Don't use CHECK_SIGSET.
21699         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21700         <bp-checks.h>.
21701         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21702
21703         [BZ #13550]
21704         * sysdeps/generic/bp-semctl.h: Remove file.
21705         * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
21710         and <bp-semctl.h>.
21711         (__old_semctl): Don't use CHECK_SEMCTL.
21712         (__new_semctl): Likewise.
21713         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21714         <bp-checks.h> and <bp-semctl.h>.
21715         (__old_semctl): Don't use CHECK_SEMCTL.
21716         (__new_semctl): Likewise.
21717         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21718         <bp-checks.h> and <bp-semctl.h>.
21719         (semctl): Don't use CHECK_SEMCTL.
21720
21721         [BZ #13550]
21722         * Makerules (elide-bp-thunks): Remove variable.
21723         (elide-routines.oS): Don't use $(elide-bp-thunks).
21724         (elide-routines.os): Likewise.
21725         (elide-routines.o): Likewise.
21726         (elide-routines.op): Likewise.
21727         (elide-routines.og): Likewise.
21728         (objects): Don't use $(bp-thunks).
21729         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21730         include.
21731         (common-generated): Do not add s-proto-bp.d.
21732         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21733         (int): Likewise.
21734         (typ): Likewise.
21735         Do not generate makefile rules for bounded-pointer thunks.
21736         * sysdeps/generic/bp-thunks.h: Remove file.
21737         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21738         * sysdeps/unix/s-proto-bp.S: Likewise.
21739
21740         [BZ #15062]
21741         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21742         parts of result separately when argument is not close to line from
21743         -i to i and one part of argument is small.
21744         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21745         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21746         * math/libm-test.inc (cacos_test): Add more tests.
21747         (casin_test): Likewise.
21748         (casinh_test): Likewise.
21749         * sysdeps/i386/fpu/libm-test-ulps: Update.
21750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21751
21752 2013-01-31  David S. Miller  <davem@davemloft.net>
21753
21754         * po/de.po: Update from translation team.
21755
21756 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21757
21758         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21759
21760 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21761
21762         * configure.in (_AC_PROG_CC_C89): New definition.
21763         * configure: Regenerate.
21764
21765         * configure.in (AC_PROG_CPP): New definition.
21766         * configure: Regenerate.
21767
21768 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21769
21770         * debug/tst-backtrace.h: New file.
21771         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21772         (ret): Remove variable.
21773         (x): Likewise.
21774         (FAIL): Remove macro.
21775         (NO_INLINE): Likewise.
21776         (fn1): Use match function instead of strstr.
21777         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21778         (ret): Remove variable.
21779         (x): Likewise.
21780         (FAIL): Remove macro.
21781         (NO_INLINE): Likewise.
21782         (fn): Use match function instead of strstr.
21783         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21784         (ret): Remove variable.
21785         (x): Likewise.
21786         (FAIL): Remove macro.
21787         (NO_INLINE): Likewise.
21788         (handle_signal): Use match function instead of strstr.
21789         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21790         (ret): Remove variable.
21791         (x): Likewise.
21792         (FAIL): Remove macro.
21793         (NO_INLINE): Likewise.
21794         (handle_signal): Use match function instead of strstr.
21795
21796 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21797
21798         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21799
21800 2013-01-23  David S. Miller  <davem@davemloft.net>
21801
21802         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21803         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21804         argument of CAS if possible.
21805         * sysdeps/sparc/sparc64/bits/atomic.h
21806         (__arch_compare_and_exchange_val_32_acq): Likewise.
21807         (__arch_compare_and_exchange_val_64_acq): Likewise.
21808
21809 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21810
21811         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21812         * sysdeps/posix/ulimit.c: ... this.
21813         Include <limits.h>.
21814         * sysdeps/unix/bsd/ulimit.c: Remove file.
21815
21816 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21817
21818         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21819         (LDFLAGS-tst-array5): Likewise.
21820
21821 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21822
21823         [BZ #15036]
21824         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21825         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21826         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21827         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21828
21829 2013-01-21  David S. Miller  <davem@davemloft.net>
21830
21831         * sysdeps/sparc/backtrace.c: New file.
21832         * sysdeps/sparc/sparc32/backtrace.h: New file.
21833         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21834         * sysdeps/sparc/sparc64/backtrace.h: New file.
21835         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21836         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21837         -funwind-tables.
21838
21839 2013-01-21  Andreas Schwab  <schwab@suse.de>
21840
21841         [BZ #15020]
21842         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21843         closed its stdout.
21844
21845 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21846
21847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21848         "mpa2.h".
21849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21850
21851 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21852             Mark Mitchell  <mark@codesourcery.com>
21853             Tom de Vries  <tom@codesourcery.com>
21854             Paul Pluzhnikov  <ppluzhnikov@google.com>
21855
21856         * debug/tst-backtrace2.c: New file.
21857         * debug/tst-backtrace3.c: Likewise.
21858         * debug/tst-backtrace4.c: Likewise.
21859         * debug/tst-backtrace5.c: Likewise.
21860         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21861         (CFLAGS-tst-backtrace3.c): Likewise.
21862         (CFLAGS-tst-backtrace4.c): Likewise.
21863         (CFLAGS-tst-backtrace5.c): Likewise.
21864         (LDFLAGS-tst-backtrace2): Likewise.
21865         (LDFLAGS-tst-backtrace3): Likewise.
21866         (LDFLAGS-tst-backtrace4): Likewise.
21867         (LDFLAGS-tst-backtrace5): Likewise.
21868         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21869         tst-backtrace4 and tst-backtrace5.
21870
21871 2013-01-18  Anton Blanchard  <anton@samba.org>
21872             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21873
21874         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21875         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21876         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21877         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21879         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21880         "+r" and remove output regs list as redundant.  Add explicit inline
21881         asm to specify register of return val to work around compiler codegen
21882         bug.  Remove (int) cast on return value.  Add return type parameter to
21883         use in macro so that this macro does not truncate return value for
21884         64-bit values.
21885         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21886         pass to INTERNAL_VSYSCALL_NCS.
21887         (INLINE_VSYSCALL): Add 'long int' as return type to
21888         INTERNAL_VSYSCALL_NCS macro invocation.
21889         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21890         INTERNAL_VSYSCALL_NCS macro invocation.
21891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21892
21893 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21894
21895         [BZ #14496]
21896         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21897         Fix application of SIMD FP exception mask.
21898
21899         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21900         mp_no from a power of two.
21901         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21902         __mpexp_twomm1.  Use __pow_mp.
21903
21904         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21905         multiplication.
21906
21907 2013-01-17  David S. Miller  <davem@davemloft.net>
21908
21909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21910
21911 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21912
21913         [BZ #15023]
21914         * include/complex.h: Condition contents on [!_COMPLEX_H].
21915         (__kernel_casinhf): New prototype.
21916         (__kernel_casinh): Likewise.
21917         (__kernel_casinhl): Likewise.
21918         * math/Makefile (libm_calls): Add k_casinh.
21919         * math/k_casinh.c: New file.
21920         * math/k_casinhf.c: Likewise.
21921         * math/k_casinhl.c: Likewise.
21922         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21923         finite nonzero arguments.
21924         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21925         finite nonzero arguments.
21926         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21927         finite nonzero arguments.
21928         * math/s_casinh.c: Do not include <float.h>.
21929         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21930         * math/s_casinhf.c: Do not include <float.h>.
21931         (__casinhf): Move code for finite nonzero arguments to
21932         k_casinhf.c.
21933         * math/s_casinhl.c: Do not include <float.h>.
21934         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21935         redefine.
21936         (__casinhl): Move code for finite nonzero arguments to
21937         k_casinhl.c.
21938         * math/libm-test.inc (cacos_test): Add more tests.
21939         * sysdeps/i386/fpu/libm-test-ulps: Update.
21940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21941
21942 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21943
21944         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21945         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21946         [!HAVE_MREMAP]: Remove [defined linux] case.
21947         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21948
21949 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21950
21951         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21952
21953 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21954
21955         * elf/elf.h (R_386_SIZE32): New relocation.
21956         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21957         R_386_SIZE32.
21958         (elf_machine_rela): Likewise.
21959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21960         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21961
21962 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21963
21964         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21965         (FP_FAST_FMA): Do not define.
21966         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21967         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21968         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21969         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21970         !_SOFT_FLOAT]: Likewise.
21971         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21972         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21973         value.
21974         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21975         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21976         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21977         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21978         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21979         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21980         file.
21981
21982 2013-01-16  Andreas Schwab  <schwab@suse.de>
21983
21984         [BZ #14327]
21985         * include/stdlib.h (__mktemp): Add declaration.
21986         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21987         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21988
21989 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21990
21991         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21992         definitions.
21993         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21994         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21995         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21996         definitions here.
21997         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21998         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21999         definitions.
22000         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22001         and ONE.
22002         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22003         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22004         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22005         definitions.
22006         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22007         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22008         definitions.
22009         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22010
22011         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22012
22013 2013-01-15  David S. Miller  <davem@davemloft.net>
22014
22015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22016         trunc{,f} to libm-sysdep_routes.
22017         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22019         file.
22020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22022         file.
22023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22024         file.
22025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22027         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22028         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22029         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22030         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22031         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22032         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22033
22034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22035         nearbyint{,f} to libm-sysdep_routes.
22036         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22038         New file.
22039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22040         file.
22041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22042         New file.
22043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22044         file.
22045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22047         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22048         file.
22049         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22050         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22051         file.
22052         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22053         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22054         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22055
22056         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22057         libc_feholdexcept and libc_fesetenv.
22058
22059 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22060
22061         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22062
22063 2013-01-14  David S. Miller  <davem@davemloft.net>
22064
22065         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22066         (SPARC_ASM_VIS2_IFUNC): Likewise.
22067         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22069         use of 'siam' instruction.
22070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22071         Likewise.
22072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22073         Likewise.
22074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22075         Likewise.
22076         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22081         file.
22082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22083         file.
22084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22085         file.
22086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22087         file.
22088         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22089         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22090         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22091         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22093         new VIS2 routines.
22094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22097         Likewise.
22098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22100         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22103         routines to libm-sysdep_routines.
22104         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22105
22106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22107         fdim/fdimf to libm-sysdep_routines.
22108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22109         file.
22110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22112         file.
22113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22116         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22117         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22118         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22119         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22120
22121 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22122
22123         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22124         to optimize copies.
22125
22126         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22129
22130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22131         local variable MPTWO.
22132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22133         Likewise.
22134
22135 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22136
22137         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22138         GLOB_NOESCAPE.
22139
22140 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22141
22142         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22143
22144 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22145
22146         * manual/pattern.texi (glob_t): Document gl_flags.
22147         (glob64_t): Likewise.
22148
22149 2013-01-11  David S. Miller  <davem@davemloft.net>
22150
22151         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22152         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22153         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22154         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22155         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22156         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22157         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22158         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22159         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22160         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22161         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22162         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22163         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22164
22165         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22166         sparc V9 rather than using V8 code.
22167         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22168         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22169
22170         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22171         Move to...
22172         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22173         Here.
22174
22175 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22176
22177         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22178         not in the main loop.
22179         * configure: Regenerated.
22180
22181 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22182
22183         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22184         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22185         to just #else.
22186         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22187         [!__GLIBC_HAVE_LONG_LONG] case.
22188         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22189         condition to just #else.
22190         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22191         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22192         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22193         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22194         unconditional.
22195         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22196         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22197         #elif condition to just #else.
22198         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22199         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22200         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22201         #elif condition to just #else.
22202
22203 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22204
22205         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22206         (EF_MIPS_ARCH_64): Fix value.
22207         (EF_MIPS_ARCH_32R2): New.
22208         (EF_MIPS_ARCH_64R2): New.
22209
22210 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22211
22212         * Makeconfig (+link-pie-before-libc): New.
22213         (+link-pie-after-libc): Likewise.
22214         (+link-pie-tests): Likewise.
22215         (+link-pie): Rewritten.
22216         (link-before-libc): Remove $(config-LDFLAGS).
22217         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22218         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22219         (config-LDFLAGS): Renamed to ...
22220         (rtld-LDFLAGS): This.
22221         (rtld-tests-LDFLAGS): New macro.
22222         (link-libc-rpath-link): Likewise.
22223         (link-libc-tests-rpath-link): Likewise.
22224         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22225         (link-libc): Prepand $(link-libc-rpath-link).
22226         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22227         (test-program-prefix): New macro.
22228         (test-via-rtld-prefix): Likewise.
22229         (test-program-cmd): Likewise.
22230         (host-test-program-cmd): Likewise.
22231         * Makefile ($(common-objpfx)testrun.sh): Replace
22232         $(run-program-prefix) with $(test-program-prefix).
22233         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22234         $(rtld-LDFLAGS).
22235         ($(common-objpfx)shlib.lds): Likewise.
22236         (build-module-helper): Likewise.
22237         ($(common-objpfx)format.lds): Likewise.
22238         * Rules (binaries-pie-tests): New.
22239         (binaries-pie-notests): Likewise.
22240         (binaries-pie): Rewritten.
22241         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22242         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22243         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22244         (make-test-out): Replace $(host-built-program-cmd) with
22245         $(host-test-program-cmd).
22246         * config.make.in (build-hardcoded-path-in-tests): New variable.
22247         * configure.in (--enable-hardcoded-path-in-tests): New configure
22248         option.
22249         (hardcoded_path_in_tests): New AC_SUBST.
22250         * configure: Regenerated.
22251         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22252         $(built-program-cmd) with $(test-program-cmd).
22253         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22254         (test_program_cmd): This.
22255         * elf/Makefile ($(objpfx)order.out): Run test with
22256         $(test-program-prefix).
22257         ($(objpfx)order2.out): Likewise.
22258         ($(objpfx)tst-initorder.out): Likewise.
22259         ($(objpfx)tst-initorder2.out): Likewise.
22260         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22261         $(test-program-cmd).
22262         ($(objpfx)tst-array1-static.out): Likewise.
22263         ($(objpfx)tst-array2.out): Likewise.
22264         ($(objpfx)tst-array3.out): Likewise.
22265         ($(objpfx)tst-array4.out): Likewise.
22266         ($(objpfx)tst-array5.out): Likewise.
22267         ($(objpfx)tst-array5-static.out): Likewise.
22268         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22269         $(test-program-cmd).
22270         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22271         $(run-program-prefix) with $(test-program-prefix).
22272         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22273         (test_program_prefix): This.
22274         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22275         $(run-program-prefix) with $(test-program-prefix).
22276         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22277         (test_program_prefix): This.
22278         * iconvdata/tst-tables.sh: Likewise.
22279         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22280         $(run-program-prefix) with $(test-program-prefix).
22281         ($(objpfx)tst-translit.out): Likewise.
22282         ($(objpfx)tst-gettext2.out): Likewise.
22283         ($(objpfx)tst-gettext4.out): Likewise.
22284         ($(objpfx)tst-gettext6.out): Likewise.
22285         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22286         (test_program_prefix): This.
22287         * intl/tst-gettext2.sh: Likewise.
22288         * intl/tst-gettext4.sh  Likewise.
22289         * intl/tst-gettext6.sh: Likewise.
22290         * intl/tst-translit.sh: Likewise.
22291         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22292         with $(test-program-cmd).
22293         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22294         $(run-program-prefix) with $(test-program-prefix).
22295         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22296         (test_program_prefix): This.
22297         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22298         $(run-program-prefix) with $(test-program-prefix).
22299         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22300         (test_program_prefix): This.
22301         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22302         * posix/Makefile ($(objpfx)globtest.out): Replace
22303         $(run-via-rtld-prefix) and $(test-wrapper) with
22304         $(test-program-prefix) and $(test-via-rtld-prefix).
22305         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22306         $(test-program-prefix).
22307         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22308         $(host-test-program-cmd).
22309         (tst-spawn-ARGS): Likewise.
22310         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22311         $(test-program-prefix).
22312         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22313         (test_via_rtld_prefix): This.
22314         (test_wrapper): Renamed to ...
22315         (test_program_prefix): This.
22316         (run_program_prefix): Replaced by test_program_prefix.
22317         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22318         (test_program_prefix): This.
22319         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22320         with $(host-test-program-cmd).
22321         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22322         $(run-program-prefix) with $(test-program-prefix).
22323         ($(objpfx)tst-printf.out): Likewise.
22324         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22325         $(test-program-cmd).
22326         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22327         (test_program_prefix): This.
22328         * stdio-common/tst-unbputc.sh: Likewise.
22329         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22330         $(run-program-prefix) with $(test-program-prefix).
22331         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22332         (test_program_prefix): This.
22333         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22334         $(built-program-cmd) with $(test-program-cmd).
22335
22336 2013-01-11  Andreas Jaeger  <aj@suse.de>
22337
22338         [BZ #15003]
22339         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22340         value. Sync with Linux 3.7.
22341
22342 2013-01-10  David S. Miller  <davem@davemloft.net>
22343
22344         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22345         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22346         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22347
22348 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22349
22350         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22351         never set.
22352         * configure: Regenerated.
22353
22354 2013-01-10  David S. Miller  <davem@davemloft.net>
22355
22356         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22357         sparc V9 rather than using V8 code.
22358         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22359         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22360
22361 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22362
22363         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22364         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22365         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22366         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22367         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22368         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22369         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22370         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22371         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22372         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22373         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22374         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22375         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22376         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22377         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22378         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22379         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22380         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22381         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22382         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22383         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22384         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22385         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22386         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22387         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22388         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22389         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22390
22391 2013-01-10  David S. Miller  <davem@davemloft.net>
22392
22393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22394
22395 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22396
22397         * posix/Makefile (tests-static): New variable.
22398         (tests): Add $(tests-static).
22399         (tst-exec-static-ARGS): New variable.
22400         (tst-spawn-static-ARGS): Likewise.
22401         * posix/tst-exec-static.c: New file.
22402         * posix/tst-spawn-static.c: Likewise.
22403         * posix/tst-exec.c: Support run directly.
22404         * posix/tst-spawn.c: Likewise.
22405
22406 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22407
22408         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22409         long.
22410         * math/bits/mathcalls.h (llrint): Likewise.
22411         (llround): Likewise.
22412         * stdlib/stdlib.h (struct drand48_data): Likewise.
22413         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22414         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22415         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22416         Likewise.
22417         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22418         Likewise.
22419         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22420         (elf_greg_t): Likewise.
22421         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22422         (__jmp_buf): Likewise.
22423         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22424         definitions.
22425         (llrint): Likewise, for all definitions.
22426         (llrintl): Likewise.
22427
22428         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22429         Remove [__GNUC__] condition.
22430         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22431         condition to just [__USE_ISOC99].
22432         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22433
22434 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22435
22436         [BZ #14200]
22437         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22438         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22439         defined.
22440         (_POSIX_V6_ILP32_OFF32): Likewise.
22441         (_XBS5_ILP32_OFF32): Likewise.
22442         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22443         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22444
22445 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22446
22447         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22448
22449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22450         doubles __mpexp_twomm1.  Adjust usage.
22451         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22452         Remove.
22453
22454 2013-01-10  Andreas Schwab  <schwab@suse.de>
22455
22456         [BZ #14964]
22457         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22458         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22459
22460 2013-01-09  David S. Miller  <davem@davemloft.net>
22461
22462         [BZ #15003]
22463         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22464         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22465         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22466         (TCP_FASTOPEN): Define.
22467         (tcp_repair_opt): New structure.
22468         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22469         enum values.
22470         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22471         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22472         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22473         (tcp_cookie_transactions): New structure.
22474
22475 2013-01-09  Anton Blanchard  <anton@samba.org>
22476
22477         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22478         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22479         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22480         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22481
22482 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22483
22484         * include/features.h (__USE_ANSI): Remove.
22485
22486 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22487
22488         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22489
22490         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22491
22492 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22493
22494         * sysdeps/s390/fpu/libm-test-ulps: Update.
22495
22496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22497
22498         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22499         (__acr): Likewise.
22500         (__cpy): Likewise.
22501         (norm): Likewise.
22502         (denorm): Likewise.
22503         (__mp_dbl): Likewise.
22504         (__dbl_mp): Likewise.
22505         (add_magnitudes): Likewise.
22506         (sub_magnitudes): Likewise.
22507         (__add): Likewise.
22508         (__sub): Likewise.
22509         (__mul): Likewise.
22510         (__inv): Likewise.
22511         (__dvd): Likewise.
22512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22513         (__acr): Likewise.
22514         (__cpy): Likewise.
22515         (norm): Likewise.
22516         (denorm): Likewise.
22517         (__mp_dbl): Likewise.
22518         (__dbl_mp): Likewise.
22519         (add_magnitudes): Likewise.
22520         (sub_magnitudes): Likewise.
22521         (__add): Likewise.
22522         (__sub): Likewise.
22523         (__mul): Likewise.
22524         (__inv): Likewise.
22525         (__dvd): Likewise.
22526         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22527         (__acr): Likewise.
22528         (__cpy): Likewise.
22529         (norm): Likewise.
22530         (denorm): Likewise.
22531         (__mp_dbl): Likewise.
22532         (__dbl_mp): Likewise.
22533         (add_magnitudes): Likewise.
22534         (sub_magnitudes): Likewise.
22535         (__add): Likewise.
22536         (__sub): Likewise.
22537         (__mul): Likewise.
22538         (__inv): Likewise.
22539         (__dvd): Likewise.
22540
22541 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22542
22543         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22544         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22545         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22546         2 && __USE_EXTERN_INLINES]: Likewise.
22547
22548 2013-01-08  Andreas Jaeger  <aj@suse.de>
22549
22550         [BZ# 14985]
22551         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22552         Remove.
22553         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22554         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22555
22556 2013-01-07  Anton Blanchard  <anton@samba.org>
22557
22558         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22559         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22560         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22561         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22562         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22563         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22564         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22565         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22567         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22568         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22569         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22570         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22571         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22572         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22573         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22574         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22575         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22576         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22577         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22578         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22579         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22580         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22581         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22582         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22583         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22584         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22585         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22587         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22588         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22590         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22591         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22592         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22593         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22594         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22595         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22596         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22597         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22598         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22599         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22600         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22601
22602 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22603
22604         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22605         (__MALLOC_PMT): Likewise.
22606         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22607         [__GNUC__], only on [_LIBC].
22608         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22609         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22610         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22611         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22612         forward declaration.
22613         (realloc_hook_ini): Likewise.
22614         (memalign_hook_ini): Likewise.
22615         (__libc_memalign): Do not use __MALLOC_PMT in variable
22616         declaration.
22617         (__libc_valloc): Likewise.
22618         (__libc_pvalloc): Likewise.
22619         (__libc_calloc): Likewise.
22620         (__posix_memalign): Likewise.
22621
22622         [BZ #14996]
22623         * math/s_casinh.c: Include <float.h>.
22624         (__casinh): Do not do computation with squaring and square root
22625         for large arguments.
22626         * math/s_casinhf.c: Include <float.h>.
22627         (__casinhf): Do not do computation with squaring and square root
22628         for large arguments.
22629         * math/s_casinhl.c: Include <float.h>.
22630         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22631         (__casinhl): Do not do computation with squaring and square root
22632         for large arguments.
22633         * math/libm-test.inc (casin_test): Add more tests.
22634         (casinh_test): Likewise.
22635         * sysdeps/i386/fpu/libm-test-ulps: Update.
22636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22637
22638 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22639
22640         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22641         (__x86_64_raw_data_cache_size): Likewise.
22642         (__x86_64_data_cache_size_half): Likewise.
22643         (__x86_64_raw_data_cache_size_half): Likewise.
22644         (__x86_64_shared_cache_size): Likewise.
22645         (__x86_64_raw_shared_cache_size): Likewise.
22646         (__x86_64_shared_cache_size_half): Likewise.
22647         (__x86_64_raw_shared_cache_size_half): Likewise.
22648         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22649         to ...
22650         (__x86_data_cache_size): This.
22651         (__x86_64_raw_data_cache_size): Renamed to ...
22652         (__x86_raw_data_cache_size): This.
22653         (__x86_64_data_cache_size_half): Renamed to ...
22654         (__x86_data_cache_size_half): This.
22655         (__x86_64_raw_data_cache_size_half): Renamed to ...
22656         (__x86_raw_data_cache_size_half): This.
22657         (__x86_64_shared_cache_size): Renamed to ...
22658         (__x86_shared_cache_size): This.
22659         (__x86_64_raw_shared_cache_size): Renamed to ...
22660         (__x86_raw_shared_cache_size): This.
22661         (__x86_64_shared_cache_size_half): Renamed to ...
22662         (__x86_shared_cache_size_half): This.
22663         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22664         (__x86_raw_shared_cache_size_half): This.
22665         * sysdeps/x86_64/memcpy.S: Updated.
22666         * sysdeps/x86_64/memset.S: Likewise.
22667         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22668         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22669         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22670
22671 2013-01-04  David S. Miller  <davem@davemloft.net>
22672
22673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22674
22675 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22676
22677         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22678         1 to avoid redefinition warning.
22679         (__USE_GNU): Don't define.
22680         (init_signaling_nan): Protoize.
22681
22682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22683
22684 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22685
22686         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22688         (__cpymn): Likewise.
22689         (norm): Remove commented code.
22690         (denorm): Likewise.
22691         (__mp_dbl): Likewise.
22692         (__inv): Likewise.
22693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22694         (__cpymn): Likewise.
22695         (norm): Remove commented code.
22696         (denorm): Likewise.
22697         (__mp_dbl): Likewise.
22698         (__inv): Likewise.
22699
22700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22701         mp_no value for 1.0 and 2.0.
22702         (norm): Use RADIXI instead of radixi.d.
22703         (denorm): Likewise.
22704         (__mul): Use 0.0 instead of zero.d.
22705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22706         mp_no value for 1.0 and 2.0.
22707         (norm): Use RADIXI instead of radixi.d.
22708         (denorm): Likewise.
22709         (__mul): Use 0.0 instead of zero.d.
22710
22711 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22712
22713         [BZ #14994]
22714         * math/s_casinh.c (__casinh): Reduce finite argument to first
22715         quadrant then set signs of results at the end.
22716         * math/s_casinhf.c (__casinhf): Likewise.
22717         * math/s_casinhl.c (__casinhl): Likewise.
22718         * math/libm-test.inc (casin_test): Add more tests.
22719         (casinh_test): Likewise.
22720         * sysdeps/i386/fpu/libm-test-ulps: Update.
22721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22722
22723 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22724
22725         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22726
22727         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22728
22729         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22730         declarations.
22731         (denorm): Likewise.
22732         (__mp_dbl): Likewise.
22733         (__inv): Likewise.
22734
22735         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22736         and adjust the header comment.
22737
22738         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22739         variable name from declaration.
22740
22741 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22742
22743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22744         Initialize COMMON_CPUID_INDEX_7 element.
22745         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22746         (CPUID_RTM): Likewise.
22747         (HAS_RTM): Likewise.
22748         (COMMON_CPUID_INDEX_7): New enum.
22749
22750 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22751
22752         [BZ #14981]
22753         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22754         size is zero, record memory as freed.
22755
22756 2013-01-03  Andreas Jaeger  <aj@suse.de>
22757
22758         * po/ia.po: Add new Interlingua translation.
22759
22760 2012-01-03  Allan McRae  <allan@archlinux.org>
22761
22762         * locale/programs/localedef.c: Fix description of '--posix' flag.
22763
22764 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22765
22766         * NEWS: Update dates in second copyright notice.
22767         * README: Update copyright dates in example.
22768         * manual/libc.texinfo: Update copyright dates.
22769         * scripts/test-installation.pl: Update copyright date in --version
22770         output.
22771
22772         * hurd/ctty-input.c: Fix copyright notice formatting.
22773         * hurd/ctty-output.c: Likewise.
22774         * hurd/dtable.c: Likewise.
22775         * hurd/hurd-raise.c: Likewise.
22776         * hurd/hurdprio.c: Likewise.
22777         * hurd/msgportdemux.c: Likewise.
22778         * misc/sys/file.h: Likewise.
22779         * misc/sys/ioctl.h: Likewise.
22780         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22781         * sysdeps/mach/hurd/chdir.c: Likewise.
22782         * sysdeps/mach/hurd/fchdir.c: Likewise.
22783         * sysdeps/mach/hurd/rename.c: Likewise.
22784         * sysdeps/mach/hurd/rmdir.c: Likewise.
22785         * sysdeps/mach/hurd/seekdir.c: Likewise.
22786         * sysdeps/mach/hurd/setsid.c: Likewise.
22787         * sysdeps/posix/wait3.c: Likewise.
22788
22789         * All files with FSF copyright notices: Update copyright dates
22790         using scripts/update-copyrights.
22791         * intl/plural.c: Regenerated.
22792         * locale/programs/charmap-kw.h: Likewise.
22793         * locale/programs/locfile-kw.h: Likewise.
22794
22795 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22796
22797         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22798         four values.
22799
22800         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22801         calculation loop and add branch prediction.
22802
22803         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22804         check access beyond bounds of m1np.
22805
22806         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22807         MPTWO.
22808         (__inv): Remove local variable MPTWO to use the global
22809         constant.
22810         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22811         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22812         variable MPTWO.
22813         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22814         MP3HALFS static const.
22815
22816 2013-01-01  David S. Miller  <davem@davemloft.net>
22817
22818         * po/ca.po: Update from translation team.
22819
22820 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22821
22822         * scripts/update-copyrights: New file.
22823         * Makeconfig: Reformat copyright notice.
22824         * ctype/ctype.h: Likewise.
22825         * debug/swprintf_chk.c: Likewise.
22826         * elf/dl-cache.c: Likewise.
22827         * elf/dl-debug.c: Likewise.
22828         * elf/dl-object.c: Likewise.
22829         * grp/initgroups.c: Likewise.
22830         * hurd/Makefile: Likewise.
22831         * hurd/hurd/signal.h: Likewise.
22832         * hurd/hurdfault.c: Likewise.
22833         * hurd/hurdioctl.c: Likewise.
22834         * hurd/hurdlookup.c: Likewise.
22835         * hurd/intr-msg.c: Likewise.
22836         * iconv/gconv_open.c: Likewise.
22837         * libio/swprintf.c: Likewise.
22838         * locale/lc-ctype.c: Likewise.
22839         * locale/nl_langinfo.c: Likewise.
22840         * mach/Machrules: Likewise.
22841         * mach/Makefile: Likewise.
22842         * malloc/obstack.h: Likewise.
22843         * manual/Makefile: Likewise.
22844         * manual/tsort.awk: Likewise.
22845         * misc/bits/stab.def: Likewise.
22846         * nis/nis_print_group_entry.c: Likewise.
22847         * nis/nis_table.c: Likewise.
22848         * nis/nss_compat/compat-pwd.c: Likewise.
22849         * nis/nss_compat/compat-spwd.c: Likewise.
22850         * po/Makefile: Likewise.
22851         * posix/fnmatch.c: Likewise.
22852         * posix/regex.h: Likewise.
22853         * resolv/Makefile: Likewise.
22854         * resolv/nss_dns/dns-network.c: Likewise.
22855         * resolv/res_hconf.c: Likewise.
22856         * scripts/gen-sorted.awk: Likewise.
22857         * soft-fp/soft-fp.h: Likewise.
22858         * stdio-common/printf.h: Likewise.
22859         * stdlib/monetary.h: Likewise.
22860         * stdlib/random.c: Likewise.
22861         * stdlib/random_r.c: Likewise.
22862         * sysdeps/generic/Makefile: Likewise.
22863         * sysdeps/gnu/Makefile: Likewise.
22864         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22865         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22866         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22867         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22868         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22871         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22872         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22873         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22874         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22875         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22876         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22877         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22878         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22879         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22880         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22881         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22882         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22883         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22884         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22885         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22886         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22887         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22888         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22889         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22890         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22891         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22892         * sysdeps/mach/hurd/errnos.awk: Likewise.
22893         * sysdeps/mach/hurd/fork.c: Likewise.
22894         * sysdeps/mach/hurd/getcwd.c: Likewise.
22895         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22896         * sysdeps/mach/hurd/mmap.c: Likewise.
22897         * sysdeps/mach/hurd/utimes.c: Likewise.
22898         * sysdeps/mach/hurd/xmknod.c: Likewise.
22899         * sysdeps/posix/profil.c: Likewise.
22900         * sysdeps/posix/readdir_r.c: Likewise.
22901         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22902         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22903         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22904         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22906         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22907         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22908         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22910         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22911         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22912         * sysdeps/pthread/lio_listio.c: Likewise.
22913         * sysdeps/sparc/dl-procinfo.h: Likewise.
22914         * sysdeps/unix/i386/sysdep.S: Likewise.
22915         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22916         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22917         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22918         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22920         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22921         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22922         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22923         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22924         * sysdeps/wordsize-32/divdi3.c: Likewise.
22925         * time/sys/time.h: Likewise.
22926         * wcsmbs/Makefile: Likewise.
22927
22928 2013-01-01  David S. Miller  <davem@davemloft.net>
22929
22930         * po/fr.po: Update from translation team.
22931
22932         * catgets/gencat.c: Update copyright year.
22933         * csu/version.c: Likewise.
22934         * debug/catchsegv.sh: Likewise.
22935         * debug/pcprofiledump.c: Likewise.
22936         * debug/xtrace.sh: Likewise.
22937         * elf/ldconfig.c: Likewise.
22938         * elf/ldd.bash.in: Likewise.
22939         * elf/pldd.c: Likewise.
22940         * elf/sotruss.ksh: Likewise.
22941         * elf/sprof.c: Likewise.
22942         * iconv/iconv_prog.c: Likewise.
22943         * iconv/iconvconfig.c: Likewise.
22944         * locale/programs/locale.c: Likewise.
22945         * locale/programs/localedef.c: Likewise.
22946         * login/programs/pt_chown.c: Likewise.
22947         * malloc/memusage.sh: Likewise.
22948         * malloc/memusagestat.c: Likewise.
22949         * malloc/mtrace.pl: Likewise.
22950         * nscd/nscd.c: Likewise.
22951         * nss/getent.c: Likewise.
22952         * nss/makedb.c: Likewise.
22953         * posix/getconf.c: Likewise.
22954
22955 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22956
22957         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22958         numbers.
22959
22960 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22961
22962         * math/bits/mathcalls.h (modf): Use __nonnull.
22963
22964 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22965
22966         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22967         (split): Use macro CN instead of the bare value.
22968         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22969         could be used.
22970         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22971         instead of the bare value.
22972         (power1): Likewise.
22973
22974 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22975
22976         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22977         __ATAN_TWOM.
22978         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22979
22980         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22981         their values.
22982         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22983         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22984         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22985         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22986
22987 2012-12-28  Andreas Jaeger  <aj@suse.de>
22988
22989         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22990         values are from Linux 3.7.
22991
22992         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22993         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
22994
22995 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22996
22997         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22998         TRUE case.
22999
23000         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23001         (norm): Likewise.
23002         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23003         variables with preprocessor constants.
23004         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23005         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23006         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23007
23008 2012-12-27  Bruno Haible  <bruno@clisp.org>
23009
23010         [BZ #14317]
23011         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23012         only if needed.
23013
23014 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23015
23016         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23017         and use variable directly.
23018         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23019
23020         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23021         MPONE.
23022         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23023         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23024         variable MPONE.
23025         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23027         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23028         include directive.  Remove local variable MPONE.
23029         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23030         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23031         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23032
23033 2012-12-25  David S. Miller  <davem@davemloft.net>
23034
23035         * version.h (RELEASE): Set to "development".
23036         (VERSION): Set to "2.17.90".
23037         * NEWS: Add 2.18 section.
23038
23039 2012-12-21  David S. Miller  <davem@davemloft.net>
23040
23041         * po/hr.po: Update from translation team.
23042
23043 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23044
23045         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23046
23047 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23048
23049         * NEWS:  Mention new memcpy for MIPS.
23050
23051 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23052
23053         * manual/contrib.texi (Contributors): Spelling correction.
23054
23055 2012-12-15  David S. Miller  <davem@davemloft.net>
23056
23057         * po/ru.po: Update from translation team.
23058
23059 2012-12-13  David S. Miller  <davem@davemloft.net>
23060
23061         * NEWS: Mention IFUNC testsuite enhancements.
23062
23063         * po/pl.po: Update from translation team.
23064         * po/bg.po: Likewise.
23065
23066         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23067         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23068
23069 2012-12-11  David S. Miller  <davem@davemloft.net>
23070
23071         * po/sv.po: Update from translation team.
23072
23073         * po/vi.po: Update from translation team.
23074
23075         * po/cs.po: Update from translation team.
23076
23077         * po/de.po: Update from translation team.
23078         * po/eo.po: Likewise.
23079         * po/nl.po: Likewise.
23080
23081 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23082
23083         [BZ #14246]
23084         * manual/argp.texi (Argp Helper Functions): Move node to follow
23085         Argp Parsing State.
23086
23087         [BZ #14872]
23088         * manual/conf.texi (Limits on File System Capacity): Mention if
23089         terminating null is included in the max size.
23090
23091 2012-12-10  Andreas Jaeger  <aj@suse.de>
23092
23093         * po/cs.po: Update from translation team.
23094
23095 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23096
23097         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23098         void pointer and cast to uintptr_t.
23099         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23100         path.
23101         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23102         * sysdeps/s390/s390-64/memset.S: Likewise.
23103
23104 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23105
23106         [BZ #14833]
23107         * menual/message.texi (Message Translation): Fix typos.
23108         (Helper programs for gettext): Likewise.
23109
23110 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23111
23112         [BZ #14898]
23113         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23114         Change to -1.
23115
23116 2012-12-07  David S. Miller  <davem@davemloft.net>
23117
23118         * po/libc.pot: Update.
23119
23120 2012-12-07  Richard Henderson  <rth@redhat.com>
23121
23122         [BZ #10114]
23123         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23124         normal/normal case to before the switch.
23125         (_FP_DIV): Likewise.
23126
23127 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23128             Mike Frysinger  <vapier@gentoo.org>
23129
23130         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23131         check for __NR_fadvise64_64.
23132
23133 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23134
23135         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23136         0, not just to plain "0" as a statement.
23137         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23138         with cw.
23139
23140 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23141
23142         * NEWS: Use sourceware.org in Bugzilla URL.
23143
23144 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23145
23146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23147         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23148
23149         * stdio-common/tst-put-error.c (do_test): Add newline to the
23150         padded test to ensure flush.
23151
23152 2012-12-05  Jeff Law  <law@redhat.com>
23153
23154         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23155
23156 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23157
23158         * README: Don't refer to ports add-on as distributed separately.
23159         Mention AArch64 in list of systems supported in the ports add-on.
23160
23161         * LICENSES: Add more non-FSF copyright and license notices.
23162
23163         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23164         ((unused)).
23165
23166         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23167
23168         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23169         10000 as width of padded output.
23170
23171 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23172
23173         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23174
23175         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23176         variable LX with __attribute__ ((unused)).
23177         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23178         Likewise.
23179         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23180         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23181         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23182         with __attribute__ ((unused)).
23183
23184 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23185
23186         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23187
23188 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23189
23190         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23191         (CFLAGS-nldbl-acos.c): New variable.
23192         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23193         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23194         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23195         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23196         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23197         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23198         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23199         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23200         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23201         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23202         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23203         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23204         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23205         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23206         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23207         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23208         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23209         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23210         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23211         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23212         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23213         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23214         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23215         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23216         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23217         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23218         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23219         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23220         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23221         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23222         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23223         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23224         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23225         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23226         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23227         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23228         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23229         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23230         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23231         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23232         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23233         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23234         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23235         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23236         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23237         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23238         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23239         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23240         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23241         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23242         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23243         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23244         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23245         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23246         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23247         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23248         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23249         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23250         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23251         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23252         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23253         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23254         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23255         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23256         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23257         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23258         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23259         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23260         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23261         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23262         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23263         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23264         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23265         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23266         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23267         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23268         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23269         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23270         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23271         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23272         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23273         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23274         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23275         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23276         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23277         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23278         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23279         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23280         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23281         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23282         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23283         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23284         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23285         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23286         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23287         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23288         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23289
23290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23291         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23292
23293         [BZ #14914]
23294         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23295         whole low double instead of just low 47 bits when splitting values
23296         into two parts.
23297
23298 2012-12-03  Allan McRae  <allan@archlinux.org>
23299
23300         * manual/stdio.texi (Predefined Printf Handlers): Remove
23301         @hsep and @vsep usage.
23302
23303 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23304
23305         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23306         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23307
23308 2012-12-03  Jeff Law  <law@redhat.com>
23309
23310         * time/sys/time.h (settimeofday): Do not mark TV argument
23311         as __nonnull.
23312
23313 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23314
23315         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23316         when currently writing and seek to current position when not.
23317         * libio/Makefile (tests): Remove bug-fclose1.
23318         * libio/bug-fclose1.c: Delete.
23319
23320 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23321
23322         * manual/arith.texi (feenableexcept): Fix typo.
23323         (fedisableexcept): Likewise.
23324
23325 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23326
23327         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23328         second, differently-typed declaration, rather than a cast.
23329
23330 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23331
23332         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23333         * include/rpc/svc.h: ... here.
23334
23335 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23336
23337         [BZ #13013]
23338         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23339         depending n and resplen2 to catch cases where answer
23340         equals answerp2.
23341
23342 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23343
23344         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23345         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23346
23347 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23348
23349         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23350
23351 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23352
23353         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23354
23355 2012-11-28  Jeff Law  <law@redhat.com>
23356
23357         [BZ #13761]
23358         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23359         dataset_temporary.  Track alloca usage into alloca_used.
23360         If dataset is large allocate and release it via malloc/free.
23361
23362 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23363
23364         [BZ #14197]
23365         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23366
23367 2012-11-28  David S. Miller  <davem@davemloft.net>
23368
23369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23370
23371 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23372
23373         [BZ #14803]
23374         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23375         of pi/2 rounded to nearest to 64 bits.
23376         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23377         nearest to 64 bits.
23378         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23379         bits.
23380
23381 2012-11-28  Jeff Law <law@redhat.com>
23382             Martin Osvald <mosvald@redhat.com>
23383
23384         [BZ #14889]
23385         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23386         * sunrpc/svc.c: Include time.h.
23387         (__svc_accept_failed): New function.
23388         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23389         any reason other than EINTR, call __svc_accept_failed.
23390         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23391         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23392
23393 2012-11-28  Andreas Schwab  <schwab@suse.de>
23394
23395         * scripts/abilist.awk: Also handle indirect functions in .opd
23396         section.
23397
23398 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23399
23400         [BZ #13881]
23401         * sysdeps/x86/fpu/powl_helper.c: New file.
23402         * sysdeps/x86/fpu/Makefile: Likewise.
23403         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23404         (p3): New object.
23405         (__ieee754_powl): Use __powl_helper for finite arguments except
23406         integer exponents below 8.
23407         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23408         (p3): New object.
23409         (__ieee754_powl): Use __powl_helper for finite arguments except
23410         integer exponents below 8.
23411         * math/libm-test.inc (pow_test): Add more tests and enable some
23412         previously disabled tests.
23413         * sysdeps/i386/fpu/libm-test-ulps: Update.
23414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23415
23416 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23417             Carlos O'Donell  <carlos_odonell@mentor.com>
23418
23419         * nss/makedb.c (is_prime): Assert that input is odd and greater
23420         than 4.  Note that fact in a comment too.
23421         (next_prime): Add 4 to input.
23422
23423 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23424
23425         [BZ #11741]
23426         * libio/Makefile (tests): Add test case tst-fwrite-error.
23427         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23428         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23429         * libio/tst-fwrite-error.c: New test case.
23430
23431 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23432
23433         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23434         before casting to void *.
23435         * include/libc-internal.h (__pointer_type): New macro.
23436         (__integer_if_pointer_type_sub): Likewise.
23437         (__integer_if_pointer_type): Likewise.
23438         (cast_to_integer): Likewise.
23439         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23440         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23441         before casting to atomic64_t.
23442         (atomic_exchange_acq): Likewise.
23443         (__arch_exchange_and_add_body): Likewise.
23444         (__arch_add_body): Likewise.
23445         (atomic_add_negative): Likewise.
23446         (atomic_add_zero): Likewise.
23447
23448 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23449
23450         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23451         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23452         (add_fdes): Likewise.
23453         (linear_search_fdes): Likewise.
23454         (binary_search_unencoded_fdes): Likewise.
23455
23456 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23457
23458         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23459
23460 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23461
23462         * configure.in: Autodetect C++ header directories.
23463         * configure: Regenerated.
23464
23465 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23466
23467         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23468
23469 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23470
23471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23472
23473 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23474
23475         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23476         LDBL_MANT_DIG == 106]: Disable some tests.
23477         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23478         Likewise.
23479         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23480         Likewise.
23481
23482         [BZ #14871]
23483         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23484         input for small inputs.  Return +/- pi/2 for large inputs.
23485         * math/libm-test.inc (atan_test): Add more tests.
23486
23487         * sysdeps/generic/unwind-dw2-fde-glibc.c
23488         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23489         __attribute__ ((unused)).
23490
23491         [BZ #14645]
23492         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23493         x * y if x and y are nonzero and z is zero.
23494
23495         [BZ #14811]
23496         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23497         nonzero exponents with absolute value below 0x1p-117 to +/-
23498         0x1p-117.
23499
23500         [BZ #14869]
23501         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23502         up arguments below 2**-450, not just those below 2**-500.
23503         * math/libm-test.inc (hypot_test): Add another test.
23504
23505         [BZ #14868]
23506         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23507         Return a+b for ratio over 2**120, not 2**60.
23508         * math/libm-test.inc (hypot_test): Add another test.
23509
23510         * math/libm-test.inc (clog_test): Use
23511         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23512         (clog10_test): Likewise.
23513
23514         [BZ #6778]
23515         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23516
23517 2012-11-22  Andreas Schwab  <schwab@suse.de>
23518
23519         * sysdeps/i386/fpu/libm-test-ulps: Update.
23520
23521 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23522
23523         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23524         printf output with newline.
23525
23526 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23527
23528         [BZ #14865]
23529         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23530         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23531         -z nodlopen, -z initfirst and -z execstack support.
23532         * configure: Regenerated.
23533
23534         * elf/elf.h (DF_1_NODIRECT): New macro.
23535         (DF_1_IGNMULDEF): Likewise.
23536         (DF_1_NOKSYMS): Likewise.
23537         (DF_1_NOHDR): Likewise.
23538         (DF_1_EDITED): Likewise.
23539         (DF_1_NORELOC): Likewise.
23540         (DF_1_SYMINTPOSE): Likewise.
23541         (DF_1_GLOBAUDIT): Likewise.
23542         (DF_1_SINGLETON): Likewise.
23543         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23544         DT_1_SUPPORTED_MASK bits.
23545         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23546
23547 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23548
23549         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23550
23551 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23552
23553         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23554         macro.
23555
23556         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23557         (sendmmsg): Move declarations...
23558         * socket/sys/socket.h: ... here.
23559         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23560         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23561         include it from...
23562         * socket/recvmmsg.c: ... this new file.
23563         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23564         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23565         definition of __sendmmsg hidden.
23566         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23567         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23568         Move ENOSYS stub into and include it from...
23569         * socket/sendmmsg.c: ... this new file.
23570         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23571         (sysdep_routines): Move recvmmsg and sendmmsg...
23572         * socket/Makefile (routines): ... here.
23573         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23574         (GLIBC_PRIVATE): Add __sendmmsg.
23575         * include/sys/socket.h (__sendmmsg): Add declarations.
23576         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23577         sendmmsg.
23578
23579 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23580
23581         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23582         variable I1 with __attribute__ ((unused)).
23583         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23584
23585 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23586
23587         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23588         DUMMY variables with __attribute__ ((unused)).
23589
23590         * bits/byteswap.h: Include <bits/types.h>.
23591         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23592
23593 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23594
23595         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23596         string_t.  Do not manually set errno.
23597         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23598         length with __strnlen.  Make sure to both set errno and return it on
23599         failure.
23600
23601 2012-11-19  David S. Miller  <davem@davemloft.net>
23602
23603         With help from Joseph Myers.
23604         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23605         very large arguments properly.
23606         * math/libm-test.inc (atan_test): New tests.
23607         (atan2_test): New tests.
23608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23610
23611 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23612
23613         [BZ #14856]
23614         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23615         Define to 3.
23616
23617         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23618         [POSIX] (EADDRNOTAVAIL): Likewise.
23619         [POSIX] (EAFNOSUPPORT): Likewise.
23620         [POSIX] (EALREADY): Likewise.
23621         [POSIX] (ECONNABORTED): Likewise.
23622         [POSIX] (ECONNREFUSED): Likewise.
23623         [POSIX] (ECONNRESET): Likewise.
23624         [POSIX] (EDESTADDRREQ): Likewise.
23625         [POSIX] (EDQUOT): Likewise.
23626         [POSIX] (EHOSTUNREACH): Likewise.
23627         [POSIX] (EIDRM): Likewise.
23628         [POSIX] (EISCONN): Likewise.
23629         [POSIX] (ELOOP): Likewise.
23630         [POSIX] (EMULTIHOP): Likewise.
23631         [POSIX] (ENETDOWN): Likewise.
23632         [POSIX] (ENETUNREACH): Likewise.
23633         [POSIX] (ENOBUFS): Likewise.
23634         [POSIX] (ENODATA): Likewise.
23635         [POSIX] (ENOLINK): Likewise.
23636         [POSIX] (ENOMSG): Likewise.
23637         [POSIX] (ENOPROTOOPT): Likewise.
23638         [POSIX] (ENOSR): Likewise.
23639         [POSIX] (ENOSTR): Likewise.
23640         [POSIX] (ENOTCONN): Likewise.
23641         [POSIX] (ENOTSOCK): Likewise.
23642         [POSIX] (EOPNOTSUPP): Likewise.
23643         [POSIX] (EOVERFLOW): Likewise.
23644         [POSIX] (EPROTO): Likewise.
23645         [POSIX] (EPROTONOSUPPORT): Likewise.
23646         [POSIX] (EPROTOTYPE): Likewise.
23647         [POSIX] (ESTALE): Likewise.
23648         [POSIX] (ETIME): Likewise.
23649         [POSIX] (ETXTBSY): Likewise.
23650         [POSIX] (EWOULDBLOCK): Likewise.
23651         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23652         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23653         [POSIX] (SEEK_CUR): Likewise.
23654         [POSIX] (SEEK_END): Likewise.
23655         [POSIX || UNIX98] (mode_t): Do not require.
23656         [POSIX] (off_t): Likewise.
23657         [POSIX] (pid_t): Likewise.
23658         [POSIX] (sys/stat.h): Do not allow header.
23659         [POSIX] (unistd.h): Likewise.
23660         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23661         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23662         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23663         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23664         require.
23665         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23666         sigevent): Specify elements.
23667         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23668         entry.
23669         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23670         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23671
23672         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23673         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23674         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23675         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23676         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23677         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23678         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23679         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23680         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23681         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23682         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23683         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23684         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23685         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23686         Likewise.
23687         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23688         Likewise.
23689         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23690         Likewise.
23691         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23692         Likewise.
23693         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23694         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23695         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23696         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23697         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23698         Specify lower bound on value.
23699         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23700         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23701         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23702         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23703         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23704         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23705         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23706         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23707         value.
23708         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23709         as optional.
23710         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23711         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23712         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23713         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23714         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23715         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23716         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23717         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23718         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23719         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23720         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23721         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23722         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23723         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23724         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23725         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23726         entry.
23727         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23728         optional.
23729         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23730         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23731         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23732         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23733         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23734         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23735         Likewise.
23736         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23737         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23738         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23739         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23740         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23741         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23742         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23743         as optional.
23744         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23745         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23746         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23747         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23748         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23749         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23750         specify as optional.
23751         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23752         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23753         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23754         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23755         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23756         [XPG3] (NL_LANGMAX): Likewise.
23757         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23758         [POSIX || XPG3] (NL_NMAX): Likewise.
23759         [POSIX || XPG3] (NL_SETMAX): Likewise.
23760         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23761         [XPG3] (NZERO): Likewise.
23762         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23763         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23764         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23765         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23766         (REG_ERANGE): Expect.
23767         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23768         optional-constant.
23769         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23770         Use (void) in prototype.
23771         [POSIX] (*_t): Allow.
23772         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23773         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23774         (WRDE_BADVAL): Expect.
23775
23776         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23777         expect.
23778         [XPG3 || XPG4] (O_RSYNC): Likewise.
23779         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23780         Likewise.
23781         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23782         [XPG3 || XPG4] (sigqueue): Likewise.
23783         [XPG3 || XPG4] (sigtimedwait): Likewise.
23784         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23785         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23786         [XPG3 || XPG4] (vsnprintf): Likewise.
23787         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23788         Likewise.
23789         [XPG3 || XPG4] (blksize_t): Likewise.
23790         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23791         Likewise.
23792         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23793         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23794         [XPG3 || XPG4] (struct itimerspec): Likewise.
23795         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23796         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23797         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23798         [XPG3 || XPG4] (clockid_t): Likewise.
23799         [XPG3 || XPG4] (timer_t): Likewise.
23800         [XPG3 || XPG4] (clock_getres): Likewise.
23801         [XPG3 || XPG4] (clock_gettime): Likewise.
23802         [XPG3 || XPG4] (clock_settime): Likewise.
23803         [XPG3 || XPG4] (nanosleep): Likewise.
23804         [XPG3 || XPG4] (timer_create): Likewise.
23805         [XPG3 || XPG4] (timer_delete): Likewise.
23806         [XPG3 || XPG4] (timer_gettime): Likewise.
23807         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23808         [XPG3 || XPG4] (timer_settime): Likewise.
23809         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23810         [XPG3 || XPG4] (getlogin_r): Likewise.
23811         [XPG3 || XPG4] (pread): Likewise.
23812         [XPG3 || XPG4] (pthread_atfork): Likewise.
23813         [XPG3 || XPG4] (pwrite): Likewise.
23814
23815         [BZ #14835]
23816         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23817         <bits/siginfo.h>.
23818
23819 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23820
23821         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23822         finalizing MALLSTREAM.
23823
23824         * sysdeps/mach/hurd/syncfs.c: New file.
23825
23826 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23827
23828         [BZ #14719]
23829         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23830         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23831         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23832         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23833         (_nss_dns_gethostbyname4_r): Likewise.
23834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23835         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23836
23837 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23838
23839         [BZ #13763]
23840         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23841
23842 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23843
23844         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23845         * elf/cache.c (print_entry): Print ",AArch64" for
23846         FLAG_AARCH64_LIB64
23847
23848         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23849         * elf/cache.c (print_entry): Print ",hard-float" for
23850         FLAG_ARM_LIBHF.
23851
23852 2012-11-18  David S. Miller  <davem@davemloft.net>
23853
23854         With help from Joseph Myers.
23855         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23856         cutoff to 2**-13.
23857         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23858         cutoff to 2**-25.
23859         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23860         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23861         small.
23862         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23863         * math/libm-test.inc (y0_test): New tests.
23864         (y1_test): New tests.
23865         * sysdeps/i386/fpu/libm-test-ulps: Update.
23866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23868
23869 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23870
23871         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23872         64-bit targets.
23873         * configure: Regenerated.
23874
23875 2012-11-17  David S. Miller  <davem@davemloft.net>
23876
23877         [BZ #14811]
23878         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23879         nonzero exponents with absolute value below 0x1p-128 to +/-
23880         0x1p-128.
23881
23882 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23883
23884         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23885
23886         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23887
23888         * posix/getconf-speclist.c: New file.
23889         * posix/posix-envs.def: Likewise.
23890         * posix/confstr.c (START_ENV_GROUP): New macro.
23891         (END_ENV_GROUP): Likewise.
23892         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23893         (KNOWN_PRESENT_ENV_STRING): Likewise.
23894         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23895         (UNKNOWN_ENVIRONMENT): Likewise.
23896         (confstr): Include posix-envs.def instead of handling
23897         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23898         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23899         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23900         (END_ENV_GROUP): Likewise.
23901         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23902         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23903         (UNKNOWN_ENVIRONMENT): Likewise.
23904         (__sysconf): Include posix-envs.def instead of handling associated
23905         cases directly here.
23906         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23907         preprocessing getconf-speclist.c rather than running getconf or
23908         generating empty file.
23909
23910 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23911
23912         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23913
23914 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23915
23916         [BZ #14672]
23917         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23918
23919 2012-11-16  David S. Miller  <davem@davemloft.net>
23920
23921         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23922         smaller than LDBL_EPSILON/2.0L, just return xm1.
23923
23924 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23925
23926         * elf/tst-array1.c (init): Set constructor priority to 1000.
23927         (fini): Set destructor priority to 1000.
23928         * elf/tst-array2dep.c: Likewise.
23929
23930 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23931
23932         [BZ #11741]
23933         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23934         (_IO_new_file_xsputn): Also return EOF if none of the input
23935         data was written when overflow failed.
23936         * libio/iopadn.c (_IO_padn): Likewise.
23937         * libio/iowpadn.c (_IO_wpadn): Likewise.
23938         * stdio-common/tst-put-error.c: Add copyright notice.
23939         (do_test): Add case for printing padded string.
23940         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23941         _IO_padn returned error.
23942         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23943         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23944         return EOF.
23945
23946 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23947
23948         * libio/libioP.h: Add comment note that the references to C++
23949         bits are now obsolete.
23950
23951 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23952
23953         * math/libm-test.inc (check_complex): Use asprintf.
23954
23955 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23956
23957         * debug/pcprofiledump.c (print_version): Update copyright year.
23958         * malloc/memusagestat.c (print_version): Likewise.
23959
23960 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23961
23962         [BZ #14831]
23963         * elf/Makefile (tests): Add tst-audit8.
23964         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23965         ($(objpfx)tst-audit8.out): New target.
23966         (tst-audit8-ENV): New variable.
23967         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23968         audit if l_reloc_result is NULL.
23969         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23970         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23971         * elf/tst-audit8.c: New file.
23972
23973 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23974
23975         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23976         * misc/Makefile (CFLAGS-select.c): Define.
23977         * posix/Makefile (CFLAGS-pause.c): Define.
23978
23979 2012-11-13  David S. Miller  <davem@davemloft.net>
23980
23981         * crypt/Makefile: Move test targets after toplevel Rules
23982         inclusion.  Grab any necessary sysdep routines when linking.
23983         * crypt/md5.c (md5_process_block): Remove define, we will always
23984         name it __md5_process_block.
23985         (md5_finish_ctx): Update md5_process_block call.
23986         (md5_stream): Likewise.
23987         (md5_process_bytes): Likewise.
23988         (md5_process_block): Rename to __md5_process_block and move to ...
23989         * crypt/md5-block.c: ... here.
23990         * crypt/sha256.c (sha256_process_block): Move to ...
23991         * crypt/sha256-block.c: ... here.
23992         * crypt/sha512.c (sha512_process_block): Move to ...
23993         * crypt/sha512-block.c: ... here.
23994         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23995         path.
23996         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23997         * sysdeps/sparc/sparc64/multiarch/Makefile
23998         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23999         crypt subdir.
24000         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24001         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24002         multiarch changes.
24003         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24004         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24005         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24006         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24007         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24008         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24009         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24010         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24011         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24012         file.
24013         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24014         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24015         file.
24016         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24017
24018 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24019
24020         * timezone/tzselect.ksh: Update from tzcode git revision
24021         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24022         * timezone/zdump.c: Likewise.
24023         * timezone/zic.c: Likewise.
24024         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24025         in TZVERSION setting, not $(PKGVERSION).
24026         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24027         REPORT_BUGS_TO settings.
24028
24029         [BZ #14838]
24030         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24031         macro.
24032
24033 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24034
24035         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24036         detection to immediately after _FP_ROUND().
24037         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24038         bits are 0.
24039
24040 2012-11-11  David S. Miller  <davem@davemloft.net>
24041
24042         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24043         inttypes.h
24044         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24045         __close rather than their public counterparts.
24046
24047 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24048
24049         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24050         file.
24051         [UNIX98] (sem_timedwait): Do not expect.
24052         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24053         [XPG4 || UNIX98] (sockatmark): Do not expect.
24054         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24055         (clock_getcpuclockid): Do not expect.
24056         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24057         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24058         Do not expect.
24059         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24060         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24061         [UNIX98] (vwscanf): Likewise.
24062         [UNIX98] (vswscanf): Likewise.
24063
24064 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24065
24066         * timezone/version.h: Remove file.
24067         * timezone/README: Do not refer to version.h.
24068         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24069         $(objpfx)version.h.
24070         ($(objpfx)zdump.o): Likewise.
24071         ($(objpfx)version.h): New target.
24072
24073         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24074         2012i.
24075         * timezone/README: Don't mention modification to tzselect.ksh.
24076         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24077         work on unmodified tzselect.ksh.  Substitute version numbers in
24078         tzselect.ksh.
24079
24080         * Makefile (format-me): Remove.
24081         (INSTALL): Adjust indentation.  Use commands directly instead of
24082         using $(format-me).
24083
24084         * aclocal.m4 (ACX_PKGVERSION): New macro.
24085         (ACX_BUGURL): Likewise.
24086         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24087         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24088         (REPORT_BUGS_TO): Likewise.
24089         * configure: Regenerated.
24090         * config.h.in (PKGVERSION): New macro.
24091         (REPORT_BUGS_TO): Likewise.
24092         * config.make.in (PKGVERSION): New variable.
24093         (PKGVERSION_TEXI): Likewise.
24094         (REPORT_BUGS_TO): Likewise.
24095         (REPORT_BUGS_TEXI): Likewise.
24096         * Makefile (format-me): Use -I$(common-objpfx)manual.
24097         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24098         ($(common-objpfx)manual/%): New target.
24099         (manual/%): Remove target.
24100         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24101         (print_version): Use PKGVERSION.
24102         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24103         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24104         and REPORT_BUGS_TO.
24105         ($(objpfx)xtrace): Likewise.
24106         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24107         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24108         (print_version): Use PKGVERSION.
24109         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24110         (do_version): Use PKGVERSION.
24111         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24112         REPORT_BUGS_TO.
24113         (common-ldd-rewrite): Likewise.
24114         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24115         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24116         (print_version): Use PKGVERSION.
24117         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24118         * elf/pldd.c (argp_program_bug_address): Remove variable.
24119         (more_help): New function.
24120         (argp): Use more_help.
24121         (print_version): Use PKGVERSION.
24122         * elf/sln.c (main): Use PKGVERSION.
24123         (usage): Use REPORT_BUGS_TO.
24124         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24125         (top level): Use PKGVERSION.
24126         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24127         (print_version): Use PKGVERSION.
24128         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24129         (print_version): Use PKGVERSION.
24130         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24131         (print_version): Use PKGVERSION.
24132         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24133         (print_version): Use PKGVERSION.
24134         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24135         (print_version): Use PKGVERSION.
24136         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24137         (print_version): Use PKGVERSION.
24138         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24139         and BUGURL.
24140         ($(objpfx)memusage): Likewise.
24141         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24142         (do_version): Use PKGVERSION.
24143         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24144         (print_version): Use PKGVERSION.
24145         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24146         ($PKGVERSION): New variable.
24147         ($REPORT_BUGS_TO): Likewise.
24148         (usage): Use $REPORT_BUGS_TO.
24149         (top level): Use $PKGVERSION.
24150         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24151         ($(objpfx)pkgvers.texi): New rule.
24152         ($(objpfx)stamp-pkgvers): Likewise.
24153         * manual/install.texi: Include pkgvers.texi.
24154         (--with-pkgversion): Document new configure option.
24155         (--with-bugurl): Likewise.
24156         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24157         than necessarily for this particular distribution.  Use
24158         REPORT_BUGS_TO for where to report bugs.
24159         * INSTALL: Regenerated.
24160         * manual/libc.texinfo: Include pkgvers.texi.
24161         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24162         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24163         (print_version): Use PKGVERSION.
24164         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24165         (print_version): Use PKGVERSION.
24166         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24167         (print_version): Use PKGVERSION.
24168         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24169         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24170         macro.
24171         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24172         (print_version): Use PKGVERSION.
24173         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24174         (print_version): Use PKGVERSION.
24175         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24176         and PKGVERSION.
24177
24178         * timezone/checktab.awk: Update from tzcode 2012i.
24179         * timezone/ialloc.c: Likewise.
24180         * timezone/private.h: Likewise.
24181         * timezone/scheck.c: Likewise.
24182         * timezone/tzfile.h: Likewise.
24183         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24184         (TZVERSION): Hardcode tzcode version number.
24185         * timezone/zdump.c: Update from tzcode 2012i.
24186         * timezone/zic.c: Likewise.
24187         * timezone/version.h: New file.
24188         * timezone/README: Describe version.h.  Update upstream location.
24189
24190         [BZ #14824]
24191         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24192         (mktemp): Enable declaration.
24193         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24194         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24195         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24196         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24197         Likewise.
24198         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24199         Likewise.
24200         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24201         Likewise.
24202         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24203         Likewise.
24204         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24205         Likewise.
24206         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24207         Likewise.
24208
24209         [BZ #14821]
24210         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24211         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24212         for copies of such integer values.
24213         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24214         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24215
24216 2012-11-09  Andreas Jaeger  <aj@suse.de>
24217
24218         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24219         definitions and declarations that are provided by
24220         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24221
24222 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24223
24224         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24225         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24226         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24227         definition.
24228
24229 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24230
24231         * elf/elf.h: Update comment before AArch64 relocations.
24232
24233 2012-11-07  David S. Miller  <davem@davemloft.net>
24234
24235         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24236         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24237         (__start_context): Declare.
24238         (__makecontext_ret): Delete.
24239         (__makecontext): Hook up __start_context instead of
24240         __makecontext_ret.
24241         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24242         (sysdep_routines): Add __start_context when in stdlib.
24243
24244 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24245
24246         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24247         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24248         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24249         hardcoded "nm".
24250         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24251         (READELF): New variable.  Use it instead of hardcoded "readelf".
24252
24253 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24254
24255         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24256         * sysdeps/x86/Makefile: Here.
24257         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24258         * sysdeps/x86/tst-xmmymm.sh: This.
24259
24260 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24261
24262         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24263         expectations.
24264         [UNIX98] (pthread_barrier_t): Do not expect.
24265         [UNIX98] (pthread_barrierattr_t): Likewise.
24266         [UNIX98] (pthread_spinlock_t): Likewise.
24267         [UNIX98] (pthread_barrier_destroy): Likewise.
24268         [UNIX98] (pthread_barrier_init): Likewise.
24269         [UNIX98] (pthread_barrier_wait): Likewise.
24270         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24271         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24272         [UNIX98] (pthread_barrierattr_init): Likewise.
24273         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24274         [UNIX98] (pthread_getcpuclockid): Likewise.
24275         [UNIX98] (pthread_mutex_timedlock): Likewise.
24276         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24277         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24278         [UNIX98] (pthread_sigmask): Likewise.
24279         [UNIX98] (pthread_spin_destroy): Likewise.
24280         [UNIX98] (pthread_spin_init): Likewise.
24281         [UNIX98] (pthread_spin_lock): Likewise.
24282         [UNIX98] (pthread_spin_trylock): Likewise.
24283         [UNIX98] (pthread_spin_unlock): Likewise.
24284         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24285         Do not expect.
24286         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24287         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24288         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24289         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24290         [XPG3 || XPG4] (pthread_key_t): Likewise.
24291         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24292         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24293         [XPG3 || XPG4] (pthread_once_t): Likewise.
24294         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24295         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24296         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24297         [XPG3 || XPG4] (pthread_t): Likewise.
24298
24299         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24300         not expect.
24301         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24302
24303         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24304         Change function return type to int.
24305
24306         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24307         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24308         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24309         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24310         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24311         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24312         [!POSIX] (posix_madvise): Likewise.
24313         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24314         && !UNIX98].
24315         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24316         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24317         (mode_t): Likewise.
24318         (posix_mem_offset): Likewise.
24319         (posix_typed_mem_get_info): Likewise.
24320         (posix_typed_mem_open): Likewise.
24321
24322         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24323         Change condition to [XOPEN2K8].
24324
24325         * conform/conformtest.pl: Preprocess allow-header data with -x c
24326         instead of from stdin.
24327         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24328         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24329         [C99-based standards] (cerfc): Likewise.
24330         [C99-based standards] (cexp2): Likewise.
24331         [C99-based standards] (cexpm1): Likewise.
24332         [C99-based standards] (clog10): Likewise.
24333         [C99-based standards] (clog1p): Likewise.
24334         [C99-based standards] (clog2): Likewise.
24335         [C99-based standards] (clgamma): Likewise.
24336         [C99-based standards] (ctgamma): Likewise.
24337         [C99-based standards] (cerff): Likewise.
24338         [C99-based standards] (cerfcf): Likewise.
24339         [C99-based standards] (cexp2f): Likewise.
24340         [C99-based standards] (cexpm1f): Likewise.
24341         [C99-based standards] (clog10f): Likewise.
24342         [C99-based standards] (clog1pf): Likewise.
24343         [C99-based standards] (clog2f): Likewise.
24344         [C99-based standards] (clgammaf): Likewise.
24345         [C99-based standards] (ctgammaf): Likewise.
24346         [C99-based standards] (cerfl): Likewise.
24347         [C99-based standards] (cerfcl): Likewise.
24348         [C99-based standards] (cexp2l): Likewise.
24349         [C99-based standards] (cexpm1l): Likewise.
24350         [C99-based standards] (clog10l): Likewise.
24351         [C99-based standards] (clog1pl): Likewise.
24352         [C99-based standards] (clog2l): Likewise.
24353         [C99-based standards] (clgammal): Likewise.
24354         [C99-based standards] (ctgammal): Likewise.
24355         * conform/data/inttypes.h-data [C99-based standards]: Include
24356         stdint.h-data.  Remove all expectations for stdint.h contents.
24357         [C99-based standards] (PRI*): Do not allow.
24358         [C99-based standards] (SCN*): Likewise.
24359         [C99-based standards] (*_t): Likewise.
24360         [C99-based-standards] (PRId8): Expect macro.
24361         [C99-based-standards] (PRIi8): Likewise.
24362         [C99-based-standards] (PRIo8): Likewise.
24363         [C99-based-standards] (PRIu8): Likewise.
24364         [C99-based-standards] (PRIx8): Likewise.
24365         [C99-based-standards] (PRIX8): Likewise.
24366         [C99-based-standards] (SCNd8): Likewise.
24367         [C99-based-standards] (SCNi8): Likewise.
24368         [C99-based-standards] (SCNo8): Likewise.
24369         [C99-based-standards] (SCNu8): Likewise.
24370         [C99-based-standards] (SCNx8): Likewise.
24371         [C99-based-standards] (PRIdLEAST8): Likewise.
24372         [C99-based-standards] (PRIiLEAST8): Likewise.
24373         [C99-based-standards] (PRIoLEAST8): Likewise.
24374         [C99-based-standards] (PRIuLEAST8): Likewise.
24375         [C99-based-standards] (PRIxLEAST8): Likewise.
24376         [C99-based-standards] (PRIXLEAST8): Likewise.
24377         [C99-based-standards] (SCNdLEAST8): Likewise.
24378         [C99-based-standards] (SCNiLEAST8): Likewise.
24379         [C99-based-standards] (SCNoLEAST8): Likewise.
24380         [C99-based-standards] (SCNuLEAST8): Likewise.
24381         [C99-based-standards] (SCNxLEAST8): Likewise.
24382         [C99-based-standards] (PRIdFAST8): Likewise.
24383         [C99-based-standards] (PRIiFAST8): Likewise.
24384         [C99-based-standards] (PRIoFAST8): Likewise.
24385         [C99-based-standards] (PRIuFAST8): Likewise.
24386         [C99-based-standards] (PRIxFAST8): Likewise.
24387         [C99-based-standards] (PRIXFAST8): Likewise.
24388         [C99-based-standards] (SCNdFAST8): Likewise.
24389         [C99-based-standards] (SCNiFAST8): Likewise.
24390         [C99-based-standards] (SCNoFAST8): Likewise.
24391         [C99-based-standards] (SCNuFAST8): Likewise.
24392         [C99-based-standards] (SCNxFAST8): Likewise.
24393         [C99-based-standards] (PRId16): Likewise.
24394         [C99-based-standards] (PRIi16): Likewise.
24395         [C99-based-standards] (PRIo16): Likewise.
24396         [C99-based-standards] (PRIu16): Likewise.
24397         [C99-based-standards] (PRIx16): Likewise.
24398         [C99-based-standards] (PRIX16): Likewise.
24399         [C99-based-standards] (SCNd16): Likewise.
24400         [C99-based-standards] (SCNi16): Likewise.
24401         [C99-based-standards] (SCNo16): Likewise.
24402         [C99-based-standards] (SCNu16): Likewise.
24403         [C99-based-standards] (SCNx16): Likewise.
24404         [C99-based-standards] (PRIdLEAST16): Likewise.
24405         [C99-based-standards] (PRIiLEAST16): Likewise.
24406         [C99-based-standards] (PRIoLEAST16): Likewise.
24407         [C99-based-standards] (PRIuLEAST16): Likewise.
24408         [C99-based-standards] (PRIxLEAST16): Likewise.
24409         [C99-based-standards] (PRIXLEAST16): Likewise.
24410         [C99-based-standards] (SCNdLEAST16): Likewise.
24411         [C99-based-standards] (SCNiLEAST16): Likewise.
24412         [C99-based-standards] (SCNoLEAST16): Likewise.
24413         [C99-based-standards] (SCNuLEAST16): Likewise.
24414         [C99-based-standards] (SCNxLEAST16): Likewise.
24415         [C99-based-standards] (PRIdFAST16): Likewise.
24416         [C99-based-standards] (PRIiFAST16): Likewise.
24417         [C99-based-standards] (PRIoFAST16): Likewise.
24418         [C99-based-standards] (PRIuFAST16): Likewise.
24419         [C99-based-standards] (PRIxFAST16): Likewise.
24420         [C99-based-standards] (PRIXFAST16): Likewise.
24421         [C99-based-standards] (SCNdFAST16): Likewise.
24422         [C99-based-standards] (SCNiFAST16): Likewise.
24423         [C99-based-standards] (SCNoFAST16): Likewise.
24424         [C99-based-standards] (SCNuFAST16): Likewise.
24425         [C99-based-standards] (SCNxFAST16): Likewise.
24426         [C99-based-standards] (PRId32): Likewise.
24427         [C99-based-standards] (PRIi32): Likewise.
24428         [C99-based-standards] (PRIo32): Likewise.
24429         [C99-based-standards] (PRIu32): Likewise.
24430         [C99-based-standards] (PRIx32): Likewise.
24431         [C99-based-standards] (PRIX32): Likewise.
24432         [C99-based-standards] (SCNd32): Likewise.
24433         [C99-based-standards] (SCNi32): Likewise.
24434         [C99-based-standards] (SCNo32): Likewise.
24435         [C99-based-standards] (SCNu32): Likewise.
24436         [C99-based-standards] (SCNx32): Likewise.
24437         [C99-based-standards] (PRIdLEAST32): Likewise.
24438         [C99-based-standards] (PRIiLEAST32): Likewise.
24439         [C99-based-standards] (PRIoLEAST32): Likewise.
24440         [C99-based-standards] (PRIuLEAST32): Likewise.
24441         [C99-based-standards] (PRIxLEAST32): Likewise.
24442         [C99-based-standards] (PRIXLEAST32): Likewise.
24443         [C99-based-standards] (SCNdLEAST32): Likewise.
24444         [C99-based-standards] (SCNiLEAST32): Likewise.
24445         [C99-based-standards] (SCNoLEAST32): Likewise.
24446         [C99-based-standards] (SCNuLEAST32): Likewise.
24447         [C99-based-standards] (SCNxLEAST32): Likewise.
24448         [C99-based-standards] (PRIdFAST32): Likewise.
24449         [C99-based-standards] (PRIiFAST32): Likewise.
24450         [C99-based-standards] (PRIoFAST32): Likewise.
24451         [C99-based-standards] (PRIuFAST32): Likewise.
24452         [C99-based-standards] (PRIxFAST32): Likewise.
24453         [C99-based-standards] (PRIXFAST32): Likewise.
24454         [C99-based-standards] (SCNdFAST32): Likewise.
24455         [C99-based-standards] (SCNiFAST32): Likewise.
24456         [C99-based-standards] (SCNoFAST32): Likewise.
24457         [C99-based-standards] (SCNuFAST32): Likewise.
24458         [C99-based-standards] (SCNxFAST32): Likewise.
24459         [C99-based-standards] (PRId64): Likewise.
24460         [C99-based-standards] (PRIi64): Likewise.
24461         [C99-based-standards] (PRIo64): Likewise.
24462         [C99-based-standards] (PRIu64): Likewise.
24463         [C99-based-standards] (PRIx64): Likewise.
24464         [C99-based-standards] (PRIX64): Likewise.
24465         [C99-based-standards] (SCNd64): Likewise.
24466         [C99-based-standards] (SCNi64): Likewise.
24467         [C99-based-standards] (SCNo64): Likewise.
24468         [C99-based-standards] (SCNu64): Likewise.
24469         [C99-based-standards] (SCNx64): Likewise.
24470         [C99-based-standards] (PRIdLEAST64): Likewise.
24471         [C99-based-standards] (PRIiLEAST64): Likewise.
24472         [C99-based-standards] (PRIoLEAST64): Likewise.
24473         [C99-based-standards] (PRIuLEAST64): Likewise.
24474         [C99-based-standards] (PRIxLEAST64): Likewise.
24475         [C99-based-standards] (PRIXLEAST64): Likewise.
24476         [C99-based-standards] (SCNdLEAST64): Likewise.
24477         [C99-based-standards] (SCNiLEAST64): Likewise.
24478         [C99-based-standards] (SCNoLEAST64): Likewise.
24479         [C99-based-standards] (SCNuLEAST64): Likewise.
24480         [C99-based-standards] (SCNxLEAST64): Likewise.
24481         [C99-based-standards] (PRIdFAST64): Likewise.
24482         [C99-based-standards] (PRIiFAST64): Likewise.
24483         [C99-based-standards] (PRIoFAST64): Likewise.
24484         [C99-based-standards] (PRIuFAST64): Likewise.
24485         [C99-based-standards] (PRIxFAST64): Likewise.
24486         [C99-based-standards] (PRIXFAST64): Likewise.
24487         [C99-based-standards] (SCNdFAST64): Likewise.
24488         [C99-based-standards] (SCNiFAST64): Likewise.
24489         [C99-based-standards] (SCNoFAST64): Likewise.
24490         [C99-based-standards] (SCNuFAST64): Likewise.
24491         [C99-based-standards] (SCNxFAST64): Likewise.
24492         [C99-based-standards] (PRIdMAX): Likewise.
24493         [C99-based-standards] (PRIiMAX): Likewise.
24494         [C99-based-standards] (PRIoMAX): Likewise.
24495         [C99-based-standards] (PRIuMAX): Likewise.
24496         [C99-based-standards] (PRIxMAX): Likewise.
24497         [C99-based-standards] (PRIXMAX): Likewise.
24498         [C99-based-standards] (SCNdMAX): Likewise.
24499         [C99-based-standards] (SCNiMAX): Likewise.
24500         [C99-based-standards] (SCNoMAX): Likewise.
24501         [C99-based-standards] (SCNuMAX): Likewise.
24502         [C99-based-standards] (SCNxMAX): Likewise.
24503         [C99-based-standards] (PRIdPTR): Likewise.
24504         [C99-based-standards] (PRIiPTR): Likewise.
24505         [C99-based-standards] (PRIoPTR): Likewise.
24506         [C99-based-standards] (PRIuPTR): Likewise.
24507         [C99-based-standards] (PRIxPTR): Likewise.
24508         [C99-based-standards] (PRIXPTR): Likewise.
24509         [C99-based-standards] (SCNdPTR): Likewise.
24510         [C99-based-standards] (SCNiPTR): Likewise.
24511         [C99-based-standards] (SCNoPTR): Likewise.
24512         [C99-based-standards] (SCNuPTR): Likewise.
24513         [C99-based-standards] (SCNxPTR): Likewise.
24514         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24515         allow.
24516         * conform/data/stdint.h-data: Update comments to clarify
24517         requirements.
24518         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24519         type.
24520         [C99-based standards] (INT8_MAX): Likewise.
24521         [C99-based standards] (INT16_MIN): Likewise.
24522         [C99-based standards] (INT16_MAX): Likewise.
24523         [C99-based standards] (INT32_MIN): Likewise.
24524         [C99-based standards] (INT32_MAX): Likewise.
24525         [C99-based standards] (INT64_MIN): Likewise.
24526         [C99-based standards] (INT64_MAX): Likewise.
24527         [C99-based standards] (UINT8_MAX): Likewise.
24528         [C99-based standards] (UINT16_MAX): Likewise.
24529         [C99-based standards] (UINT32_MAX): Likewise.
24530         [C99-based standards] (UINT64_MAX): Likewise.
24531         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24532         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24533         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24534         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24535         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24536         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24537         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24538         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24539         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24540         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24541         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24542         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24543         [C99-based standards] (INT_FAST8_MIN): Likewise.
24544         [C99-based standards] (INT_FAST8_MAX): Likewise.
24545         [C99-based standards] (INT_FAST16_MIN): Likewise.
24546         [C99-based standards] (INT_FAST16_MAX): Likewise.
24547         [C99-based standards] (INT_FAST32_MIN): Likewise.
24548         [C99-based standards] (INT_FAST32_MAX): Likewise.
24549         [C99-based standards] (INT_FAST64_MIN): Likewise.
24550         [C99-based standards] (INT_FAST64_MAX): Likewise.
24551         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24552         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24553         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24554         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24555         [C99-based standards] (INTPTR_MIN): Likewise.
24556         [C99-based standards] (INTPTR_MAX): Likewise.
24557         [C99-based standards] (UINTPTR_MAX): Likewise.
24558         [C99-based standards] (INTMAX_MIN): Likewise.
24559         [C99-based standards] (INTMAX_MAX): Likewise.
24560         [C99-based standards] (UINTMAX_MAX): Likewise.
24561         [C99-based standards] (PTRDIFF_MIN): Likewise.
24562         [C99-based standards] (PTRDIFF_MAX): Likewise.
24563         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24564         [C99-based standards] (SIZE_MAX): Likewise.
24565         [C99-based standards] (WCHAR_MAX): Likewise.
24566         [C99-based standards] (WINT_MAX): Likewise.
24567         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24568         constraint on value.
24569         [C99-based standards] (WCHAR_MIN): Likewise.
24570         [C99-based standards] (WINT_MIN): Likewise.
24571         [C99-based standards] (*_t): Allow.
24572         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24573         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24574         Include math.h-data and complex.h-data.  Remove all expectations
24575         of math.h and complex.h contents.
24576         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24577         at end of line.
24578         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24579         (struct tm): Expect tag.
24580         [C99-based-standards] (wcstof): Expect function.
24581         [C99-based-standards] (wcstold): Likewise.
24582         [C99-based-standards] (wcstoll): Likewise.
24583         [C99-based-standards] (wcstoull): Likewise.
24584         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24585         macro-int-constant.  Specify type.
24586         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24587         constraint on value.
24588         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24589         Specify type.
24590         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24591         Specify value.
24592         [ISO C standards]: Do not allow headers.
24593         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24594         wcs[abcdefghijklmnopqrstuvwxyz]*.
24595         [ISO C standards] (*_t): Do not allow.
24596         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24597         Expect function.
24598         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24599         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24600         Specify type.
24601         [ISO C standards]: Do not allow headers.
24602         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24603         is[abcdefghijklmnopqrstuvwxyz]*.
24604         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24605         to[abcdefghijklmnopqrstuvwxyz]*.
24606         [ISO C standards] (*_t): Do not allow.
24607         * conform/data/stdalign.h-data: New file.
24608         * conform/data/stdbool.h-data: Likewise.
24609         * conform/data/stdnoreturn.h-data: Likewise.
24610
24611 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24612
24613         [BZ #14815]
24614         * manual/filesys.texi (Directory Entries): Typo fix.
24615         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24616
24617 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24618
24619         * elf/elf.h (EM_AARCH64): New macro.
24620         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24621         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24622         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24623         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24624         (R_AARCH64_TLSDESC): Likewise.
24625         (NT_ARM_TLS): Likewise.
24626         (NT_ARM_HW_BREAK): Likewise.
24627         (NT_ARM_HW_WATCH): Likewise.
24628
24629 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24630
24631         [BZ #14811]
24632         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24633         (__ieee754_powl): Saturate nonzero exponents with absolute value
24634         below 0x1p-79 to +/- 0x1p-79.
24635         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24636         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24637         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24638         nonzero exponents with absolute value below 0x1p-32 to +/-
24639         0x1p-32.
24640         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24641         (__ieee754_powl): Saturate nonzero exponents with absolute value
24642         below 0x1p-79 to +/- 0x1p-79.
24643         * math/libm-test.inc (pow_test): Add more tests.
24644
24645 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24646
24647         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24648         _dl_s390_cap_flags with kernel. Increase string length.
24649         (_dl_s390_platforms): Add z196 and zEC12.
24650
24651 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24652
24653         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24654         Change XOPEN21K to XOPEN2K.
24655
24656 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24657
24658         * string/memmove.c: Use memcpy when possible.
24659
24660 2012-11-06  Andreas Jaeger  <aj@suse.de>
24661
24662         * po/eo.po: Update from translation team.
24663
24664 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24665
24666         [BZ #14793]
24667         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24668         exponent and small x and y exponents, scale x or y up.  Increase
24669         by 2 the exponent used in scaling up.
24670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24672         * math/libm-test.inc (fma_test): Add more tests.
24673         (fma_test_towardzero): Likewise.
24674         (fma_test_downward): Likewise.
24675         (fma_test_upward): Likewise.
24676
24677 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24678
24679         [BZ #14805]
24680         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24681         fenv_t *.
24682
24683         [BZ #14801]
24684         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24685         namespace for names of struct fields.
24686         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24687         fenv_t fields.
24688         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24689         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24690
24691 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24692
24693         [BZ #3665]
24694         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24695
24696 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24697
24698         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24699         PTR_DEMANGLE.
24700
24701         [BZ #5246]
24702         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24703         PTR_DEMANGLE.
24704
24705 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24706
24707         [BZ #14797]
24708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24709         definitely overflow as x * y not x * y + z.
24710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24712         * math/libm-test.inc (fma_test): Add more tests.
24713         (fma_test_towardzero): Likewise.
24714         (fma_test_downward): Likewise.
24715         (fma_test_upward): Likewise.
24716
24717 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24718
24719         [BZ #157]
24720
24721         * include/stub-tag.h: Remove file.
24722         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24723         '#include' of it.
24724         * manual/maint.texi (Porting): Don't reference it.
24725         * Makerules ($(objpfx)stubs): Likewise.
24726         * dirent/closedir.c: Don't include <stub-tag.h>.
24727         * dirent/dirfd.c: Likewise.
24728         * dirent/fdopendir.c: Likewise.
24729         * dirent/getdents.c: Likewise.
24730         * dirent/getdents64.c: Likewise.
24731         * dirent/opendir.c: Likewise.
24732         * dirent/readdir.c: Likewise.
24733         * dirent/readdir64.c: Likewise.
24734         * dirent/readdir64_r.c: Likewise.
24735         * dirent/readdir_r.c: Likewise.
24736         * dirent/rewinddir.c: Likewise.
24737         * dirent/seekdir.c: Likewise.
24738         * dirent/telldir.c: Likewise.
24739         * gmon/profil.c: Likewise.
24740         * grp/setgroups.c: Likewise.
24741         * inet/if_index.c: Likewise.
24742         * io/access.c: Likewise.
24743         * io/chdir.c: Likewise.
24744         * io/chmod.c: Likewise.
24745         * io/chown.c: Likewise.
24746         * io/close.c: Likewise.
24747         * io/dup.c: Likewise.
24748         * io/dup2.c: Likewise.
24749         * io/dup3.c: Likewise.
24750         * io/euidaccess.c: Likewise.
24751         * io/faccessat.c: Likewise.
24752         * io/fchdir.c: Likewise.
24753         * io/fchmod.c: Likewise.
24754         * io/fchmodat.c: Likewise.
24755         * io/fchown.c: Likewise.
24756         * io/fchownat.c: Likewise.
24757         * io/fcntl.c: Likewise.
24758         * io/flock.c: Likewise.
24759         * io/fstatfs.c: Likewise.
24760         * io/fstatfs64.c: Likewise.
24761         * io/fstatvfs.c: Likewise.
24762         * io/fstatvfs64.c: Likewise.
24763         * io/futimens.c: Likewise.
24764         * io/fxstat.c: Likewise.
24765         * io/fxstat64.c: Likewise.
24766         * io/fxstatat.c: Likewise.
24767         * io/fxstatat64.c: Likewise.
24768         * io/getcwd.c: Likewise.
24769         * io/isatty.c: Likewise.
24770         * io/lchmod.c: Likewise.
24771         * io/lchown.c: Likewise.
24772         * io/link.c: Likewise.
24773         * io/linkat.c: Likewise.
24774         * io/lseek.c: Likewise.
24775         * io/lseek64.c: Likewise.
24776         * io/lxstat64.c: Likewise.
24777         * io/mkdir.c: Likewise.
24778         * io/mkdirat.c: Likewise.
24779         * io/mkfifo.c: Likewise.
24780         * io/mkfifoat.c: Likewise.
24781         * io/open.c: Likewise.
24782         * io/open64.c: Likewise.
24783         * io/openat.c: Likewise.
24784         * io/openat64.c: Likewise.
24785         * io/pipe.c: Likewise.
24786         * io/pipe2.c: Likewise.
24787         * io/poll.c: Likewise.
24788         * io/posix_fadvise.c: Likewise.
24789         * io/posix_fadvise64.c: Likewise.
24790         * io/posix_fallocate.c: Likewise.
24791         * io/posix_fallocate64.c: Likewise.
24792         * io/read.c: Likewise.
24793         * io/readlink.c: Likewise.
24794         * io/readlinkat.c: Likewise.
24795         * io/rmdir.c: Likewise.
24796         * io/sendfile.c: Likewise.
24797         * io/sendfile64.c: Likewise.
24798         * io/statfs.c: Likewise.
24799         * io/statfs64.c: Likewise.
24800         * io/statvfs.c: Likewise.
24801         * io/statvfs64.c: Likewise.
24802         * io/symlink.c: Likewise.
24803         * io/symlinkat.c: Likewise.
24804         * io/ttyname.c: Likewise.
24805         * io/ttyname_r.c: Likewise.
24806         * io/umask.c: Likewise.
24807         * io/unlink.c: Likewise.
24808         * io/unlinkat.c: Likewise.
24809         * io/utime.c: Likewise.
24810         * io/utimensat.c: Likewise.
24811         * io/write.c: Likewise.
24812         * io/xmknod.c: Likewise.
24813         * io/xmknodat.c: Likewise.
24814         * io/xstat.c: Likewise.
24815         * io/xstat64.c: Likewise.
24816         * login/getpt.c: Likewise.
24817         * login/grantpt.c: Likewise.
24818         * login/unlockpt.c: Likewise.
24819         * math/e_acoshl.c: Likewise.
24820         * math/e_acosl.c: Likewise.
24821         * math/e_asinl.c: Likewise.
24822         * math/e_atan2l.c: Likewise.
24823         * math/e_atanhl.c: Likewise.
24824         * math/e_coshl.c: Likewise.
24825         * math/e_expl.c: Likewise.
24826         * math/e_fmodl.c: Likewise.
24827         * math/e_gammal_r.c: Likewise.
24828         * math/e_hypotl.c: Likewise.
24829         * math/e_j0l.c: Likewise.
24830         * math/e_j1l.c: Likewise.
24831         * math/e_jnl.c: Likewise.
24832         * math/e_lgammal_r.c: Likewise.
24833         * math/e_log10l.c: Likewise.
24834         * math/e_log2l.c: Likewise.
24835         * math/e_logl.c: Likewise.
24836         * math/e_powl.c: Likewise.
24837         * math/e_rem_pio2l.c: Likewise.
24838         * math/e_sinhl.c: Likewise.
24839         * math/e_sqrtl.c: Likewise.
24840         * math/fclrexcpt.c: Likewise.
24841         * math/fedisblxcpt.c: Likewise.
24842         * math/feenablxcpt.c: Likewise.
24843         * math/fegetenv.c: Likewise.
24844         * math/fegetexcept.c: Likewise.
24845         * math/fegetround.c: Likewise.
24846         * math/feholdexcpt.c: Likewise.
24847         * math/fesetenv.c: Likewise.
24848         * math/fesetround.c: Likewise.
24849         * math/feupdateenv.c: Likewise.
24850         * math/fgetexcptflg.c: Likewise.
24851         * math/fraiseexcpt.c: Likewise.
24852         * math/fsetexcptflg.c: Likewise.
24853         * math/ftestexcept.c: Likewise.
24854         * math/k_cosl.c: Likewise.
24855         * math/k_rem_pio2l.c: Likewise.
24856         * math/k_sinl.c: Likewise.
24857         * math/k_tanl.c: Likewise.
24858         * math/s_asinhl.c: Likewise.
24859         * math/s_atanl.c: Likewise.
24860         * math/s_cbrtl.c: Likewise.
24861         * math/s_erfl.c: Likewise.
24862         * math/s_expm1l.c: Likewise.
24863         * math/s_log1pl.c: Likewise.
24864         * math/s_tanhl.c: Likewise.
24865         * misc/acct.c: Likewise.
24866         * misc/brk.c: Likewise.
24867         * misc/chflags.c: Likewise.
24868         * misc/chroot.c: Likewise.
24869         * misc/fchflags.c: Likewise.
24870         * misc/fgetxattr.c: Likewise.
24871         * misc/flistxattr.c: Likewise.
24872         * misc/fremovexattr.c: Likewise.
24873         * misc/fsetxattr.c: Likewise.
24874         * misc/fsync.c: Likewise.
24875         * misc/ftruncate.c: Likewise.
24876         * misc/futimes.c: Likewise.
24877         * misc/futimesat.c: Likewise.
24878         * misc/getdomain.c: Likewise.
24879         * misc/getdtsz.c: Likewise.
24880         * misc/gethostid.c: Likewise.
24881         * misc/gethostname.c: Likewise.
24882         * misc/getloadavg.c: Likewise.
24883         * misc/getpagesize.c: Likewise.
24884         * misc/getsysstats.c: Likewise.
24885         * misc/getxattr.c: Likewise.
24886         * misc/gtty.c: Likewise.
24887         * misc/ioctl.c: Likewise.
24888         * misc/lgetxattr.c: Likewise.
24889         * misc/listxattr.c: Likewise.
24890         * misc/llistxattr.c: Likewise.
24891         * misc/lremovexattr.c: Likewise.
24892         * misc/lsetxattr.c: Likewise.
24893         * misc/lutimes.c: Likewise.
24894         * misc/madvise.c: Likewise.
24895         * misc/mincore.c: Likewise.
24896         * misc/mlock.c: Likewise.
24897         * misc/mlockall.c: Likewise.
24898         * misc/mmap.c: Likewise.
24899         * misc/mprotect.c: Likewise.
24900         * misc/msync.c: Likewise.
24901         * misc/munlock.c: Likewise.
24902         * misc/munlockall.c: Likewise.
24903         * misc/munmap.c: Likewise.
24904         * misc/preadv.c: Likewise.
24905         * misc/preadv64.c: Likewise.
24906         * misc/ptrace.c: Likewise.
24907         * misc/pwritev.c: Likewise.
24908         * misc/pwritev64.c: Likewise.
24909         * misc/readv.c: Likewise.
24910         * misc/reboot.c: Likewise.
24911         * misc/remap_file_pages.c: Likewise.
24912         * misc/removexattr.c: Likewise.
24913         * misc/revoke.c: Likewise.
24914         * misc/select.c: Likewise.
24915         * misc/setdomain.c: Likewise.
24916         * misc/setegid.c: Likewise.
24917         * misc/seteuid.c: Likewise.
24918         * misc/sethostid.c: Likewise.
24919         * misc/sethostname.c: Likewise.
24920         * misc/setregid.c: Likewise.
24921         * misc/setreuid.c: Likewise.
24922         * misc/setxattr.c: Likewise.
24923         * misc/sstk.c: Likewise.
24924         * misc/stty.c: Likewise.
24925         * misc/swapoff.c: Likewise.
24926         * misc/swapon.c: Likewise.
24927         * misc/sync.c: Likewise.
24928         * misc/syncfs.c: Likewise.
24929         * misc/syscall.c: Likewise.
24930         * misc/truncate.c: Likewise.
24931         * misc/ualarm.c: Likewise.
24932         * misc/usleep.c: Likewise.
24933         * misc/ustat.c: Likewise.
24934         * misc/utimes.c: Likewise.
24935         * misc/vhangup.c: Likewise.
24936         * misc/writev.c: Likewise.
24937         * posix/_exit.c: Likewise.
24938         * posix/alarm.c: Likewise.
24939         * posix/execve.c: Likewise.
24940         * posix/fexecve.c: Likewise.
24941         * posix/fork.c: Likewise.
24942         * posix/fpathconf.c: Likewise.
24943         * posix/getaddrinfo.c: Likewise.
24944         * posix/getegid.c: Likewise.
24945         * posix/geteuid.c: Likewise.
24946         * posix/getgid.c: Likewise.
24947         * posix/getgroups.c: Likewise.
24948         * posix/getlogin.c: Likewise.
24949         * posix/getlogin_r.c: Likewise.
24950         * posix/getpgid.c: Likewise.
24951         * posix/getpid.c: Likewise.
24952         * posix/getppid.c: Likewise.
24953         * posix/getresgid.c: Likewise.
24954         * posix/getresuid.c: Likewise.
24955         * posix/getsid.c: Likewise.
24956         * posix/getuid.c: Likewise.
24957         * posix/glob64.c: Likewise.
24958         * posix/nanosleep.c: Likewise.
24959         * posix/pathconf.c: Likewise.
24960         * posix/pause.c: Likewise.
24961         * posix/posix_madvise.c: Likewise.
24962         * posix/pread.c: Likewise.
24963         * posix/pread64.c: Likewise.
24964         * posix/pwrite.c: Likewise.
24965         * posix/pwrite64.c: Likewise.
24966         * posix/sched_getaffinity.c: Likewise.
24967         * posix/sched_getp.c: Likewise.
24968         * posix/sched_gets.c: Likewise.
24969         * posix/sched_primax.c: Likewise.
24970         * posix/sched_primin.c: Likewise.
24971         * posix/sched_rr_gi.c: Likewise.
24972         * posix/sched_setaffinity.c: Likewise.
24973         * posix/sched_setp.c: Likewise.
24974         * posix/sched_sets.c: Likewise.
24975         * posix/sched_yield.c: Likewise.
24976         * posix/setgid.c: Likewise.
24977         * posix/setlogin.c: Likewise.
24978         * posix/setpgid.c: Likewise.
24979         * posix/setresgid.c: Likewise.
24980         * posix/setresuid.c: Likewise.
24981         * posix/setsid.c: Likewise.
24982         * posix/setuid.c: Likewise.
24983         * posix/sleep.c: Likewise.
24984         * posix/spawni.c: Likewise.
24985         * posix/sysconf.c: Likewise.
24986         * posix/times.c: Likewise.
24987         * posix/wait.c: Likewise.
24988         * posix/wait3.c: Likewise.
24989         * posix/wait4.c: Likewise.
24990         * posix/waitpid.c: Likewise.
24991         * resolv/gai_sigqueue.c: Likewise.
24992         * resource/getpriority.c: Likewise.
24993         * resource/getrlimit.c: Likewise.
24994         * resource/getrusage.c: Likewise.
24995         * resource/nice.c: Likewise.
24996         * resource/setpriority.c: Likewise.
24997         * resource/setrlimit.c: Likewise.
24998         * resource/ulimit.c: Likewise.
24999         * rt/aio_cancel.c: Likewise.
25000         * rt/aio_fsync.c: Likewise.
25001         * rt/aio_read.c: Likewise.
25002         * rt/aio_sigqueue.c: Likewise.
25003         * rt/aio_suspend.c: Likewise.
25004         * rt/aio_write.c: Likewise.
25005         * rt/clock_getres.c: Likewise.
25006         * rt/clock_gettime.c: Likewise.
25007         * rt/clock_nanosleep.c: Likewise.
25008         * rt/clock_settime.c: Likewise.
25009         * rt/lio_listio.c: Likewise.
25010         * rt/mq_close.c: Likewise.
25011         * rt/mq_getattr.c: Likewise.
25012         * rt/mq_notify.c: Likewise.
25013         * rt/mq_open.c: Likewise.
25014         * rt/mq_receive.c: Likewise.
25015         * rt/mq_send.c: Likewise.
25016         * rt/mq_setattr.c: Likewise.
25017         * rt/mq_timedreceive.c: Likewise.
25018         * rt/mq_timedsend.c: Likewise.
25019         * rt/mq_unlink.c: Likewise.
25020         * rt/shm_open.c: Likewise.
25021         * rt/shm_unlink.c: Likewise.
25022         * rt/timer_create.c: Likewise.
25023         * rt/timer_delete.c: Likewise.
25024         * rt/timer_getoverr.c: Likewise.
25025         * rt/timer_gettime.c: Likewise.
25026         * rt/timer_settime.c: Likewise.
25027         * setjmp/__longjmp.c: Likewise.
25028         * setjmp/setjmp.c: Likewise.
25029         * signal/kill.c: Likewise.
25030         * signal/killpg.c: Likewise.
25031         * signal/raise.c: Likewise.
25032         * signal/sigaction.c: Likewise.
25033         * signal/sigaltstack.c: Likewise.
25034         * signal/sigblock.c: Likewise.
25035         * signal/sigignore.c: Likewise.
25036         * signal/sigintr.c: Likewise.
25037         * signal/signal.c: Likewise.
25038         * signal/sigpause.c: Likewise.
25039         * signal/sigpending.c: Likewise.
25040         * signal/sigqueue.c: Likewise.
25041         * signal/sigreturn.c: Likewise.
25042         * signal/sigset.c: Likewise.
25043         * signal/sigsetmask.c: Likewise.
25044         * signal/sigstack.c: Likewise.
25045         * signal/sigsuspend.c: Likewise.
25046         * signal/sigtimedwait.c: Likewise.
25047         * signal/sigvec.c: Likewise.
25048         * signal/sigwait.c: Likewise.
25049         * signal/sigwaitinfo.c: Likewise.
25050         * signal/sysv_signal.c: Likewise.
25051         * socket/accept.c: Likewise.
25052         * socket/accept4.c: Likewise.
25053         * socket/bind.c: Likewise.
25054         * socket/connect.c: Likewise.
25055         * socket/getpeername.c: Likewise.
25056         * socket/getsockname.c: Likewise.
25057         * socket/getsockopt.c: Likewise.
25058         * socket/isfdtype.c: Likewise.
25059         * socket/listen.c: Likewise.
25060         * socket/recv.c: Likewise.
25061         * socket/recvfrom.c: Likewise.
25062         * socket/recvmsg.c: Likewise.
25063         * socket/send.c: Likewise.
25064         * socket/sendmsg.c: Likewise.
25065         * socket/sendto.c: Likewise.
25066         * socket/setsockopt.c: Likewise.
25067         * socket/shutdown.c: Likewise.
25068         * socket/sockatmark.c: Likewise.
25069         * socket/socket.c: Likewise.
25070         * socket/socketpair.c: Likewise.
25071         * stdio-common/ctermid.c: Likewise.
25072         * stdio-common/cuserid.c: Likewise.
25073         * stdio-common/remove.c: Likewise.
25074         * stdio-common/rename.c: Likewise.
25075         * stdio-common/renameat.c: Likewise.
25076         * stdio-common/tempname.c: Likewise.
25077         * stdlib/getcontext.c: Likewise.
25078         * stdlib/makecontext.c: Likewise.
25079         * stdlib/setcontext.c: Likewise.
25080         * stdlib/swapcontext.c: Likewise.
25081         * stdlib/system.c: Likewise.
25082         * streams/fattach.c: Likewise.
25083         * streams/fdetach.c: Likewise.
25084         * streams/getmsg.c: Likewise.
25085         * streams/getpmsg.c: Likewise.
25086         * streams/putmsg.c: Likewise.
25087         * streams/putpmsg.c: Likewise.
25088         * sysdeps/unix/bsd/getpt.c: Likewise.
25089         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25090         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25091         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25093         Likewise.
25094         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25095         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25096         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25097         * sysvipc/msgctl.c: Likewise.
25098         * sysvipc/msgget.c: Likewise.
25099         * sysvipc/msgrcv.c: Likewise.
25100         * sysvipc/msgsnd.c: Likewise.
25101         * sysvipc/semctl.c: Likewise.
25102         * sysvipc/semget.c: Likewise.
25103         * sysvipc/semop.c: Likewise.
25104         * sysvipc/semtimedop.c: Likewise.
25105         * sysvipc/shmat.c: Likewise.
25106         * sysvipc/shmctl.c: Likewise.
25107         * sysvipc/shmdt.c: Likewise.
25108         * sysvipc/shmget.c: Likewise.
25109         * termios/tcdrain.c: Likewise.
25110         * termios/tcflow.c: Likewise.
25111         * termios/tcflush.c: Likewise.
25112         * termios/tcgetattr.c: Likewise.
25113         * termios/tcgetpgrp.c: Likewise.
25114         * termios/tcsendbrk.c: Likewise.
25115         * termios/tcsetattr.c: Likewise.
25116         * termios/tcsetpgrp.c: Likewise.
25117         * time/adjtime.c: Likewise.
25118         * time/clock.c: Likewise.
25119         * time/getitimer.c: Likewise.
25120         * time/gettimeofday.c: Likewise.
25121         * time/setitimer.c: Likewise.
25122         * time/settimeofday.c: Likewise.
25123         * time/stime.c: Likewise.
25124         * time/time.c: Likewise.
25125
25126 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25127
25128         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25129         /usr/old/bin.
25130
25131         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25132         instead of spaces.
25133         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25134
25135 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25136
25137         [BZ #14796]
25138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25139         FE_TONEAREST before applying Dekker multiplication and Knuth
25140         addition.  Clear inexact exceptions and check for exact zero
25141         results afterwards.
25142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25143         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25145         * math/libm-test.inc (fma_test): Add more tests.
25146         (fma_test_towardzero): Likewise.
25147         (fma_test_downward): Likewise.
25148         (fma_test_upward): Likewise.
25149         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25150         function.
25151         (libc_fesetround): New macro.
25152         (libc_fesetroundf): Likewise.
25153         (libc_fesetroundl): Likewise.
25154         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25155         function.
25156         (libc_fesetround_387): Likewise.
25157         (libc_fesetroundf): New macro.
25158         (libc_fesetround): Likewise.
25159         (libc_fesetroundl): Likewise.
25160         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25161         function.
25162         (libc_fesetroundf): New macro.
25163         (libc_fesetround): Likewise.
25164         (libc_fesetroundl): Likewise.
25165         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25166         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25167         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25168         libm_hidden_ver.
25169         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25170         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25171         libm_hidden_def.
25172         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25173         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25174         libm_hidden_ver.
25175         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25176         libm_hidden_def.
25177
25178         [BZ #3439]
25179         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25180         integer constant usable in #if and use that to give value to enum
25181         constant.
25182         (FE_DIVBYZERO): Likewise.
25183         (FE_UNDERFLOW): Likewise.
25184         (FE_OVERFLOW): Likewise.
25185         (FE_INVALID): Likewise.
25186         (FE_INVALID_SNAN): Likewise.
25187         (FE_INVALID_ISI): Likewise.
25188         (FE_INVALID_IDI): Likewise.
25189         (FE_INVALID_ZDZ): Likewise.
25190         (FE_INVALID_IMZ): Likewise.
25191         (FE_INVALID_COMPARE): Likewise.
25192         (FE_INVALID_SOFTWARE): Likewise.
25193         (FE_INVALID_SQRT): Likewise.
25194         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25195         (FE_TONEAREST): Likewise.
25196         (FE_TOWARDZERO): Likewise.
25197         (FE_UPWARD): Likewise.
25198         (FE_DOWNWARD): Likewise.
25199         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25200         (FE_DIVBYZERO): Likewise.
25201         (FE_OVERFLOW): Likewise.
25202         (FE_UNDERFLOW): Likewise.
25203         (FE_INEXACT): Likewise.
25204         (FE_TONEAREST): Likewise.
25205         (FE_DOWNWARD): Likewise.
25206         (FE_UPWARD): Likewise.
25207         (FE_TOWARDZERO): Likewise.
25208         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25209         (FE_UNDERFLOW): Likewise.
25210         (FE_OVERFLOW): Likewise.
25211         (FE_DIVBYZERO): Likewise.
25212         (FE_INVALID): Likewise.
25213         (FE_TONEAREST): Likewise.
25214         (FE_TOWARDZERO): Likewise.
25215         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25216         (FE_OVERFLOW): Likewise.
25217         (FE_UNDERFLOW): Likewise.
25218         (FE_DIVBYZERO): Likewise.
25219         (FE_INEXACT): Likewise.
25220         (FE_TONEAREST): Likewise.
25221         (FE_TOWARDZERO): Likewise.
25222         (FE_UPWARD): Likewise.
25223         (FE_DOWNWARD): Likewise.
25224         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25225         (FE_DIVBYZERO): Likewise.
25226         (FE_OVERFLOW): Likewise.
25227         (FE_UNDERFLOW): Likewise.
25228         (FE_INEXACT): Likewise.
25229         (FE_TONEAREST): Likewise.
25230         (FE_DOWNWARD): Likewise.
25231         (FE_UPWARD): Likewise.
25232         (FE_TOWARDZERO): Likewise.
25233
25234 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25235
25236         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25237
25238 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25239
25240         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25241         commands.  Quote $PWD.
25242         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25243         -x" by "export".
25244         (remove_newlines): Remove.
25245
25246 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25247
25248         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25249         * stdlib/stdlib.h (atof): Moved to ...
25250         * include/bits/stdlib-float.h: Here.  New file.
25251         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25252         * stdlib/bits/stdlib-float.h: New file.
25253         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25254         -mno-sse -mno-mmx.
25255         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25256         <xmmintrin.h>.
25257
25258 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25259
25260         * conform/conformtest.pl (@headers): Add fenv.h.
25261         * conform/data/fenv.h-data: New file.
25262         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25263         include of <math/fenv.h>.
25264
25265         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25266         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25267         && !UNIX98].  Enables tests for XOPEN2K8.
25268         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25269         POSIX2008]: Likewise.
25270
25271         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25272         (struct rusage): Do not expect type or its members.
25273
25274         [BZ #3439]
25275         * math/math.h (FP_NAN): Define macro to integer constant usable in
25276         #if and use that to give value to enum constant.
25277         (FP_INFINITE): Likewise.
25278         (FP_ZERO): Likewise.
25279         (FP_SUBNORMAL): Likewise.
25280         (FP_NORMAL): Likewise.
25281
25282 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25283
25284         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25285         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25286         arguments.
25287
25288 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25289
25290         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25291         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25292         autoconf-time if not.
25293         * configure.in: Remove AC_PREREQ.
25294
25295 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25296
25297         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25298         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25299         of the internal implementation.
25300
25301 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25302
25303         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25304         except include of <misc/sys/syslog.h>.
25305
25306 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25307
25308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25309         function returns with a NULL context exit with zero.
25310
25311 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25312
25313         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25314
25315 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25316
25317         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25318         (run_program_cmd): This.
25319         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25320         (tst_langinfo): New variable.  Use it.
25321
25322 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25323
25324         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25325         floating point opcodes.
25326
25327 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25328
25329         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25330         variable.
25331
25332         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25333
25334         * sysdeps/mach/hurd/powerpc: Remove directory.
25335         * sysdeps/mach/powerpc: Likewise.
25336
25337 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25338
25339         * scripts/check-local-headers.sh: Ignore c++ headers.
25340
25341 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25342
25343         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25344         __libc_cleanup_region_start argument.
25345
25346 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25347
25348         [BZ #14784]
25349         [BZ #14785]
25350         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25351         x * y using scaling, not as x * y + z.
25352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25353         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25354         * math/libm-test.inc (fma_test): Add more tests.
25355         (fma_test_towardzero): Likewise.
25356         (fma_test_downward): Likewise.
25357         (fma_test_upward): Likewise.
25358
25359 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25360
25361         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25362
25363 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25364
25365         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25366         New variable.
25367
25368 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25369
25370         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25371
25372 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25373
25374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25375         Fix sort order.
25376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25377         Likewise.
25378
25379 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25380
25381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25382         Fix the order of the list for glibc 2.17.
25383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25384         Likewise.
25385
25386 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25387
25388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25389
25390 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25391
25392         [BZ #14610]
25393         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25394         for low part of x being zero before using __atanl (y).
25395         * math/libm-test.inc (atan2_test): Add another test.
25396
25397         * manual/install.texi (Configuring and compiling): Document
25398         general use of test-wrapper and test-wrapper-env.
25399         * INSTALL: Regenerated.
25400
25401         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25402         (__fma): 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         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25406         (__fmal): Do not extract and scale down low bits on after-rounding
25407         systems when result rounded to normal precision would have normal
25408         exponent.
25409         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25410         (__fmal): Do not extract and scale down low bits on after-rounding
25411         systems when result rounded to normal precision would have normal
25412         exponent.
25413         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25414         macro.
25415         (fma_test): Add more tests.
25416         (fma_test_towardzero): Likewise.
25417         (fma_test_downward): Likewise.
25418         (fma_test_upward): Likewise.
25419
25420 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25421
25422         * sysdeps/i386/tininess.h: Renamed to ...
25423         * sysdeps/x86/tininess.h: This.
25424         * sysdeps/x86_64/tininess.h: Removed.
25425
25426 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25427
25428         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25429         input.  Use $(build-program-cmd).
25430         ($(objpfx)tst-array1-static.out): Likewise.
25431         ($(objpfx)tst-array2.out): Likewise.
25432         ($(objpfx)tst-array3.out): Likewise.
25433         ($(objpfx)tst-array4.out): Likewise.
25434         ($(objpfx)tst-array5.out): Likewise.
25435         ($(objpfx)tst-array5-static.out): Likewise.
25436
25437 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25438
25439         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25440         if defined.
25441
25442         * nss/nsswitch.h (nss_interface_function): Provide new
25443         macro for use with NSS functions.
25444         * grp/initgroups.c: Use new macro.
25445         * nss/getXXbyYY.c: Likewise.
25446         * nss/getXXbyYY_r.c: Likewise.
25447         * nss/getXXent.c: Likewise.
25448         * nss/getXXent_r.c: Likewise.
25449         * sysdeps/posix/getaddrinfo.c: Likewise.
25450
25451 2012-10-30  Andreas Jaeger  <aj@suse.de>
25452
25453         * po/ru.po: Update Russion translation from translation project.
25454
25455 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25456
25457         [BZ #14152]
25458         [BZ #14783]
25459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25460         result and shift together with sticky bit instead of replicating
25461         round-to-nearest rounding.
25462         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25463         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25464         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25465         missing underflow exceptions.
25466         (fma_test_towardzero): Add more tests.
25467         (fma_test_downward): Likewise.
25468         (fma_test_upward): Likewise.
25469
25470         [BZ #14047]
25471         * sysdeps/generic/tininess.h: New file.
25472         * sysdeps/i386/tininess.h: Likewise.
25473         * sysdeps/sh/tininess.h: Likewise.
25474         * sysdeps/x86_64/tininess.h: Likewise.
25475         * stdlib/tst-strtod-underflow.c: Likewise.
25476         * stdlib/tst-tininess.c: Likewise.
25477         * stdlib/strtod_l.c: Include <tininess.h>.
25478         (round_and_return): Do not set errno for exact underflow cases.
25479         Force an underflow exception when setting errno for underflow.
25480         Determine underflow based on rounding to normal precision if
25481         TININESS_AFTER_ROUNDING.
25482         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25483         ERANGE for exact underflow cases.
25484         * stdlib/Makefile (tests): Add tst-tininess and
25485         tst-strtod-underflow.
25486         ($(objpfx)tst-tininess): Use $(link-libm).
25487         ($(objpfx)tst-strtod-underflow): Likewise.
25488
25489 2012-10-30  Andreas Jaeger  <aj@suse.de>
25490
25491         [BZ#14767]
25492         * elf/Makefile (tests): Remove conditional for have-initfini-array
25493         since this is now always required and the variable does not exist
25494         anymore.
25495         (tests-static): Likewise.
25496         (modules-names): Likewise.
25497
25498         * po/eo.po: Add Esperanto translation from translation project.
25499
25500         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25501         merged with constructor/destructor.
25502         (init_array): Likewise.
25503         * elf/tst-array2dep.c (fini_array): Likewise.
25504         (init_array): Likewise.
25505
25506 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25507
25508         * manual/message.texi: Delete @cartouche tags.
25509
25510 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25511
25512         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25513         EOPNOTSUPP.
25514         * sysdeps/mach/hurd/fsync.c: Likewise.
25515
25516         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25517         [_POSIX_REALTIME_SIGNALS]: Change condition to
25518         [_POSIX_REALTIME_SIGNALS > 0].
25519
25520 2012-10-27  Andreas Jaeger  <aj@suse.de>
25521
25522         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25523         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25525         [__WORDSIZE != 64]: Likewise.
25526
25527 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25528
25529         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25530         *  iconvdata/tst-tables.sh: Likewise.
25531
25532 2012-10-25  David S. Miller  <davem@davemloft.net>
25533
25534         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25535         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25536         of strtoull.
25537
25538         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25539         ifunc-impl-list.c
25540         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25541         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25542         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25543         file.
25544
25545 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25546
25547         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25548         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25549         __getdirentries.
25550
25551 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25552             Jim Blandy  <jimb@codesourcery.com>
25553
25554         * scripts/cross-test-ssh.sh: New file.
25555         * manual/install.texi (Configuring and compiling): Document use of
25556         cross-test-ssh.sh.
25557         * INSTALL: Regenerated.
25558
25559 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25560
25561         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25562         EOPNOTSUPP.
25563
25564 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25565
25566         * Makeconfig (run-program-prefix): Fix comment.
25567
25568 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25569             Jim Blandy  <jimb@codesourcery.com>
25570
25571         * Makeconfig (test-wrapper): New variable,
25572         (test-wrapper-env): Likewise.
25573         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25574         (run-built-tests): Define to yes.
25575         (run-program-prefix): Use $(test-wrapper).
25576         (built-program-cmd): Likewise.
25577         * Rules (make-test-out): Use $(test-wrapper-env) and
25578         $(host-built-program-cmd).
25579         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25580         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25581         tst-pathopt.sh.
25582         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25583         $(test-wrapper-env) to tst-rtld-load-self.sh.
25584         ($(objpfx)order2.out): Use $(test-wrapper).
25585         ($(objpfx)tst-initorder.out): Likewise.
25586         ($(objpfx)tst-initorder2.out): Likewise.
25587         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25588         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25589         (test_wrapper_env): New variable.  Use it to run ld.so.
25590         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25591         Use it to run ld.so.
25592         (test_wrapper_env): Likewise.
25593         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25594         $(test-wrapper) to run-iconv-test.sh.
25595         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25596         (ICONV): Use $test_wrapper.
25597         * posix/Makefile ($(objpfx)globtest.out): Pass
25598         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25599         globtest.sh, not $(run-program-prefix).
25600         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25601         (test_wrapper): Likewise.
25602         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25603         set together with run_via_rtld_prefix.
25604         (run_program_prefix): Define in terms of test_wrapper and
25605         run_via_rtld_prefix.
25606
25607 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25608
25609         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25610         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25611         Targets removed.
25612
25613         [BZ #14743]
25614         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25615         Declare __clock_getres, __clock_gettime, __clock_settime,
25616         __clock_nanosleep, and __clock_getcpuclockid.
25617         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25618         Remove librt_hidden_def (clock_gettime).
25619         * sysdeps/unix/clock_gettime.c: Likewise.
25620         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25621         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25622         * rt/clock_getres.c: Define __clock_getres as an alias.
25623         * sysdeps/posix/clock_getres.c: Likewise.
25624         * rt/clock_settime.c: Define __clock_settime as an alias.
25625         * sysdeps/unix/clock_settime.c: Likewise.
25626         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25627         * sysdeps/unix/clock_nanosleep.c: Likewise.
25628         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25629         * rt/clock-compat.c: New file.
25630         * rt/Makefile (librt-routines): Add clock-compat and move
25631         $(clock-routines) to ...
25632         (routines): ... here, new variable.
25633         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25634         Don't add get_clockfreq here.
25635         * rt/Versions (libc: GLIBC_2.17): New version set.
25636         Add clock_* symbols here.
25637         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25638         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25639         (GLIBC_2.17): Add clock_* symbols.
25640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25642         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25644         Likewise.
25645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25646         Likewise.
25647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25651         * NEWS: Mention the move.
25652
25653         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25654         Use __open, __read, __close rather than their public counterparts.
25655         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25656         (__get_clockfreq_via_cpuinfo): Likewise.
25657         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25658         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25659
25660         * config.h.in (HAVE_IFUNC): New #undef.
25661         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25662         was successful.
25663         * configure: Regenerated.
25664
25665 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25666
25667         * configure.in: Move READELF check to start of file.
25668         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25669         libc_cv_asm_gnu_indirect_function in the process.
25670         * configure: Regenerated.
25671
25672 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25673
25674         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25675         send the output to /dev/null.
25676         (libc_cv_cc_with_libunwind): Likewise.
25677         (libc_cv_as_noexecstack): Likewise.
25678         * configure: Regenerate.
25679
25680 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25681
25682         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25683
25684         * posix/globtest.sh (TMPDIR): Do not set.
25685         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25686         (testout): Likewise.
25687
25688 2012-10-24  Andreas Jaeger  <aj@suse.de>
25689
25690         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25691         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25692         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25693         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25694         posix_fadvise64, posix_fallocate64.
25695
25696         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25697         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25698         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25699         Likewise.
25700         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25701         Likewise.
25702         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25703
25704         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25705         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25706         <bits/fcntl-linux.h>.
25707         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25708
25709         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25710         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25711         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25712         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25713         [__WORDSIZE != 64]: Likewise.
25714
25715 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25716
25717         * Makeconfig (run-built-tests): New variable.
25718         * Rules [$(cross-compiling) = yes]: Change condition to
25719         [$(run-built-tests) = no].
25720         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25721         to [$(run-built-tests) = yes].
25722         * elf/Makefile [$(cross-compiling) = no]: Likewise
25723         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25724         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25725         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25726         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25727         * io/Makefile [$(cross-compiling) = no]: Likewise.
25728         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25729         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25730         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25731         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25732         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25733         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25734         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25735         * string/Makefile [$(cross-compiling) = no]: Likewise.
25736
25737         * posix/Makefile ($(objpfx)globtest.out): Pass
25738         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25739         $(rtld-installed-name).
25740         * posix/globtest.sh (elf_objpfx): Remove variable.
25741         (rtld_installed_name): Likewise.
25742         (library_path): Likewise.
25743         (run_program_prefix): New variable.  Use for running globtest
25744         binary.
25745
25746 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25747             Joseph Myers  <joseph@codesourcery.com>
25748
25749         * Makeconfig (host-built-program-cmd): New variable.
25750         * elf/Makefile (tst-stackguard1-ARGS): Use
25751         $(host-built-program-cmd).
25752         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25753         (tst-spawn-ARGS): Likewise.
25754         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25755
25756 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25757             Jim Blandy  <jimb@codesourcery.com>
25758
25759         * Makeconfig (run-via-rtld-prefix): New variable.
25760         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25761         (built-program-cmd): Likewise.
25762
25763 2012-10-22  Andreas Jaeger  <aj@suse.de>
25764
25765         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25766         __O_RSYNC if it exists, otherwise to O_SYNC.
25767
25768 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25769             Joseph Myers  <joseph@codesourcery.com>
25770
25771         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25772         /dev/null.
25773         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25774         from /dev/null
25775         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25776         /dev/null.
25777
25778 2012-10-22  Andreas Jaeger  <aj@suse.de>
25779
25780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25781         Define always.
25782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25783
25784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25785         bits/fcntl-linux.h.
25786
25787         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25788         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25789
25790         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25791         to __O_LARGEFILE.
25792         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25793         to __O_LARGEFILE.
25794
25795 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25796             Joseph Myers  <joseph@codesourcery.com>
25797
25798         * config.make.in (NM): New variable.
25799
25800 2012-10-21  Andreas Jaeger  <aj@suse.de>
25801
25802         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25803         definitions and declarations that are provided by
25804         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25805
25806 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25807
25808         [BZ #14683]
25809         * elf/Makefile (tests-static): Add tst-leaks1-static.
25810         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25811         ($(objpfx)tst-leaks1-static): New rule.
25812         ($(objpfx)tst-leaks1-static-mem): Likewise.
25813         (tst-leaks1-static-ENV): New macro.
25814         * elf/dl-open.c (dl_open_worker): Check the main application
25815         only if SHARED is defined.
25816         * elf/tst-leaks1-static.c: New file.
25817
25818 2012-10-20  Andreas Jaeger  <aj@suse.de>
25819
25820         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25821         generic values for Linux.
25822         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25823         and declarations that are provided by <bits/fcntl-linux.h> and
25824         include <bits/fcntl-linux.h>.
25825         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25827
25828 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25829
25830         * io/fcntl.h: Move include of <bits/types.h> to the top and
25831         include it unconditionally.
25832
25833 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25834
25835         * wcsmbs/Makefile (tests-ifunc): New variable.
25836         (tests): Add $(tests-ifunc).
25837         * wcsmbs/test-wcschr-ifunc.c: New file.
25838         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25839         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25840         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25841         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25842         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25843
25844         * string/Makefile (tests-ifunc): New variable.
25845         (tests): Add $(tests-ifunc).
25846         * string/test-memccpy.c (TEST_NAME): New macro.
25847         * string/test-memchr.c (TEST_NAME): Likewise.
25848         * string/test-memcmp.c (TEST_NAME): Likewise.
25849         * string/test-memcpy.c (TEST_NAME): Likewise.
25850         * string/test-memmem.c (TEST_NAME): Likewise.
25851         * string/test-memmove.c (TEST_NAME): Likewise.
25852         * string/test-memset.c (TEST_NAME): Likewise.
25853         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25854         * string/test-stpcpy.c (TEST_NAME): Likewise.
25855         * string/test-stpncpy.c (TEST_NAME): Likewise.
25856         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25857         * string/test-strcasestr.c (TEST_NAME): Likewise.
25858         * string/test-strcat.c (TEST_NAME): Likewise.
25859         * string/test-strchr.c (TEST_NAME): Likewise.
25860         * string/test-strcmp.c(TEST_NAME): Likewise.
25861         * string/test-strcpy.c (TEST_NAME): Likewise.
25862         * string/test-strcspn.c (TEST_NAME): Likewise.
25863         * string/test-strlen.c (TEST_NAME): Likewise.
25864         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25865         * string/test-strncmp.c (TEST_NAME): Likewise.
25866         * string/test-strncpy.c (TEST_NAME): Likewise.
25867         * string/test-strnlen.c (TEST_NAME): Likewise.
25868         * string/test-strpbrk.c (TEST_NAME): Likewise.
25869         * string/test-strrchr.c (TEST_NAME): Likewise.
25870         * string/test-strspn.c (TEST_NAME): Likewise.
25871         * string/test-strstr.c (TEST_NAME): Likewise.
25872         * string/test-bcopy-ifunc.c: New file.
25873         * string/test-bzero-ifunc.c: Likewise.
25874         * string/test-memccpy-ifunc.c: Likewise.
25875         * string/test-memchr-ifunc.c: Likewise.
25876         * string/test-memcmp-ifunc.c: Likewise.
25877         * string/test-memcpy-ifunc.c: Likewise.
25878         * string/test-memmem-ifunc.c: Likewise.
25879         * string/test-memmove-ifunc.c: Likewise.
25880         * string/test-mempcpy-ifunc.c: Likewise.
25881         * string/test-memset-ifunc.c: Likewise.
25882         * string/test-rawmemchr-ifunc.c: Likewise.
25883         * string/test-stpcpy-ifunc.c: Likewise.
25884         * string/test-stpncpy-ifunc.c: Likewise.
25885         * string/test-strcasecmp-ifunc.c: Likewise.
25886         * string/test-strcasestr-ifunc.c: Likewise.
25887         * string/test-strcat-ifunc.c: Likewise.
25888         * string/test-strchr-ifunc.c: Likewise.
25889         * string/test-strchrnul-ifunc.c: Likewise.
25890         * string/test-strcmp-ifunc.c: Likewise.
25891         * string/test-strcpy-ifunc.c: Likewise.
25892         * string/test-strcspn-ifunc.c: Likewise.
25893         * string/test-strlen-ifunc.c: Likewise.
25894         * string/test-strncasecmp-ifunc.c: Likewise.
25895         * string/test-strncat-ifunc.c: Likewise.
25896         * string/test-strncmp-ifunc.c: Likewise.
25897         * string/test-strncpy-ifunc.c: Likewise.
25898         * string/test-strnlen-ifunc.c: Likewise.
25899         * string/test-strpbrk-ifunc.c: Likewise.
25900         * string/test-strrchr-ifunc.c: Likewise.
25901         * string/test-strspn-ifunc.c: Likewise.
25902         * string/test-strstr-ifunc.c: Likewise.
25903
25904         * debug/Makefile (tests-ifunc): New variable.
25905         (tests): Add $(tests-ifunc).
25906         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25907         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25908         * debug/test-stpcpy_chk-ifunc.c: New file.
25909         * debug/test-strcpy_chk-ifunc.c: Likewise.
25910
25911 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25912
25913         [BZ #13601]
25914         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25915         header is not read in.
25916
25917 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25918
25919         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25920         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25921         directly.  Pass built executable to script as
25922         $(built-program-cmd).
25923         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25924         $testprogram without using LD_LIBRARY_PATH and $ldso.
25925
25926         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25927         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25928         $(rtld-installed-name).
25929         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25930         (rtld_installed_name): Likewise.
25931         (library_path): Likewise.
25932         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25933         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25934         $(run-program-prefix) to tst-tables.sh.
25935         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25936         it to run tst-table-from and tst-table-to.
25937         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25938         Pass it to tst-table.sh.
25939         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25940         $(run-program-prefix) to tst-gettext.sh.
25941         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25942         tst-translit.sh.
25943         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25944         tst-gettext2.sh.
25945         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25946         to run tst-gettext.
25947         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25948         to run tst-gettext2.
25949         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25950         to run tst-translit.
25951         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25952         $(run-program-prefix) to tst-mtrace.sh.
25953         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25954         to run tst-mtrace.
25955         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25956         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25957         $(rtld-installed-name).
25958         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25959         (rtld_installed_name): Likewise.
25960         (run_program_prefix): New variable.  Use it to run wordexp-test.
25961
25962         * Makeconfig (ARCH): Remove all definitions.
25963         (machine): Likewise.
25964         [ARCH]: Remove conditional code.
25965         [!objdir]: Give error.
25966         [!objdir] (objpfx): Remove.
25967         [!objdir] (common-objpfx): Likewise.
25968         [!objdir] (common-objdir): Likewise.
25969         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25970         AC_CONFIG_FILES call.
25971         * configure: Regenerated.
25972
25973         [BZ #13888]
25974         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25975         or TMPDIR.
25976         (testout): Likewise.
25977
25978         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25979         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25980         $(rtld-installed-name).
25981         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25982         (rtld_installed_name): Likwise.
25983         (runit): Remove function.
25984         (run_getconf): New variable,  Use it for running getconf binary.
25985
25986 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25987
25988         [BZ #14716]
25989         * string/test-memmem.c (check_result): New function.
25990         (do_one_test): Use it.
25991         (check1): New function.
25992         (test_main): Use it.
25993
25994 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
25995
25996         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25997
25998 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
25999
26000         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26001         (_G_LSEEK64): Likewise.
26002         (_G_MMAP64): Likewise.
26003         (_G_FSTAT64): Likewise.
26004         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26005         (_G_LSEEK64): Likewise.
26006         (_G_MMAP64): Likewise.
26007         (_G_FSTAT64): Likewise.
26008         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26009         unconditional.  Call __mmap64 directly.
26010         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26011         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26012         __lseek64 directly.
26013         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26014         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26015         __mmap64 directly.
26016         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26017         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26018         __lseek64 directly.
26019         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26020         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26021         __lseek64 directly.
26022         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26023         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26024         __lseek64 directly.
26025         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26026         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26027         __fxstat64 directly.
26028         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26029         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26030         unconditional.
26031         (freopen64) [!_G_OPEN64]: Remove conditional code.
26032         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26033         unconditional.
26034         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26035         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26036         unconditional.
26037         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26038         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26039         unconditional.
26040         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26041         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26042         unconditional.
26043         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26044         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26045         unconditional.
26046         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26047         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26048         unconditional.
26049         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26050         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26051         unconditional.
26052         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26053
26054 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26055
26056         [BZ #12140]
26057         * manual/memory.texi (Malloc Tunable Parameters): Add note
26058         about free list pointers overwriting some perturb bytes.
26059         Wording suggested by Roland McGrath.
26060
26061 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26062
26063         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26064         (lgamma_test): Likewise.
26065         (tgamma_test): Likewise.
26066
26067 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26068
26069         [BZ #14700]
26070         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26071         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26072
26073 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26074
26075         * NEWS: Mention BZ #14716.
26076         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26077         when removing AVAILABLE1_USES_J macro.
26078
26079 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26080
26081         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26082         (__bswap_64): __uint64_t for unsigned 64-bit int.
26083
26084 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26085
26086         * include/string.h (memmem): Declare libc hidden alias.
26087         * string/memmem.c (memmem): Define libc hidden alias.
26088         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26089         __read, __close instead of open, read, close.
26090
26091 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26092
26093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26094         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26095         global and hidden.
26096         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26097         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26098         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26099         Likewise.
26100         (__rawmemchr_sse2): Likewise.
26101         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26102         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26103         (__strchr_sse2): Likewise.
26104         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26105         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26106         (__strcasecmp_sse2): Likewise.
26107         (__strncasecmp_sse2): Likewise.
26108         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26109         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26110         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26111         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26112         (__strrchr_sse2): Likewise.
26113         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26114         ifunc-impl-list.c.
26115         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26116         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26117         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26118         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26119         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26120         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26121         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26122         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26123         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26124         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26125         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26126         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26127         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26128         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26129         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26130         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26131         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26132         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26133         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26134         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26135         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26136         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26137         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26138         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26139         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26140         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26141         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26142         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26143         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26144         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26145
26146         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26147         global and hidden.
26148         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26149         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26150         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26151         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26152         Likewise.
26153         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26154         Likewise.
26155         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26156         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26157         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26158         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26159         ifunc-impl-list.c.
26160         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26161         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26162         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26163         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26164         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26165         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26166         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26167         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26168         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26169         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26170         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26171         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26172         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26173         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26174         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26175         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26176         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26177         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26178         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26179         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26180         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26181         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26182         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26183         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26184         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26185         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26186         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26187         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26188         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26189         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26190         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26191         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26192         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26193         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26194         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26195         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26196         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26197         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26198         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26199         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26200         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26201
26202         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26203         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26204         * include/ifunc-impl-list.h: New file.
26205         * misc/ifunc-impl-list.c: Likewise.
26206         * misc/Makefile (routines): Add ifunc-impl-list.
26207         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26208         * string/test-string.h: Include <ifunc-impl-list.h>.
26209         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26210         TEST_NAME]: New variables.
26211         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26212         are defined.
26213         (test_init): Call __libc_ifunc_impl_list to initialize
26214         func_list if TEST_IFUNC and TEST_NAME are defined.
26215
26216         * string/Makefile (strop-tests): Add bcopy and bzero.
26217         * string/test-bcopy.c: New file.
26218         * string/test-bzero.c: Likewise.
26219         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26220         defined.
26221         * string/test-memset.c: Support bzero test if TEST_BZERO is
26222         defined.
26223         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26224         __libc_memmove.
26225         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26226         __libc_memset.
26227         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26228         of memset.
26229
26230 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26231
26232         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26233         * configure: Regenerated.
26234
26235         * Makeconfig (+link-static-before-libc): Don't include
26236         $(link-static-libc).
26237
26238         * libio/libio.h (_IO_pos_t): Remove.
26239
26240 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26241
26242         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26243         McGrath.
26244
26245 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26246
26247         * crypt/crypt-entry.c: Include fips-private.h.
26248         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26249         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26250         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26251         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26252
26253 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26254
26255         * crypt/crypt-private.h: Include stdbool.h.
26256         (_ufc_setup_salt_r): Return bool.
26257         * crypt/crypt-entry.c: Include errno.h.
26258         (__crypt_r): Return NULL with EINVAL for bad salt.
26259         * crypt/crypt_util.c (bad_for_salt): New.
26260         (_ufc_setup_salt_r): Check that salt is long enough and within
26261         the specified alphabet.
26262         * crypt/badsalttest.c: New file.
26263         * crypt/Makefile (tests): Add it.
26264         ($(objpfx)badsalttest): New.
26265
26266 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26267
26268         * NEWS: Add entry for BZ #14602.
26269
26270 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26271
26272         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26273         type-generic.
26274         * math/libm-test.inc: Update comment listing what functions and
26275         macros are tested.
26276         (isgreater_test): New function.
26277         (isgreaterequal_test): Likewise.
26278         (isless_test): Likewise.
26279         (islessequal_test): Likewise.
26280         (islessgreater_test): Likewise.
26281         (isunordered_test): Likewise.
26282         (main): Call the new functions.
26283
26284 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26285
26286         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26287         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26288         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26289         * sysdeps/i386/configure: Regenerated.
26290         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26291         * sysdeps/mach/configure: Regenerated.
26292         * sysdeps/mach/hurd/configure: Regenerated.
26293         * sysdeps/powerpc/configure: Regenerated.
26294         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26295         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26296         * sysdeps/s390/s390-32/configure: Regenerated.
26297         * sysdeps/s390/s390-64/configure: Regenerated.
26298         * sysdeps/sh/configure: Regenerated.
26299         * sysdeps/sparc/configure: Regenerated.
26300         * sysdeps/unix/sysv/linux/configure: Regenerated.
26301         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26302         * sysdeps/x86_64/configure: Regenerated.
26303
26304         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26305         defined.  Don't check if MAP is NULL.
26306
26307 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26308
26309         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26310         (_G_stat64): Likewise.
26311         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26312         (_G_stat64): Likewise.
26313         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26314         instead of struct _G_stat64.
26315         * libio/fileops.c (mmap_remap_check): Likewise.
26316         (decide_maybe_mmap): Likewise.
26317         (_IO_new_file_seekoff): Likewise.
26318         (_IO_file_stat): Likewise.
26319         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26320         _G_off64_t.
26321         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26322         instead of struct _G_stat64.
26323         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26324
26325 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26326
26327         [BZ #14602]
26328         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26329         Replace with ...
26330         (CHECK_EOL): New macro.
26331         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26332         CHECK_EOL.
26333         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26334         Replace with CHECK_EOL.
26335         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26336         Replace with CHECK_EOL.
26337
26338 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26339
26340         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26341         type-generic.
26342         * math/libm-test.inc: Update comment listing what functions and
26343         macros are tested.
26344         (finite_test): New function.
26345         (isinf_test): Likewise.
26346         (isnan_test): Likewise.
26347         (fpclassify_test): Test subnormal input.
26348         (isfinite_test): Likewise.
26349         (isnormal_test): Likewise.
26350         (main): Call the new functions.
26351
26352 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26353
26354         [BZ #14660]
26355         * Makerules (%.dynsym): Force C locale when running
26356         $(OBJDUMP) --dynamic-syms.
26357
26358 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26359
26360         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26361         <stdint.h>.
26362
26363 2012-10-06  David S. Miller  <davem@davemloft.net>
26364
26365         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26366         upper 32-bits of the length value in %o2 since we use branch-on-register
26367         tests which consider the entire 64-bit register.
26368
26369 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26370
26371         * string/test-strstr.c (check2): Add a test for page boundary.
26372
26373 2012-10-05  David S. Miller  <davem@davemloft.net>
26374
26375         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26376         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26377         file.
26378         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26379         sysdep_routines.
26380         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26381         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26382         and bzero when HWCAP_SPARC_CRYPTO is present.
26383
26384 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26385
26386         [BZ #14602]
26387         * string/test-strstr.c (check2): New function.
26388         (test_main): Call check2.
26389
26390         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26391         and bug-strchr1.
26392         * string/bug-strcasestr1.c (do_test): Moved to ...
26393         * string/test-strcasestr.c (check1): Here.  New function.
26394         (do_one_test): Break out result checking code into ...
26395         (check_result): This.  New function.
26396         (do_one_test): Call check_result.
26397         (test_main): Call check1.
26398         * string/bug-strchr1.c (do_test): Moved to ...
26399         * string/test-strchr.c (check1): Here.  New function.
26400         (do_one_test): Break out result checking code into ...
26401         (check_result): This.  New function.
26402         (do_one_test): Call check_result.
26403         (test_main): Call check1.
26404         * string/bug-strstr1.c (main): Moved to ...
26405         * string/test-strstr.c (check1): Here.  New function.
26406         (do_one_test): Break out result checking code into ...
26407         (check_result): This.  New function.
26408         (do_one_test): Call check_result.
26409         (test_main): Call check1.
26410         * string/bug-strcasestr1.c: Removed.
26411         * string/bug-strchr1.c: Likewise.
26412         * string/bug-strstr1.c: Likewise.
26413
26414         * elf/Makefile (dl-routines): Add hwcaps.
26415         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26416         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26417         (_dl_important_hwcaps): Moved to ...
26418         * elf/dl-hwcaps.c: Here.  New file.
26419         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26420
26421         [BZ #14557]
26422         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26423         if IS_IN_rtld isn't defined.
26424
26425         * elf/dl-support.c (_dl_sysinfo_map): New.
26426         Include "get-dynamic-info.h" and "setup-vdso.h".
26427         (_dl_non_dynamic_init): Call setup_vdso.
26428         * elf/dynamic-link.h: Don't include <assert.h>.
26429         (elf_get_dynamic_info): Moved to ...
26430         * elf/get-dynamic-info.h: Here.  New file.
26431         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26432         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26433         * elf/setup-vdso.h: Here.  New file.
26434         * elf/rtld.c: Include "setup-vdso.h".
26435         (dl_main): Call setup_vdso.
26436
26437 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26438
26439         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26440         creal in comment listing functions tested.  List finite, isinf,
26441         isnan, isless, islessequal, isgreater, isgreaterequal,
26442         islessgreater, isunordered, lgamma_r and pow10 as functions and
26443         macros not tested.  Mention which functions not tested are aliases
26444         for other functions.  Fix typo.  Note that signs of NaNs are not
26445         tested.
26446
26447         * scripts/config.guess: Update from config.git.
26448         * scripts/config.sub: Likewise.
26449
26450 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26451
26452         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26453         * misc/madvise.c (madvise): Renamed to __madvise.
26454         Make madvise a weak alias.
26455         * include/sys/mman.h: Declare __madvise.
26456         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26457         * sysdeps/unix/syscalls.list
26458         (madvise): Make __madvise the strong name, and madvise a weak alias.
26459         * sysdeps/unix/sysv/linux/syscalls.list
26460         (madvise, mmap): Remove redundant entries.
26461         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26462         * malloc/malloc.c (mtrim): Likewise.
26463         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26464
26465 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26466
26467         * sysdeps/mach/hurd/dl-cache.c: File removed.
26468         * config.h.in (USE_LDCONFIG): New #undef.
26469         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26470         * configure: Regenerated.
26471         * elf/Makefile (dl-routines): Add dl-cache only under
26472         [$(use-ldconfig) = yes].
26473         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26474         cache on [USE_LDCONFIG].
26475         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26476         [USE_LDCONFIG].
26477         * elf/rtld.c (dl_main): Likewise.
26478
26479 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26480
26481         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26482         _SC_LEVEL4_CACHE_LINESIZE.
26483
26484 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26485
26486         * sysdeps/unix/bsd/confstr.h: File removed.
26487
26488 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26489
26490         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26491         sys/sdt-config.h.
26492
26493 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26494
26495         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26496         Make 'mapoff' field ElfW(Off) rather than off_t.
26497
26498 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26499
26500         * nscd/Makefile: Remove nscd-cflags and all its users.
26501         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26502         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26503
26504         [BZ #10631]
26505         * malloc.c (malloc_printerr): Clarify error message.
26506
26507 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26508
26509         [BZ #14648]
26510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26511         Set bit_FMA_Usable if FMA is supported.
26512         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26513         macro.
26514         (bit_FMA4_Usable): Updated.
26515         (index_FMA_Usable): New macro.
26516         (CPUID_FMA): Likewise
26517         (HAS_FMA): Defined with bit_FMA_Usable.
26518
26519 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26520
26521         * bits/types.h (__swblk_t): Type removed.
26522         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26523         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26525         (__SWBLK_T_TYPE): Likewise.
26526         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26527         (__SWBLK_T_TYPE): Likewise.
26528         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26529         (__SWBLK_T_TYPE): Likewise.
26530         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26531         (__SWBLK_T_TYPE): Likewise.
26532
26533 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26534             Honza Horak <hhorak@redhat.com>
26535
26536         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26537         (xdr_mapname): Use YPMAXMAP as maxsize.
26538         (xdr_peername): Use YPMAXPEER as maxsize.
26539         (xdr_keydat): Use YPAXRECORD as maxsize.
26540         (xdr_valdat): Use YPMAXRECORD as maxsize.
26541
26542 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26543
26544         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26545
26546         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26547         * csu/init-first.c: ... here.
26548         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26549         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26550         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26551         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26552         * sysdeps/i386/init-first.c: File removed.
26553         * sysdeps/sh/init-first.c: File removed.
26554
26555 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26556
26557         [BZ #14645]
26558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26559         if x * y might underflow to zero and z is zero.
26560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26561         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26562         * math/libm-test.inc (min_subnorm_value): New variable.
26563         (fma_test): Add more tests.
26564         (fma_test_towardzero): Likewise.
26565         (fma_test_downward): Likewise
26566         (fma_test_upward): Likewise.
26567         (initialize): Set min_subnorm_value.
26568
26569 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26570
26571         [BZ #14638]
26572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26573         0 + 0.
26574         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26575         mode for addition resulting in exact zero.
26576         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26577         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26578         exact 0 + 0.
26579         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26580         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26581         * math/libm-test.inc (fma_test): Add more tests.
26582         (fma_test_towardzero): New function.
26583         (fma_test_downward): Likewise.
26584         (fma_test_upward): Likewise.
26585         (main): Call the new functions.
26586
26587 2012-09-28  David S. Miller  <davem@davemloft.net>
26588
26589         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26590
26591 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26592
26593         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26594         instead of SIGALRM.
26595
26596         * sysdeps/gnu/_G_config.h: Moved to ...
26597         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26598         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26599         * sysdeps/generic/_G_config.h: ... here.
26600
26601         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26602
26603         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26604
26605         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26606         Conditionalize target on [libnss_test1.so-version].
26607
26608         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26609
26610         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26611         (elfobjdir): Move out of conditionals.
26612
26613         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26614         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26615         (__nss_lookup_function): Conditionalize label remove_from_tree on
26616         [!DO_STATIC_NSS || SHARED], matching its only use.
26617
26618 2012-09-28  David S. Miller  <davem@davemloft.net>
26619
26620         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26621         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26622         file.
26623         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26624         sysdep_routines.
26625         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26626         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26627         when HWCAP_SPARC_CRYPTO is present.
26628
26629 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26630
26631         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26632
26633 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26634
26635         [BZ #6530]
26636         * stdio-common/vfprintf.c (process_string_arg): Revert
26637         2000-07-22 change.
26638
26639 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26640
26641         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26642         for testcase.
26643         * stdio-common/tst-sprintf.c: Include <locale.h>
26644         (main): Test sprintf's handling of incomplete multibyte
26645         characters.
26646
26647 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26648
26649         * elf/dl-runtime.c (VERSYMIDX): Removed.
26650         * elf/dl-version.c (VERSYMIDX): Likewise.
26651         * elf/do-rel.h (VERSYMIDX): Likewise.
26652         (VALIDX): Likewise.
26653         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26654         * elf/rtld.c (VALIDX): Likewise.
26655         (ADDRIDX): Likewise.
26656         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26657         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26658         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26659         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26660         (VALIDX): Likewise.
26661         (ADDRIDX): Likewise.
26662
26663 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26664
26665         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26666
26667 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26668
26669         [BZ #11438]
26670         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26671         to global scope.
26672         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26673         addresses are in the same scope as 192.0.2/24.
26674         * posix/gai.conf: Document new scope table defaults.
26675
26676 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26677
26678         [BZ #5298]
26679         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26680         for ftell.  Compute offsets from write pointers instead.
26681         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26682
26683 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26684
26685         [BZ #14543]
26686         * libio/Makefile (tests): New test case tst-fseek.
26687         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26688         combination works in wide mode.
26689         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26690         state when the external buffer state changes.
26691
26692 2012-09-27  David S. Miller  <davem@davemloft.net>
26693
26694         [BZ #14376]
26695         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26696         pass reloc->r_addend in as the 'high' argument to
26697         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26698
26699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26700
26701 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26702
26703         * rt/tst-aio2.c: Include <pthread.h>.
26704         * rt/tst-aio3.c: Likewise.
26705
26706 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26707
26708         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26709
26710 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26711
26712         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26713         contents on [SHARED].
26714
26715 2012-09-26  Marek Polacek  <polacek@redhat.com>
26716
26717         [BZ #14530]
26718         [BZ #13741]
26719         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26720         for C++ and GCC <4.3 as well as for non GCC compilers.
26721
26722 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26723
26724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26725
26726 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26727
26728         * Makefile.in (all, install): Declare with .PHONY.
26729         Reported by Michael Hope <michael.hope@linaro.org>.
26730
26731 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26732
26733         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26734         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26735         system header.
26736         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26737         Likewise.
26738         (sydep_routines): Add the new and the internal functions.
26739         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26740         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26742         (GLIBC_2.17): Add the new function.
26743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26744         (GLIBC_2.17): Likewise.
26745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26746         (GLIBC_2.17): Likewise.
26747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26748         (GLIBC_2.17): Likewise.
26749         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26750
26751 2012-09-25  Alan Modra  <amodra@gmail.com>
26752
26753         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26754         Add release barrier before setting once_control to say
26755         initialisation is done.  Add hints on lwarx.  Use macro in
26756         place of isync.
26757         (clear_once_control): Add release barrier.
26758
26759 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26760
26761         [BZ #13629]
26762         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26763         specially.
26764         * math/s_clog10.c (__clog10): Likewise.
26765         * math/s_clog10f.c (__clog10f): Likewise.
26766         * math/s_clog10l.c (__clog10l): Likewise.
26767         * math/s_clogf.c (__clogf): Likewise.
26768         * math/s_clogl.c (__clogl): Likewise.
26769         * math/Makefile (libm-calls): Add x2y2m1.
26770         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26771         (__x2y2m1): Likewise.
26772         (__x2y2m1l): Likewise.
26773         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26774         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26775         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26776         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26777         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26778         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26779         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26780         * sysdeps/i386/fpu/libm-test-ulps: Update.
26781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26782
26783         [BZ #14621]
26784         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26785         int as type of variable DEPTH.
26786         (glob): Use size_t instead of int as type of variables NEWCOUNT
26787         and OLD_PATHC.
26788
26789 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26790
26791         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26792         Add s_sincosf-sse2.
26793         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26794         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26795         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26796         macros for using routine as __sincosf_ia32.
26797         Use macro for function declaration and weak_alias.
26798         * sysdeps/i386/fpu/libm-test-ulps: Update.
26799
26800         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26802
26803         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26804         subnormal argument.
26805         * math/s_cexpf.c (__cexpf): Likewise.
26806         * math/s_csinf.c (__csinf): Likewise.
26807         * math/s_csinhf.c (__csinhf): Likewise.
26808         * math/s_ctanf.c (__ctanf): Likewise.
26809         * math/s_ctanhf.c (__ctanhf): Likewise.
26810         * math/s_ccosh.c (__ccoshf): Likewise.
26811         * math/s_cexp.c (__cexpl): Likewise.
26812         * math/s_csin.c (__csin): Likewise.
26813         * math/s_csinh.c (__csinh): Likewise.
26814         * math/s_ctan.c (__ctan): Likewise.
26815         * math/s_ctanh.c (ctanh): Likewise.
26816         * math/s_ccoshl.c (__ccoshl): Likewise.
26817         * math/s_cexpl.c (__cexpl): Likewise.
26818         * math/s_csinl.c (__csinl): Likewise.
26819         * math/s_csinhl.c (__csinhl): Likewise.
26820         * math/s_ctanl.c (__ctanl): Likewise.
26821         * math/s_ctanhl.c (__ctanhl): Likewise.
26822
26823 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26824
26825         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26826         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26827         (_IO_off_t): Define to __off_t, not _G_off_t.
26828         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26829         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26830         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26831         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26832         type of __dummy and __dummy2 fields.
26833         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26834         (_G_ssize_t): Likewise.
26835         (_G_off_t): Likewise.
26836         (_G_pid_t): Likewise.
26837         (_G_uid_t): Likewise.
26838         (_G_wchar_t): Likewise.
26839         (_G_wint_t): Likewise.
26840         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26841         (_G_ssize_t): Likewise.
26842         (_G_off_t): Likewise.
26843         (_G_pid_t): Likewise.
26844         (_G_uid_t): Likewise.
26845         (_G_wchar_t): Likewise.
26846         (_G_wint_t): Likewise.
26847         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26848         (_G_ssize_t): Likewise.
26849         (_G_off_t): Likewise.
26850         (_G_pid_t): Likewise.
26851         (_G_uid_t): Likewise.
26852         (_G_wchar_t): Likewise.
26853         (_G_wint_t): Likewise.
26854
26855 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26856
26857         * malloc/arena.c: Include malloc-sysdep.h.
26858         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26859         is sufficient to shrink the heap or an unmap is needed.
26860         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26861         new function check_may_shrink_heap.
26862         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26863         new function check_may_shrink_heap.
26864
26865 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26866
26867         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26868         comments.
26869
26870 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26871
26872         * catgets/test-gencat.sh: Add "set -e".
26873         * elf/tst-pathopt.sh: Likewise.
26874         * grp/tst_fgetgrent.sh: Likewise.
26875         * iconvdata/run-iconv-test.sh: Likewise.
26876         * intl/tst-gettext.sh: Likewise.
26877         * intl/tst-gettext2.sh: Likewise.
26878         * intl/tst-gettext4.sh: Likewise.
26879         * intl/tst-gettext6.sh: Likewise.
26880         * intl/tst-translit.sh: Likewise.
26881         * io/ftwtest-sh: Likewise.
26882         * libio/test-freopen.sh: Likewise.
26883         * malloc/tst-mtrace.sh: Likewise.
26884         * posix/globtest.sh: Likewise.
26885         * posix/tst-getconf.sh: Likewise.
26886         * posix/wordexp-tst.sh: Likewise.
26887         * stdio-common/tst-printf.sh: Likewise.
26888         * stdio-common/tst-unbputc.sh: Likewise.
26889         * stdlib/tst-fmtmsg.sh: Likewise.
26890         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26891         * catgets/Makefile: Do not specify -e option when running
26892         testsuite shell scripts.
26893         * elf/Makefile: Likewise.
26894         * grp/Makefile: Likewise.
26895         * iconvdata/Makefile: Likewise.
26896         * intl/Makefile: Likewise.
26897         * io/Makefile: Likewise.
26898         * libio/Makefile: Likewise.
26899         * malloc/Makefile: Likewise.
26900         * posix/Makefile: Likewise.
26901         * stdio-common/Makefile: Likewise.
26902         * stdlib/Makefile: Likewise.
26903         * sysdeps/x86_64/Makefile: Likewise.
26904
26905         * io/ftwtest-sh: Add copyright header.
26906         * posix/globtest.sh: Likewise.
26907         * posix/tst-getconf.sh: Likewise.
26908         * posix/wordexp-tst.sh: Likewise.
26909         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26910
26911 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26912
26913         [BZ #13679]
26914         * Makeconfig (+link): Defined as $(+link-static) if
26915         $(build-shared) isn't yes.
26916         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26917         isn't yes.
26918         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26919
26920         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26921
26922         [BZ #14562]
26923         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26924         new chunk size with MALLOC_ALIGN_MASK.
26925
26926 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26927
26928         [BZ #5044]
26929         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26930         <rounding-mode.h>.
26931         (__printf_fphex): Determine rounding using get_rounding_mode and
26932         round_away.
26933         * stdio-common/tst-printf-round.c (struct hex_test): New
26934         structure.
26935         (hex_tests): New variable.
26936         (test_hex_in_one_mode): New function.
26937         (do_test): Also run tests for hex float output.
26938
26939 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26940
26941         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26942         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26943         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26944         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26945         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26946         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26947         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26948         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26949
26950 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26951
26952         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26953         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26954         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26955         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26956
26957 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26958
26959         [BZ #14579]
26960         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26961         mode only.
26962         * elf/tst-rtld-load-self.sh: New test.
26963         * elf/Makefile: Run it.
26964
26965 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26966
26967         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26968         (tst-writev-ENV): Remove.
26969         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26970
26971 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26972
26973         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26974
26975 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26976
26977         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26978         unconditional.
26979         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26980         Likewise.
26981         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26982         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26983         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26984         Likewise.
26985
26986 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26987
26988         [BZ #14587]
26989         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26990         * config.make.in (have-cpp-asm-debuginfo): Removed.
26991         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26992         * configure: Regenerated.
26993
26994 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
26995
26996         [BZ #5044]
26997         * stdio-common/printf_fp.c: Include <stdbool.h> and
26998         <rounding-mode.h>.
26999         (___printf_fp): Determine rounding using get_rounding_mode and
27000         round_away.
27001         * stdio-common/tst-printf-round.c: New file.
27002         * stdio-common/Makefile (tests): Add tst-printf-round.
27003         (link-libm): New variable.
27004         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27005
27006 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27007
27008         [BZ #14576]
27009         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27010         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27011         Likewise.
27012         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27013         Likewise.
27014
27015 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27016
27017         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27018         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27019         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27020         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27021
27022 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27023
27024         [BZ #14518]
27025         * include/rounding-mode.h: New file.
27026         * sysdeps/generic/get-rounding-mode.h: Likewise.
27027         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27028         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27029         (MAX_VALUE): New macro.
27030         (MIN_VALUE): Likewise.
27031         (overflow_value): New function.
27032         (underflow_value): Likewise.
27033         (round_and_return): Use overflow_value and underflow_value to
27034         determine return values in overflow and underflow cases.  Use
27035         round_away to determine rounding depending on rounding mode.
27036         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27037         determine return values in overflow and underflow cases.
27038         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27039         (struct test_results): New structure.
27040         (struct test): Use struct test_results to store expected results
27041         for all rounding modes.
27042         (TEST): Include expected results for all rounding modes.
27043         (test_in_one_mode): New function.
27044         (do_test): Use test_in_one_mode to compute and check results.
27045         Check results for all rounding modes.
27046         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27047         $(link-libm).
27048
27049 2012-12-09  Allan McRae  <allan@archlinux.org>
27050
27051         * sysdeps/i386/fpu/libm-test-ulps: Update
27052
27053 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27054
27055         * sysdeps/generic/_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/gnu/_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         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27072         (_G_int32_t): Likewise.
27073         (_G_uint16_t): Likewise.
27074         (_G_uint32_t): Likewise.
27075         (_G_HAVE_BOOL): Likewise.
27076         (_G_HAVE_ATEXIT): Likewise.
27077         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27078         (_G_HAVE_IO_FILE_OPEN): Likewise.
27079
27080 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27081
27082         * csu/libc-tls.c: Update copyright years.
27083
27084 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27085
27086         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27087         [!_G_USING_THUNKS]: Remove conditional code.
27088         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27089         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27090
27091         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27092         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27093         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27094         (_G_VTABLE_LABEL_PREFIX): Likewise.
27095         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27096         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27097         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27098         (_G_VTABLE_LABEL_PREFIX): Likewise.
27099         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27100         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27101         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27102         (_G_VTABLE_LABEL_PREFIX): Likewise.
27103         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27104
27105 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27106
27107         * libio/Makefile: Include ../Makeconfig before tests.
27108         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27109         only if $(build-shared) is yes.
27110
27111         * iconv/gconv_db.c: Update copyright years.
27112
27113 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27114
27115         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27116         unwind info if defined PIC. Fix special cases description.
27117         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27118
27119         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27120         DP_HI_MASK entry.
27121         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27122
27123 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27124
27125         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27126
27127         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27128         is NULL.
27129
27130         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27131         (LDLIBS-tst-chk4): This.
27132         (LDFLAGS-tst-chk5): Renamed to ...
27133         (LDLIBS-tst-chk5): This.
27134         (LDFLAGS-tst-chk6): Renamed to ...
27135         (LDLIBS-tst-chk6): This.
27136         (LDFLAGS-tst-lfschk4): Renamed to ...
27137         (LDLIBS-tst-lfschk4): This.
27138         (LDFLAGS-tst-lfschk5): Renamed to ...
27139         (LDLIBS-tst-lfschk5): This.
27140         (LDFLAGS-tst-lfschk6): Renamed to ...
27141         (LDLIBS-tst-lfschk6): This.
27142
27143         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27144         on $(common-objpfx)soversions.mk.
27145
27146 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27147
27148         [BZ #10014]
27149         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27150         example host name.
27151
27152 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27153
27154         * malloc/arena.c (arena_get_retry): New function that gets
27155         another arena for the caller to try its request on.
27156         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27157         current arena cannot fulfill the request.
27158         (__libc_memalign): Likewise.
27159         (__libc_memalign): Likewise.
27160         (__libc_pvalloc): Likewise.
27161         (__libc_calloc): Likewise.
27162
27163 2012-09-05  John Tobey  <john.tobey@gmail.com>
27164
27165         [BZ #13542]
27166         * manual/arith.texi (Operations on Complex): Fix description
27167         of carg branch cut.
27168
27169 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27170
27171         [BZ #10014]
27172         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27173         host name.
27174
27175         [BZ #10038]
27176         * manual/memory.texi (Memory): Make order of menu items match
27177         order of sections.
27178
27179 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27180
27181         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27182         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27183         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27184
27185 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27186
27187         * csu/libc-tls.c (static_dtv): Renamed to ...
27188         (_dl_static_dtv): This.  Make it global.
27189         (_dl_initial_dtv): Removed.
27190         (__libc_setup_tls): Updated.
27191         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27192         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27193         DL_INITIAL_DTV.
27194
27195 2012-09-06  Petr Machata  <pmachata@redhat.com>
27196
27197         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27198         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27199         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27200         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27201
27202 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27203
27204         [BZ #14545]
27205         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27206         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27207         freeing dtv[-1].
27208
27209 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27210
27211         [BZ #14544]
27212         * Makeconfig (link-static-before-libc): Replace $(+prector)
27213         with $(+prectorT).
27214         (link-static-after-libc): Replace $(+postctor) with
27215         $(+postctorT).
27216         (link-bounded): Replace $(+prector)/$(+postctor) with
27217         $(+prectorT)/$(+postctorT).
27218         (+prectorT): New macro.
27219         (+postctorT): Likewise.
27220
27221 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27222
27223         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27224         (round_str): Handle values above the maximum for IBM long double
27225         as inexact.
27226         * stdlib/tst-strtod-round.c (tests): Regenerated.
27227
27228 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27229
27230         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27231         assembler flag.
27232         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27233         zarch_nohighgprs around the zarch optimized routines.
27234         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27235         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27236         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27237         for zarch.
27238
27239 2012-09-05  David S. Miller  <davem@davemloft.net>
27240
27241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27242
27243         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27244         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27245         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27246         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27247         entries.
27248
27249 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27250
27251         * malloc/arena.c: Fold copyright years.
27252         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27253
27254 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27255
27256         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27257
27258 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27259
27260         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27261
27262 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27263
27264         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27265         change internal state upon failure.
27266
27267 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27268
27269         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27270         * malloc/memusage.c (mmap): Likewise.
27271         (mmap64, mremap): Likewise.  Adjust name in comment.
27272
27273 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27274
27275         * libio/fileops.c: Fix typos in comments.
27276         * libio/oldfileops.c: Likewise.
27277         * libio/wfileops.c: Likewise.
27278
27279 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27280
27281         [BZ #1349]
27282         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27283         (tst-malloc-usable-ENV): Set environment for test case.
27284         * malloc/hooks.c (malloc_check_get_size): New function to get
27285         requested size.
27286         * malloc/malloc.c (musable): Use malloc_check_get_size.
27287         * malloc/tst-malloc-usable.c: New test case.
27288
27289 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27290
27291         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27292
27293 2012-09-05  Allan McRae  <allan@archlinux.org>
27294
27295         [BZ #13966]
27296         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27297         determine header location.
27298         * configure: Regenerated.
27299
27300 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27301
27302         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27303         float format.
27304         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27305         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27306         format.
27307         (test): Regenerate.
27308
27309 2012-09-04  David S. Miller  <davem@davemloft.net>
27310
27311         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27312         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27313         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27314
27315 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27316
27317         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27318         failures.
27319
27320         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27321
27322 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27323
27324         [BZ #9914]
27325         * libio/iogetdelim.c: Include <limits.h>.
27326         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27327         + len + 1 would overflow.
27328
27329 2012-09-03  Andreas Jaeger  <aj@suse.de>
27330
27331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27332         * sysdeps/i386/fpu/libm-test-ulps: Update.
27333
27334 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27335
27336         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27337         Add s_sinf-sse2, s_conf-sse2.
27338
27339         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27340         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27341         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27342         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27343
27344         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27345         for using routine as __sinf_ia32.
27346         Use macro for function declaration and weak_alias.
27347         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27348         for using routine as __cosf_ia32.
27349         Use macro for function declaration and weak_alias.
27350
27351         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27352         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27353
27354         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27355         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27357
27358         * math/libm-test.inc (cos_test): Add more test cases.
27359         (sin_test): Likewise.
27360         (sincos_test): Likewise.
27361
27362 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27363
27364         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27365         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27366         hidden.
27367         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27368
27369 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27370
27371         [BZ #14538]
27372         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27373         first element of the GOT.
27374         (elf_machine_load_address): Return the difference between
27375         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27376
27377 2012-09-01  Allan McRae  <allan@archlinux.org>
27378
27379         [BZ #13412]
27380         * configure.in (AWK): Require gawk version 3.0 or later.
27381         * configure: Regenerated.
27382
27383 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27384
27385         * sysdeps/unix/sysv/linux/kernel-features.h
27386         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27387         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27388         [__NR_clock_getres]: Make code unconditional.
27389         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27390         (clock_getcpuclockid): Remove code left unreachable by removal of
27391         conditionals.
27392         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27393         code unconditional.
27394         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27395         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27396         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27397         Make code unconditional.
27398         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27399         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27400         * sysdeps/unix/sysv/linux/clock_settime.c
27401         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27402         conditional code.
27403         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27404         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27405
27406 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27407
27408         [BZ #14476]
27409         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27410         scripts/test-installation.pl.
27411
27412         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27413         and $ld_so_version if it is set.
27414
27415 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27416
27417         [BZ #14516]
27418         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27419         failure if reading from procfs failed.
27420         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27421
27422 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27423
27424         * sysdeps/unix/sysv/linux/kernel-features.h
27425         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27426         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27427         Remove conditional code.
27428         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27429         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27430         Remove conditional code.
27431         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27432         * sysdeps/unix/sysv/linux/i386/fxstat.c
27433         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27434         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27435         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27436         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27437         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27438         * sysdeps/unix/sysv/linux/i386/lxstat.c
27439         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27440         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27441         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27442         Remove conditional code.
27443         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27444         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27445         Remove conditional code.
27446         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27447         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27448         <kernel-features.h>.
27449         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27450         Remove.
27451         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27452         Remove conditional code.
27453         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27454         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27455         Remove conditional.
27456
27457 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27458
27459         [BZ #5400]
27460         * NEWS: Add fixed bug number.
27461
27462 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27463
27464         [BZ #14519]
27465         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27466         underflowing exponent in case of negative sign.
27467         * stdlib/tst-strtod-round-data: Add more tests.
27468         * stdlib/tst-strtod-round.c (tests): Regenerated.
27469
27470         [BZ #3479]
27471         * stdlib/strtod_l.c (NDIG): Remove.
27472         (HEXNDIG): Likewise.
27473         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27474         smallest representable value.
27475         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27476         lie within an exact representation of 1/2 ulp of the result.
27477         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27478         unconditionally.
27479         (TENS_P9_IDX): Define unconditionally.
27480         (TENS_P9_SIZE): Likewise.
27481         (TENS_P10_IDX): Likewise.
27482         (TENS_P10_SIZE): Likewise.
27483         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27484         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27485         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27486         entries for 10^2^13 and 10^2^14.
27487         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27488         (TENS_P13_IDX): Define.
27489         (TENS_P13_SIZE): Likewise.
27490         (TENS_P14_IDX): Likewise.
27491         (TENS_P14_SIZE): Likewise.
27492         (_fpioconst_pow10): Change array size to
27493         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27494         unconditional.
27495         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27496         1024]: Add entries for 10^2^13 and 10^2^14.
27497         [LAST_POW10 > _LAST_POW10]: Remove #error.
27498         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27499         (_fpioconst_pow10): Change array size to
27500         FPIOCONST_POW10_ARRAY_SIZE.
27501         * stdlib/gen-fpioconst.c: New file.
27502         * stdlib/gen-tst-strtod-round.c: Likewise.
27503         * stdlib/tst-strtod-round-data: Likewise.
27504         * stdlib/tst-strtod-round.c: Likewise.
27505         * stdlib/Makefile (tests): Add tst-strtod-round.
27506
27507         [BZ #14459]
27508         * stdlib/strtod_l.c: Include <stdint.h>.
27509         (NDEBUG): Do not define.
27510         (round_and_return): Change EXPONENT parameter to type intmax_t.
27511         Rearrange calculations to avoid internal overflow possibilities.
27512         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27513         Rearrange calculations to avoid internal overflow possibilities.
27514         Assert that number fits inside MPNSIZE limbs.
27515         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27516         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27517         calculations and add assertions to avoid internal overflow
27518         possibilities.  Add casts to avoid signed/unsigned operations.
27519         * stdlib/tst-strtod-overflow.c: New file.
27520         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27521
27522 2012-08-25  Marek Polacek  <polacek@redhat.com>
27523
27524         * time/time.h: Fix some typos in comments.
27525
27526 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27527
27528         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27529         * posix/tst-rfc3484-2.c: Likewise.
27530         * posix/tst-rfc3484-3.c: Likewise.
27531
27532 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27533
27534         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27535         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27536
27537 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27538
27539         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27540         #include of fxstatat64.c.
27541
27542 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27543
27544         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27545         * shadow/getspent_r.c: Likewise.
27546         * shadow/getspnam.c: Likewise.
27547         * shadow/getspnam_r.c: Likewise.
27548         * gshadow/getsgent.c: Likewise.
27549         * gshadow/getsgent_r.c: Likewise.
27550         * gshadow/getsgnam.c: Likewise.
27551         * gshadow/getsgnam_r.c: Likewise.
27552         * inet/getnetbyad.c: Likewise.
27553         * inet/getnetbyad_r.c: Likewise.
27554         * inet/getnetbynm.c: Likewise.
27555         * inet/getnetbynm_r.c: Likewise.
27556         * inet/getnetent.c: Likewise.
27557         * inet/getnetent_r.c: Likewise.
27558         * inet/getproto.c: Likewise.
27559         * inet/getproto_r.c: Likewise.
27560         * inet/getprtent.c: Likewise.
27561         * inet/getprtent_r.c: Likewise.
27562         * inet/getprtname.c: Likewise.
27563         * inet/getprtname_r.c: Likewise.
27564         * inet/getrpcbyname.c: Likewise.
27565         * inet/getrpcbyname_r.c: Likewise.
27566         * inet/getrpcbynumber.c: Likewise.
27567         * inet/getrpcbynumber_r.c: Likewise.
27568         * inet/getrpcent.c: Likewise.
27569         * inet/getrpcent_r.c: Likewise.
27570         * inet/getaliasent.c: Likewise.
27571         * inet/getaliasent_r.c: Likewise.
27572         * inet/getaliasname.c: Likewise.
27573         * inet/getaliasname_r.c: Likewise.
27574         * nscd/getgrgid_r.c: Likewise.
27575         * nscd/getgrnam_r.c: Likewise.
27576         * nscd/gethstbyad_r.c: Likewise.
27577         * nscd/gethstbynm3_r.c: Likewise.
27578         * nscd/getpwnam_r.c: Likewise.
27579         * nscd/getpwuid_r.c: Likewise.
27580         * nscd/getsrvbynm_r.c: Likewise.
27581         * nscd/getsrvbypt_r.c: Likewise.
27582         * nscd/gai.c: Likewise.
27583
27584         * configure.in (build_nscd): New substituted variable, set
27585         by --disable-build-nscd and defaults to $use_nscd.
27586         * configure: Regenerated.
27587         * config.make.in (build-nscd): New substituted variable.
27588         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27589         Change conditional to require [$(build-nscd) = yes] as well.
27590         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27591
27592         [BZ# 13696]
27593         * configure.in (use_nscd): New substituted variable, set by
27594         --disable-nscd.  If enabled, define USE_NSCD.
27595         * configure: Regenerated.
27596         * config.h.in: Add USE_NSCD.
27597         * config.make.in (use-nscd): New substituted variable.
27598         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27599         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27600         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27601         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27602         (CFLAGS-getgrnam_r.c): Likewise.
27603         (CFLAGS-initgroups.c): Likewise.
27604         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27605         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27606         Variables removed.
27607         * inet/getnetgrent_r.c
27608         (nscd_setnetgrent): New function, broken out of ...
27609         (setnetgrent): ... here.  Call it.
27610         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27611         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27612         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27613         * nscd/Makefile (routines, aux): Move definitions after include of
27614         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27615         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27616         Conditionalize on [USE_NSCD].
27617         (is_nscd, nscd_init_cb): Likewise.
27618         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27619         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27620         * nss/nss_db/db-init.c: Likewise.
27621         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27622         [USE_NSCD].
27623         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27624         (make_request): Use it.
27625         (cache_valid_p): New function.
27626         (__check_pf): Use it.
27627         * NEWS: Add item for --disable-nscd.
27628
27629 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27630
27631         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27632         to support sed >= 4.2.1-20-ga9bf076.
27633         * configure: Regenerated.
27634
27635 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27636
27637         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27638         Conditionalize whole body on [IREL].
27639
27640 2012-08-22  Jeff Law <law@redhat.com>
27641
27642         [BZ #14505]
27643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27644         if the family is PF_UNSPEC.
27645
27646 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27647
27648         * Makerules (lib-version): Rename from V.
27649         (install-lib-nosubdir): Change V to lib-version.
27650
27651 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27652
27653         [BZ #14252]
27654         * powerpc32/power6/wcschr.c: New file.
27655         * powerpc32/power6/wcscpy.c: New file.
27656         * powerpc32/power6/wcsrchr.c: New file.
27657         * powerpc64/power6/wcschr.c: New file.
27658         * powerpc64/power6/wcscpy.c: New file.
27659         * powerpc64/power6/wcsrchr.c: New file.
27660
27661 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27662
27663         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27664         (two_way_short_needle): Use it.
27665         * string/strstr.c (AVAILABLE1_USES_J): Define.
27666         * string/strcasestr.c: Likewise.
27667
27668         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27669         array references.
27670         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27671
27672         [BZ #11607]
27673         * NEWS: Add an entry.
27674         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27675         define their defaults.
27676         (two_way_short_needle): Detect end-of-string on-the-fly.
27677         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27678         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27679         * string/bug-strcasestr1.c: New test.
27680         * string/Makefile: Run it.
27681
27682 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27683
27684         [BZ #11607]
27685         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27686         the first character.
27687
27688 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27689
27690         * csu/elf-init.c (__libc_csu_irel): Function removed.
27691         * csu/libc-start.c (apply_irel): New function.
27692         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27693
27694 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27695
27696         * sysdeps/unix/sysv/linux/kernel-features.h
27697         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27698         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27699         <kernel-features.h>.
27700         [__NR_fadvise64_64]: Make code unconditional.
27701         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27702         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27703         !__NR_fadvise64_64)]: Likewise.
27704         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27705         !__NR_fadvise64_64))]: Likewise.
27706         [__NR_fadvise64]: Make code unconditional.
27707         [!__NR_fadvise64]: Remove conditional code.
27708         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27709         <kernel-features.h>.
27710         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27711         unconditional.
27712         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27713         conditional code.
27714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27715         not include <kernel-features.h>.
27716         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27717         unconditional.
27718         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27719         conditional code.
27720         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27721         include <kernel-features.h>.
27722         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27723         unconditional.
27724         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27725         conditional code.
27726
27727 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27728
27729         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27730         slight instruction rearrangements per scrollpipe analysis.
27731         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27732
27733 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27734
27735         * manual/syslog.texi (syslog; vsyslog, closelog):
27736         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27737         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27738
27739         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27740         DSOCAPS to match condition on defining it.
27741
27742 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27743
27744         * sysdeps/unix/sysv/linux/kernel-features.h
27745         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27747         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27748         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27750         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27751         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27753         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27754         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27755
27756         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27757         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27758
27759         * sysdeps/unix/sysv/linux/kernel-features.h
27760         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27761         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27762         unconditional.
27763         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27764         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27765         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27766         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27767         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27768         Make code unconditional.
27769         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27770         (__mmap64) [!__NR_mmap2]: Likewise.
27771         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27772         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27773         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27774         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27775         [__NR_mmap2]: Make code unconditional.
27776         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27777         (__mmap64) [!__NR_mmap2]: Likewise.
27778
27779 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27780
27781         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27782
27783 2012-08-18  Andreas Jaeger  <aj@suse.de>
27784
27785         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27786
27787 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27788
27789         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27790         * include/unistd.h (__have_sock_cloexec): Likewise.
27791         (__have_pipe2): Likewise.
27792         (__have_dup3): Likewise.
27793
27794 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27795
27796         [BZ #9685]
27797         * include/unistd.h (__have_pipe2): Change define into an extern int.
27798         (__have_dup3): Likewise.
27799         * socket/have_sock_cloexec.c: Include fcntl.h.
27800         (__have_pipe2): New variable.
27801         (__have_dup3): Likewise.
27802
27803 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27804
27805         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27806
27807 2012-08-17  Marek Polacek  <polacek@redhat.com>
27808
27809         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27810         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27811
27812 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27813
27814         * configure.in: Add AC_SUBST for sysheaders.
27815         * configure: Regenerated.
27816         * config.make.in (sysheaders): New substituted variable.
27817
27818         * sysdeps/unix/mkfifo.c: Moved ...
27819         * sysdeps/posix/mkfifo.c: ... here.
27820         * sysdeps/unix/mkfifoat.c: Moved ...
27821         * sysdeps/posix/mkfifoat.c: ... here.
27822
27823         * sysdeps/unix/utime.c: Moved ...
27824         * sysdeps/posix/utime.c: ... here.
27825
27826         * sysdeps/unix/time.c: Moved ...
27827         * sysdeps/posix/time.c: ... here.
27828         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27829         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27830
27831         * sysdeps/unix/nice.c: Moved ...
27832         * sysdeps/posix/nice.c: ... here.
27833
27834         * sysdeps/unix/alarm.c: Moved ...
27835         * sysdeps/posix/alarm.c: ... here.
27836
27837         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27838
27839 2012-08-17  Jeff Law <law@redhat.com>
27840
27841         * intl/Makefile (codeset_mo): New variable.
27842         ($(codeset_mo)): New target.
27843         (tst-codeset.out): Depend on that.  Remove explicit rule.
27844         (tst-gettext3.out, tst-gettext5.out): Likewise.
27845         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27846         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27847         * intl/tst-codeset.sh: Remove.
27848         * intl/tst-gettext3.sh: Likewise.
27849         * intl/tst-gettext5.sh: Likewise.
27850
27851 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27852
27853         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27854         * sysdeps/unix/syscalls.list: ... here.
27855
27856         * sysdeps/posix/getaddrinfo.c
27857         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27858         (gaiconf_init, gaiconf_reload): Use them.
27859         [!_STATBUF_ST_NSEC]
27860         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27861         Define using time_t rather than struct timespec.
27862
27863         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27864         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27865         Macros removed.
27866         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27867         [!NO_THREADS].
27868         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27869         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27870         Likewise.
27871
27872         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27873         __libc_cleanup_push argument.
27874
27875         * bits/param.h: New file.
27876         * misc/sys/param.h: New file.
27877         * include/sys/param.h: New file.
27878         * misc/Makefile (headers): Add bits/param.h.
27879         * sysdeps/generic/sys/param.h: File removed.
27880         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27881         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27882         * sysdeps/mach/hurd/bits/param.h: New file.
27883         * sysdeps/mach/hurd/sys/param.h: File removed.
27884
27885         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27886         last change.
27887
27888         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27889         [_IO_MTSAFE_IO].
27890         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27891         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27892         New macros.
27893
27894         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27895         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27896         rather than -D_IO_MTSAFE_IO conditionally.
27897         * stdio-common/Makefile (CPPFLAGS): Likewise.
27898         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27899         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27900         Use $(libio-mtsafe).
27901         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27902         of -D_IO_MTSAFE_IO.
27903         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27904         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27905         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27906         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27907         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27908         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27909         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27910         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27911         (CFLAGS-fread_u_chk.c): Likewise.
27912         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27913         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27914         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27915         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27916         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27917         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27918         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27919         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27920         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27921
27922         * libio/Makefile: Test [$(libc-reentrant) = yes]
27923         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27924
27925         * Makeconfig
27926         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27927         * sysdeps/pthread/configure: File removed.
27928         * sysdeps/pthread/Makeconfig: New file.
27929         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27930         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27931
27932 2012-08-16  Gary Benson  <gbenson@redhat.com>
27933
27934         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27935         unmapping the first object in a namespace.
27936
27937 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27938
27939         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27940         (__internal_setnetgrent): ... this.  Add internal_function to
27941         definition.  Add libc_hidden_def.
27942         (setnetgrent): Update caller.
27943         (internal_endnetgrent): Renamed to ...
27944         (__internal_endnetgrent): ... this.  Add internal_function to
27945         definition.  Add libc_hidden_def.
27946         (endnetgrent): Update caller.
27947         (internal_getnetgrent_r): Renamed to ...
27948         (__internal_getnetgrent_r): ... this.  Add internal_function to
27949         definition.  Add libc_hidden_def.
27950         (__getnetgrent_r): Update caller.
27951         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27952
27953 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27954
27955         * stdlib/longlong.h: Update from GCC.
27956
27957 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27958
27959         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27960         on _QL, which is set by umul_ppmm but never used.
27961         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27962         variables, which are set by GMP macros but never used.
27963         * stdio-common/_itowa.c (_itowa): Likewise.
27964         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27965         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27966
27967 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27968
27969         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27970         struct La_sh_regs is not constant.
27971         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27972         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27973         and struct La_sparc64_regs are not constant.
27974
27975 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27976
27977         * sysdeps/unix/sysv/linux/kernel-features.h
27978         (__ASSUME_POSIX_TIMERS): Remove.
27979         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27980         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27981         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27982         Make code unconditional.
27983         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27984         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27985         Make code unconditional.
27986         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27987         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27988         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27989         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27990         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27991         Make code unconditional.
27992         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27993         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27994         (__libc_missing_posix_timers): Remove.
27995
27996 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27997
27998         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27999         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28000
28001         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28002
28003         * elf/dl-sym.c: Include <stdlib.h>.
28004
28005         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28006         constants, which avoids warnings in 32-bit builds.
28007
28008         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28009         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28010
28011         * misc/lseek.c: File moved to ...
28012         * io/lseek.c: ... here.
28013
28014         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28015
28016         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28017         shifting LEN more than 31 bits at once.
28018
28019 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28020
28021         [BZ #14195]
28022         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28023         segmentation fault for a case of two empty input strings.
28024         * string/test-strncasecmp.c (check1): Renamed to...
28025         (bz12205): ...this.
28026         (bz14195): Add new testcase for two empty input strings and N > 0.
28027         (test_main): Call new testcase, adapt for renamed function.
28028
28029 2012-08-15  Andreas Jaeger  <aj@suse.de>
28030
28031         [BZ #14090]
28032         * crypt/md5test2.c: New test, based on test supplied by Serge
28033         Belyshev <belyshev@depni.sinp.msu.ru>.
28034         * crypt/Makefile (xtests): Add md5test-giant..
28035         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28036
28037 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28038
28039         [BZ #14090]
28040         * crypt/md5.c (md5_process_block): Don't assume the buffer
28041         length is less than 2**32.
28042         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28043         length is less than 2**64.
28044
28045 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28046
28047         * string/str-two-way.h: Include <sys/param.h>.
28048         (MAX): Macro removed.
28049
28050         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28051         Move #define and #undef of memmove to just before and after
28052         including <string.h>.
28053
28054         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28055         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28056         and after including <string.h>.  Move declarations of
28057         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28058         to before #include "string/memmove.c".
28059
28060         * include/dirent.h: Declare __getdirentries.
28061
28062         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28063         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28064
28065 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28066
28067         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28068         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28069         * sysdeps/i386/configure: Regenerated.
28070         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28071         STABS_CURRENT_FILE, and STABS_FUN.
28072         (END): Remove call to STABS_FUN_END.
28073         (STABS_CURRENT_FILE1): Delete.
28074         (STABS_CURRENT_FILE): Likewise.
28075         (STABS_FUN): Likewise.
28076         (STABS_FUN_END): Likewise.
28077         (STABS_FUN2): Likewise.
28078         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28079         * sysdeps/x86_64/configure: Regenerated.
28080
28081 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28082
28083         * elf/dl-open.c: Include <atomic.h>.
28084         * elf/dl-lookup.c: Likewise.
28085
28086 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28087
28088         * sysdeps/unix/sysv/linux/kernel-features.h
28089         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28090         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28091         unconditionally.
28092         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28093         unconditionally.
28094         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28095         condition on __ASSUME_CLONE_THREAD_FLAGS.
28096
28097 2012-08-14  Andreas Jaeger  <aj@suse.de>
28098
28099         * sysdeps/i386/fpu/libm-test-ulps: Update.
28100
28101 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28102
28103         * include/atomic.h (atomic_exchange_and_add): Split into ...
28104         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28105         New atomic macros.
28106
28107 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28108
28109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28110
28111 2012-08-13  Jeff Law <law@redhat.com>
28112
28113         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28114         null byte in the output string.
28115
28116 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28117
28118         * sysdeps/unix/sysv/linux/kernel-features.h
28119         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28120         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28121         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28122         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28123         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28124         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28125         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28126
28127 2012-08-09  Jeff Law <law@redhat.com>
28128
28129         [BZ #13939]
28130         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28131         When avoid_arena is set, don't retry in the that arena.  Pick the
28132         next one, whatever it might be.
28133         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28134         (arena_lock): Pass in new parameter to arena_get2.
28135         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28136         arena_get2.
28137         (__libc_malloc): Unify retrying after main arena failure with
28138         __libc_memalign version.
28139         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28140
28141 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28142
28143         [BZ #14166]
28144         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28145         to __redirect_strstr.
28146         (__strstr_sse42): Use typeof __redirect_strstr.
28147         (__strstr_ia32): Likewise.
28148         (__libc_strstr): New prototype.
28149         (strstr): Renamed to ...
28150         (__libc_strstr): This.
28151         (strstr): New strong alias of __libc_strstr.
28152         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28153         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28154         __redirect_time.
28155         Include <time.h>.
28156         (__libc_time): New prototype.
28157         (time_ifunc): Replace time with __libc_time.
28158         (time): New strong alias and hidden definition of __libc_time.
28159         (__GI_time): Remove strong alias.
28160         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28161         Include <stddef.h>.
28162         (memmove): Redefined to __redirect_memmove.
28163         (__memmove_sse2): Use typeof __redirect_memmove.
28164         (__memmove_ssse3): Likewise.
28165         (__memmove_ssse3_back): Likewise.
28166         (__libc_memmove): New prototype.
28167         (memmove): Renamed to ...
28168         (__libc_memmove): This.
28169         (memmove): New strong alias of __libc_memmove.
28170
28171 2012-08-08  Mark Salter  <msalter@redhat.com>
28172
28173         * elf/elf.h
28174         (R_MN10300_TLS_GD): Define.
28175         (R_MN10300_TLS_LD): Likewise.
28176         (R_MN10300_TLS_LDO): Likewise.
28177         (R_MN10300_TLS_GOTIE): Likewise.
28178         (R_MN10300_TLS_IE): Likewise.
28179         (R_MN10300_TLS_LE): Likewise.
28180         (R_MN10300_TLS_DTPMOD): Likewise.
28181         (R_MN10300_TLS_DTPOFF): Likewise.
28182         (R_MN10300_TLS_TPOFF): Likewise.
28183         (R_MN10300_SYM_DIFF): Likewise.
28184         (R_MN10300_ALIGN): Likewise.
28185         (R_MN10300_NUM): Update.
28186
28187 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28188
28189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28190         Remove.
28191
28192 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28193
28194         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28195
28196         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28197         sysdeps/unix -> sysdeps/posix move.
28198         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28199
28200 2012-08-07      Allan McRae     <allan@archlinux.org>
28201
28202         [BZ #14303]
28203         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28204         (SUNOS_CPP): Likewise.
28205         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28206         not found.
28207         (open_input): Call CPP using execvp.
28208
28209 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28210
28211         * sysdeps/unix/sysv/linux/kernel-features.h
28212         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28213         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28214         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28215         (__ASSUME_WAITID_SYSCALL): Likewise.
28216         * sysdeps/unix/sysv/linux/dl-execstack.c
28217         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28218         code unconditional.
28219         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28220         conditional code.
28221         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28222         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28223         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28224         code.
28225         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28226         unconditional.
28227         [__ASSUME_WAITID_SYSCALL]: Likewise.
28228         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28229
28230 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28231
28232         * sysdeps/unix/closedir.c: Renamed to ...
28233         * sysdeps/posix/closedir.c: ... here.
28234         * sysdeps/unix/dirfd.c: Renamed to ...
28235         * sysdeps/posix/dirfd.c: ... here.
28236         * sysdeps/unix/dirstream.h: Renamed to ...
28237         * sysdeps/posix/dirstream.h: ... here.
28238         * sysdeps/unix/fdopendir.c: Renamed to ...
28239         * sysdeps/posix/fdopendir.c: ... here.
28240         * sysdeps/unix/opendir.c: Renamed to ...
28241         * sysdeps/posix/opendir.c: ... here.
28242         * sysdeps/unix/readdir.c: Renamed to ...
28243         * sysdeps/posix/readdir.c: ... here.
28244         * sysdeps/unix/readdir_r.c: Renamed to ...
28245         * sysdeps/posix/readdir_r.c: ... here.
28246         * sysdeps/unix/rewinddir.c: Renamed to ...
28247         * sysdeps/posix/rewinddir.c: ... here.
28248         * sysdeps/unix/seekdir.c: Renamed to ...
28249         * sysdeps/posix/seekdir.c: ... here.
28250         * sysdeps/unix/telldir.c: Renamed to ...
28251         * sysdeps/posix/telldir.c: ... here.
28252         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28253         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28254         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28255         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28256
28257         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28258         * bits/fcntl.h: ... here.
28259
28260         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28261         not 0.
28262         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28263         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28264         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28265         (struct flock): Move l_start, l_len to the beginning.
28266         Use __pid_t for l_pid.
28267         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28268         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28269         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28270         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28271         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28272         [__USE_LARGEFILE64] (struct flock64): New type.
28273         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28274
28275         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28276         * bits/dirent.h: ... here.
28277
28278         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28279         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28280
28281 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28282
28283         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28284         Change from 2.6.0 to 2.6.16.
28285         * sysdeps/unix/sysv/linux/configure: Regenerated.
28286         * sysdeps/unix/sysv/linux/kernel-features.h
28287         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28288         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28289         version.
28290         (__ASSUME_UTIMES): Likewise.
28291         (__ASSUME_CLONE_STOPPED): Remove.
28292         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28293         architectures, not kernel version.
28294         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28295         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28296         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28297         (__ASSUME_WAITID_SYSCALL): Likewise.
28298         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28299         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28300         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28301         refer to older versions.
28302
28303 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28304
28305         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28306         Define alphasort64 as an alias.
28307         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28308         Define versionsort64 as an alias.
28309         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28310         Define scandir64 as an alias.
28311         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28312         Define scandirat64 as an alias.
28313         * dirent/alphasort64.c (alphasort64):
28314         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28315         * dirent/versionsort64.c: Likewise.
28316         * dirent/scandir64.c: Likewise.
28317         * dirent/scandirat64.c: Likewise.
28318         * sysdeps/wordsize-64/alphasort.c: File removed.
28319         * sysdeps/wordsize-64/alphasort64.c: File removed.
28320         * sysdeps/wordsize-64/scandir.c: File removed.
28321         * sysdeps/wordsize-64/scandir64.c: File removed.
28322         * sysdeps/wordsize-64/scandirat.c: File removed.
28323         * sysdeps/wordsize-64/scandirat64.c: File removed.
28324         * sysdeps/wordsize-64/versionsort.c: File removed.
28325         * sysdeps/wordsize-64/versionsort64.c: File removed.
28326         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28327         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28328         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28329         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28330         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28331         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28332         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28333         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28334
28335         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28337         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28339         [defined __arch64__ || defined __sparcv9]
28340         (__INO_T_MATCHES_INO64_T): New macro.
28341         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28342         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28343         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28344         * sysdeps/unix/sysv/linux/bits/dirent.h
28345         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28346         (_DIRENT_MATCHES_DIRENT64): New macro.
28347
28348         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28349         Define lockf64 as an alias.
28350         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28351         Define fseeko64 as an alias.
28352         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28353         Define ftello64 as an alias.
28354         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28355         Define _IO_fgetpos64 and fgetpos64 as aliases.
28356         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28357         Define _IO_fsetpos64 and fsetpos64 as aliases.
28358         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28359         Conditionalize body on this.
28360         * libio/fseeko64.c: Likewise.
28361         * libio/ftello64.c: Likewise.
28362         * libio/iofgetpos64.c: Likewise.
28363         * libio/iofsetpos64.c: Likewise.
28364         * sysdeps/wordsize-64/lockf.c: File removed.
28365         * sysdeps/wordsize-64/lockf64.c: File removed.
28366         * sysdeps/wordsize-64/fseeko.c: File removed.
28367         * sysdeps/wordsize-64/fseeko64.c: File removed.
28368         * sysdeps/wordsize-64/ftello.c: File removed.
28369         * sysdeps/wordsize-64/ftello64.c: File removed.
28370         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28371         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28372         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28373         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28374         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28375         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28376         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28377         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28378         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28379         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28380         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28381         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28382         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28383         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28384
28385         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28386         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28387         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28388         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28389         [defined __arch64__ || defined __sparcv9]
28390         (__OFF_T_MATCHES_OFF64_T): New macro.
28391         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28392         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28394         (__OFF_T_MATCHES_OFF64_T): New macro.
28395
28396 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28397
28398         * stdlib/secure-getenv.c (__secure_getenv): Replace
28399         GLIBC_2_16 with GLIBC_2_17.
28400
28401 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28402
28403         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28404         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28405
28406 2012-08-03  David S. Miller  <davem@davemloft.net>
28407
28408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28409
28410 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28411
28412         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28413         Remove.
28414         (__ASSUME_CORRECT_SI_PID): Likewise.
28415         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28416         (__ASSUME_TMPFS_NAME): Likewise.
28417         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28418         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28419         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28420         (HAVE_AUX_SECURE): Make definition unconditional.
28421         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28422         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28423
28424 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28425
28426         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28427         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28428         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28429         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28430         __eloop_threshold instead of SYMLOOP_MAX.
28431
28432         * sysdeps/generic/eloop-threshold.h: New file.
28433         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28434         of MAXSYMLINKS.
28435         * elf/chroot_canon.c (chroot_canon): Likewise.
28436
28437 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28438
28439         [BZ #13717]
28440         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28441         Change to 2.6.0 everywhere.
28442         * sysdeps/unix/sysv/linux/configure: Regenerated.
28443         * sysdeps/unix/sysv/linux/kernel-features.h
28444         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28445         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28446         kernel versions.
28447         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28448         (__ASSUME_FUTEX_REQUEUE): Remove.
28449         (__ASSUME_STATFS64): Define unconditionally.
28450         (__ASSUME_AT_SECURE): Likewise.
28451         (__ASSUME_CORRECT_SI_PID): Likewise.
28452         (__ASSUME_TGKILL): Define without depending on kernel version for
28453         i386.
28454         (__ASSUME_UTIMES): Likewise.
28455         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28456         kernel version.
28457         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28458         (__ASSUME_TMPFS_NAME): Likewise.
28459         * README: Update reference to Linux kernel versions.
28460
28461 2012-08-02  Marek Polacek  <polacek@redhat.com>
28462
28463         [BZ# 14150]
28464         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28465         libc_cv_asm_type_prefix with %.
28466         * configure: Regenerated.
28467         * include/libc-symbols.h: Remove comment about
28468         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28469         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28470         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28471         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28472         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28473         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28474         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28475         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28476         * elf/tst-unique2mod1.c: Likewise.
28477         * elf/tst-unique1mod2.c: Likewise.
28478         * elf/tst-unique1mod1.c: Likewise.
28479         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28480         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28481         Replace ASM_TYPE_DIRECTIVE with .type.
28482         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28483         * sysdeps/i386/sysdep.h: Likewise.
28484         * sysdeps/x86_64/sysdep.h: Likewise.
28485         * sysdeps/sh/sysdep.h: Likewise.
28486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28487         Do not define ASM_TYPE_DIRECTIVE.
28488         * sysdeps/powerpc/sysdep.h: Likewise.
28489         * sysdeps/powerpc/powerpc32/sysdep.h:
28490         Replace ASM_TYPE_DIRECTIVE with .type.
28491         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28492         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28493         * sysdeps/i386/fpu/e_powf.S: Likewise.
28494         * sysdeps/i386/fpu/e_expl.S: Likewise.
28495         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28496         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28497         * sysdeps/i386/fpu/e_pow.S: Likewise.
28498         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28499         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28500         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28501         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28502         * sysdeps/i386/fpu/e_log2.S: Likewise.
28503         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28504         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28505         * sysdeps/i386/fpu/e_powl.S: Likewise.
28506         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28507         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28508         * sysdeps/i386/fpu/e_logl.S: Likewise.
28509         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28510         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28511         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28512         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28513         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28514         * sysdeps/i386/fpu/e_log.S: Likewise.
28515         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28516         * sysdeps/i386/fpu/e_logf.S: Likewise.
28517         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28518         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28519         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28520         * sysdeps/i386/fpu/e_log10.S: Likewise.
28521         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28522         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28523         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28524         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28525         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28526         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28527         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28528         * sysdeps/i386/i686/strtok.S: Likewise.
28529         * sysdeps/i386/i386-mcount.S: Likewise.
28530         * sysdeps/i386/strtok.S: Likewise.
28531         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28532         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28533         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28534         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28535         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28536         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28537         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28538         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28539         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28540         * sysdeps/x86_64/_mcount.S: Likewise.
28541         * sysdeps/x86_64/strtok.S: Likewise.
28542         * sysdeps/sh/_mcount.S: Likewise.
28543
28544 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28545
28546         * libio/iofopen.c: Include <fcntl.h>.
28547         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28548         (_IO_fopen64, fopen64): Define as aliases.
28549         * libio/iofopen64.c: Include <fcntl.h>.
28550         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28551         Conditionalize body on this.
28552         * sysdeps/wordsize-64/iofopen.c: File removed.
28553         * sysdeps/wordsize-64/iofopen64.c: File removed.
28554
28555 2012-08-01  Marek Polacek  <polacek@redhat.com>
28556
28557         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28558         Use dlfcn directly instead of a variable.
28559         (binfmt-subdir): Do not define.
28560         (dlfcn): Likewise.
28561
28562 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28563
28564         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28565         Remove all definitions.
28566         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28567         <kernel-features.h>.
28568         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28569         (miss_F_GETOWN_EX): Remove all definitions.
28570         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28571         macro definition.
28572         [!__ASSUME_FCNTL64]: Remove conditional code.
28573         [__ASSUME_FCNTL64]: Make code unconditional.
28574         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28575         <kernel-features.h>.
28576         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28577         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28578         (lockf64) [__NR_fcntl64]: Make code unconditional.
28579         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28580
28581         * sysdeps/unix/sysv/linux/kernel-features.h
28582         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28583         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28584         Make code unconditional.
28585         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28586         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28588         [__NR_vfork]: Make code unconditional.
28589         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28590         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28592         [__NR_vfork]: Make code unconditional.
28593         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28594         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28595
28596 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28597
28598         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28599         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28600
28601         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28602         Define mkstemp64 as an alias.
28603         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28604         Define mkstemps64 as an alias.
28605         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28606         Define mkostemp64 as an alias.
28607         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28608         Define mkostemps64 as an alias.
28609         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28610         Conditionalize body on this.
28611         * misc/mkostemp64.c: Likewise.
28612         * misc/mkostemps64.c: Likewise.
28613         * misc/mkstemps64.c: Likewise.
28614         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28615         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28616         * sysdeps/wordsize-64/mkostemp.c: File removed.
28617         * sysdeps/wordsize-64/mkstemp.c: File removed.
28618         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28619         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28620         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28621         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28622
28623         [BZ #14138]
28624         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28625         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28626         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28627         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28628
28629         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28630         compat_symbol macros from <shlib-compat.h> rather than the underlying
28631         default_symbol_version and symbol_version macros, so that DEFAULT
28632         lines in shlib-versions are respected.
28633         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28634
28635 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28636
28637         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28638         Declare with warn_unused_result.
28639         (setgid, setregid, setegid, setresgid): Likewise.
28640         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28641         Likewise.
28642         * WUR-REPORT: Remove set*id functions.
28643
28644 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28645
28646         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28647
28648 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28649
28650         [BZ #10191]
28651         * include/sys/socket.h (__libc_accept, __libc_accept4):
28652         Add attribute_hidden.
28653         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28654
28655         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28656         use of PTR_MANGLE.
28657         * inet/getnetgrent_r.c (setup): Likewise.
28658
28659         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28660
28661 2012-07-31  David S. Miller  <davem@davemloft.net>
28662
28663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28664
28665 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28666
28667         [BZ #13629]
28668         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28669         value between 1.0 and 2.0 and smaller part has absolute value less
28670         than 1.0.
28671         * math/s_clog10.c (__clog10): Likewise.
28672         * math/s_clog10f.c (__clog10f): Likewise.
28673         * math/s_clog10l.c (__clog10l): Likewise.
28674         * math/s_clogf.c (__clogf): Likewise.
28675         * math/s_clogl.c (__clogl): Likewise.
28676         * math/libm-test.inc (clog_test): Add more tests.
28677         (clog10_test): Likewise.
28678         * sysdeps/i386/fpu/libm-test-ulps: Update.
28679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28680
28681 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28682
28683         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28684         Exit with zero in case no suitable GID is found, and write a
28685         message to standard error.
28686
28687 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28688
28689         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28690         rather than to 1.
28691         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28692         (MAXPATHLEN): Removed.
28693         (NOGROUP, NODEV): New macros.
28694         (setbit, clrbit, isset, isclr): New macros.
28695         (howmany, roundup, powerof2): New macros.
28696         (DEV_BSIZE): New macro.
28697
28698         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28699         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28700
28701         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28702         definition on [!__NO_LONG_DOUBLE_MATH].
28703
28704         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28705         PTR_MANGLE and PTR_DEMANGLE.
28706
28707         * socket/accept4.c (accept4): Rename to __libc_accept4.
28708         Define accept4 as a weak alias.
28709
28710         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28711         on [_DIRENT_HAVE_D_TYPE].
28712         * io/ftw.c (ftw_dir): Likewise.
28713
28714         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28715
28716         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28717
28718         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28719         Use the BSD numbers rather than the arbitrary ones we had.
28720         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28721         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28722         (SIGXCPU, SIGXFSZ): New macros.
28723         (_NSIG): Now 32.
28724
28725         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28726         initializer on [_LIBC_REENTRANT].
28727
28728         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28729         definitions inside [_POSIX_MAPPED_FILES].
28730
28731         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28732
28733         * dirent/opendir.c: Include <fcntl.h>.
28734
28735         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28736         (__libc_getspecific): Likewise.
28737         (__libc_key_create): Likewise.
28738
28739         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28740         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28741         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28742         (tmpfile64): Define as alias.
28743         * sysdeps/wordsize-64/tmpfile.c: File removed.
28744         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28745         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28746         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28747
28748         * stdio-common/vfscanf.c: Include <stdbool.h>.
28749         * nss/makedb.c: Likewise.
28750         * stdio-common/_i18n_number.h: Likewise.
28751         * argp/argp-help.c: Likewise.
28752         * posix/wordexp.c: Likewise.
28753         * sysdeps/posix/spawni.c: Likewise.
28754         * nss/nss_files/files-initgroups.c: Likewise.
28755         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28756         * nss/nss_files/files-initgroups.c: Likewise.
28757         * nss/nss_db/db-netgrp.c: Likewise.
28758         * nss/nss_db/db-initgroups.c: Likewise.
28759         * io/fchmodat.c: Include <sys/stat.h>.
28760
28761         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28762         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28763
28764         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28765         [HAVE_MMAP].
28766
28767         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28768         Add multiple inclusion protection.
28769
28770 2012-07-27  David S. Miller  <davem@davemloft.net>
28771
28772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28773
28774 2012-07-27  Gary Benson  <gbenson@redhat.com>
28775
28776         [BZ #14298]
28777         * elf/rtld.c: Include <stap-probe.h>.
28778         (dl_main): Added static probes "init_start" and "init_complete".
28779         * elf/dl-load.c: Include <stap-probe.h>.
28780         (lose): Take new parameter "nsid".
28781         Added static probe "map_failed".
28782         (_dl_map_object_from_fd): Pass namespace id to lose.
28783         Added static probe "map_start".
28784         (open_verify): Pass namespace id to lose.
28785         * elf/dl-open.c: Include <stap-probe.h>.
28786         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28787         and "reloc_complete".
28788         * elf/dl-close.c: Include <stap-probe.h>.
28789         (_dl_close_worker): Added static probes "unmap_start" and
28790         "unmap_complete".
28791         * elf/rtld-debugger-interface.txt: New file documenting the above.
28792
28793 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28794
28795         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28796         rather than a string variable.
28797         * sunrpc/rpc_main.c (h_output): Likewise.
28798         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28799
28800 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28801
28802         * inet/check_native.c: New file.
28803
28804 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28805
28806         [BZ #13629]
28807         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28808         if larger part has absolute value 1.0.
28809         * math/s_clog10.c (__clog10): Likewise.
28810         * math/s_clog10f.c (__clog10f): Likewise.
28811         * math/s_clog10l.c (__clog10l): Likewise.
28812         * math/s_clogf.c (__clogf): Likewise.
28813         * math/s_clogl.c (__clogl): Likewise.
28814         * math/libm-test.inc (clog_test): Add more tests.
28815         (clog10_test): Likewise.
28816         * sysdeps/i386/fpu/libm-test-ulps: Update.
28817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28818
28819         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28820         (pltexit): Likewise.
28821         (La_regs): Likewise.
28822         (La_retval): Likewise.
28823         (int_retval): Likewise.
28824         Update #error for removed macros to refer only to definitions in
28825         tst-audit.h.
28826         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28827         macro.
28828         (pltexit): Likewise.
28829         (La_regs): Likewise.
28830         (La_retval): Likewise.
28831         (int_retval): Likewise.
28832         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28833         macro.
28834         (pltexit): Likewise.
28835         (La_regs): Likewise.
28836         (La_retval): Likewise.
28837         (int_retval): Likewise.
28838         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28839         macro.
28840         (pltexit): Likewise.
28841         (La_regs): Likewise.
28842         (La_retval): Likewise.
28843         (int_retval): Likewise.
28844         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28845         macro.
28846         (pltexit): Likewise.
28847         (La_regs): Likewise.
28848         (La_retval): Likewise.
28849         (int_retval): Likewise.
28850         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28851         macro.
28852         (pltexit): Likewise.
28853         (La_regs): Likewise.
28854         (La_retval): Likewise.
28855         (int_retval): Likewise.
28856         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28857         macro.
28858         (pltexit): Likewise.
28859         (La_regs): Likewise.
28860         (La_retval): Likewise.
28861         (int_retval): Likewise.
28862         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28863         macro definitions in tst-audit.h.
28864         * sysdeps/i386/tst-audit.h: New file.
28865         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28866         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28867         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28868         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28869         * sysdeps/sh/tst-audit.h: Likewise.
28870         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28871         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28872         * sysdeps/x86_64/tst-audit.h: Likewise.
28873
28874 2012-07-26  Andreas Jaeger  <aj@suse.de>
28875
28876         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28877         ptrace.
28878
28879         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28880         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28881         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28882         PTRACE_O_MASK.
28883         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28884         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28885         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28886
28887         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28888         value.
28889
28890         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28891         _sigsys.
28892         (si_call_addr, si_syscall, si_arch): Define new macro.
28893         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28894         _sigsys.
28895         (si_call_addr, si_syscall, si_arch): Define new marcro.
28896         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28897         _sigsys.
28898         (si_call_addr, si_syscall, si_arch): Define new macro.
28899         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28900         _sigsys.
28901         (si_call_addr, si_syscall, si_arch): Define new macro.
28902
28903 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28904
28905         [BZ #13717]
28906         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28907         Change to 2.4.21 where previously 2.4.1.
28908         * sysdeps/unix/sysv/linux/configure: Regenerated.
28909         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28910         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28911         Linux kernel version.
28912         (__ASSUME_STD_AUXV): Remove.
28913         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28914         kernel version.
28915         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28916         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28917         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28918         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28919         (__ASSUME_NETLINK_SUPPORT): Likewise.
28920         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28921         (__no_netlink_support): Remove conditional definition.
28922         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28923         Remove.
28924         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28925         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28926         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28927         (if_nameindex_ioctl): Remove.
28928         (if_nameindex_netlink): Do not handle __no_netlink_support.
28929         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28930         code.
28931         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28932         Remove conditional code.
28933         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28934         code.
28935         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28936         unconditional.
28937         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28938         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28939         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28940         Remove.
28941         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28942         [!__ASSUME_STD_AUXV]: Remove conditional code.
28943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28944         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28945         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28947         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28948         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28949         code.
28950         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28952         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28953         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28954         conditional code.
28955         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28957         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28958         code.
28959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28960         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28961         conditional code.
28962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28963         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28964         code unconditional.
28965         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28966         conditional code.
28967         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28968         unconditional.
28969         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28970         conditional code.
28971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28972         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28973         unconditional.
28974         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28975         conditional code.
28976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28977         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28978         code unconditional.
28979         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28980         conditional code.
28981         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28982         unconditional.
28983         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28984         conditional code.
28985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28986         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28987         code unconditional.
28988         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28989         conditional code.
28990         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28991         unconditional.
28992         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28993         conditional code.
28994
28995 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
28996
28997         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28998         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28999         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29000         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29001         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29002         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29003         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29004         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29005         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29006         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29007         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29008         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29009         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29010         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29011         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29012         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29013         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29014         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29015         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29017         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29018         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29019         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29020
29021 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29022
29023         * Versions.def: Add GLIBC_2.17.
29024         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29025         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29026         Introduce __libc_secure_getenv.
29027         * stdlib/Versions (2.17): Add secure_getenv
29028         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29029         * stdlib/secure-getenv.c: Rename __secure_getenv to
29030         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29031         symbol __secure_getenv for GLIBC_2.0.
29032         * stdlib/tst-secure-getenv.c: New.
29033         * stdlib/Makefile (tests): Add testcase.
29034         * manual/startup.texi (Environment Access): Document
29035         secure_getenv.
29036         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29037         __libc_secure_getenv.
29038         * inet/ruserpass.c (ruserpass): Likewise.
29039         * malloc/mtrace.c (mtrace): Likewise.
29040         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29041         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29042         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29043         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29044         HAVE_SECURE_GETENV.
29045         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29046         __secure_getenv to __libc_secure_getenv.
29047         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29049         Likewise.
29050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29051         Likewise.
29052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29054         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29059
29060 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29061
29062         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29063         (struct La_i86_retval): Likewise.
29064         (struct La_x86_64_regs): Likewise.
29065         (struct La_x86_64_retval): Likewise.
29066         (struct La_x32_regs): Likewise.
29067         (struct La_x32_retval): Likewise.
29068         (struct La_ppc32_regs): Likewise.
29069         (struct La_ppc32_retval): Likewise.
29070         (struct La_ppc64_regs): Likewise.
29071         (struct La_ppc64_retval): Likewise.
29072         (struct La_sh_regs): Likewise.
29073         (struct La_sh_retval): Likewise.
29074         (struct La_s390_32_regs): Likewise.
29075         (struct La_s390_32_retval): Likewise.
29076         (struct La_s390_64_regs): Likewise.
29077         (struct La_s390_64_retval): Likewise.
29078         (struct La_sparc32_regs): Likewise.
29079         (struct La_sparc32_retval): Likewise.
29080         (struct La_sparc64_regs): Likewise.
29081         (struct La_sparc64_retval): Likewise.
29082         (struct audit_ifaces): Remove architecture-specific pltenter and
29083         pltexit members.
29084         * sysdeps/i386/ldsodefs.h: New file.
29085         * sysdeps/powerpc/ldsodefs.h: Likewise.
29086         * sysdeps/s390/ldsodefs.h: Likewise.
29087         * sysdeps/sh/ldsodefs.h: Likewise.
29088         * sysdeps/sparc/ldsodefs.h: Likewise.
29089         * sysdeps/x86_64/ldsodefs.h: Likewise.
29090
29091 2012-07-25  Marek Polacek  <polacek@redhat.com>
29092
29093         [BZ #6808]
29094         * math/libm-test.inc (yn_test): Add another test.
29095         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29096         to ERANGE when the result is +-Inf.
29097         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29098         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29099         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29100         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29101
29102 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29103
29104         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29105         equal to 0.
29106         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29107         clock_t.
29108         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29109
29110 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29111
29112         * configure.in <sysdeps resolving>: Correct printing
29113         Implies_before.
29114         * configure: Regenerate.
29115
29116 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29117
29118         * math/w_ilogb.c: Include <limits.h>.
29119         * math/w_ilogbl.c: Likewise.
29120
29121 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29122
29123         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29124         va_copy.  Document allowing for unavailable va_copy only as
29125         pre-C99 compatibility.
29126         * manual/string.texi (Copying and Concatenation): Use va_copy
29127         instead of __va_copy in concat example.
29128
29129 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29130
29131         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29132         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29133         it if not null.
29134
29135         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29136         with O_NOLINK passed to __file_name_lookup.
29137
29138         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29139         with O_NOLINK passed to __file_name_lookup.
29140
29141         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29142         negative N or less than NGIDS.
29143
29144         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29145         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29146         enough.  Use memcpy instead of strncpy.
29147
29148 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29149
29150         * elf/Makefile (check-data): Remove.
29151         (localplt.data): New vpath directive.
29152         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29153         instead of $(check-data).
29154         * scripts/data/localplt-generic.data: Move to ...
29155         * sysdeps/generic/localplt.data: ... here.
29156         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29157         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29158         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29160         ... here.
29161         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29163         ... here.
29164         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29166         ... here.
29167         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29169         ... here.
29170         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29172         ... here.
29173         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29175         ... here.
29176
29177 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29178
29179         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29180         PPC32 and PPC64 files.
29181         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29182         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29183
29184 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29185
29186         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29187         __makecontext_ret to ...
29188         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29189         ... here and call exit if uc_link is NULL.  New file.
29190         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29191         __makecontext_ret.S.
29192         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29193         __makecontext_ret to ...
29194         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29195         ... here and call exit if uc_link is NULL.  New file.
29196         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29197         __makecontext_ret.S.
29198
29199 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29200
29201         * elf/elf.h (R_390_IRELATIVE): New definition.
29202         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29203         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29204         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29205         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29206         (elf_machine_lazy_rel): Likewise.
29207         * sysdeps/s390/dl-irel.h: New file.
29208         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29209         * sysdeps/s390/s390-64/memset.S: New asm code.
29210         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29211         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29212         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29213         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29214         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29215         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29216         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29217         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29218         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29219         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29220         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29221         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29222         * sysdeps/s390/s390-32/memset.S: New asm code.
29223         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29224
29225 2012-07-17  Marek Polacek  <polacek@redhat.com>
29226
29227         [BZ #14349]
29228         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29229         * sysdeps/s390/s390-64/configure.in: Likewise.
29230         * sysdeps/sparc/configure.in: Likewise.
29231         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29232         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29233         * sysdeps/i386/configure.in: Likewise.
29234         * sysdeps/x86_64/configure.in: Likewise.
29235         * sysdeps/sh/configure.in: Likewise.
29236         * sysdeps/s390/s390-32/configure: Regenerated.
29237         * sysdeps/s390/s390-64/configure: Likewise.
29238         * sysdeps/x86_64/configure: Likewise.
29239         * sysdeps/sh/configure: Likewise.
29240         * sysdeps/powerpc/powerpc64/configure: Likewise.
29241         * sysdeps/powerpc/powerpc32/configure: Likewise.
29242         * sysdeps/sparc/configure: Likwise.
29243         * sysdeps/i386/configure: Likewise.
29244
29245         * elf/dl-open.c: Comment fixes.
29246
29247 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29248
29249         * Makefile [CXX] (check-data): Remove.
29250         [CXX] (c++-types.data): New vpath directive.
29251         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29252         vpath.  Do not allow for C++ type data being missing.
29253         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29254         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29255         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29256         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29257         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29258         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29259         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29261         ... here.
29262         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29264         ... here.
29265         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29267         ... here.
29268         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29270         ... here.
29271         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29273         ... here.
29274         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29276         ... here.
29277         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29279         ... here.
29280         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29282
29283         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29284         definitions to architecture-specific files.
29285         (TLS_IE): Likewise.
29286         (TLS_LD): Likewise.
29287         (TLS_GD): Likewise.
29288         * sysdeps/i386/tls-macros.h: New file.
29289         * sysdeps/powerpc/tls-macros.h: Likewise.
29290         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29291         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29292         * sysdeps/sh/tls-macros.h: Likewise.
29293         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29294         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29295         * sysdeps/x86_64/tls-macros.h: Likewise.
29296
29297 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29298
29299         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29300         zero value for regular exit case.
29301
29302         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29303         (__start_context): Preserve zero value for regular exit case.
29304
29305 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29306             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29307
29308         * manual/setjmp.texi (setcontext): Clarify normal process
29309         termination when uc_link is the null pointer.
29310         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29311         exit call.
29312
29313 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29314
29315         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29316         preprocessor.  Test for each exception mask separately.
29317
29318 2012-07-16  Andreas Jaeger  <aj@suse.de>
29319
29320         * po/ru.po: Update from translation team.
29321
29322 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29323
29324         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29325         equal to 0.
29326         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29327         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29328         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29329         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29330         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29331
29332 2012-07-13  Andreas Jaeger  <aj@suse.de>
29333
29334         * po/fr.po: Update from translation team.
29335
29336 2012-07-12  Marek Polacek  <polacek@redhat.com>
29337
29338         [BZ #14173]
29339         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29340         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29341         loop condition.
29342
29343 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29344
29345         [BZ #13717]
29346         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29347         Change to 2.4.1 where previously 2.4.0.
29348         * sysdeps/unix/sysv/linux/configure: Regenerated.
29349         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29350         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29351         version.
29352         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29353         (__ASSUME_AT_CLKTCK): Remove.
29354         (__ASSUME_AT_PAGESIZE): Likewise.
29355         (__ASSUME_AT_XID): Likewise.
29356         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29357         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29358         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29359         unconditionally.
29360         (HAVE_AUX_PAGESIZE): Likewise.
29361         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29362         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29363         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29364
29365 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29366
29367         [BZ #14307]
29368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29369         the temporary buffer used to invoke __gethostbyname2_r,
29370         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29371         host_data / struct gaih_addrtuple.
29372         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29373         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29374         header file nss/nsswitch.h.
29375         * nss/nsswitch.h (global scope): Add definition of implementation
29376         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29377         resolv/nss_dns/dns-host.c).
29378
29379 2012-07-11  Andreas Jaeger  <aj@suse.de>
29380
29381         * po/fr.po: Update from translation team.
29382
29383         * po/sv.po: Update from translation team
29384         * po/fr.po: Another update from translation team.
29385
29386 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29387
29388         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29389         for subnormals or multiply small sinh result by itself.
29390         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29392
29393 2012-07-11  David S. Miller  <davem@davemloft.net>
29394
29395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29396
29397 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29398
29399         [BZ #14347]
29400         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29401         (INTERNAL_MARK): Shift it here.
29402
29403 2012-07-10  Marek Polacek  <polacek@redhat.com>
29404
29405         [BZ #14151]
29406         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29407         libc_cv_asm_global_directive with .globl.
29408         * configure: Regenerated.
29409         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29410         with .globl.
29411         * sysdeps/i386/configure: Regenerated.
29412         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29413         with .globl.
29414         * sysdeps/x86_64/configure: Regenerated.
29415         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29416         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29417         * elf/tst-unique2mod2.c: Likewise.
29418         * elf/tst-unique2mod1.c: Likewise.
29419         * elf/tst-unique1mod2.c: Likewise.
29420         * elf/tst-unique1mod1.c: Likewise.
29421         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29422         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29423         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29424         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29425         * sysdeps/mach/sysdep.h: Likewise.
29426         * sysdeps/i386/sysdep.h: Likewise.
29427         * sysdeps/i386/i386-mcount.S: Likewise.
29428         * sysdeps/x86_64/_mcount.S: Likewise.
29429         * sysdeps/x86_64/sysdep.h: Likewise.
29430         * sysdeps/sh/_mcount.S: Likewise.
29431         * sysdeps/sh/sysdep.h: Likewise.
29432         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29433         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29434         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29435         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29436         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29437         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29438         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29439         * locale/localeinfo.h: Likewise.
29440         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29441         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29442
29443 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29444
29445         [BZ #14336]
29446         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29447         system".
29448         * manual/message.texi (The Uniforum approach): Likewise.
29449         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29450         (glibc iconv Implementation): Likewise.
29451
29452 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29453
29454         [BZ #14337]
29455         * math/s_clog.c (__clog): Avoid scaling a value down where that
29456         could result in underflow.
29457         * math/s_clog10.c (__clog10): Likewise.
29458         * math/s_clog10f.c (__clog10f): Likewise.
29459         * math/s_clog10l.c (__clog10l): Likewise.
29460         * math/s_clogf.c (__clogf): Likewise.
29461         * math/s_clogl.c (__clogl): Likewise.
29462         * math/libm-test.inc (clog_test): Add more tests.
29463         (clog10_test): Likewise.
29464         * sysdeps/i386/fpu/libm-test-ulps: Update.
29465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29466
29467 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29468
29469         [BZ #14283]
29470         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29471         by 7 not 8 to examine high bit of fractional part.
29472
29473         [BZ #14042]
29474         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29475         for call to __mcount_internal.
29476         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29477         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29478         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29479
29480 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29481
29482         [BZ #14154]
29483         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29484         approximation for values within 0x1p-13f of an odd multiple of
29485         pi/4.
29486         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29487         exception.  Add more tests.
29488         * sysdeps/i386/fpu/libm-test-ulps: Update.
29489
29490         [BZ #6778]
29491         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29492         inputs and return -1 for them.  Do not check for +Inf in case not
29493         reachable for +Inf.
29494         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29495         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29496         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29497         and return -1 for them.  Do not check for +Inf in case not
29498         reachable for +Inf.
29499         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29500         define.
29501         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29502         and return -1 for them.  Do not check for +Inf in case not
29503         reachable for +Inf.
29504         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29505         spurious underflow.
29506         * sysdeps/i386/fpu/libm-test-ulps: Update.
29507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29508
29509 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29510
29511         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29512
29513 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29514
29515         [BZ #14157]
29516         [BZ #14331]
29517         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29518         could result in spurious underflow.  Scale down values above
29519         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29520         * math/s_csqrtf.c (__csqrtf): Likewise.
29521         * math/s_csqrtl.c (__csqrtl): Likewise.
29522         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29523         spurious underflow.
29524         * sysdeps/i386/fpu/libm-test-ulps: Update.
29525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29526
29527 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29528
29529         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29530         xopen-msg.sed.
29531         * catgets/xopen-msg.awk: New file.
29532         * catgets/xopen-msg.sed: Removed.
29533
29534         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29535         po2text.sed.
29536         * intl/po2test.awk: New file.
29537         * intl/po2test.sed: Removed.
29538
29539 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29540
29541         [BZ #14328]
29542         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29543         or multiply small sinh result by itself.
29544         * math/s_ctanf.c (__ctanf): Likewise.
29545         * math/s_ctanh.c (__ctanh): Likewise.
29546         * math/s_ctanhf.c (__ctanhf): Likewise.
29547         * math/s_ctanhl.c (__ctanhl): Likewise.
29548         * math/s_ctanl.c (__ctanl): Likewise.
29549         * math/libm-test.inc (ctan_test_tonearest): New function.
29550         (ctan_test_towardzero): Likewise.
29551         (ctan_test_downward): Likewise.
29552         (ctan_test_upward): Likewise.
29553         (ctanh_test_tonearest): Likewise.
29554         (ctanh_test_towardzero): Likewise.
29555         (ctanh_test_downward): Likewise.
29556         (ctanh_test_upward): Likewise.
29557         (main): Call these new functions.
29558         * sysdeps/i386/fpu/libm-test-ulps: Update.
29559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29560
29561 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29562
29563         * .gitignore: Delete /ports entry.
29564
29565 2012-07-03  Andreas Jaeger  <aj@suse.de>
29566
29567         * po/bg.po: Update from translation team.
29568         * po/cs.po: Likewise.
29569         * po/de.po: Likewise.
29570         * po/hr.po: Likewise.
29571         * po/nl.pl: Likewise.
29572         * po/pl.po: Likewise.
29573         * po/vi.po: Likewise.
29574
29575 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29576
29577         * Makeconfig [!+link] (+link-before-libc): New variable.
29578         [!+link] (+link-after-libc): Likewise.
29579         [!+link] (+link-tests): Likewise.
29580         [!+link] (+link): Define in terms of $(+link-before-libc) and
29581         $(+link-after-libc).
29582         [!+link-static] (+link-static-before-libc): New variable.
29583         [!+link-static] (+link-static-after-libc): Likewise.
29584         [!+link-static] (+link-static-tests): Likewise.
29585         [!+link-static] (+link-static): Define in terms of
29586         $(+link-static-before-libc) and $(+link-static-after-libc).
29587         [build-shared] (link-libc-before-gnulib): New variable.
29588         [build-shared] (link-libc-tests): Likewise.
29589         [build-shared] (link-libc): Define in terms of
29590         $(link-libc-before-gnulib).
29591         [!build-shared] (link-libc-tests): New variable.
29592         (link-libc-static-tests): New variable.
29593         [!gnulib] (gnulib-arch): New variable.
29594         [!gnulib] (gnulib-tests): Likewise.
29595         [!gnulib] (static-gnulib-arch): Likewise.
29596         [!gnulib] (static-gnulib-tests): Likewise.
29597         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29598         Define with "=" instead of ":=".
29599         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29600         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29601         * Rules (binaries-all-notests): New variable.
29602         (binaries-all-tests): Likewise.
29603         (binaries-static-notests): Likewise.
29604         (binaries-static-tests): Likewise.
29605         (binaries-all): Define using $(binaries-all-notests) and
29606         $(binaries-all-tests).
29607         (binaries-static): Define using $(binaries-static-notests) and
29608         $(binaries-static-tests).
29609         (binaries-shared-tests): New variable.
29610         (binaries-shared-notests): Likewise.
29611         (binaries-shared): Remove variable.
29612         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29613         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29614         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29615         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29616         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29617         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29618         * elf/Makefile (sln-modules): New variable.
29619         (extra-objs): Add $(sln-modules:=.o).
29620         (ldconfig-modules): Add static-stubs.
29621         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29622         * elf/static-stubs.c: New file.
29623
29624         [BZ #14283]
29625         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29626         by 7 not 8 to examine high bit of fractional part.  Use volatile
29627         variables when splitting into final array of floats if
29628         __FLT_EVAL_METHOD__ != 0.
29629         * math/libm-test.inc (cos_test): Add another test.
29630         (sin_test): Likewise.
29631         * sysdeps/i386/fpu/libm-test-ulps: Update.
29632
29633         [BZ #14273]
29634         * math/libm-test.inc (cosh_test): Add more tests.
29635
29636         * version.h (RELEASE): Set to "development".
29637         (VERSION): Set to "2.16.90".
29638
29639 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29640
29641         * NEWS: Update copyright. Remove last-updated date.
29642         Mention math library bug fixes and timezone data changes.
29643         * README: Mention GNU/Hurd, x32, and HPPA support status.
29644
29645 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29646
29647         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29648
29649 2012-06-27  Andreas Jaeger  <aj@suse.de>
29650
29651         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29652
29653 2012-06-25  Andreas Jaeger  <aj@suse.de>
29654
29655         * sysdeps/s390/fpu/libm-test-ulps: Update.
29656
29657 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29658             Thomas Schwinge  <thomas@codesourcery.com>
29659
29660         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29661         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29662         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29663         fanotify_mark.
29664
29665 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29666
29667         * sysdeps/mach/start.c: Remove file.
29668         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29669         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29670         * sysdeps/sh/init-first.c: Likewise.
29671
29672         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29673         registers for frame unwinding purposes, add CFI directives.
29674         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29675         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29676         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29677         Likewise.
29678
29679         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29680         __fortify_fail returning.
29681         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29682
29683         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29684         sysdeps/sh/____longjmp_chk.S.
29685         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29686         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29687         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29688         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29689
29690         * sysdeps/sh/abort-instr.h: New file.
29691         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29692         process in case exit returns.
29693
29694         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29695         initialize the GOT register before use.
29696
29697         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29698         calculation of ARGC > 4.
29699
29700         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29701         meaningful names to some local labels.
29702
29703 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29704             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29705
29706         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29707         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29708         (__arch_compare_and_exchange_val_16_acq): Likewise.
29709         (__arch_compare_and_exchange_val_32_acq): Likewise.
29710         (atomic_exchange_and_add): Fix gUSA sequence.
29711         (atomic_add): Likewise.
29712         (atomic_add_negative): Likewise.
29713         (atomic_add_zero): Likewise.
29714         (atomic_bit_test_set): Likewise.
29715
29716 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29717
29718         [BZ #13579]
29719         * include/link.h (struct link_map): Add l_free_initfini.
29720         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29721         l_initfini.
29722         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29723         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29724         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29725         set.
29726
29727 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29728
29729         * configure.in: Use AC_LANG_SOURCE.
29730         * configure: Regenerate.
29731
29732 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29733
29734         * configure.in (libc_cv_localstatedir): New substituted variable.
29735         * configure: Regenerated.
29736         * config.make.in (localstatedir): New variable, substituted from
29737         libc_cv_localstatedir.
29738         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29739         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29740         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29741         * sysdeps/gnu/configure: Regenerated.
29742
29743 2012-06-21  Jeff Law  <law@redhat.com>
29744
29745         [BZ #14277]
29746         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29747         free.  Simplify list management for _LIBC case.
29748
29749 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29750
29751         [BZ #14273]
29752         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29753         Clear sign bit of 64-bit integer value before comparing against
29754         overflow value.
29755
29756         * sysdeps/mach/configure: Regenerated.
29757
29758 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29759
29760         [BZ #14278]
29761         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29762
29763 2012-06-21  Jeff Law  <law@redhat.com>
29764
29765         [BZ #13882]
29766         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29767         uint16_t for elements in the "seen" array to avoid char overflows.
29768         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29769         * elf/dl-open.c (dl_open_worker): Likewise.
29770
29771 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29772
29773         * scripts/list-sources.sh: Scan PORTS for translations.
29774         * po/libc.pot: Regenerated.
29775
29776 2012-06-21  Andreas Jaeger  <aj@suse.de>
29777
29778         [BZ #12194]
29779         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29780         warning.
29781         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29782         * bits/byteswap-16.h (__bswap_16): Likewise.
29783         * bits/byteswap.h (__bswap_constant_16): Likewise.
29784
29785 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29786
29787         [BZ #14117]
29788         * sysdeps/i386/fpu_control.h: Removed.
29789         * sysdeps/x86_64/fpu_control.h: Moved to ...
29790         * sysdeps/x86/fpu_control.h: Here.
29791
29792         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29793         (_FPU_SETCW): Likewise.
29794
29795 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29796
29797         [BZ #14117]
29798         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29799         * sysdeps/x86/fpu/bits/mathinline.h: This.
29800         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29801
29802         [BZ #14050]
29803         [BZ #14117]
29804         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29805         functions if __x86_64__ is defined.
29806
29807 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29808
29809         * string/endian.h: Add !__ASSEMBLER__ condition for including
29810         conversion interfaces.
29811
29812 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29813
29814         [BZ #14241]
29815         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29816         of ABS(x) in calculating zero to negative powers other than odd
29817         integers.
29818         * math/libm-test.inc (pow_test): Add more tests.
29819
29820 2012-06-15  Andreas Jaeger  <aj@suse.de>
29821
29822         * manual/contrib.texi (Contributors): Update entry of Liubov
29823         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29824         Machado Filho.
29825
29826 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29827
29828         * string/string.h: Add __wur to GNU version of strerror_r.
29829
29830 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29831
29832         [BZ #14229]
29833         * string/Makefile (tests): Add tst-strtok_r.
29834         * string/tst-strtok_r.c: New file.
29835         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29836         RAX_LP/RDX_LP on SAVE_PTR.
29837
29838 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29839
29840         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29841
29842 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29843
29844         * libm_test.inc (csqrt_test): Allow more spurious underflow
29845         exceptions.
29846         (j0_test): Likewise.
29847         (j1_test): Likewise.
29848         (y0_test): Likewise.
29849         (y1_test): Likewise.
29850
29851 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29852
29853         * po/Makefile (libc.pot): Use UTF-8 charset.
29854
29855 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29856
29857         [BZ #14210]
29858         Suppress sign-conversion warning from FD_SET.
29859         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29860         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29861         not unsigned long int.
29862         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29863
29864 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29865
29866         [BZ #14050]
29867         [BZ #14117]
29868         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29869         __extern_always_inline instead of __extern_inline.
29870         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29871         (__signbit): Likewise.
29872         (__signbitl): Support C++ namespace.
29873         (lrintf): New inline function.
29874         (lrint): Likewise.
29875         (llrintf): Likewise.
29876         (llrint): Likewise.
29877         (fmaxf): Likewise.
29878         (fmax): Likewise.
29879         (fminf): Likewise.
29880         (fmin): Likewise.
29881         (rint): Likewise.
29882         (rintf): Likewise.
29883         (ceil): Likewise.
29884         (ceilf): Likewise.
29885         (floor): Likewise.
29886         (floorf): Likewise.
29887         (nearbyint): Likewise.
29888         (nearbyintf): Likewise.
29889
29890 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29891
29892         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29893         non-default versions.
29894
29895 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29896
29897         [BZ #14218]
29898         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29899
29900 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29901
29902         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29903         (FE_UPWARD, FE_DOWNWARD): Don't define.
29904         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29905         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29906
29907         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29908         reading it.
29909         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29910         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29911
29912 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29913
29914         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29915         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29916         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29917         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29918
29919 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29920
29921         [BZ #14117]
29922         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29923         * sysdeps/i386/fpu/Implies: New file.
29924         * sysdeps/x86_64/fpu/Implies: Likewise.
29925         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29926         * sysdeps/x86/fpu/bits/fenv.h: This.
29927
29928         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29929         __SSE_MATH__.
29930
29931 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29932
29933         [BZ #14134]
29934         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29935         character 0xffff that matches the last element of the
29936         conversion table.
29937
29938 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29939
29940         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29941         fmodl commit.
29942
29943 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29944
29945         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29946         values higher than 25.6283.
29947
29948 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29949
29950         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29951         subnormal exponent extraction and add some __builtin_expect.
29952         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29953         Fix for subnormal mantissa calculation.
29954
29955 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29956
29957         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29958         cpu2 is -1 and errno is not ENOSYS.
29959
29960 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29961
29962         [BZ #14117]
29963         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29964         * sysdeps/x86/bits/string.h: This.
29965         * sysdeps/x86_64/bits/string.h: Removed.
29966
29967         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29968         if not compiling for x86-64, but compiling for >= i486.
29969
29970         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29971         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29972
29973         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29974         New macro from Linux kernel 3.4.0.
29975         (FP_XSTATE_MAGIC2): Likewise.
29976         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29977         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29978         (struct _fpx_sw_bytes): New struct.
29979         (struct _xsave_hdr): Likewise.
29980         (struct _ymmh_state): Likewise.
29981         (struct _xstate): Likewise.
29982
29983         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29984         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29985         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29986         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29987         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29988         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29989
29990         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29991         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29992         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29993         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29994         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29995         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29996
29997 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29998
29999         [BZ #13743]
30000         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30001         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30002         (sysdep_headers): Include sys/platform/ppc.h.
30003         * sysdeps/powerpc/test-gettimebase.c: Test for
30004         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30005         * manual/Makefile (appendices): Include platform.texi.
30006         * manual/contrib.texi (Contributors): Update @node pointers.
30007         * manual/maint.texi (Maintenance): Likewise.
30008         (Platform): New node.
30009         * manual/platform.texi: New file.  Document the new features.
30010
30011 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30012             Jakub Jelinek  <jakub@redhat.com>
30013
30014         [BZ #14188]
30015         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30016         where __builtin_expect is unavailable.
30017
30018 2012-06-03  David S. Miller  <davem@davemloft.net>
30019
30020         * stdlib/longlong.h: Updated from GCC.
30021
30022 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30023
30024         [BZ #14042]
30025         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30026         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30027         __mcount_internal.
30028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30029         (GLIBC_2.16): Likewise.
30030
30031 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30032
30033         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30034
30035 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30036
30037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30038         (default-abi): New variable.
30039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30040         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30041         variable.
30042         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30043         Likewise.
30044         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30045         Likewise.
30046         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30047         Likewise.
30048
30049         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30050         definition.  Document in comment.
30051
30052 2012-06-01  David S. Miller  <davem@davemloft.net>
30053
30054         * stdlib/longlong.h: Updated from GCC.
30055
30056 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30057
30058         [BZ #14117]
30059         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30060         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30061         sys/debugreg.h sys/io.h here.
30062         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30063         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30064         sys/io.h.
30065         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30066         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30067         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30068         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30069         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30070         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30071
30072         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30073         Define only if __x86_64__ is defined.
30074
30075 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30076
30077         [BZ #14048]
30078         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30079         Use int64_t for variable i.
30080         * math/libm-test.inc (fmod_test): Add more tests.
30081
30082         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30083         z computation is not scheduled after fetestexcept.
30084         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30085         Use math_force_eval instead of asm to ensure calculation scheduled
30086         before exception test.
30087         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30088         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30089
30090 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30091
30092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30093         computation is not scheduled after fetestexcept.
30094
30095 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30096
30097         [BZ #14117]
30098         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30099         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30100
30101 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30102
30103         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30104         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30105
30106 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30107
30108         [BZ #14117]
30109         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30110         <bits/wordsize.h>.
30111         (__WCHAR_MIN): Support __WORDSIZE == 64.
30112         (__WCHAR_MAX): Likewise.
30113
30114         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30115         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30116
30117         [BZ #14183]
30118         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30119         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30120
30121         [BZ #14117]
30122         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30123         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30124
30125         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30126         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30127
30128         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30129         Defined to 1 if __x86_64__ isn't defined.
30130         (_STAT_VER_LINUX_OLD): New.
30131         (st_atime): Remove duplicate.
30132         (st_mtime): Likewise.
30133         (st_ctime): Likewise.
30134
30135 2012-05-31  David S. Miller  <davem@davemloft.net>
30136
30137         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30138         entries.
30139
30140 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30141
30142         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30143         gen-libm-test.pl.
30144
30145         [BZ #14132]
30146         * elf/dl-reloc.c: Include <_itoa.h>.
30147         (_dl_reloc_bad_type): Remove use of INTUSE.
30148         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30149         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30150         * stdio-common/psiginfo.c (psiginfo): Likewise.
30151         * stdio-common/psignal.c (psignal): Likewise.
30152         * string/strsignal.c (strsignal): Likewise.
30153         * include/signal.h (_sys_siglist): Declare hidden proto.
30154         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30155         INTVARDEF with libc_hidden_data_def.
30156         * stdio-common/itoa-udigits.c: Likewise.
30157         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30158         (_itoa_lower_digits_internal): Remove declaration.
30159         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30160         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30161         (_sys_sigabbrev_internal): Remove aliases.
30162         (_sys_siglist): Define hidden alias.
30163
30164 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30165
30166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30167         bits/sysctl.h.
30168
30169 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30170
30171         [BZ #14117]
30172         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30173         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30174
30175         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30176         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30177         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30178         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30179         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30180         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30181
30182         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30183         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30184         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30185
30186         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30187         with __addr.
30188         (insw): Likewise.
30189         (insl): Likewise.
30190         (outsb): Likewise.
30191         (outsw): Likewise.
30192         (outsl): Likewise.
30193
30194         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30195         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30196         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30197
30198         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30199         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30200         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30201         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30202         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30203         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30204
30205         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30206         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30207
30208         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30209         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30210
30211         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30212         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30213         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30214
30215         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30216         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30217         to ...
30218         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30219
30220         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30221         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30222         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30223
30224         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30225         for x86-64.
30226         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30227
30228 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30229
30230         * math/math.h (M_El): Use two more decimal places.
30231         (M_LOG2El): Likewise.
30232         (M_LOG10El): Likewise.
30233         (M_LN2l): Likewise.
30234         (M_LN10l): Likewise.
30235         (M_PIl): Likewise.
30236         (M_PI_2l): Likewise.
30237         (M_PI_4l): Likewise.
30238         (M_1_PIl): Likewise.
30239         (M_2_PIl): Likewise.
30240         (M_2_SQRTPIl): Likewise.
30241         (M_SQRT2l): Likewise.
30242         (M_SQRT1_2l): Likewise.
30243
30244 2012-05-31  David S. Miller  <davem@davemloft.net>
30245
30246         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30247         values between float registers.
30248         * sysdeps/sparc/sparc64/memset.S: Likewise.
30249         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30250
30251 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30252
30253         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30254         -D_FORTIFY_SOURCE=1.
30255         (CPPFLAGS-tst-longjmp_chk.c): Define.
30256         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30257         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30258         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30259         CFLAGS-tst-wchar-h.c.
30260
30261 2012-05-31  Marek Polacek  <polacek@redhat.com>
30262
30263         [BZ #14132]
30264         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30265         __endmntent_internal): Remove declaration.
30266         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30267         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30268         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30269
30270 2012-05-30  David S. Miller  <davem@davemloft.net>
30271
30272         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30273         (___Q_simulate_exceptions): Use real FP ops rather than writing
30274         into the %fsr.
30275         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30276         Likewise.
30277
30278 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30279
30280         [BZ #14117]
30281         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30282         * sysdeps/x86/bits/xtitypes.h: This.
30283
30284         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30285         * sysdeps/x86/bits/wordsize.h: This.
30286
30287         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30288         * sysdeps/x86/bits/huge_vall.h: This.
30289
30290         * sysdeps/i386/bits/select.h: Removed.
30291         * sysdeps/x86_64/bits/select.h: Renamed to ...
30292         * sysdeps/x86/bits/select.h: This.
30293
30294         * sysdeps/i386/bits/setjmp.h: Removed.
30295         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30296         * sysdeps/x86/bits/setjmp.h: This.
30297
30298         * sysdeps/i386/bits/mathdef.h: Removed.
30299         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30300         * sysdeps/x86/bits/mathdef.h: This.
30301
30302 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30303
30304         [BZ #14132]
30305         * include/sys/socket.h (__connect_internal)
30306         (__libc_sa_len_internal): Remove declaration.
30307         (__connect, __libc_sa_len): Declare hidden_proto.
30308         (SA_LEN): Remove use of INTUSE.
30309         * socket/connect.c: Add libc_hidden_def.
30310         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30311         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30312         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30313         alias.
30314         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30315         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30316         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30317         of adding _internal alias.
30318
30319 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30320
30321         [BZ #14117]
30322         * sysdeps/i386/bits/link.h: Removed.
30323         * sysdeps/i386/bits/linkmap.h: Likewise.
30324         * sysdeps/x86_64/bits/link.h: Renamed to ...
30325         * sysdeps/x86/bits/link.h: This.
30326         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30327         * sysdeps/x86/bits/linkmap.h: This.
30328
30329         * sysdeps/i386/bits/endian.h: Removed.
30330         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30331         * sysdeps/x86/bits/endian.h: This.
30332
30333         * sysdeps/i386/bits/byteswap.h: Removed.
30334         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30335         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30336         * sysdeps/x86/bits/byteswap.h: This.
30337         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30338         * sysdeps/x86/bits/byteswap-16.h: This.
30339         * sysdeps/i386/Implies: Add x86.
30340         * sysdeps/x86_64/Implies: Likewise.
30341
30342 2012-05-30  David S. Miller  <davem@davemloft.net>
30343
30344         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30345         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30346         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30347         (FP_TRAPPING_EXCEPTIONS): Define.
30348         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30349         (FP_TRAPPING_EXCEPTIONS): Define.
30350         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30351         subnormals only when inexact has been signalled or underflow
30352         exceptions are enabled.
30353         (_FP_PACK_CANONICAL): Likewise.
30354
30355 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30356
30357         [BZ #14183]
30358         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30359         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30360
30361 2012-05-30  Richard Henderson  <rth@twiddle.net>
30362
30363         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30364         with #ifndef NOT_IN_libc.
30365
30366         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30367         marked to avoid plt entry.
30368
30369 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30370
30371         [BZ #14112]
30372         * Makeconfig (default-abi): New macro.
30373         (abi-includes): Likewise.
30374         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30375         $(abi-$(default-abi)-lib-soname) for soname if defined.
30376         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30377         abi-variants.
30378         * Makefile (installed-stubs): Likewise.
30379         * include/stubs-biarch.h: Removed.
30380         * scripts/lib-names.awk: Only handle one library at a time.
30381         * scripts/soversions.awk: Remove WORDSIZE support.
30382         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30383         entries.
30384         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30385         Removed.
30386         (syscall-list-default-condition): Likewise.
30387         (syscall-list-default-condition): Likewise.
30388         (syscall-list-includes): Likewise.
30389         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30390         syscall-list-* with abi-*.  Handle undefined abi-variants.
30391         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30392         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30393         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30394         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30395         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30396         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30397         Removed.
30398         (syscall-list-32-options): Likewise.
30399         (syscall-list-32-condition): Likewise.
30400         (syscall-list-64-options): Likewise.
30401         (syscall-list-64-condition): Likewise.
30402         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30403         macro.
30404         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30405         Renamed to ...
30406         (abi-*): This.
30407         (abi-64-ld-soname): New macro.
30408         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30409         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30410         Renamed to ...
30411         (abi-*): This.
30412         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30413         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30414
30415 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30416
30417         * sysdeps/unix/sysv/linux/kernel-features.h
30418         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30419         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30420         include <kernel-features.h>.
30421         [!__NR_ftruncate64]: Remove conditional code.
30422         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30423         [__NR_ftruncate64]: Make code unconditional.
30424         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30425         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30426         include <kernel-features.h>.
30427         [!__NR_ftruncate64]: Remove conditional code.
30428         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30429         [__NR_ftruncate64]: Make code unconditional.
30430         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30432         include <kernel-features.h>.
30433         [!__NR_ftruncate64]: Remove conditional code.
30434         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30435         [__NR_ftruncate64]: Make code unconditional.
30436         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30438         include <kernel-features.h>.
30439         [!__NR_ftruncate64]: Remove conditional code.
30440         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30441         [__NR_ftruncate64]: Make code unconditional.
30442         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30443
30444         * configure.in (libc_cv_fpie): Weaken to a compile test using
30445         LIBC_TRY_CC_OPTION.
30446         * configure: Regenerated.
30447
30448 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30449
30450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30454         Refreshed.
30455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30461         Refreshed.
30462
30463 2012-05-27  David S. Miller  <davem@davemloft.net>
30464
30465         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30466         (___Q_zero): New.
30467         (__Q_simulate_exceptions): Return void.  Change to simulate
30468         exceptions by writing into the %fsr.
30469         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30470         (__Qp_handle_exceptions): Likewise.
30471         (numbers): Delete.
30472         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30473         __Qp_handle_exceptions.
30474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30475         __Qp_handle_exceptions.
30476         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30477         as unused and give dummy FP_RND_NEAREST initializer.
30478         (FP_INHIBIT_RESULTS): Define.
30479         (___Q_simulate_exceptions): Update declaration.
30480         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30481         formatting.
30482         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30483         as unused and give dummy FP_RND_NEAREST initializer.
30484         (__Qp_handle_exceptions): Update declaration.
30485         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30486         formatting.
30487
30488 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30489
30490         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30491         the temporary FPU control word.
30492         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30493         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30494         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30495         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30496         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30497         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30498         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30499         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30500         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30501         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30502         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30503
30504 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30505
30506         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30507         fields.
30508
30509 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30510
30511         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30512         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30513         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30514         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30515         Likewise.
30516         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30517         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30518         Likewise.
30519
30520 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30521
30522         * po/h.po: Update from translation team.
30523
30524 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30525
30526         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30527
30528         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30529         handling of denormals.
30530         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30531         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30532         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30533         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30535         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30537         Likewise.
30538
30539 2012-05-26  Marek Polacek  <polacek@redhat.com>
30540
30541         [BZ #14152]
30542         * math/libm-test.inc (fma_test): Don't always expect underflow
30543         exception.
30544
30545 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30546
30547         [BZ #12416]
30548         * elf/tst-execstack.c: Include stackinfo.h.
30549         (do_test): Adjust test case to ensure that pthread_getattr_np
30550         behaviour remains the same after marking stack executable.
30551
30552 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30553
30554         * sysdeps/unix/sysv/linux/kernel-features.h
30555         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30556         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30557         kernel-features.h.
30558         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30559         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30560         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30561         kernel-features.h.
30562         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30563         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30564
30565 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30566
30567         * configure.in: Define the default includes to being none.
30568         * configure: Regenerated.
30569
30570 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30571
30572         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30573         * sysdeps/x86_64/setjmp.S: Likewise.
30574         * sysdeps/i386/bsd-setjmp.S: Likewise.
30575         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30576         * sysdeps/i386/setjmp.S: Likewise.
30577         * sysdeps/i386/__longjmp.S: Likewise.
30578         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30579         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30580
30581         * include/stap-probe.h: New file.
30582         * configure.in: Handle --enable-systemtap.
30583         * configure: Regenerated.
30584         * config.h.in (USE_STAP_PROBE): New #undef.
30585         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30586         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30587         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30588
30589 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30590
30591         [BZ #13717]
30592         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30593         to 2.4.0 where earlier.
30594         * sysdeps/unix/sysv/linux/configure: Regenerated.
30595         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30596         <kernel-features.h>.
30597         [__ASSUME_32BITUIDS]: Make code unconditional.
30598         [!__ASSUME_32BITUIDS]: Remove conditional code.
30599         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30600         <kernel-features.h>.
30601         [__ASSUME_32BITUIDS]: Make code unconditional.
30602         [!__ASSUME_32BITUIDS]: Remove conditional code.
30603         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30604         [__ASSUME_32BITUIDS]: Make code unconditional.
30605         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30606         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
30639         <kernel-features.h>.
30640         [__ASSUME_32BITUIDS]: Make code unconditional.
30641         [!__ASSUME_32BITUIDS]: Remove conditional code.
30642         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30643         <kernel-features.h>.
30644         [__ASSUME_32BITUIDS]: Make code unconditional.
30645         [!__ASSUME_32BITUIDS]: Remove conditional code.
30646         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30647         <kernel-features.h>.
30648         [__NR_setresgid] (__setresgid): Do not declare.
30649         [__ASSUME_32BITUIDS]: Make code unconditional.
30650         [!__ASSUME_32BITUIDS]: Remove conditional code.
30651         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30652         <kernel-features.h>.
30653         [__NR_setresuid] (__setresuid): Do not declare.
30654         [__ASSUME_32BITUIDS]: Make code unconditional.
30655         [!__ASSUME_32BITUIDS]: Remove conditional code.
30656         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
30689         <kernel-features.h>.
30690         [__ASSUME_32BITUIDS]: Make code unconditional.
30691         [!__ASSUME_32BITUIDS]: Remove conditional code.
30692         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30693         <kernel-features.h>.
30694         [__ASSUME_32BITUIDS]: Make code unconditional.
30695         [!__ASSUME_32BITUIDS]: Remove conditional code.
30696         * sysdeps/unix/sysv/linux/kernel-features.h
30697         (__ASSUME_SETRESUID_SYSCALL): Remove.
30698         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30699         (__ASSUME_32BITUIDS): Likewise.
30700         (__ASSUME_LDT_WORKS): Likewise.
30701         (__ASSUME_O_DIRECTORY): Likewise.
30702         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30703         architecture but not kernel version.
30704         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30705         (__ASSUME_MMAP2_SYSCALL): Likewise.
30706         (__ASSUME_STAT64_SYSCALL): Likewise.
30707         (__ASSUME_IPC64): Likewise.
30708         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30709         <kernel-features.h>.
30710         [__ASSUME_32BITUIDS]: Make code unconditional.
30711         [!__ASSUME_32BITUIDS]: Remove conditional code.
30712         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30713         <kernel-features.h>.
30714         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30715         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30716         132096]: Remove conditional code.
30717         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30718         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30719         <kernel-features.h>.
30720         [__ASSUME_32BITUIDS]: Make code unconditional.
30721         [!__ASSUME_32BITUIDS]: Remove conditional code.
30722         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30723         <kernel-features.h>.
30724         [__ASSUME_32BITUIDS]: Make code unconditional.
30725         [!__ASSUME_32BITUIDS]: Remove conditional code.
30726         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30727         <kernel-features.h>.
30728         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30729         unconditional.
30730         (__setresgid): Do not declare.
30731         [__ASSUME_32BITUIDS]: Make code unconditional.
30732         [!__ASSUME_32BITUIDS]: Remove conditional code.
30733         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30734         <kernel-features.h>.
30735         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30736         unconditional.
30737         (__setresuid): Do not declare.
30738         [__ASSUME_32BITUIDS]: Make code unconditional.
30739         [!__ASSUME_32BITUIDS]: Remove conditional code.
30740         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30741         <kernel-features.h>.
30742         [__ASSUME_32BITUIDS]: Make code unconditional.
30743         [!__ASSUME_32BITUIDS]: Remove conditional code.
30744         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30745         <kernel-features.h>.
30746         [__ASSUME_32BITUIDS]: Make code unconditional.
30747         [!__ASSUME_32BITUIDS]: Remove conditional code.
30748
30749 2012-05-25  Richard Henderson  <rth@twiddle.net>
30750
30751         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30752         dl_hwcap to ifunc resolver.
30753         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30754         elf_ifunc_invoke.
30755         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30756         dl_hwcap to ifunc resolver.
30757         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30758
30759 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30760
30761         [BZ #14153]
30762         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30763         for |x| <= 2**-26, not 2**-57.
30764         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30765         exception.
30766
30767 2012-05-24  Jeff Law  <law@redhat.com>
30768
30769         * stdio-common/Makefile (tests): Add bug25.
30770         * stdio-common/bug25.c: New test.
30771
30772 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30773
30774         [BZ #13576]
30775         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30776         multiple of MALLOC_ALIGNMENT in size.
30777         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30778
30779 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30780
30781         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30782         Require >= 256.
30783         (FILENAME_MAX): Use macro-int-constant.
30784         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30785         (_IOFBF): Use macro-int-constant.
30786         (_IOLBF): Likewise.
30787         (_IONBF): Likewise.
30788         (SEEK_CUR): Likewise.
30789         (SEEK_END): Likewise.
30790         (SEEK_SET): Likewise.
30791         (TMP_MAX): Likewise.
30792         (EOF): Use macro-int-constant.  Require < 0.
30793         (NULL): Use macro-constant.  Require == 0.
30794         (stdin): Require type to be FILE *.
30795         (stdout): Likewise.
30796         (stderr): Likewise.
30797         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30798         macro-int-constant.
30799         (EXIT_SUCCESS): Likewise.
30800         (NULL): Use macro-constant.  Require == 0.
30801         (RAND_MAX): Use macro-int-constant.
30802         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30803         [C99-based standards] (strtof): Require function.
30804         [C99-based standards] (strtold): Likewise.
30805         [C99-based standards] (strtoll): Likewise.
30806         [C99-based standards] (strtoull): Likewise.
30807         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30808         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30809         [ISO || ISO99 || ISO11] (math.h): Likewise.
30810         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30811         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30812         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30813
30814 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30815
30816         [BZ #14132]
30817         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30818         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30819         * intl/dgettext.c (DCGETTEXT): Likewise.
30820         * intl/gettext.c (DCGETTEXT): Likewise.
30821         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30822         * posix/regex_internal.h (gettext): Likewise.
30823         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30824         Remove declaration.
30825         * include/argz.h (__argz_count_internal)
30826         (__argz_stringify_internal): Remove declaration.
30827         (__argz_count, __argz_stringify): Declare hidden proto.
30828         * intl/dcgettext.c: Remove use of INTDEF.
30829         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30830         * string/argz-stringify.c: Likewise.
30831         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30832         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30833         Declare hidden proto.
30834         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30835         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30836         Declare hidden proto.
30837         * include/stdio.h (__asprintf_internal): Don't declare.
30838         (__asprintf): Don't define as macro.  Declare hidden proto.
30839         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30840         (__fsetlocking): Declare hidden proto.
30841         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30842         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30843         hidden proto.
30844         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30845         (_IO_setlinebuf): Remove use of INTUSE.
30846         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30847         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30848         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30849         Remove declaration.
30850         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30851         (_IO_do_flush): Remove use of INTUSE.
30852         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30853         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30854         (_IO_adjust_column, _IO_least_wmarker)
30855         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30856         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30857         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30858         (_IO_default_doallocate, _IO_wdefault_doallocate)
30859         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30860         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30861         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30862         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30863         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30864         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30865         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30866         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30867         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30868         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30869         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30870         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30871         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30872         proto.
30873         (_IO_flush_all_internal, _IO_adjust_column_internal)
30874         (_IO_default_uflow_internal, _IO_default_finish_internal)
30875         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30876         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30877         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30878         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30879         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30880         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30881         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30882         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30883         (_IO_file_close_internal, _IO_file_close_it_internal)
30884         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30885         (_IO_file_init_internal, _IO_file_attach_internal)
30886         (_IO_file_fopen_internal, _IO_file_read_internal)
30887         (_IO_file_sync_internal, _IO_file_seek_internal)
30888         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30889         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30890         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30891         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30892         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30893         (_IO_list_all_internal, _IO_link_in_internal)
30894         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30895         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30896         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30897         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30898         (_IO_do_write_internal, _IO_padn_internal)
30899         (_IO_getline_info_internal, _IO_getline_internal)
30900         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30901         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30902         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30903         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30904         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30905         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30906         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30907         with libc_hidden_ver, remove use of INTUSE.
30908         * libio/genops.c: Likewise.
30909         * libio/freopen.c: Likewise.
30910         * libio/freopen64.c: Likewise.
30911         * libio/iofclose.c: Likewise.
30912         * libio/iofdopen.c: Likewise.
30913         * libio/iofflush.c: Likewise.
30914         * libio/iofflush_u.c: Likewise.
30915         * libio/iofgets.c: Likewise.
30916         * libio/iofgets_u.c: Likewise.
30917         * libio/iofopen.c: Likewise.
30918         * libio/iofopncook.c: Likewise.
30919         * libio/iofread.c: Likewise.
30920         * libio/iofread_u.c: Likewise.
30921         * libio/ioftell.c: Likewise.
30922         * libio/iofwrite.c: Likewise.
30923         * libio/iogetline.c: Likewise.
30924         * libio/iogets.c: Likewise.
30925         * libio/iogetwline.c: Likewise.
30926         * libio/iopadn.c: Likewise.
30927         * libio/iopopen.c: Likewise.
30928         * libio/ioseekoff.c: Likewise.
30929         * libio/ioseekpos.c: Likewise.
30930         * libio/iosetbuffer.c: Likewise.
30931         * libio/iosetvbuf.c: Likewise.
30932         * libio/ioungetc.c: Likewise.
30933         * libio/ioungetwc.c: Likewise.
30934         * libio/iovdprintf.c: Likewise.
30935         * libio/iovsprintf.c: Likewise.
30936         * libio/iovsscanf.c: Likewise.
30937         * libio/memstream.c: Likewise.
30938         * libio/obprintf.c: Likewise.
30939         * libio/oldfileops.c: Likewise.
30940         * libio/oldiofclose.c: Likewise.
30941         * libio/oldiofdopen.c: Likewise.
30942         * libio/oldiofopen.c: Likewise.
30943         * libio/oldiopopen.c: Likewise.
30944         * libio/oldstdfiles.c: Likewise.
30945         * libio/putc.c: Likewise.
30946         * libio/setbuf.c: Likewise.
30947         * libio/setlinebuf.c: Likewise.
30948         * libio/stdfiles.c: Likewise.
30949         * libio/strops.c: Likewise.
30950         * libio/vasprintf.c: Likewise.
30951         * libio/vscanf.c: Likewise.
30952         * libio/vsnprintf.c: Likewise.
30953         * libio/vswprintf.c: Likewise.
30954         * libio/wfiledoalloc.c: Likewise.
30955         * libio/wfileops.c: Likewise.
30956         * libio/wgenops.c: Likewise.
30957         * libio/wmemstream.c: Likewise.
30958         * libio/wstrops.c: Likewise.
30959         * libio/__fpurge.c: Likewise.
30960         * libio/__fsetlocking.c: Likewise.
30961         * assert/assert.c: Likewise.
30962         * debug/fgets_chk.c: Likewise.
30963         * debug/fgets_u_chk.c: Likewise.
30964         * debug/fread_chk.c: Likewise.
30965         * debug/fread_u_chk.c: Likewise.
30966         * debug/gets_chk.c: Likewise.
30967         * debug/obprintf_chk.c: Likewise.
30968         * debug/vasprintf_chk.c: Likewise.
30969         * debug/vdprintf_chk.c: Likewise.
30970         * debug/vsnprintf_chk.c: Likewise.
30971         * debug/vsprintf_chk.c: Likewise.
30972         * malloc/mtrace.c: Likewise.
30973         * misc/error.c: Likewise.
30974         * misc/syslog.c: Likewise.
30975         * stdio-common/asprintf.c: Likewise.
30976         * stdio-common/fxprintf.c: Likewise.
30977         * stdio-common/getw.c: Likewise.
30978         * stdio-common/isoc99_fscanf.c: Likewise.
30979         * stdio-common/isoc99_scanf.c: Likewise.
30980         * stdio-common/isoc99_vfscanf.c: Likewise.
30981         * stdio-common/isoc99_vscanf.c: Likewise.
30982         * stdio-common/isoc99_vsscanf.c: Likewise.
30983         * stdio-common/printf-prs.c: Likewise.
30984         * stdio-common/printf_fp.c: Likewise.
30985         * stdio-common/printf_fphex.c: Likewise.
30986         * stdio-common/printf_size.c: Likewise.
30987         * stdio-common/putw.c: Likewise.
30988         * stdio-common/scanf.c: Likewise.
30989         * stdio-common/sprintf.c: Likewise.
30990         * stdio-common/tmpfile.c: Likewise.
30991         * stdio-common/vfprintf.c: Likewise.
30992         * stdio-common/vfscanf.c: Likewise.
30993         * stdlib/strfmon_l.c: Likewise.
30994         * sunrpc/openchild.c: Likewise.
30995         * sunrpc/xdr_stdio.c: Likewise.
30996         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30997         * sysdeps/mach/hurd/tmpfile.c: Likewise.
30998
30999 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31000
31001         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31002
31003         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31004         in the third column, to generate for the shared library an IFUNC
31005         that uses _dl_vdso_vsym.
31006         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31007         * Makeconfig (object-suffixes-noshared): New variable.
31008
31009         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31010         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31011         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31012         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31013
31014         [BZ #14132]
31015         * include/sys/time.h (__gettimeofday): Remove macro.
31016         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31017         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31018         Remove INTDEF.
31019         (__gettimeofday): Add libc_hidden_def.
31020         (gettimeofday): Add libc_hidden_weak.
31021         * sysdeps/mach/gettimeofday.c: Likewise.
31022         * sysdeps/posix/gettimeofday.c: Likewise.
31023         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31024         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31025         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31026         (__gettimeofday_internal): Remove strong_alias.
31027         (__gettimeofday): Add libc_hidden_def.
31028         (gettimeofday): Add libc_hidden_weak.
31029         * sysdeps/unix/syscalls.list (gettimeofday):
31030         Remove __gettimeofday_internal alias.
31031
31032 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31033             H.J. Lu  <hongjiu.lu@intel.com>
31034
31035         [BZ #12495]
31036         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31037         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31038         (largebin_index_32_big): New.
31039         (largebin_index): Use it for 16-byte alignment.
31040         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31041         correction with front_misalign.
31042
31043 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31044
31045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31047         Likewise.
31048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31049         Likewise.
31050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31051         Likewise.
31052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31053         Likewise.
31054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31055         Likewise.
31056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31057         Likewise.
31058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31059         Likewise.
31060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31061         Likewise.
31062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31063         Likewise.
31064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31065         Likewise.
31066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31067         Likewise.
31068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31069         Likewise.
31070
31071         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31072         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31073
31074 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31075
31076         [BZ #10846]
31077         [BZ #14036]
31078         * math/libm-test.inc (exp_test): Add test from bug 14036.
31079         (pow_test): Add test from bug 10846.
31080
31081         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31082         and other flags.
31083         (special_function): Do not include flags in test name.
31084         (parse_args): Likewise.
31085         * sysdeps/i386/fpu/libm-test-ulps: Update.
31086         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31087         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31088         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31090
31091         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31092         exceptions.
31093         * math/libm-test.inc ("Philosophy"): Update comment about
31094         exception testing.
31095         (UNDERFLOW_EXCEPTION): New macro.
31096         (UNDERFLOW_EXCEPTION_OK): Likewise.
31097         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31098         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31099         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31100         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31101         (INVALID_EXCEPTION_OK): Update value.
31102         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31103         (OVERFLOW_EXCEPTION_OK): Likewise.
31104         (IGNORE_ZERO_INF_SIGN): Likewise.
31105         (test_exceptions): Handle underflow exceptions.
31106         (acos_test): Update for underflow exception expectations.
31107         (cexp_test): Likewise.
31108         (clog_test): Likewise.
31109         (clog10_test): Likewise.
31110         (csqrt_test): Likewise.
31111         (ctan_test): Likewise.
31112         (ctanh_test): Likewise.
31113         (exp_test): Likewise.
31114         (exp10_test): Likewise.
31115         (exp2_test): Likewise.
31116         (expm1_test): Likewise.
31117         (fma_test): Likewise.
31118         (j0_test): Likewise.
31119         (jn_test): Likewise.
31120         (nexttoward_test): Likewise.
31121         (pow_test): Likewise.
31122         (scalbn_test): Likewise.
31123         (scalbln_test): Likewise.
31124         (tan_test): Likewise.
31125         (y1_test): Likewise.
31126         * sysdeps/i386/fpu/libm-test-ulps: Update.
31127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31128
31129 2012-05-23  David S. Miller  <davem@davemloft.net>
31130
31131         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31132         (__libc_sigaction): Remove unused local variables.
31133
31134 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31135
31136         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31137
31138 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31139
31140         mktime: avoid signed integer overflow
31141         * time/mktime.c (__mktime_internal): Do not mishandle the case
31142         where diff == INT_MIN.
31143
31144         mktime: simplify computation of average
31145         * time/mktime.c (ranged_convert): Use new time_t_avg function
31146         instead of rolling our own (probably-slower) code.
31147
31148         mktime: do not assume signed right shift propagates sign bit
31149         * time/mktime.c (isdst_differ): New static function.
31150         (__mktime_internal): No need to normalize tm_isdst now.
31151         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31152         tm_isdst values.
31153
31154         mktime: merge another wrapv change from gnulib
31155         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31156         from some compilers.
31157
31158         mktime: remove incorrect attempt at unusual arithmetics
31159         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31160         The code didn't really work on such machines anyway.
31161         (TYPE_MINIMUM): Assume two's complement.
31162         (twos_complement_arithmetic): Verify that long_int and time_t
31163         are two's complement (or unsigned, in the latter case).
31164
31165         mktime: check signed shifts on long_int and time_t, too
31166         * time/mktime.c (SHR): Check that shifts work as desired
31167         on the types long_int and time_t too, as SHR is used on
31168         such types.
31169
31170         mktime: do not assume 'long' is wide enough
31171         * time/mktime.c (verify): Move decl up.
31172         (long_int): New type.
31173         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31174         to remove assumption in the code that 'long' is wide enough to
31175         store year values.  This assumption is not true on x32 and on
31176         some non-glibc platforms.
31177
31178         mktime: merge wrapv change from gnulib
31179         * time/mktime.c (WRAPV): New macro.
31180         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31181         (guess_time_tm, __mktime_internal): Do not assume that signed
31182         integer overflow wraps around; modern compilers generate code
31183         where this assumption is no longer valid.
31184
31185 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31186
31187         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31188         Replace "jmp L(pseudo_end)" with "ret".
31189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31190         Likewise.
31191
31192 2012-05-23  Andreas Jaeger  <aj@suse.de>
31193
31194         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31195         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31196
31197 2012-05-23  Andreas Jaeger  <aj@suse.de>
31198             Maximilian Attems  <max@stro.at>
31199
31200         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31201         New macros.
31202
31203 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31204
31205         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31206         code so that pseudo_end is just ret and the stack pointer is
31207         correct also for static library in error case.
31208
31209 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31210
31211         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31212         move to syscalls.list.
31213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31217
31218         * manual/install.texi (Running make install): Do not mention Linux
31219         kernel version for which pt_chown is not needed.
31220         (Linux): Do not mention problems with nscd with 2.0 kernels.
31221         * INSTALL: Regenerated.
31222
31223 2012-05-23  Andreas Jaeger  <aj@suse.de>
31224
31225         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31226         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31227         macro.
31228         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31229         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31230         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31231         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31232         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31233         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31234         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31235         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31236         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31237         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31238         * sysdeps/unix/sysv/linux/bits/in.h
31239         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31240
31241 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31242
31243         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31244         (PREPARE_VERSION): Just use assert instead, it will be elided
31245         under [NDEBUG] anyway.
31246
31247 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31248
31249         * sysdeps/unix/sysv/linux/Makefile: Include
31250         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31251         (sysdep_routines): Remove sysctl.
31252         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31253         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31254         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31255         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31256         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31257
31258 2012-05-22  Andreas Jaeger  <aj@suse.de>
31259
31260         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31261         that pseudo_end is just ret and the stack pointer is correct also
31262         for static library in error case.
31263
31264 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31265
31266         [BZ #14122]
31267         * nss/nsswitch.c (defconfig_entries): New variable.
31268         (__nss_database_lookup): Don't leak defconfig entries.
31269         (nss_parse_service_list): Don't leak on error paths.
31270         (free_database_entries): New function.
31271         (free_defconfig): New function.
31272         (free_mem): Move common code to free_database_entries.
31273
31274 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31275
31276         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31277         Add arch_prctl.
31278         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31279
31280         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31281         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31283         New macro.
31284         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31285         (INTERNAL_SYSCALL_TYPES): Likewise.
31286         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31287         (LOAD_REGS_TYPES_[1-6]): Likewise.
31288         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31289         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31290
31291 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31292
31293         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31294         copysignl for GLIBC_2_0.
31295         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31296         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31298         logbl for GLIBC_2_0.
31299         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31300         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31301
31302 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31303
31304         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31305         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31306
31307         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31308         Use "neg %eax".
31309
31310         * time/mktime.c: Update copyright years.
31311
31312 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31313
31314         mktime: merge comment-quoting-style change from gnulib
31315         * time/mktime.c: Quote 'like this' in comments.
31316         The GNU coding standards suggest that we no longer quote `like this',
31317         as "`" and "'" are typically rendered asymmetrically nowadays.
31318         The typical gnulib style is to quote 'like this' when quoting
31319         code, and "like this" when quoting English.
31320
31321         * time/mktime.c (compile-command): Add "-I.".
31322
31323         mktime: merge mktime-internal.h change from gnulib
31324         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31325
31326         mktime: merge time_r change from gnulib
31327         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31328
31329         mktime: merge DEBUG change from gnulib
31330         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31331         case system <time.h> has a #define.
31332
31333         mktime: merge <sys/types.h> change from gnulib
31334         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31335         since <time.t> is now guaranteed to define time_t.
31336
31337         mktime: merge HAVE_CONFIG_H change from gnulib
31338         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31339
31340 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31341
31342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31343         Use "neg %eax".
31344
31345         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31346         __rlim_t cast.
31347         (struct rusage): Use anonymous union to pad each field to
31348         __syscall_slong_t.
31349
31350 2012-05-21  David S. Miller  <davem@davemloft.net>
31351
31352         * Makefules (o-iterator): Remove .s cases.
31353         (compile-command.s): Delete.
31354         (COMPILE.s): Delete.
31355         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31356
31357 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31358
31359         * configure.in (libc_cv_predef_stack_protector): Only consider
31360         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31361         * configure: Regenerated.
31362
31363 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31364
31365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31366         New macro.  Use R*LP on int and pointer.
31367         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31368         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31369         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31370         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31371
31372         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31373         [__WORDSIZE_TIME64_COMPAT32] instead of
31374         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31375         (struct utmp): Likewise.
31376         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31377         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31378         Renamed to ...
31379         (__WORDSIZE_TIME64_COMPAT32): This.
31380         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31381         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31382         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31383         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31384         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31385         (__WORDSIZE_TIME64_COMPAT32): New macro.
31386
31387 2012-05-21  Andreas Jaeger  <aj@suse.de>
31388
31389         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31390         only if [SHARED]. Add prototype for __wcschr_ia32.
31391
31392 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31393
31394         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31395         of %rbp unmolested in the jmp_buf while mangling the low bits.
31396         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31397         unmolested high bits of %rbp while demangling the low bits.
31398         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31399
31400 2012-05-21  Andreas Jaeger  <aj@suse.de>
31401
31402         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31403         * sunrpc/svc_simple.c: Use it for registerrpc.
31404         * sunrpc/xcrypt.c: Use it for passwd2des.
31405
31406         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31407
31408 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31409
31410         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31411         Don't define if [__SYSCALL_WORDSIZE != 32].
31412         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31413         New macro.
31414
31415 2012-05-21  Bruno Haible  <bruno@clisp.org>
31416             Andreas Jaeger  <aj@suse.de>
31417
31418         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31419         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31420         inptr and inend for must_buffer_ch.
31421         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31422         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31423         * stdio-common/Makefile (tests): Remove bug15.
31424         (bug15-ENV): Remove macro.
31425         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31426         anymore.
31427
31428 2012-05-19  Andreas Jaeger  <aj@suse.de>
31429             Roland McGrath  <roland@hack.frob.com>
31430
31431         * manual/contrib.texi: Completely rewritten. It contains now an
31432         alphabetical list of contributors and their contributions.
31433
31434 2012-05-21  Richard Henderson  <rth@twiddle.net>
31435
31436         * misc/getauxval.c (__getauxval): Use unsigned long int.
31437         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31438         (getauxval): Use unsigned long int.
31439
31440 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31441
31442         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31443
31444 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31445
31446         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31447         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31448         __alignof__ (long double).
31449
31450 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31451
31452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31453
31454 2012-05-20  Richard Henderson  <rth@twiddle.net>
31455
31456         * misc/getauxval.c: New file.
31457         * misc/sys/auxv.h: New file.
31458         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31459         (routines): Add getauxval.
31460         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31461         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31462         * elf/dl-sysdep.c (_dl_auxv): Remove.
31463         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31464         * elf/dl-support.c (_dl_auxv): New variable.
31465         (_dl_aux_init): Initialize it.
31466         * manual/startup.texi (Auxiliary Vector): New node.
31467         * sysdeps/generic/bits/hwcap.h: New file.
31468         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31469         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31470         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31471         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31472         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31473         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31475         Update.
31476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31479         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31484
31485 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31486
31487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31488
31489 2012-05-19  David S. Miller  <davem@davemloft.net>
31490
31491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31492
31493 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31494
31495         [BZ #14123]
31496         * math/s_ccosh.c: Include <float.h>
31497         (__ccosh): Avoid internal overflow calculating sinh and cosh
31498         values before multiplying by sin and cos values.
31499         * math/s_ccoshf.c: Likewise.
31500         * math/s_ccoshl.c: Likewise.
31501         * math/s_csin.c: Likewise.
31502         * math/s_csinf.c: Likewise.
31503         * math/s_csinl.c: Likewise.
31504         * math/s_csinh.c: Likewise.
31505         * math/s_csinhf.c: Likewise.
31506         * math/s_csinhl.c: Likewise.
31507         * math/libm-test.inc (ccos_test): Add more tests.
31508         (ccosh_test): Likewise.
31509         (csin_test): Likewise.
31510         (csinh_test): Likewise.
31511         * sysdeps/i386/fpu/libm-test-ulps: Update.
31512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31513
31514 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31515
31516         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31517         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31518
31519         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31520
31521 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31522
31523         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31524         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31525         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31526         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31527         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31528         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31529         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31530         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31531         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31532         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31533         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31534         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31535         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31536         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31537         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31538         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31539         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31540         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31541         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31542         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31543         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31544         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31545         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31546         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31547         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31548         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31549         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31550         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31551         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31552         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31553         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31554
31555 2012-05-18  Andreas Jaeger  <aj@suse.de>
31556
31557         * csu/.gitignore: Delete.
31558
31559 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31560
31561         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31562         (timex): Use __syscall_slong_t.
31563
31564 2012-05-18  Andreas Jaeger  <aj@suse.de>
31565             Carlos O'Donell  <carlos_odonell@mentor.com>
31566
31567         * manual/install.texi (Configuring and compiling): Update
31568         description about files modified in the source directory.
31569         * INSTALL: Regenerated.
31570
31571 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31572
31573         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31574         value.  Use "or" to set return value to -1.
31575         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31576         negate return value.
31577
31578 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31579
31580         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31581         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31582         failure if the compiler has Graphite support disabled.
31583         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31584         Likewise.
31585         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31586         (CFLAGS-memmove.c): Likewise.
31587         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31588         Likewise.
31589
31590 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31591
31592         * sysdeps/x86_64/x32/_itoa.h: New file.
31593
31594         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31595         getdents system call only if kernel and user dirents have the
31596         same d_ino and d_off.
31597
31598         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31599         LLONG_MAX != LONG_MAX.
31600         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31601         (_fitoa_word): Likewise.
31602
31603         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31604         years.
31605         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31606         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31607         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31608
31609         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31610         include <bits/wordsize.h>.  Check __x86_64__ instead of
31611         __WORDSIZE.
31612         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31613         if __x86_64__ is defined.  Use anonymous union on fpstate.
31614
31615         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31616         anonymous union.
31617
31618 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31619
31620         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31621         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31622         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31623         Refer to _rtld_local_ro instead of _rtld_global_ro.
31624         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31625         Likewise.
31626         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31627         Likewise.
31628         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31629         Likewise.
31630         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31631         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31632         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31633
31634         * sysdeps/powerpc/powerpc32/dl-machine.c
31635         (__elf_machine_runtime_setup) [PROF]: Don't reference
31636         _dl_prof_resolve.
31637
31638 2012-05-18  Andreas Jaeger  <aj@suse.de>
31639
31640         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31641         function only available for GCCs before 3.4 since GCC 3.4
31642         introduced a builtin.
31643         (lrint): Likewise.
31644         (llrintf): Likewise.
31645         (llrint): Likewise.
31646         (fmaxf): Likewise.
31647         (fmax): Likewise.
31648         (fminf): Likewise.
31649         (fmin): Likewise.
31650         (rint): Likewise.
31651         (rintf): Likewise.
31652         (nearbyint): Likewise.
31653         (nearbyintf): Likewise.
31654         (ceil): Likewise.
31655         (ceilf): Likewise.
31656         (floor): Likewise.
31657         (floorf): Likewise.
31658
31659 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31660
31661         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31662         on both fields and cast pointer to __syscall_ulong_t.
31663
31664         * bits/types.h (__fsword_t): New type.
31665         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31666         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31667         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31668         (__FSWORD_T_TYPE): Likewise.
31669         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31670         (__FSWORD_T_TYPE): Likewise.
31671         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31672         (__FSWORD_T_TYPE): Likewise.
31673         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31674         (__FSWORD_T_TYPE): Likewise.
31675         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31676         __SWORD_TYPE with __fsword_t.
31677         (statfs64): Likewise.
31678
31679 2012-05-17  David S. Miller  <davem@davemloft.net>
31680
31681         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31682
31683 2012-05-17  Andreas Jaeger  <aj@suse.de>
31684
31685         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31686         warning.
31687
31688 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31689
31690         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31691
31692 2012-05-17  Andreas Jaeger  <aj@suse.de>
31693
31694         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31695         when it is used.
31696
31697 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31698
31699         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31700
31701 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31702
31703         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31704         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31705
31706 2012-05-17  Andreas Jaeger  <aj@suse.de>
31707             Carlos O'Donell  <carlos_odonell@mentor.com>
31708
31709         [BZ #14059]
31710         * sysdeps/x86_64/multiarch/init-arch.h
31711         (bit_YMM_Usable): Rename to...
31712         (bit_AVX_Usable): ... this.
31713         (bit_FMA4_Usable): New macro.
31714         (bit_XMM_state): New macro.
31715         (bit_YMM_state): New macro.
31716         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31717         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31718         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31719         (CPUID_OSXSAVE): New macro.
31720         (CPUID_AVX): New macro.
31721         (CPUID_FMA4): New macro.
31722         (index_YMM_Usable): Rename to...
31723         (index_AVX_Usable): ... this.
31724         (HAS_AVX): Use HAS_ARCH_FEATURE.
31725         (HAS_FMA4): Likewise.
31726         (HAS_YMM_USABLE): Remove.
31727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31728         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31729         are present.
31730         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31731         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31732         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31733         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31734         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31735
31736 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31737
31738         * math/libm-test.c: Support platforms without multiple rounding modes.
31739         * math/bug-nextafter.c: Support platforms without FP exceptions.
31740         * math/bug-nexttoward.c: Likewise.
31741         * math/test-fenv.c: Likewise.
31742         * math/test-misc.c: Likewise.
31743         * stdlib/bug-getcontext.c: Likewise.
31744
31745 2012-05-17  Andreas Jaeger  <aj@suse.de>
31746
31747         * manual/examples/search.c (critter_cmp): Change signature to
31748         avoid warnings.
31749         * manual/string.texi (Collation Functions): Likewise.
31750
31751 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31752
31753         * bits/types.h: Fold copyright years.
31754         * bits/typesizes.h: Likewise.
31755         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31757         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31758         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31759         * time/time.h: Likewise.
31760
31761 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31762
31763         [BZ #208]
31764         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31765         in instead of returning them.  Return void.
31766         (__libc_mallinfo): Accumulate over all arenas.
31767         (__malloc_stats): Adjust for change in int_mallinfo interface.
31768
31769 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31770
31771         [BZ #10375]
31772         * configure.in (NM): Add AC_CHECK_TOOL for it.
31773         (libc_extra_cflags): New substituted variable.
31774         Check for -fstack-protector being used implicitly.
31775         * configure: Regenerated.
31776         * config.make.in (config-extra-cflags): New variable,
31777         gets @libc_extra_cflags@.
31778         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31779
31780         [BZ #10375]
31781         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31782         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31783         * configure: Regenerated.
31784         * config.make.in (CPPUNDEFS): New substituted variable.
31785         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31786         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31787         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31788
31789 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31790
31791         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31792         (mq_attr): Use __syscall_slong_t.
31793
31794 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31795
31796         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31797         Check __x86_64__ instead of __WORDSIZE.
31798         (_STAT_VER_LINUX): Likewise.
31799         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31800         __syscall_ulong_t and __syscall_slong_t.
31801         (stat64): Likewise.
31802
31803 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31804
31805         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31806
31807 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31808
31809         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31810
31811 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31812
31813         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31814         __syscall_ulong_t.
31815
31816         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31817         include <bits/wordsize.h>.  Check __x86_64__ instead of
31818         __WORDSIZE.
31819         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31820         defined.
31821         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31822
31823         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31824         include <bits/wordsize.h>.  Check __x86_64__ instead of
31825         __WORDSIZE.
31826         (user_regs_struct): Use "__extension__ unsigned long long"
31827         instead of "unsigned long" if __x86_64__ is defined.
31828         (user): Likewise.  Pad after pointer field if __ILP32__ is
31829         defined.
31830
31831 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31832
31833         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31834         versions 5 to 9.
31835         * configure: Regenerated.
31836         * manual/install.texi (texinfo): Increase version requirement to
31837         4.5 or later.
31838         * INSTALL: Regenerated.
31839
31840         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31841
31842 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31843
31844         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31845
31846         * sysdeps/x86_64/x32/ffs.c: New file.
31847
31848         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31849         __syscall_ulong_t.
31850         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31851         defined.  Use __syscall_ulong_t.
31852         (shminfo): Use __syscall_ulong_t.
31853         (shm_info): Likewise.
31854
31855         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31856         __syscall_ulong_t.
31857
31858         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31859         <bits/wordsize.h>.
31860         (msgqnum_t): Use __syscall_ulong_t.
31861         (msglen_t): Likewise.
31862         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31863         __syscall_ulong_t.
31864
31865         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31866         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31867
31868         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31869
31870         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31871         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31872
31873         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31874         __syscall_slong_t.
31875
31876         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31877         include <bits/wordsize.h>.  Check __x86_64__ instead of
31878         __WORDSIZE.
31879
31880         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31881         "unsigned long long int" if __x86_64__ is defined.
31882         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31883
31884         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31885         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31886         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31887
31888         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31889         <stdint.h>.
31890         (GET_PC): Cast to uintptr_t first.
31891         (GET_FRAME): Likewise.
31892         (GET_STACK): Likewise.
31893
31894         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31895         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31896         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31897         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31898         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31899         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31900         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31901         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31902         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31903         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31904         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31905         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31906         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31907         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31908         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31909         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31910         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31911         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31912         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31913         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31914         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31915         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31916         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31917         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31918         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31919         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31920         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31921         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31922         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31923
31924 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31925
31926         * Makerules (+depfiles): Also collect depfiles from .oS in
31927         $(extra-objs).
31928         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31929         .oS, $(libnldbl-routines)).
31930
31931         * Makerules (native-compile-mkdep-flags): Define.
31932         * sunrpc/Makefile (extra-objs): Add $(addprefix
31933         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31934         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31935         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31936         calling $(make-target-directory).
31937
31938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31939
31940         * bits/types.h (__snseconds_t): Removed.
31941         * time/time.h (struct timespec): Replace __snseconds_t with
31942         __syscall_slong_t.
31943         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31944         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31945         Likewise.
31946         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31947         (__SNSECONDS_T_TYPE): Likewise.
31948         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31949         (__SNSECONDS_T_TYPE): Likewise.
31950         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31951         (__SNSECONDS_T_TYPE): Likewise.
31952
31953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31954
31955         * sysdeps/mach/hurd/bits/typesizes.h
31956         (__SYSCALL_SLONG_TYPE): New macro.
31957         (__SYSCALL_ULONG_TYPE): Likewise.
31958
31959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31960
31961         * bits/types.h (__syscall_slong_t): New type.
31962         (__syscall_ulong_t): Likewise.
31963
31964         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31965         (__SYSCALL_ULONG_TYPE): Likewise.
31966         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31967         (__SYSCALL_SLONG_TYPE): Likewise.
31968         (__SYSCALL_ULONG_TYPE): Likewise.
31969         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31970         (__SYSCALL_SLONG_TYPE): Likewise.
31971         (__SYSCALL_ULONG_TYPE): Likewise.
31972         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31973         (__SYSCALL_SLONG_TYPE): Likewise.
31974         (__SYSCALL_ULONG_TYPE): Likewise.
31975
31976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31977
31978         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31979         Add sigaltstack-offsets.sym.
31980         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31981         <sigaltstack-offsets.h>.
31982         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31983         longjmp_msg pointer.
31984         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31985         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31986         signal stack.
31987         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31988
31989 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31990
31991         * elf/stackguard-macros.h: Remove file.
31992         * sysdeps/generic/stackguard-macros.h: New file.
31993         * sysdeps/i386/stackguard-macros.h: Likewise.
31994         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31995         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31996         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31997         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31998         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31999         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32000         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32001         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32002         <elf/stackguard-macros.h>.
32003
32004         [BZ #14109]
32005         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32006         __aligned__ in attribute.
32007         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32008         (gregset_t): Likewise.
32009
32010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32011
32012         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32013         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32014         * sysdeps/x86_64/x32/Implies-after: New file.
32015
32016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32017
32018         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32019         and access return value for _dl_profile_fixup.  Use R10_LP to
32020         load frame size.
32021
32022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32023
32024         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32025
32026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32027
32028         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32029         * sysdeps/x86_64/x32/sysdep.h: New file.
32030
32031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32032
32033         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32034         * sysdeps/x86_64/setjmp.S: Likewise.
32035
32036 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32037
32038         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32039         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32040         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32041         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32042         remove unused global constant.
32043
32044 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32045
32046         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32047         include of <not-cancel.h>.
32048
32049 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32050
32051         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32052
32053 2012-05-15  Jeff Law  <law@redhat.com>
32054             Andreas Jaeger  <aj@suse.de>
32055
32056         [BZ #13594]
32057         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32058         out from...
32059         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32060         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32061         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32062         code changing __hst_map_handle.map.
32063
32064 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32065
32066         * configure.in (sysnames): Look for Implies-before and Implies-after
32067         files.
32068         * configure: Regenerated.
32069
32070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32071
32072         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32073         8-byte data alignment with LP_SIZE alignment.
32074
32075 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32076
32077         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32078         into R10_LP.
32079
32080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32081
32082         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32083
32084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32085
32086         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32087         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32088         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32089         Likewise.
32090         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32091
32092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32093
32094         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32095         (stackinfo_sub_sp): Likewise.
32096
32097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32098
32099         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32100         RAX_LP.
32101
32102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32103
32104         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32105         into R*_LP.
32106
32107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32108
32109         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32110         sizes into R*_LP.
32111
32112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32113
32114         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32115
32116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32117
32118         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32119         into R11_LP and load __x86_64_shared_cache_size_half into
32120         R8_LP.
32121
32122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32123
32124         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32125         R8_LP.
32126
32127 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32128
32129         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32130         logb for POWER7.
32131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32132         logbf for POWER7.
32133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32134         logbl for POWER7.
32135         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32136         powerpc32/power7/fpu/s_logb.c via #include.
32137         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32138         powerpc32/power7/fpu/s_logbf.c via #include.
32139         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32140         powerpc32/power7/fpu/s_logbl.c via #include.
32141
32142 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32143
32144         * README.libm: Remove file.
32145
32146 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32147
32148         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32149         count for x32.  Use R*_LP and omit operand-size suffix.
32150
32151 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32152
32153         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32154         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32155         * sysdeps/x86_64/x32/shlib-versions: New file.
32156
32157 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32158
32159         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32160         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32161         Use _dl_fatal_printf instead.
32162
32163 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32164
32165         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32166         set if not set by the user.  Do not allow for being unset.
32167         * sysdeps/unix/sysv/linux/configure: Regenerated.
32168
32169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32170
32171         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32172         the `q' suffix from lea and replace .quad with ASM_ADDR.
32173
32174 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32175
32176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32177         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32178         instead of $17.
32179         (PTR_DEMANGLE): Likewise.
32180
32181 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32182
32183         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32184         (LP_OP): Likewise.
32185         (ASM_ADDR): Likewise.
32186         (RAX_LP): Likewise.
32187         (RBP_LP): Likewise.
32188         (RBX_LP): Likewise.
32189         (RCX_LP): Likewise.
32190         (RDI_LP): Likewise.
32191         (RSI_LP): Likewise.
32192         (RSP_LP): Likewise.
32193         (R8_LP): Likewise.
32194         (R9_LP): Likewise.
32195         (R10_LP): Likewise.
32196         (R10_LP): Likewise.
32197         (R11_LP): Likewise.
32198         (R12_LP): Likewise.
32199         (R13_LP): Likewise.
32200         (R14_LP): Likewise.
32201         (R15_LP): Likewise.
32202
32203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32204
32205         * sysdeps/x86_64/x32/dl-machine.h: New file.
32206
32207 2012-05-14  Andreas Jaeger  <aj@suse.de>
32208
32209         * manual/Makefile (subdir): Remove export of subdir.
32210         (all): Remove target.
32211         (.PHONY): Remove all from list.
32212         (mkinstalldirs): Remove.
32213         (.PHONY): Remove installdirs from list.
32214         ($(inst_infodir)/libc.info): Use make-target-directory.
32215         (installdirs): Remove.
32216         (subdir_%): Remove.
32217         (glibc-targets): Remove.
32218         (lib): Remove.
32219         (stubs): Remove.
32220         ($(objpfx)stubs ../po/manual.pot): Remove.
32221         ($(objpfx)stamp%): Remove.
32222         (make-target-directory): Remove.
32223         (subdir_install): Remove.
32224         (routines): Remove.
32225         (aux): Remove.
32226         (sources): Remove.
32227         (objects): Remove.
32228         (headers): Remove.
32229
32230         [BZ #13750]
32231         * manual/.gitignore: Remove, it's not needed anymore.
32232         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32233         all files in it.
32234         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32235         directory.
32236         (texis): Renamed to $(objpfx)texis.
32237         (texis-path): New, contains path to generated files.
32238         (chapters.%): Use texis-path for complete path, add extra argument
32239         libc-texinfo.sh.
32240         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32241         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32242         (summary,texi, stamp-summary): Use complete path of
32243         files. Generate files in build dir.
32244         (dir-add.texi): Build in build dir.
32245         (libm-err.texi,stamp-libm-err): Likewise.
32246         (version.texi, stamp-version): Likewise.
32247         (.%c.texi): Likewise.
32248         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32249         (mostlyclean): Remove target.
32250         (realclean): Remove target.
32251         (generated): Add new variable with contents from mostlyclean and
32252         realclean, remove entries duplicated in common-mostlyclean, add
32253         stamp-libm-err and stamp-version.
32254         (generated-dirs): Add libc directory.
32255         ($(inst_infodir)/libc.info): Install files from build dir.
32256
32257         * manual/install.texi (Configuring and compiling): Adjust since
32258         the info files are not part of the tar ball anymore.
32259
32260 2012-05-14  Andreas Jaeger  <aj@suse.de>
32261
32262         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32263         variable.
32264
32265 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32266
32267         [BZ #13717]
32268         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32269         to 2.2.0 where earlier.
32270         * sysdeps/unix/sysv/linux/configure: Regenerated.
32271         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32272         Remove conditional code.
32273         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32274         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32275         Remove conditional code.
32276         [!__NR_lchown]: Likewise.
32277         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32278         [__NR_lchown]: Likewise.
32279         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32280         comment referencing __ASSUME_LCHOWN_SYSCALL.
32281         * sysdeps/unix/sysv/linux/i386/sigaction.c
32282         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32283         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32284         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32285         Remove conditional code.
32286         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32287         (__protocol_available): Remove #if 0 code.
32288         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32289         conditional code.
32290         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32291         * sysdeps/unix/sysv/linux/kernel-features.h
32292         (__ASSUME_GETCWD_SYSCALL): Don't define.
32293         (__ASSUME_REALTIME_SIGNALS): Likewise.
32294         (__ASSUME_PREAD_SYSCALL): Likewise.
32295         (__ASSUME_PWRITE_SYSCALL): Likewise.
32296         (__ASSUME_POLL_SYSCALL): Likewise.
32297         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32298         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32299         non-SPARC.
32300         (__ASSUME_SIOCGIFNAME): Don't define.
32301         (__ASSUME_MSG_NOSIGNAL): Likewise.
32302         (__ASSUME_SENDFILE): Define unconditionally.
32303         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32304         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32305         conditional code.
32306         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32307         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32308         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32309         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32310         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32311         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32312         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32314         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32315         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32317         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32318         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32320         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32321         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32323         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32324         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32326         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32327         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32329         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32330         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32332         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32333         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32335         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32336         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32337         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32338         Remove conditional code.
32339         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32340         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32341         Remove conditional code.
32342         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32343         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32344         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32345         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32346         Remove conditional code.
32347         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32348         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32349         Remove conditional code.
32350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32351         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32352         Remove conditional code.
32353         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32354         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32355         Remove conditional code.
32356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32357         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32358         Remove conditional code.
32359         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32360         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32361         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32362         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32363         * sysdeps/unix/sysv/linux/sigaction.c
32364         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32365         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32366         * sysdeps/unix/sysv/linux/sigpending.c
32367         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32368         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32369         * sysdeps/unix/sysv/linux/sigprocmask.c
32370         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32371         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32372         * sysdeps/unix/sysv/linux/sigsuspend.c
32373         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32374         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32375         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32376         (__libc_missing_rt_sigs): Remove.
32377         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32378         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32379         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32380         Remove conditional code.
32381         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32382         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32383         return 1.
32384         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32385         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32386         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32387         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32388
32389 2012-05-14  Andreas Jaeger  <aj@suse.de>
32390
32391         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32392         it's not used in glibc.
32393         (__coshm1): Likewise.
32394         (__acosh1p): Likewise.
32395         (__sgn): Likewise.
32396
32397         * manual/string.texi (Copying and Concatenation): Add missing
32398         variable in concat example.
32399         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32400
32401 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32402
32403         [BZ #14103]
32404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32405         __builtin_clzl with __builtin_clzll.
32406
32407 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32408
32409         [BZ #14104]
32410         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32411         libc_freeres_ptr.
32412
32413 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32414
32415         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32416         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32417         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32418         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32419
32420 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32421
32422         * NEWS: Update ia64 info.
32423
32424 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32425
32426         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32427         used as bcopy.
32428
32429 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32430
32431         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32432         * sysdeps/unix/syscalls.list (dup3): Likewise.
32433         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32434         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32435
32436 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32437
32438         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32439         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32440
32441 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32442
32443         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32444         thread pointer.
32445         (TLS_IE): Use mov/add instead of movq/addq to load thread
32446         pointer.
32447         (TLS_GD_PREFIX): New.
32448         (TLS_GD): Use it.
32449
32450 2012-05-11  David S. Miller  <davem@davemloft.net>
32451
32452         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32453         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32454         (_FPU_SETCW): Likewise.
32455
32456 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32457
32458         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32459         is 32-byte aligned.
32460
32461 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32462
32463         [BZ #11837]
32464         * iconvdata/gb18030.c: Update tables.
32465         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32466         characters specially.
32467         (BODY for TO_LOOP): Add encoding of missing ranges.
32468
32469 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32470
32471         [BZ #13673]
32472         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32473         * sysdeps/mach/hurd/dup3.c: Likewise.
32474         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32475         * sysdeps/powerpc/memmove.c:: Likewise.
32476
32477 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32478
32479         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32480         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32481
32482 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32483
32484         * elf/elf.h (R_X86_64_RELATIVE64): New.
32485         (R_X86_64_NUM): Updated.
32486         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32487         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32488         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32489         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32490         tst-quad1pie tst-quad2pie
32491         (modules-names): Add tst-quadmod1 tst-quadmod2.
32492         ($(objpfx)tst-quad1): New dependency.
32493         ($(objpfx)tst-quad2): Likewise.
32494         ($(objpfx)tst-quad1pie): Likewise.
32495         ($(objpfx)tst-quad2pie): Likewise.
32496         * sysdeps/x86_64/tst-quad1.c: New file.
32497         * sysdeps/x86_64/tst-quad1pie.c: New file.
32498         * sysdeps/x86_64/tst-quad2.c: Likewise.
32499         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32500         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32501         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32502         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32503         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32504
32505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32506
32507         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32508         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32509         * streams/stropts.h (t_scalar_t): Define type.
32510
32511         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32512         (_PATH_PRESERVE): Set to "/var/lib".
32513         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32514
32515         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32516         instead of int.
32517
32518         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32519         if __dir_mkfile succeeded.
32520
32521         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32522         checking for _hurd_dtablesize.  Unlock it right after having
32523         finished _hurd_dtable allocation.
32524
32525 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32526
32527         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32528         * sysdeps/mach/hurd/configure: Regenerated.
32529         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32530         special-casing to...
32531         * sysdeps/gnu/configure.in: ... this new file.
32532         * sysdeps/unix/sysv/linux/configure: Regenerated.
32533         * sysdeps/gnu/configure: New generated file.
32534
32535         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32536         for Linux: use nsec instead of usec, as well as:
32537         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32538         members of type struct timespec.
32539         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32540         New macros.
32541         (struct stat64): Likewise.
32542         (_STATBUF_ST_NSEC): New macro.
32543         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32544
32545         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32546         __strtoul_internal rather than strtoul.
32547
32548 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32549
32550         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32551         and reject them.
32552
32553 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32554
32555         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32556         which preserves existing values.
32557         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32558
32559 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32560
32561         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32562         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32563         greater than FD_SETSIZE.
32564
32565 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32566
32567         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32568         allocated, call __vm_protect to finish enabling the existing space, and
32569         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32570         allocate the remainder.
32571
32572 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32573
32574         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32575         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32576
32577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32578
32579         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32580         sysdeps/mach/hurd/readlink.c.
32581
32582         * posix/tst-sysconf.c (posix_options): Only use
32583         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32584         _POSIX_SYNCHRONIZED_IO when they are defined
32585         * sysdeps/mach/hurd/bits/posix_opt.h:
32586         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32587         (_XOPEN_REALTIME): Undefine macro.
32588         (_XOPEN_REALTIME_THREADS): Undefine macro.
32589         (_XOPEN_SHM): Undefine macro.
32590         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32591         macro to -1.
32592         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32593         macro to -1.
32594         (_POSIX_ASYNC_IO): Undefine macro.
32595         (_POSIX_PRIORITIZED_IO): Undefine macro.
32596         (_POSIX_SPIN_LOCKS): Define macro to -1.
32597
32598         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32599         SA_NODEFER, SA_RESETHAND.
32600         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32601         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32602         F_DUPFD_CLOEXEC.
32603
32604 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32605
32606         * elf/Makefile (pldd-modules): Define unconditionally.
32607
32608 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32609
32610         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32611
32612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32613
32614         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32615         Return ENOENT when name is empty.
32616         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32617
32618 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32619
32620         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32621
32622         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32623
32624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32625
32626         Fix mlock in all cases except non-readable pages.
32627         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32628         instead of VM_PROT_ALL as parameter to __vm_wire function.
32629
32630         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32631         (__mkdir): When path is `/', just fail with EEXIST.
32632         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32633
32634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32635
32636         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32637         <sys/uio.h> (for writev).
32638         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32639         and <sys/param.h> (for MIN).
32640
32641 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32642
32643         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32644         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32645         if interrupted.
32646
32647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32648
32649         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32650         Depend on against $(link-rpcuserlibs).
32651
32652 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32653
32654         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32655         (__libc_stack_end): Do not use attribute_relro.
32656         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32657         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32658         to libthread-provided value.
32659         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32660         attribute_relro.
32661
32662 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32663
32664         [BZ #3748]
32665         * bits/libc-lock.h (__libc_once_get): New macro.
32666         * sysdeps/mach/bits/libc-lock.h: Likewise.
32667         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32668         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32669         instead of using implementation details.
32670
32671         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32672         * libio/freopen.c: Likewise.
32673         * libio/freopen64.c: Likewise.
32674         * misc/syslog.c: Likewise.
32675         * nscd/connections.c: Likewise.
32676         * nscd/netgroupcache.c: Likewise.
32677         * sysdeps/posix/getcwd.c: Likewise.
32678
32679 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32680
32681         * math/w_ilogbf.c: Add #include <limits.h>.
32682
32683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32684
32685         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32686         path instead of returning without unlocking.
32687
32688         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32689         immediate-write ioctls.
32690         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32691
32692 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32693
32694         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32695         __builtin_frame_address instead of making assumptions about the
32696         location of the return address relative to DATA.  Force early load of
32697         the return address.
32698         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32699         __builtin_frame_address.
32700
32701         dup3 for GNU Hurd.
32702         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32703         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32704         implement dup3 and do some further code clean-ups.
32705         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32706         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32707
32708 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32709
32710         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32711
32712         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32713         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32714         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32715         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32716         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32717         d->port.lock.
32718
32719         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32720         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32721         when handler == SIG_ERR, not when handler != SIG_ERR.
32722
32723 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32724
32725         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32726         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32727         definitions.
32728
32729         accept4 for GNU Hurd.
32730         * include/sys/socket.h (__libc_accept4): New prototype.
32731         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32732         to implement __libc_accept4.
32733         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32734         __libc_accept4.
32735         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32736
32737         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32738         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32739         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32740         signal-defines.sym.
32741
32742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32743
32744         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32745
32746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32747
32748         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32749         assertion on O_CLOEXEC flag.
32750         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32751         * hurd/intern-fd.c: Likewise.
32752         * hurd/port2fd.c: Likewise.
32753
32754 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32755
32756         [BZ #3906]
32757         * bits/in.h (IPV6_PKTINFO): Define new macro.
32758         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32759
32760 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32761
32762         [BZ #13954]
32763         [BZ #13955]
32764         [BZ #13956]
32765         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32766         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32767         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32768         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32769         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32770         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32771         * math/libm-test.inc (logb_test) : Additional logb tests.
32772
32773 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32774             Andreas Jaeger  <aj@suse.de>
32775
32776         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32777         * configure: Regenerated.
32778         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32779         * config.make.in (link-obsolete-rpc): New substituted variable.
32780         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32781         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32782         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32783         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32784         so that libc.a contains the symbols.
32785         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32786         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32787         * sunrpc/auth_none.c: Likewise.
32788         * sunrpc/auth_unix.c: Likewise.
32789         * sunrpc/authdes_prot.c: Likewise.
32790         * sunrpc/authuxprot.c: Likewise.
32791         * sunrpc/clnt_gen.c: Likewise.
32792         * sunrpc/clnt_perr.c: Likewise.
32793         * sunrpc/clnt_raw.c: Likewise.
32794         * sunrpc/clnt_simp.c: Likewise.
32795         * sunrpc/clnt_tcp.c: Likewise.
32796         * sunrpc/clnt_udp.c: Likewise.
32797         * sunrpc/clnt_unix.c: Likewise.
32798         * sunrpc/des_crypt.c: Likewise.
32799         * sunrpc/des_soft.c: Likewise.
32800         * sunrpc/get_myaddr.c: Likewise.
32801         * sunrpc/key_call.c: Likewise.
32802         * sunrpc/key_prot.c: Likewise.
32803         * sunrpc/netname.c: Likewise.
32804         * sunrpc/pm_getmaps.c: Likewise.
32805         * sunrpc/pm_getport.c: Likewise.
32806         * sunrpc/pmap_clnt.c: Likewise.
32807         * sunrpc/pmap_prot.c: Likewise.
32808         * sunrpc/pmap_prot2.c: Likewise.
32809         * sunrpc/pmap_rmt.c: Likewise.
32810         * sunrpc/publickey.c: Likewise.
32811         * sunrpc/rpc_cmsg.c: Likewise.
32812         * sunrpc/rpc_common.c: Likewise.
32813         * sunrpc/rpc_dtable.c: Likewise.
32814         * sunrpc/rpc_prot.c: Likewise.
32815         * sunrpc/rpc_thread.c: Likewise.
32816         * sunrpc/rtime.c: Likewise.
32817         * sunrpc/svc.c: Likewise.
32818         * sunrpc/svc_auth.c: Likewise.
32819         * sunrpc/svc_raw.c: Likewise.
32820         * sunrpc/svc_run.c: Likewise.
32821         * sunrpc/svc_tcp.c: Likewise.
32822         * sunrpc/svc_udp.c: Likewise.
32823         * sunrpc/svc_unix.c: Likewise.
32824         * sunrpc/svcauth_des.c: Likewise.
32825         * sunrpc/xcrypt.c: Likewise.
32826         * sunrpc/xdr.c: Likewise.
32827         * sunrpc/xdr_array.c: Likewise.
32828         * sunrpc/xdr_float.c: Likewise.
32829         * sunrpc/xdr_intXX_t.c: Likewise.
32830         * sunrpc/xdr_mem.c: Likewise.
32831         * sunrpc/xdr_rec.c: Likewise.
32832         * sunrpc/xdr_ref.c: Likewise.
32833         * sunrpc/xdr_sizeof.c: Likewise.
32834         * sunrpc/xdr_stdio.c: Likewise.
32835
32836 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32837
32838         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32839         change.  Update copyright years.
32840
32841 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32842
32843         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32844
32845 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32846             Joseph Myers  <joseph@codesourcery.com>
32847             Paul Pluzhnikov  <ppluzhnikov@google.com>
32848
32849         [BZ #14012]
32850         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32851         requiring rpcgen.
32852         [cross-compiling] (extra-libs): Likewise.
32853         [cross-compiling] (extra-libs-others): Likewise.
32854         [cross-compiling] (librpcsvc-routines): Likewise.
32855         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32856         [cross-compiling] (omit-deps): Likewise.
32857         (sunrpc-CPPFLAGS): New variable.
32858         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32859         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32860         (cross-rpcgen-objs): New variable.
32861         (extra-objs): Append $(cross-rpcgen-objs).
32862         ($(cross-rpcgen-objs)): New rule.
32863         ($(objpfx)cross-rpcgen): Likewise.
32864         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32865         comment.
32866         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32867         ($(objpfx)x%.stmp): Likewise.
32868         * sunrpc/proto.h [IS_IN_build] (_): Define.
32869         [IS_IN_build] (_libc_intl_domainname): Likewise.
32870
32871 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32872
32873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32874         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32875         and R_X86_64_TPOFF64.
32876
32877 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32878
32879         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32880         sysdeps/unix/sysv/syscalls.list.
32881         (stime): Likewise.
32882         (utime): Likewise.
32883         * sysdeps/unix/sysv/syscalls.list: Remove file.
32884
32885 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32886
32887         [BZ #3440]
32888         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32889         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32890         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32891         (__LC_IDENTIFICATION): Make these macros useful in #if
32892         expressions, as required by C99.
32893
32894 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32895
32896         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32897         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32898         after this.
32899
32900 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32901
32902         * stdlib/longlong.h: Updated from GCC.
32903
32904 2012-05-09  Andreas Jaeger  <aj@suse.de>
32905
32906         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32907         default is first entry.
32908         (run_mode): Set type.
32909         (main): Remove informal message about syslog.
32910         (options): Fix typo.
32911
32912         [BZ #14053]
32913         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32914         to asm.
32915         (lrint): Likewise.
32916         (llrintf): Likewise.
32917         (llrint): Likewise.
32918         (rint): Likewise.
32919         (rintf): Likewise.
32920         (nearbyint): Likewise.
32921         (nearbyintf): Likewise.
32922
32923 2012-05-09  Andreas Jaeger  <aj@suse.de>
32924             Pedro Alves  <palves@redhat.com>
32925
32926         * nscd/nscd.c (run_mode): Use enum.
32927         (main): Cleanup coding style issue.
32928
32929 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32930             Andreas Jaeger  <aj@suse.de>
32931
32932         * nscd/nscd.c (go_background): Replaced with...
32933         (run_mode): ... this.
32934         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32935         (options): Add -F --foreground.
32936         (main): Implement it.
32937         (parse_opt): Parse it.
32938
32939 2012-05-09  Andreas Jaeger  <aj@suse.de>
32940
32941         [BZ #14083]
32942         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32943         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32944         -Wconversion warning.
32945         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32946         Likewise.
32947
32948 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32949
32950         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32951         == 0.
32952         (LC_ALL): Use macro-int-constant.
32953         (LC_COLLATE): Likewise.
32954         (LC_CTYPE): Likewise.
32955         (LC_MESSAGES): Likewise.
32956         (LC_MONETARY): Likewise.
32957         (LC_NUMERIC): Likewise.
32958         (LC_TIME): Likewise.
32959         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32960         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32961         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32962         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32963         Specify type.
32964         [C99-based standards] (float_t): Expect type.
32965         [C99-based standards] (double_t): Expect type.
32966         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32967         type.
32968         [C99-based standards] (HUGE_VALL): Likewise.
32969         [C99-based standards] (INFINITY): Likewise.
32970         [C99-based standards] (NAN): Likewise.
32971         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32972         [C99-based standards] (FP_NAN): Likewise.
32973         [C99-based standards] (FP_NORMAL): Likewise.
32974         [C99-based standards] (FP_SUBNORMAL): Likewise.
32975         [C99-based standards] (FP_ZERO): Likewise.
32976         [C99-based standards] (FP_FAST_FMA): Use
32977         optional-macro-int-constant.  Specify type.  Require == 1.
32978         [C99-based standards] (FP_FAST_FMAF): Likewise.
32979         [C99-based standards] (FP_FAST_FMAL): Likewise.
32980         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32981         [C99-based standards] (FP_ILOGBNAN): Likewise.
32982         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32983         Specify type.
32984         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32985         [C99-based standards] (math_errhandling): Specify type.
32986         [ISO99 || ISO11] (signgam): Do not allow.
32987         [non-C99-based standards] (copysignf): Do not allow.
32988         [non-C99-based standards] (exp2f): Likewise.
32989         [non-C99-based standards] (log2f): Likewise.
32990         [non-C99-based standards] (modff): Allow.
32991         [non-C99-based standards] (erff): Do not allow.
32992         [non-C99-based standards] (erfcf): Likewise.
32993         [non-C99-based standards] (gammaf): Likewise.
32994         [non-C99-based standards] (hypotf): Likewise.
32995         [non-C99-based standards] (j0f): Likewise.
32996         [non-C99-based standards] (j1f): Likewise.
32997         [non-C99-based standards] (jnf): Likewise.
32998         [non-C99-based standards] (lgammaf): Likewise.
32999         [non-C99-based standards] (tgammaf): Likewise.
33000         [non-C99-based standards] (y0f): Likewise.
33001         [non-C99-based standards] (y1f): Likewise.
33002         [non-C99-based standards] (ynf): Likewise.
33003         [non-C99-based standards] (isnanf): Likewise.
33004         [non-C99-based standards] (acoshf): Likewise.
33005         [non-C99-based standards] (asinhf): Likewise.
33006         [non-C99-based standards] (atanhf): Likewise.
33007         [non-C99-based standards] (cbrtf): Likewise.
33008         [non-C99-based standards] (expm1f): Likewise.
33009         [non-C99-based standards] (ilogbf): Likewise.
33010         [non-C99-based standards] (log1pf): Likewise.
33011         [non-C99-based standards] (logbf): Likewise.
33012         [non-C99-based standards] (nextafterf): Likewise.
33013         [non-C99-based standards] (remainderf): Likewise.
33014         [non-C99-based standards] (rintf): Likewise.
33015         [non-C99-based standards] (scalbf): Likewise.
33016         [non-C99-based standards] (copysignl): Likewise.
33017         [non-C99-based standards] (exp2l): Likewise.
33018         [non-C99-based standards] (log2l): Likewise.
33019         [non-C99-based standards] (modfl): Allow.
33020         [non-C99-based standards] (erfl): Do not allow.
33021         [non-C99-based standards] (erfcl): Likewise.
33022         [non-C99-based standards] (gammal): Likewise.
33023         [non-C99-based standards] (hypotl): Likewise.
33024         [non-C99-based standards] (j0l): Likewise.
33025         [non-C99-based standards] (j1l): Likewise.
33026         [non-C99-based standards] (jnl): Likewise.
33027         [non-C99-based standards] (lgammal): Likewise.
33028         [non-C99-based standards] (tgammal): Likewise.
33029         [non-C99-based standards] (y0l): Likewise.
33030         [non-C99-based standards] (y1l): Likewise.
33031         [non-C99-based standards] (ynl): Likewise.
33032         [non-C99-based standards] (isnanl): Likewise.
33033         [non-C99-based standards] (acoshl): Likewise.
33034         [non-C99-based standards] (asinhl): Likewise.
33035         [non-C99-based standards] (atanhl): Likewise.
33036         [non-C99-based standards] (cbrtl): Likewise.
33037         [non-C99-based standards] (expm1l): Likewise.
33038         [non-C99-based standards] (ilogbl): Likewise.
33039         [non-C99-based standards] (log1pl): Likewise.
33040         [non-C99-based standards] (logbl): Likewise.
33041         [non-C99-based standards] (nextafterl): Likewise.
33042         [non-C99-based standards] (remainderl): Likewise.
33043         [non-C99-based standards] (rintl): Likewise.
33044         [non-C99-based standards] (scalbl): Likewise.
33045         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33046         [non-C99-based standards] (FP_*): Do not allow.
33047         [C99-based standards] (FP_*): Change to
33048         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33049         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33050         allow.
33051         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33052         (SIG_ERR): Likewise.
33053         [X/Open-based standards] (SIG_HOLD): Likewise.
33054         (SIG_IGN): Likewise.
33055         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33056         positive value.
33057         (SIGFPE): Likewise.
33058         (SIGILL): Likewise.
33059         (SIGINT): Likewise.
33060         (SIGSEGV): Likewise.
33061         (SIGTER): Likewise.
33062         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33063         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33064         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33065         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33066         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33067         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33068         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33069         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33070         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33071         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33072         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33073         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33074         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33075         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33076         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33077         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33078         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33079         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33080         [X/Open-based standards] (SIGTRAP): Likewise.
33081         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33082         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33083         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33084         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33085         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33086         allow.
33087
33088 2012-05-08  Ian Wienand  <ianw@vmware.com>
33089
33090         [BZ #14080]
33091         * time/tzset.c (__tzset_parse_tz): Update default rules for
33092         daylight time changes in the Energy Policy Act of 2005.
33093
33094 2012-05-09  Andreas Jaeger  <aj@suse.de>
33095
33096         [BZ #13983]
33097         * elf/ldconfig.c (parse_conf): Change string to make clear that
33098         ldconfig only issued a warning if ld.so.conf does not exist.
33099
33100 2012-05-08  David S. Miller  <davem@davemloft.net>
33101
33102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33103         movxtod instead of popping the value on the stack.
33104
33105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33106
33107 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33108
33109         * config.h.in: Add HAVE_ARM_PCS_VFP.
33110
33111 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33112
33113         [BZ #13979]
33114         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33115         checking but the checks are disabled for any reason.
33116
33117 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33118
33119         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33120         and ELF64_R_TYPE with ELFW(R_TYPE).
33121
33122 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33123
33124         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33125         (ulimit): Likewise.
33126
33127         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33128         (settimeofday): Likewise.
33129
33130 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33131
33132         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33133         a struct th_u2 inside the union, and move tu_block/tu_code into
33134         a new th_u3 union of tu_block/tu_code inside of that.  Move
33135         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33136         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33137         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33138         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33139         (th_stuff): Change to th_u1.tu_stuff.
33140         (th_data): Define.
33141         (th_msg): Change to th_u1.th_u2.tu_data.
33142
33143 2012-05-07  David S. Miller  <davem@davemloft.net>
33144
33145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33146
33147         [BZ #14074]
33148         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33149         (SETUP_PIC_REG): Use it.
33150         (SETUP_PIC_REG_LEAF): Use it.
33151
33152 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33153
33154         [BZ #13885]
33155         [BZ #13923]
33156         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33157         USE_AS_EXPM1L.
33158         (EXPL_FINITE): Likewise.
33159         (FLDLOG): Likewise.
33160         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33161         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33162         e_expl.S.
33163         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33164         USE_AS_EXPM1L.
33165         (EXPL_FINITE): Likewise.
33166         (FLDLOG): Likewise.
33167         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33168         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33169         e_expl.S.
33170         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33171         test of -max_value argument for long double.
33172         * sysdeps/i386/fpu/libm-test-ulps: Update.
33173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33174
33175 2012-05-06  David S. Miller  <davem@davemloft.net>
33176
33177         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33178         quad soft-float symbols whose references which are compiler
33179         generated.
33180         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33181
33182 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33183
33184         [BZ #13884]
33185         [BZ #13914]
33186         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33187         USE_AS_EXP10L.
33188         (EXPL_FINITE): Likewise.
33189         (FLDLOG): Likewise.
33190         (c0): Likewise.
33191         (c1): Likewise.
33192         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33193         Adjust comments for base varying.
33194         (__expl_finite): Change alias to EXPL_FINITE.
33195         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33196         e_expl.S.
33197         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33198         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33199         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33200         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33201         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33202         USE_AS_EXP10L.
33203         (EXPL_FINITE): Likewise.
33204         (FLDLOG): Likewise.
33205         (c0): Likewise.
33206         (c1): Likewise.
33207         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33208         Adjust comments for base varying.
33209         (__expl_finite): Change alias to EXPL_FINITE.
33210         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33211         tests for bugs.
33212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33213
33214         [BZ #14064]
33215         * math/libm-test.inc (check_float_internal): Correct ulp
33216         calculation for subnormal expected results.
33217
33218 2012-05-06  Andreas Jaeger  <aj@suse.de>
33219
33220         * Makeconfig (+math-flags): New, set to -frounding-math.
33221         (+cflags): Add +math-flags so that all of glibc gets compiled with
33222         it.
33223
33224         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33225
33226 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33227
33228         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33229         Disable one test.
33230
33231         [BZ #13787]
33232         [BZ #13922]
33233         [BZ #14036]
33234         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33235         (__ieee754_expl): Allow for and saturate large arguments.
33236         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33237         (u_threshold): Likewise.
33238         (__exp): Call __ieee754_exp before checking for overflow and
33239         underflow.
33240         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33241         (u_threshold): Likewise.
33242         (__expf): Call __ieee754_expf before checking for overflow and
33243         underflow.
33244         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33245         (u_threshold): Likewise.
33246         (__expl): Call __ieee754_expl before checking for overflow and
33247         underflow.
33248         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33249         (__ieee754_expl): Allow for and saturate large arguments.
33250         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33251         missing overflow exception on overflow.
33252         (expm1_test): Do not allow missing overflow exception on overflow.
33253
33254         * sysdeps/i386/fpu/e_expl.c: Move to ...
33255         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33256         rather than using inline asm.
33257         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33258         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33259         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33260
33261         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33262         (nice): Likewise.
33263         (poll): Likewise.
33264         (signal): Likewise.
33265         (time): Likewise.
33266         (times): Likewise.
33267
33268 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33269
33270         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33271         sysdeps/unix/common/syscalls.list.
33272         (fchmod): Likewise.
33273         (fchown): Likewise.
33274         (ftruncate): Likewise.
33275         (getrusage): Likewise.
33276         (gettimeofday): Likewise.
33277         (setpgid): Likewise.
33278         (setregid): Likewise.
33279         (setreuid): Likewise.
33280         (sigaction): Likewise.
33281         (truncate): Likewise.
33282         (vhangup): Likewise.
33283         * sysdeps/unix/common/syscalls.list: Remove file.
33284         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33285         * sysdeps/unix/sysv/linux/Implies: Likewise.
33286
33287 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33288
33289         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33291         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33292         Moved to ...
33293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33294         Here.
33295         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33296         to ...
33297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33298         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33299         to ...
33300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33301         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33302         to ...
33303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33304         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33305         to ...
33306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33307         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33308         to ...
33309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33310         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33311         to ...
33312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33313         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33314         to ...
33315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33316         Here.
33317         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33318         to ...
33319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33320         Here.
33321         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33322         to ...
33323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33324         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33325         Moved to ...
33326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33327         Here.
33328         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33329         to ...
33330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33331
33332 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33333
33334         * sysdeps/unix/common/bits/dirent.h: Remove file.
33335         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33336
33337         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33338         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33339         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33340         * sysdeps/unix/bsd/isatty.c: Likewise.
33341         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33342         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33343         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33344
33345 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33346
33347         [BZ #13563]
33348         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33349         long double comparison inaccuracies.
33350         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33352
33353 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33354
33355         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33356         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33357
33358 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33359
33360         [BZ #14049]
33361         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33362         nonzero digits before rounding a hex value.
33363         * stdlib/tst-strtod.c (tests): Add another test.
33364
33365 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33366
33367         * sysdeps/s390/fpu/libm-test-ulps: Update.
33368
33369 2012-05-03  Andreas Jaeger  <aj@suse.de>
33370
33371         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33372         does not get optimized out.
33373         (malloc_opt_barrier): New.
33374
33375 2012-05-03  Andreas Jaeger  <aj@suse.de>
33376             Roland McGrath  <roland@hack.frob.com>
33377
33378         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33379         intermediate file deletion.
33380         (generated): Add .symlist files.
33381
33382 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33383
33384         [BZ #13775]
33385         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33386         Redirect under this condition.
33387         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33388         [__USE_GNU] (__dprintf_chk): Not under this condition.
33389         [__USE_GNU] (__vdprintf_chk): Likewise.
33390         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33391         under this condition.
33392         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33393         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33394         [__USE_XOPEN2K8] (vdprintf): Likewise.
33395         [__USE_GNU] (__dprintf_chk): Not under this condition.
33396         [__USE_GNU] (__vdprintf_chk): Likewise.
33397         [__USE_GNU] (dprintf): Likewise.
33398         [__USE_GNU] (vdprintf): Likewise.
33399
33400 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33401
33402         * elf/Makefile (common-generated): Set this instead of generated for
33403         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33404         $(all-built-dso)-derived lists.
33405
33406 2012-05-03  Andreas Jaeger  <aj@suse.de>
33407
33408         * sysdeps/i386/fpu/libm-test-ulps: Update.
33409
33410         * FAQ: Removed.
33411         * FAQ.in: Likewise.
33412         * scripts/gen-FAQ.pl: Likewise.
33413         * manual/install.texi (Installation): Point to online location of
33414         FAQ.
33415         * Makefile (files-for-dist): Remove FAQ.
33416         (FAQ): Remove.
33417
33418 2012-05-02  Allan McRae  <allan@archlinux.org>
33419
33420         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33421         (LDFLAGS-reldepmod5.so): Likewise.
33422         (LDFLAGS-reldep6mod1.so): Likewise.
33423         (LDFLAGS-reldep6mod4.so): Likewise.
33424         (LDFLAGS-reldep8mod3.so): Likewise.
33425         (LDFLAGS-unload4mod1.so): Likewise.
33426         (LDFLAGS-unload4mod2.so): Likewise.
33427         (LDFLAGS-tst-initorder): Likewise.
33428         (LDFLAGS-tst-initordera2.so): Likewise.
33429         (LDFLAGS-tst-initordera3.so): Likewise.
33430         (LDFLAGS-tst-initordera4.so): Likewise.
33431         (LDFLAGS-tst-initorderb2.so): Likewise.
33432         (LDFLAGS-noload): Likewise.
33433         (LDFLAGS-next): Likewise.
33434         (LDFLAGS-order2mod1.so): Likewise.
33435         (LDFLAGS-order2mod2.so): Likewise.
33436         (LDFLAGS-tst-initorder2): Likewise.
33437         (LDFLAGS-tst-initorder2a.so): Likewise.
33438         (LDFLAGS-tst-initorder2b.so): Likewise.
33439         (LDFLAGS-tst-initorder2c.so): Likewise.
33440         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33441
33442 2012-05-02  David S. Miller  <davem@davemloft.net>
33443
33444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33445
33446 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33447
33448         [BZ #14055]
33449         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33450
33451 2012-05-02  Andreas Jaeger  <aj@suse.de>
33452
33453         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33454         since we manipulate rounding mode.
33455         (CPPFLAGS-test-idouble.c): Likewise.
33456         (CPPFLAGS-test-ifloat.c): Likewise.
33457         (CFLAGS-test-ldouble.c): Likewise.
33458         (CFLAGS-test-double.c): Likewise.
33459         (CFLAGS-test-float.c): Likewise.
33460         (CFLAGS-test-misc.c): Likewise.
33461         (CFLAGS-test-test-fenv.c): Likewise.
33462
33463 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33464
33465         [BZ #2550]
33466         [BZ #2570]
33467         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33468         comparisons to determine direction to adjust input.
33469
33470 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33471
33472         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33473         output to the target.
33474
33475         * scripts/localplt.awk: New file.
33476         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33477         (check-localplt-CFLAGS): Variable removed.
33478         ($(all-built-dso:=.jmprel)): New static pattern rule.
33479         (generated): Add those targets.
33480         (localplt-built-dso): New variable.
33481         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33482
33483         * elf/check-localplt.c: File removed.
33484
33485         * scripts/check-execstack.awk: New file.
33486         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33487         (check-execstack-CFLAGS): Variable removed.
33488         ($(objpfx)check-execstack.h): Target removed.
33489         ($(objpfx)execstack-default): New target.
33490         (generated): Add that instead of check-execstack.h.
33491         ($(all-built-dso:=.phdr)): New static pattern rule.
33492         (generated): Add those targets.
33493         * elf/check-execstack.c: File removed.
33494
33495         * scripts/check-textrel.awk: New file.
33496         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33497         (check-textrel-CFLAGS): Variable removed.
33498         (all-built-dso): Use := to define.o
33499         ($(all-built-dso:=.dyn)): New static pattern rule.
33500         (generated): Add those targets.
33501         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33502         * config.make.in (READELF): New substituted variable.
33503         * elf/check-textrel.c: File removed.
33504
33505 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33506
33507         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33508         allow.
33509         * conform/data/ctype.h-data [C99-based standards] (isblank):
33510         Expect function.
33511         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33512         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33513         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33514         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33515         Specify type.  Require positive value.
33516         (EILSEQ): Likewise.
33517         (ERANGE): Likewise.
33518         [ISO || POSIX] (EILSEQ): Do not expect.
33519         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33520         Specify type.  Require positive value.
33521         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33522         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33523         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33524         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33525         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33526         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33527         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33528         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33529         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33530         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33531         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33532         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33533         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33534         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33535         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33536         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33537         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33538         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33539         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33540         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33541         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33542         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33543         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33544         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33545         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33546         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33547         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33548         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33549         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33550         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33551         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33552         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33553         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33554         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33555         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33556         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33557         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33558         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33559         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33560         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33561         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33562         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33563         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33564         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33565         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33566         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33567         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33568         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33569         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33570         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33571         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33572         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33573         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33574         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33575         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33576         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33577         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33578         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33579         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33580         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33581         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33582         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33583         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33584         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33585         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33586         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33587         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33588         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33589         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33590         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33591         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33592         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33593         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33594         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33595         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33596         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33597         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33598         Require >= 2.
33599         (FLT_ROUNDS): Expect as macro, not constant.
33600         (FLT_MANT_DIG): Use macro-int-constant.
33601         (DBL_MANT_DIG): Likewise.
33602         (LDBL_MANT_DIG): Likewise.
33603         (FLT_DIG): Likewise.
33604         (DBL_DIG): Likewise.
33605         (LDBL_DIG): Likewise.
33606         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33607         (DBL_MIN_EXP): Likewise.
33608         (LDBL_MIN_EXP): Likewise.
33609         (FLT_MAX_EXP): Use macro-int-constant.
33610         (DBL_MAX_EXP): Likewise.
33611         (LDBL_MAX_EXP): Likewise.
33612         (FLT_MAX_10_EXP): Likewise.
33613         (DBL_MAX_10_EXP): Likewise.
33614         (LDBL_MAX_10_EXP): Likewise.
33615         (FLT_MAX): Use macro-constant.
33616         (DBL_MAX): Likewise.
33617         (LDBL_MAX): Likewise.
33618         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33619         (DBL_EPSILON): Likewise.
33620         (LDBL_EPSILON): Likewise.
33621         (FLT_MIN): Likewise.
33622         (DBL_MIN): Likewise.
33623         (LDBL_MIN): Likewise.
33624         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33625         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33626         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33627         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33628         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33629         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33630         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33631         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33632         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33633         [ISO11] (FLT_TRUE_MIN): Likewise.
33634         [ISO11] (LDBL_TRUE_MIN): Likewise.
33635         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33636         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33637         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33638         (SCHAR_MAX): Likewise.
33639         (UCHAR_MAX): Likewise.
33640         (CHAR_MIN): Likewise.
33641         (CHAR_MAX): Likewise.
33642         (MB_LEN_MAX): Use macro-int-constant.
33643         (SHRT_MIN): Use macro-int-constant.  Specify type.
33644         (SHRT_MAX): Likewise.
33645         (USHRT_MAX): Likewise.
33646         (INT_MAX): Likewise.
33647         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33648         bound negative.
33649         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33650         bound with "U".
33651         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33652         bound with "L".
33653         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33654         bound negative.  Suffix upper bound with "L".
33655         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33656         bound with "UL".
33657         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33658         Specify type.
33659         [C99-based standards] (LLONG_MAX): Likewise.
33660         [C99-based standards] (ULLONG_MAX): Likewise.
33661         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33662         == 0.
33663         [ISO11] (max_align_t): Require type.
33664         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33665
33666         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33667         from $CFLAGS, without defining away __attribute__ calls.
33668         (checknamespace): Use $CFLAGS_namespace.
33669
33670         * conform/conformtest.pl (@keywords): Only include C99 keywords
33671         for standards based on C99 or C11.
33672
33673         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33674         Disable tests.
33675         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33676         UNIX98]: Likewise.
33677
33678         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33679         usability of symbols in #if.
33680
33681         * conform/conformtest.pl: If macro or constant types start
33682         "promoted:", expect the symbol to be of the following type
33683         promoted by the integer promotions.
33684
33685         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33686         in one place.  Also handle "macro-constant".
33687
33688         * conform/conformtest.pl: Only accept expected macro values with
33689         "==".  Parse all "macro" lines in one place.
33690         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33691
33692         * conform/conformtest.pl: Handle braced types on "constant" lines
33693         instead of handling "typed-constant".
33694         * conform/data/signal.h-data: Use "constant" instead of
33695         "typed-constant".
33696
33697         * conform/conformtest.pl: Handle "optional-" at start of lines in
33698         one place rather than duplicating several cases.  Handle each
33699         format of "macro" line with initial "optional-".
33700
33701         * conform/conformtest.pl: Only accept expected constant or
33702         optional-constant values with "==".  Parse all "constant" lines in
33703         one place.  Parse all "optional-constant" lines in one place.
33704         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33705         * conform/data/fmtmsg.h-data: Likewise.
33706         * conform/data/netinet/in.h-data: Likewise.
33707         * conform/data/tar.h-data: Likewise.
33708         * conform/data/limits.h-data: Use "==" form on "constant" and
33709         "optional-constant" lines.
33710
33711         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33712         Use -std=c99 for XOPEN2K.
33713         (@knownproblems): Remove.
33714         (newtoken): Don't check %isknown.
33715
33716         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33717         Do not expect macro.
33718         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33719         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33720         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33721         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33722         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33723         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33724         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33725         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33726         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33727         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33728         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33729         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33730         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33731         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33732         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33733         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33734         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33735         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33736         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33737         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33738         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33739         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33740         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33741         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33742         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33743         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33744         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33745         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33746         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33747         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33748         [XPG3] (acosh): Likewise.
33749         [XPG3] (asinh): Likewise.
33750         [XPG3] (atanh): Likewise.
33751         [XPG3] (cbrt): Likewise.
33752         [XPG3] (expm1): Likewise.
33753         [XPG3] (ilogb): Likewise.
33754         [XPG3] (log1p): Likewise.
33755         [XPG3] (logb): Likewise.
33756         [XPG3] (nextafter): Likewise.
33757         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33758         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33759         [XPG3] (remainder): Likewise.
33760         [XPG3] (rint): Likewise.
33761         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33762         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33763         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33764         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33765         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33766         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33767         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33768         [UNIX98 || XOPEN2K] (scalb): Expect.
33769         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33770         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33771         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33772         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33773         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33774         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33775         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33776         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33777         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33778         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33779         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33780         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33781         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33782         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33783         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33784         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33785         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33786         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33787         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33788         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33789         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33790         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33791         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33792         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33793         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33794         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33795         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33796         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33799         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33800         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33805         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33806         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33807         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33808         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33809         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33810         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33823         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33824         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33825         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33826         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33827         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33828         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33829         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33830         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33831         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33832         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33833         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33834         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33835         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33836         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33837         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33838         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33839         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33840         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33841         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33842         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33843         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33844         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33845         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33846         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33847         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33848         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33849         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33850         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33851         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33852         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33853         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33854         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33855         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33856         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33857         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33858         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33859         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33860         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33861         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33862         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33863         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33864         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33865         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33866         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33867         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33868         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33869         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33870         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33871         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33872         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33873         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33874         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33875         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33876         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33877         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33878         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33879         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33880         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33881         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33882         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33883         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33884         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33885         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33886         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33887         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33888         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33889         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33890         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33891         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33892         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33893         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33894         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33895         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33896         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33897         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33898         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33899         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33900         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33901         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33902         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33903         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33904         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33905         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33906
33907         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33908         _XOPEN_SOURCE_EXTENDED for XPG4.
33909
33910         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33911
33912         * Makeconfig (localtime): Remove variable.
33913         (inst_localtime-file): Likewise.
33914
33915 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33916
33917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33918         Update.
33919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33920         Update.
33921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33922         Update.
33923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33924         Update.
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33926         Update.
33927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33928         Update.
33929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33930         Update.
33931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33932         Update.
33933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33934         Update.
33935
33936 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33937
33938         [BZ #2550]
33939         [BZ #2570]
33940         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33941         comparisons to determine direction to adjust input.
33942         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33943         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33944         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33945         Likewise.
33946         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33947         Likewise.
33948         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33949         Likewise.
33950         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33951         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33952         Likewise.
33953         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33954         Likewise.
33955         * math/libm-test.inc (nexttoward_test): Add more tests.
33956
33957 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33958
33959         [BZ #14040]
33960         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33961         in version GLIBC_2.1, not GLIBC_2.0.
33962         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33963         Likewise.
33964
33965 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33966
33967         [BZ #13942]
33968         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33969         (1 - x) * (1 + x).
33970         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33971         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33972         * math/libm-test.inc (acos_test): Add more tests.
33973         (asin_test): Likewise.
33974         * sysdeps/i386/fpu/libm-test-ulps: Update.
33975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33976
33977         [BZ #14034]
33978         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33979         of square root.
33980         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33981         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33982         * math/libm-test.inc (acos_test_tonearest): New function.
33983         (acos_test_towardzero): Likewise.
33984         (acos_test_downward): Likewise.
33985         (acos_test_upward): Likewise.
33986         (asin_test_tonearest): Likewise.
33987         (asin_test_towardzero): Likewise.
33988         (asin_test_downward): Likewise.
33989         (asin_test_upward): Likewise.
33990         (main): Call the new functions.
33991         * sysdeps/i386/fpu/libm-test-ulps: Update.
33992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33993
33994         [BZ #13884]
33995         [BZ #13924]
33996         * math/e_exp10.c: Include <float.h>.
33997         (__ieee754_exp10): Handle underflow here rather than multiplying
33998         large negative argument by M_LN10.
33999         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34000         of __ieee754_expf.
34001         * math/e_exp10l.c: Include <float.h>.
34002         (__ieee754_exp10l): Handle underflow here rather than multiplying
34003         large negative argument by M_LN10l.
34004         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34005         spurious overflow exception on underflow.
34006
34007 2012-04-29  Marek Polacek  <polacek@redhat.com>
34008
34009         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34010         (__fortify_function): New macro.
34011         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34012         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34013         __extern_always_inline.
34014         * libio/bits/stdio2.h: Likewise.
34015         * libio/bits/stdio.h: Likewise.
34016         * string/string.h: Likewise.
34017         * string/bits/string3.h: Likewise.
34018         * include/stdio.h: Likewise.
34019         * stdlib/bits/stdlib.h: Likewise.
34020         * stdlib/stdlib.h: Likewise.
34021         * rt/bits/mqueue2.h: Likewise.
34022         * rt/mqueue.h: Likewise.
34023         * posix/bits/unistd.h: Likewise.
34024         * posix/unistd.h: Likewise.
34025         * io/bits/poll2.h: Likewise.
34026         * io/bits/fcntl2.h: Likewise.
34027         * io/fcntl.h: Likewise.
34028         * io/sys/poll.h: Likewise.
34029         * misc/bits/syslog.h: Likewise.
34030         * misc/bits/syslog-ldbl.h: Likewise.
34031         * misc/sys/syslog.h: Likewise.
34032         * socket/bits/socket2.h: Likewise.
34033         * socket/sys/socket.h: Likewise.
34034         * debug/tst-chk1.c: Likewise.
34035         * wcsmbs/bits/wchar2.h: Likewise.
34036         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34037         * wcsmbs/wchar.h: Likewise.
34038
34039 2012-04-29  Andreas Jaeger  <aj@suse.de>
34040
34041         * Makerules (tests): Remove enable-check-abi protection.
34042         (check-abi-warn): Remove.
34043         (check-abi-%): Remove check-abi-warn usage.
34044
34045         * configure.in: Remove check-abi configure option.
34046         * configure: Regenerated.
34047         * config.make.in (enable-check-abi): Remove.
34048
34049 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34050
34051         [BZ #14033]
34052         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34053         double functions to double *_finite functions.
34054
34055         [BZ #13941]
34056         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34057         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34058         LDBL_MIN_EXP.
34059         * stdio-common/Makefile (tests): Add tst-sprintf3.
34060         * stdio-common/tst-sprintf3.c: New file.
34061
34062         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34063         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34064
34065 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34066
34067         * conform/conformtest.pl: Remove duplicate typed-constant
34068         handling.
34069
34070 2012-04-28  David S. Miller  <davem@davemloft.net>
34071
34072         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34073         (check-abi-%): Remove AWK script prerequisite and explicit
34074         abilist directory.
34075         (check-abi): Rewrite to just diff the symlist with the abilist.
34076         (config-tls, config-abi-config): Delete, no longer used.
34077         (update-abi-%): Remove AWK script and explicit abilist directory.
34078         (update-abi): Rewrite to simply compare and conditionally copy the
34079         symlist and the sysdep abilist file.  Remove update-abi-config
34080         checks.
34081         * abilist/ld.abilist: Remove.
34082         * abilist/libBrokenLocale.abilist: Remove.
34083         * abilist/libanl.abilist: Remove.
34084         * abilist/libcrypt.abilist: Remove.
34085         * abilist/libdl.abilist: Remove.
34086         * abilist/librt.abilist: Remove.
34087         * abilist/libthread_db.abilist: Remove.
34088         * abilist/libutil.abilist: Remove.
34089         * scripts/extract-abilist.awk: Remove.
34090         * scripts/merge-abilist.awk: Remove.
34091         * sysdeps/generic/libcidn.abilist: New file.
34092         * sysdeps/generic/libnss_compat.abilist: New file.
34093         * sysdeps/generic/libnss_db.abilist: New file.
34094         * sysdeps/generic/libnss_dns.abilist: New file.
34095         * sysdeps/generic/libnss_files.abilist: New file.
34096         * sysdeps/generic/libnss_hesiod.abilist: New file.
34097         * sysdeps/generic/libnss_nis.abilist: New file.
34098         * sysdeps/generic/libnss_nisplus.abilist: New file.
34099         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34100         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34101         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34102         file.
34103         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34104         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34105         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34106         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34107         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34108         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34109         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34110         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34111         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34112         file.
34113         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34114         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34115         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34116         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34117         file.
34118         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34119         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34120         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34121         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34122         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34123         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34124         file.
34125         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34126         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34127         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34128         file.
34129         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34131         New file.
34132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34133         New file.
34134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34135         New file.
34136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34137         New file.
34138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34139         New file.
34140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34141         New file.
34142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34143         New file.
34144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34145         New file.
34146         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34147         New file.
34148         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34149         New file.
34150         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34151         New file.
34152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34153         New file.
34154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34155         New file.
34156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34157         file.
34158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34159         New file.
34160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34161         New file.
34162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34163         file.
34164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34165         New file.
34166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34167         New file.
34168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34169         file.
34170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34171         New file.
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34173         New file.
34174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34175         New file.
34176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34177         New file.
34178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34179         New file.
34180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34181         New file.
34182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34184         file.
34185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34186         New file.
34187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34188         file.
34189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34190         file.
34191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34192         file.
34193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34194         file.
34195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34196         file.
34197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34198         New file.
34199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34200         file.
34201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34202         file.
34203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34204         New file.
34205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34206         file.
34207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34209         file.
34210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34211         New file.
34212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34213         file.
34214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34215         file.
34216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34217         file.
34218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34219         file.
34220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34221         file.
34222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34223         New file.
34224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34225         file.
34226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34227         file.
34228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34229         New file.
34230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34231         file.
34232         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34233         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34234         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34235         file.
34236         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34237         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34238         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34239         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34240         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34241         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34242         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34243         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34244         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34245         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34248         file.
34249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34250         New file.
34251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34252         file.
34253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34254         file.
34255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34256         file.
34257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34258         file.
34259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34260         file.
34261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34262         New file.
34263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34264         New file.
34265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34266         file.
34267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34268         New file.
34269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34270         file.
34271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34273         file.
34274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34275         New file.
34276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34277         file.
34278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34279         file.
34280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34281         file.
34282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34283         file.
34284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34285         file.
34286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34287         New file.
34288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34289         New file.
34290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34291         file.
34292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34293         New file.
34294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34295         file.
34296
34297 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34298
34299         * conform/conformtest.pl: Fix typo in handling typed-constant from
34300         allow-header.
34301
34302 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34303
34304         * README: Cut down references to pre-2.6 Linux kernels and
34305         Linuxthreads.  Update lists of configurations in libc and ports
34306         and sort alphabetically.  Say "or newer" with Linux kernel version
34307         requirements.
34308
34309         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34310
34311 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34312
34313         [BZ #887]
34314         * math/libm-test.inc (logb_test_downward): New test to expose
34315         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34316         rounding mode.
34317
34318 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34319
34320         [BZ #14027]
34321         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34322         to be done.
34323         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34324         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34325
34326 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34327
34328         * sysdeps/unix/i386/brk.S: Remove file.
34329         * sysdeps/unix/i386/dl-brk.S: Likewise.
34330         * sysdeps/unix/i386/pipe.S: Likewise.
34331         * sysdeps/unix/i386/sigreturn.S: Likewise.
34332         * sysdeps/unix/i386/syscall.S: Likewise.
34333         * sysdeps/unix/i386/vfork.S: Likewise.
34334         * sysdeps/unix/i386/wait.S: Likewise.
34335
34336         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34337         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34338
34339         * configure.in (arm*-none*): Do not allow without
34340         --enable-hacker-mode.
34341         (netbsd*): Remove case setting base_os.
34342         (386bsd*): Likewise.
34343         (freebsd*): Likewise.
34344         (bsdi*): Likewise.
34345         (osf*): Likewise.
34346         (sunos*): Likewise.
34347         (ultrix*): Likewise.
34348         (newsos*): Likewise.
34349         (dynix*): Likewise.
34350         (*bsd*): Likewise.
34351         (sysv*): Likewise.
34352         (isc*): Likewise.
34353         (esix*): Likewise.
34354         (sco*): Likewise.
34355         (minix*): Likewise.
34356         (irix4*): Likewise.
34357         (irix6*): Likewise.
34358         (solaris[2-9]*): Likewise.
34359         (none): Likewise.
34360         * configure: Regenerated.
34361
34362 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34363
34364         [BZ #11521]
34365         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34366         overflow or cancellation in calculating denominator.
34367         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34368         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34369         down expression to avoid unexpected rounding in newer GCCs.
34370         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34371
34372 2012-04-26  David S. Miller  <davem@davemloft.net>
34373
34374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34375         long-double compat symbols.
34376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34389
34390 2012-04-25  David S. Miller  <davem@davemloft.net>
34391
34392         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34393         HWCAP_* values only after the memory barriers have been defined.
34394         (atomic_full_barrier): Define.
34395         (atomic_read_barrier): Define.
34396         (atomic_write_barrier): Define.
34397
34398 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34399
34400         * shlib-versions: Add libgcc_s version information.
34401         * sysdeps/generic/libgcc_s.h: Remove.
34402         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34403         libgcc_s.h.
34404         * sysdeps/gnu/unwind-resume.c: Likewise.
34405         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34406
34407 2012-04-25  David S. Miller  <davem@davemloft.net>
34408
34409         * sysdeps/unix/sparc/brk.S: Delete.
34410         * sysdeps/unix/sparc/dl-brk.S: Delete.
34411         * sysdeps/unix/sparc/pipe.S: Delete.
34412         * sysdeps/unix/sparc/sysdep.S: Delete.
34413         * sysdeps/unix/sparc/sysdep.h: Delete.
34414         * sysdeps/unix/sparc/vfork.S: Delete.
34415         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34416         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34417         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34418         (ret_ERRVAL, r0, r1, MOVE): Define.
34419         (JUMPTARGET): Remove.
34420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34421         sysdeps/unix/sparc/sysdep.h
34422         (ENTRY, END): Remove.
34423         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34424
34425 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34426
34427         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34428         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34429         -DIS_IN_build.
34430
34431         * timezone/README: Update upstream location and email address for
34432         tzcode and tzdata.
34433         * timezone/zdump.c: Update from tzcode 2012b.
34434         * timezone/zic.c: Likewise.
34435
34436         * configure.in (libc_cv_as_needed): Remove test.
34437         * configure: Regenerated.
34438         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34439         conditional definition.
34440         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34441         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34442         * config.make.in (have-as-needed): Remove variable.
34443
34444 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34445             Paul Pluzhnikov  <ppluzhnikov@google.com>
34446
34447         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34448         strings correctly.
34449
34450 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34451
34452         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34453         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34454         * sysdeps/sh/strlen.S: Likewise.
34455
34456 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34457
34458         * sysdeps/unix/fork.S: Remove file.
34459         * sysdeps/unix/i386/fork.S: Likewise.
34460         * sysdeps/unix/sparc/fork.S: Likewise.
34461
34462         * sysdeps/unix/system.c: Remove file.
34463         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34464
34465         * sysdeps/unix/getegid.S: Remove file.
34466         * sysdeps/unix/geteuid.S: Likewise.
34467
34468 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34469
34470         * scripts/check-localplt.awk: New file.
34471         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34472         of diff.
34473         * scripts/data/localplt-generic.data: Add a comment.
34474
34475         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34476         NODE when __dir_mkfile failed.
34477         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34478         Reported by Ludovic Courtès <ludo@gnu.org>.
34479
34480 2012-04-24  Andreas Jaeger  <aj@suse.de>
34481
34482         * Makerules (common-clean): Also remove gen-as-const-headers
34483         files.
34484
34485 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34486
34487         * Makerules (native-compile): Do not change working directory for
34488         build.  Use $(OUTPUT_OPTION) in command.
34489         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34490
34491 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34492
34493         [BZ #13886]
34494         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34495         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34496         * math/libm-test.inc (floor_test): Add more tests.
34497         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34498
34499 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34500
34501         * sysdeps/unix/getdents.c: Remove file.
34502         * sysdeps/unix/sysv/getdents.c: Likewise.
34503         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34504
34505         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34506         sysdeps/unix/mman/syscalls.list.
34507         (mmap): Likewise.
34508         (mprotect): Likewise.
34509         (msync): Likewise.
34510         (munmap): Likewise.
34511         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34512         * sysdeps/unix/mman/syscalls.list: Remove.
34513         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34514
34515         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34516         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34517         * configure: Regenerated.
34518         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34519         $(libgcc_s_suffix).
34520         * config.make.in (libgcc_s_suffix): Remove variable.
34521
34522 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34523
34524         * sysdeps/unix/sysv/gethostname.c: Move to ...
34525         * sysdeps/posix/gethostname.c: ... here.
34526
34527         * sysdeps/unix/execve.S: Remove file.
34528
34529         * sysdeps/unix/_exit.S: Remove file.
34530
34531 2012-04-23  Andreas Jaeger  <aj@suse.de>
34532
34533         [BZ #13739]
34534         * manual/Makefile: Remove make dist support, there's no
34535         need for a stand-alone documentation tar ball.
34536         (TEXI2DVI): Define always, it's not in Makeconfig.
34537         (dist): Removed.
34538         (tar-it): Removed.
34539         (edition): Removed.
34540         (glibc-doc-$(edition).tar): Removed
34541         (%.Z): Removed.
34542         (%.gz): Removed.
34543         (%.uu): Removed.
34544         (ETAGS): Remove, it's in Makeconfig.
34545         (move-if-change): Remove, it's in Makeconfig.
34546
34547 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34548
34549         [BZ #13970]
34550         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34551         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34552         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34553         (strtod_l, strtof_l, strtold_l): Remove __wur.
34554         It is not necessarily an error to ignore strtol's return value.
34555         One can reliably look at the stored endptr to decide whether
34556         the number had valid syntax.
34557
34558 2012-04-21  Andreas Jaeger  <aj@suse.de>
34559
34560         [BZ #13739]
34561         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34562
34563 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34564
34565         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34566         * sysdeps/unix/sysv/Versions: Remove file.
34567
34568 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34569
34570         [BZ #13927]
34571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34572
34573 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34574
34575         [BZ #7064]
34576         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34577         version from __vm86.
34578
34579 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34580
34581         * sysdeps/unix/common/lxstat.c: Remove file.
34582         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34583
34584         * sysdeps/unix/sysv/Makefile: Remove file.
34585
34586         * sysdeps/unix/sysv/direct.h: Remove file.
34587
34588         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34589         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34590         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34591         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34592         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34593         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34594         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34595
34596         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34597
34598         * sysdeps/unix/xmknod.c: Remove file.
34599         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34600
34601         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34602
34603         * sysdeps/unix/sysv/i386/time.S: Remove file.
34604
34605         * sysdeps/unix/fxstat.c: Remove file.
34606         * sysdeps/unix/xstat.c: Likewise.
34607         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34608
34609         * sysdeps/unix/sysv/sigaction.c: Remove file.
34610
34611         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34612         (sysdep_headers): Remove variable.
34613         [termio.h not in sysdep_headers] (generated): Likewise.
34614         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34615         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34616         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34617         * sysdeps/unix/sysv/tcflow.c: Likewise.
34618         * sysdeps/unix/sysv/tcflush.c: Likewise.
34619         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34620         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34621         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34622         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34623         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34624
34625         * sysdeps/unix/siglist.c: Remove file.
34626
34627         * sysdeps/unix/getppid.S: Remove file.
34628
34629         * sysdeps/unix/mkdir.c: Remove file.
34630         * sysdeps/unix/rmdir.c: Likewise.
34631
34632 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34633
34634         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34635         ERR_MAX value.
34636         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34637         errlist-compat value.
34638
34639 2012-04-18  David S. Miller  <davem@davemloft.net>
34640
34641         * sysdeps/generic/memcopy.h (reg_char): Delete.
34642         * debug/strcat_chk.c: Use char, not reg_char.
34643         * debug/strcpy_chk.c: Likewise.
34644         * debug/strncat_chk.c: Likewise.
34645         * debug/strncpy_chk.c: Likewise.
34646         * string/memchr.c: Likewise.
34647         * string/memrchr.c: Likewise.
34648         * string/rawmemchr.c: Likewise.
34649         * string/strcat.c: Likewise.
34650         * string/strchr.c: Likewise.
34651         * string/strchrnul.c: Likewise.
34652         * string/strcmp.c: Likewise.
34653         * string/strcpy.c: Likewise.
34654         * string/strncat.c: Likewise.
34655         * string/strncmp.c: Likewise.
34656         * string/strncpy.c: Likewise.
34657
34658 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34659
34660         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34661         __builtin_memcopy is called when src and dest ranges are known to not
34662         overlap.
34663
34664 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34665
34666         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34667         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34668         fwd_align_merge macro call.
34669         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34670         bwd_align_merge macro call.
34671         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34672
34673 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34674
34675         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34676         bwd_align_merge macros.
34677         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34678         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34679         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34680
34681 2012-04-18  David S. Miller  <davem@davemloft.net>
34682
34683         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34684
34685 2012-04-18  Andreas Jaeger  <aj@suse.de>
34686
34687         [BZ# 6794]
34688         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34689         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34690         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34691
34692         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34693         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34694         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34695
34696         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34697         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34698         Adjust for changed ldbl-128 files.
34699
34700         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34701         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34702         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34703
34704 2012-04-17  David S. Miller  <davem@davemloft.net>
34705
34706         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34707
34708 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34709
34710         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34711         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34712         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34713         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34714         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34715         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34716
34717 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34718
34719         [BZ #6794]
34720         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34721         * math/libm-test.inc: Add ilogb errno and exception tests.
34722         * math/w_ilogb.c: New file: ilogb wrapper.
34723         * math/w_ilogbf.c: New file: ilogbf wrapper.
34724         * math/w_ilogbl.c: New file: ilogbl wrapper.
34725         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34726         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34727         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34728         exception being thrown with 0.0 as argument.
34729         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34730         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34731         exception being thrown with 0.0 as argument.
34732         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34733         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34734         exception being thrown with 0.0 as argument.
34735         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34736         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34737         exception being thrown with 0.0 as argument.
34738         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34739         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34740         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34741         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34742         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34743         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34744         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34745         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34746         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34747
34748 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34749
34750         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34751         with altivec.
34752
34753 2012-04-16  Marek Polacek  <polacek@redhat.com>
34754
34755         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34756
34757 2012-04-16  Marek Polacek  <polacek@redhat.com>
34758
34759         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34760         operands of fdivp instruction.
34761
34762 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34763
34764         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34765         * elf/tst-auditmod3b.c: Likewise.
34766         * elf/tst-auditmod4b.c: Likewise.
34767         * elf/tst-auditmod5b.c: Likewise.
34768         * elf/tst-auditmod6b.c: Likewise.
34769         * elf/tst-auditmod6c.c: Likewise.
34770         * elf/tst-auditmod7b.c: Likewise.
34771         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34772         * sysdeps/x86_64/preconfigure.in: Likewise.
34773         * sysdeps/x86_64/preconfigure: Regenerated.
34774
34775 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34776
34777         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34778         __ILP32__.
34779
34780 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34781
34782         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34783         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34784
34785 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34786
34787         [BZ #13973]
34788         * locale/iso-639.def: Fix gl language name. Spotted by
34789         Yaron Shahrabani.
34790
34791 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34792
34793         [BZ #2074]
34794         * libio/libio.h (__io_write_fn): Update comment.
34795
34796 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34797
34798         [BZ #2074]
34799         * stdio.texi (Hook Functions): The user provided writer function
34800         is not allowed to return -1.
34801
34802 2012-04-11  David S. Miller  <davem@davemloft.net>
34803
34804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34805
34806 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34807
34808         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34809         Add a leading slash to rtkaio.
34810
34811 2012-04-11  Jim Meyering  <meyering@redhat.com>
34812
34813         [BZ #11959]
34814         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34815         It is not necessarily an error to ignore fwrite's return
34816         value.  One can reliably use ferror to test for errors after
34817         the fact.
34818
34819 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34820
34821         * bits/types.h (__snseconds_t): New type.
34822         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34823
34824         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34825         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34826         (__SNSECONDS_T_TYPE): Likewise.
34827         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34828         (__SNSECONDS_T_TYPE): Likewise.
34829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34830         (__SNSECONDS_T_TYPE): Likewise.
34831
34832 2012-04-10  Andreas Jaeger  <aj@suse.de>
34833
34834         [BZ #2636]
34835         * manual/time.texi (Processor Time): Return type of times is
34836         elapsed real time since an arbitrary point in the past.
34837         (CPU Time): Move CLK_TCK from here...
34838         (Processor Time): ...to here.  Correct description.
34839         * manual/conf.texi (Constants for Sysconf): Correct description of
34840         _SC_CLK_TCK.
34841
34842 2012-04-10  David S. Miller  <davem@davemloft.net>
34843
34844         [BZ #13967]
34845         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34846         where the is a gap between DT_REL(A) and DT_JMPREL.
34847
34848 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34849
34850         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34851         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34852         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34853
34854 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34855
34856         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34857         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34858         (dl_main): Handle --inhibit-cache.
34859         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34860         _dl_inhibit_cache.
34861         * elf/dl-load.c (_dl_map_object): Use it.
34862         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34863
34864 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34865
34866         [BZ #13872]
34867         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34868         (__ieee754_powl): Saturate large exponents rather than testing for
34869         overflow of y*log2(x).
34870         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34871         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34872         exceptions.
34873
34874         [BZ #11521]
34875         * math/s_ctan.c: Include <float.h>.
34876         (__ctan): Avoid internal overflow or cancellation in calculating
34877         denominator.
34878         * math/s_ctanf.c: Likewise.
34879         * math/s_ctanl.c: Likewise.
34880         * math/s_ctanh.c: Likewise.
34881         * math/s_ctanhf.c: Likewise.
34882         * math/s_ctanhl.c: Likewise.
34883         * math/libm-test.inc (ctan_test): Add more tests.
34884         (ctanh_test): Likewise.
34885         * sysdeps/i386/fpu/libm-test-ulps: Update.
34886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34887
34888 2012-04-09  Andreas Jaeger  <aj@suse.de>
34889
34890         [BZ #6894]
34891         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34892         is an optional BSD extension.
34893
34894         [BZ #10254]
34895         * manual/stdio.texi (Opening Streams): Document additional fopen
34896         parameters.
34897
34898 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34899
34900         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34901         %eax without telling the compiler.
34902
34903 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34904
34905         [BZ # 13963]
34906         * manual/install.texi: Use sourceware.org.
34907
34908 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34909
34910         [BZ #13873]
34911         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34912         (__ieee754_pow): Generate overflow and underflow using huge*huge
34913         and tiny*tiny rather than just returning constant infinity or zero
34914         for large exponents.
34915         * math/libm-test.inc (pow_test): Require overflow exceptions for
34916         applicable cases of large exponents.
34917
34918         [BZ #706]
34919         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34920         (__ieee754_pow): Use iterative multiplication algorithm only for
34921         integer exponents with absolute value below 1024.  Check for odd
34922         integer exponents when using algorithm for real exponents.
34923         * math/libm-test.inc (pow_test): Add more tests.
34924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34925
34926 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34927
34928         [BZ #13705]
34929         * math/libm-test.inc (exp_test): Do not allow overflow exception
34930         on underflow test.
34931
34932 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34933
34934         [BZ #13705]
34935         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34936         instead of __kernel_standard_f.
34937
34938 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34939
34940         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34941         * sysdeps/x86_64/memset_chk.S: Likewise.
34942
34943 2012-04-08  Andreas Jaeger  <aj@suse.de>
34944
34945         [BZ #10153]
34946         * manual/startup.texi (Environment Access): Describe return value
34947         for putenv and setenv.
34948
34949         [BZ #6895]
34950         * manual/filesys.texi (Directory Entries): Add description for
34951         DT_LNK.
34952
34953         [BZ #6890]
34954         * manual/filesys.texi (Directory Entries): Clarify that it's file
34955         system not operating system in the description of DT_UNKNOWN.
34956
34957         [BZ #6578]
34958         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34959
34960 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34961
34962         [BZ #6649]
34963         * manual/llio.texi (Opening and Closing Files): Add cross
34964         reference to explain mode argument.
34965
34966 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34967
34968         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34969         * sysdeps/x86_64/memset_chk.S: Likewise.
34970
34971 2012-04-07  David S. Miller  <davem@davemloft.net>
34972
34973         * elf/elf.h (R_SPARC_WDISP10): Define.
34974         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34975         R_SPARC_SIZE32.
34976         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34977         R_SPARC_SIZE64 and R_SPARC_H34.
34978
34979 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34980
34981         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34982         conditions and remove no longer applicable assertion.
34983
34984 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34985
34986         * bits/byteswap.h: Include <features.h>.
34987         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34988         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34989
34990 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34991
34992         * bits/byteswap.h (__bswap_16): Removed.
34993         Include <bits/byteswap-16.h> to get __bswap_16.
34994         * sysdeps/i386/bits/byteswap.h: Likewise.
34995         * sysdeps/s390/bits/byteswap.h: Likewise.
34996         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34997         * bits/byteswap-16.h: New file.
34998         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34999         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35000         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35001         * string/Makefile (headers): Add bits/byteswap-16.h.
35002
35003 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35004
35005         [BZ #13895]
35006         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35007         extra indirection.
35008         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35009         * nss/tst-nss-static.c: New.
35010
35011 2012-04-06  Robert Millan  <rmh@gnu.org>
35012
35013         [BZ #6486]
35014         * manual/llio.texi (File Position Primitive): lseek
35015         refers to WHENCE when it really means OFFSET.
35016
35017 2012-04-06  Andreas Jaeger  <aj@suse.de>
35018
35019         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35020         strncmp declarations.
35021
35022         * abilist/libc.abilist: Add __poll and __ppoll.
35023
35024 2012-04-05  David S. Miller  <davem@davemloft.net>
35025
35026         * scripts/check-local-headers.sh: Accept a host triplet in the
35027         path matched by the exclude regexp.
35028
35029         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35030         definition.
35031         * sysdeps/powerpc/powerpc32/dl-machine.h
35032         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35033         * sysdeps/s390/s390-32/dl-machine.h
35034         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35035         * sysdeps/sparc/sparc32/dl-machine.h
35036         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35037         * sysdeps/sparc/sparc64/dl-machine.h
35038         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35039
35040         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35041         lazy binding.
35042         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35043         undefined symbol errors.
35044
35045         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35046         DT_NEEDED entries.
35047
35048 2012-04-05  Michael Matz  <matz@suse.de>
35049
35050         [BZ #13592]
35051         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35052
35053 2012-04-05  Andreas Jaeger  <aj@suse.de>
35054
35055         [BZ #13908]
35056         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35057         comment.
35058
35059 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35060
35061         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35062         which ROUND is no valid rounding mode.
35063
35064 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35065
35066         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35067         read again.
35068         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35069
35070 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35071
35072         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35073         an exception using FPU order intentionally.
35074
35075 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35076
35077         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35078         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35079         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35080         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35081
35082 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35083
35084         [BZ #12340]
35085         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35086         EINVAL when BUFLEN is too smal.
35087
35088 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35089
35090         [BZ #13553]
35091         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35092         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35093
35094 2012-04-03  Andreas Jaeger  <aj@suse.de>
35095
35096         [BZ #13938]
35097         * manual/setjmp.texi (System V contexts): Fix sentence.
35098
35099         [BZ #13926]
35100         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35101         New macro for this case.
35102         [!__GNUC__] (__bswap_64): New inline function for this case.
35103         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35104         * bits/byteswap.h: Likewise.
35105         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35106         ull, guard with __GLIBC_HAVE_LONG_LONG.
35107
35108         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35109         __GLIBC_HAVE_LONG_LONG.
35110
35111         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35112         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35113
35114 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35115
35116         [BZ #13691]
35117         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35118         inptr and inend, rather than using last_ch.
35119
35120 2012-04-02  David S. Miller  <davem@davemloft.net>
35121
35122         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35123         * stdio-common/printf-parse.h (read_int): Change return type to
35124         'int', return -1 on INT_MAX overflow.
35125         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35126         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35127         overflows INT_MAX.  Check for overflow of in-format-string precision
35128         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35129         SIZE_MAX not INT_MAX for integer overflow test.
35130         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35131         skip the construct in the format string but do not record anything.
35132         * stdio-common/bug22.c: Adjust to test both width/prevision
35133         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35134         explicitly for proper errno values.
35135
35136 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35137
35138         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35139         CHAR_MAX.
35140         * string/test-strcmp.c [! WIDE]: Likewise.
35141         * time/tst-mktime2.c: Likewise for INT_MAX.
35142         * string/test-string.h: #include <sys/param.h> for MIN.
35143
35144         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35145         * sysdeps/i386/init-first.c (init): Likewise.
35146         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35147         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35148         * sysdeps/sh/init-first.c (init): Likewise.
35149
35150 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35151
35152         * po/ru.po: Update from translation team.
35153         * po/vi.po: Likewise.
35154
35155 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35156
35157         * resolv/nss_dns/dns-host.c: Merge copyright years.
35158
35159 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35160
35161         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35162         Optimize memcpy with prefetch if
35163         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35164         src, dst pointers have unequal 16 byte alignments.
35165
35166 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35167
35168         [BZ #13928]
35169         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35170         from a CNAME entry and return the minimum ttl for the query.
35171         (gaih_getanswer_slice): Likewise.
35172
35173 2012-03-30  Jeff Law  <law@redhat.com>
35174
35175         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35176         due to long keys.
35177         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35178         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35179
35180         * resolv/nss_dns/dns-host.c: Update copyright year.
35181
35182 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35183
35184         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35185         requests to save a system call.  Fix check that all bytes are sent.
35186
35187         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35188         comments for sendmmsg.
35189
35190 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35191
35192         [BZ #13691]
35193         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35194         with only 1 character between 0x0041 and 0x01b0.
35195         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35196         * wcsmbs/tst-mbsnrtowcs.c: New file.
35197
35198 2012-03-29  David S. Miller  <davem@davemloft.net>
35199
35200         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35201         small copies by hand.
35202
35203 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35204
35205         [BZ #13761]
35206         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35207         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35208         group memberships.
35209
35210 2012-03-28  David S. Miller  <davem@davemloft.net>
35211
35212         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35213         that branches into memcpy.
35214         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35215         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35216         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35217         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35219         bits.
35220         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35221         implementation too.
35222         * sysdeps/sparc/mempcpy.S: New file.
35223
35224         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35225         the IFUNC routine in the libc case.
35226         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35227
35228         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35229         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35230         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35231         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35232         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35233         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35234         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35235         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35236
35237         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35238         loop to 256 bytes instead of 64 bytes and fix test signedness.
35239
35240         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35241         * sysdeps/sparc/sparc32/Makefile: rather than here...
35242         * sysdeps/sparc/sparc64/Makefile: and here.
35243
35244 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35245
35246         * malloc/mallocbug.c: Avoid warnings about unused variables.
35247
35248 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35249
35250         [BZ #13760]
35251         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35252         in the right place. Discard and retry query if response is
35253         larger than input buffer size.
35254
35255 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35256
35257         [BZ #369]
35258         [BZ #2678]
35259         [BZ #3866]
35260         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35261         x for large integer exponent.
35262         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35263         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35264         sign of result as needed afterwards.
35265         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35266         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35267         result for underflowing pow the same as for overflow.
35268         (__kernel_standard_l): Handle powl overflow and underflow here
35269         rather than calling __kernel_standard.
35270         * math/libm-test.inc (pow_test): Add more tests.
35271
35272         [BZ #3868]
35273         [BZ #13879]
35274         [BZ #13910]
35275         [BZ #13911]
35276         [BZ #13912]
35277         [BZ #13913]
35278         [BZ #13915]
35279         [BZ #13916]
35280         [BZ #13917]
35281         [BZ #13918]
35282         [BZ #13919]
35283         [BZ #13920]
35284         [BZ #13921]
35285         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35286         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35287         (__kernel_standard_l): New function.
35288         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35289         __kernel_standard.
35290         * math/w_acosl.c (__acosl): Likewise.
35291         * math/w_asinl.c (__asinl): Likewise.
35292         * math/w_atan2l.c (__atan2l): Likewise.
35293         * math/w_atanhl.c (__atanhl): Likewise.
35294         * math/w_coshl.c (__coshl): Likewise.
35295         * math/w_exp10l.c (__exp10l): Likewise.
35296         * math/w_exp2l.c (__exp2l): Likewise.
35297         * math/w_fmodl.c (__fmodl): Likewise.
35298         * math/w_hypotl.c (__hypotl): Likewise.
35299         * math/w_j0l.c (__j0l, __y0l): Likewise.
35300         * math/w_j1l.c (__j1l, __y1l): Likewise.
35301         * math/w_jnl.c (__jnl, __ynl): Likewise.
35302         * math/w_lgammal.c (__lgammal): Likewise.
35303         * math/w_log10l.c (__log10l): Likewise.
35304         * math/w_log2l.c (__log2l): Likewise.
35305         * math/w_logl.c (__logl): Likewise.
35306         * math/w_powl.c (__powl): Likewise.
35307         * math/w_remainderl.c (__remainderl): Likewise.
35308         * math/w_scalbl.c (sysv_scalbl): Likewise.
35309         * math/w_sinhl.c (__sinhl): Likewise.
35310         * math/w_sqrtl.c (__sqrtl): Likewise.
35311         * math/w_tgammal.c (__tgammal): Likewise.
35312         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35313         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35314         * math/libm-test.inc (acos_test): Add more tests.
35315         (acosh_test): Likewise.
35316         (asin_test): Likewise.
35317         (atanh_test): Likewise.
35318         (exp_test): Likewise.
35319         (exp10_test): Likewise.
35320         (exp2_test): Likewise.
35321         (expm1_test): Likewise.
35322         (lgamma_test): Likewise.
35323         (log_test): Likewise.
35324         (log10_test): Likewise.
35325         (log1p_test): Likewise.
35326         (log2_test): Likewise.
35327         (pow_test): Do not allow some spurious overflow exceptions.
35328         (sqrt_test): Add more tests.
35329         (tgamma_test): Likewise.
35330         (y0_test): Likewise.
35331         (y1_test): Likewise.
35332         (yn_test): Likewise.
35333
35334 2012-03-27  Anton Blanchard  <anton@samba.org>
35335
35336         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35337         MAP_HUGETLB.
35338         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35339         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35340         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35341
35342 2012-03-27  David S. Miller  <davem@davemloft.net>
35343
35344         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35345
35346         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35347         have-as-vis3 check.
35348
35349 2012-03-27  Andreas Jaeger  <aj@suse.de>
35350
35351         * sysdeps/x86_64/elf/configure.in: Moved to ...
35352         * sysdeps/x86_64/configure.in: ... here.
35353         * sysdeps/x86_64/elf/start.S: Moved to ...
35354         * sysdeps/x86_64/start.S: ... here.
35355         * sysdeps/x86_64/elf/configure: Delete.
35356
35357         * sysdeps/x86_64/configure.in: Merge contents from
35358         sysdeps/i386/configure.in (without i686 check).
35359
35360         * sysdeps/i386/elf/Versions: Merge into ...
35361         * sysdeps/i386/Versions: ... this.
35362         * sysdeps/i386/elf/Versions: Delete file.
35363         * sysdeps/i386/elf/start.S: Moved to ...
35364         * sysdeps/i386/start.S: ...here.
35365         * sysdeps/i386/elf/configure.in: Merge into...
35366         * sysdeps/i386/configure.in: ...here.
35367         * sysdeps/i386/elf/configure.in: Delete file.
35368         * sysdeps/i386/elf/configure: Delete file.
35369
35370         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35371         * debug/backtracesyms.c: ... here.
35372         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35373         * debug/backtracesymsfd.c: ... here.
35374         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35375         * sysdeps/generic/ifunc-sel.h: ... here.
35376
35377         * sysdeps/unix/i386/start.c: Delete file.
35378         * sysdeps/unix/sparc/start.c: Delete file.
35379         * sysdeps/unix/start.c: Delete file.
35380
35381         * sysdeps/sh/elf/configure.in: Moved to ...
35382         * sysdeps/sh/configure.in: ... here.
35383         * sysdeps/sh/elf/start.S: Moved to ...
35384         * sysdeps/sh/start.S: ... here.
35385         * sysdeps/sh/elf/configure: Delete file.
35386
35387         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35388         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35389         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35390         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35391         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35392         * sysdeps/powerpc/powerpc64/start.S: here.
35393         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35394         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35395         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35396         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35397         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35398
35399         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35400         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35401         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35402         * sysdeps/powerpc/powerpc32/start.S: ... here.
35403         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35404         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35405         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35406
35407         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35408         * sysdeps/powerpc/ifunc-sel.h: ... here.
35409         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35410         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35411
35412         * sysdeps/sparc/elf/configure.in: Moved to ...
35413         * sysdeps/sparc/configure.in: ... here.
35414         * sysdeps/sparc/elf/configure: Delete file.
35415         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35416         * sysdeps/sparc/sparc32/start.S: ... here.
35417         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35418         * sysdeps/sparc/sparc64/start.S: ... here.
35419         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35420         * sysdeps/sparc/sparc32/Makefile: ... this.
35421         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35422         * sysdeps/sparc/sparc64/Makefile: ... this.
35423
35424         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35425         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35426         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35427         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35428         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35429         * sysdeps/s390/s390-32/setjmp.S: ... here.
35430         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35431         * sysdeps/s390/s390-32/configure.in: ... here.
35432         * sysdeps/s390/s390-32/elf/configure: Delete file.
35433         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35434         * sysdeps/s390/s390-32/start.S: ... here.
35435
35436         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35437         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35438         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35439         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35440         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35441         * sysdeps/s390/s390-64/setjmp.S: ... here.
35442         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35443         * sysdeps/s390/s390-64/configure.in: ... here
35444         * sysdeps/s390/s390-64/elf/configure: Delete file.
35445         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35446         * sysdeps/s390/s390-64/start.S: ... here.
35447         * sysdeps/s390/s390-64/elf/configure: Delete.
35448
35449         * configure.in: Remove support for elf directories in sysdeps.
35450
35451         * configure: Regenerated.
35452         * sysdeps/i386/configure: Regenerated.
35453         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35454         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35455         * sysdeps/s390/s390-32/configure: Regenerated.
35456         * sysdeps/s390/s390-64/configure: Regenerated.
35457         * sysdeps/sh/configure: Regenerated.
35458         * sysdeps/sparc/configure: Regenerated.
35459         * sysdeps/x86_64/configure: Regenerated.
35460
35461 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35462
35463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35464
35465         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35466         denormal result into account.
35467
35468 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35469
35470         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35471         Reported by Allan McRae <allan@archlinux.org>.
35472
35473 2012-03-23  Jeff Law  <law@redhat.com>
35474
35475         * nss/getnssent.c (__nss_getent): Fix typo.
35476
35477 2012-03-23  David S. Miller  <davem@davemloft.net>
35478
35479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35480
35481 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35482
35483         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35484         to pad to uint64_t for each field.
35485         (dl_tls_index): Replace unsigned long with uint64_t.
35486
35487 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35488         Paul Pluzhnikov  <ppluzhnikov@google.com>
35489
35490         [BZ #6528]
35491         * grp/Makefile (otherlibs): Don't set it.
35492         * inet/Makefile (otherlibs): Likewise.
35493         * login/Makefile (otherlibs): Likewise.
35494         * nscd/Makefile (otherlibs): Likewise.
35495         * posix/Makefile (otherlibs): Likewise.
35496         * pwd/Makefile (otherlibs): Likewise.
35497         * rt/Makefile (otherlibs): Likewise.
35498         * sunrpc/Makefile (otherlibs): Likewise.
35499         * nss/Makefile (otherlibs): Likewise.
35500         Add libnss_files to routines and static-only-routines.
35501         ($(objpfx)getent): Remove rule.
35502         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35503         static-only-routines.
35504
35505 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35506
35507         [BZ #13892]
35508         * math/s_cexp.c: Include <float.h>.
35509         (__cexp): Handle exp result overflowing not necessarily
35510         overflowing both real and imaginary parts of result.
35511         * math/s_cexpf.c: Likewise.
35512         * math/s_cexpl.c: Likewise.
35513         * math/libm-test.inc (cexp_test): Add more tests.
35514         * sysdeps/i386/fpu/libm-test-ulps: Update.
35515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35516
35517 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35518
35519         * include/link.h (ELFW): New macro.
35520         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35521         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35522
35523 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35524
35525         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35526         with uint64_t.
35527
35528 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35529
35530         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35531         declaration.
35532         (struct La_x32_retval): Likewise.
35533
35534 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35535
35536         * sysdeps/x86_64/preconfigure.in: New file.
35537         * sysdeps/x86_64/preconfigure: New generated file.
35538
35539 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35540
35541         [BZ #13824]
35542         * math/e_exp2l.c: Include <float.h>.
35543         (__ieee754_exp2l): Handle overflow and underflow cases
35544         separately.  Only pass fractional part of argument to
35545         __ieee754_expl.
35546         * math/libm-test.inc (exp2_test): Add more tests.
35547
35548         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35549         negating x to take absolute value.
35550         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35551         Likewise.
35552         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35553         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35554         Likewise.
35555         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35556         computing low part if x was negated.
35557         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35558
35559 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35560
35561         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35562         la_x32_gnu_pltexit.
35563         (pltexit): Cast int_retval to ptrdiff_t.
35564         * elf/tst-auditmod3b.c: Likewise.
35565         * elf/tst-auditmod4b.c: Likewise.
35566         * elf/tst-auditmod5b.c: Likewise.
35567         * elf/tst-auditmod6b.c: Likewise.
35568         * elf/tst-auditmod6c.c: Likewise.
35569         * elf/tst-auditmod7b.c: Likewise.
35570
35571         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35572         and x32_gnu_pltexit.
35573
35574         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35575         __ELF_NATIVE_CLASS.
35576         (La_x32_regs): New macro.
35577         (La_x32_retval): Likewise.
35578         (la_x32_gnu_pltenter): New function prototype.
35579         (la_x32_gnu_pltexit): Likewise.
35580
35581 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35582
35583         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35584         exponent.
35585
35586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35587
35588         * configure.in (libc_cv_cc_nofma): Check for option to disable
35589         generation of FMA instructions.
35590         * configure: Regenerate.
35591         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35592         * sysdeps/ieee754/dbl-64/Makefile: New file.
35593         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35594         Remove brandred-fma4.
35595         (CFLAGS-brandred-fma4.c): Remove.
35596         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35597         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35598         define.
35599         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35600         define.
35601
35602 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35603
35604         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35605         LLONG_MAX != LONG_MAX.
35606         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35607         (_fitoa_word): Likewise.
35608         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35609         LLONG_MAX != LONG_MAX.
35610         * stdio-common/_itowa.h: Include <_itoa.h>.
35611         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35612         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35613         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35614         only if not defined.
35615         (_ITOA_WORD_TYPE): Likewise.
35616         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35617         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35618
35619 2012-03-21  David S. Miller  <davem@davemloft.net>
35620
35621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35622
35623 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35624
35625         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35626         of x86_64 when setting libc_cv_slibdir, libdir and
35627         libc_cv_localedir.
35628         * sysdeps/unix/sysv/linux/configure: Regenerated.
35629
35630 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35631
35632         * manual/lang.texi (Old Varargs): Remove section.
35633         (How Variadic): Update menu.
35634         (va_start): Do not mention varargs.h.
35635
35636 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35637             Joseph Myers  <joseph@codesourcery.com>
35638
35639         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35640         link test.
35641         * configure: Regenerated.
35642
35643 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35644
35645         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35646         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35647         conformtest.pl
35648
35649 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35650
35651         * NOTES: Remove.
35652         * Makefile (files-for-dist): Remove NOTES.
35653         (NOTES): Remove rule.
35654         * README: Don't refer to NOTES.
35655         * manual/creature.texi: Don't include macros.texi.
35656         * manual/intro.texi (creature.texi): Remove comment referring to
35657         NOTES.
35658
35659         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35660         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35661         * configure: Regenerated.
35662         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35663         LIBC_TRY_CC_OPTION.
35664         (libc_cv_as_i686): Likewise.
35665         (libc_cv_cc_avx): Likewise.
35666         (libc_cv_cc_sse2avx): Likewise.
35667         (libc_cv_cc_fma4): Likewise.
35668         (libc_cv_cc_novzeroupper): Likewise.
35669         * sysdeps/i386/configure: Regenerated.
35670
35671         [BZ #13883]
35672         * sysdeps/i386/fpu/s_cexp.S: Remove.
35673         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35674         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35675         * math/libm-test.inc (cexp_test): Add more tests.
35676         * sysdeps/i386/fpu/libm-test-ulps: Update.
35677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35678
35679 2012-03-21  Allan McRae  <allan@archlinux.org>
35680
35681         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35682
35683 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35684
35685         [BZ #13871]
35686         * math/w_exp2.c: Do not include <float.h>.
35687         (o_threshold, u_threshold): Remove.
35688         (__exp2): Calculate result before checking finiteness and calling
35689         __kernel_standard.
35690         * math/w_exp2f.c: Likewise.
35691         * math/w_exp2l.c: Likewise.
35692         * math/libm-test.inc (exp2_test): Require overflow exception for
35693         1e6 input.
35694
35695         [BZ #3866]
35696         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35697         range of signed 64-bit integers before using fistpll.  Remove
35698         checks for whether integers fit in mantissa bits.
35699         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35700         the range of signed 32-bit integers before using fistpl.  Remove
35701         checks for whether integers fit in mantissa bits.
35702         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35703         (__ieee754_powl): Test for y outside the range of signed 64-bit
35704         integers before using fistpll.  Reduce 64-bit values to 63-bit
35705         ones as needed.
35706         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35707         divide-by-zero is raised for zero to large negative powers.
35708         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35709         (__ieee754_powl): Test for y outside the range of signed 64-bit
35710         integers before using fistpll.  Reduce 64-bit values to 63-bit
35711         ones as needed.
35712         * math/libm-test.inc (pow_test): Add more tests.
35713
35714 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35715
35716         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35717         <stdio-common/_itoa.h>.
35718         * debug/segfault.c: Likewise.
35719         * elf/dl-cache.c: Likewise.
35720         * elf/dl-minimal.c: Likewise.
35721         * elf/dl-misc.c: Likewise.
35722         * elf/dl-sysdep.c: Likewise.
35723         * elf/dl-version.c: Likewise.
35724         * elf/rtld.c: Likewise.
35725         * hurd/hurdsock.c: Likewise.
35726         * hurd/lookup-retry.c: Likewise.
35727         * malloc/malloc.c: Likewise.
35728         * malloc/mtrace.c: Likewise.
35729         * nscd/nscd_getgr_r.c: Likewise.
35730         * nscd/nscd_getpw_r.c: Likewise.
35731         * nscd/nscd_getserv_r.c: Likewise.
35732         * posix/getopt_init.c: Likewise.
35733         * posix/wordexp.c: Likewise.
35734         * stdio-common/_itoa.c: Likewise.
35735         * stdio-common/printf_fphex.c: Likewise.
35736         * stdio-common/vfprintf.c: Likewise.
35737         * string/_strerror.c: Likewise.
35738         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35739         * sysdeps/i386/i686/hp-timing.h: Likewise.
35740         * sysdeps/mach/_strerror.c: Likewise.
35741         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35742         * sysdeps/mach/hurd/sethostid.c: Likewise.
35743         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35744         * sysdeps/mach/xpg-strerror.c: Likewise.
35745         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35746         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35747         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35748         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35749         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35750         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35751         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35752         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35753         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35754         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35755         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35756         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35757         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35758         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35759         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35760         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35761         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35762         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35763         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35764         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35765         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35766
35767         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35768
35769         * stdio-common/_itoa.h: Moved to ...
35770         * sysdeps/generic/_itoa.h: Here.
35771
35772         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35773
35774         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35775         instead of "_itoa.h" and "_itowa.h".
35776         * stdio-common/vfprintf.: Likewise.
35777
35778 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35779
35780         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35781         <bits/wordsize.h>.
35782         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35783         (__signbit): Likwise.
35784         (llrintf): Likwise.
35785         (llrint): Likwise.
35786
35787 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35788
35789         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35790         __WORDSIZE != 64.
35791
35792 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35793
35794         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35795         OVERFLOW_EXCEPTION_OK.
35796         * math/libm-test.inc ("Philosophy"): Update comment about
35797         exception testing.
35798         (OVERFLOW_EXCEPTION): Define.
35799         (OVERFLOW_EXCEPTION_OK): Likewise.
35800         (INVALID_EXCEPTION_OK): Renumber.
35801         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35802         (IGNORE_ZERO_INF_SIGN): Likewise.
35803         (test_exceptions): Handle FE_OVERFLOW.
35804         (exp10_test): Expect overflow exceptions.
35805         (exp2_test): Likewise.
35806         (expm1_test): Likewise.
35807         (nextafter_test): Likewise.
35808         (pow_test): Likewise.
35809         (scalbn_test): Likewise.
35810         (scalbln_test): Likewise.
35811
35812 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35813
35814         * sysdeps/x86_64/bits/atomic.h
35815         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35816         64bit integer.
35817         (atomic_exchange_acq): Likewise.
35818         (__arch_exchange_and_add_body): Likewise.
35819         (__arch_add_body): Likewise.
35820         (atomic_add_negative): Likewise.
35821         (atomic_add_zero): Likewise.
35822
35823 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35824
35825         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35826         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35827
35828 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35829
35830         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35831         Check __x86_64__ instead of __WORDSIZE.
35832
35833 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35834
35835         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35836
35837 2012-03-19  David S. Miller  <davem@davemloft.net>
35838
35839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35840
35841         * sysdeps/sparc/fpu/fenv_private.h: New file.
35842         * sysdeps/sparc/fpu/math_private.h: Use it.
35843         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35844         Remove.
35845         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35846         (libc_feholdexcept_setroundl): Remove.
35847         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35848         Remove.
35849         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35850         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35851
35852 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35853
35854         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35855         int64_t instead of long int.
35856         (INSERT_WORDS64): Likwise.
35857
35858 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35859
35860         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35861         _Unwind_GetCFA return to _Unwind_Ptr first.
35862
35863 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35864
35865         [BZ #13629]
35866         * math/s_clog.c: Include <float.h>.
35867         (__clog): Scale large or subnormal inputs.
35868         * math/s_clogf.c: Likewise.
35869         * math/s_clogl.c: Likewise.
35870         * math/s_clog10.c: Include <float.h>.
35871         (M_LOG10_2): Define.
35872         (__clog10): Scale large or subnormal inputs.
35873         * math/s_clog10f.c: Likewise.
35874         * math/s_clog10l.c: Likewise.
35875         * math/libm-test.inc (clog_test): Add more tests.
35876         (clog10_test): Likewise.
35877         * sysdeps/i386/fpu/libm-test-ulps: Update.
35878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35879
35880         [BZ #11451]
35881         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35882         x and y.
35883         * math/libm-test.inc (atan2_test): Add another test.
35884
35885         * Makerules (common-objdir-compile): Remove.
35886         * sysdeps/unix/Makefile (config-generated): Do not add
35887         $(unix-generated) to variable.
35888         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35889         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35890         Remove rule.
35891         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35892         Likewise.
35893         [generic bits/local_lim.h] (before-compile): Do not append to
35894         variable.
35895         [generic bits/local_lim.h] (common-generated): Likewise.
35896         [generic sys/param.h] (before-compile): Do not append to variable.
35897         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35898         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35899         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35900         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35901         include.
35902         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35903         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35904         [generic sys/param.h] ($(addprefix
35905         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35906         [generic sys/param.h] (common-generated): Do not append to
35907         variable.
35908         [generic sys/param.h] (sysdep_headers): Likewise.
35909         [generic bits/errno.h] (before-compile): Do not append to
35910         variable.
35911         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35912         rule.
35913         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35914         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35915         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35916         [generic bits/errno.h] (common-generated): Do not append to
35917         variable.
35918         [generic bits/ioctls.h] (before-compile): Do not append to
35919         variable.
35920         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35921         rule.
35922         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35923         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35924         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35925         rule.
35926         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35927         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35928         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35929         [generic bits/ioctls.h] (common-generated): Do not append to
35930         variable.
35931         [generic sys/syscall.h] (syscall.h): Remove variable.
35932         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35933         rule.
35934         [generic sys/syscall.h] (before-compile): Do not append to
35935         variable.
35936         [generic sys/syscall.h] (common-generated): Likewise.
35937         * sysdeps/unix/errnos-tmpl.c: Remove file.
35938         * sysdeps/unix/errnos.awk: Likewise.
35939         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35940         * sysdeps/unix/ioctls.awk: Likewise.
35941         * sysdeps/unix/mk-local_lim.c: Likewise.
35942         * sysdeps/unix/snarf-ioctls: Likewise.
35943
35944 2012-03-19  Richard Henderson  <rth@twiddle.net>
35945
35946         * sysdeps/i386/fpu/fenv_private.h: New file.
35947         * sysdeps/i386/fpu/math_private.h: Use it.
35948         (math_opt_barrier, math_force_eval): Remove.
35949         (libc_feholdexcept_setround_53bit): Remove.
35950         (libc_feupdateenv_53bit): Remove.
35951         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35952         (math_opt_barrier, math_force_eval): Remove.
35953         (libc_feholdexcept): Remove.
35954         (libc_feholdexcept_setround): Remove.
35955         (libc_fetestexcept, libc_fesetenv): Remove.
35956         (libc_feupdateenv_test): Remove.
35957         (libc_feupdateenv, libc_feholdsetround): Remove.
35958         (libc_feresetround): Remove.
35959
35960         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35961         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35962
35963         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35964         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35965         (libc_feupdateenv_testl): New.
35966         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35967         (libc_feupdateenv_testf): New.
35968         (libc_feupdateenv): Use libc_feupdateenv_test.
35969         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35970         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35971
35972         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35973         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35974         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35975         (libc_feresetround_noex): New.
35976         (libc_feresetround_noexf): New.
35977         (libc_feresetround_noexl): New.
35978         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35979         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35980         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35981         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35982         SET_RESTORE_ROUND.
35983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35985         (__cos): Likewise.
35986         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35987         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35988         SET_RESTORE_ROUND_NOEX.
35989         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35990         SET_RESTORE_ROUND_NOEXF.
35991         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35992         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35993         (libc_feholdsetroundf): New.
35994         (libc_feresetround, libc_feresetroundf): New.
35995
35996         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35997         (libc_feholdexcept_setround_53bit): Convert from macro to function.
35998         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
35999
36000         * sysdeps/generic/math_private.h: Include <fenv.h>.
36001         (default_libc_feholdexcept): New.
36002         (default_libc_feholdexcept_setround): New.
36003         (default_libc_fesetenv, default_libc_feupdateenv): New.
36004         (libc_feholdexcept): Only define if undefined.
36005         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36006         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36007         (libc_feholdexcept_setroundl): Likewise.
36008         (libc_feholdexcept_setround_53bit): Likewise.
36009         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36010         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36011         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36012         (libc_feupdateenv_53bit): Likewise.
36013         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36014         (libc_feholdexcept): Convert from macro to inline function.
36015         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36016         (libc_fesetenv, libc_feupdateenv): Likewise.
36017
36018         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36019         not previously defined.
36020         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36021         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36022         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36023         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36024         * sysdeps/ieee754/flt-32/math_private.h: New file.
36025         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36026         math_private.h below SET_FLOAT_WORD.
36027         (__isnan, __isinf_ns, __finite): Remove.
36028         (__isnanf, __isinf_nsf, __finitef): Remove.
36029
36030 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36031
36032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36033
36034 2012-03-17  David S. Miller  <davem@davemloft.net>
36035
36036         [BZ #6471]
36037         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36038         for 2.16.
36039
36040 2012-03-16  David S. Miller  <davem@davemloft.net>
36041
36042         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36043         warnings.
36044
36045         [BZ #6471]
36046         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36047         properly.
36048         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36049         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36050         sysdep_routines when subdir is sysvipc.
36051         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36052         __getshmlba helper.
36053
36054         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36055
36056 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36057
36058         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36059         [__LP64__].
36060
36061 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36062
36063         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36064         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36065         (__lround): Renamed to ...
36066         (__llround): This.  Replace long int with long long int.
36067         Define lround functions as aliases of llround functions.
36068         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36069
36070 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36071
36072         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36073         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36074         adresses to uintptr_t.  Replace "long int" and "unsigned long
36075         int" with "greg_t" on va_arg.
36076
36077 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36078
36079         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36080         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36081
36082         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36083         Move e_machine check before EI_CLASS check.  Handle x32
36084         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36085         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36086         SKIP_EM_IA_64 and include
36087         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36088
36089         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36090         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36091         (add_system_dir): New macro.
36092
36093         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36094         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36095
36096 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36097
36098         [BZ #2551]
36099         [BZ #2552]
36100         [BZ #2553]
36101         [BZ #2554]
36102         [BZ #2562]
36103         [BZ #2563]
36104         [BZ #2565]
36105         [BZ #2566]
36106         [BZ #2576]
36107         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36108         (y0): Likewise.
36109         * math/w_j0f.c (j0f): Likewise.
36110         (y0f): Likewise.
36111         * math/w_j0l.c (__j0l): Likewise.
36112         (__y0l): Likewise.
36113         * math/w_j1.c (j1): Likewise.
36114         (y1): Likewise.
36115         * math/w_j1f.c (j1f): Likewise.
36116         (y1f): Likewise.
36117         * math/w_j1l.c (__j1l): Likewise.
36118         (__y1l): Likewise.
36119         * math/w_jn.c (jn): Likewise.
36120         (yn): Likewise.
36121         * math/w_jnf.c (jnf): Likewise.
36122         (ynf): Likewise.
36123         * math/w_jnl.c (__jnl): Likewise.
36124         (__ynl): Likewise.
36125         * math/libm-test.inc (j0_test): Add more tests.
36126         (j1_test): Likewise.
36127         (jn_test): Likewise.  Add trailing semicolon to existing test.
36128         (y0_test): Likewise.
36129         (y1_test): Likewise.
36130         * sysdeps/i386/fpu/libm-test-ulps: Update.
36131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36132
36133         [BZ #13851]
36134         [BZ #13854]
36135         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36136         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36137         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36138         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36139         (__tanl): Set errno for infinite argument.
36140         * sysdeps/i386/fpu/mptan.c: Remove.
36141         * sysdeps/i386/fpu/s_tan.S: Likewise.
36142         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36143         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36144         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36145         * math/libm-test.inc (tan_test): Add more tests and enable more
36146         tests for double and long double.
36147         * sysdeps/i386/fpu/libm-test-ulps: Update.
36148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36149
36150 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36151
36152         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36153         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36154
36155 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36156
36157         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36158         * configure.in: Use it for both main tree and add-ons.
36159         * configure: Regenerated.
36160
36161 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36162
36163         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36164
36165 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36166
36167         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36168         in comment.
36169
36170         [BZ #13851]
36171         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36172         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36173         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36174         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36175         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36176         infinite argument.
36177         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36178         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36179         != 0 for prec == 2.
36180         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36181         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36182         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36183         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36184         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36185         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36186         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36187         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36188         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36189         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36190         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36191         * math/libm-test.inc (cos_test): Add more tests and enable more
36192         tests for long double.
36193         (sin_test): Likewise.
36194         (sincos_test): Likewise.
36195         * sysdeps/i386/fpu/libm-test-ulps: Update.
36196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36197
36198 2012-03-16  David S. Miller  <davem@davemloft.net>
36199
36200         * sysdeps/sparc/fpu/math_private.h: New file.
36201
36202 2012-03-15  David S. Miller  <davem@davemloft.net>
36203
36204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36205         file.
36206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36208         file.
36209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36214         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36215         sysdep routines.
36216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36217
36218         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36219         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36220
36221         * sysdeps/sparc/sparc-ifunc.h: New file.
36222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36223         sparc-ifunc.h
36224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36226         Likewise.
36227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36228         Likewise.
36229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36233         Likewise.
36234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36239         Likewise.
36240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36241         Likewise.
36242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36248         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36249         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36251         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36256         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36257         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36260         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36261         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36262         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36263         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36264         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36265         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36266
36267 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36268
36269         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36270         scaling.
36271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36272
36273 2012-03-15  Andreas Jaeger  <aj@suse.de>
36274
36275         [BZ #13852]
36276         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36277         ieee754/flt-32 implementation for sin, cos and sincos.
36278         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36279         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36280         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36281         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36282         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36283         ieee754/flt-32 implementation for tan.
36284
36285         * math/libm-test.inc (cos_test): Enable some large input tests for
36286         float as well
36287         (sin_test): Likewise.
36288         (sincos_test): Likewise.
36289         (tan_test): Add tests for large input.
36290
36291         * sysdeps/i386/fpu/libm-test-ulps: Update.
36292
36293 2012-03-15  Andreas Jaeger  <aj@suse.de>
36294
36295         [BZ #13658]
36296         * math/libm-test.inc (cos_test): Add more test cases.
36297         (sin_test): Likewise.
36298         (sincos_test): Likewise.
36299
36300 2012-03-15  Andreas Jaeger  <aj@suse.de>
36301
36302         [BZ #13837]
36303         * math/libm-test.inc (cos_test): Add a test case for large input
36304         value.
36305         (sin_test): Likewise.
36306         (sincos_test): Likewise.
36307
36308 2012-03-15  Andreas Jaeger  <aj@suse.de>
36309             Joseph Myers  <joseph@codesourcery.com>
36310
36311         [BZ #13658]
36312         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36313         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36314         * sysdeps/i386/fpu/branred.c: Likewise.
36315         * sysdeps/i386/fpu/dosincos.c: Likewise.
36316         * sysdeps/i386/fpu/mpa.c: Likewise.
36317         * sysdeps/i386/fpu/s_cos.S: Likewise.
36318         * sysdeps/i386/fpu/s_sin.S: Likewise.
36319         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36320         * sysdeps/i386/fpu/sincos32.c: Likewise.
36321
36322         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36323         Define.
36324         (libc_feupdateenv_53bit): Define.
36325         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36326         Define.
36327         (libc_feupdateenv_53bit): Define.
36328
36329         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36330         53 bit (without extend i386 double precision).
36331
36332         * math/libm-test.inc (sincos_test): Add tests for large input.
36333         (sin): Likewise.
36334         (cos): Likewise.
36335
36336         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36337
36338 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36339
36340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36341
36342 2012-03-15  David S. Miller  <davem@davemloft.net>
36343
36344         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36345         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36346         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36347         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36352         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36353         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36360         file.
36361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36363         file.
36364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36366         file.
36367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36369         file.
36370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36371         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36372         fmin/fmax sysdep routines.
36373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36374
36375 2012-03-14  David S. Miller  <davem@davemloft.net>
36376
36377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36381         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36382         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36383         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36384         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36386         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36387         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36388         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36389         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36390         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36392         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36393         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36394         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36395         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36396         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36397         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36398         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36399         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36400         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36401         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36402         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36403         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36404         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36405         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36406         routines.
36407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36408         file.
36409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36411         file.
36412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36414         file.
36415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36417         file.
36418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36420         file.
36421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36423         file.
36424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36425         file.
36426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36427         file.
36428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36429         file.
36430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36431         New file.
36432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36433         file.
36434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36435         file.
36436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36438         file.
36439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36441         file.
36442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36444         file.
36445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36447         VIS3 routines.
36448
36449         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36450         New file.
36451
36452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36453
36454         * sysdeps/sparc/configure.in: New file.
36455         * sysdeps/sparc/configure: Generate.
36456         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36457         * configure: Regenerate.
36458         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36459         * config.make.in (have-as-vis3): New.
36460         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36461         available use -Av9d instead of -Av9a.
36462         * sysdeps/sparc/sparc64/Makefile: Likewise.
36463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36465         New file.
36466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36467         file.
36468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36469         New file.
36470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36471         file.
36472         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36473         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36474         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36475         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36476         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36477
36478         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36479         fzeros/fnegs to load 0x80000000 into a float register instead of
36480         using the stack.
36481         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36482
36483 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36484
36485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36486         bits/syscall.h.
36487         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36488         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36489         ($(inst_includedir)/bits/syscall.h): Remove rule.
36490         ($(objpfx)bits/syscall.d): Include instead of
36491         $(objpfx)syscall-list.d.
36492         (generated): Change syscall-list.h and syscall-list.d to
36493         bits/syscall.h and bits/syscall.d.
36494
36495 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36496
36497         [BZ #13846]
36498         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36499
36500 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36501
36502         [BZ #13841]
36503         * math/s_csqrt.c: Include <float.h>.
36504         (__csqrt): Scale large or subnormal inputs.
36505         * math/s_csqrtf.c: Likewise.
36506         * math/s_csqrtl.c: Likewise.
36507         * math/libm-test.inc (csqrt_test): Add more tests.
36508         * sysdeps/i386/fpu/libm-test-ulps: Update.
36509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36510
36511         [BZ #13840]
36512         * math/libm-test.inc (hypot_test): Add more tests.
36513
36514 2012-03-13  David S. Miller  <davem@davemloft.net>
36515
36516         [BZ #13840]
36517         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36518         double-precision for the calculation instead of scaling.
36519
36520 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36521
36522         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36523         manipulate bits before adding and subtracting TWO52[sx].
36524         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36525         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36526         Likewise.
36527         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36528
36529 2012-03-13  David S. Miller  <davem@davemloft.net>
36530
36531         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36532         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36533         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36534         rtld-global-offsets.h
36535         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36536
36537         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36538         large parameters.
36539
36540         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36541
36542         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36543         'err' in the ifdef scope in which it is actually used.
36544
36545         * nss/nss_db/db-init.c: Include string.h
36546
36547 2012-03-12  David S. Miller  <davem@davemloft.net>
36548
36549         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36550         masking out of the most significant byte of random value used.
36551         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36552         Fix coding style in previous change.
36553
36554         * sysdeps/unix/sysv/linux/kernel-features.h
36555         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36556         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36557         expression.
36558         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36559         later.
36560
36561 2012-03-11  David S. Miller  <davem@davemloft.net>
36562
36563         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36564         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36565         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36566         for 'resultvar' otherwise things get truncated on 64-bit.
36567
36568         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36569         Fix masking out of the most significant byte of random value used.
36570
36571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36572
36573 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36574
36575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36576
36577 2012-03-09  David S. Miller  <davem@davemloft.net>
36578
36579         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36580         variables with appropriate CPP guards.
36581         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36582         from the frame pointer, not the stack pointer.  Correct layout
36583         comments.  Fix test on resulting framesize and the management of
36584         the outregs buffer for pltexit.  Preserve floating point return
36585         values across _dl_call_pltexit call.
36586         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36587         framesize and the management of the outregs buffer for pltexit.
36588         Preserve floating point return values across _dl_call_pltexit
36589         call.
36590         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36591         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36592         (la_sparc64_gnu_pltexit): New functions.
36593         (print_exit): Fix format string for return register value.
36594
36595 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36596
36597         * sunrpc/Makefile (others): Add rpcgen.
36598         ($(objpfx)rpcgen): Remove special build rule and dependency on
36599         libc.
36600         * sunrpc/rpcgen.c: New file.
36601
36602 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36603
36604         [BZ #13673]
36605         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36606         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36607         * sysdeps/i386/crti.S: Likewise.
36608         * sysdeps/i386/crtn.S: Likewise.
36609         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36610         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36611         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36612         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36613         * sysdeps/sh/crti.S: Likewise.
36614         * sysdeps/sh/crtn.S: Likewise.
36615         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36616
36617         [BZ #13673]
36618         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36619         with URL.
36620         * locale/programs/locfile-kw.gperf: Likewise.
36621         * locale/programs/charmap-kw.h: Regenerated.
36622         * locale/programs/locfile-kw.h: Likewise.
36623
36624         [BZ #13673]
36625         * intl/plural.y: Replace FSF snail mail address with URL.
36626         * intl/plural.c: Regenerated.
36627
36628 2012-03-09  Richard Henderson  <rth@twiddle.net>
36629
36630         * include/math_private.h: Remove file.
36631         * math/math_private.h: Move file ...
36632         * sysdeps/generic/math_private.h: ... here.
36633
36634         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36635         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36636         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36637
36638         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36639         and <math_private.h>.
36640         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36641         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36642         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36643         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36644         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36645         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36646         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36647         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36648         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36649         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36650         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36651         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36652         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36653         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36654         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36655         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36656         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36657         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36658         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36659         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36661         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36662         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36663         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36664         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36665         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36666         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36667         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36668         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36669         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36670         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36671         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36672         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36673         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36674         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36675         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36676         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36677         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36678         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36679         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36680         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36681         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36682         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36683         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36684         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36685         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36686         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36687         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36688         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36689         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36690         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36691         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36692         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36693         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36694         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36695         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36696         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36697         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36698         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36699         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36700         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36701         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36702         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36703         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36704         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36705         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36706         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36707         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36708         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36709         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36710         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36711         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36712         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36713         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36714         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36716         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36717         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36718         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36719         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36720         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36721         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36722         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36723         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36724         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36725         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36726         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36727         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36728         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36729         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36730         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36731         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36732         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36733         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36734         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36735         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36736         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36737         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36738         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36739         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36740         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36741         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36742         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36743         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36744         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36745         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36746         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36747         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36748         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36749         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36750         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36751         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36752         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36753         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36754         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36755         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36756         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36757         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36758         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36759         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36760         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36761         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36762         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36763         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36764         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36765         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36766         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36767         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36768         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36769         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36770         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36771         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36772         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36773         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36774         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36775         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36776         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36777         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36778         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36779         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36780         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36781         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36782         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36783         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36784         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36785         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36786         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36787         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36788         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36789         * sysdeps/ieee754/k_standard.c: Likewise.
36790         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36791         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36792         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36793         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36794         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36795         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36796         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36797         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36798         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36799         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36800         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36801         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36802         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36803         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36805         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36806         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36807         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36808         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36809         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36810         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36811         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36812         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36813         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36814         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36815         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36816         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36817         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36818         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36819         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36820         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36821         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36822         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36823         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36824         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36825         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36826         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36827         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36828         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36829         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36830         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36831         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36832         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36833         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36834         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36835         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36836         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36837         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36838         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36839         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36841         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36842         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36843         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36844         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36845         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36846         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36847         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36848         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36849         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36850         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36851         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36852         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36853         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36854         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36855         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36856         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36857         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36859         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36860         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36861         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36862         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36863         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36864         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36865         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36867         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36869         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36870         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36871         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36872         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36873         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36874         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36875         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36876         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36877         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36878         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36879         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36880         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36881         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36882         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36883         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36884         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36885         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36886         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36887         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36888         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36889         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36891         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36892         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36893         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36894         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36895         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36896         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36897         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36898         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36899         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36900         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36901         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36902         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36903         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36904         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36905         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36906         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36907         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36908         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36909         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36910         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36911         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36912         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36913         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36914         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36915         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36916         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36917         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36918         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36919         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36920         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36921         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36922         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36923         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36925         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36930         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36931         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36932         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36933         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36934         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36935         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36936         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36938         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36939         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36940         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36941         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36942         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36943         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36944         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36945         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36946         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36947         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36948         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36949         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36950         * sysdeps/ieee754/s_lib_version.c: Likewise.
36951         * sysdeps/ieee754/s_matherr.c: Likewise.
36952         * sysdeps/ieee754/s_signgam.c: Likewise.
36953         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36954         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36955         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36956         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36957         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36958         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36959         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36960         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36961         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36962         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36963         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36964         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36965         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36966         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36967         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36969         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36970         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36971         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36972         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36973         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36974
36975 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36976
36977         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36978         * sunrpc/rpc_main.c: Likewise.
36979         * sunrpc/rpc_svcout.c: Likewise.
36980
36981 2012-03-09  David S. Miller  <davem@davemloft.net>
36982
36983         * include/math_private.h: New file.
36984
36985 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36986
36987         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36988         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36989         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36990         from <bits/socket_type.h>.
36991         (enum __socket_type): Don't define here.
36992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36994         bits/socket_type.h.
36995
36996         [BZ #13566]
36997         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36998         checking __USE_GNU.
36999
37000         * Makerules ($(inst_includedir)/%.h): New rule.
37001         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37002         (install-others): Remove variable setting.
37003         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37004
37005 2012-03-08  Richard Henderson  <rth@twiddle.net>
37006
37007         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37008         from macro to inline function; merge with the
37009         !__LIBC_INTERNAL_MATH_INLINES version.
37010         (__ieee754_sqrtf): Likewise.
37011
37012         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37013         to inline function.
37014         (__rintf, __floor, __floorf): Likewise.
37015
37016         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37017         macro to inline function.
37018         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37019
37020         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37021         not <math/math_private.h>.
37022
37023 2012-03-08  David S. Miller  <davem@davemloft.net>
37024
37025         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37026         copyright year.
37027         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37028
37029 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37030
37031         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37032         normalization.
37033         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37034         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37035
37036 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37037
37038         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37039         be defined individually, they must be defined as a block.  Define
37040         S for printing a string instead of hidint the different by using a
37041         macro for adding the 'l'.
37042         * stdio-common/tst-fphex-wide.c: Adjust.
37043
37044 2012-03-07  Marek Polacek  <polacek@redhat.com>
37045
37046         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37047
37048 2012-03-08  Marek Polacek  <polacek@redhat.com>
37049
37050         [BZ #13806]
37051         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37052         * stdio-common/tst-fphex.c: Define a few macros to make the
37053         test reusable.  Use them.
37054         * stdio-common/tst-fphex-wide.c: New file.
37055
37056 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37057
37058         [BZ #6911]
37059         * manual/macros.texi (gnusystems): New macro.
37060         (nongnusystems): Likewise.
37061         (gnulinuxhurdsystems): Likewise.
37062         (gnuhurdsystems): Likewise..
37063         (gnulinuxsystems): Likewise.
37064         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37065         variants of the GNU system, not "GNU system".
37066         * manual/conf.texi: Likewise.
37067         * manual/errno.texi: Likewise.  Update example of errno macro
37068         expansion.
37069         * manual/filesys.texi: Likewise.
37070         (getumask): Document as specific to GNU/Hurd.
37071         * manual/install.texi: Likewise.  Reword some references to
37072         GNU/Linux.
37073         * manual/intro.texi: Likewise.
37074         * manual/io.texi: Likewise.
37075         (File Name Portability): Detail which constraints are inapplicable
37076         to all GNU systems and which are only inapplicable to GNU/Hurd.
37077         * manual/job.texi: Likewise.
37078         * manual/llio.texi: Likewise.
37079         (O_NOCTTY): Document as present on GNU/Linux.
37080         * manual/maint.texi: Likewise.
37081         * manual/memory.texi: Likewise.
37082         * manual/pattern.texi: Likewise.
37083         * manual/pipe.texi: Likewise.
37084         * manual/process.texi: Likewise.
37085         * manual/resource.texi: Likewise.
37086         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37087         child on GNU/Hurd.
37088         * manual/setjmp.texi: Likewise.
37089         * manual/signal.texi: Likewise.
37090         * manual/startup.texi: Likewise.
37091         * manual/stdio.texi: Likewise.
37092         * manual/terminal.texi: Likewise.
37093         (ONLCR): Document as POSIX.
37094         (OXTABS): Document availability on GNU/Linux as XTABS.
37095         (ONOEOT): Document availability separately from other bits.
37096         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37097         * manual/time.texi: Likewise.
37098         * manual/users.texi: Likewise.
37099         * INSTALL: Regenerated.
37100         * sysdeps/gnu/errlist.c: Regenerated.
37101
37102         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37103         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37104         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37105         puts.
37106         * configure: Regenerated.
37107
37108 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37109
37110         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37111         default includes instead of AC_HEADER_CHECK.
37112         * sysdeps/i386/configure: Regenerated.
37113
37114         [BZ #10716]
37115         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37116         * math/s_cacoshf.c (__cacoshf): Likewise.
37117         * math/s_cacoshl.c (__cacoshl): Likewise.
37118         * math/s_casinh.c (__casinh): Set signs of result from argument.
37119         * math/s_casinhf.c (__casinhf): Likewise.
37120         * math/s_casinhl.c (__casinhl): Likewise.
37121         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37122         (casinh_test): Add more tests.
37123         * sysdeps/i386/fpu/libm-test-ulps: Update.
37124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37125
37126 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37127
37128         * po/zh_TW.po: Update from translation team.
37129
37130         * login/Makefile (distribute): Remove variable.
37131         * catgets/Makefile: Likewise.
37132         * mach/Makefile: Likewise.
37133         * malloc/Makefile: Likewise.
37134         * misc/Makefile: Likewise.
37135         * iconv/Makefile: Likewise.
37136         * nscd/Makefile: Likewise.
37137         * hurd/Makefile: Likewise.
37138         * manual/Makefile: Likewise.
37139         * locale/Makefile: Likewise.
37140         * intl/Makefile: Likewise.
37141         * conform/Makefile: Likewise.
37142         * nss/Makefile: Likewise.
37143         * time/Makefile: Likewise.
37144         * soft-fp/Makefile: Likewise.
37145         * dirent/Makefile: Likewise.
37146         * gmon/Makefile: Likewise.
37147         * po/Makefile: Likewise.
37148         * rt/Makefile: Likewise.
37149         * socket/Makefile: Likewise.
37150         * math/Makefile: Likewise.
37151         * signal/Makefile: Likewise.
37152         * debug/Makefile: Likewise.
37153         * elf/Makefile: Likewise.
37154         * timezone/Makefile: Likewise.
37155         * stdlib/Makefile: Likewise.
37156         * iconvdata/Makefile: Likewise.
37157         * sunrpc/Makefile: Likewise.
37158         * io/Makefile: Likewise.
37159         * argp/Makefile: Likewise.
37160         * inet/Makefile: Likewise.
37161         * hesiod/Makefile: Likewise.
37162         * grp/Makefile: Likewise.
37163         * csu/Makefile: Likewise.
37164         * wctype/Makefile: Likewise.
37165         * crypt/Makefile: Likewise.
37166         * libio/Makefile: Likewise.
37167         * string/Makefile: Likewise.
37168         * nis/Makefile: Likewise.
37169         * resolv/Makefile: Likewise.
37170         * stdio-common/Makefile: Likewise.
37171         * wcsmbs/Makefile: Likewise.
37172         * dlfcn/Makefile: Likewise.
37173         * posix/Makefile: Likewise.
37174
37175         [BZ #6959]
37176         * timezone/Makefile: Don't install timezone files, just the programs
37177         and scripts.
37178
37179 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37180
37181         * nss/databases.def: Add missing gshadow entry.
37182
37183         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37184
37185 2012-03-06  Marek Polacek  <polacek@redhat.com>
37186
37187         [BZ #13726]
37188         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37189         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37190         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37191         * stdio-common/tst-long-dbl-fphex.c: New file.
37192
37193 2012-03-06  David S. Miller  <davem@davemloft.net>
37194
37195         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37196         (set_obp_int): New function.
37197         (get_obp_int): New function.
37198         (__get_clockfreq_via_dev_openprom): Likewise.
37199         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37200         Avoid unused variable warnings on 'val' and use builtin_expect.
37201         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37202         __builtin_expect.
37203         (INLINE_CLONE_SYSCALL): Likewise.
37204
37205 2012-03-05  David S. Miller  <davem@davemloft.net>
37206
37207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37208
37209 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37210
37211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37212
37213         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37214         only for |x| >= 40.
37215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37216
37217 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37218
37219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37220         Replace gettimeofday with __vdso_gettimeofday.
37221
37222         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37223         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37224         __vdso_clock_gettime and __vdso_getcpu.
37225
37226         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37227         time with __vdso_time.
37228
37229 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37230
37231         * manual/lang.texi (size_t): Note types to which size_t may be
37232         equivalent with the GNU C Library, but do not describe when
37233         differences between them are significant.
37234
37235 2012-03-05  Andreas Jaeger  <aj@suse.de>
37236
37237         * sysdeps/i386/fpu/libm-test-ulps: Update.
37238
37239 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37240
37241         [BZ #3976]
37242         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37243         (__ieee754_pow): Save and restore rounding mode and use
37244         round-to-nearest for main computations.
37245         * math/libm-test.inc (pow_test_tonearest): New function.
37246         (pow_test_towardzero): Likewise.
37247         (pow_test_downward): Likewise.
37248         (pow_test_upward): Likewise.
37249         (main): Call the new functions.
37250         * sysdeps/i386/fpu/libm-test-ulps: Update.
37251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37252
37253         [BZ #3976]
37254         * math/libm-test.inc (cosh_test_tonearest): New function.
37255         (cosh_test_towardzero): Likewise.
37256         (cosh_test_downward): Likewise.
37257         (cosh_test_upward): Likewise.
37258         (sinh_test_tonearest): Likewise.
37259         (sinh_test_towardzero): Likewise.
37260         (sinh_test_downward): Likewise.
37261         (sinh_test_upward): Likewise.
37262         (main): Call the new functions.
37263         * sysdeps/i386/fpu/libm-test-ulps: Update.
37264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37265
37266 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37267
37268         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37269         default stack guard is set in last bytes.
37270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37271
37272 2012-03-05  Kees Cook  <keescook@chromium.org>
37273
37274         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37275
37276         [BZ #13656]
37277         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37278         possibly allocate from heap instead of stack.
37279         * stdio-common/bug-vfprintf-nargs.c: New file.
37280         * stdio-common/Makefile (tests): Add nargs overflow test.
37281
37282 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37283
37284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37285
37286 2012-03-03  Marek Polacek  <polacek@redhat.com>
37287
37288         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37289         * math/math_private.h: Likewise.
37290         * stdlib/tst-strtod.c: Likewise.
37291         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37292         * sysdeps/x86_64/bits/atomic.h: Likewise.
37293
37294 2012-03-02  David S. Miller  <davem@davemloft.net>
37295
37296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37300         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37301         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37302         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37303         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37304
37305 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37306
37307         [BZ #13792]
37308         * manual/examples/README: New file, says the example source files
37309         can be used under GPL>=2.
37310         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37311         line containing just "*/".
37312         * manual/examples/add.c: Add copyright header (GPL>=2).
37313         * manual/examples/argp-ex1.c: Likewise.
37314         * manual/examples/argp-ex2.c: Likewise.
37315         * manual/examples/argp-ex3.c: Likewise.
37316         * manual/examples/argp-ex4.c: Likewise.
37317         * manual/examples/atexit.c: Likewise.
37318         * manual/examples/db.c: Likewise.
37319         * manual/examples/dir.c: Likewise.
37320         * manual/examples/dir2.c: Likewise.
37321         * manual/examples/execinfo.c: Likewise.
37322         * manual/examples/filecli.c: Likewise.
37323         * manual/examples/filesrv.c: Likewise.
37324         * manual/examples/fmtmsgexpl.c: Likewise.
37325         * manual/examples/genpass.c: Likewise.
37326         * manual/examples/inetcli.c: Likewise.
37327         * manual/examples/inetsrv.c: Likewise.
37328         * manual/examples/isockad.c: Likewise.
37329         * manual/examples/longopt.c: Likewise.
37330         * manual/examples/memopen.c: Likewise.
37331         * manual/examples/memstrm.c: Likewise.
37332         * manual/examples/mkfsock.c: Likewise.
37333         * manual/examples/mkisock.c: Likewise.
37334         * manual/examples/mygetpass.c: Likewise.
37335         * manual/examples/pipe.c: Likewise.
37336         * manual/examples/popen.c: Likewise.
37337         * manual/examples/rprintf.c: Likewise.
37338         * manual/examples/search.c: Likewise.
37339         * manual/examples/select.c: Likewise.
37340         * manual/examples/setjmp.c: Likewise.
37341         * manual/examples/sigh1.c: Likewise.
37342         * manual/examples/sigusr.c: Likewise.
37343         * manual/examples/stpcpy.c: Likewise.
37344         * manual/examples/strdupa.c: Likewise.
37345         * manual/examples/strftim.c: Likewise.
37346         * manual/examples/strncat.c: Likewise.
37347         * manual/examples/subopt.c: Likewise.
37348         * manual/examples/swapcontext.c: Likewise.
37349         * manual/examples/termios.c: Likewise.
37350         * manual/examples/testopt.c: Likewise.
37351         * manual/examples/testpass.c: Likewise.
37352         * manual/examples/timeval_subtract.c: Likewise.
37353
37354         [BZ #13792]
37355         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37356         function to ...
37357         * manual/timeval_subtract.c.texi: ... here, new file.
37358
37359 2012-03-02  David S. Miller  <davem@davemloft.net>
37360
37361         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37362
37363 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37364
37365         [BZ #3976]
37366         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37367         (__sin): Save and restore rounding mode and use round-to-nearest
37368         for all computations.
37369         (__cos): Save and restore rounding mode and use round-to-nearest
37370         for all computations.
37371         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37372         <fenv.h>.
37373         (tan): Save and restore rounding mode and use round-to-nearest for
37374         all computations.
37375         * math/libm-test.inc (cos_test_tonearest): New function.
37376         (cos_test_towardzero): Likewise.
37377         (cos_test_downward): Likewise.
37378         (cos_test_upward): Likewise.
37379         (sin_test_tonearest): Likewise.
37380         (sin_test_towardzero): Likewise.
37381         (sin_test_downward): Likewise.
37382         (sin_test_upward): Likewise.
37383         (tan_test_tonearest): Likewise.
37384         (tan_test_towardzero): Likewise.
37385         (tan_test_downward): Likewise.
37386         (tan_test_upward): Likewise.
37387         (main): Call the new functions.
37388         * sysdeps/i386/fpu/libm-test-ulps: Update.
37389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37390
37391         [BZ #10135]
37392         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37393         small n, then large n, before computing and testing k+n.
37394         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37395         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37396         Likewise.
37397         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37398         Likewise.
37399         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37400         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37401         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37402         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37403         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37404         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37405         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37406         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37407         * math/libm-test.inc (scalbn_test): Add more tests.
37408         (scalbln_test): Likewise.
37409
37410         * manual/filesys.texi (mode_t): Describe constraints on size and
37411         signedness, not exact equivalence to a particular type.
37412         (ino_t): Likewise.
37413         (ino64_t): Likewise.
37414         (dev_t): Likewise.
37415         (nlink_t): Likewise.
37416         (blkcnt_t): Likewise.
37417         (blkcnt64_t): Likewise.
37418         * manual/llio.texi (off_t): Likewise.
37419
37420         [BZ #3976]
37421         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37422         (__ieee754_exp): Save and restore rounding mode and use
37423         round-to-nearest for all computations.
37424         * math/libm-test.inc (exp_test_tonearest): New function.
37425         (exp_test_towardzero): Likewise.
37426         (exp_test_downward): Likewise.
37427         (exp_test_upward): Likewise.
37428         (main): Call the new functions.
37429         * sysdeps/i386/fpu/libm-test-ulps: Update.
37430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37431
37432 2012-03-01  Chris Demetriou  <cgd@google.com>
37433
37434         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37435         have predictable order.
37436
37437 2012-03-01  David S. Miller  <davem@davemloft.net>
37438
37439         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37440
37441         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37442         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37443         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37444         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37445
37446         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37447         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37448         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37450         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37451         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37452         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37453         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37454         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37455
37456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37457
37458         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37459         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37460         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37461
37462         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37463         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37464         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37465         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37466         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37467         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37468         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37469         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37470         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37471         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37472         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37473         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37475         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37476         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37478         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37479         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37480         * sysdeps/sparc/elf/configure: Regenerated.
37481
37482 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37483
37484         * configure.in (AS, LD): Require binutils 2.20 or later.
37485         * configure: Regenerated.
37486         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37487         as required minimum version.
37488         * INSTALL: Regenerated.
37489
37490         [BZ #2541]
37491         [BZ #4108]
37492         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37493         before squaring exponent.
37494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37495         bottom long double and 27 bits of top long double before squaring
37496         exponent.
37497         * math/libm-test.inc (erfc_test): Add more tests.
37498         * sysdeps/i386/fpu/libm-test-ulps: Update.
37499         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37501
37502 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37503
37504         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37505         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37506         containing bit-fields.
37507         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37508         * soft-fp/single.h (_FP_UNION_S): Likewise.
37509         * soft-fp/double.h (_FP_UNION_D): Likewise.
37510
37511 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37512
37513         [BZ #13786]
37514         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37515         not include ../strcmp.S.
37516         [USE_AS_STRNCASECMP_L]: Likewise.
37517         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37518         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37519         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37520         (__strncasecmp_l_ia32): Define as alias to
37521         __strncasecmp_l_nonascii.
37522
37523         [BZ #5794]
37524         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37525         * sysdeps/i386/fpu/libm-test-ulps: Update.
37526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37527
37528         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37530
37531 2012-02-29  Jeff Law  <law@redhat.com>
37532
37533         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37534         out of bounds read.
37535
37536 2012-02-29  Marek Polacek  <polacek@redhat.com>
37537
37538         [BZ #13706]
37539         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37540         * elf/Makefile: Add rules to run tst-unused-dep.out.
37541
37542 2012-02-28  David S. Miller  <davem@davemloft.net>
37543
37544         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37545         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37546         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37547         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37548         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37549         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37550
37551 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37552
37553         * math/libm-test.inc (llround_test): Move one test from
37554         lround_test.  Use TEST_f_L in moved test.
37555         (lround_test): Move misplaced test to llround_test.  Add testcase
37556         from bug 2561.
37557
37558 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37559
37560         * sysdeps/x86_64/fpu/e_expf.S: New file.
37561         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37562
37563 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37564
37565         [BZ #13637]
37566         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37567         of remain_len that may cause incomplete multi-byte character and
37568         false match.
37569         * posix/bug-regex33.c: New file.
37570         * posix/Makefile (tests): Add bug-regex33.
37571
37572 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37573
37574         * manual/macros.texi: New file.
37575         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37576         * manual/libc.texinfo: Include macros.texi.
37577         * manual/creatute.texi: Likewise.
37578         * manual/install.texi: Likewise.
37579         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37580         @glibcadj{} in references to the GNU C Library.
37581         * manual/charset.texi: Likewise.
37582         * manual/conf.texi: Likewise.
37583         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37584         when not using those macros.
37585         * manual/creature.texi: Likewise.
37586         * manual/crypt.texi: Likewise.
37587         * manual/errno.texi: Likewise.
37588         * manual/filesys.texi: Likewise.
37589         * manual/header.texi: Likewise.
37590         * manual/install.texi: Likewise.
37591         * manual/intro.texi: Likewise.
37592         * manual/io.texi: Likewise.
37593         * manual/job.texi: Likewise.
37594         * manual/lang.texi: Likewise.
37595         * manual/libc.texiinfo: Likewise.
37596         * manual/llio.texi: Likewise.
37597         * manual/locale.texi: Likewise.
37598         * manual/maint.texi: Likewise.
37599         * manual/math.texi: Likewise.
37600         * manual/memory.texi: Likewise.
37601         * manual/message.texi: Likewise.
37602         * manual/nss.texi: Likewise.
37603         * manual/pattern.texi: Likewise.
37604         * manual/process.texi: Likewise.
37605         * manual/resource.texi: Likewise.
37606         * manual/search.texi: Likewise.
37607         * manual/setjmp.texi: Likewise.
37608         * manual/signal.texi: Likewise.
37609         * manual/socket.texi: Likewise.
37610         * manual/startup.texi: Likewise.
37611         * manual/stdio.texi: Likewise.
37612         * manual/string.texi: Likewise.
37613         * manual/sysinfo.texi: Likewise.
37614         * manual/syslog.texi: Likewise.
37615         * manual/terminal.texi: Likewise.
37616         * manual/time.texi: Likewise.
37617         * manual/users.texi: Likewise.
37618         * INSTALL: Regenerated.
37619         * NOTES: Regenerated.
37620         * sysdeps/gnu/errlist.c: Regenerated.
37621
37622 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37623
37624         * include/dirent.h: Include <dirstream.h> before
37625         <dirent/dirent.h>.
37626
37627 2012-02-28  David S. Miller  <davem@davemloft.net>
37628
37629         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37630         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37631         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37632         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37633
37634 2012-02-27  David S. Miller  <davem@davemloft.net>
37635
37636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37638         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37639         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37640
37641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37642         frame pointer instead of stack pointer relative arg slot.
37643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37644         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37645         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37646
37647 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37648
37649         [BZ #3992]
37650         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37651
37652 2012-02-27  David S. Miller  <davem@davemloft.net>
37653
37654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37658         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37659         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37660         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37661         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37662
37663 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37664
37665         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37666         later.  Allow versions 5-9.
37667         * configure: Regenerated.
37668         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37669         required minimum version and 4.6 as recommended version.  Do not
37670         mention bugs in GCC 2.7 and 2.8.
37671         * INSTALL: Regenerated.
37672
37673 2012-02-27  David S. Miller  <davem@davemloft.net>
37674
37675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37679         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37680         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37681         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37682         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37683
37684         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37685         manipulate bits before adding and subtracting TWO112[sx].
37686         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37687
37688 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37689
37690         [BZ #13775]
37691         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37692         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37693         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37694         being in POSIX, because they are in 1003.1-2008.
37695
37696         * rt/tst-aio.c: Include <fcntl.h>.
37697         * rt/tst-aio7.c: Likewise.
37698         * rt/tst-aio64.c: Likewise.
37699
37700         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37701
37702 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37703
37704         * manual/install.texi (--with-headers): Describe headers as
37705         interface headers, not private headers.
37706         (Specific advice for GNU/Linux systems): Describe use of headers
37707         from "make headers_install", not private headers from older
37708         kernels.
37709         * INSTALL: Regenerated.
37710         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37711         Change to 2.6.19.
37712         * sysdeps/unix/sysv/linux/configure: Regenerated.
37713
37714         * manual/llio.texi (fclean): Remove documentation.
37715
37716         * manual/Makefile (libc-texi-generated): New variable.  Include
37717         version.texi.
37718         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37719         $(libc-texi-generated), not duplicated list of files.
37720         (version.texi, stamp-version): New rules.
37721         (realclean): Remove $(libc-texi-generated), not individual files
37722         from that list.  Do not remove dir-add.texinfo.
37723         * manual/libc.texinfo: Comment out uses of edition numbers and
37724         references to printed manual.  Remove last-updated dates.
37725         (EDITION): Comment out.
37726         (ISBN): Likewise.
37727         (VERSION, UPDATED): Remove.
37728         (version.texi): Include.
37729
37730 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37731
37732         * sysdeps/posix/spawni.c: Include <signal.h>.
37733         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37734         * sysdeps/pthread/aio_fsync.c: Likewise.
37735
37736 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37737
37738         * conform/Makefile (tests): Run only when not cross-compiling and
37739         when fast-check is not defined.
37740
37741         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37742         * conform/data/limits.h-data: Fixes for POSIX2008.
37743         * conform/run-conformtest.sh: Run all tests.
37744         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37745         headers.
37746         * include/bits/dlfcn.h: Likewise.
37747         * include/langinfo.h: Likewise.
37748         * include/monetary.h: Likewise.
37749         * include/sys/poll.h: Likewise.
37750
37751         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37752         for __USE_GNU.
37753         * posix/spawn.h: Define __need_sigset_t.
37754         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37755         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37756         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37757         to get sigevent_t only.
37758         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37759         only for __USE_GNU.
37760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37761         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37762         process_vm_writev only for __USE_GNU.
37763         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37764
37765         * conform/Makefile: For now ignore errors from run-conformtest.
37766         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37767         POSIX to avoid namespace pollution.  Don't prepend headers.
37768         * conform/data/aio.h-data: Fixes for POSIX testing.
37769         * conform/data/fcntl.h-data: Likewise.
37770         * conform/data/glob.h-data: Likewise.
37771         * conform/data/grp.h-data: Likewise.
37772         * conform/data/pthread.h-data: Likewise.
37773         * conform/data/pwd.h-data: Likewise.
37774         * conform/data/signal.h-data: Likewise.
37775         * conform/data/spawn.h-data: Likewise.
37776         * conform/data/stdio.h-data: Likewise.
37777         * conform/data/stdlib.h-data: Likewise.
37778         * conform/data/stropts.h-data: Likewise.
37779         * conform/data/sys/mman.h-data: Likewise.
37780         * conform/data/sys/stat.h-data: Likewise.
37781         * conform/data/sys/types.h-data: Likewise.
37782         * conform/data/sys/wait.h-data: Likewise.
37783         * conform/data/time.h-data: Likewise.
37784         * conform/data/unistd.h-data: Likewise.
37785         * conform/data/utime.h-data: Likewise.
37786
37787         * io/sys/stat.h: fchmod was always in POSIX.
37788         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37789         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37790         * rt/aio.h: Define __need_timespec before including <time.h>.
37791         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37792         struct.  Add forward declaration of pthread_attr_t and use it in
37793         sigevent.
37794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37796         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37797         always remove CLK_TCK definition.
37798
37799 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37800
37801         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37802
37803 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37804
37805         * conform/run-conformtest.sh: New file.
37806         * conform/Makefile: Run run-conformtest for tests.
37807         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37808         support.
37809
37810         * conform/data/uchar.h-data: New file.
37811         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37812         * conform/data/arpa/inet.h-data: Likewise.
37813         * conform/data/assert.h-data: Likewise.
37814         * conform/data/complex.h-data: Likewise.
37815         * conform/data/cpio.h-data: Likewise.
37816         * conform/data/ctype.h-data: Likewise.
37817         * conform/data/dirent.h-data: Likewise.
37818         * conform/data/dlfcn.h-data: Likewise.
37819         * conform/data/errno.h-data: Likewise.
37820         * conform/data/fcntl.h-data: Likewise.
37821         * conform/data/float.h-data: Likewise.
37822         * conform/data/fmtmsg.h-data: Likewise.
37823         * conform/data/fnmatch.h-data: Likewise.
37824         * conform/data/ftw.h-data: Likewise.
37825         * conform/data/glob.h-data: Likewise.
37826         * conform/data/grp.h-data: Likewise.
37827         * conform/data/iconv.h-data: Likewise.
37828         * conform/data/inttypes.h-data: Likewise.
37829         * conform/data/langinfo.h-data: Likewise.
37830         * conform/data/libgen.h-data: Likewise.
37831         * conform/data/limits.h-data: Likewise.
37832         * conform/data/locale.h-data: Likewise.
37833         * conform/data/math.h-data: Likewise.
37834         * conform/data/monetary.h-data: Likewise.
37835         * conform/data/mqueue.h-data: Likewise.
37836         * conform/data/ndbm.h-data: Likewise.
37837         * conform/data/net/if.h-data: Likewise.
37838         * conform/data/netdb.h-data: Likewise.
37839         * conform/data/netinet/in.h-data: Likewise.
37840         * conform/data/nl_types.h-data: Likewise.
37841         * conform/data/poll.h-data: Likewise.
37842         * conform/data/pthread.h-data: Likewise.
37843         * conform/data/pwd.h-data: Likewise.
37844         * conform/data/regex.h-data: Likewise.
37845         * conform/data/sched.h-data: Likewise.
37846         * conform/data/search.h-data: Likewise.
37847         * conform/data/semaphore.h-data: Likewise.
37848         * conform/data/setjmp.h-data: Likewise.
37849         * conform/data/signal.h-data: Likewise.
37850         * conform/data/spawn.h-data: Likewise.
37851         * conform/data/stdarg.h-data: Likewise.
37852         * conform/data/stdio.h-data: Likewise.
37853         * conform/data/stdlib.h-data: Likewise.
37854         * conform/data/string.h-data: Likewise.
37855         * conform/data/strings.h-data: Likewise.
37856         * conform/data/stropts.h-data: Likewise.
37857         * conform/data/sys/ipc.h-data: Likewise.
37858         * conform/data/sys/mman.h-data: Likewise.
37859         * conform/data/sys/msg.h-data: Likewise.
37860         * conform/data/sys/resource.h-data: Likewise.
37861         * conform/data/sys/select.h-data: Likewise.
37862         * conform/data/sys/sem.h-data: Likewise.
37863         * conform/data/sys/shm.h-data: Likewise.
37864         * conform/data/sys/socket.h-data: Likewise.
37865         * conform/data/sys/stat.h-data: Likewise.
37866         * conform/data/sys/statvfs.h-data: Likewise.
37867         * conform/data/sys/time.h-data: Likewise.
37868         * conform/data/sys/timeb.h-data: Likewise.
37869         * conform/data/sys/times.h-data: Likewise.
37870         * conform/data/sys/types.h-data: Likewise.
37871         * conform/data/sys/uio.h-data: Likewise.
37872         * conform/data/sys/un.h-data: Likewise.
37873         * conform/data/sys/utsname.h-data: Likewise.
37874         * conform/data/sys/wait.h-data: Likewise.
37875         * conform/data/syslog.h-data: Likewise.
37876         * conform/data/tar.h-data: Likewise.
37877         * conform/data/termios.h-data: Likewise.
37878         * conform/data/utime.h-data: Likewise.
37879         * conform/data/utmpx.h-data: Likewise.
37880         * conform/data/varargs.h-data: Likewise.
37881         * conform/data/wchar.h-data: Likewise.
37882         * conform/data/wctype.h-data: Likewise.
37883         * conform/data/wordexp.h-data: Likewise.
37884
37885         * include/stropts.h: New file.
37886         * include/uchar.h: New file.
37887         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37888         * include/assert.h: Likewise.
37889         * include/ctype.h: Likewise.
37890         * include/dirent.h: Likewise.
37891         * include/dlfcn.h: Likewise.
37892         * include/fcntl.h: Likewise.
37893         * include/fnmatch.h: Likewise.
37894         * include/glob.h: Likewise.
37895         * include/grp.h: Likewise.
37896         * include/libio.h: Likewise.
37897         * include/locale.h: Likewise.
37898         * include/math.h: Likewise.
37899         * include/net/if.h: Likewise.
37900         * include/netdb.h: Likewise.
37901         * include/netinet/in.h: Likewise.
37902         * include/pthread.h: Likewise.
37903         * include/pwd.h: Likewise.
37904         * include/regex.h: Likewise.
37905         * include/sched.h: Likewise.
37906         * include/search.h: Likewise.
37907         * include/setjmp.h: Likewise.
37908         * include/signal.h: Likewise.
37909         * include/stdio.h: Likewise.
37910         * include/stdlib.h: Likewise.
37911         * include/string.h: Likewise.
37912         * include/sys/cdefs.h: Likewise.
37913         * include/sys/mman.h: Likewise.
37914         * include/sys/msg.h: Likewise.
37915         * include/sys/resource.h: Likewise.
37916         * include/sys/select.h: Likewise.
37917         * include/sys/socket.h: Likewise.
37918         * include/sys/stat.h: Likewise.
37919         * include/sys/statvfs.h: Likewise.
37920         * include/sys/time.h: Likewise.
37921         * include/sys/times.h: Likewise.
37922         * include/sys/uio.h: Likewise.
37923         * include/sys/utsname.h: Likewise.
37924         * include/sys/wait.h: Likewise.
37925         * include/termios.h: Likewise.
37926         * include/time.h: Likewise.
37927         * include/ulimit.h: Likewise.
37928         * include/unistd.h: Likewise.
37929         * include/utime.h: Likewise.
37930         * include/wchar.h: Likewise.
37931         * include/wctype.h: Likewise.
37932         * include/wordexp.h: Likewise.
37933
37934         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37935
37936         * time/time.h: TIME_UTC must be a macro.
37937         Make timespec_get available for ISO C11 only as well.
37938
37939 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37940
37941         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37942         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37943
37944 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37945
37946         * configure.in: Use -o not -a in test for unsupported multi-arch.
37947
37948 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37949
37950         * manual/texinfo.tex: Update to version 2012-01-19.16.
37951
37952 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37953
37954         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37955
37956 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37957
37958         [BZ #13738]
37959         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37960         * manual/fdl-1.3.texi: New file.
37961         * manual/fdl-1.1.texi: File removed.
37962
37963         [BZ #13738]
37964         * manual/libc.texinfo (FDL_VERSION): New @set.
37965         Use it for mention of FDL in cover text.
37966         (Documentation License): Use it in @include file name.
37967
37968 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37969             Roland McGrath  <roland@hack.frob.com>
37970
37971         [BZ #5461]
37972         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37973         (not LONG_LONG_MAX and LONG_LONG_MIN.
37974         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37975         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37976         name.
37977         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37978
37979 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37980
37981         [BZ #2547]
37982         [BZ #11365]
37983         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37984         manipulate bits before adding and subtracting TWO23[sx].
37985         * math/libm-test.inc (nearbyint_test): Add more tests.
37986
37987 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37988
37989         [BZ #2548]
37990         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37991         bits before adding and subtracting TWO23[sx].
37992         * math/libm-test.inc (rint_test): Add more tests.
37993         (rint_test_tonearest): Likewise.
37994         (rint_test_towardzero): Likewise.
37995         (rint_test_downward): Likewise.
37996         (rint_test_upward: Likewise.
37997
37998 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37999
38000         [BZ #10110]
38001         * include/stdc-predef.h: New file.  Extracted from features.h.
38002         * include/features.h: Include stdc-predef.h.
38003         * Makefile (headers): Add stdc-predef.h.
38004         * CONFORMANCE (Compiler limitations): Update.
38005
38006 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38007
38008         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38009
38010 2012-02-21  David S. Miller  <davem@davemloft.net>
38011
38012         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38013         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38014
38015 2012-02-20  David S. Miller  <davem@davemloft.net>
38016
38017         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38018         using a normal save/restore sequence, rather than allocating a
38019         dummy stack frame just to store a frame pointer and restore.
38020         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38021
38022 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38023
38024         * manual/install.texi: Fix stray word in line-wrapped comment.
38025
38026 2012-02-20  David S. Miller  <davem@davemloft.net>
38027
38028         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38029         both binutils and gcc support GOTDATA.
38030
38031         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38032         "rd %pc" in the PIC register setup sequences.
38033
38034         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38035         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38036         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38037         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38038         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38039         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38040         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38041         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38043         (SYSCALL_ERROR_HANDLER): Likewise.
38044         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38045         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38047         (SYSCALL_ERROR_HANDLER): Likewise.
38048
38049         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38050         (HAVE_GCC_GOTDATA): New.
38051         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38052         relocation support in both binutils and gcc.
38053         * sysdeps/sparc/elf/configure: Regenerate.
38054
38055         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38056         * sysdeps/sparc/sparc32/elf/configure: Delete.
38057         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38058         * sysdeps/sparc/sparc64/elf/configure: Delete.
38059         * sysdeps/sparc/elf/configure.in: New file.
38060         * sysdeps/sparc/elf/configure: Generate.
38061
38062         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38063         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38064         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38065         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38066         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38067
38068 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38069
38070         * manual/install.texi: Do not mention specific glibc version
38071         numbers.
38072         * manual/libc.texinfo (VERSION, UPDATED): Update.
38073         (@copying): Use @copyright{} and range of years.
38074
38075 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38076
38077         [BZ #13695]
38078         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38079         [crti.S not in sysdirs] (generated): Do not append.
38080         [crti.S not in sysdirs] (omit-deps): Likewise.
38081         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38082         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38083         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38084         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38085         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38086         Likewise.
38087         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38088         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38089         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38090         * csu/defs.awk: Remove file.
38091         * sysdeps/generic/initfini.c: Likewise.
38092         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38093         variable.
38094         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38095         Likewise.
38096
38097 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38098
38099         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38100         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38101         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38102         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38103         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38104         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38105         <bits/epoll.h>.
38106         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38107         (__EPOLL_PACKED): Define to empty if not defined by
38108         <bits/epoll.h>.
38109         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38111         bits/epoll.h.
38112
38113 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38114
38115         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38116         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38117         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38118         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38119         <bits/timerfd.h>.
38120         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38122         bits/timerfd.h.
38123
38124 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38125
38126         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38127         in C locale.
38128         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38129         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38130         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38132
38133 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38134
38135         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38136         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38137
38138 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38139
38140         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38141         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38142         defined.
38143         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38144         Likewise.
38145         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38146         entry for 2.16.
38147
38148 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38149
38150         * math/w_acos.c: Use non-signaling floating-point comparisons.
38151         * math/w_acosf.c: Likewise.
38152         * math/w_acosh.c: Likewise.
38153         * math/w_acoshf.c: Likewise.
38154         * math/w_acoshl.c: Likewise.
38155         * math/w_acosl.c: Likewise.
38156         * math/w_asin.c: Likewise.
38157         * math/w_asinf.c: Likewise.
38158         * math/w_asinl.c: Likewise.
38159         * math/w_atanh.c: Likewise.
38160         * math/w_atanhf.c: Likewise.
38161         * math/w_atanhl.c: Likewise.
38162         * math/w_exp2.c: Likewise.
38163         * math/w_exp2f.c: Likewise.
38164         * math/w_exp2l.c: Likewise.
38165         * math/w_j0.c: Likewise.
38166         * math/w_j0f.c: Likewise.
38167         * math/w_j0l.c: Likewise.
38168         * math/w_j1.c: Likewise.
38169         * math/w_j1f.c: Likewise.
38170         * math/w_j1l.c: Likewise.
38171         * math/w_jn.c: Likewise.
38172         * math/w_jnf.c: Likewise.
38173         * math/w_log.c: Likewise.
38174         * math/w_log10.c: Likewise.
38175         * math/w_log10f.c: Likewise.
38176         * math/w_log10l.c: Likewise.
38177         * math/w_log2.c: Likewise.
38178         * math/w_log2f.c: Likewise.
38179         * math/w_log2l.c: Likewise.
38180         * math/w_logf.c: Likewise.
38181         * math/w_logl.c: Likewise.
38182         * math/w_sqrt.c: Likewise.
38183         * math/w_sqrtf.c: Likewise.
38184         * math/w_sqrtl.c: Likewise.
38185         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38186         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38187         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38188         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38189         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38190
38191 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38192
38193         [BZ #9739]
38194         * manual/string.texi (strnlen): Use correct parameter name in
38195         equivalent expression.
38196
38197 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38198
38199         [BZ #11174]
38200         * manual/users.texi (seteuid): Consistently use neweuid for
38201         argument name.
38202
38203 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38204
38205         [BZ #13704]
38206         * manual/nss.texi (Services in the NSS configuration): Correct
38207         list of services in example configuration file.
38208
38209 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38210
38211         [BZ #11322]
38212         * manual/arith.texi: Remove statements about negative zero
38213         behaving identically to zero.
38214
38215 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38216
38217         [BZ #5993]
38218         * manual/install.texi: Do not document upgrading from libc5.
38219
38220 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38221
38222         [BZ #4596]
38223         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38224
38225 2012-02-18  David S. Miller  <davem@davemloft.net>
38226
38227         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38228         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38229         %o7 across the call.
38230         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38231         instead.
38232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38233         SETUP_PIC_REG_LEAF.
38234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38235         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38236         * sysdeps/sparc/crtn.S: Likewise.
38237
38238 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38239
38240         * aout/Makefile: Remove.
38241
38242 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38243
38244         [BZ #13058]
38245         * manual/examples/argp-ex1.c (main): Format definition in GNU
38246         style.
38247         * manual/examples/argp-ex2.c (main): Likewise.
38248         * manual/examples/argp-ex3.c (main): Likewise.
38249         * manual/examples/argp-ex4.c (main): Likewise.
38250         * manual/examples/longopt.c (main): Use new-style prototype
38251         definition.
38252         * manual/examples/strncat.c (main): Specify return type and use
38253         (void) for arguments.
38254         * manual/examples/subopt.c (main): Use char **argv argument.
38255
38256 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38257
38258         [BZ #5077]
38259         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38260         rounding modes.
38261
38262 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38263
38264         [BZ #6907]
38265         * manual/string.texi (strchr): Change when strchrnul is
38266         recommended.
38267
38268 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38269
38270         [BZ #174]
38271         * manual/locale.texi (setlocale): Document LOCPATH.
38272
38273 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38274
38275         [BZ #10210]
38276         * manual/process.texi (execle): Move @dots{} before last argument.
38277
38278 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38279
38280         [BZ #12047]
38281         * manual/charset.texi (Generic Charset Conversion): Fix typo
38282         (LC_TYPE -> LC_CTYPE).
38283
38284 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38285
38286         [BZ #5805]
38287         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38288         (scalbnf): Likewise.
38289         (scalbnl): Likewise.
38290         (scalbln): Likewise.
38291         (scalblnf): Likewise.
38292         (scalblnl): Likewise.
38293         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38294         (vwarnx): Likewise.
38295         (verr): Likewise.
38296         (verrx): Likewise.
38297         * manual/filesys.texi (telldir): Use braces around return type.
38298         * manual/llio.texi (mmap): Add space after comma.
38299         (mmap64): Likewise.
38300         * manual/math.texi (jn): Use @var{} on parameter names.
38301         (jnf): Likewise.
38302         (jnl): Likewise.
38303         (yn): Likewise.
38304         (ynf): Likewise.
38305         (ynl): Likewise.
38306         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38307         line.
38308         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38309         "...".
38310         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38311         (sched_get_priority_max): Likewise.
38312         * manual/signal.texi (sigvec): Add space after comma.
38313         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38314         names.
38315         (if_indextoname): Likewise.
38316         (if_freenameindex): Likewise.
38317         (sendto): Use ',' instead of '.' in prototype.
38318         * manual/startup.texi (syscall): Use @dots{} instead of literal
38319         "...".
38320         * manual/stdio.texi (__fpending): Separate initial words of
38321         paragraph from @deftypefun line.
38322         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38323         "...".
38324         (vsyslog): Use @var{} on parameter names.
38325         * manual/terminal.texi (stty): Use @var{} on parameter names.
38326         * manual/users.texi (getutmp): Use @var{} on parameter names.
38327         (getutmpx): Likewise.
38328
38329 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38330
38331         [BZ #6884]
38332         * manual/stdio.texi (fopen): Fix typos in description of
38333         ",ccs=STRING".
38334
38335 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38336
38337         [BZ #4026]
38338         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38339         get clock_id definition.
38340
38341 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38342
38343         [BZ #4822]
38344         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38345         (madvise): Cast every argument to void on its own.
38346
38347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38348
38349         [BZ #9902]
38350         * manual/startup.texi (Exit Status): Fix typo.
38351
38352 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38353
38354         [BZ #10140]
38355         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38356         * manual/examples/argp-ex2.c: Likewise.
38357         * manual/examples/argp-ex3.c: Likewise.
38358
38359 2012-02-16  Richard Henderson  <rth@redhat.com>
38360
38361         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38362         * sysdeps/s390/s390-32/initfini.c: Remove.
38363         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38364         * sysdeps/s390/s390-64/initfini.c: Remove.
38365
38366 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38367
38368         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38369         compiler output for sysdeps/generic/initfini.c.
38370         * sysdeps/sh/elf/initfini.c: Remove file.
38371
38372 2012-02-16  David S. Miller  <davem@davemloft.net>
38373
38374         [BZ #11494]
38375         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38376
38377         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38378         * sysdeps/sparc/crti.S: New file.
38379         * sysdeps/sparc/crtn.S: New file.
38380         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38381         * sysdeps/sparc/sparc64/Makefile: Likewise.
38382
38383 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38384
38385         [BZ #3335]
38386         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38387
38388 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38389
38390         [BZ #4822]
38391         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38392
38393         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38394         (write, read, close): Likewise.
38395         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38396
38397 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38398
38399         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38400         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38401         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38402         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38403         <bits/signalfd.h>.
38404         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38406         bits/signalfd.h.
38407
38408 2012-02-14  Marek Polacek  <polacek@redhat.com>
38409
38410         * sysdeps/x86_64/crti.S: New file.
38411         * sysdeps/x86_64/crtn.S: New file.
38412         * sysdeps/x86_64/elf/initfini.c: Remove file.
38413
38414 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38415
38416         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38417         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38418         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38419         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38420         <bits/inotify.h>.
38421         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38423         bits/inotify.h.
38424
38425 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38426
38427         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38428         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38429         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38430         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38431         <bits/eventfd.h>.
38432         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38434         bits/eventfd.h.
38435
38436 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38437
38438         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38439         __feraiseexcept instead of feraiseexcept.
38440
38441         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38442         nanosleep invocations.
38443         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38444         strings, and add error checking for a nanosleep invocations.
38445
38446 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38447
38448         Replace FSF snail mail address with URLs, as per GNU coding standards.
38449         Most of the snail mail addresses were wrong anyway, and omitting
38450         them makes the source code easier to maintain.  Almost all of the
38451         changes are to license notices and to locale LC_IDENTIFICATION
38452         addresses, except for this one:
38453         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38454         not its snail mail address.
38455
38456 2012-02-09  Richard Henderson  <rth@twiddle.net>
38457
38458         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38459         of kernel-features.h.
38460
38461         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38462
38463 2012-02-08  Marek Polacek  <polacek@redhat.com>
38464
38465         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38466         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38467         * sysdeps/gnu/_G_config.h: Likewise.
38468         * sysdeps/generic/_G_config.h: Likewise.
38469
38470 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38471
38472         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38473         tests.
38474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38475
38476         * sysdeps/powerpc/powerpc32/crti.S: New file.
38477         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38478         * sysdeps/powerpc/powerpc64/crti.S: New file.
38479         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38480
38481         * Makeconfig (have-initfini): Don't set.
38482         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38483         * configure.in (nopic_initfini): Don't substitute.
38484         * config.h.in (HAVE_INITFINI): Don't #undef.
38485         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38486         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38487
38488 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38489
38490         Support crti.S and crtn.S provided directly by architectures.
38491         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38492         [crti.S in sysdirs] (omit-deps): Likewise.
38493         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38494         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38495         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38496         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38497         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38498         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38499         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38500         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38501         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38502         compiler output for sysdeps/generic/initfini.c.
38503         * sysdeps/i386/elf/Makefile: Remove file.
38504         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38505
38506 2012-02-07  Marek Polacek  <polacek@redhat.com>
38507
38508         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38509         * sysdeps/gnu/_G_config.h: Likewise.
38510         * sysdeps/mach/hurd/_G_config.h: Likewise.
38511
38512 2012-02-07  Marek Polacek  <polacek@redhat.com>
38513
38514         * math/Makefile (tests): Add tst-CMPLX2.
38515         * math/tst-CMPLX2.c: New file.
38516
38517 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38518
38519         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38520
38521         * math/libm-test.inc (jn_test): Add missing L suffix.
38522
38523 2012-02-06  Marek Polacek  <polacek@redhat.com>
38524
38525         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38526         * sysdeps/i386/fpu/e_powf.S: Likewise.
38527         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38528         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38529         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38530         * sysdeps/i386/fpu/e_pow.S: Likewise.
38531         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38532         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38533         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38534         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38535         * sysdeps/i386/fpu/e_log2.S: Likewise.
38536         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38537         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38538         * sysdeps/i386/fpu/e_powl.S: Likewise.
38539         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38540         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38541         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38542         * sysdeps/i386/fpu/e_logl.S: Likewise.
38543         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38544         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38545         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38546         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38547         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38548         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38549         * sysdeps/i386/fpu/e_log.S: Likewise.
38550         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38551         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38552         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38553         * sysdeps/i386/fpu/e_logf.S: Likewise.
38554         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38555         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38556         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38557         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38558         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38559         * sysdeps/i386/fpu/e_log10.S: Likewise.
38560         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38561         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38562         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38563         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38564         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38565         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38566         * sysdeps/i386/asm-syntax.h: Likewise.
38567         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38568         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38569         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38570         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38571         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38572         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38573         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38574         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38575         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38576         * sysdeps/powerpc/sysdep.h: Likewise.
38577         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38578         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38579
38580 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38581
38582         [BZ #411]
38583         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38584
38585 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38586
38587         * sysdeps/i386/sysdep.h: Include <features.h>.
38588         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38589         version.
38590
38591 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38592
38593         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38594         Define.
38595         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38596         LOAD_PIC_REG_STR.
38597
38598 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38599
38600         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38601         (SETUP_PIC_REG): Use GET_PC_THUNK.
38602         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38603         macro.
38604
38605 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38606
38607         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38608         for non-PIC compilation.
38609         (SETUP_PIC_REG): Add .p2align directive.
38610         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38611         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38612         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38613         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38614         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38615         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38616         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38617         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38618         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38619         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38620         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38621         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38622         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38623         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38624         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38625         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38626         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38627         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38628         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38629         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38630         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38631         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38632         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38633         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38634         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38635         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38636         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38637         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38638         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38639         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38640         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38641         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38642         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38643         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38644         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38645         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38646         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38647         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38648         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38649         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38650         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38651
38652 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38653
38654         * math/tst-CMPLX.c: Include <stdio.h>.
38655
38656 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38657
38658         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38659         float.
38660         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38661         * sysdeps/sparc/bits/mathdef.h: Likewise.
38662
38663 2012-01-31  Marek Polacek  <polacek@redhat.com>
38664
38665         * libio/libio.h: Don't define _PARAMS.
38666         * locale/programs/config.h: Don't define PARAMS.
38667         * stdlib/strtol_l.c: Likewise.
38668         (__strtol_l): Remove PARAMS from the prototype.
38669
38670 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38671
38672         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38673         names.  Just use the correct names.  Remove unnecessary wrapper
38674         functions.
38675         * malloc/arena.c: Likewise.
38676         * malloc/hooks.c: Likewise.
38677
38678         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38679         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38680         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38681
38682 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38683
38684         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38685         into tail calls.
38686         (update_get_addr): New function.
38687         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38688         GET_ADDR_MODULE parameter.
38689
38690 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38691
38692         * crypt/cert.c: Remove __STDC__ conditionals.
38693         * crypt/crypt-entry.c: Likewise.
38694         * crypt/crypt_util.c: Likewise.
38695         * libio/filedoalloc.c: Likewise.
38696         * libio/fileops.c: Likewise.
38697         * libio/genops.c: Likewise.
38698         * libio/iofclose.c: Likewise.
38699         * libio/iofdopen.c: Likewise.
38700         * libio/iofopen.c: Likewise.
38701         * libio/iofopen64.c: Likewise.
38702         * libio/iogetdelim.c: Likewise.
38703         * libio/iopopen.c: Likewise.
38704         * libio/obprintf.c: Likewise.
38705         * libio/oldfileops.c: Likewise.
38706         * libio/oldiofclose.c: Likewise.
38707         * libio/oldiofdopen.c: Likewise.
38708         * libio/oldiofopen.c: Likewise.
38709         * libio/oldiopopen.c: Likewise.
38710         * libio/wfiledoalloc.c: Likewise.
38711         * libio/wgenops.c: Likewise.
38712         * locale/programs/xmalloc.c: Likewise.
38713         * misc/syslog.c: Likewise.
38714         * stdio-common/xbug.c: Likewise.
38715         * string/memchr.c: Likewise.
38716         * string/memcmp.c: Likewise.
38717         * string/memrchr.c: Likewise.
38718         * string/rawmemchr.c: Likewise.
38719         * sysdeps/posix/getcwd.c: Likewise.
38720         * time/strftime_l.c: Likewise.
38721
38722 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38723
38724         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38725         * config.make.in (config-cflags-sse2avx): Define.
38726         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38727         Fix typo.
38728
38729 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38730
38731         * scripts/config.guess: Update from upstream config git repository.
38732         * scripts/config.sub: Likewise.
38733
38734 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38735
38736         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38737         (EM_NUM): Update.
38738         (R_TILEPRO_*, R_TILEGX_*): New macros.
38739
38740         * scripts/firstversions.awk: Fix bug in version range handling.
38741
38742         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38743
38744         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38745
38746         * include/sys/epoll.h: New file.
38747         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38748         libc_hidden_def.
38749
38750 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38751
38752         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38753         Avoid unnecessary __WORDSIZE == 64 test.
38754         (fmaxf): Use VEX format if possible.
38755         (fmax): Likewise.
38756         (fminf): Likewise.
38757         (fmin): Likewise.
38758
38759         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38760         * math/math_private.h: Remove libc_fegetround* and
38761         libc_fesetround*.
38762         * sysdeps/i386/configure.in: Check for -msse2avx.
38763         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38764         also if SSE2AVX is defined.
38765         Remove libc_fegetround* and libc_fesetround*.
38766         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38767         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38768         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38769         of HAS_YMM_USABLE.
38770         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38771         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38772         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38773         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38774         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38775
38776         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38777
38778 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38779
38780         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38781         size is not set.
38782         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38783
38784 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38785
38786         [BZ #13618]
38787         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38788         relocation.
38789         * Makeconfig (libm): Define.
38790         * elf/Makefile: Add rules to build and run tst-relsort1.
38791         * elf/tst-relsort1.c: New file.
38792         * elf/tst-relsort1mod1.c: New file.
38793         * elf/tst-relsort1mod2.c: New file.
38794
38795 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38796
38797         * math/s_ldexp.c: Remove __STDC__ conditionals.
38798         * math/s_ldexpf.c: Likewise.
38799         * math/s_ldexpl.c: Likewise.
38800         * math/s_nextafter.c: Likewise.
38801         * math/s_nexttowardf.c: Likewise.
38802         * math/s_significand.c: Likewise.
38803         * math/s_significandf.c: Likewise.
38804         * math/s_significandl.c: Likewise.
38805         * math/w_jnl.c: Likewise.
38806         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38807         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38808         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38809         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38810         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38811         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38813         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38814         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38815         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38816         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38817         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38818         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38819         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38820         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38821         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38822         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38823         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38824         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38825         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38826         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38827         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38828         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38830         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38831         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38832         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38833         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38834         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38835         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38836         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38837         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38838         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38839         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38840         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38841         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38842         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38843         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38844         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38845         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38846         * sysdeps/ieee754/k_standard.c: Likewise.
38847         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38848         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38849         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38850         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38851         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38852         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38853         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38854         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38855         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38856         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38857         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38858         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38859         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38860         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38861         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38862         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38863         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38864         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38865         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38866         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38867         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38868         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38869         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38870         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38871         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38872         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38873         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38874         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38882         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38883         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38884         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38888         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38889         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38890         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38894         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38896         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38899         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38902         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38903         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38904         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38905         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38907         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38908         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38909         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38913         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38914         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38919         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38921         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38922         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38926         * sysdeps/ieee754/s_matherr.c: Likewise.
38927         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38928         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38929         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38930         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38931
38932 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38933
38934         * crypt/md5.h: Remove __STDC__ conditionals.
38935         * libio/libioP.h: Likewise.
38936         * locale/programs/config.h: Likewise.
38937         * sysdeps/generic/sysdep.h: Likewise.
38938         * sysdeps/i386/asm-syntax.h: Likewise.
38939         * sysdeps/s390/asm-syntax.h: Likewise.
38940         * sysdeps/unix/sysdep.h: Likewise.
38941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38943
38944 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38945
38946         * libio/libio.h: Remove __STDC__ conditionals.
38947         * malloc/obstack.h: Likewise.
38948         * math/complex.h: Likewise.
38949         * math/math.h: Likewise.
38950         * sysdeps/generic/_G_config.h: Likewise.
38951         * sysdeps/gnu/_G_config.h: Likewise.
38952         * sysdeps/mach/hurd/_G_config.h: Likewise.
38953         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38954         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38955         * sysdeps/sparc/bits/mathdef.h: Likewise.
38956
38957 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38958
38959         [BZ #13583]
38960         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38961         Clean up HAS_* macros.
38962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38963         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38964         possible.
38965         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38966         HAS_AVX.
38967         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38968         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38969         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38970         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38971         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38972
38973 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38974
38975         * elf/tst-unique3.cc (gets): Remove declaration.
38976         * elf/tst-unique3lib.cc (gets): Likewise.
38977         * elf/tst-unique3lib2.cc (gets): Likewise.
38978         * elf/tst-unique4.cc (gets): Likewise.
38979
38980 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38981
38982         * include/stdio.h: Add C++ protection.  Add gets declarations and
38983         definitions.
38984         * debug/tst-chk1.c: Don't declare gets here.
38985         * stdio-common/tst-gets.c: Likewise.
38986
38987 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38988
38989         * posix/glob: Remove directory.
38990
38991 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38992
38993         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38994
38995 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
38996
38997         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38998         of the non-standard EPFNOSUPPORT.
38999
39000 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39001
39002         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39003         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39004         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39005
39006 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39007
39008         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39009
39010 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39011
39012         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39013         transient errors.
39014         * nscd/grpcache.c (cache_addgr): Likewise.
39015         * nscd/hstcache.c (cache_addhst): Likewise.
39016         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39017         * nscd/pwdcache.c (cache_addpw): Likewise.
39018         * nscd/servicescache.c (cache_addserv): Likewise.
39019
39020 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39021
39022         * malloc/malloc.c: Various cleanups.
39023         * malloc/hooks.c: Likewise.
39024
39025         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39026         * stdlib/bug-fmtmsg1.c: New file.
39027
39028         * stdlib/fmtmsg.c (init): Add missing unlock.
39029         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39030
39031 2012-01-12  Marek Polacek  <polacek@redhat.com>
39032
39033         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39034         and _GNU_SOURCE.
39035
39036 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39037
39038         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39039         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39040         macro to ensure uniqueness of label name.
39041         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39042         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39043
39044 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39045
39046         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39047
39048         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39049         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39050         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39052
39053 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39054
39055         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39056
39057         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39058         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39059         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39060
39061         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39062
39063         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39064         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39065         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39067
39068         * math/bits/math-finite.h: Add ldexp support.
39069
39070 2012-01-10  Marek Polacek  <polacek@redhat.com>
39071
39072         * locale/programs/localedef.h (show_archive_content): Add noreturn
39073         attribute.
39074
39075 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39076
39077         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39078
39079 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39080
39081         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39082
39083         * io/Makefile (headers): Add bits/poll2.h.
39084
39085 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39086
39087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39088         typo #include statement.
39089
39090 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39091
39092         * include/sys/cdefs.h: Define __attribute_alloc_size.
39093         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39094         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39095         * elf/pldd.c: Likewise.
39096         * iconv/iconv_charmap.c: Likewise.
39097         * iconv/iconvconfig.c: Likewise.
39098         * iconv/strtab.c: Likewise.
39099         * locale/programs/locale.c: Likewise.
39100         * locale/programs/localedef.h: Likewise.
39101         * locale/programs/simple-hash.c: Likewise.
39102         * nscd/nscd.h: Likewise.
39103         * nss/makedb.c: Likewise.
39104         * sysdeps/generic/ldconfig.h: Likewise.
39105         * locale/programs/localedef.c: Remove xmalloc prototype.
39106         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39107
39108 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39109
39110         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39111         appropriate.
39112
39113 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39114
39115         * math/Makefile (tests): Add tst-CMPLX.
39116         * math/tst-CMPLX.c: New file.
39117
39118         * math/complex.h (CMPLXL): Fix typo.
39119
39120         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39121         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39122         GLIBC_2.16.
39123         * debug/tst-chk1.c: Add poll and ppoll tests.
39124         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39125         * include/sys/poll.h: Add hidden proto for ppoll.
39126         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39127         * sysdeps/mach/hurd/ppoll.c: Likewise.
39128         * io/ppoll.c: Likewise.
39129         * debug/poll_chk.c: New file.
39130         * debug/ppoll_chk.c: New file.
39131         * include/bits/poll2.h: New file.
39132         * io/bits/poll2.h: New file.
39133
39134         [BZ #1350]
39135         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39136
39137         * configure.in: static is always set to yes.  Remove.
39138         * config.make.in: Don't set build-static.
39139         * Makeconfig: Remove use of build-static.
39140         * dlfcn/Makefile: Likewise.
39141         * elf/Makefile: Likewise.
39142         * math/Makefile: Likewise.
39143         * misc/Makefile: Likewise.
39144         * nptl/Makefile: Likewise.
39145         * sysdeps/mach/hurd/Makefile: Likewise.
39146
39147         * configure.in: PWD_P is not used anymore.
39148         * config.make.in: Remove PWD_P entry.
39149
39150         * configure.in: Remove last remnants of RANLIB.
39151         No need to check for signed size_t anymore.
39152         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39153         and IA-64.
39154         Remove __builtin_expect test because we require at least gcc 3.4.
39155         * aclocal.m4: Likewise.
39156
39157         * wcsmbs/mbrtoc16.c: Implement using towc function.
39158         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39159         * wcsmbs/wcsmbsload.c: Likewise.
39160         * iconv/gconv_simple.c: Likewise.
39161         * iconv/gconv_int.h: Likewise.
39162         * iconv/gconv_builtin.h: Likewise.
39163         * iconv/iconv_prog.c: Remove CHAR16 handling.
39164
39165         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39166
39167         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39168
39169         * configure.in: Remove --with-elf and --enable-bounded options.
39170         Dont set base_machine for ia64.  More non-ELF conditions removed.
39171         Remove testing and setting of leading underscore information.
39172         * config.make.in (build-bounded): Set to no.
39173         * config.h.in: Remove NO_UNDERSCORES entry.
39174         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39175         them.
39176         * csu/start.c: Remove !NO_UNDERSCORE code.
39177         * locale/localeinfo.h: Likewise.
39178         * sysdeps/generic/machine-gmon.h: Likewise.
39179         * sysdeps/generic/sysdep.h: Likewise.
39180         * sysdeps/i386/sysdep.h: Likewise.
39181         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39182         * sysdeps/mach/sysdep.h: Likewise.
39183         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39184         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39185         * sysdeps/sh/sysdep.h: Likewise.
39186         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39187         * sysdeps/unix/i386/sysdep.S: Likewise.
39188         * sysdeps/unix/sparc/start.c: Likewise.
39189         * sysdeps/unix/sparc/sysdep.S: Likewise.
39190         * sysdeps/unix/sparc/sysdep.h: Likewise.
39191         * sysdeps/unix/start.c: Likewise.
39192         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39193         * sysdeps/x86_64/sysdep.h: Likewise.
39194
39195 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39196
39197         [BZ #13553]
39198         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39199         for non-gcc.
39200         * argp/argp-fmtstream.h: Use const instead __const.
39201         * argp/argp.h: Likewise.
39202         * assert/assert.h: Likewise.
39203         * bits/fenv.h: Likewise.
39204         * bits/sched.h: Likewise.
39205         * bits/sigset.h: Likewise.
39206         * bits/sigthread.h: Likewise.
39207         * catgets/nl_types.h: Likewise.
39208         * conform/data/pthread.h-data: Likewise.
39209         * crypt/crypt-private.h: Likewise.
39210         * crypt/crypt.h: Likewise.
39211         * crypt/crypt_util.c: Likewise.
39212         * ctype/ctype.h: Likewise.
39213         * debug/execinfo.h: Likewise.
39214         * debug/mbsnrtowcs_chk.c: Likewise.
39215         * debug/mbsrtowcs_chk.c: Likewise.
39216         * debug/wcsnrtombs_chk.c: Likewise.
39217         * debug/wcsrtombs_chk.c: Likewise.
39218         * debug/wcstombs_chk.c: Likewise.
39219         * dirent/dirent.h: Likewise.
39220         * dlfcn/dlfcn.h: Likewise.
39221         * elf/neededtest4.c: Likewise.
39222         * grp/grp.h: Likewise.
39223         * gshadow/gshadow.h: Likewise.
39224         * iconv/gconv.h: Likewise.
39225         * iconv/gconv_int.h: Likewise.
39226         * iconv/gconv_simple.c: Likewise.
39227         * iconv/iconv.h: Likewise.
39228         * iconv/loop.c: Likewise.
39229         * iconv/skeleton.c: Likewise.
39230         * include/aio.h: Likewise.
39231         * include/aliases.h: Likewise.
39232         * include/argz.h: Likewise.
39233         * include/arpa/inet.h: Likewise.
39234         * include/assert.h: Likewise.
39235         * include/dirent.h: Likewise.
39236         * include/dlfcn.h: Likewise.
39237         * include/execinfo.h: Likewise.
39238         * include/fcntl.h: Likewise.
39239         * include/fenv.h: Likewise.
39240         * include/glob.h: Likewise.
39241         * include/grp.h: Likewise.
39242         * include/libintl.h: Likewise.
39243         * include/mntent.h: Likewise.
39244         * include/netdb.h: Likewise.
39245         * include/pwd.h: Likewise.
39246         * include/rpc/netdb.h: Likewise.
39247         * include/sched.h: Likewise.
39248         * include/search.h: Likewise.
39249         * include/shadow.h: Likewise.
39250         * include/signal.h: Likewise.
39251         * include/stdio.h: Likewise.
39252         * include/stdlib.h: Likewise.
39253         * include/string.h: Likewise.
39254         * include/sys/socket.h: Likewise.
39255         * include/sys/stat.h: Likewise.
39256         * include/sys/statfs.h: Likewise.
39257         * include/sys/statvfs.h: Likewise.
39258         * include/sys/syslog.h: Likewise.
39259         * include/sys/time.h: Likewise.
39260         * include/sys/uio.h: Likewise.
39261         * include/time.h: Likewise.
39262         * include/unistd.h: Likewise.
39263         * include/utmp.h: Likewise.
39264         * include/wchar.h: Likewise.
39265         * include/wctype.h: Likewise.
39266         * inet/aliases.h: Likewise.
39267         * inet/arpa/inet.h: Likewise.
39268         * inet/netinet/ether.h: Likewise.
39269         * inet/netinet/in.h: Likewise.
39270         * intl/libintl.h: Likewise.
39271         * io/bits/fcntl2.h: Likewise.
39272         * io/fcntl.h: Likewise.
39273         * io/ftw.h: Likewise.
39274         * io/sys/poll.h: Likewise.
39275         * io/sys/stat.h: Likewise.
39276         * io/sys/statfs.h: Likewise.
39277         * io/sys/statvfs.h: Likewise.
39278         * io/utime.h: Likewise.
39279         * libio/bits/stdio.h: Likewise.
39280         * libio/bits/stdio2.h: Likewise.
39281         * libio/libio.h: Likewise.
39282         * libio/libioP.h: Likewise.
39283         * libio/stdio.h: Likewise.
39284         * locale/lc-ctype.c: Likewise.
39285         * locale/locale.h: Likewise.
39286         * login/utmp.h: Likewise.
39287         * malloc/arena.c: Likewise.
39288         * malloc/malloc.c: Likewise.
39289         * malloc/malloc.h: Likewise.
39290         * malloc/mcheck.c: Likewise.
39291         * malloc/mtrace.c: Likewise.
39292         * math/bits/mathcalls.h: Likewise.
39293         * math/fenv.h: Likewise.
39294         * math/math_private.h: Likewise.
39295         * misc/bits/error.h: Likewise.
39296         * misc/bits/syslog.h: Likewise.
39297         * misc/err.h: Likewise.
39298         * misc/error.h: Likewise.
39299         * misc/fstab.h: Likewise.
39300         * misc/mntent.h: Likewise.
39301         * misc/regexp.h: Likewise.
39302         * misc/search.h: Likewise.
39303         * misc/sgtty.h: Likewise.
39304         * misc/sys/mman.h: Likewise.
39305         * misc/sys/syslog.h: Likewise.
39306         * misc/sys/uio.h: Likewise.
39307         * misc/sys/xattr.h: Likewise.
39308         * misc/ttyent.h: Likewise.
39309         * nis/rpcsvc/ypclnt.h: Likewise.
39310         * nss/nss.h: Likewise.
39311         * posix/bits/unistd.h: Likewise.
39312         * posix/fnmatch.h: Likewise.
39313         * posix/glob.h: Likewise.
39314         * posix/sched.h: Likewise.
39315         * posix/spawn.h: Likewise.
39316         * posix/sys/wait.h: Likewise.
39317         * posix/unistd.h: Likewise.
39318         * posix/wordexp.h: Likewise.
39319         * pwd/pwd.h: Likewise.
39320         * resolv/netdb.h: Likewise.
39321         * resource/sys/resource.h: Likewise.
39322         * rt/aio.h: Likewise.
39323         * rt/bits/mqueue2.h: Likewise.
39324         * rt/mqueue.h: Likewise.
39325         * shadow/shadow.h: Likewise.
39326         * signal/signal.h: Likewise.
39327         * socket/send.c: Likewise.
39328         * socket/sendto.c: Likewise.
39329         * socket/sys/socket.h: Likewise.
39330         * stdio-common/printf.h: Likewise.
39331         * stdlib/bits/stdlib.h: Likewise.
39332         * stdlib/fmtmsg.h: Likewise.
39333         * stdlib/monetary.h: Likewise.
39334         * stdlib/stdlib.h: Likewise.
39335         * stdlib/ucontext.h: Likewise.
39336         * streams/stropts.h: Likewise.
39337         * string/argz.h: Likewise.
39338         * string/bits/string2.h: Likewise.
39339         * string/string.h: Likewise.
39340         * string/strings.h: Likewise.
39341         * sunrpc/rpc/auth.h: Likewise.
39342         * sunrpc/rpc/auth_des.h: Likewise.
39343         * sunrpc/rpc/clnt.h: Likewise.
39344         * sunrpc/rpc/netdb.h: Likewise.
39345         * sunrpc/rpc/pmap_clnt.h: Likewise.
39346         * sunrpc/rpc/xdr.h: Likewise.
39347         * sysdeps/generic/inttypes.h: Likewise.
39348         * sysdeps/generic/net/if.h: Likewise.
39349         * sysdeps/generic/sys/swap.h: Likewise.
39350         * sysdeps/gnu/net/if.h: Likewise.
39351         * sysdeps/gnu/utmpx.h: Likewise.
39352         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39353         * sysdeps/i386/i486/bits/string.h: Likewise.
39354         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39355         * sysdeps/s390/bits/string.h: Likewise.
39356         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39357         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39358         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39359         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39360         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39361         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39362         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39363         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39364         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39365         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39366         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39367         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39368         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39369         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39370         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39371         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39372         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39374         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39375         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39376         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39377         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39378         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39379         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39380         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39381         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39382         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39383         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39384         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39385         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39386         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39387         * sysvipc/sys/ipc.h: Likewise.
39388         * sysvipc/sys/msg.h: Likewise.
39389         * sysvipc/sys/sem.h: Likewise.
39390         * sysvipc/sys/shm.h: Likewise.
39391         * termios/termios.h: Likewise.
39392         * time/sys/time.h: Likewise.
39393         * time/time.h: Likewise.
39394         * wcsmbs/bits/wchar2.h: Likewise.
39395         * wcsmbs/uchar.h: Likewise.
39396         * wcsmbs/wchar.h: Likewise.
39397         * wctype/wctype.h: Likewise.
39398
39399         [BZ #13551]
39400         * Makeconfig: Remove all but ELF support including AIX support.
39401         * Makerules: Likewise.
39402         * config.h.in: Likewise.
39403         * config.make.in: Likewise.
39404         * configure: Likewise.
39405         * configure.in: Likewise.
39406         * csu/Makefile: Likewise.
39407         * csu/version.c: Likewise.
39408         * debug/Makefile: Likewise.
39409         * dlfcn/Makefile: Likewise.
39410         * elf/Makefile: Likewise.
39411         * extra-lib.mk: Likewise.
39412         * iconv/Makefile: Likewise.
39413         * include/libc-symbols.h: Likewise.
39414         * include/shlib-compat.h: Likewise.
39415         * resolv/Makefile: Likewise.
39416         * resolv/res_libc.c: Likewise.
39417         * rt/Makefile: Likewise.
39418         * sysdeps/i386/asm-syntax.h: Likewise.
39419         * sysdeps/i386/sysdep.h: Likewise.
39420         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39421         * sysdeps/mach/sysdep.h: Likewise.
39422         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39423         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39424         * sysdeps/s390/asm-syntax.h: Likewise.
39425         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39426         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39427         * sysdeps/sh/sysdep.h: Likewise.
39428         * sysdeps/unix/sparc/sysdep.h: Likewise.
39429         * sysdeps/wordsize-32/divdi3.c: Likewise.
39430         * sysdeps/x86_64/sysdep.h: Likewise.
39431
39432         * argp/Versions: Remove _argp_unlock_xxx.
39433
39434         [BZ #13559]
39435         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39436         * abilist/libBrokenLocale.abilist: Likewise.
39437         * abilist/libanl.abilist: Likewise.
39438         * abilist/libc.abilist: Likewise.
39439         * abilist/libcrypt.abilist: Likewise.
39440         * abilist/libdl.abilist: Likewise.
39441         * abilist/libm.abilist: Likewise.
39442         * abilist/libnsl.abilist: Likewise.
39443         * abilist/libpthread.abilist: Likewise.
39444         * abilist/libresolv.abilist: Likewise.
39445         * abilist/librt.abilist: Likewise.
39446         * abilist/libthread_db.abilist: Likewise.
39447         * abilist/libutil.abilist: Likewise.
39448         * abilist/libnss_db.abilist: New file.
39449
39450         * scripts/abilist.awk: Add support for indirect functions.
39451
39452         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39453
39454         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39455
39456         * shlib-versions: Remove entries for ports architectures.
39457
39458         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39459         files in ports.
39460         * elf/stackguard-macros.h: Remove support for IA-64.
39461         * elf/tst-auditmod1.c: Likewise.
39462         * sysdeps/generic/ldsodefs.h: Likewise.
39463
39464         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39465         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39466         configure files.
39467
39468         [BZ #13552]
39469         * configure.in: Remove --enable-omitfp support.
39470         * FAQ.in: Adjust.
39471         * config.make.in: Likewise.
39472         * Makeconfig: Likewise.
39473         * manual/install.texi: Likewise.
39474
39475         In case anyone cares, the IA-64 architecture could move to ports.
39476         * sysdeps/ia64/*: Removed.
39477         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39478         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39479
39480         [BZ #13555]
39481         * configure.in: Remove entries for unsupported architectures.
39482
39483         [BZ #13533]
39484         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39485         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39486         routines.
39487         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39488         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39489         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39490         fall back to using wcrtomb.
39491         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39492         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39493         renaming.
39494         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39495         * wcsmbs/tst-c16c32-1.c: New file.
39496
39497         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39498         local variable.
39499
39500         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39501
39502         * elf/tst-unique3.cc: Add explicit declaration of gets.
39503         * elf/tst-unique3lib.cc: Likewise.
39504         * elf/tst-unique3lib2.cc: Likewise.
39505         * elf/tst-unique4.cc: Likewise.
39506
39507         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39508
39509 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39510
39511         [BZ #13566]
39512         * assert/assert.h (static_assert): Don't define for C++.
39513         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39514         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39515
39516 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39517
39518         * iconv/loop.c (single loop): Fix assertion in storing of
39519         remaining bytes.
39520
39521         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39522
39523 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39524
39525         * posix/getconf.c: Update copyright year.
39526         * nss/getent.c: Likewise.
39527         * nss/makedb.c: Likewise.
39528         * iconv/iconvconfig.c: Likewise.
39529         * iconv/iconv_prog.c: Likewise.
39530         * elf/ldconfig.c: Likewise.
39531         * elf/pldd.c: Likewise.
39532         * elf/sotruss.ksh: Likewise.
39533         * catgets/gencat.c: Likewise.
39534         * csu/version.c: Likewise.
39535         * elf/ldd.bash.in: Likewise.
39536         * elf/sprof.c (print_version): Likewise.
39537         * locale/programs/locale.c: Likewise.
39538         * locale/programs/localedef.c: Likewise.
39539         * login/programs/pt_chown.c: Likewise.
39540         * nscd/nscd.c (print_version): Likewise.
39541         * debug/xtrace.sh: Likewise.
39542         * malloc/memusage.sh: Likewise.
39543         * malloc/mtrace.pl: Likewise.
39544         * debug/catchsegv.sh: Likewise.
39545
39546 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39547
39548         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39549         pure attribute.
39550
39551 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39552
39553         [BZ #13533]
39554         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39555         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39556         transformations.
39557         * iconv/gconv_int.h: Likewise.
39558         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39559         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39560         from libc for GLIBC_2.16.
39561         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39562         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39563         * wcsmbs/uchar.h: Really define mbstate_t.
39564         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39565         * wcsmbs/c16rtomb.c: New file.
39566         * wcsmbs/mbrtoc16.c: New file.
39567         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39568         for C/POSIX locale.
39569         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39570         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39571
39572         * wcsmbs/wchar.h: Add missing __restrict.
39573
39574 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39575
39576         [BZ #13532]
39577         * time/Makefile (routines): Add timespec_get.
39578         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39579         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39580         timespec for ISO C11.
39581         * time/timespec_get.c: New file.
39582         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39583         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39584
39585         [BZ #13531]
39586         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39587         * stdlib/stdlib.h: Declare aligned_alloc.
39588         * Versions.def: Add GLIBC_2.16 for libc.
39589         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39590
39591         [BZ 13527]
39592         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39593         ISO C11.
39594
39595         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39596         code.
39597
39598         [BZ #13528]
39599         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39600
39601         [BZ #13529]
39602         * assert/assert.h (static_assert): Define.
39603
39604         * version.h: Update for 2.16 development version.
39605
39606         [BZ #13526]
39607         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39608         _ISOC11_SOURCE.
39609
39610         * version.h (RELEASE): Bump for 2.15 release.
39611         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39612
39613         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39614         Patch by Marek Polacek <mpolacek@redhat.com>.
39615
39616         * bits/byteswap.h: Protect long long constants with __extension__.
39617         * sysdeps/i386/bits/byteswap.h: Likewise.
39618         * sysdeps/ia64/bits/byteswap.h: Likewise.
39619         * sysdeps/s390/bits/byteswap.h: Likewise.
39620         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39621
39622 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39623
39624         [BZ #13540]
39625         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39626         destination buffer.
39627         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39628
39629 2011-12-23  Marek Polacek  <polacek@redhat.com>
39630
39631         * elf/dl-addr.c (determine_info): Add inline keyword.
39632         * elf/tst-auditmod4b.c (check_avx): Likewise.
39633         * elf/tst-auditmod6b.c (check_avx): Likewise.
39634         * elf/tst-auditmod6c.c (check_avx): Likewise.
39635         * elf/tst-auditmod7b.c (check_avx): Likewise.
39636
39637 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39638
39639         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39640         !__SSE_MATH__.
39641
39642 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39643
39644         [BZ #13540]
39645         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39646         processing for last bytes.
39647
39648 2011-08-06  Bruno Haible  <bruno@clisp.org>
39649
39650         [BZ #13061]
39651         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39652         U+0385, not to U+1FEE.
39653
39654         [BZ #13062]
39655         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39656         entry for U+00A5 U+0301.
39657
39658 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39659
39660         [BZ #13166]
39661         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39662         buffer for the output is too small.
39663
39664         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39665         optimization.
39666
39667         [BZ #13185]
39668         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39669         SSE flags if possible.
39670
39671 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39672
39673         [BZ #13540]
39674         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39675         processing for last bytes.
39676
39677 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39678
39679         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39680         (syscall-list-default-options, syscall-list-default-condition)
39681         (syscall-list-includes): Define.
39682         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39683         list of ABIs and options and #if conditions for each ABI.  Do not
39684         handle common syscalls between ABIs specially.
39685         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39686         Remove.
39687         (syscall-list-variants, syscall-list-32bit-options)
39688         (syscall-list-32bit-condition, syscall-list-64bit-options)
39689         (syscall-list-64bit-condition): Define.
39690         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39691         (syscall-list-variants, syscall-list-32bit-options)
39692         (syscall-list-32bit-condition, syscall-list-64bit-options)
39693         (syscall-list-64bit-condition): Define.
39694         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39695         Remove.
39696         (syscall-list-variants, syscall-list-32bit-options)
39697         (syscall-list-32bit-condition, syscall-list-64bit-options)
39698         (syscall-list-64bit-condition): Define.
39699         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39700         Remove.
39701         (syscall-list-variants, syscall-list-32bit-options)
39702         (syscall-list-32bit-condition, syscall-list-64bit-options)
39703         (syscall-list-64bit-condition): Define.
39704
39705 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39706
39707         * locale/iso-639.def: Add brx entry.
39708
39709         [BZ #13328]
39710         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39711         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39712
39713         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39714         __feraiseexcept_renamed.
39715
39716 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39717
39718         [BZ #13538]
39719         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39720         EPOLLET with unsigned values.
39721         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39722         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39723
39724         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39725         to large cancellation.
39726         * math/s_cacoshf.c: Likewise.
39727         * math/s_cacoshl.c: Likewise.
39728
39729 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39730
39731         [BZ #13305]
39732         [BZ #12786]
39733         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39734         * math/s_cacoshf.c: Likewise.
39735         * math/s_cacoshl.c: Likewise.
39736
39737 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39738
39739         [BZ #13439]
39740         * iconv/gconv.h: Define __GCONV_SWAP.
39741         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39742         * iconvdata/utf-16.c: Likewise.
39743         * iconvdata/utf-32.c: Likewise.
39744
39745 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39746
39747         [BZ #13524]
39748         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39749         numerator after shifting it by one limb.
39750
39751 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39752
39753         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39754         under [__USE_EXTERN_INLINES].
39755
39756 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39757
39758         [BZ #13446]
39759         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39760
39761 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39762
39763         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39764         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39765         optimized code.
39766         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39767         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39768         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39769         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39770         for strncasecmp/strncasecmp_l compilation.
39771         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39772         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39773
39774 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39775
39776         [BZ #13484]
39777         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39778         of __asm__.
39779
39780 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39781
39782         [BZ #13506]
39783         * time/tzfile.c (__tzfile_read): Check values from file header.
39784
39785 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39786
39787         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39788         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39789         * powerpc/powerpc32/dl-start.S: Likewise.
39790         * powerpc/powerpc32/elf/start.S: Likewise.
39791         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39792         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39793         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39794         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39795         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39796         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39797         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39798         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39799         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39800         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39801         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39802         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39803         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39804         * powerpc/powerpc32/memset.S: Likewise.
39805         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39806         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39807         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39808         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39809         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39810         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39811         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39812         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39813         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39814         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39815         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39816         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39817         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39818
39819 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39820
39821         * math/libm-test.inc: Added more nearbyint tests.
39822         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39823         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39824         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39825         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39826
39827 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39828
39829         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39830         FD_CLOEXEC.
39831
39832 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39833
39834         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39835         Add wcscpy-ssse3 wcscpy-c.
39836         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39837         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39838         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39839         * sysdeps/x86_64/wcschr.S: New file.
39840         * sysdeps/x86_64/wcsrchr.S: New file.
39841         * string/test-strcmp.c: Remove checking of wcscmp function for
39842         wrong alignments.
39843         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39844         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39845         wcsrchr-sse2 wcsrchr-c.
39846         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39847         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39848         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39849         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39850         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39851         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39852         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39853         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39854         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39855         * wcsmbc/wcschr.c (WCSCHR): New macro.
39856
39857 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39858
39859         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39860         * wcsmbs/test-wcsrchr.c: New file.
39861         * string/test-strrchr.c: Add wcsrchr support.
39862         (WIDE): New macro.
39863         * wcsmbs/test-wcscpy.c: New file.
39864         * string/test-strcpy.c: Add wcscpy support.
39865         (WIDE): New macro.
39866
39867 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39868
39869         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39870         the inner loop.
39871
39872 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39873
39874         [BZ #13472]
39875         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39876
39877 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39878
39879         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39880         Minor optimizations.
39881
39882         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39883         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39884         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39885
39886 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39887
39888         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39889         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39890         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39891         for gcc to avoid warnings.
39892         * inet/Makefile (tests): Add tst-checks.
39893         * inet/tst-checks.c: New file.
39894
39895         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39896         warning.
39897
39898         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39899         __wmemcmp_sse2.
39900
39901         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39902         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39903
39904         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39905
39906 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39907
39908         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39909         problem.
39910
39911         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39912
39913 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39914
39915         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39916         conditional on GCC version.
39917         (__arch_compare_and_exchange_val_8_acq)
39918         (__arch_compare_and_exchange_val_16_acq)
39919         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39920         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39921         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39922
39923 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39924
39925         * sysdeps/sh/backtrace.c: New file.
39926
39927 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39928
39929         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39930         parenthesis.
39931
39932 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39933
39934         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39935         falling back to utime.
39936
39937 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39938
39939         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39940         expectations for float.
39941
39942 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39943
39944         * locale/weight.h (findidx): Add parameter len.
39945         * locale/weightwc.h (findidx): Likewise.
39946         * posix/fnmatch_loop.c (FCT): Adjust caller.
39947         * posix/regcomp.c (build_equiv_class): Likewise.
39948         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39949         * posix/regexec.c (check_node_accept_bytes): Likewise.
39950         * string/strcoll_l.c (STRCOLL): Likewise.
39951         * string/strxfrm_l.c (STRXFRM): Likewise.
39952
39953 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39954
39955         * Makefile.in: Remove CVSOPT handling.
39956         * configure.in: Remove use of AC_REVISION.
39957         * iconvdata/Makefile (distribute): No need to filter out CVS.
39958         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39959         handling.
39960
39961 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39962
39963         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39964         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39965         [USE_AS_STRNCASECMP_L]: Likewise.
39966         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39967         NO_TLS_DIRECT_SEG_REFS.
39968         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39969         Fix argument offsets for non-PIC.
39970         [USE_AS_STRNCASECMP_L]: Likewise.
39971         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39972         NO_TLS_DIRECT_SEG_REFS.
39973
39974 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39975
39976         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39977         O_CLOEXEC.
39978         * locale/loadlocale.c (_nl_load_locale): Likewise.
39979
39980 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39981
39982         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39983         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39984         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39985         (SYSCALL_GETTIME): Set errno on error.
39986
39987         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39988         count references to noai6ai_cached.
39989
39990 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39991
39992         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39993
39994         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39995         FD_CLOEXEC for /proc/self/maps.
39996
39997         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39998         FD_CLOEXEC for /proc/meminfo.
39999
40000         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40001         gai.conf.
40002
40003         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40004         FD_CLOEXEC for given file.
40005
40006         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40007
40008         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40009         FD_CLOEXEC for /etc/hosts.
40010         (_gethtent): Likewise.
40011
40012         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40013
40014         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40015         cancellation and set FD_CLOEXEC for /etc/netgroup.
40016
40017         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40018         reading /etc/publickey.
40019
40020         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40021         allow cancellation when reading /etc/group.
40022
40023         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40024         cancellation.
40025         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40026
40027         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40028         when using data file.
40029
40030         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40031
40032         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40033         (write_nis_obj): Use "c" and "e" in fopen.
40034
40035         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40036
40037         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40038
40039         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40040
40041         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40042
40043         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40044         locale.alias.
40045
40046         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40047
40048         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40049
40050         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40051
40052         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40053         file parsing and set FD_CLOEXEC.
40054
40055 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40056
40057         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40058
40059 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40060
40061         * malloc/arena.c (arena_get2): Don't call reused_arena when
40062         _int_new_arena failed.
40063
40064 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40065
40066         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40067         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40068         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40069         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40070         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40071         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40072         to compile strcasecmp and strncasecmp.
40073         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40074         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40075
40076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40077
40078 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40079
40080         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40081         locale-defines.sym to gen-as-const-headers.
40082         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40083         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40085         to compile strcasecmp and strncasecmp.
40086         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40087         strcasecmp_l and strncasecmp_l.
40088         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40089         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40090         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40091         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40092         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40093         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40094         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40095         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40096         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40097         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40098         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40099
40100 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40101
40102         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40103         result of SYSDEP_GETTIME_CPU to retval.
40104         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40105         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40106
40107         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40108         variable.
40109
40110         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40111         mantissa words.
40112         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40113
40114         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40115         from unused variable.
40116
40117         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40118         DWARF definitions.
40119         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40120         for assembling.
40121
40122         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40123         over namespaces.
40124
40125         * sunrpc/rpc_prot.c (rejected): Fix case value.
40126
40127         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40128         unsigned long long int to avoid warnings in shift.
40129
40130         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40131         of use of trans.
40132         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40133         variable tmp.
40134
40135         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40136         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40137         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40138
40139         * nis/nis_table.c (nis_list): Use variable of correct type for
40140         result of __follow_path call.
40141
40142 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40143
40144         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40145         of math functions ceil, trunc, floor, round, and sqrt, when
40146         avaliable on the platform.
40147         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40148         name clash.
40149         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40150         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40151         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40152
40153 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40154
40155         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40156         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40157
40158 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40159
40160         * include/unistd.h: Fix __readlink return type.
40161         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40162
40163 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40164
40165         * stdlib/ucontext.h: Undo last change for makecontext.
40166
40167 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40168
40169         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40170
40171         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40172         * setjmp/setjmp.h: Mark functions as non-leaf.
40173         * setjmp/bits/setjmp2.h: Likewise.
40174         * stdlib/ucontext.h: Likewise.
40175
40176 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40177
40178         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40179         (reused_arena): Don't check arena limit.
40180         (arena_get2): Atomically check arena limit.
40181
40182 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40183
40184         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40185         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40186
40187         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40188         instructions.
40189
40190 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40191
40192         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40193         handler when locking.
40194
40195         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40196         Fix size of allocated buffer.
40197
40198 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40199
40200         [BZ #10103]
40201         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40202         declarations for long double functions.
40203         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40204
40205         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40206
40207 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40208
40209         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40210         installed.
40211
40212         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40213         is disabled.
40214
40215 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40216
40217         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40218
40219 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40220
40221         * include/alloca.h (stackinfo_alloca_round): Define.
40222         (extend_alloca): Use it.
40223         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40224         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40225         here.
40226
40227         * scripts/check-local-headers.sh: Ignore libaudit.h.
40228
40229         * nscd/Makefile (extra-objs): Make recursively expanded.
40230
40231 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40232
40233         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40234         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40235
40236         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40237         * posix/tst-rfc3484-2.c: Likewise.
40238         * posix/tst-rfc3484-3.c: Likewise.
40239
40240         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40241         process_vm_writev.
40242         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40243         process_vm_writev.
40244         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40245         process_vm_writev from libc using GLIBC_2.15 version.
40246
40247         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40248
40249 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40250
40251         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40252         stack usage.
40253
40254 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40255
40256         [BZ #13367]
40257         * nss/getent.c (initgroups_keys): Show error message in case no group
40258         names are given.
40259
40260         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40261         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40262         __bump_nl_timestamp.
40263         * nscd/connections (nscd_init): When host database is served open
40264         netlink socket and request notification about configuration changes.
40265         (main_loop_poll): Track netlink file descriptor and bump timestamp
40266         in case data becomes available.
40267         (main_loop_epoll): Likewise.
40268         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40269         (database_pers_head): Add extra_data fileds.
40270         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40271         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40272         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40273         Adjust caller.
40274         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40275         in6ai data, call __free_in6ai.
40276         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40277         Add -DHAVE_NETLINK.
40278         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40279         interface information.  Reuse previous data if netlink timestamp
40280         is not changed.
40281         (__bump_nl_timestamp): New function.
40282         (__free_in6ai): New function.
40283
40284 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40285
40286         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40287         close_not_cancel_no_status here.
40288         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40289
40290 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40291
40292         [BZ #13276]
40293         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40294         return value.
40295
40296         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40297         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40298         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40299
40300 2011-07-03  Andreas Jaeger  <aj@suse.de>
40301
40302         [BZ #10709]
40303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40304         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40305         * math/libm-test.inc (sin_test): Add test case.
40306
40307 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40308
40309         [BZ #13337]
40310         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40311         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40312
40313         * elf/chroot_canon.c (chroot_canon): Cleanups.
40314
40315         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40316
40317         [BZ #13335]
40318         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40319         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40320
40321         * string/test-strchr.c: Make usable for strchrnul testing.
40322         * string/test-strchrnul.c: New file.
40323         * string/Makefile (strop-tests): Add strchrnul.
40324
40325         * po/it.po: Update from translation team.
40326         * po/es.po: Likewise.
40327
40328 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40329
40330         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40331         the three constants needed as parameters.  Drop the others.
40332         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40333         __m128i_strloadu_tolower.
40334         Create and initialize variable zero and use it in all the places
40335         where _mm_setzero_si128 was used.
40336
40337         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40338         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40339         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40340         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40341         anymore.
40342         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40343         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40344         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40345         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40346         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40347         __mpranred, __mptan.
40348         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40349         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40350         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40351         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40352         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40353         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40354         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40355         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40356         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40357
40358 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40359
40360         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40361         redefine if SHARED.
40362         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40363
40364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40365         wide char related routines to wcsmbs subdir.
40366
40367 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40368
40369         [BZ #13344]
40370         * misc/sys/cdefs.h (__THROWNL): Define.
40371         * posix/unistd.h: Use __THREADNL instead of __THREAD
40372         for memory synchronization functions.
40373
40374 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40375
40376         [BZ #13349]
40377         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40378         doesn't exist.
40379         * manual/stdio.texi (Obstack Streams): Node removed.
40380
40381 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40382
40383         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40384         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40385         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40386
40387         * math/math_private.h (math_force_eval): Allow non-addressable
40388         arguments.
40389         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40390
40391 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40392
40393         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40394         file is not needed.
40395
40396         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40397         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40398         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40399         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40400         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40401         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40402         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40403         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40404         Add AVX variants.
40405         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40406         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40407         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40408         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40409         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40410         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40411         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40412         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40413         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40414         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40415         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40416         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40417         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40418         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40419         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40420         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40421         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40422         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40423         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40424
40425         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40426         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40427
40428         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40429         place.  Use VEX encoding when compiling for AVX.
40430
40431 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40432
40433         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40434         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40435
40436         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40437
40438 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40439
40440         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40441         useless if() expression.
40442         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40443         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40444         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40445         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40446         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40447         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40448         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40451         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40452         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40453         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40454         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40455         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40456         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40457         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40458         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40459         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40460         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40461
40462         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40463
40464 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40465
40466         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40467         condition.
40468         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40469
40470 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40471
40472         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40473         .text section.  Avoid duplicate constants.
40474         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40475         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40476         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40477         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40478         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40479         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40480         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40481         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40482         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40483         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40484         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40485         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40486         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40489         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40490         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40491         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40492         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40493         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40494         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40495         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40496         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40497         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40498         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40499         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40500         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40501         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40502         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40503         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40504         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40505         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40506         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40507         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40508         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40509         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40510         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40511         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40512         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40513         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40514         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40516         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40517         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40518         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40519
40520 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40521
40522         * sysdeps/x86_64/dla.h: Move to ...
40523         * sysdeps/x86_64/fpu/dla.h: ...here.
40524         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40525         situations.  Use __builtin_fma only for gcc 4.6 and up.
40526
40527         * config.make.in: Add have-mfma4 entry.
40528         * configure.in: Substitute libc_cv_cc_fma4.
40529         * math/Makefile (dbl-only-routines): Add sincostab.
40530         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40531         Use __sincostab not sincos.
40532         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40533         name is a macro.
40534         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40535         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40536         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40538         using __copysign.
40539         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40540         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40541         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40542         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40543         and __inv.
40544         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40545         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40546         __copysign.
40547         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40548         define aliases when function name is a macro.
40549         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40550         sysdeps/ieee754/dbl-64/sincos.tbl.
40551         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40552         fma4-enabled routines.
40553         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40554         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40555         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40556         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40557         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40558         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40559         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40560         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40561         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40562         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40563         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40564         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40565         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40566         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40567         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40568         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40569         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40570         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40571         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40572         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40573         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40574         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40575         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40576         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40577         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40578         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40579         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40580         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40581         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40582         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40583
40584         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40585         rename.
40586         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40587         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40588         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40592         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40593         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40594
40595 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40596
40597         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40598
40599 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40600
40601         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40602
40603         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40604         prediction.
40605         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40606
40607         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40608         Remove unused variable magic_bits.
40609         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40610
40611         * string/strnlen.c: Define and use STRNLEN macro.
40612         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40613         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40615         * wcsmbs/wcslen.c: Define and use WCSLEN.
40616         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40617         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40618         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40619         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40620         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40621         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40622         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40623
40624 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40625
40626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40627         strnlen-sse2-no-bsf.
40628         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40629         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40630         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40631         Add strnlen support.
40632         (USE_AS_STRNLEN): New macro.
40633         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40634         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40635         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40636         * sysdeps/x86_64/wcslen.S: New file.
40637
40638 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40639
40640         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40641         XMM-moves are used for copying on small sizes.
40642
40643 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40644
40645         * wcsmbs/Makefile (strop-tests): Add wcschr.
40646         * wcsmbs/test-wcschr.c: New file.
40647         * string/test-strchr.c: Update.
40648         Add wcschr support.
40649         (WIDE): New macro.
40650
40651 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40652
40653         * wcsmbs/Makefile (strop-tests): Add wcslen.
40654         * wcsmbs/test-wcslen.c: New file.
40655         * string/test-strlen.c: Update.
40656         Add wcslen support.
40657         (WIDE): New macro.
40658
40659 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40660
40661         * po/it.po: Update from translation team.
40662
40663 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40664
40665         * sysdeps/x86_64/wcscmp.S: Update.
40666         Fix wrong comparison semantics.
40667         wcscmp shall use signed comparison not unsigned.
40668         Don't use substraction to avoid overflow bug.
40669         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40670         * wcsmbc/wcscmp.c: Likewise.
40671         * string/test-strcmp.c: Likewise.
40672         Add new tests to check cases with negative values.
40673
40674 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40675
40676         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40677         * sysdeps/x86_64/dla.h: ...here.  New file.
40678         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40679         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40680         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40681         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40682         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40683         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40684         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40685         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40686         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40687
40688 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40689
40690         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40691         __ynl_finite aliases.
40692
40693 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40694
40695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40696
40697         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40698         define DLA_FMA.
40699         [DLA_FMA] (EMULV): Use DLA_FMA.
40700         [DLA_FMA] (MUL12): Use EMULV.
40701         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40702         that are not needed.
40703         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40704         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40705         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40706         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40707         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40708         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40709         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40710
40711 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40712
40713         * math/s_nan.c: Undef __nan.
40714         * math/s_nanf.c: Undef __nanf.
40715         * math/s_nanl.c: Undef __nanl.
40716         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40717         "math_private.h".
40718
40719 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40720
40721         * math/s_catan.c: Add branch predictions.
40722         * math/s_catanf.c: Likewise.
40723         * math/s_catanh.c: Likewise.
40724         * math/s_catanhf.c: Likewise.
40725         * math/s_catanhl.c: Likewise.
40726         * math/s_catanl.c: Likewise.
40727         * math/s_cexp.c: Likewise.
40728         * math/s_cexpf.c: Likewise.
40729         * math/s_cexpl.c: Likewise.
40730         * math/s_clog.c: Likewise.
40731         * math/s_clog10.c: Likewise.
40732         * math/s_clog10f.c: Likewise.
40733         * math/s_clog10l.c: Likewise.
40734         * math/s_clogf.c: Likewise.
40735         * math/s_clogl.c: Likewise.
40736         * math/s_csqrt.c: Likewise.
40737         * math/s_csqrtf.c: Likewise.
40738         * math/s_csqrtl.c: Likewise.
40739         * math/s_ctanf.c: Likewise.
40740         * math/s_ctanh.c: Likewise.
40741         * math/s_ctanhf.c: Likewise.
40742         * math/s_ctanhl.c: Likewise.
40743         * math/s_ctanl.c: Likewise.
40744
40745         * math/math_private.h: Define __nan, __nanf, __nanl.
40746         * math/s_cacosh.c: Include <math_private.h>.
40747         * math/s_cacoshl.c: Likewise.
40748         * math/s_casinh.c: Likewise.
40749         * math/s_casinhf.c: Likewise.
40750         * math/s_casinhl.c: Likewise.
40751         * math/s_ccos.c: Rely entire on ccosh.
40752         * math/s_ccosf.c: Rely entire on ccoshf.
40753         * math/s_ccosl.c: Rely entirely on ccoshl.
40754         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40755         Remove tests for FE_INVALID.
40756         * math/s_ccoshf.c: Likewise.
40757         * math/s_ccoshl.c: Likewise.
40758         * math/s_csin.c: Likewise.
40759         * math/s_csinf.c: Likewise.
40760         * math/s_csinh.c Likewise.
40761         * math/s_csinhf.c: Likewise.
40762         * math/s_csinhl.c: Likewise.
40763         * math/s_csinl.c: Likewise.
40764         * math/s_ctan.c: Likewise.
40765         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40766         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40767         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40768
40769 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40770
40771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40772         compilation problems.
40773
40774         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40775         __builtin_expect.
40776
40777 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40778
40779         * sysdeps/i386/configure.in: Test for -mfma4 option.
40780         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40781         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40782         COMMON_CPUID_INDEX_80000001.
40783         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40784         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40785         use it if FMA3 is not supported.
40786         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40787
40788         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40789         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40790
40791 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40792
40793         [BZ #12892]
40794         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40795         it would create a cycle with a link time dependency.
40796
40797 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40798
40799         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40800         instruction.
40801         * string/Makefile (strop-tests): Add rawmemchr.
40802         * string/test-rawmemchr.c: New file.
40803
40804         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40805         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40806         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40807         when compiling str{,n}casecmp and when AVX is available.  Hook up
40808         new optimized code in initializers.
40809
40810 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40811
40812         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40813         __feraiseexcept instead of feraiseexcept.
40814
40815 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40816
40817         * math/math_private.h: Define defaults for libc_fetestexcept and
40818         libc_feupdateenv.
40819         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40820         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40821         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40822         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40823         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40824         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40825         libc_fetestexcept and libc_feupdateenv.
40826
40827         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40828         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40829         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40830         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40831         libc_feholdexcept_setround.
40832
40833         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40834         Add s_nearbyint-c and s_nearbyintf-c.
40835         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40836         nearbyintf inlines.
40837         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40838         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40839         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40840         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40841
40842         * math/math_private.h: Define defaults for libc_fegetround,
40843         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40844         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40845         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40846         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40847         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40848         standard functions.
40849         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40850         Remove comments and hacks for old compiler versions.
40851         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40852         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40853         libc_feholdexceptl.
40854
40855 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40856
40857         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40858         (__feraiseexcept_renamed): Add __NTH.
40859         (feraiseexcept): Add __NTH.  Rename local variables to fix
40860         namespace violations.
40861
40862 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40863
40864         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40865
40866         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40867
40868         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40869         recently added interfaces.
40870         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40871
40872         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40873         about macro parameter expansion.
40874
40875         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40876         __NO_MATH_INLINES is defined.  Cleanups.
40877
40878         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40879         and __floorf is target has SSE4.1.
40880         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40881         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40882         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40883         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40884
40885         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40886         name.
40887         (floorf): Likewise.
40888
40889         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40890
40891 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40892
40893         * misc/sys/cdefs.h: Fix last change.
40894
40895         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40896         database lookup.
40897
40898 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40899
40900         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40901
40902         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40903         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40904         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40906         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40907         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40908         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40909         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40910         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40911         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40912         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40913         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40914         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40915         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40916         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40917         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40918         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40919         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40920         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40921         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40922         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40923         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40924
40925         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40926         ceil, ceilf, floor, floorf.
40927
40928         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40929         Perform IRELATIVE relocations last.
40930
40931         * elf/do-rel.h: Add another parameter nrelative, replacing the
40932         local variable with the same name.  Change name of the function
40933         to end in Rel or Rela (uppercase).
40934         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40935         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40936         elf_dynamic_do_##reloc function.
40937
40938 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40939
40940         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40941         is sufficient, at least on modern CPUs.
40942
40943         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40944
40945         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40946         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40947
40948         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40949         __expl_finite.
40950         * math/bits/math-finite.h: Add entries for exp.
40951         * math/e_expl.c: Add __*_finite alias.
40952         * sysdeps/i386/fpu/e_exp.S: Likewise.
40953         * sysdeps/i386/fpu/e_expf.S: Likewise.
40954         * sysdeps/i386/fpu/e_expl.c: Likewise.
40955         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40956         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40957         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40959         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40960         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40961         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40962
40963         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40964         is sufficient, at least on modern CPUs.
40965
40966         * ctype/ctype-info.c (__ctype_init): Define.
40967         * include/ctype.h (__ctype_init): Declare.
40968         (__ctype_b_loc): The variable is always initialized.
40969         (__ctype_toupper_loc): Likewise.
40970         (__ctype_tolower_loc): Likewise.
40971         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40972         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40973
40974 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40975
40976         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40977
40978         * configure.in: Also look in $cxxmachine/include for C++ system
40979         headers.
40980
40981 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40982
40983         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40984         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40985         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40986         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40987         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40988         (USE_AS_WMEMCMP): New macro.
40989         Fixing indents.
40990         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40991         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40992         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40993         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40994         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40995         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40996         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40997         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40998         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40999         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41000         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41001         (USE_AS_WMEMCMP): New macro.
41002         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41003         * sysdeps/string/test-memcmp.c: Update.
41004         Fix simple_wmemcmp.
41005         Add new tests.
41006         * wcsmbs/wmemcmp.c: Update.
41007         (WMEMCMP): New macro.
41008         Fix overflow bug.
41009
41010 2011-10-12  Andreas Jaeger  <aj@suse.de>
41011
41012         [BZ #13268]
41013         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41014
41015 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41016
41017         * libio/iofwide.c (do_length): Avoid warning.
41018
41019         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41020
41021 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41022
41023         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41024
41025         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41026         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41027         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41028         * sysdeps/i386/i686/fpu/e_log.S: New file.
41029         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41030         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41031
41032         * ctype/ctype.h: Add support for inlined isXXX functions when
41033         compiling C++ code.
41034
41035 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41036
41037         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41038
41039         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41040
41041 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41042
41043         [BZ #13291]
41044         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41045
41046 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41047
41048         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41049         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41050         feraiseexcept.
41051
41052         * sysdeps/x86_64/memrchr.S: Check for zero size.
41053
41054         * string/stratcliff.c: Add memrchr tests.
41055
41056 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41057
41058         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41059         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41060         rawmemchr-sse2 rawmemchr-sse2-bsf.
41061         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41062         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41063         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41064         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41065         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41066         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41067         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41068         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41069         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41070         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41071         * string/memrchr.c (MEMRCHR): New macro.
41072
41073 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41074
41075         Add integration with gcc's -ffinite-math-only and optimize wrapper
41076         functions in libm.
41077         * Versions.def: Define GLIBC_2.15 version for libm.
41078         * math/Makefile (headers): Add bits/math-finite.h.
41079         * math/bits/math-finite.h: New file.
41080         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41081         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41082         * math/e_acoshl.c: Add __*_finite alias.
41083         * math/e_acosl.c: Likewise.
41084         * math/e_asinl.c: Likewise.
41085         * math/e_atan2l.c: Likewise.
41086         * math/e_atanhl.c: Likewise.
41087         * math/e_coshl.c: Likewise.
41088         * math/e_exp10.c: Likewise.
41089         * math/e_exp10f.c: Likewise.
41090         * math/e_exp10l.c: Likewise.
41091         * math/e_exp2l.c: Likewise.
41092         * math/e_fmodl.c: Likewise.
41093         * math/e_gammal_r.c: Likewise.
41094         * math/e_hypotl.c: Likewise.
41095         * math/e_j0l.c: Likewise.
41096         * math/e_j1l.c: Likewise.
41097         * math/e_jnl.c: Likewise.
41098         * math/e_lgammal_r.c: Likewise.
41099         * math/e_log10l.c: Likewise.
41100         * math/e_log2l.c: Likewise.
41101         * math/e_logl.c: Likewise.
41102         * math/e_powl.c: Likewise.
41103         * math/e_sinhl.c: Likewise.
41104         * math/e_sqrtl.c: Likewise.
41105         * math/e_scalb.c: Completely rewritten and optimized.
41106         * math/e_scalbf.c: Likewise.
41107         * math/e_scalbl.c: Likewise.
41108         * math/w_acos.c: Likewise.
41109         * math/w_acosf.c: Likewise.
41110         * math/w_acosl.c: Likewise.
41111         * math/w_acosh.c: Likewise.
41112         * math/w_acoshf.c: Likewise.
41113         * math/w_acoshl.c: Likewise.
41114         * math/w_asin.c: Likewise.
41115         * math/w_asinf.c: Likewise.
41116         * math/w_asinl.c: Likewise.
41117         * math/w_atan2.c: Likewise.
41118         * math/w_atan2f.c: Likewise.
41119         * math/w_atan2l.c: Likewise.
41120         * math/w_atanh.c: Likewise.
41121         * math/w_atanhf.c: Likewise.
41122         * math/w_atanhl.c: Likewise.
41123         * math/w_exp10.c: Likewise.
41124         * math/w_exp10f.c: Likewise.
41125         * math/w_exp10l.c: Likewise.
41126         * math/w_fmod.c: Likewise.
41127         * math/w_fmodf.c: Likewise.
41128         * math/w_fmodl.c: Likewise.
41129         * math/w_j0.c: Likewise.
41130         * math/w_j0f.c: Likewise.
41131         * math/w_j0l.c: Likewise.
41132         * math/w_j1.c: Likewise.
41133         * math/w_j1f.c: Likewise.
41134         * math/w_j1l.c: Likewise.
41135         * math/w_jn.c: Likewise.
41136         * math/w_jnf.c: Likewise.
41137         * math/w_log.c: Likewise.
41138         * math/w_logf.c: Likewise.
41139         * math/w_logl.c: Likewise.
41140         * math/w_log10.c: Likewise.
41141         * math/w_log10f.c: Likewise.
41142         * math/w_log10l.c: Likewise.
41143         * math/w_log2.c: Likewise.
41144         * math/w_log2f.c: Likewise.
41145         * math/w_log2l.c: Likewise.
41146         * math/w_pow.c: Likewise.
41147         * math/w_powf.c: Likewise.
41148         * math/w_powl.c: Likewise.
41149         * math/w_remainder.c: Likewise.
41150         * math/w_remainderf.c: Likewise.
41151         * math/w_remainderl.c: Likewise.
41152         * math/w_scalb.c: Likewise.
41153         * math/w_scalbf.c: Likewise.
41154         * math/w_scalbl.c: Likewise.
41155         * math/w_sqrt.c: Likewise.
41156         * math/w_sqrtf.c: Likewise.
41157         * math/w_sqrtl.c: Likewise.
41158         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41159         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41160         used.
41161         * math/math_private.h: Declare __kernel_standard_f.
41162         * math/w_cosh.c: Remove cruft and optimize a bit.
41163         * math/w_coshf.c: Likewise.
41164         * math/w_coshl.c: Likewise.
41165         * math/w_exp2.c: Likewise.
41166         * math/w_exp2f.c: Likewise.
41167         * math/w_exp2l.c: Likewise.
41168         * math/w_hypot.c: Likewise.
41169         * math/w_hypotf.c: Likewise.
41170         * math/w_hypotl.c: Likewise.
41171         * math/w_lgamma.c: Likewise.
41172         * math/w_lgamma_r.c: Likewise.
41173         * math/w_lgammaf.c: Likewise.
41174         * math/w_lgammaf_r.c: Likewise.
41175         * math/w_lgammal.c: Likewise.
41176         * math/w_lgammal_r.c: Likewise.
41177         * math/w_sinh.c: Likewise.
41178         * math/w_sinhf.c: Likewise.
41179         * math/w_sinhl.c: Likewise.
41180         * math/w_tgamma.c: Likewise.
41181         * math/w_tgammaf.c: Likewise.
41182         * math/w_tgammal.c: Likewise.
41183         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41184         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41185         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41186         Minor optimizations.  Pretty printing.  Remove cruft.
41187         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41188         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41189         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41190         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41191         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41192         * sysdeps/i386/fpu/e_asin.S: Likewise.
41193         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41194         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41195         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41196         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41197         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41198         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41199         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41200         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41201         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41202         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41203         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41204         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41205         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41206         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41207         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41208         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41209         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41210         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41211         * sysdeps/i386/fpu/e_log.S: Likewise.
41212         * sysdeps/i386/fpu/e_log10.S: Likewise.
41213         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41214         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41215         * sysdeps/i386/fpu/e_log2.S: Likewise.
41216         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41217         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41218         * sysdeps/i386/fpu/e_logf.S: Likewise.
41219         * sysdeps/i386/fpu/e_logl.S: Likewise.
41220         * sysdeps/i386/fpu/e_pow.S: Likewise.
41221         * sysdeps/i386/fpu/e_powf.S: Likewise.
41222         * sysdeps/i386/fpu/e_powl.S: Likewise.
41223         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41224         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41225         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41226         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41227         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41228         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41229         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41230         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41231         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41232         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41233         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41235         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41237         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41238         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41239         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41240         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41241         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41242         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41243         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41244         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41245         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41246         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41247         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41248         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41249         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41250         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41251         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41252         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41253         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41254         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41255         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41256         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41257         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41258         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41259         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41260         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41261         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41262         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41263         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41264         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41265         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41266         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41267         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41268         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41269         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41270         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41271         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41272         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41273         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41274         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41275         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41276         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41277         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41278         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41279         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41280         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41281         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41282         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41283         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41284         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41285         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41287         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41288         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41289         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41290         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41291         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41292         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41293         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41296         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41300         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41301         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41302         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41303         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41304         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41305         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41306         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41307         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41308         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41309         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41310         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41311         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41312         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41313         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41314         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41315         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41316         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41317         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41318         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41319         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41320         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41321         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41322         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41323         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41324         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41325         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41326         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41327         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41328         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41329         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41330         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41331         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41332         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41333         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41334         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41335         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41336         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41337         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41338         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41339         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41340         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41341         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41342         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41343         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41344         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41345         (__isnanf): Likewise.
41346         (__isinf_ns): Likewise.
41347         (__isinf_nsf): Likewise.
41348         (__finite): Likewise.
41349         (__finitef): Likewise.
41350         (__ieee754_sqrt): Define as macro.
41351         (__ieee754_sqrtf): Define as macro.
41352         (__ieee754_sqrtl): Define as macro.
41353         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41354         inlined copy.
41355         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41356         __FINITE_MATH_ONLY__ consistent.
41357         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41358
41359 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41360
41361         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41362         of rawmemchr.
41363
41364         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41365
41366 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41367
41368         * po/ja.po: Update from translation team.
41369
41370 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41371
41372         * locale/programs/locarchive.c (prepare_address_space): New function.
41373         (create_archive, enlarge_archive, open_archive): Use it.
41374
41375         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41376         inside [SHARED], where it is used.
41377
41378         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41379
41380         * nss/getent.c (netgroup_keys): Remove unused variable.
41381         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41382
41383 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41384
41385         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41386         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41388         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41389         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41390         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41391         * math/Makefile (libm-calls): Add s_isinf_ns.
41392         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41393         * math/multc3.c: Likewise.
41394         * math/s_casin.c: Likewise.
41395         * math/s_casinf.c: Likewise.
41396         * math/s_casinl.c: Likewise.
41397         * math/s_ccos.c: Likewise.
41398         * math/s_ccosf.c: Likewise.
41399         * math/s_ccosl.c: Likewise.
41400         * math/s_ctan.c: Likewise.
41401         * math/s_ctanf.c: Likewise.
41402         * math/s_ctanh.c: Likewise.
41403         * math/s_ctanhf.c: Likewise.
41404         * math/s_ctanhl.c: Likewise.
41405         * math/s_ctanl.c: Likewise.
41406         * math/w_fmod.c: Likewise.
41407         * math/w_fmodf.c: Likewise.
41408         * math/w_fmodl.c: Likewise.
41409         * math/w_remainder.c: Likewise.
41410         * math/w_remainderf.c: Likewise.
41411         * math/w_remainderl.c: Likewise.
41412         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41413         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41414         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41415         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41416         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41417         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41418         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41419         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41420
41421         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41422         of the number.
41423         * stdio-common/printf_fphex.c: Likewise.
41424         * stdio-common/printf_size.c: Likewise.
41425
41426         * math/e_exp10.c: Include math_private.h using <...> not "...".
41427         * math/e_exp10f.c: Likewise.
41428         * math/e_exp10l.c: Likewise.
41429         * math/e_exp2l.c: Likewise.
41430         * math/e_j0l.c: Likewise.
41431         * math/e_j1l.c: Likewise.
41432         * math/e_jnl.c: Likewise.
41433         * math/e_lgammal_r.c: Likewise.
41434         * math/e_rem_pio2l.c: Likewise.
41435         * math/e_scalb.c: Likewise.
41436         * math/e_scalbf.c: Likewise.
41437         * math/e_scalbl.c: Likewise.
41438         * math/k_cosl.c: Likewise.
41439         * math/k_sinl.c: Likewise.
41440         * math/k_tanl.c: Likewise.
41441         * math/s_cacoshf.c: Likewise.
41442         * math/s_catan.c: Likewise.
41443         * math/s_catanf.c: Likewise.
41444         * math/s_catanh.c: Likewise.
41445         * math/s_catanhf.c: Likewise.
41446         * math/s_catanhl.c: Likewise.
41447         * math/s_catanl.c: Likewise.
41448         * math/s_ccosh.c: Likewise.
41449         * math/s_ccoshf.c: Likewise.
41450         * math/s_ccoshl.c: Likewise.
41451         * math/s_cexp.c: Likewise.
41452         * math/s_cexpf.c: Likewise.
41453         * math/s_cexpl.c: Likewise.
41454         * math/s_clog.c: Likewise.
41455         * math/s_clog10.c: Likewise.
41456         * math/s_clog10f.c: Likewise.
41457         * math/s_clog10l.c: Likewise.
41458         * math/s_clogf.c: Likewise.
41459         * math/s_clogl.c: Likewise.
41460         * math/s_csin.c: Likewise.
41461         * math/s_csinf.c: Likewise.
41462         * math/s_csinh.c: Likewise.
41463         * math/s_csinhf.c: Likewise.
41464         * math/s_csinhl.c: Likewise.
41465         * math/s_csinl.c: Likewise.
41466         * math/s_csqrt.c: Likewise.
41467         * math/s_csqrtf.c: Likewise.
41468         * math/s_csqrtl.c: Likewise.
41469         * math/s_ctan.c: Likewise.
41470         * math/s_ctanf.c: Likewise.
41471         * math/s_ctanh.c: Likewise.
41472         * math/s_ctanhf.c: Likewise.
41473         * math/s_ctanhl.c: Likewise.
41474         * math/s_ctanl.c: Likewise.
41475         * math/s_ldexp.c: Likewise.
41476         * math/s_ldexpf.c: Likewise.
41477         * math/s_ldexpl.c: Likewise.
41478         * math/s_significand.c: Likewise.
41479         * math/s_significandf.c: Likewise.
41480         * math/s_significandl.c: Likewise.
41481         * math/w_acos.c: Likewise.
41482         * math/w_acosf.c: Likewise.
41483         * math/w_acosh.c: Likewise.
41484         * math/w_acoshf.c: Likewise.
41485         * math/w_acoshl.c: Likewise.
41486         * math/w_acosl.c: Likewise.
41487         * math/w_asin.c: Likewise.
41488         * math/w_asinf.c: Likewise.
41489         * math/w_asinl.c: Likewise.
41490         * math/w_atan2.c: Likewise.
41491         * math/w_atan2f.c: Likewise.
41492         * math/w_atan2l.c: Likewise.
41493         * math/w_atanh.c: Likewise.
41494         * math/w_atanhf.c: Likewise.
41495         * math/w_atanhl.c: Likewise.
41496         * math/w_cosh.c: Likewise.
41497         * math/w_coshf.c: Likewise.
41498         * math/w_coshl.c: Likewise.
41499         * math/w_dremf.c: Likewise.
41500         * math/w_exp10.c: Likewise.
41501         * math/w_exp10f.c: Likewise.
41502         * math/w_exp10l.c: Likewise.
41503         * math/w_exp2.c: Likewise.
41504         * math/w_exp2f.c: Likewise.
41505         * math/w_fmod.c: Likewise.
41506         * math/w_fmodf.c: Likewise.
41507         * math/w_fmodl.c: Likewise.
41508         * math/w_hypot.c: Likewise.
41509         * math/w_hypotf.c: Likewise.
41510         * math/w_hypotl.c: Likewise.
41511         * math/w_j0.c: Likewise.
41512         * math/w_j0f.c: Likewise.
41513         * math/w_j0l.c: Likewise.
41514         * math/w_j1.c: Likewise.
41515         * math/w_j1f.c: Likewise.
41516         * math/w_j1l.c: Likewise.
41517         * math/w_jn.c: Likewise.
41518         * math/w_jnf.c: Likewise.
41519         * math/w_jnl.c: Likewise.
41520         * math/w_lgamma.c: Likewise.
41521         * math/w_lgamma_r.c: Likewise.
41522         * math/w_lgammaf.c: Likewise.
41523         * math/w_lgammaf_r.c: Likewise.
41524         * math/w_lgammal.c: Likewise.
41525         * math/w_lgammal_r.c: Likewise.
41526         * math/w_log.c: Likewise.
41527         * math/w_log10.c: Likewise.
41528         * math/w_log10f.c: Likewise.
41529         * math/w_log10l.c: Likewise.
41530         * math/w_log2.c: Likewise.
41531         * math/w_log2f.c: Likewise.
41532         * math/w_log2l.c: Likewise.
41533         * math/w_logf.c: Likewise.
41534         * math/w_logl.c: Likewise.
41535         * math/w_pow.c: Likewise.
41536         * math/w_powf.c: Likewise.
41537         * math/w_powl.c: Likewise.
41538         * math/w_remainder.c: Likewise.
41539         * math/w_remainderf.c: Likewise.
41540         * math/w_remainderl.c: Likewise.
41541         * math/w_scalb.c: Likewise.
41542         * math/w_scalbf.c: Likewise.
41543         * math/w_scalbl.c: Likewise.
41544         * math/w_sinh.c: Likewise.
41545         * math/w_sinhf.c: Likewise.
41546         * math/w_sinhl.c: Likewise.
41547         * math/w_sqrt.c: Likewise.
41548         * math/w_sqrtf.c: Likewise.
41549         * math/w_sqrtl.c: Likewise.
41550         * math/w_tgamma.c: Likewise.
41551         * math/w_tgammaf.c: Likewise.
41552         * math/w_tgammal.c: Likewise.
41553
41554         * po/ja.po: Update from translation team.
41555
41556 2011-09-29  Andreas Jaeger  <aj@suse.de>
41557
41558         [BZ #13179]
41559         * sunrpc/netname.c (netname2host): Fix logic.
41560
41561         [BZ #6779]
41562         [BZ #6783]
41563         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41564         correctly.
41565         * math/w_remainder.c (__remainder): Likewise.
41566         * math/w_remainderf.c (__remainderf): Likewise.
41567         * math/libm-test.inc (remainder_test): Add test cases.
41568
41569 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41570
41571         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41572         sdiv_qrnnd.
41573
41574 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41575
41576         * string/test-memcmp.c: Avoid unncessary #defines.
41577         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41578
41579 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41580
41581         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41582         Use new sse2 version for core i3 - i7 as it's faster
41583         than sse42 version.
41584         (bit_Prefer_PMINUB_for_stringop): New.
41585         * sysdeps/x86_64/rawmemchr.S: Update.
41586         Replace with faster SSE2 version.
41587         * sysdeps/x86_64/memrchr.S: New file.
41588         * sysdeps/x86_64/memchr.S: Update.
41589         Replace with faster SSE2 version.
41590
41591 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41592
41593         * elf/dl-load.c (lose): Add cast to avoid warning.
41594
41595 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41596
41597         * po/ca.po: Update from translation team.
41598
41599         * inet/getnetgrent_r.c: Hook up nscd.
41600         * nscd/Makefile (routines): Add nscd_netgroup.
41601         (nscd-modules): Add netgroupcache.
41602         (CFLAGS-netgroupcache.c): Define.
41603         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41604         (cache_search): Add const to second parameter.
41605         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41606         INNETGR.
41607         (dbs): Add netgrdb entry.
41608         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41609         (verify_persistent_db): Handle netgrdb.
41610         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41611         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41612         GETFDNETGR.
41613         (netgroup_response_header): Define.
41614         (innetgroup_response_header): Define.
41615         (datahead): Add netgroup_response_header and innetgroup_response_header
41616         elements.
41617         * nscd/nscd.conf: Add entries for netgroup cache.
41618         * nscd/nscd.h (dbtype): Add netgrdb.
41619         (_PATH_NSCD_NETGROUP_DB): Define.
41620         (netgroup_iov_disabled): Declare.
41621         (xmalloc, xcalloc, xrealloc): Move declarations here.
41622         (cache_search): Adjust prototype.
41623         Add netgroup-related prototypes.
41624         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41625         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41626         (__nscd_innetgr): Declare.
41627         * nscd/selinux.c (perms): Use access_vector_t as element type and
41628         add netgroup-related initializers.
41629         * nscd/netgroupcache.c: New file.
41630         * nscd/nscd_netgroup.c: New file.
41631         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41632         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41633         For four parameters use innetgr.
41634         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41635         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41636         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41637         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41638
41639         * nscd/connections.c (register_traced_file): Don't register file
41640         for disabled databases.
41641
41642 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41643
41644         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41645
41646         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41647         from tree and freeing node.
41648
41649 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41650
41651         * nss/nsswitch.c (__nss_database_lookup): Handle
41652         nss_parse_service_list out of memory case.
41653
41654 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41655
41656         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41657         out of memory case.
41658
41659 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41660
41661         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41662         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41663         pass it down.
41664         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41665         elf_machine_rela, elf_machine_lazy_rel.
41666         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41667         (ELF_DYNAMIC_DO_REL): Likewise.
41668         (ELF_DYNAMIC_DO_RELA): Likewise.
41669         (ELF_DYNAMIC_RELOCATE): Likewise.
41670         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41671         to ELF_DYNAMIC_DO_REL.
41672         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41673         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41674         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41675         elf_machine_rela.
41676         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41677         skip_ifunc, don't call ifunc function if non-zero.
41678         (elf_machine_rela): Likewise.
41679         (elf_machine_lazy_rel): Likewise.
41680         (elf_machine_lazy_rela): Likewise.
41681         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41682         (elf_machine_lazy_rel): Likewise.
41683         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41684         Likewise.
41685         (elf_machine_lazy_rel): Likewise.
41686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41687         Likewise.
41688         (elf_machine_lazy_rel): Likewise.
41689         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41690         (elf_machine_lazy_rel): Likewise.
41691         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41692         (elf_machine_lazy_rel): Likewise.
41693         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41694         (elf_machine_lazy_rel): Likewise.
41695         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41696         (elf_machine_lazy_rel): Likewise.
41697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41698         (elf_machine_lazy_rel): Likewise.
41699         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41700         (elf_machine_lazy_rel): Likewise.
41701
41702 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41703
41704         * nss/nss_files/files-init.c (_nss_files_init): Use static
41705         initialization for all the *_traced_file variables.
41706
41707 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41708
41709         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41710
41711 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41712
41713         [BZ #13226]
41714         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41715
41716 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41717
41718         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41719         Reread the line before reparsing it.
41720
41721 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41722
41723         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41724
41725 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41726             Maxim Kuvyrkov  <maxim@codesourcery.com>
41727             Joseph Myers  <joseph@codesourcery.com>
41728
41729         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41730         if needed for __stack_chk_guard.
41731
41732 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41733
41734         * sysdeps/posix/spawni.c (script_execute): Always define it.
41735         It will be optimized away if unused.
41736         (maybe_script_execute): New function.
41737         (__spawni): Call it.
41738
41739         * Makerules: Don't include tls.make.
41740         (config-tls): Always set to thread.
41741         * tls.make.c: File removed.
41742
41743 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41744
41745         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41746         * config.make.in (CPPFLAGS-config): New substituted variable.
41747
41748 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41749
41750         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41751
41752         [BZ #13192]
41753         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41754         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41755
41756 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41757
41758         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41759         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41760         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41761         (CALL_FAIL): Likewise.
41762         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41763         (CALL_FAIL): Macro removed.
41764         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41765
41766 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41767
41768         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41769         for __FINITE_MATH_ONLY__ == 1.
41770
41771 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41772
41773         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41774         __ieee754_sqrt instead of sqrt.
41775         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41776         __ieee754_sqrtf instead of sqrtf.
41777         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41778         __floorf instead of floorf.
41779         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41780         __floorf, __truncf instead of floorf, truncf.
41781
41782 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41783
41784         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41785
41786         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41787         __extern_always_inline.
41788         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41789         32-bit.
41790
41791 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41792
41793         * elf/rtld.c (dl_main): Also relocate in dependency order when
41794         doing symbol dependency testing.
41795
41796 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41797
41798         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41799         Always define `refsym'.
41800
41801 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41802
41803         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41804         (__FD_ELT): Renamed from __FDELT.
41805         * misc/bits/select2.h (__FD_ELT): Likewise.
41806         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41807         __FD_MASK instead of __FDELT, __FDMASK.
41808         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41809         Likewise.
41810         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41811         Likewise.
41812
41813         * elf/Makefile (gen-ldd): Fix pattern.
41814
41815         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41816         (init_tls): Likewise.
41817
41818 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41819
41820         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41821
41822 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41823
41824         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41825         `struct cmsghdr *' instead of `void *'.
41826         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41827         Likewise.
41828
41829 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41830
41831         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41832         if non-absolute.
41833         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41834         ldd_rewrite_script.
41835
41836 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41837
41838         * configure.in: Remove --with-tls option.
41839         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41840         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41841         out in case it is missing.
41842         * sysdeps/ia64/elf/configure.in: Likewise.
41843         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41844         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41845         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41846         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41847         * sysdeps/sh/elf/configure.in: Likewise.
41848         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41849         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41850         * sysdeps/x86_64/elf/configure.in: Likewise.
41851         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41852         * sysdeps/mach/hurd/tls.h: Likewise.
41853
41854         [BZ #13067]
41855         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41856
41857         [BZ #13090]
41858         * configure.in: Fix use of AC_INIT.
41859
41860         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41861
41862 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41863
41864         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41865         __set_errno.
41866         * malloc/hooks.c: Likewise.
41867
41868         [BZ #11929]
41869         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41870         variables statically.
41871         (narenas): Initialize.
41872         (list_lock): Initialize.
41873         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41874         initializtion of main_arena and list_lock.  Small cleanups.
41875         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41876         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41877         Add initializers to main_arena and mp_.
41878         (malloc_state): Remove pagesize member.  Change all users to use
41879         GLRO(dl_pagesize).
41880
41881         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41882         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41883         is always initialized.
41884
41885         * malloc/malloc.c: Removed unused configurations and dead code.
41886         * malloc/arena.c: Likewise.
41887         * malloc/hooks.c: Likewise.
41888         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41889
41890         * include/tls.h: Removed.  USE___THREAD must always be defined.
41891         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41892         * elf/dl-libc.c: Likewise.
41893         * elf/dl-tsd.c: Likewise.
41894         * include/errno.h: Likewise.
41895         * include/netdb.h: Likewise.
41896         * include/resolv.h: Likewise.
41897         * inet/herrno-loc.c: Likewise.
41898         * inet/herrno.c: Likewise.
41899         * malloc/arena.c: Likewise.
41900         * malloc/hooks.c: Likewise.
41901         * malloc/malloc.c: Likewise.
41902         * resolv/res-state.c: Likewise.
41903         * resolv/res_libc.c: Likewise.
41904         * sysdeps/i386/dl-machine.h: Likewise.
41905         * sysdeps/ia64/dl-machine.h: Likewise.
41906         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41907         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41908         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41909         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41910         * sysdeps/sh/dl-machine.h: Likewise.
41911         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41912         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41913         * sysdeps/unix/i386/sysdep.S: Likewise.
41914         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41915         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41916         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41920         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41921         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41924         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41925         * sysdeps/x86_64/dl-machine.h: Likewise.
41926         * tls.make.c: Likewise.
41927
41928         * configure.in: Remove --with-__thread option.  Make tests for
41929         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41930         tls_model attribute fail if no support is available.  Remove
41931         USE_IN_LIBIO.
41932         * Makeconfig: Adjust for dropped configure option.  All features are
41933         now mandatory.
41934         * Makerules: Likewise.
41935         * Versions.def: Likewise.
41936         * argp/argp-fmtstream.c: Likewise.
41937         * argp/argp-fmtstream.h: Likewise.
41938         * argp/argp-help.c: Likewise.
41939         * assert/assert.c: Likewise.
41940         * config.h.in: Likewise.
41941         * config.make.in: Likewise.
41942         * configure: Likewise.
41943         * configure.in: Likewise.
41944         * csu/Versions: Likewise.
41945         * csu/init.c: Likewise.
41946         * elf/tst-audit2.c: Likewise.
41947         * elf/tst-tls10.c: Likewise.
41948         * elf/tst-tls10.h: Likewise.
41949         * elf/tst-tls11.c: Likewise.
41950         * elf/tst-tls12.c: Likewise.
41951         * elf/tst-tls14.c: Likewise.
41952         * elf/tst-tlsmod11.c: Likewise.
41953         * elf/tst-tlsmod12.c: Likewise.
41954         * elf/tst-tlsmod13.c: Likewise.
41955         * elf/tst-tlsmod13a.c: Likewise.
41956         * elf/tst-tlsmod14a.c: Likewise.
41957         * elf/tst-tlsmod15b.c: Likewise.
41958         * elf/tst-tlsmod16a.c: Likewise.
41959         * elf/tst-tlsmod16b.c: Likewise.
41960         * elf/tst-tlsmod7.c: Likewise.
41961         * elf/tst-tlsmod8.c: Likewise.
41962         * elf/tst-tlsmod9.c: Likewise.
41963         * gmon/gmon.c: Likewise.
41964         * grp/fgetgrent_r.c: Likewise.
41965         * grp/putgrent.c: Likewise.
41966         * hurd/fopenport.c: Likewise.
41967         * include/libc-symbols.h: Likewise.
41968         * include/tls.h: Likewise.
41969         * intl/gettextP.h: Likewise.
41970         * intl/loadinfo.h: Likewise.
41971         * locale/global-locale.c: Likewise.
41972         * locale/localeinfo.h: Likewise.
41973         * mach/devstream.c: Likewise.
41974         * malloc/arena.c: Likewise.
41975         * malloc/set-freeres.c: Likewise.
41976         * misc/err.c: Likewise.
41977         * misc/getttyent.c: Likewise.
41978         * misc/mntent_r.c: Likewise.
41979         * posix/getopt.c: Likewise.
41980         * posix/wordexp.c: Likewise.
41981         * pwd/fgetpwent_r.c: Likewise.
41982         * resolv/Versions: Likewise.
41983         * resolv/res_hconf.c: Likewise.
41984         * shadow/fgetspent_r.c: Likewise.
41985         * shadow/putspent.c: Likewise.
41986         * stdio-common/printf_fphex.c: Likewise.
41987         * stdio-common/tmpfile.c: Likewise.
41988         * stdlib/abort.c: Likewise.
41989         * stdlib/fmtmsg.c: Likewise.
41990         * sunrpc/auth_unix.c: Likewise.
41991         * sunrpc/clnt_perr.c: Likewise.
41992         * sunrpc/clnt_tcp.c: Likewise.
41993         * sunrpc/clnt_udp.c: Likewise.
41994         * sunrpc/clnt_unix.c: Likewise.
41995         * sunrpc/openchild.c: Likewise.
41996         * sunrpc/svc_simple.c: Likewise.
41997         * sunrpc/svc_tcp.c: Likewise.
41998         * sunrpc/svc_udp.c: Likewise.
41999         * sunrpc/svc_unix.c: Likewise.
42000         * sunrpc/xdr.c: Likewise.
42001         * sunrpc/xdr_array.c: Likewise.
42002         * sunrpc/xdr_rec.c: Likewise.
42003         * sunrpc/xdr_ref.c: Likewise.
42004         * sunrpc/xdr_stdio.c: Likewise.
42005
42006 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42007
42008         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42009
42010 2011-07-03  Andreas Jaeger  <aj@suse.de>
42011
42012         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42013         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42014         regenerate with gen-libm-tests.pl.
42015
42016 2010-05-12  Petr Baudis  <pasky@suse.cz>
42017
42018         [BZ #11589]
42019         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42020         around j0() zero points by switching to j1().
42021         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42022         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42023         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42024         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42025
42026 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42027
42028         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42029         instead of 0.
42030         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42031         instead of 0.
42032         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42033         Patch in part by Pavel Roskin <proski@gnu.org>.
42034
42035         [BZ #13138]
42036         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42037         realloc.
42038         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42039         Free memory block if necessary.
42040
42041         [BZ #12847]
42042         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42043         be NULL.  Don't lock in this case.
42044
42045 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42046
42047         * elf/elf.h (ELFOSABI_GNU): New macro.
42048         (ELFOSABI_LINUX): Define to that.
42049
42050 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42051
42052         * string/strncat.c (strncat): Undef the symbol in case it has been
42053         defined in bits/string.h.
42054
42055 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42056
42057         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42058
42059         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42060         link map.
42061
42062 2011-08-17  Andreas Jaeger  <aj@suse.de>
42063
42064         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42065
42066 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42067             Ian Lance Taylor  <iant@google.com>
42068
42069         * math/libm-test.inc (lround_test): New testcase.
42070         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42071
42072 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42073
42074         * Makefile: Remove support for automatic cvs check-ins.
42075         * Makerules: Likewise.
42076         * config.make.in: Likewise.
42077         * configure.in: Likewise.
42078         * intl/Makefile: Likewise.
42079         * locale/Makefile: Likewise.
42080         * po/Makefile: Likewise.
42081         * posix/Makefile: Likewise.
42082         * sysdeps/gnu/Makefile: Likewise.
42083         * sysdeps/mach/hurd/Makefile: Likewise.
42084         * sysdeps/sparc/sparc32/Makefile: Likewise.
42085
42086         [BZ #13118]
42087         * posix/Makefile (bug-regex32-ENV): Define.
42088         Patch by John Stanley <jpsinthemix@verizon.net>.
42089
42090         * misc/Makefile (headers): Add bits/select2.h.
42091         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42092         * misc/bits/select2.h: New file.
42093         * include/bits/select2.h: New file.
42094         * debug/Makefile (routines): Add fdelt_chk.
42095         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42096         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42097         FD_ISSET.
42098         * debug/fdelt_chk.c: New file.
42099
42100         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42101         * wcsmbs/test-wmemcmp.c: Likewise.
42102         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42103         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42104
42105 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42106
42107         * string/Makefile (strop-tests): Add memcmp.
42108         * string/test-wmemcmp.c: New file.
42109         * string/test-memcmp.c: Add wmemcmp support.
42110
42111 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42112
42113         [BZ #13153]
42114         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42115         2011-07-19 change.
42116
42117         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42118         garbage value in a __mach_port_mod_refs call in the cases of the
42119         task-self and thread-self ports.
42120
42121 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42122
42123         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42124
42125 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42126
42127         * elf/dl-load.c (lose): Check for non-null L.
42128
42129 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42130
42131         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42132
42133         * elf/dl-libc.c (dlerror_run): Pass back error code from
42134         dl_catch_error.
42135
42136         [BZ #13123]
42137         * elf/dl-load.c (lose): Free l_origin if it is valid.
42138
42139         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42140         names.
42141         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42142         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42143         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42144         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42145         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42146         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42147
42148 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42149
42150         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42151         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42152         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42153         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42154         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42155         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42156         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42157         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42158         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42159         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42160
42161 2011-08-15  Alan Modra  <amodra@gmail.com>
42162
42163         [BZ #13092]
42164         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42165         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42166         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42167         ppc_mcount to static-only-routines.
42168         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42169         __mcount_internal.
42170         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42171         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42172
42173 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42174
42175         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42176         for finite and infinity parameters.
42177
42178 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42179
42180         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42181         and add nop instructions for throughput optimization.
42182         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42183
42184 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42185
42186         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42187         aligned copy for power7 with vector-scalar instructions.
42188         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42189
42190 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42191
42192         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42193         AVX check.
42194
42195 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42196
42197         [BZ #13144]
42198         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42199         last change.
42200
42201 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42202
42203         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42204         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42205         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42206         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42207         clock_gettime.
42208
42209 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42210
42211         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42212         Forgot to demangle the pointer.
42213
42214         * sysdeps/i386/sysdep.h: Define atom_text_section.
42215         * sysdeps/x86_64/sysdep.h: Likewise.
42216         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42217         section with atom_text_section.
42218         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42219         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42220         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42221         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42222         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42223
42224         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42225         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42226         already be defined.  Change to take two parameters and don't assign
42227         result to variable.  Adjust all users.
42228         Define INTERNAL_GETTIME if not already defined.
42229         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42230         call.
42231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42232         HAVE_CLOCK_GETTIME_VSYSCALL.
42233         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42234
42235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42236         gettimeofday vsyscall, just use time.
42237
42238 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42239
42240         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42241         <errno.h>.
42242
42243 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42244
42245         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42246         syscall on x86-64.
42247         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42248         syscall.
42249         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42250         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42251         syscall if possible.
42252
42253 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42254
42255         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42256         e_ident.  Don't pass to find_mapsXX.
42257         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42258
42259 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42260
42261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42262         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42263         * sysdeps/x86_64/multiarch/strchr.S: Update.
42264         Check bit_slow_BSF bit.
42265         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42266         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42267         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42268
42269 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42270
42271         [BZ #13134]
42272         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42273         before glibc 2.15.
42274         (tryshell): Define.
42275         (__spawni): Change last parameter to be flag.  Test
42276         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42277         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42278         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42279         * posix/spawni.c: Likewise.
42280         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42281         * posix/spawnp.c: Likewise.  Change normal version to use
42282         SPAWN_XFLAGS_USE_PATH.
42283         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42284         SPAWN_XFLAGS_TRY_SHELL.
42285
42286         [BZ #13150]
42287         * posix/glob.h: Remove gcc 1.x support.
42288
42289         [BZ #13068]
42290         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42291
42292 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42293
42294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42295         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42296         strrchr-sse2-bsf
42297         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42298         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42299         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42300         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42301         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42302         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42303
42304 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42305
42306         * sysdeps/x86_64/wcscmp.S: New file.
42307
42308         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42309         wcscmp-c wcscmp-sse2
42310         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42311         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42312         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42313         * wcsmbs/wcscmp.c: Allow renaming.
42314
42315 2011-09-05  David S. Miller  <davem@davemloft.net>
42316
42317         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42318         stack slot, rather than the struct return pointer slot.
42319         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42320         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42322         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42323
42324 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42325
42326         * po/ja.po: Update from translation team.
42327
42328         [BZ #13144]
42329         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42330         kernel in 64-bit binaries.
42331
42332 2011-09-01  David S. Miller  <davem@davemloft.net>
42333
42334         * elf/elf.h (HWCAP_SPARC_*): Move to..
42335         * sysdeps/sparc/sysdep.h: this new file and add new values.
42336         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42337         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42338         _DL_HWCAP_COUNT to 24.
42339         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42340         entries.
42341         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42342         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42343         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42344         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42345         instead of magic constants.
42346         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42347
42348 2011-08-31  David S. Miller  <davem@davemloft.net>
42349
42350         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42352         Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
42358         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42359         (PSEUDO): Reimplement to do errno handling inline.
42360         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42361         (SYSCALL_ERROR_HANDLER): New macro.
42362         (__SYSCALL_STRING): Do not do errno handling in asm.
42363         (__CLONE_SYSCALL_STRING): Delete.
42364         (__INTERNAL_SYSCALL_STRING): Delete.
42365         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42366         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42367         i386.
42368         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42369         (inline_syscall*): Add 'err' argument.
42370         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42371         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42372         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42373         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42374
42375         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42376         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42377
42378 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42379
42380         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42381
42382 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42383
42384         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42385         directive.
42386
42387 2011-08-24  David S. Miller  <davem@davemloft.net>
42388
42389         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42390
42391 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42392
42393         * elf/Makefile: Add rules to build and run unload8 test.
42394         * elf/unload8.c: New file.
42395         * elf/unload8mod1.c: New file.
42396         * elf/unload8mod1x.c: New file.
42397         * elf/unload8mod2.c: New file.
42398         * elf/unload8mod3.c: New file.
42399
42400         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42401         it wasn't used.
42402
42403 2011-08-23  David S. Miller  <davem@davemloft.net>
42404
42405         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42406         subtract stack bias.
42407         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42408         %sp not %fp in calculations.
42409         (_JMPBUF_UNWINDS_ADJ): Likewise.
42410
42411         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42412         (aio_suspend): Call it to force an exception region around the
42413         AIO_MISC_WAIT() invocation.
42414
42415 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42416
42417         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42418         backslash.
42419
42420 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42421
42422         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42423         protection macro.
42424         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42425         and <dl-machine.h>.
42426         (Elf64_FuncDesc): Remove.
42427
42428 2011-08-22  David S. Miller  <davem@davemloft.net>
42429
42430         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42431         sigaltstack check, add missing cfi directives.
42432         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42433         missing cfi directives, and sigaltstack handling.
42434
42435 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42436
42437         [BZ #11724]
42438         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42439         object is seen twice.
42440         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42441
42442         * elf/Makefile (distribute): Add tst-initorder2.c.
42443         (tests): Add tst-initorder2.
42444         (modules-names): Add tst-initorder2a tst-initorder2b
42445         tst-initorder2c tst-initorder2d.  Add rules to build them.
42446         ($(objpfx)tst-initorder2.out): New rule.
42447         * elf/tst-initorder2.c: New file.
42448         * elf/tst-initorder2.exp: New file.
42449
42450 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42451
42452         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42453
42454         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42455         dependencies back to end of function.
42456
42457         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42458         $(elfobjdir)/ld.so.
42459
42460 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42461
42462         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42463         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42464         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42465         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42466         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42467         of __vdso_gettimeofday.
42468         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42469         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42470         attribute_hidden.
42471         (_libc_vdso_platform_setup): Remove initialization of
42472         __vdso_gettimeofday and __vdso_time.
42473
42474 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42475
42476         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42477         and fgetc_unlocked.
42478         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42479         getc_unlocked.
42480
42481         * elf/dl-open.c (add_to_global): Report additions to the global scope
42482         for LD_DEBUG=scopes.
42483         (dl_open_worker): Also print scope of newly loaded dependencies.
42484         (_dl_show_scope): Indicate if there is no scope.
42485
42486         [BZ #13114]
42487         * stdio-common/Makefile (tests): Add bug24.
42488         * stdio-common/bug24.c: New file.
42489
42490 2011-08-19  Andreas Jaeger  <aj@suse.de>
42491
42492         [BZ #13114]
42493         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42494         non-existant file when using close-on-exec mode.
42495
42496 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42497
42498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42499         the very first instruction.
42500
42501         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42502         the CFI state in the end.
42503         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42504         inclusion of dl-trampoline.h.
42505         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42506
42507 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42508
42509         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42510         expectations for long double.
42511
42512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42513         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42514
42515 2011-08-14  David S. Miller  <davem@davemloft.net>
42516
42517         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42518         artificual limit depends upon the system page size.
42519
42520 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42521
42522         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42523         * resolv/Makefile: Define CFLAGS-libresolv.
42524
42525 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42526
42527         * nss/makedb.c (compute_tables): Make variables used in nested
42528         function static.
42529
42530 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42531
42532         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42533         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42534         if buffer was too small.
42535
42536         * elf/pldd.c (main): Attach to all threads in the process.
42537         Rewrite /proc handling to use *at functions.
42538
42539 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42540
42541         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42542         specifies first scope to show.
42543         (dl_open_worker): Update callers.  Move printing scope of new
42544         object to before the relocation.
42545         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42546         * sysdeps/generic/ldsodefs.h: Update declaration.
42547
42548         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42549         string for the scope number.
42550
42551 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42552
42553         * nscd/servicescache.c (cache_addserv): Make sure written is always
42554         initialized.
42555
42556 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42557
42558         * sysdeps/i386/i486/bits/atomic.h
42559         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42560         statement expression, so as to suppress "set but not used" warning.
42561         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42562
42563         * string/strncat.c (STRNCAT): Use prototype definition.
42564
42565         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42566         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42567         -Iprograms here.
42568         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42569         (localedef-modules): Add localedef.
42570         (locale-modules): Add locale.
42571
42572         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42573         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42574         to avoid a warning.
42575
42576 2011-08-14  David S. Miller  <davem@davemloft.net>
42577
42578         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42579         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42580
42581 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42582
42583         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42584         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42585         * elf/rtld.c (dl_main): Set l_name of vDSO.
42586         Call _dl_show_scope when DL_DEBUG_SCOPES.
42587         (process_dl_debug): Recognize scopes flag and also set it for all.
42588         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42589         Declare _dl_show_scope.
42590
42591         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42592         (do_dlopen): Pass caller_dlopen to dl_open.
42593         (__libc_dlopen_mode): Initialize caller_dlopen.
42594
42595         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42596         of libc.  Make tolower call locale-independent.  Optimize a bit by
42597         using isdigit instead of isalnum.
42598         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42599
42600 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42601
42602         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42603         was a dependency or dynamically loaded.
42604
42605 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42606
42607         * intl/l10nflist.c: Allow architecture-specific pop function.
42608         * sysdeps/x86_64/l10nflist.c: New file.
42609
42610         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42611         classification.
42612
42613 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42614
42615         * include/dirent.h: Add libc_hidden_proto for scandirat and
42616         scandirat64.  Don't declare __scandirat64.
42617         * dirent/scandirat.c: Add libc_hidden_def.
42618         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42619         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42620
42621 2011-08-10  David S. Miller  <davem@davemloft.net>
42622
42623         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42624         enum.
42625         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42626         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42627         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42628
42629 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42630
42631         * Versions.def [libc]: Add GLIBC_2.15.
42632         * dirent/Makefile (routines): Add scandirat and scandirat64.
42633         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42634         GLIBC_2.15.
42635         * dirent/dirent.h: Declare scandirat and scandirat64.
42636         * dirent/scandirat.c: New file.
42637         * dirent/scandirat64.c: New file.
42638         * sysdeps/wordsize-64/scandirat.c: New file.
42639         * sysdeps/wordsize-64/scandirat64.c: New file.
42640         * dirent/opendir.c: Define opendirat.
42641         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42642         using scandirat.
42643         * dirent/scandir64.c: Adjust for scandir.c change.
42644         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42645         __scandirat64, and __scandir_cancel_handler.
42646         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42647         additional parameter and use openat instead of open (outside of ld.so).
42648         Add new __opendir as wrapper around __opendirat.
42649         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42650         here without requiring old scandirat implementation.
42651
42652 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42653
42654         * dirent/scandir.c (cancel_handler): Renamed to
42655         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42656         defined.  Adjust users.
42657         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42658         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42659
42660 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42661
42662         * string/test-string.h (IMPL): Use __STRING to expand name and then
42663         stringify it.
42664
42665         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42666         of cleanups.
42667
42668 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42669
42670         * string/Makefile: Update.
42671         (strop-tests): Append strncat.
42672         * string/test-wcscmp.c: New file.
42673         New comprehensive test for wcscmp.
42674         * string/test-strcmp.c: Update.
42675         (WIDE): New define.
42676
42677 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42678
42679         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42680         line.
42681
42682 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42683
42684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42685         encoding to ACE if AI_IDN.
42686
42687 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42688
42689         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42690         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42691
42692 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42693
42694         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42695         Fix overflow bug in strncat.
42696         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42697
42698         * string/test-strncat.c: Update.
42699         Add new tests for checking overflow bugs.
42700
42701 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42702
42703         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42704         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42705         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42706         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42707         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42708         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42709         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42710         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42711         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42712
42713         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42714         (USE_AS_STRCAT): Define.
42715         Add strcat and strncat support.
42716         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42717
42718 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42719
42720         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42721         __n bigger than INT_MAX+1.
42722         (__strncmp_g): Likewise.
42723
42724 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42725
42726         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42727         * libio/stido.h: Likewise.
42728
42729         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42730         (AF_NFC): Define.
42731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42732         (AF_NFC): Define.
42733
42734         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42735         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42736         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42737         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42738         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42739
42740         [BZ #13021]
42741         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42742         installed.
42743
42744         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42745         typo.
42746         (_dl_x86_64_save_sse): Likewise.
42747
42748 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42749
42750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42751         OSXSAVE.
42752         (_dl_x86_64_save_sse): Likewise.
42753
42754         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42755
42756         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42757
42758 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42759
42760         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42761         change.
42762         (_dl_x86_64_save_sse): Use correct AVX check.
42763
42764 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42765
42766         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42767         bug in strncpy/strncat.
42768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42769
42770 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42771
42772         * string/tester.c (test_strcat): Add tests for different alignments
42773         of source and destination.
42774         (test_strncat): Likewise.
42775
42776 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42777
42778         [BZ #12852]
42779         * posix/glob.c (glob): Check passed in values before using them in
42780         expressions to avoid some overflows.
42781         (glob_in_dir): Likewise.
42782
42783         [BZ #13007]
42784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42785         check for AVX enablement so that we don't crash with old kernels and
42786         new hardware.
42787         * elf/tst-audit4.c: Add same checks here.
42788         * elf/tst-audit6.c: Likewise.
42789
42790         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42791
42792 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42793
42794         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42795
42796 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42797
42798         * po/cs.po: Update from translation team.
42799         * po/bg.po: Likewise.
42800
42801 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42802
42803         * misc/sys/cdefs.h: Add support for const attribute.
42804         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42805         to gnu_dev_{major,minor,makedev} functions.
42806
42807 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42808
42809         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42810
42811 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42812
42813         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42814         strlen results.
42815
42816 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42817
42818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42819         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42820         register in order to avoid conflicts with the soft frame pointer
42821         being held in r11 when necessary.
42822         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42823         (INTERNAL_VSYSCALL_NCS): Likewise.
42824
42825 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42826
42827         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42828         * elf/dl-fini.c (_dl_fini): Adjust caller.
42829         * elf/dl-close.c (_dl_close_worker): Likewise.
42830         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42831
42832 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42833
42834         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42835         "aux_cache->nlibs < 0".
42836
42837         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42838         in the reload-count case.
42839
42840 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42841
42842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42843         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42844         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42845         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42846         * sysdeps/x86_64/multiarch/strcat.S: New file.
42847         * sysdeps/x86_64/multiarch/strncat.S: New file.
42848         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42849         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42850         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42851         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42852         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42853         (USE_AS_STRCAT): Define.
42854         Add strcat and strncat support.
42855         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42856         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42857         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42858         * string/strncat.c: Update.
42859         (USE_AS_STRNCAT): Define.
42860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42861         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42862         and i7.
42863         * sysdeps/x86_64/multiarch/init-arch.h
42864         (bit_Prefer_PMINUB_for_stringop): New.
42865         (index_Prefer_PMINUB_for_stringop): Likewise.
42866         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42867         bit_Prefer_PMINUB_for_stringop.
42868
42869 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42870
42871         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42872         buffer64.
42873         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42874         of casting of buffer.
42875         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42876         buffer32 and buffer64.
42877         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42878         writes instead of casting of buffer.
42879         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42880         buffer32.
42881         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42882         casting of buffer.
42883
42884 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42885
42886         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42887
42888 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42889
42890         * nscd/nscd.c (termination_handler): Don't do anything for a database
42891         if it has not yet been initialized.
42892
42893 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42894
42895         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42896
42897 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42898
42899         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42900
42901 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42902
42903         * po/nl.po: Update from translation team.
42904         * po/sv.po: Likewise.
42905
42906 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42907
42908         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42909         now disallowed by GCC.
42910
42911         * configure.in (use-default-link): Default to yes if a test -shared
42912         link meets our qualifications.
42913         * configure: Regenerated.
42914
42915         * config.make.in (output-format): New variable.
42916         * configure.in: Check for ld --print-output-format support.
42917         * configure: Regenerated.
42918         * Makerules ($(common-objpfx)format.lds)
42919         [$(output-format) != unknown]: Just use $(output-format),
42920         instead of the linker-script munging.
42921
42922 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42923
42924         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42925         of $(common-objpfx)shlib.lds.
42926         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42927
42928         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42929         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42930
42931         * configure.in (-z relro check): Adjust test code to add a large
42932         writable data section after it.
42933         * configure: Regenerated.
42934
42935 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42936
42937         * configure.in (-z relro check): Fix test code to make the variable
42938         truly const.
42939         * configure: Regenerated.
42940
42941 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42942
42943         * nscd/nscd.h (struct traced_file): Define.
42944         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42945         elements.  Add traced_files.
42946         (inotify_fd): Declare.
42947         (register_traced_file): Declare.
42948         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42949         (inotify_fd): Export.
42950         (resolv_conf_descr): Remove.
42951         (nscd_init): Move inotify descriptor creation to main.
42952         Don't register files for notification here.
42953         (register_traced_file): New function.
42954         (invalidate_cache): Don't use reset_res to determine whether to call
42955         res_init, go through the list of registered files.
42956         (main_loop_poll): The inotify descriptors are now stored in the
42957         structures for the traced files.
42958         (main_loop_epoll): Likewise
42959         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42960         to __nss_disable_nscd.
42961         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42962         for a database anymore.  Check the records for all the registered
42963         files instead.
42964         * nss/Makefile (libnss_files-routines): Add files-init.
42965         (libnss_db-routines): Add db-init.
42966         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42967         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42968         * nss/nss_db/db-init.c: New file.
42969         * nss/nss_files/files-init.c: New file.
42970         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42971         __nss_lookup_function.
42972         (__nss_lookup_function): Call nss_load_library.
42973         (nss_load_all_libraries): New function.
42974         (__nss_disable_nscd): Take parameter with callback function for files
42975         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42976         used for the cached services.
42977         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42978         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42979         options for features to all the files in nscd.
42980
42981         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42982
42983 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42984
42985         * csu/elf-init.c (__libc_csu_init): Comment typo.
42986
42987 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42988
42989         * po/pl.po: Update from translation team.
42990         * po/ja.po: Likewise.
42991         * po/ru.po: Likewise.
42992         * po/ko.po: Likewise.
42993         * po/fr.po: Likewise.
42994
42995 2011-07-09  Roland McGrath  <roland@hack.frob.com>
42996
42997         * configure.in (.ctors/.dtors header and trailer check):
42998         Use an empirical test on a built program.
42999         * configure: Regenerated.
43000
43001         * configure.in (-z relro check): Use an empirical test on a built DSO.
43002         Detect, but do not require, on ia64.
43003         * configure: Regenerated.
43004
43005         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43006         Update tests that use readelf to use $READELF instead.
43007         * configure: Regenerated.
43008
43009 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43010
43011         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43012         if the result is not used.
43013
43014 2011-07-05  Andreas Jaeger  <aj@suse.de>
43015
43016         [BZ#9696]
43017         * stdlib/tst-strtod.c: Add testcase.
43018
43019 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43020
43021         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43022         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43023         The latter has a higher limit.  Take additional parameter to pass to
43024         the new function.
43025         (__pathconf): Pass file to __statfs_link_max.
43026         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43027         __statfs_link_max.
43028         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43029         __statfs_link_max.
43030
43031         [BZ #12868]
43032         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43033         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43034         Handle Lustre.
43035         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43036         (__statfs_filesize_max): Likewise.
43037         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43038
43039 2011-07-05  Andreas Jaeger  <aj@suse.de>
43040
43041         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43042
43043 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43044
43045         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43046         `status' variable.
43047         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43048         Likewise.
43049
43050 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43051
43052         * Makefile (strop-tests): Add strncat.
43053         * string/test-strncat.c: New file.
43054
43055 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43056
43057         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43058
43059 2011-06-21  Andreas Jaeger  <aj@suse.de>
43060
43061         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43062         Copy rule from iconvdata/Makefile.
43063
43064 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43065
43066         [BZ #12922]
43067         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43068         but no long options are defined, just return 'W'.
43069
43070 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43071
43072         [BZ #9696]
43073         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43074
43075 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43076
43077         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43078         netgroups to read.
43079         (innetgr): Likewise.
43080
43081 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43082
43083         * config.make.in (install_root): Default to $(DESTDIR).
43084
43085 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43086
43087         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43088
43089 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43090
43091         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43092
43093         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43094         containing directory rather than embedding absolute directory names.
43095
43096         * scripts/check-local-headers.sh: Rewritten using awk.
43097         Match by word, not by line.  Print error messages for matches.
43098         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43099
43100         * Makerules [shlib-lds-flags empty]:
43101         ($(common-objpfx)libc_pic.opts): New target.
43102         ($(common-objpfx)libc_pic.os.clean): New target.
43103         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43104
43105         * config.make.in (OBJCOPY): New variable.
43106         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43107         * configure: Regenerated.
43108
43109         * config.make.in (use-default-link): New variable.
43110         * configure.in (use_default_link): Grok --with-default-link to set it.
43111         * configure: Regenerated.
43112         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43113         (shlib-lds, shlib-lds-flags): Define to empty.
43114
43115         * Makerules (shlib-lds): New variable.
43116         (shlib-lds-flags): New variable.
43117         (build-shlib, build-moduile, build-module-asneeded): Use it.
43118         ($(common-objpfx)libc.so): Use $(shlib-lds).
43119         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43120         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43121
43122         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43123         DT_FLAGS/DT_FLAGS_1 with zero flags.
43124
43125         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43126         linker script munging.
43127
43128 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43129
43130         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43131         as 128-bit value.
43132         * crypt/sha512.c (sha512_process_block): Perform total addition using
43133         128-bit if possible.
43134         (__sha512_finish_ctx): Likewise.
43135         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43136         as 64-bit value.
43137         * crypt/sha256.c (SWAP64): Define.
43138         (sha256_process_block): Perform total addition using 64-bit if
43139         possible.
43140         (__sha256_finish_ctx): Likewise.
43141
43142 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43143
43144         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43145         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43146         * nscd/hstcache.c (cache_addhst): Likewise.
43147         * nscd/grpcache.c (cache_addgr): Likewise.
43148         * nscd/aicache.c (addhstaiX): Likewise
43149         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43150
43151 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43152
43153         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43154         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43155         * nscd/hstcache.c (cache_addhst): Likewise.
43156         * nscd/grpcache.c (cache_addgr): Likewise.
43157         * nscd/aicache.c (addhstaiX): Likewise
43158
43159 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43160
43161         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43162         domain only when needed.
43163
43164 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43165
43166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43167         is always restored.
43168
43169 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43170
43171         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43172         are re-adding the entry.
43173         * nscd/servicescache.c (cache_addserv): Likewise.
43174
43175 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43176
43177         * sysdeps/generic/dl-irel.h: fix protection against multiple
43178         inclusions.
43179         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43180
43181 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43182
43183         [BZ #12935]
43184         * malloc/memusage.sh: Fix quoting in message.
43185         * debug/xtrace.sh: Likewise.
43186
43187         * configure.in: Remove support for --experimental-malloc option, make
43188         it the default.
43189         * config.make.in: Likewise.
43190         * malloc/Makefile: Likewise.
43191
43192 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43193
43194         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43195         two-byte characters.
43196
43197 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43198
43199         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43200         AC_CACHE_CHECK invocation.
43201         * configure: Regenerated.
43202
43203         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43204
43205 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43206
43207         [BZ #12350]
43208         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43209         bit from old_res_options.
43210
43211         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43212
43213         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43214         value type for setfct.
43215
43216 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43217
43218         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43219         __gettimeofday instead of gettimeofday.
43220
43221 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43222
43223         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43224
43225 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43226
43227         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43228
43229         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43230         info.
43231
43232 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43233
43234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43235         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43236         strcpy-sse2-unaligned strncpy-sse2-unaligned
43237         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43238         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43239         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43240         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43241         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43242         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43243         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43244         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43245         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43246         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43247         (STRCPY): Support SSE2 and SSSE3 versions.
43248
43249 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43250
43251         [BZ #12874]
43252         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43253         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43254         kernels which artificially limit size of requests.
43255
43256 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43257
43258         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43259         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43260         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43261         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43262         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43263         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43264         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43265         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43266         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43267         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43268         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43269         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43270         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43271         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43272         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43274         Enable unaligned load optimization for Intel Core i3, i5 and i7
43275         processors.
43276         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43277         Define.
43278         (index_Fast_Unaligned_Load): Define.
43279         (HAS_FAST_UNALIGNED_LOAD): Define.
43280
43281 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43282
43283         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43284
43285 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43286
43287         [BZ #12907]
43288         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43289         until it is clear that the information is realy needed.
43290         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43291
43292 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43293
43294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43295
43296 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43297
43298         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43299         /sys/devices/system/cpu/online if it is usable.
43300
43301         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43302         reading the information from the /proc filesystem to once a second.
43303
43304 2011-06-21  Andreas Jaeger  <aj@suse.de>
43305
43306         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43307         NULL after inclusion of kernel headers.
43308
43309 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43310
43311         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43312         calls to internal_setent.
43313
43314         [BZ #12885]
43315         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43316         addresses using gethostbyname4_r ignore IPv4 addresses.
43317
43318         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43319         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43320
43321         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43322
43323 2011-06-20  David S. Miller  <davem@davemloft.net>
43324
43325         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43326         inclusions.
43327         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43328
43329         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43330         (elf_irel): Use it.
43331         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43332         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43333         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43334         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43335         * sysdeps/x86_64/dl-irel.h: Likewise.
43336
43337         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43338         * elf/dl-sym.c: Likewise.
43339
43340 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43341
43342         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43343         need to dereference resplen2.
43344
43345 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43346
43347         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43348
43349 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43350
43351         * Makeconfig: Define vardbdir and inst_vardbdir.
43352         * nss/Makefile: Add rules to install db-Makefile.
43353
43354         * nss/nss_db/db-XXX.c: Cleanup.
43355
43356         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43357         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43358         GLIBC_PRIVATE.
43359         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43360         * nss/makedb.c: Implement -g option to specify that value strings
43361         are generated and should not be added to table iterated over for
43362         get*ent calls.
43363         * nss/nss_db/db-initgroups.c: New file.
43364
43365         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43366         interface.
43367
43368         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43369         (internal_getgrouplist): Adjust to name change.
43370         Update use_initgroups_entry if this is not the first call.
43371         * nss/databases.def: Add initgroups entry.
43372
43373         * nss/makedb.c (compute_tables): Check result of multiple hash table
43374         sizes to minimize maximum chain length.
43375
43376 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43377
43378         * Versions.def: Add entry for libnss_db.
43379         * shlib-versions: Likewise.
43380         * nss/Makefile: Add rules to build libnss_db.
43381         * nss/Versions: Add libnss_db information.  Organize libnss_files
43382         entries better.
43383         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43384         makedb progra.  Some minor improvements to generate smaller files.
43385         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43386         here from...
43387         * nss/makedb.c: ...here.
43388         Improve database format to be smaller and require less memory at
43389         runtime.
43390         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43391         db anymore.
43392         * nss/nss_db/db-netgrp.c: Likewise.
43393         * nss/nss_db/db-open.c: Likewise.
43394         * nss/nss_files/flies-XXX.x: Adjust comments.
43395         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43396         * nss/nss_files/files-grp.c: Likewise.
43397         * nss/nss_files/files-hosts.c: Likewise.
43398         * nss/nss_files/files-network.c: Likewise.
43399         * nss/nss_files/files-proto.c: Likewise.
43400         * nss/nss_files/files-pwd.c: Likewise.
43401         * nss/nss_files/files-rpc.c: Likewise.
43402         * nss/nss_files/files-service.c: Likewise.
43403         * nss/nss_files/files-sgrp.c: Likewise.
43404         * nss/nss_files/files-spwd.c: Likewise.
43405         * nss/nss_db/db-alias.c: Removed.
43406         * nss/nss_db/dummy-db.h: Removed.
43407
43408 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43409
43410         * nss/makedb.c: Rewritten to not use database library.
43411         * nss/Makefile: Update to build new makedb program.
43412
43413 2011-06-14  Andreas Jaeger  <aj@suse.de>
43414
43415         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43416         memset declaration.
43417
43418 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43419
43420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43421         tmpbuf.
43422
43423 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43424
43425         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43426         * elf/Makefile ($(objpfx)ld.so): Likewise.
43427
43428         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43429         Don't list ld.so twice in dependencies.
43430
43431         * posix/bug-regex31.c: Include <stdlib.h>.
43432
43433         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43434
43435         * nis/nss_compat/compat-spwd.c
43436         (getspent_next_nss_netgr): Remove unused variable.
43437         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43438
43439         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43440         nonmembers" output to use the right array.
43441
43442         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43443
43444         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43445
43446         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43447         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43448         * catgets/gencat.c (read_input_file): Likewise.
43449         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43450
43451         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43452         variable definition inside #if's controlling its use.
43453
43454         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43455
43456         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43457
43458         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43459
43460         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43461         unreachable code.
43462
43463         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43464
43465         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43466         * configure: Regenerated.
43467
43468         * Makerules: Revert last change.
43469         * elf/Makefile: Likewise.
43470
43471 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43472
43473         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43474         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43475         (reloc-link): Likewise.
43476
43477 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43478
43479         * elf/Makefile: Add rules to build pldd.
43480         * elf/pldd.c: New file.
43481         * elf/pldd-xx.c: New file.
43482
43483 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43484
43485         * version.h: Update for 2.15 development version.
43486
43487 2011-06-07  David S. Miller  <davem@davemloft.net>
43488
43489         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43490         ifuncs.
43491         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43492         elf_machine_lazy_rel): Likewise.
43493         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43494         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43495         elf_machine_lazy_rel): Likewise.
43496         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43497         dl_hwcap via passed in argument.
43498         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43499         Likewise.
43500
43501 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43502
43503         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43504
43505 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43506
43507         [BZ #12849]
43508         * manual/fdl-1.1.texi: New file, verbatim from:
43509         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43510         * manual/lgpl-2.1.texi: New file, verbatim from:
43511         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43512         * manual/Makefile (licenses): New variable, list those new file names.
43513         (texis): Use it.
43514         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43515
43516         * manual/fdl.texi: File removed.
43517         * manual/lesser.texi: File removed.
43518         * manual/libc.texinfo (Copying, Documentation License):
43519         Use new @include file names, put @appendix directive before @include.
43520
43521 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43522
43523         [BZ #12841]
43524         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43525         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43526         (mq_open): Add __NTH.
43527
43528 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43529
43530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43531         Assume Intel Core i3/i5/i7 processor if AVX is available.
43532
43533 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43534
43535         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43536         typo.
43537
43538 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43539
43540         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43541         memory.  Use alloca_account.  Fix memory leak when retrying.
43542
43543 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43544
43545         * version.h (RELEASE): Bump for 2.14 release.
43546         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43547
43548         * config.make.in (RANLIB): Remove entry.
43549
43550 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43551
43552         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43553         (libc.pot): Work around missing support for .ksh extension in xgettext.
43554
43555         [BZ #12684]
43556         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43557         if both request failed.
43558         (send_dg): In case of server errors clear resplen or *resplen2.
43559
43560         [BZ #12454]
43561         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43562         when there are multiple maps.
43563         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43564         (_dl_fini): Remove test here.
43565
43566         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43567
43568 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43569
43570         [BZ #12350]
43571         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43572         bit from old_res_options.
43573         (gaih_inet): Likewise.
43574
43575         [BZ #11099]
43576         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43577         as signed.
43578
43579         * resolv/res_init.c (res_setoptions): Make the code more compact.
43580
43581         [BZ #11558]
43582         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43583         set RES_USEVC.
43584
43585         [BZ #11634]
43586         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43587
43588         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43589
43590         [BZ #11781]
43591         * malloc/malloc.h: Declare malloc hook variables as volatile.
43592
43593         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43594         in last patch.
43595
43596         [BZ #11799]
43597         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43598         raise in the comment.
43599         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43600         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43601         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43602
43603 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43604
43605         [BZ #12811]
43606         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43607         grow the buffers more if it already has to be sufficient.
43608         (build_wcs_upper_buffer): Likewise.
43609         * posix/regexec.c (check_matching): Likewise.
43610         (clean_state_log_if_needed): Likewise.
43611         (extend_buffers): Don't enlarge buffers beyond size of the input
43612         buffer.
43613         Patches mostly by Emil Wojak <emil@wojak.eu>.
43614         * posix/bug-regex32.c: New file.
43615         * posix/Makefile (tests): Add bug-regex32.
43616
43617         * locale/findlocale.c (_nl_find_locale): Return right away if
43618         _nl_explode_name failed.
43619         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43620
43621         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43622
43623         * debug/xtrace.sh: Unify messages.
43624         * malloc/memusage.sh: Likewise.
43625
43626         [BZ #12813]
43627         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43628         time symbol from vDSO.  Substitute with vsyscall if not available.
43629         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43630         __vdso_time.
43631
43632         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43633         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43634         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43635         Add sendmmsg and internal_sendmmsg.
43636         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43637         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43638         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43639
43640         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43641         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43642         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43643
43644 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43645
43646         [BZ #12813]
43647         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43648         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43649         available.
43650         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43651         __vdso_getcpu.
43652
43653         [BZ #12814]
43654         * iconvdata/Makefile (tests): Add bug-iconv9.
43655         * iconvdata/bug-iconv9.c: New file.
43656
43657 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43658
43659         [BZ #12814]
43660         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43661
43662 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43663
43664         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43665         (struct user_regs_struct): Change intcs field back to cs.
43666
43667 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43668
43669         * po/ja.po: Update from translation team.
43670
43671 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43672
43673         [BZ #12795]
43674         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43675         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43676
43677 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43678
43679         * stdlib/longlong.h: Update from GCC.
43680
43681 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43682
43683         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43684         parameter name.
43685         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43686         Add parameter name.
43687         (__sysconf): Pass it down.
43688
43689 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43690
43691         [BZ #12671]
43692         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43693         some situations.
43694         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43695         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43696         add in in __libc_use_alloca calls.  Adjust callers.
43697         (glob): Use malloc in some situations.
43698
43699         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43700         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43701         pltexit.
43702
43703 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43704
43705         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43706         and CLOCK_BOOTTIME_ALARM.
43707
43708         [BZ #12782]
43709         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43710         is returned.
43711
43712         * string/_strerror.c (__strerror_r): Print negative errors as signed
43713         numbers.
43714
43715         [BZ #12777]
43716         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43717         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43718         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43719
43720         * configure.in: Fix typo in redirection and correct removal of test
43721         files in two cases.
43722
43723         [BZ #12788]
43724         * locale/setlocale.c (new_composite_name): Fix test to check for
43725         identical name of all categories.
43726
43727         [BZ #12792]
43728         * libio/filedoalloc.c (local_isatty): New function.
43729         (_IO_file_doallocate): Use local_isatty.
43730         * stdio-common/perror.c (perror): In case a new stream is used
43731         forward the stream error.
43732         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43733         error flag.
43734
43735 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43736
43737         [BZ #11869]
43738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43739         alloca.
43740         * include/alloca.h (extend_alloca_account): Define.
43741
43742         [BZ #11857]
43743         * posix/regex.h: Fix comments with documentation of user-accessible
43744         fields after compilation and describe correct free'ing of pattern
43745         after re_compile_pattern.
43746         Patch by Reuben Thomas <rrt@sc3d.org>.
43747
43748 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43749
43750         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43751         and -mno-altivec to prevent the compiler from using Altivec and/or
43752         VSX instructions when the corresponding registers are not available.
43753
43754 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43755
43756         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43757
43758 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43759
43760         * libio/freopen.c (freopen): Use __dup2, not dup2.
43761         * libio/freopen64.c (freopen64): Likewise.
43762
43763 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43764
43765         [BZ #12775]
43766         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43767         * math/Makefile (tests): Add test-powl.
43768         (CFLAGS-test-powl.c): Define.
43769         * math/test-powl.c: New file.
43770
43771 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43772
43773         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43774
43775 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43776
43777         [BZ #11837]
43778         * iconvdata/gb18030.c: Update to GB18020-2005.
43779
43780 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43781
43782         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43783         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43784         Patch by Aharon Robbins <arnold@skeeve.com>.
43785
43786         [BZ #11892]
43787         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43788         on the stack.
43789
43790         [BZ #11895]
43791         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43792         through underflows.
43793
43794         [BZ #12766]
43795         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43796         point to strings before performing equality test for error_one_per_line
43797         mode.
43798
43799         [BZ #11697]
43800         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43801
43802         [BZ #11820]
43803         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43804         (struct user_fpregs_struct): Avoid __uint*_t types.
43805
43806         [BZ #6420]
43807         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43808         symbol info.  Use it instead of calling _dl_addr locally.
43809         (lock_and_info): New function.
43810         (tr_freehook): Call lock_and_info and pass symbol info as additional
43811         parameter to tr_where.
43812         (tr_mallochook): Likewise.
43813         (tr_reallochook): Likewise.
43814         (tr_memalignhook): Likewise.
43815
43816         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43817         used and couldn't be at all thread-safe.
43818
43819 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43820
43821         * libio/freopen.c (freopen): Don't close old file descriptor
43822         before the new one is opened.  Instead dup the new file descriptor
43823         to the old one after the new stream is created.
43824         * libio/freopen64.c (freopen64): Likewise.
43825         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43826         * libio/fileops.c (_IO_new_file_close_it): Handle new
43827         _IO_FLAGS2_NOCLOSE flag.
43828         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43829         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43830         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43831         _IO_FLAGS2_NOCLOSE flag.
43832         * include/unistd.h: Add hidden_proto for dup3.
43833         Define __have_dup3.
43834         * io/dup3.c: Define hidden symbol.
43835         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43836
43837         [BZ #7101]
43838         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43839         when an incomplete long option is used.
43840         * posix/tst-getopt_long1.c: New file.
43841         * posix/Makefile (tests): Add tst-getopt_long1.
43842
43843         [BZ #10138]
43844         * scripts/config.guess: Update from autoconf-2.68.
43845         * scripts/config.sub: Likewise.
43846
43847         [BZ #10157]
43848         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43849         tests into ...
43850         (has_cpuclock): ...this.  New function.
43851         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43852         macro here based on has_cpuclock code.
43853
43854         [BZ #10149]
43855         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43856         First byte (not low byte) is now always NUL.
43857         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43858
43859         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43860         Use non-cancelable interfaces.
43861
43862         [BZ #9809]
43863         * locale/iso-639.def: Add entry for Sorani.
43864
43865         [BZ #11901]
43866         * include/stdlib.h: Move include protection to the right place.
43867         Define abort_msg_s.  Declare __abort_msg with it.
43868         * stdlib/abort.c (__abort_msg): Adjust type.
43869         * assert/assert.c (__assert_fail_base): New function.  Majority
43870         of code from __assert_fail.  Allocate memory for __abort_msg with
43871         mmap.
43872         (__assert_fail): Now call __assert_fail_base.
43873         * assert/assert-perr.c: Remove bulk of implementation.  Use
43874         __assert_fail_base.
43875         * include/assert.hL Declare __assert_fail_base.
43876         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43877         mmap.
43878         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43879
43880 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43881
43882         [BZ #11952]
43883         [BZ #12453]
43884         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43885         until all modules are registered in the DTV.
43886         * elf/Makefile: Add rules to build and run tst-tls19.
43887         * elf/tst-tls19.c: New file.
43888         * elf/tst-tls19mod1.c: New file.
43889         * elf/tst-tls19mod2.c: New file.
43890         * elf/tst-tls19mod3.c: New file.
43891         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43892
43893         [BZ #12083]
43894         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43895         correctly.
43896
43897         [BZ #12601]
43898         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43899         two-byte sequence errors.
43900         * iconvdata/Makefile (tests): Add bug-iconv8.
43901         * iconvdata/bug-iconv8.c: New file.
43902
43903         [BZ #12626]
43904         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43905         buf2 definition.
43906
43907         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43908
43909         [BZ #12432]
43910         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43911         (dummy_getcfa): New function.
43912         (init): Get _Unwind_GetCFA address, use dummy if not found.
43913         (backtrace_helper): In recursion check, also check whether CFA changes.
43914         (__backtrace): Completely initialize arg.
43915
43916         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43917         storing incomplete byte sequence in state object.  Avoid testing for
43918         guaranteed too small input if we know there is enough data available.
43919
43920 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43921
43922         * Makeconfig (+link-pie): Indent.
43923         * Rules (binaries-pie): Define if $(have-fpie) and
43924         $(build-shared).
43925         (binaries-shared): Also filter out $(binaries-pie).
43926         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43927         * nscd/Makefile (others-pie): Add nscd.
43928         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43929         ($(objpfx)nscd): Remove command override.
43930         * login/Makefile (others-pie): Add pt_chown.
43931         ($(objpfx)pt_chown): Remove command override.
43932         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43933         remove command overrides.
43934
43935 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43936
43937         * libio/tst_putwc.c: Fix error messages.
43938
43939         [BZ #12724]
43940         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43941         currently writing and seek to current position when not.
43942         * libio/Makefile (tests): Add bug-fclose1.
43943         * libio/bug-fclose1.c: New file.
43944
43945 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43946
43947         [BZ #12511]
43948         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43949         don't set DF_1_NODELETE here.
43950         (do_lookup_x): When entering new entry test for copy relocation
43951         and if necessary set DF_1_NODELETE flag.
43952         * elf/tst-unique4.cc: New file.
43953         * elf/tst-unique4.h: New file.
43954         * elf/tst-unique4lib.cc: New file.
43955         * elf/Makefile: Add rules to build and run tst-unique4.
43956         Patch by Piotr Bury <pbury@goahead.com>.
43957
43958 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43959
43960         [BZ #12052]
43961         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43962
43963         [BZ #12625]
43964         * misc/mntent_r.c (addmntent): Flush the stream after the output
43965
43966         [BZ #12393]
43967         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43968         (is_trusted_path_normalize): Skip initial colon.  Append slash
43969         to empty buffer.  Duplicate is_trusted_path code but allow
43970         constructed patch to be prefix.
43971         (is_dst): Allow $ORIGIN followed by /.
43972         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43973         Correct testing of result of is_trusted_path_normalize
43974         (decompose_rpath): Fix warning.
43975
43976 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43977
43978         [BZ #11257]
43979         * grp/initgroups.c (internal_getgrouplist): When we found the service
43980         list through the initgroups entry in nsswitch.conf do not always
43981         continue on a successful lookup.  Don't always use the
43982         __nss_group_database value if it is set.
43983         * nss/nsswitch.conf (initgroups): Change action for successful db
43984         lookup to continue for compatibility.
43985
43986 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43987
43988         [BZ #11532]
43989         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43990         and CP774 modules.
43991         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43992         and CP774 modules.
43993         * iconvdata/tst-tables.sh: Likewise.
43994         * iconvdata/cp770.c: New file.
43995         * iconvdata/cp771.c: New file.
43996         * iconvdata/cp772.c: New file.
43997         * iconvdata/cp773.c: New file.
43998         * iconvdata/cp774.c: New file.
43999         * iconvdata/testdata/CP770: New file.
44000         * iconvdata/testdata/CP770..UTF8: New file.
44001         * iconvdata/testdata/CP771: New file.
44002         * iconvdata/testdata/CP771..UTF8: New file.
44003         * iconvdata/testdata/CP772: New file.
44004         * iconvdata/testdata/CP772..UTF8: New file.
44005         * iconvdata/testdata/CP773: New file.
44006         * iconvdata/testdata/CP773..UTF8: New file.
44007         * iconvdata/testdata/CP774: New file.
44008         * iconvdata/testdata/CP774..UTF8: New file.
44009
44010         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44011         END CHARMAP line.
44012         * iconvdata/gen-8bit-gap.sh: Likewise.
44013         * iconvdata/gen-8bit.sh: Likewise.
44014
44015         * locale/iso-639.def: Add ary entry.
44016
44017         [BZ #11258]
44018         * locale/C-translit.h.in: Add U20A1 transliteration.
44019
44020         [BZ #12178]
44021         * locale/iso-639.def: Add wae entry.
44022         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44023
44024         [BZ #12545]
44025         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44026         for n.
44027
44028         [BZ #12711]
44029         * locale/C-translit.h.in: Add entry for U20B9.
44030         Patch by pravin.d.s@gmail.com.
44031
44032 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44033
44034         [BZ #12713]
44035         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44036         ENAMETOOLONG use generic getcwd.
44037         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44038         in rtld.  Use *stat64.
44039         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44040         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44041         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44042         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44043         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44044         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44045         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44046         __fstatat64 macros.
44047         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44048         * dirent/rewinddir.c: Add libc_hidden_def.
44049         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44050         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44051
44052         * include/dirent.h (__alloc_dir): Add flags parameter.
44053         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44054         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44055         __alloc_dir.
44056         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44057         from fdopendir if O_CLOEXEC is already set.
44058
44059 2011-03-15  Alan Modra  <amodra@gmail.com>
44060
44061         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44062         l_tls_firstbyte_offset non-zero.  Save padding offset in
44063         l_tls_firstbyte_offset for later use.
44064         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44065         freeing static tls block.
44066
44067 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44068
44069         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44070         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44071         being defined by the kernel headers.
44072
44073 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44074
44075         [BZ #12734]
44076         * resolv/resolv.h: Define RES_NOTLDQUERY.
44077         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44078         no-tld-query and set RES_NOTLDQUERY.
44079         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44080         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44081         modern BIND to search name as TLD unless forbidden.
44082
44083 2011-05-07  Petr Baudis  <pasky@suse.cz>
44084             Ulrich Drepper  <drepper@gmail.com>
44085
44086         [BZ #12393]
44087         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44088         (is_trusted_path): ...to here.
44089         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44090         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44091         using is_trusted_path_normalize() in setuid scripts.
44092
44093 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44094
44095         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44096         __BEGIN/__END_DECLS.
44097
44098 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44099
44100         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44101         NSS_STATUS_NOTFOUND if no record was found.
44102
44103 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44104
44105         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44106         (headers-not-in-tirpc): Remove rpc/netdb.h
44107         * resolv/netdb.h: Revert last change.
44108
44109 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44110
44111         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44112         circular dependency between libgcc.a and libc.a.
44113
44114 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44115
44116         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44117         * nis/Makefile: Don't install rpcsvc/*.
44118         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44119         instead of <rpc/types.h>.
44120         (MAXHOSTNAMELEN): Define.
44121
44122 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44123
44124         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44125
44126 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44127
44128         [BZ #12714]
44129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44130         gethostbyname4_r when IPv6 results are possible.
44131
44132 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44133
44134         [BZ #12723]
44135         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44136         _PC_PIPE_BUF handling.
44137
44138 2011-04-30  Bruno Haible  <bruno@clisp.org>
44139
44140         [BZ #12717]
44141         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44142         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44143         to 'int'.
44144         * inet/getnameinfo.c (getnameinfo): Likewise.
44145
44146 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44147
44148         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44149         to groups setting in database lookup.
44150         * nss/nsswitch.conf: Add initgroups entry.
44151
44152 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44153
44154         [BZ #12685]
44155         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44156         mode string.
44157         Patch by Eric Blake <eblake@redhat.com>.
44158
44159 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44160
44161         * sunrpc/Makefile (need-export-routines): Add svc_run.
44162         (routines): Remove svc_run.
44163         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44164         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44165         * sunrpc/svc_run.c (svc_run): Likewise.
44166         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44167
44168 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44169
44170         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44171         problem in reallocation in last patch.
44172
44173 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44174
44175         * sunrpc/Makefile: Move inclusion of Rules.
44176
44177 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44178
44179         * nss/nss_files/files-initgroups.c: New file.
44180         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44181         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44182         _nss_files_initgroups_dyn.
44183
44184 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44185
44186         * elf/elf.h (R_ARM_IRELATIVE): Define.
44187
44188 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44189
44190         * po/ru.po: Update from translation team.
44191
44192 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44193
44194         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44195         dependencies.
44196
44197 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44198
44199         [BZ #12653]
44200         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44201         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44202         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44204         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44205
44206 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44207
44208         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44209         differing bytes.
44210         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44211         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44212         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44213
44214 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44215
44216         [BZ #12420]
44217         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44218         storing it.
44219         * stdlib/bug-getcontext.c: New file.
44220         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44221
44222 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44223
44224         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44225         instructions into .machine "z9-109".
44226         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44227         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44228
44229 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44230
44231         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44232         between environment variables and auxiliary vector.
44233
44234 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44235
44236         * Makefile: Add rules to build linkobj/libc.so.
44237         * include/libc-symbols.h: Define libc_hidden_nolink.
44238         * include/rpc/auth.h: Mark functions which are to be hidden.
44239         * include/rpc/auth_des.h: Likewise.
44240         * include/rpc/auth_unix.h: Likewise.
44241         * include/rpc/clnt.h: Likewise.
44242         * include/rpc/des_crypt.h: Likewise.
44243         * include/rpc/key_prot.h: Likewise.
44244         * include/rpc/pmap_clnt.h: Likewise.
44245         * include/rpc/pmap_prot.h: Likewise.
44246         * include/rpc/pmap_rmt.h: Likewise.
44247         * include/rpc/rpc_msg.h: Likewise.
44248         * include/rpc/svc.h: Likewise.
44249         * include/rpc/svc_auth.h: Likewise.
44250         * include/rpc/xdr.h: Likewise.
44251         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44252         * nss/Makefile: Likewise.
44253         * sunrpc/Makefile: Don't install headers.  Build library with normal
44254         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44255         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44256         for the compat linking library.  Remove use of INTDEF/INTUSE.
44257         * sunrpc/auth_none.c: Likewise.
44258         * sunrpc/auth_unix.c: Likewise.
44259         * sunrpc/authdes_prot.c: Likewise.
44260         * sunrpc/authuxprot.c: Likewise.
44261         * sunrpc/clnt_gen.c: Likewise.
44262         * sunrpc/clnt_perr.c: Likewise.
44263         * sunrpc/clnt_raw.c: Likewise.
44264         * sunrpc/clnt_simp.c: Likewise.
44265         * sunrpc/clnt_tcp.c: Likewise.
44266         * sunrpc/clnt_udp.c: Likewise.
44267         * sunrpc/clnt_unix.c: Likewise.
44268         * sunrpc/des_crypt.c: Likewise.
44269         * sunrpc/des_soft.c: Likewise.
44270         * sunrpc/get_myaddr.c: Likewise.
44271         * sunrpc/key_call.c: Likewise.
44272         * sunrpc/key_prot.c: Likewise.
44273         * sunrpc/netname.c: Likewise.
44274         * sunrpc/pm_getmaps.c: Likewise.
44275         * sunrpc/pm_getport.c: Likewise.
44276         * sunrpc/pmap_clnt.c: Likewise.
44277         * sunrpc/pmap_prot.c: Likewise.
44278         * sunrpc/pmap_prot2.c: Likewise.
44279         * sunrpc/pmap_rmt.c: Likewise.
44280         * sunrpc/publickey.c: Likewise.
44281         * sunrpc/rpc_cmsg.c: Likewise.
44282         * sunrpc/rpc_common.c: Likewise.
44283         * sunrpc/rpc_dtable.c: Likewise.
44284         * sunrpc/rpc_prot.c: Likewise.
44285         * sunrpc/rpc_thread.c: Likewise.
44286         * sunrpc/rtime.c: Likewise.
44287         * sunrpc/svc.c: Likewise.
44288         * sunrpc/svc_auth.c: Likewise.
44289         * sunrpc/svc_authux.c: Likewise.
44290         * sunrpc/svc_raw.c: Likewise.
44291         * sunrpc/svc_run.c: Likewise.
44292         * sunrpc/svc_simple.c: Likewise.
44293         * sunrpc/svc_tcp.c: Likewise.
44294         * sunrpc/svc_udp.c: Likewise.
44295         * sunrpc/svc_unix.c: Likewise.
44296         * sunrpc/svcauth_des.c: Likewise.
44297         * sunrpc/xcrypt.c: Likewise.
44298         * sunrpc/xdr.c: Likewise.
44299         * sunrpc/xdr_array.c: Likewise.
44300         * sunrpc/xdr_float.c: Likewise.
44301         * sunrpc/xdr_intXX_t.c: Likewise.
44302         * sunrpc/xdr_mem.c: Likewise.
44303         * sunrpc/xdr_rec.c: Likewise.
44304         * sunrpc/xdr_ref.c: Likewise.
44305         * sunrpc/xdr_sizeof.c: Likewise.
44306         * sunrpc/xdr_stdio.c: Likewise.
44307
44308 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44309
44310         [BZ #12650]
44311         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44312         * sysdeps/ia64/dl-tls.h: Likewise.
44313         * sysdeps/powerpc/dl-tls.h: Likewise.
44314         * sysdeps/s390/dl-tls.h: Likewise.
44315         * sysdeps/sh/dl-tls.h: Likewise.
44316         * sysdeps/sparc/dl-tls.h: Likewise.
44317         * sysdeps/x86_64/dl-tls.h: Likewise.
44318         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44319
44320 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44321
44322         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44323         rpath element also skip the following colon.
44324         (expand_dynamic_string_token): Add is_path parameter and pass
44325         down to DL_DST_REQUIRED and _dl_dst_substitute.
44326         (decompose_rpath): Call expand_dynamic_string_token with
44327         non-zero is_path.  Ignore empty rpaths.
44328         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44329         with zero is_path.
44330
44331 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44332
44333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44334         Make cancelable.
44335
44336 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44337
44338         [BZ #12655]
44339         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44340         Patch by Filipe David Manana <fdmanana@apache.org>.
44341
44342 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44343
44344         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44345         Maintain aligned stack.
44346         (CHECK_RSP): Remove unused macro.
44347
44348 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44349
44350         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44351         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44352
44353 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44354
44355         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44356
44357         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44358
44359 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44360
44361         [BZ #12518]
44362         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44363         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44364         * sysdeps/x86_64/memmove.c: New file.
44365         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44366         (memcpy): Renamed to ...
44367         (__new_memcpy): This.
44368         (memcpy): Provide GLIBC_2_14 memcpy.
44369         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44370         (memcpy): Provide GLIBC_2_2_5 memcpy.
44371
44372 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44373
44374         [BZ #12631]
44375         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44376
44377 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44378
44379         * misc/syncfs.c: New file.
44380         * misc/Makefile (routines): Add syncfs.
44381         * posix/unistd.h: Declare syncfs.
44382         * sysdeps/unix/syscalls.list: Add syncfs.
44383
44384 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44385
44386         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44387         open_by_handle_at.
44388         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44389         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44391         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44393         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44394         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44395
44396 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44397
44398         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44399         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44400         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44401         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44402         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44403         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44404         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44405
44406         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44407         sync_file_range.c with -fexceptions.
44408         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44409         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44410         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44411         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44412         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44413         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44414         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44415         sync_file_range as cancellation point
44416         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44417         now a wrapper around __call_sync_file_range with cancellation handling.
44418         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44419         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44420         function name to __call_sync_file_range.
44421         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44422         Add call_sync_file_range.
44423
44424 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44425
44426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44427         bits/timex.h.
44428
44429 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44430
44431         * iconv/iconv.h: Fix typo in comment.
44432         * io/fcntl.h: Likewise.
44433         * libio/stdio.h: Likewise.
44434         * posix/spawn.h: Likewise.
44435         * posix/unistd.h: Likewise.
44436         * stdlib/stdlib.h: Likewise.
44437         * time/time.h: Likewise.
44438         * wcsmbs/wchar.h: Likewise.
44439
44440         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44441         open_by_handle): Add.
44442         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44443         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44444         Augment a few comments.
44445         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44447         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44449         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44450         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44451         open_by_handle.
44452
44453         * io/fcntl.h (AT_EMPTY_PATH): Define.
44454
44455 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44456
44457         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44458         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44459         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44460         to...
44461         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44462         * Versions.def: Add GLIBC_2.14.
44463         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44464         Export.
44465
44466 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44467
44468         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44469         round counter.
44470         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44471
44472 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44473
44474         [BZ #12597]
44475         * string/test-strncmp.c (do_page_test): New function.
44476         (check2): Likewise.
44477         (test_main): Call check2.
44478         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44479
44480 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44481
44482         [BZ #12587]
44483         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44484         Handle cache information in CPU leaf 4.
44485         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44486
44487 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44488
44489         [BZ #12583]
44490         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44491         character representation.
44492         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44493
44494 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44495
44496         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44497         END(__isnan) to END(__isnanf) to match function entry point/label
44498         EALIGN(__isnanf,...).
44499
44500 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44501
44502         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44503
44504 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44505
44506         [BZ #12510]
44507         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44508         copy from the symbol referenced in the relocation to initialize the
44509         used variable.
44510         Patch by Piotr Bury <pbury@goahead.com>.
44511         * elf/Makefile: Add rules to build and tst-unique3.
44512         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44513         * elf/tst-unique3.cc: New file.
44514         * elf/tst-unique3.h: New file.
44515         * elf/tst-unique3lib.cc: New file.
44516         * elf/tst-unique3lib2.cc: New file.
44517
44518         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44519
44520 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44521
44522         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44523         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44524         to _start.
44525
44526 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44527
44528         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44529         to-be-loaded object along a path to loader is ld.so.
44530
44531 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44532             Ulrich Drepper  <drepper@gmail.com>
44533
44534         * sysdeps/x86_64/memset.S: After aligning destination, code
44535         branches to different locations depending on the value of
44536         misalignment, when multiarch is enabled. Fix this.
44537
44538 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44539
44540         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44541         Set _x86_64_preferred_memory_instruction for AMD processsors.
44542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44543         Set bit_Prefer_SSE_for_memop for AMD processors.
44544
44545 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44546
44547         * libio/fmemopen.c (fmemopen): Optimize a bit.
44548
44549 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44550
44551         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44552
44553 2011-03-03  Roland McGrath  <roland@redhat.com>
44554
44555         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44556
44557 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44558
44559         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44560         __bzero_ultra1 instead of __memset_ultra1.
44561
44562 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44563             Ulrich Drepper  <drepper@gmail.com>
44564
44565         [BZ #12509]
44566         * include/link.h (struct link_map): Add l_orig_initfini.
44567         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44568         returning unsuccessfully.
44569         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44570         close of a file loaded at startup, restore the original l_initfini
44571         list.
44572         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44573         list, store the pointer.
44574         * elf/Makefile ($(objpfx)noload-mem): New rule.
44575         (noload-ENV): Define.
44576         (tests): Add $(objpfx)noload-mem.
44577         * elf/noload.c: Include <memcheck.h>.
44578         (main): Call mtrace.  Close all opened handles.
44579
44580 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44581
44582         [BZ #12454]
44583         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44584         dependencies are missing.
44585
44586 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44587
44588         Fix __if_freereq crash: Unlike the generic version which uses free,
44589         Hurd needs munmap.
44590         * sysdeps/mach/hurd/ifreq.h: New file.
44591
44592 2011-01-27  Petr Baudis  <pasky@suse.cz>
44593             Ulrich Drepper  <drepper@gmail.com>
44594
44595         [BZ 12445]#
44596         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44597         to extend_alloca().
44598         * stdio-common/bug23.c: New file.
44599         * stdio-common/Makefile (tests): Add bug23.
44600
44601 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44602             Ulrich Drepper  <drepper@gmail.com>
44603
44604         [BZ #12489]
44605         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44606         before performing relro protection.  At old place add assertion
44607         to make sure nothing changed.
44608
44609 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44610             Glauber de Oliveira Costa  <glommer@gmail.com>
44611
44612         * elf/elf.h: Add new ARM TLS relocs.
44613
44614 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44615
44616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44617         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44618         cast from r3.
44619         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44620         'tests' variable.
44621         * sysdeps/wordsize-64/tst-writev.c: New file.
44622
44623 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44624
44625         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44626         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44627         insns in _dl_start to prevent a TOC reference before relocs are
44628         resolved.
44629
44630 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44631
44632         [BZ #12469]
44633         * Makeconfig: Remove RANLIB definition.
44634         * Makerules: Don't use RANLIB.
44635         * aclocal.m4: Remove ranlib test.
44636         * configure.in: No need to check for ranlib.
44637         * elf/rtld-Rules: Don't use RANLIB.
44638
44639 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44640
44641         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44642         protection macro.
44643         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44644         inclusion protection macro.
44645
44646         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44647         SIGRTMIN and SIGRTMAX and print information in that case only when
44648         SIGRTMIN is defined.
44649
44650 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44651
44652         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44653         arginfo fn returning -1.
44654
44655         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44656         and thousands string is zero terminated.
44657
44658 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44659
44660         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44661         sysdeps/unix/sysv/linux/bits/socket.h.
44662
44663 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44664
44665         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44666         (__CPU_COUNT): Remove old macros.
44667         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44668         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44669         (__CPU_ALLOC, __CPU_FREE): Add macros.
44670         (__sched_cpualloc, __sched_cpufree): Add declarations.
44671
44672 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44673
44674         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44675         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44676         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44677         (readdhstai): Return value of addhstaiX call.
44678         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44679         (addgrbyX): Return value returned by cache_addgr.
44680         (readdgrbyname): Return value returned by addgrbyX.
44681         (readdgrbygid): Likewise.
44682         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44683         (addpwbyX): Return value returned by cache_addpw.
44684         (readdpwbyname): Return value returned by addhstbyX.
44685         (readdpwbyuid): Likewise.
44686         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44687         (addservbyX): Return value returned by cache_addserv.
44688         (readdservbyname): Return value returned by addservbyX:
44689         (readdservbyport): Likewise.
44690         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44691         (addhstbyX): Return value returned by cache_addhst.
44692         (readdhstbyname): Return value returned by addhstbyX.
44693         (readdhstbyaddr): Likewise.
44694         (readdhstbynamev6): Likewise.
44695         (readdhstbyaddrv6): Likewise.
44696         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44697         (readdinitgroups): Return value returned by addinitgroupsX.
44698         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44699         (prune_cache): Keep track of timeout value of re-added entries.
44700         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44701         * nscd/nscd.h: Adjust prototypes of readd* functions.
44702
44703 2011-02-04  Roland McGrath  <roland@redhat.com>
44704
44705         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44706         (nis_stats): Likewise.
44707         * nis/nis_modify.c (nis_modify): Likewise.
44708         * nis/nis_remove.c (nis_remove): Likewise.
44709         * nis/nis_add.c (nis_add): Likewise.
44710
44711         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44712
44713         * posix/fnmatch_loop.c: Add some consts.
44714
44715         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44716
44717 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44718
44719         [BZ #12460]
44720         * config.make.in (config-cflags-novzeroupper): Define.
44721         * configure.in: Substitute libc_cv_cc_novzeroupper.
44722         * elf/Makefile (AVX-CFLAGS): Define.
44723         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44724         (CFLAGS-tst-auditmod4a.c): Likewise.
44725         (CFLAGS-tst-auditmod4b.c): Likewise.
44726         (CFLAGS-tst-auditmod6b.c): Likewise.
44727         (CFLAGS-tst-auditmod6c.c): Likewise.
44728         (CFLAGS-tst-auditmod7b.c): Likewise.
44729         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44730
44731 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44732
44733         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44734         function to the callback.
44735         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44736
44737 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44738
44739         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44740         of errno.
44741
44742 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44743
44744         [BZ #11724]
44745         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44746         of constructors.
44747         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44748         of destructors.
44749         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44750
44751         [BZ #11724]
44752         * elf/Makefile: Add rules to build and run new test.
44753         * elf/tst-initorder.c: New file.
44754         * elf/tst-initorder.exp: New file.
44755         * elf/tst-initordera1.c: New file.
44756         * elf/tst-initordera2.c: New file.
44757         * elf/tst-initordera3.c: New file.
44758         * elf/tst-initordera4.c: New file.
44759         * elf/tst-initorderb1.c: New file.
44760         * elf/tst-initorderb2.c: New file.
44761         * elf/tst-order-a1.c: New file.
44762         * elf/tst-order-a2.c: New file.
44763         * elf/tst-order-a3.c: New file.
44764         * elf/tst-order-a4.c: New file.
44765         * elf/tst-order-b1.c: New file.
44766         * elf/tst-order-b2.c: New file.
44767         * elf/tst-order-main.c: New file.
44768         New test case by George Gensure <werkt0@gmail.com>.
44769
44770 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44771
44772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44773         decoding ACE if AI_CANONIDN.
44774
44775 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44776
44777         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44778
44779 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44780
44781         * version.h (RELEASE): Bump for 2.13 release.
44782         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44783
44784         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44785
44786         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44787         MADV_NOHUGEPAGE.
44788         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44789         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44790         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44791         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44792         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44793         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44794
44795         * posix/getconf.c: Update copyright year.
44796         * catgets/gencat.c: Likewise.
44797         * csu/version.c: Likewise.
44798         * debug/catchsegv.sh: Likewise.
44799         * debug/xtrace.sh: Likewise.
44800         * elf/ldconfig.c: Likewise.
44801         * elf/ldd.bash.in: Likewise.
44802         * elf/sprof.c (print_version): Likewise.
44803         * iconv/iconv_prog.c: Likewise.
44804         * iconv/iconvconfig.c: Likewise.
44805         * locale/programs/locale.c: Likewise.
44806         * locale/programs/localedef.c: Likewise.
44807         * malloc/memusage.sh: Likewise.
44808         * malloc/mtrace.pl: Likewise.
44809         * nscd/nscd.c (print_version): Likewise.
44810         * nss/getent.c: Likewise.
44811
44812         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44813         PF_CAIF, and PF_ALG.
44814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44815
44816 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44817
44818         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44819         (modules-names): Use them.
44820         (ifunc-test-modules, ifunc-pie-tests): Define.
44821         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44822         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44823         (test-extras): Likewise.
44824         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44825         $(compile-command.c).
44826         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44827         (all-built-dso): Define.
44828         (check-textrel.out, check-execstack.out): Depend on it.
44829
44830         * configure.in: Don't override --enable-multi-arch.
44831
44832 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44833
44834         [BZ #6812]
44835         * nscd/hstcache.c (tryagain): Define.
44836         (cache_addhst): Return tryagain not notfound for temporary errors.
44837         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44838         failed.
44839
44840 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44841
44842         [BZ #10563]
44843         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44844         to make the syscall.
44845         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44846
44847         [BZ #12378]
44848         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44849         and fall back to matching as normal character if the string ends before
44850         the matching ']' is found.  This is what POSIX requires.
44851         * posix/testfnm.c: Adjust test result.
44852         * posix/globtest.sh: Adjust test result.  Add new test.
44853         * posix/tst-fnmatch.input: Likewise.
44854         * posix/tst-fnmatch2.c: Add new test.
44855
44856 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44857
44858         * elf/Makefile (check-execstack): Revert last change.  Depend on
44859         check-execstack.h.
44860         (check-execstack.h): New target.
44861         (generated): Add check-execstack.h.
44862         * elf/check-execstack.c: Include "check-execstack.h".
44863         (main): Revert last change.
44864         (handle_file): Return zero if GNU_STACK is absent and
44865         DEFAULT_STACK_PERMS doesn't include PF_X.
44866
44867 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44868
44869         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44870         in child fails because the descriptor is already closed.
44871         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44872         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44873         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44874
44875         [BZ #12397]
44876         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44877         syscall.
44878
44879         [BZ #10484]
44880         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44881         temporary buffer used to handle multi lookups locally.
44882         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44883
44884 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44885
44886         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44887         loader is ld.so.
44888
44889 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44890
44891         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44892         alignment for SSE2.
44893
44894 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44895
44896         [BZ #12394]
44897         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44898         characters.  When rounding increased number of integer digits recompute
44899         number of groups.
44900         * stdio-common/tst-grouping.c: New file.
44901         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44902
44903 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44904
44905         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44906         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44907
44908         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44909         void.
44910         * bits/select.h: Likewise.
44911
44912 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44913
44914         * po/ja.po: Update from translation team.
44915
44916 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44917
44918         [BZ #11155]
44919         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44920         implementation just like for lxstat, fxstatat, et al.
44921
44922 2010-12-27  Jim Meyering  <meyering@redhat.com>
44923
44924         [BZ #12348]
44925         * posix/regexec.c (build_trtable): Return failure indication upon
44926         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44927
44928 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44929
44930         [BZ #12201]
44931         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44932         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44933         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44934         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44935
44936         [BZ #12207]
44937         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44938
44939         [BZ #12204]
44940         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44941         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44942
44943 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44944
44945         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44946         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44947         script has SORT_BY_INIT_PRIORITY.
44948         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44949         NO_CTORS_DTORS_SECTIONS is defined.
44950         * elf/soinit.c: Likewise.
44951         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44952         NO_CTORS_DTORS_SECTIONS is defined.
44953         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44954         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44955         * sysdeps/sh/init-first.c: Likewise.
44956         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44957
44958 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44959
44960         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44961         always use the slow path.
44962
44963 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44964
44965         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44966         similar rule which adds the sysdep directories to the header search in
44967         order to pick up the correct platform stackinfo.h.
44968         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44969         perform test if it is, otherwise return successfully without testing.
44970         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44971         DEFAULT_STACK_PERMS define in stackinfo.h.
44972         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44973         defined in stackinfo.h.
44974         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44975         DEFAULT_STACK_PERMS defined in stackinfo.h.
44976         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44977         * sysdeps/ia64/stackinfo.h: Likewise.
44978         * sysdeps/s390/stackinfo.h: Likewise.
44979         * sysdeps/sh/stackinfo.h: Likewise.
44980         * sysdeps/sparc/stackinfo.h: Likewise.
44981         * sysdeps/x86_64/stackinfo.h: Likewise.
44982         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44983         PF_X for powerpc64.  Retain PF_X for powerpc32.
44984
44985 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44986
44987         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44988         accurately.
44989         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44990         GETDENTS_64BIT_ALIGNED.
44991
44992 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
44993
44994         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44995
44996 2010-12-10  Andreas Schwab  <schwab@redhat.com>
44997
44998         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44999         _GNU_SOURCE.
45000
45001         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45002         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45003         Remove __restrict.
45004         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45005         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45006
45007 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45008
45009         [BZ #11655]
45010         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45011         are initialized.
45012
45013 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45014
45015         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45016
45017 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45018
45019         * po/it.po: Update from translation team.
45020
45021 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45022
45023         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45024         unused codes.
45025
45026 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45027
45028         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45029
45030 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45031
45032         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45033         specially.
45034         (gaih_getanswer_slice): Likewise.
45035
45036 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45037
45038         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45039
45040 2010-05-31  Petr Baudis  <pasky@suse.cz>
45041
45042         [BZ #11149]
45043         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45044         silently even in the chroot mode.
45045
45046 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45047
45048         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45049         last patch a bit.  Pretty printing
45050
45051 2010-05-31  Petr Baudis <pasky@suse.cz>
45052
45053         [BZ #10085]
45054         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45055         initialization of skip_initgroups_dyn.
45056
45057 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45058
45059         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45060         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45061
45062 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45063
45064         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45065
45066 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45067
45068         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45069         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45070         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45071         ($(objpfx)tst-fnmatch-mem): New rule.
45072         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45073         * posix/tst-fnmatch.c (main): Call mtrace.
45074
45075 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45076
45077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45078         Support Intel processor model 6 and model 0x2c.
45079
45080 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45081
45082         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45083           signed comparison.
45084
45085 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45086
45087         [BZ #12205]
45088         * string/test-strncasecmp.c (check_result): New function.
45089         (do_one_test): Use it.
45090         (check1): New function.
45091         (test_main): Use it.
45092         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45093         Support strcasecmp and strncasecmp.
45094
45095 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45096
45097         [BZ #12194]
45098         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45099         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45100
45101 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45102
45103         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45104         IFUNC support.
45105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45106         memset-x86-64.
45107         * sysdeps/x86_64/multiarch/bzero.S: New file.
45108         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45109         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45110         * sysdeps/x86_64/multiarch/memset.S: New file.
45111         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45113         Set bit_Prefer_SSE_for_memop for Intel processors.
45114         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45115         Define.
45116         (index_Prefer_SSE_for_memop): Define.
45117         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45118
45119 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45120
45121         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45122         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45123
45124 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45125
45126         [BZ #12191]
45127         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45128         (__x86_64_raw_data_cache_size_half): Likewise.
45129         (__x86_64_raw_shared_cache_size): Likewise.
45130         (__x86_64_raw_shared_cache_size_half): Likewise.
45131
45132         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45133         (__x86_64_raw_data_cache_size_half): Likewise.
45134         (__x86_64_raw_shared_cache_size): Likewise.
45135         (__x86_64_raw_shared_cache_size_half): Likewise.
45136         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45137         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45138         and __x86_64_raw_shared_cache_size_half.  Round
45139         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45140         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45141         to multiple of 256 bytes.
45142
45143 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45144
45145         [BZ #12167]
45146         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45147         of inacessible symlinks.  Verify result of symlink before returning it.
45148         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45149         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45150
45151 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45152
45153         * math/math.h (isinf): Fix typo in comment.
45154
45155 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45156
45157         * po/da.po: Update from translation team.
45158
45159 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45160
45161         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45162         is added to the list.
45163
45164 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45165             Ulrich Drepper  <drepper@gmail.com>
45166
45167         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45168         the global list here.  Move code to...
45169         (_dl_add_to_namespace_list): ...here.  New function.
45170         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45171         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45172         * elf/dl-load.c (lose): Don't remove the element from the list.
45173         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45174         (_dl_map_object): Likewise.
45175
45176 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45177
45178         [BZ #12159]
45179         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45180         into all bytes of SSE register.
45181         Patch by Richard Li <richardpku@gmail.com>.
45182
45183 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45184
45185         [BZ #12140]
45186         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45187         perturbing.
45188
45189 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45190
45191         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45192         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45193         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45194         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45196         submachine.
45197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45198
45199 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45200
45201         * include/dlfcn.h (__RTLD_SECURE): Define.
45202         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45203         mode & __RTLD_SECURE instead.
45204         (open_path): Rename preloaded parameter to secure.
45205         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45206         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45207         * elf/dl-deps.c (openaux): Likewise.
45208         * elf/rtld.c (struct map_args): Remove is_preloaded.
45209         (map_doit): Don't use it.
45210         (dl_main): Likewise.
45211         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45212         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45213
45214 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45215
45216         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45217         (sysd-rules-targets): Remove duplicates.
45218         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45219         rtld-%.$o dependency.
45220
45221 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45222
45223         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45224         _dl_map_object do it.
45225
45226 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45227
45228         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45229         fast fma builtins, define the macros in the C99 standard.
45230         (FP_FAST_FMAF): Likewise.
45231         (FP_FAST_FMAL): Likewise.
45232         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45233
45234         * bits/mathdef.h: Update copyright year.
45235         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45236
45237 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45238
45239         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45240         builtins, define the macros in the C99 standard.
45241         (FP_FAST_FMAF): Likewise.
45242         (FP_FAST_FMAL): Likewise.
45243         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45244         multiply/add.
45245         (FP_FAST_FMAF): Likewise.
45246
45247 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45248
45249         [BZ #3268]
45250         * math/libm-test.inc (fma_test): Some new testcases.
45251         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45252         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45253         y and infinite z.  Do multiplication by C already in long double.
45254         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45256         y and infinite z.  Do bitwise or of inexact bit into u.d.
45257         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45258         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45259         * sysdeps/i386/fpu/s_fma.S: Removed.
45260         * sysdeps/i386/fpu/s_fmal.S: Removed.
45261
45262 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45263
45264         [BZ #3268]
45265         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45267         computation is not scheduled after fetestexcept.  Fix value
45268         of minimum denormal long double.
45269
45270 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45271
45272         [BZ #3268]
45273         * math/libm-test.inc (fma_test): Add some more tests.
45274         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45275         correctly.
45276
45277 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45278
45279         * scripts/data/localplt-s390-linux-gnu.data: New file.
45280         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45281
45282 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45283
45284         [BZ #3268]
45285         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45286         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45287         instead of dbl-64.
45288         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45289         inlines.
45290         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45292         if one of x and y is very large and the other is subnormal.
45293         * sysdeps/s390/fpu/s_fmaf.c: New file.
45294         * sysdeps/s390/fpu/s_fma.c: New file.
45295         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45296         * sysdeps/powerpc/fpu/s_fma.S: New file.
45297         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45298         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45299         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45300
45301 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45302
45303         [BZ #3268]
45304         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45305         fma tests.
45306         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45307         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45308         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45309         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45310         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45311         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45312         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45313
45314 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45315
45316         [BZ #12078]
45317         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45318         * posix/bug-regex31.input: Add test case.
45319
45320 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45321
45322         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45323         * posix/bug-regex31.input: New file.
45324
45325         [BZ #12078]
45326         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45327         (parse_sub_exp): Fix last change, use postorder.
45328
45329         * posix/bug-regex31.c: New file.
45330         * posix/Makefile: Add rules to build and run bug-regex31.
45331
45332         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45333
45334         [BZ #12078]
45335         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45336
45337         [BZ #12108]
45338         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45339         to have entries in sys_siglist.
45340
45341         [BZ #12093]
45342         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45343         be NULL.
45344
45345 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45346
45347         [BZ #3268]
45348         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45349         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45350         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45351         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45352         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45353         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45354         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45355         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45356         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45357         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45358         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45359         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45360         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45361         * math/ftestexcept.c (fetestexcept): Likewise.
45362         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45363         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45364         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45365         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45366         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45367         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45368         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45369
45370 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45371
45372         [BZ #12107]
45373         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45374         newline.
45375
45376 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45377
45378         * string/bug-strstr1.c: New file.
45379         * string/Makefile: Add rules to build and run bug-strstr1.
45380
45381 2010-10-05  Eric Blake  <eblake@redhat.com>
45382
45383         [BZ #12092]
45384         * string/str-two-way.h (two_way_long_needle): Always clear memory
45385         when skipping input due to the shift table.
45386
45387 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45388
45389         [BZ #12005]
45390         * malloc/mcheck.c: Handle large requests.
45391
45392         [BZ #12077]
45393         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45394         for strncmp and strncasecmp.
45395         * string/stratcliff.c: Add tests for strcmp and strncmp.
45396         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45397
45398 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45399
45400         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45401         __set_fpscr.
45402
45403 2010-09-30  Andreas Jaeger  <aj@suse.de>
45404
45405         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45406         (CGROUP_SUPER_MAGIC): Define.
45407         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45408         Handle btrfs and cgroup file systems.
45409         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45410         Likewise.
45411
45412 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45413
45414         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45415         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45416
45417 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45418
45419         [BZ #12067]
45420         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45421         trying to locate the ELF header.
45422
45423 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45424
45425         [BZ #11611]
45426         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45427         Mask out sign-bit copies when constructing f_fsid.
45428
45429 2010-09-24  Petr Baudis <pasky@suse.cz>
45430
45431         * debug/stack_chk_fail_local.c: Add missing licence exception.
45432         * debug/warning-nop.c: Likewise.
45433
45434 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45435
45436         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45437         implementing getdents64 using getdents syscall, set d_type if
45438         __ASSUME_GETDENTS32_D_TYPE.
45439
45440 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45441
45442         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45443         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45444
45445 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45446
45447         [BZ #12037]
45448         * posix/unistd.h: Undo change of feature selection for ftruncate from
45449         2010-01-11.
45450
45451 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45452
45453         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45454         detection.
45455
45456 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45457
45458         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45459         fanotify_mark.
45460         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45461
45462 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45463
45464         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45465         variables after CHECK_SP call.
45466         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45467
45468 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45469             Ulrich Drepper  <drepper@redhat.com>
45470
45471         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45472         re-relocationg ld.so.
45473         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45474         _dl_init_paths call.
45475         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45476         here anymore.
45477
45478 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45479
45480         * resolv/res_init.c (__res_vinit): Count the default server we added.
45481
45482 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45483             Ulrich Drepper  <drepper@redhat.com>
45484
45485         [BZ #11968]
45486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45487         (____longjmp_chk): Use %ebx for saving value across system call.
45488         Add unwind info.
45489
45490 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45491
45492         * manual/Makefile: Don't mix pattern rules with normal rules.
45493
45494 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45495
45496         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45497         operation.
45498         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45499         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45500         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45501         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45502         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45503         Likewise.
45504
45505 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45506
45507         [BZ #11979]
45508         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45509         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45510
45511 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45512
45513         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45514         * sysdeps/x86_64/addmul_1.S: Likewise.
45515         * sysdeps/x86_64/lshift.S: Likewise.
45516         * sysdeps/x86_64/mul_1.S: Likewise.
45517         * sysdeps/x86_64/rshift.S: Likewise.
45518         * sysdeps/x86_64/sub_n.S: Likewise.
45519         * sysdeps/x86_64/submul_1.S: Likewise.
45520
45521 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45522
45523         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45524         Define __sched_param instead of SCHED_* and sched_param when
45525         <bits/sched.h> is included with __need_schedparam defined.
45526         * bits/sched.h [__need_schedparam]
45527         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45528         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45529         (__defined_schedparam): Define to 1.
45530         (__sched_param): New structure, identical to sched_param.
45531         (__need_schedparam): Undefine.
45532
45533 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45534
45535         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45536         (epoll_create1): Declare.
45537
45538         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45539
45540 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45541
45542         [BZ #7066]
45543         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45544         shifting retval into place.
45545
45546 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45547
45548         * nis/rpcsvc/nis.h: Update copyright notice.
45549         * nis/rpcsvc/nis.x: Likewise.
45550         * nis/rpcsvc/nis_callback.h: Likewise.
45551         * nis/rpcsvc/nis_callback.x: Likewise.
45552         * nis/rpcsvc/nis_object.x: Likewise.
45553         * nis/rpcsvc/nis_tags.h: Likewise.
45554         * nis/rpcsvc/yp.h: Likewise.
45555         * nis/rpcsvc/yp.x: Likewise.
45556         * nis/rpcsvc/ypupd.h: Likewise.
45557         * nis/yp_xdr.c: Likewise.
45558         * nis/ypupdate_xdr.c: Likewise.
45559
45560         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45561         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45562         (pmap_getport): Use __libc_rpc_getport.
45563         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45564         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45565         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45566
45567 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45568
45569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45570         fanotify_mark.
45571
45572 2010-08-27  Roland McGrath  <roland@redhat.com>
45573
45574         * sysdeps/i386/i686/multiarch/Makefile
45575         (CFLAGS-varshift.c): New variable.
45576
45577 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45578
45579         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45580         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45581
45582         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45583
45584         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45585
45586 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45587
45588         * sysdeps/x86_64/strlen.S: Unroll the loop.
45589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45590         strlen-sse2 strlen-sse2-bsf.
45591         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45592         __strlen_no_bsf if bit_Slow_BSF is set.
45593         (__strlen_sse42): Removed.
45594         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45595         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45596
45597 2010-08-25  Roland McGrath  <roland@redhat.com>
45598
45599         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45600         * sysdeps/x86_64/multiarch/varshift.c: New file.
45601         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45602         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45603         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45604         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45605
45606 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45607
45608         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45609         strlen-sse2 strlen-sse2-bsf.
45610         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45611         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45612         (__strlen_sse2): Removed.
45613         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45616         bit_Slow_BSF for Atom.
45617         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45618         (index_Slow_BSF): Define.
45619         (HAS_SLOW_BSF): Define.
45620
45621 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45622
45623         [BZ #10851]
45624         * resolv/res_init.c (__res_vinit): When no server address at all
45625         is given default to loopback.
45626
45627 2010-08-24  Roland McGrath  <roland@redhat.com>
45628
45629         * configure.in: Remove config-name.h generation.
45630         * configure: Regenerated.
45631         * config-name.in: File removed.
45632         * scripts/config-uname.sh: New file.
45633         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45634         ($(objdir)config-name.h): New target.
45635
45636         * sunrpc/rpc_parse.h: Avoid nested comment.
45637
45638 2010-08-24  Richard Henderson  <rth@redhat.com>
45639             Ulrich Drepper  <drepper@redhat.com>
45640             H.J. Lu  <hongjiu.lu@intel.com>
45641
45642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45644         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45645         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45646         _mm_alignr_epi8 with _mm_loadu_si128.
45647         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45648         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45649         (__m128i_shift_right): Removed.
45650         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45651         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45652         * sysdeps/x86_64/multiarch/varshift.h: New file.
45653         * sysdeps/x86_64/multiarch/varshift.S: New file.
45654
45655 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45656
45657         * configure.in: Move assembler checks to before sysdep dir checking.
45658
45659 2010-08-20  Petr Baudis  <pasky@suse.cz>
45660
45661         * LICENSES: Sync the sunrpc license.
45662
45663 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45664
45665         * sunrpc/auth_des.c: Update copyright notice once again.
45666         * sunrpc/auth_none.c: Likewise.
45667         * sunrpc/auth_unix.c: Likewise.
45668         * sunrpc/authdes_prot.c: Likewise.
45669         * sunrpc/authuxprot.c: Likewise.
45670         * sunrpc/bindrsvprt.c: Likewise.
45671         * sunrpc/clnt_gen.c: Likewise.
45672         * sunrpc/clnt_perr.c: Likewise.
45673         * sunrpc/clnt_raw.c: Likewise.
45674         * sunrpc/clnt_simp.c: Likewise.
45675         * sunrpc/clnt_tcp.c: Likewise.
45676         * sunrpc/clnt_udp.c: Likewise.
45677         * sunrpc/clnt_unix.c: Likewise.
45678         * sunrpc/des_crypt.c: Likewise.
45679         * sunrpc/des_soft.c: Likewise.
45680         * sunrpc/get_myaddr.c: Likewise.
45681         * sunrpc/getrpcport.c: Likewise.
45682         * sunrpc/key_call.c: Likewise.
45683         * sunrpc/key_prot.c: Likewise.
45684         * sunrpc/openchild.c: Likewise.
45685         * sunrpc/pm_getmaps.c: Likewise.
45686         * sunrpc/pm_getport.c: Likewise.
45687         * sunrpc/pmap_clnt.c: Likewise.
45688         * sunrpc/pmap_prot.c: Likewise.
45689         * sunrpc/pmap_prot2.c: Likewise.
45690         * sunrpc/pmap_rmt.c: Likewise.
45691         * sunrpc/rpc/auth.h: Likewise.
45692         * sunrpc/rpc/auth_unix.h: Likewise.
45693         * sunrpc/rpc/clnt.h: Likewise.
45694         * sunrpc/rpc/des_crypt.h: Likewise.
45695         * sunrpc/rpc/key_prot.h: Likewise.
45696         * sunrpc/rpc/netdb.h: Likewise.
45697         * sunrpc/rpc/pmap_clnt.h: Likewise.
45698         * sunrpc/rpc/pmap_prot.h: Likewise.
45699         * sunrpc/rpc/pmap_rmt.h: Likewise.
45700         * sunrpc/rpc/rpc.h: Likewise.
45701         * sunrpc/rpc/rpc_des.h: Likewise.
45702         * sunrpc/rpc/rpc_msg.h: Likewise.
45703         * sunrpc/rpc/svc.h: Likewise.
45704         * sunrpc/rpc/svc_auth.h: Likewise.
45705         * sunrpc/rpc/types.h: Likewise.
45706         * sunrpc/rpc/xdr.h: Likewise.
45707         * sunrpc/rpc_clntout.c: Likewise.
45708         * sunrpc/rpc_cmsg.c: Likewise.
45709         * sunrpc/rpc_common.c: Likewise.
45710         * sunrpc/rpc_cout.c: Likewise.
45711         * sunrpc/rpc_dtable.c: Likewise.
45712         * sunrpc/rpc_hout.c: Likewise.
45713         * sunrpc/rpc_main.c: Likewise.
45714         * sunrpc/rpc_parse.c: Likewise.
45715         * sunrpc/rpc_parse.h: Likewise.
45716         * sunrpc/rpc_prot.c: Likewise.
45717         * sunrpc/rpc_sample.c: Likewise.
45718         * sunrpc/rpc_scan.c: Likewise.
45719         * sunrpc/rpc_scan.h: Likewise.
45720         * sunrpc/rpc_svcout.c: Likewise.
45721         * sunrpc/rpc_tblout.c: Likewise.
45722         * sunrpc/rpc_util.c: Likewise.
45723         * sunrpc/rpc_util.h: Likewise.
45724         * sunrpc/rpcinfo.c: Likewise.
45725         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45726         * sunrpc/rpcsvc/key_prot.x: Likewise.
45727         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45728         * sunrpc/rpcsvc/mount.x: Likewise.
45729         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45730         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45731         * sunrpc/rpcsvc/rex.x: Likewise.
45732         * sunrpc/rpcsvc/rstat.x: Likewise.
45733         * sunrpc/rpcsvc/rusers.x: Likewise.
45734         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45735         * sunrpc/rpcsvc/spray.x: Likewise.
45736         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45737         * sunrpc/rtime.c: Likewise.
45738         * sunrpc/svc.c: Likewise.
45739         * sunrpc/svc_auth.c: Likewise.
45740         * sunrpc/svc_authux.c: Likewise.
45741         * sunrpc/svc_raw.c: Likewise.
45742         * sunrpc/svc_run.c: Likewise.
45743         * sunrpc/svc_simple.c: Likewise.
45744         * sunrpc/svc_tcp.c: Likewise.
45745         * sunrpc/svc_udp.c: Likewise.
45746         * sunrpc/svc_unix.c: Likewise.
45747         * sunrpc/svcauth_des.c: Likewise.
45748         * sunrpc/xcrypt.c: Likewise.
45749         * sunrpc/xdr.c: Likewise.
45750         * sunrpc/xdr_array.c: Likewise.
45751         * sunrpc/xdr_float.c: Likewise.
45752         * sunrpc/xdr_mem.c: Likewise.
45753         * sunrpc/xdr_rec.c: Likewise.
45754         * sunrpc/xdr_ref.c: Likewise.
45755         * sunrpc/xdr_sizeof.c: Likewise.
45756         * sunrpc/xdr_stdio.c: Likewise.
45757
45758         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45759         handling.
45760
45761 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45762
45763         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45764
45765 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45766
45767         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45768         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45769         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45770         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45771         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45772         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45773         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45774         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45775         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45776         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45777         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45778         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45779         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45780         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45781
45782 2010-07-26  Anton Blanchard  <anton@samba.org>
45783
45784         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45785         * malloc/arena.c (heap_trim): Likewise.
45786
45787 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45788
45789         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45790         here.  Not...
45791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45792         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45793
45794 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45795
45796         * sysdeps/i386/elf/Makefile: New file.
45797
45798 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45799
45800         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45801         from fanotify_init.
45802         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45803         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45804
45805 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45806
45807         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45808         of strncasecmp_l.
45809         * sysdeps/multiarch/strcmp.S: Likewise.
45810
45811 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45812
45813         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45814         strncase_l-nonascii.
45815         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45816         Add strncase_l-ssse3.
45817         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45818         * sysdeps/x86_64/strcmp.S: Likewise.
45819         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45820         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45821         * sysdeps/x86_64/strncase.S: New file.
45822         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45823         * sysdeps/x86_64/strncase_l.S: New file.
45824         * string/Makefile (strop-tests): Add strncasecmp.
45825         * string/test-strncasecmp.c: New file.
45826
45827         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45828         warning.
45829
45830         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45831         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45832
45833 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45834
45835         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45836
45837 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45838
45839         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45840         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45841         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45842
45843 2010-05-01  Alan Modra  <amodra@gmail.com>
45844
45845         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45846         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45847         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45848         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45849         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45850         tidying.  Don't tail-call __sigjmp_save for static lib.
45851         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45852         save location.
45853         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45854         (CALL_MCOUNT): Add eh info, and nop after bl.
45855         (TAIL_CALL_SYSCALL_ERROR): New macro.
45856         (PSEUDO_RET): Use it.
45857         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45858         Correct save location of integer regs and cr.
45859         (_dl_profile_resolve): Correct cr save location.  Delete nops
45860         after bl when SHARED.  Reduce cfi size a little by better
45861         placement of cfi directives.
45862         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45863         make a stack frame.  Instead use parm save area as a temp.
45864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45865         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45867         Don't make a stack frame for parent, use parm save area.
45868         Increase child stack frame to 112 bytes.  Don't save unused reg,
45869         and adjust reg usage.  Set up cfi on error recovery and
45870         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45872         (__makecontext): Add dummy nop after jump to exit.
45873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45874         Use correct parm save area and cr save, reduce stack frame.
45875         Correct cfi for possible PSEUDO_RET frame setup.
45876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45877         Branch to local label emitted by PSEUDO_RET rather than
45878         __syscall_error.
45879
45880 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45881
45882         [BZ #11904]
45883         * locale/programs/locale.c (print_assignment): New function.
45884         (show_locale_vars): Use it.
45885
45886 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45887
45888         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45889         field.
45890         (struct statfs64): Likewise.
45891         (_STATFS_F_FLAGS): Define.
45892         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45893         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45894         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45895         (ST_VALID): Define locally.
45896         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45897         __statvfs_getflags, use the provided value.
45898         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45899         __ASSUME_STATFS_F_FLAGS.
45900
45901         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45902
45903         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45904         Add sys/fanotify.h.
45905         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45906         fanotify_mask for GLIBC_2.13.
45907         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45908         fanotify_init and fanotify_mark.
45909         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45910         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45911
45912         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45913         Add prlimit.
45914         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45915         prlimit64 for GLIBC_2.13.
45916         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45917         prlimit64.
45918         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45919         syscall.
45920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45921         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45922         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45923         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45924         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45925         add prlimit alias.
45926         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45927
45928         [BZ #11903]
45929         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45930         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45931
45932         * nss/Makefile: Add rules to build and run tst-nss-test1.
45933         * shlib-versions: Add entry for libnss_test1.
45934         * nss/nss_test1.c: New file.
45935         * nss/tst-nss-test1.c: New file.
45936
45937         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45938         (__nss_configure_lookup): Set appropriate entry in
45939         __nss_configure_lookup to true.
45940         * nss/nsswitch.h: Define enum with indeces of databases in
45941         databases and __nss_database_custom arrays.  Declare
45942         __nss_database_custom.
45943         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45944         to avoid using nscd when custom rules are installed.
45945         * nss/getXXbyYY_r.c: Likewise.
45946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45947
45948         * nss/nss_files/files-parse.c: Whitespace fixes.
45949
45950 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45951
45952         [BZ #11883]
45953         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45954         * posix/fnmatch_loop.c: Likewise.
45955
45956 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45957
45958         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45959         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45960         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45961         * Versions.def [GLIBC_2.13]: Add.
45962
45963 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45964
45965         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45966         Also fail if tpwd after pwuid call is NULL.
45967
45968 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45969
45970         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45971         when converting to ms.
45972
45973 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45974
45975         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45976         EOPNOTSUPP errors with ENOTTY.
45977         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45978         EOPNOTSUPP errors with ENOTTY.
45979
45980 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45981
45982         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45983         Add strcasecmp_l-ssse3.
45984         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45985         strcasecmp.
45986         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45987         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45988         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45989
45990 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45991
45992         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45993
45994         * string/Makefile (strop-tests): Add strcasecmp.
45995         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45996         strcasecmp_l-nonascii.
45997         (gen-as-const-headers): Add locale-defines.sym.
45998         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45999         * sysdeps/x86_64/strcasecmp.S: New file.
46000         * sysdeps/x86_64/strcasecmp_l.S: New file.
46001         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46002         * sysdeps/x86_64/locale-defines.sym: New file.
46003         * string/test-strcasecmp.c: New file.
46004
46005         * string/test-strcasestr.c: Test both ends of the range of characters.
46006         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46007
46008 2010-07-29  Roland McGrath  <roland@redhat.com>
46009
46010         [BZ #11856]
46011         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46012
46013 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46014
46015         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46016         for ld.so.
46017
46018 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46019
46020         * manual/memory.texi (Malloc Tunable Parameters): Document
46021         M_PERTURB.
46022
46023 2010-07-26  Roland McGrath  <roland@redhat.com>
46024
46025         [BZ #11840]
46026         * configure.in (-fgnu89-inline check): Set and substitute
46027         gnu89_inline, not libc_cv_gnu89_inline.
46028         * configure: Regenerated.
46029         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46030
46031 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46032
46033         * string/test-strnlen.c: New file.
46034         * string/Makefile (strop-tests): Add strnlen.
46035         * string/tester.c (test_strnlen): Add a few more test cases.
46036         * string/tst-strlen.c: Better error reporting.
46037
46038         * sysdeps/x86_64/strnlen.S: New file.
46039
46040 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46041
46042         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46043         lower-latency instructions.
46044
46045 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46046
46047         * string/test-strcasestr.c: New file.
46048         * string/test-strstr.c: New file.
46049         * string/Makefile (strop-tests): Add strstr and strcasestr.
46050         * string/str-two-way.h: Don't undefine MAX.
46051         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46052
46053 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46054
46055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46056         strcasestr-nonascii.
46057         (CFLAGS-strcasestr-nonascii.c): Define.
46058         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46059         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46060         Remove unused attribute.
46061
46062 2010-07-20  Roland McGrath  <roland@redhat.com>
46063
46064         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46065         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46066         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46067         like LD_HWCAP_MASK can disable hwcaps.
46068
46069 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46070
46071         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46072
46073 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46074
46075         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46076         call in strcasestr.
46077         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46078         __strcasestr_sse42_nonascii.
46079         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46080         strcasestr-nonascii.c.
46081         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46082
46083 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46084
46085         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46086         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46087         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46088         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46089
46090 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46091
46092         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46093         fcntl.
46094
46095 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46096
46097         [BZ #11577]
46098         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46099         dl_signal_cerror.
46100
46101 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46102
46103         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46104         _PC_PIPE_BUF using F_GETPIPE_SZ.
46105
46106 2010-07-05  Roland McGrath  <roland@redhat.com>
46107
46108         * manual/arith.texi (Rounding Functions): Fix rint description
46109         implicit in round description.
46110
46111 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46112
46113         * elf/Makefile: Fix linking for a few tests to make recent linker
46114         happy.
46115
46116 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46117
46118         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46119         $(common-objpfx)libc_nonshared.a.
46120
46121 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46122
46123         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46124         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46125         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46126         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46127         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46128         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46129         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46130         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46145         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46146         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46147         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46148         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46149         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46150         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46151         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46152         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46153         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46154         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46155         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46156         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46171
46172 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46173
46174         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46175         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46176         * string/memmove.c (memmove): Renamed to ...
46177         (MEMMOVE): ...this.  Default to memmove.
46178         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46179         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46180         (END_CHK): Define.
46181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46182         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46183         mempcpy-ssse3-back memmove-ssse3-back.
46184         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46185         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46186         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46187         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46188         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46189         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46190         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46191         * sysdeps/x86_64/multiarch/memmove.c: New file.
46192         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46193         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46194         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46195         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46196         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46197         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46198         Define.
46199         (index_Fast_Copy_Backward): Define.
46200         (HAS_ARCH_FEATURE): Define.
46201         (HAS_FAST_REP_STRING): Define.
46202         (HAS_FAST_COPY_BACKWARD): Define.
46203
46204 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46205
46206         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46207         Restore proper fallback handling.
46208
46209 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46210
46211         [BZ #11701]
46212         * posix/group_member.c (__group_member): Correct checking loop.
46213
46214         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46215         OOM in getpwuid_r correctly.  Return error number when the caller
46216         should return, otherwise -1.
46217         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46218         call returning > 0 value.
46219         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46220
46221 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46222
46223         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46224         libc_nonshared.a from targets in modules-names.
46225
46226 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46227
46228         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46229         requires it.
46230
46231 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46232
46233         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46234         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46235         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46236         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46237
46238 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46239
46240         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46241
46242 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46243
46244         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46245         and F_GETPIPE_SZ.
46246         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46247         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46248         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46250         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46251         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46252
46253 2010-06-14  Roland McGrath  <roland@redhat.com>
46254
46255         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46256
46257 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46258
46259         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46260         __REDIRECT followed by __THROW.
46261         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46262         * posix/getopt.h (getopt): Likewise.
46263
46264 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46265
46266         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46267         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46268         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46269         in AT_FLAGS.
46270         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46271         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46272
46273 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46274
46275         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46276
46277 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46278
46279         [BZ #11640]
46280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46281         Properly check family and model.
46282
46283 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46284
46285         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46286
46287 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46288
46289         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46290
46291 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46292
46293         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46294         symbol reference.
46295
46296 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46297
46298         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46299         symbol reference.
46300
46301 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46302
46303         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46304         and internal_recvmmsg.
46305         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46306         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46307         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46308         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46309
46310         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46311         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46312         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46313
46314 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46315
46316         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46317
46318 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46319
46320         POWER7 optimizations.
46321         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46322         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46323
46324 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46325
46326         * version.h: Update for 2.13 development version.
46327
46328 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46329
46330         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46331         exceptions.  Return 0.
46332
46333 2010-05-07  Roland McGrath  <roland@redhat.com>
46334
46335         * elf/ldconfig.c (main): Add a const.
46336
46337 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46338
46339         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46340         (args_options): Add no-idn option.
46341         (ahosts_keys_int): Add idn_flags to ai_flags.
46342         (parse_option): Handle 'i' option to clear idn_flags.
46343
46344         * malloc/malloc.c (_int_free): Possible race in the most recently
46345         added check.  Only act on the data if no current modification
46346         happened.
46347
46348 See ChangeLog.17 for earlier changes.