Remove unnecessary $(.)
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4
5 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6
7         * sysdeps/aarch64/strchr.S: New file.
8
9 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10
11         [BZ #17022]
12         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13         from arguments -2 or below.
14         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16
17 2014-06-18  Andreas Schwab  <schwab@suse.de>
18
19         [BZ #17062]
20         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
21         of a bracket expr not to run off the end of the string.
22         * posix/Makefile (tests): Add tst-fnmatch3.
23         * posix/tst-fnmatch3.c: New file.
24
25 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26
27         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29         [$(cross-compiling) = no]: Likewise.
30         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31         [$(cross-compiling) = no]: Likewise.
32
33 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34
35         [BZ #17031]
36         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37         double, adjusted for any remainder from the high double.
38         * math/libm-test.inc (nearbyint): Add tests.
39         (rint): Likewise.
40
41 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42
43         * nptl/sysdeps/powerpc/Makefile: Moved ...
44         * sysdeps/powerpc/nptl/Makefile: ... here.
45         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
46         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
47         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
51         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
52         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
53         * nptl/sysdeps/powerpc/tls.h: Moved ...
54         * sysdeps/powerpc/nptl/tls.h: ... here.
55
56 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
57
58         [BZ #16681]
59         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
60         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
61         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
62         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
63         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
64         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
65         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
66         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
67         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
68
69 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
70
71         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
72
73 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
74
75         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
76         defined operator.
77
78         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
79         $TIMEOUTFACTOR.
80
81 2014-06-16  Florian Weimer  <fweimer@redhat.com>
82
83         [BZ #17058]
84         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
85         non-executed part of the test.
86
87 2014-06-16  Andreas Schwab  <schwab@suse.de>
88
89         * string/bits/string2.h (strdup, strndup): Update feature guard.
90
91 2014-06-14  David S. Miller  <davem@davemloft.net>
92
93         * sysdeps/sparc/fpu/libm-test-ulps: Update.
94
95 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
96
97         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
98         that was previously under [RESET_PID].
99         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
100
101         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
102         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
103         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
104         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
105         (__libc_vfork): New strong alias.
106         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
107
108 2014-06-14 Andi Kleen  <ak@linux.intel.com>
109
110         * sysdeps/generic/elide.h: New file.
111
112 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
113
114         * Makefile (installed-headers): Adjust path of pthread.h header.
115
116 2014-06-13  Roland McGrath  <roland@hack.frob.com>
117
118         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
119         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
120         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
121         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
122
123         * nptl/sysdeps/s390/Makefile: Moved ...
124         * sysdeps/s390/nptl/Makefile: ... here.
125         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
126         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
127         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
128         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
129         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
130         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
131         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
132         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
133         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
134         * sysdeps/s390/nptl/pthreaddef.h: ... here.
135         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
136         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
137         * nptl/sysdeps/s390/tls.h: Moved ...
138         * sysdeps/s390/nptl/tls.h: ... here.
139
140         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
141         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
142
143 2014-06-13  David S. Miller  <davem@davemloft.net>
144
145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
148         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
152         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
153         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
154         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
155         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
156         Remove RESET_PID cpp guards.
157         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
158         Remove RESET_PID cpp guards.
159         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
160
161 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
162
163         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
164         __sp to uintptr_t.
165
166 2014-06-13  Andi Kleen  <ak@linux.intel.com>
167
168         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
169         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
170         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
172         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
173         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
174         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
176         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
177         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
178         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
179         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
180         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
181         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
183         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
184         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
185         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
186         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
187         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
188
189         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
190         (pthread_rwlock_rdlock): Add elision.
191         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
192         (pthread_rwlock_wrlock): Add elision.
193         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
194         (pthread_rwlock_trywrlock): Add elision.
195         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
196         (pthread_rwlock_tryrdlock): Add elision.
197         * nptl/pthread_rwlock_unlock.c: Include elide.h.
198         (pthread_rwlock_tryrdlock): Add elision unlock.
199         * nptl/sysdeps/pthread/pthread.h:
200         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
201         (PTHREAD_RWLOCK_INITIALIZER,
202         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
203         Handle new elision field.
204         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
205         * sysdeps/arm/nptl/bits/pthreadtypes.h
206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
207         * sysdeps/sh/nptl/bits/pthreadtypes.h
208         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
209         * sysdeps/tile/nptl/bits/pthreadtypes.h
210         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
211         * sysdeps/a/nptl/bits/pthreadtypes.h
212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
213         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
214         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
215         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
217         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
218         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
219         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
221         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
223         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
225         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
227         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
229         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
230         (elision_init): Set try_xbegin to zero when no RTM.
231         * sysdeps/x86/nptl/bits/pthreadtypes.h
232         (pthread_rwlock_t): Change __pad1 to __rwelision.
233         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
234
235 2014-06-13  Andi Kleen  <ak@linux.intel.com>
236
237         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
238         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
239         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
240         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
241
242 2014-06-13  Meador Inge  <meadori@codesourcery.com>
243
244         [BZ #16996]
245         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
246         that the cached result has been set before returning it.
247
248 2014-06-12  Roland McGrath  <roland@hack.frob.com>
249
250         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
251         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
252         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
253         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
254         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
255         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
256
257         * nptl/sysdeps/sparc/Makefile: Moved ...
258         * sysdeps/sparc/nptl/Makefile: ... here.
259         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
260         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
261         * nptl/sysdeps/sparc/tls.h: Moved ...
262         * sysdeps/sparc/nptl/tls.h: ... here.
263         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
264         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
265         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
266         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
267         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
268         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
269         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
270         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
271         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
272         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
273         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
274         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
275         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
276         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
277         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
278         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
279         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
280         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
281         Update #include.
282         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
283         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
284         Update #include.
285         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
286         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
287         Update #include.
288         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
289         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
290         Update #include.
291
292         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
293
294         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
295         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
296
297         * sysdeps/pthread/posix-timer.h: Include <list.h>.
298         (struct list_links): Type removed.
299         (struct thread_node, struct timer_node): Replace struct list_links
300         with struct list_head.
301         (list_unlink_ip): Likewise.
302         * sysdeps/pthread/timer_routines.c
303         (timer_free_list, thread_free_list, thread_active_list): Likewise.
304         (list_append, list_insbefore): Likewise.
305         (list_init): Function removed.
306         (thread_init, init_module): Use INIT_LIST_HEAD instead.
307         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
308         * sysdeps/pthread/Makefile: ... here, new file.
309
310         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
311         * sysdeps/nptl/Implies: ... here.
312         * sysdeps/unix/sysv/linux/Implies: Add nptl.
313         * nptl/sysdeps/pthread/list.h: Moved ...
314         * include/list.h: ... here.
315         * nptl/sysdeps/pthread/createthread.c: Moved ...
316         * nptl/createthread.c: ... here.
317         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
318         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
319         * nptl/pt-longjmp.c: ... here.
320         * nptl/sysdeps/pthread/Makefile: Moved ...
321         * sysdeps/nptl/Makefile: ... here.
322         * nptl/sysdeps/pthread/Subdirs: Moved ...
323         * sysdeps/nptl/Subdirs: ... here.
324         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
325         * sysdeps/nptl/aio_misc.h: ... here.
326         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
327         * sysdeps/nptl/bits/libc-lock.h: ... here.
328         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
329         * sysdeps/nptl/bits/libc-lockP.h: ... here.
330         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
331         * sysdeps/nptl/bits/stdio-lock.h: ... here.
332         * nptl/sysdeps/pthread/configure: Moved ...
333         * sysdeps/nptl/configure: ... here.
334         * nptl/sysdeps/pthread/configure.ac: Moved ...
335         * sysdeps/nptl/configure.ac: ... here.
336         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
337         * sysdeps/nptl/gai_misc.h: ... here.
338         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
339         * sysdeps/nptl/librt-cancellation.c: ... here.
340         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
341         * sysdeps/nptl/malloc-machine.h: ... here.
342         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
343         * sysdeps/nptl/pthread-functions.h: ... here.
344         * nptl/sysdeps/pthread/pthread.h: Moved ...
345         * sysdeps/nptl/pthread.h: ... here.
346         * nptl/sysdeps/pthread/setxid.h: Moved ...
347         * sysdeps/nptl/setxid.h: ... here.
348         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
349         * sysdeps/nptl/sigfillset.c: ... here.
350         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
351         * sysdeps/nptl/tcb-offsets.h: ... here.
352         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
353         * sysdeps/nptl/tst-mqueue8x.c: ... here.
354         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
355         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
356         * nptl/sysdeps/pthread/allocalim.h: Moved ...
357         * sysdeps/pthread/allocalim.h: ... here.
358         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
359         * sysdeps/pthread/bits/sigthread.h: ... here.
360         * nptl/sysdeps/pthread/flockfile.c: Moved ...
361         * sysdeps/pthread/flockfile.c: ... here.
362         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
363         * sysdeps/pthread/ftrylockfile.c: ... here.
364         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
365         * sysdeps/pthread/funlockfile.c: ... here.
366         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
367         * sysdeps/pthread/posix-timer.h: ... here.
368         * nptl/sysdeps/pthread/timer_create.c: Moved ...
369         * sysdeps/pthread/timer_create.c: ... here.
370         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
371         * sysdeps/pthread/timer_delete.c: ... here.
372         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
373         * sysdeps/pthread/timer_getoverr.c: ... here.
374         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
375         * sysdeps/pthread/timer_gettime.c: ... here.
376         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
377         * sysdeps/pthread/timer_routines.c: ... here.
378         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
379         * sysdeps/pthread/timer_settime.c: ... here.
380         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
381         * sysdeps/pthread/tst-timer.c: ... here.
382         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
383         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
384
385         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
386         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
387
388         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
389         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
390         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
391         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
392         Update #include target.
393         * nptl/sysdeps/i386/i686/Makefile: Moved ...
394         * sysdeps/i386/i686/nptl/Makefile: ... here.
395         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
396         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
397         Update #include target.
398         * nptl/sysdeps/i386/i686/tls.h: Moved ...
399         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
400         * nptl/sysdeps/i386/Makefile: Moved ...
401         * sysdeps/i386/nptl/Makefile: ... here.
402         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
403         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
404         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
405         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
406         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
407         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
408         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
409         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
410         * sysdeps/i386/nptl/pthreaddef.h: ... here.
411         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
412         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
413         * nptl/sysdeps/i386/tls.h: Moved ...
414         * sysdeps/i386/nptl/tls.h: ... here.
415
416         * sysdeps/sh/Makefile [$(subdir) = csu]
417         (gen-as-const-headers): Add tcb-offsets.sym.
418         * nptl/sysdeps/sh/Makefile: File removed.
419         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
420         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
421         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
422         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
423         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
424         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
425         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
426         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
427         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
428         * sysdeps/sh/nptl/pthreaddef.h: ... here.
429         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
430         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
431         * nptl/sysdeps/sh/tls.h: Moved ...
432         * sysdeps/sh/nptl/tls.h: ... here.
433         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
434         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
435         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
436         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
437         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
438         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
439         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
440         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
441         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
442         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
443         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
444         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
445         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
446         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
447         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
448         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
449         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
450         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
451         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
452         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
453         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
454         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
455         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
456         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
457         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
458         Moved ...
459         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
460         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
461         Moved ...
462         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
464         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
466         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
467         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
468         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
469         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
470         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
471         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
472         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
473         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
474         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
475         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
476         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
477         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
478         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
479         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
480         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
481
482 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
483
484         * posix/spawn_faction_addopen.c: Include string.h.
485
486 2014-06-11  Roland McGrath  <roland@hack.frob.com>
487
488         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
489         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
490         * nptl/sysdeps/x86_64/Makefile: Moved ...
491         * sysdeps/x86_64/nptl/Makefile: ... here.
492         * nptl/sysdeps/x86_64/configure: Moved ...
493         * sysdeps/x86_64/nptl/configure: ... here.
494         * nptl/sysdeps/x86_64/configure.ac: Moved ...
495         * sysdeps/x86_64/nptl/configure.ac: ... here.
496         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
497         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
498         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
499         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
500         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
501         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
502         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
503         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
504         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
505         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
506         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
507         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
508         * nptl/sysdeps/x86_64/tls.h: Moved ...
509         * sysdeps/x86_64/nptl/tls.h: ... here.
510         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
511         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
512         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
513         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
514
515         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
516
517 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
518
519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
520
521 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
522
523         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
524         type.
525         [POSIX] (off_t): Likewise.
526         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
527         [POSIX] (S_ISBLK): Require macro.
528         [POSIX] (S_ISCHR): Likewise.
529         [POSIX] (S_ISDIR): Likewise.
530         [POSIX] (S_ISFIFO): Likewise.
531         [POSIX] (S_ISREG): Likewise.
532         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
533         optional-macro.
534         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
535         type.
536         [POSIX] (time_t): Likewise.
537         [POSIX] (timer_t): Likewise.
538
539 2014-06-11  Florian Weimer  <fweimer@redhat.com>
540
541         [BZ #17048]
542         * posix/spawn_int.h (struct __spawn_action): Make the path string
543         non-const to support deallocation.
544         * posix/spawn_faction_addopen.c
545         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
546         * posix/spawn_faction_destroy.c
547         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
548         path in all spawn_do_open actions.
549         * posix/tst-spawn.c (do_test): Exercise the copy operation in
550         posix_spawn_file_actions_addopen.
551
552 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
553
554         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
555         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
556         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
557         conditional code always true.
558         (__libc_vfork): New alias.
559
560 2014-06-11  Roland McGrath  <roland@hack.frob.com>
561
562         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
563         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
564
565         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
566
567         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
568         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
569
570         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
571         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
572
573         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
574         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
575
576 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
577
578         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
579         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
580         multiarch strcmp for PPC64.
581         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
582         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
584         multiarch optimizations.
585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
586         (__libc_ifunc_impl_list): Likewise.
587
588 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
589
590         * benchtests/scripts/validate_benchout.py: New script.
591         * benchtests/Makefile (bench-func): Call it.
592         * benchtests/scripts/benchout.schema.json: New file.
593
594 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
595
596         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
597         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
598         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
599         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
600         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
601         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
602         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
603         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
604         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
605         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
606         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
607         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
608         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
609         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
610         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
611         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
613         Moved ...
614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
615         ... here.
616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
617         Moved ...
618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
620         Moved ...
621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
622         ... here.
623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
624         Moved ...
625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
626         ... here.
627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
628         Moved ...
629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
631         Moved ...
632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
633         ... here.
634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
635         Moved ...
636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
637         ... here.
638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
639         Moved ...
640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
642         Moved ...
643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
644         ... here.
645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
646         Moved ...
647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
648         ... here.
649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
650         Moved ...
651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
652         ... here.
653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
654         Moved ...
655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
657         Moved ...
658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
659         ... here.
660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
661         Moved ...
662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
663         ... here.
664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
665         Moved ...
666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
667         ... here.
668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
669         Moved ...
670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
672         Moved ...
673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
674         ... here.
675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
676         Moved ...
677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
678         ... here.
679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
680         Moved ...
681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
683         Moved ...
684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
685         ... here.
686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
687         Moved ...
688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
690         Moved ...
691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
693         Moved ...
694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
695         ... here.
696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
697         Moved ...
698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
699         ... here.
700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
701         Moved ...
702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
703         ... here.
704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
705         Moved ...
706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
708         Moved ...
709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
710         ... here.
711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
712         Moved ...
713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
714         ... here.
715         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
716         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
718         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
719         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
720         Moved ...
721         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
722         ... here.
723         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
724         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
726         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
727         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
728         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
729         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
730         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
731         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
732         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
734         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
736         Moved ...
737         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
738         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
739         Moved ...
740         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
742         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
744         Moved ...
745         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
746         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
747         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
748         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
749         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
750         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
751         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
752
753 2014-06-10  Wilco  <wdijkstr@arm.com>
754
755         * math/test-fenv-return.c: New file.
756         * math/Makefile: Add new test test-fenv-return.
757
758 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
759
760         [BZ #17042]
761         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
762         when x - 1 is zero.
763         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
764         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
765         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
766         0.0L for an argument of 1.0L.
767         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
768         Likewise.
769         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
770         value when x - 1 is zero.
771         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
772         * sysdeps/i386/fpu/libm-test-ulps: Update.
773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
774
775 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
776
777         [BZ #15119]
778         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
779
780 2014-06-09  Roland McGrath  <roland@hack.frob.com>
781
782         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
783         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
784
785 2014-06-09  Roland McGrath  <roland@hack.frob.com>
786
787         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
788         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
789
790         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
791         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
792
793         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
794         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
795
796         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
797         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
798
799         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
800         if not already defined.
801         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
802         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
803         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
804         (TLS_INIT_TP): Use it.
805         (TLS_DEFINE_INIT_TP): New macro.
806         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
807
808 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
809
810         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
811         constant.
812         [POSIX] (IXANY): Likewise.
813         [POSIX] (OLCUC): Likewise.
814         [POSIX || POSIX2008] (CBAUD): Do not allow.
815         [POSIX || POSIX2008] (DEFECHO): Likewise.
816         [POSIX || POSIX2008] (ECHOCTL): Likewise.
817         [POSIX || POSIX2008] (ECHOKE): Likewise.
818         [POSIX || POSIX2008] (ECHOPRT): Likewise.
819         [POSIX || POSIX2008] (EXTA): Likewise.
820         [POSIX || POSIX2008] (EXTB): Likewise.
821         [POSIX || POSIX2008] (FLUSHO): Likewise.
822         [POSIX || POSIX2008] (LOBLK): Likewise.
823         [POSIX || POSIX2008] (PENDIN): Likewise.
824         [POSIX || POSIX2008] (SWTCH): Likewise.
825         [POSIX || POSIX2008] (VDISCARD): Likewise.
826         [POSIX || POSIX2008] (VDSUSP): Likewise.
827         [POSIX || POSIX2008] (VLNEXT): Likewise.
828         [POSIX || POSIX2008] (VREPRINT): Likewise.
829         [POSIX || POSIX2008] (VSTATUS): Likewise.
830         [POSIX || POSIX2008] (VWERASE): Likewise.
831         (B*): Change to B[0123456789]*.
832         * conform/data/time.h-data [POSIX || UNIX98]
833         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
834         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
835         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
836         [POSIX] (tm_*): Do not allow.
837
838 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
839
840         * Makefile (install): Don't set LANGUAGE.
841         * Makefile.in (install): Likewise.
842         * assert/Makefile (test-assert-ENV): Remove variable.
843         (test-assert-perr-ENV): Likewise.
844         * elf/Makefile (neededtest4-ENV): Likewise.
845         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
846         [$(cross-compiling) = no]: Don't set LANGUAGE.
847         * io/ftwtest-sh (LANG): Remove variable.
848         * libio/Makefile (tst-widetext-ENV): Likewise.
849         * manual/install.texi (Running make install): Don't refer to
850         environment settings for make install.
851         * INSTALL: Regenerated.
852         * nptl/tst-tls6.sh: Don't set LANG.
853         * posix/globtest.sh (LANG): Remove variable.
854         * string/Makefile (tester-ENV): Likewise.
855         (inl-tester-ENV): Likewise.
856         (noinl-tester-ENV): Likewise.
857         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
858         [$(cross-compiling) = no]: Don't set LANGUAGE.
859         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
860         without explicit environment settings.
861
862 2014-06-06  Roland McGrath  <roland@hack.frob.com>
863
864         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
865         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
866         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
867         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
868
869 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
870
871         * crypt/crypt-private.h [DOS]: Add some includes taken from the
872         other files in the crypt directory.
873         * crypt/crypt.c: Remove duplicate includes.
874         * crypt/crypt-entry.c: Likewise.
875         * crypt/crypt_util.c: Likewise.
876
877 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
878
879         * Makeconfig (run-program-env): New variable.
880         (run-program-prefix-before-env): Likewise.
881         (run-program-prefix-after-env): Likewise.
882         (run-program-prefix): Define in terms of new variables.
883         (built-program-cmd-before-env): New variable.
884         (built-program-cmd-after-env): Likewise.
885         (built-program-cmd): Define in terms of new variables.
886         (test-program-prefix-before-env): New variable.
887         (test-program-prefix-after-env): Likewise.
888         (test-program-prefix): Define in terms of new variables.
889         (test-program-cmd-before-env): New variable.
890         (test-program-cmd-after-env): Likewise.
891         (test-program-cmd): Define in terms of new variables.
892         * Rules (make-test-out): Use $(run-program-env).
893         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
894         (help): Do not mention environment variables.  Mention
895         --timeoutfactor option.
896         (timeoutfactor): New variable.
897         (blacklist_exports): Remove function.
898         (exports): Remove variable.
899         (command): Do not include ${exports}.
900         * manual/install.texi (Configuring and compiling): Do not mention
901         test wrappers preserving environment variables.  Mention that last
902         assignment to a variable must take precedence.
903         * INSTALL: Regenerated.
904         * benchtests/Makefile (run-bench): Use $(run-program-env).
905         * catgets/Makefile ($(objpfx)test1.cat): Use
906         $(built-program-cmd-before-env), $(run-program-env) and
907         $(built-program-cmd-after-env).
908         ($(objpfx)test2.cat): Do not specify environment variables
909         explicitly.
910         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
911         $(run-program-env) and $(built-program-cmd-after-env).
912         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
913         $(run-program-env) and $(test-program-cmd-after-env).
914         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
915         explicitly.
916         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
917         run_program_env and test_program_cmd_after_env arguments.
918         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
919         * elf/tst-pathopt.sh: Use run_program_env argument.
920         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
921         $(test-wrapper-env) and $(run-program-env).
922         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
923         run_program_env arguments.
924         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
925         * intl/Makefile ($(objpfx)tst-gettext.out): Use
926         $(test-program-prefix-before-env), $(run-program-env) and
927         $(test-program-prefix-after-env).
928         ($(objpfx)tst-gettext2.out): Likewise.
929         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
930         run_program_env and test_program_prefix_after_env arguments.
931         * intl/tst-gettext2.sh: Likewise.
932         * intl/tst-gettext4.sh: Do not set environment variables
933         explicitly.
934         * intl/tst-gettext6.sh: Likewise.
935         * intl/tst-translit.sh: Likewise.
936         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
937         $(test-program-prefix-before-env), $(run-program-env) and
938         $(test-program-prefix-after-env).
939         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
940         run_program_env and test_program_prefix_after_env arguments.
941         * math/Makefile (run-regen-ulps): Use $(run-program-env).
942         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
943         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
944         explicitly with each use of ${test_wrapper_env}.
945         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
946         $(test-program-prefix-before-env), $(run-program-env) and
947         $(test-program-prefix-after-env).
948         * posix/tst-getconf.sh: Do not set environment variables
949         explicitly.
950         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
951         run_program_env and test_program_prefix_after_env arguments.
952         * stdio-common/tst-printf.sh: Do not set environment variables
953         explicitly.
954         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
955         $(test-program-prefix-before-env), $(run-program-env) and
956         $(test-program-prefix-after-env).
957         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
958         run_program_env and test_program_prefix_after_env arguments.
959         Split $test calls into $test_pre and $test.
960         * timezone/Makefile (build-testdata): Use
961         $(built-program-cmd-before-env), $(run-program-env) and
962         $(built-program-cmd-after-env).
963
964 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
965
966         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
967         strlen for non SHARED builds.
968
969 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
970
971         * nptl/allocatestack.c (check_list): Inlined function...
972         (__reclaim_stacks): ... here.
973
974 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
975
976         [BZ #15698]
977         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
978         memory overrun.
979
980 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
981
982         * Rules (make-test-out): Include
983         LOCPATH=$(common-objpfx)localedata in default environment.
984         * debug/Makefile (tst-chk1-ENV): Remove variable.
985         (tst-chk2-ENV): Likewise.
986         (tst-chk3-ENV): Likewise.
987         (tst-chk4-ENV): Likewise.
988         (tst-chk5-ENV): Likewise.
989         (tst-chk6-ENV): Likewise.
990         (tst-lfschk1-ENV): Likewise.
991         (tst-lfschk2-ENV): Likewise.
992         (tst-lfschk3-ENV): Likewise.
993         (tst-lfschk4-ENV): Likewise.
994         (tst-lfschk5-ENV): Likewise.
995         (tst-lfschk6-ENV): Likewise.
996         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
997         (tst-iconv7-ENV): Likewise.
998         * intl/Makefile (LOCPATH-ENV): Likewise.
999         (tst-codeset-ENV): Likewise.
1000         (tst-gettext3-ENV): Likewise.
1001         (tst-gettext5-ENV): Likewise.
1002         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1003         (tst-fopenloc-ENV): Likewise.
1004         (tst-fgetws-ENV): Remove variable.
1005         (tst-ungetwc1-ENV): Likewise.
1006         (tst-ungetwc2-ENV): Likewise.
1007         (bug-ungetwc2-ENV): Likewise.
1008         (tst-swscanf-ENV): Likewise.
1009         (bug-ftell-ENV): Likewise.
1010         (tst-fgetwc-ENV): Likewise.
1011         (tst-fseek-ENV): Likewise.
1012         (tst-ftell-partial-wide-ENV): Likewise.
1013         (tst-ftell-active-handler-ENV): Likewise.
1014         (tst-ftell-append-ENV): Likewise.
1015         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1016         (tst-regexloc-ENV): Likewise.
1017         (bug-regex1-ENV): Likewise.
1018         (tst-regex-ENV): Likewise.
1019         (tst-regex2-ENV): Likewise.
1020         (bug-regex5-ENV): Likewise.
1021         (bug-regex6-ENV): Likewise.
1022         (bug-regex17-ENV): Likewise.
1023         (bug-regex18-ENV): Likewise.
1024         (bug-regex19-ENV): Likewise.
1025         (bug-regex20-ENV): Likewise.
1026         (bug-regex22-ENV): Likewise.
1027         (bug-regex23-ENV): Likewise.
1028         (bug-regex25-ENV): Likewise.
1029         (bug-regex26-ENV): Likewise.
1030         (bug-regex30-ENV): Likewise.
1031         (bug-regex32-ENV): Likewise.
1032         (bug-regex33-ENV): Likewise.
1033         (bug-regex34-ENV): Likewise.
1034         (bug-regex35-ENV): Likewise.
1035         (tst-rxspencer-ENV): Likewise.
1036         (tst-rxspencer-no-utf8-ENV): Likewise.
1037         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1038         (tst-sscanf-ENV): Likewise.
1039         (tst-swprintf-ENV): Likewise.
1040         (tst-swscanf-ENV): Likewise.
1041         (test-vfprintf-ENV): Likewise.
1042         (scanf13-ENV): Likewise.
1043         (bug14-ENV): Likewise.
1044         (tst-grouping-ENV): Likewise.
1045         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1046         (tst-strtod3-ENV): Likewise.
1047         (tst-strtod4-ENV): Likewise.
1048         (tst-strtod5-ENV): Likewise.
1049         (testmb2-ENV): Likewise./
1050         * string/Makefile (tst-strxfrm-ENV): Likewise.
1051         (tst-strxfrm2-ENV): Likewise.
1052         (bug-strcoll1-ENV): Likewise.
1053         (test-strcasecmp-ENV): Likewise.
1054         (test-strncasecmp-ENV): Likewise.
1055         * time/Makefile (tst-strptime-ENV): Likewise.
1056         (tst-ftime_l-ENV): Likewise.
1057         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1058         (tst-mbrtowc-ENV): Likewise.
1059         (tst-wcrtomb-ENV): Likewise.
1060         (tst-mbrtowc2-ENV): Likewise.
1061         (tst-c16c32-1-ENV): Likewise.
1062         (tst-mbsnrtowcs-ENV): Likewise.
1063
1064 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1065
1066         * manual/resource.texi (How to get information about the memory
1067         subsystem?): Fix typo.
1068         Reported by Peon de la Parra Ivan <peon@keba.com>
1069
1070 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1071
1072         [BZ #16882]
1073         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1074         (pthread_spin_lock): Branch out of spin loop to proper location.
1075         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1076         (pthread_spin_lock): Likewise.
1077
1078         * nptl/tst-spin4.c: New test.
1079         * nptl/Makefile (tests): Add tst-spin4.
1080
1081 2014-06-03  Andreas Schwab  <schwab@suse.de>
1082
1083         [BZ #15946]
1084         * resolv/res_send.c (send_dg): Reload file descriptor after
1085         calling reopen.
1086
1087 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1088
1089         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1090
1091 2014-06-03  Richard Henderson  <rth@redhat.com>
1092
1093         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1094         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1095         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1096         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1097         in the SAVE_PID block.
1098         (__libc_vfork): New alias.
1099         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1100
1101         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1102         child in registers, not on the stack.  Remove RESET_PID conditionals.
1103         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1104
1105 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1106
1107         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1108
1109 2014-06-03  Wilco  <wdijkstr@arm.com>
1110
1111         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1112         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1113         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1114         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1115         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1116         Likewise.
1117
1118 2014-06-03  Wilco  <wdijkstr@arm.com>
1119
1120         * sysdeps/aarch64/fpu/math_private.h
1121         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1122         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1123         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1124         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1125         Fix declarations.
1126
1127 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1128
1129         * crypt/crypt-private.h: Include ufc-crypt.h.
1130         (__b64_from_24bit): Declare extern.
1131         * crypt/crypt_util.c(__b64_from_24bit): New function.
1132         (b64t): New static const variable.
1133         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1134         (b64t): Remove variable.
1135         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1136         * crypt/sha256-crypt.c: Include crypt-private.h.
1137         (b64t): Remove variable.
1138         (__sha256_crypt_r): Remove b64_from_24bit and replace
1139         with __b64_from_24bit.
1140         * crypt/sha512-crypt.c: Likewise.
1141
1142 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1143
1144         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1145         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1146         Label the code __libc_vfork rather than __vfork.
1147         [!NOT_IN_libc] (vfork): Define as weak alias.
1148         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1149         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1150         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1151
1152 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1153
1154         * malloc/malloc.c (malloc_info): Fix format specifier for
1155         n_mmaps.
1156
1157 2014-06-02  Wilco  <wdijkstr@arm.com>
1158
1159         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1160         FPCR write.
1161
1162 2014-06-02  Wilco  <wdijkstr@arm.com>
1163
1164         [BZ #17009]
1165         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1166         Rewrite to reduce FPCR/FPSR accesses.
1167
1168 2014-06-01  David S. Miller  <davem@davemloft.net>
1169
1170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1171
1172 2014-05-31  David S. Miller  <davem@davemloft.net>
1173
1174         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1175         to occur in round to nearest mode when |x| >= 2.0
1176
1177 2014-05-30  Richard Henderson  <rth@twiddle.net>
1178
1179         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1180         (PSEUDO_RET_NOERRNO): Remove.
1181         (ret): Don't redefine.
1182         (ret_NOERRNO): Define in terms of ret.
1183         (ret_ERRVAL): Likewise.
1184
1185         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1186         use of PSEUDO_RET; perform the error check directly.
1187
1188 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1189
1190         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1191         with __int128_t.
1192
1193 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1194
1195         * malloc/malloc (malloc_info): Fix formatting.
1196
1197 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1198             Roland McGrath  <roland@hack.frob.com>
1199
1200         * malloc/malloc (malloc_info): Also print mmapped statistics.
1201
1202 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1203
1204         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1205         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1206
1207 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1208
1209         * malloc/malloc.c (malloc_info): Inline mi_arena.
1210
1211 2014-05-29  Richard Henderson  <rth@twiddle.net>
1212
1213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1214         Remove comma before expanding ASM_ARGS_##nr.
1215         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1216         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1217         of ASM_ARGS_##nr.
1218         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1219         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1220         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1221         (ASM_ARGS_1): Add leading comma.
1222
1223         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1224         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1225         to __errno_location.
1226         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1227         Remove the expected plt for __errno_location.
1228
1229         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1230         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1231         call to __read_tp.
1232
1233         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1234         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1235         it and break it down.
1236         (DOCARGS_0, DOCARGS_1): Do nothing.
1237         (DOCARGS_2): Update to store into the new stack frame.
1238         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1239         (UNDOCARGS_1): Update to restore from the new stack frame.
1240         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1241         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1242
1243         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1244         (SINGLE_THREAD_P): New parameter for result regno.
1245         (PSEUDO): Update to match; use cbz instead of beq.
1246
1247         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1248         Use ENTRY to define the _nocancel entry point.  Share the syscall
1249         and syscall error check paths with the cancel path.
1250         (PSEUDO_END): New.
1251
1252         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1253         whitespace; tabs before and after asm mnemonics.
1254
1255 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1256
1257         [BZ #15132]
1258         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1259         Call fstat64 or stat64 internally, depending on arguments passed.
1260         Replace stat buffer argument with file descriptor argument.
1261         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1262         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1263         Pass fd to __internal_statvfs instead of calling fstat64.
1264         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1265         Pass fd to __internal_statvfs64 instead of calling fstat64.
1266         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1267         Pass -1 to __internal_statvfs instead of calling stat64.
1268         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1269         Pass -1 to __internal_statvfs64 instead of calling stat64.
1270
1271 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1272
1273         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1274         that was previously under [RESET_PID].
1275         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1276
1277         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1278         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1279
1280 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1281
1282         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1283
1284         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1285         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1286
1287 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1288
1289         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1290
1291 2014-05-27  Andreas Schwab  <schwab@suse.de>
1292
1293         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1294         TLS_INIT_TP macro.
1295         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1296         * elf/rtld.c (init_tls, dl_main): Likewise.
1297         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1298         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1299         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1300         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1301         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1302         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1303         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1304         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1305         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1306         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1307         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1308         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1309         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1310         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1311         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1312         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1313         * sysdeps/generic/tls.h: Update description.
1314
1315 2014-05-27  Will Newton  <will.newton@linaro.org>
1316
1317         [BZ #16990]
1318         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1319         and restore r2 rather than just restoring.
1320
1321 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1322
1323         [BZ #16724]
1324         * libio/tst-ftell-append.c: New test case.
1325         * libio/Makefile (tests): Add test case.
1326         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1327         append mode.
1328         * libio/wfileops.c (do_ftell_wide): Likewise.
1329
1330 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1331
1332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1333
1334         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1335         ...
1336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1338         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1339         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1340         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1341         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1342         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1343         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1345         Moved ...
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1347         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1348         Moved ...
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1350         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1351         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1352         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1353         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1354         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1355         ...
1356         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1357         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1358         Moved ...
1359         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1360         here.
1361         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1362         ...
1363         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1364         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1365         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1366
1367         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1368         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1369         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1370         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1371
1372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1373         merge into ...
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1375         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1376         ...
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1379         ...
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1382         Moved ...
1383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1384         here.
1385         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1386         Moved ...
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1389         Moved ...
1390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1391
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1393         conditional [RESET_PID].
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1395         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1396         removed.
1397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1398         removed.
1399
1400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1401         <tcb-offsets.h>.
1402         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1403         (__libc_vfork): New strong alias.
1404         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1405         removed.
1406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1407         Removed.
1408
1409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1410         <tcb-offsets.h>.
1411         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1412         (__libc_vfork): New strong alias.
1413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1414         removed.
1415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1416         removed.
1417
1418 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1419
1420         * malloc/malloc.c (mi_arena): New function.
1421         (malloc_info): Remove nested function mi_arena. Call non-nosted
1422         function mi_arena.
1423
1424 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1425
1426         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1427         by insrwi.
1428         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1429         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1430         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1431         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1432         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1433         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1434         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1435
1436 2014-05-26  Andreas Schwab  <schwab@suse.de>
1437
1438         [BZ #16984]
1439         * locale/programs/repertoire.c (repertoire_read): Add slash
1440         between I18NPATH element and file name.
1441         * locale/programs/locfile.c (locfile_read): Likewise.
1442
1443 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1444
1445         * nptl/pthread_mutexattr_settype.c
1446         (__pthread_mutexattr_settype):
1447         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1448
1449 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1450
1451         * nptl/tst-mutex5 (do_test):
1452         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1453
1454 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1455
1456         * benchtests/README: Document 'init' directive.
1457         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1458         BENCH_INIT.
1459         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1460         (parse_file): Recognize 'init' directive.
1461
1462 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1463
1464         [BZ #16796]
1465         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1466         alignment of struct pthread.
1467
1468 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1469
1470         [BZ #16878]
1471         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1472         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1473         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1474         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1475
1476 2014-05-25  Richard Henderson  <rth@twiddle.net>
1477
1478         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1479         (SINGLE_THREAD_P_PIC): Remove.
1480         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1481         (SINGLE_THREAD_P_PIC): Remove.
1482
1483         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1484         branch to syscall error ...
1485         (PSEUDO): ... here.
1486         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1487         from __local_syscall_error to .Lsyscall_error.
1488         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1489         (SYSCALL_ERROR): Update label name.
1490
1491         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1492         Do not use DOARGS/UNDOARGS.
1493         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1494         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1495         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1496         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1497         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1498
1499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1500         block comment.
1501
1502         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1503         define if !NOT_IN_libc.
1504         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1505         define with non-default symbol versions.
1506
1507 2014-05-23  Richard Henderson  <rth@twiddle.net>
1508
1509         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1510         (vfork, __vfork): Define via compat_symbol.
1511
1512         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1513         [!HAVE_IFUNC] (vfork_compat): Remove.
1514         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1515
1516 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1517
1518         [BZ #16978]
1519         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1520         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1521         variable.
1522
1523 2014-05-23  Richard Henderson  <rth@twiddle.net>
1524
1525         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1526         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1527         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1528         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1529
1530         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1531         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1532         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1533         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1534         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1535         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1536         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1537         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1538         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1539         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1540         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1541         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1542         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1543         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1544         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1545         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1547         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1548         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1549         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1550         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1551         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1552         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1553         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1554         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1555         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1556         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1557         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1558         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1559         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1560         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1561         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1562         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1563         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1564         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1565         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1566         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1567         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1568         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1569         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1570         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1571         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1572         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1573         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1574         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1575         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1576         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1577         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1578         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1579         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1580         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1581         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1582         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1583         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1584         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1585         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1586
1587         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1588         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1589         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1590         before exiting on error.
1591         (__libc_vfork): New strong alias.
1592         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1593         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1594
1595         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1596         that was previously under [RESET_PID].
1597         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1598
1599         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1600
1601 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1602
1603         [BZ #16977]
1604         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1605         value when x - 1 is zero.
1606         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1607         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1608         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1609         0.0L for an argument of 1.0L.
1610         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1611         Likewise.
1612         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1613         value when x - 1 is zero.
1614         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1615         * sysdeps/i386/fpu/libm-test-ulps: Update.
1616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1617
1618 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1619
1620         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1621         alphasort and versionsort.
1622
1623 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1624
1625         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1626         macro.
1627         [copysignf]: Likewise.
1628
1629 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1630
1631         * crypt/md5-crypt.c: Fix formatting.
1632
1633 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1634
1635         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1636         (b64_from_24bit): New function.
1637
1638 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1639
1640         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1641         libc_hidden_builtin_def to ifunc.
1642         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1643         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1644
1645 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1646
1647         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1648         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1649
1650 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1651
1652         * nscd/Depend (linuxthreads): Remove.
1653         (nptl): Add.
1654         * resolv/Depend (linuxthreads): Remove.
1655         * rt/Depend (linuxthreads): Remove.
1656
1657         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1658         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1659         $(common-objpfx)elf/.
1660         (link-libc-before-gnulib): Likewise.
1661         (elfobjdir): Remove variable.
1662         * Makefile (install): Use $(elf-objpfx) instead of
1663         $(common-objpfx)elf/.
1664         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1665         $(elfobjdir)/.
1666         (link-libc-deps): Likewise.
1667         ($(common-objpfx)libc.so): Likewise.
1668         ($(common-objpfx)linkobj/libc.so): Likewise.
1669         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1670         instead of $(common-objpfx)elf/.
1671         (symbolic-link-list): Likewise.
1672         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1673         [$(cross-compiling) = no]: Likewise.
1674         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1675         $(elfobjdir)/.
1676         (static-gnulib-arch): Likewise.
1677         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1678         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1679         $(common-objpfx)elf/.
1680
1681 2014-05-21  Richard Henderson  <rth@redhat.com>
1682
1683         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1684         (SINGLE_THREAD_P): Use the correct width load.  Fold
1685         into the ldr offset.
1686
1687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1688         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1689
1690 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1691
1692         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1693         (libgcc_s_resume): Use __attribute_used__.
1694         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1695         Likewise.
1696
1697 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1698
1699         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1700         optimization when used with float constants.
1701
1702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1703
1704 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1705
1706         [BZ #16915]
1707         * locale/nl_langinfo_l.c: Make direct reference to every
1708         _nl_current_CATEGORY symbol.
1709         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1710         (tests-static): Add tst-langinfo-static.
1711         (tests-special): Add tst-langinfo-static.out.
1712         ($(objpfx)tst-langinfo.out): Redirect output.
1713         ($(objpfx)tst-langinfo-static.out): New.
1714         * localedata/tst-langinfo.sh: Send output to stdout.
1715         * localedata/tst-langinfo-static.c: New file.
1716
1717         [BZ #16965]
1718         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1719         when the shift amount is modulo the limb size.
1720
1721 2014-05-20  Richard Henderson  <rth@redhat.com>
1722
1723         [BZ #16967]
1724         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1725         Change type of sa_flags from unsigned int to int.
1726
1727         [BZ #16966]
1728         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1729
1730         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1731
1732 2014-05-20  Will Newton  <will.newton@linaro.org>
1733
1734         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1735         Test the return value of the system call in the nocancel case.
1736
1737 2014-05-20  Will Newton  <will.newton@linaro.org>
1738             Yvan Roux  <yvan.roux@linaro.org>
1739
1740         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1741         #include of asm/ptrace.h.
1742         (PTRACE_GET_THREAD_AREA): Remove #undef.
1743         (PTRACE_GETHBPREGS): Likewise.
1744         (PTRACE_SETHBPREGS): Likewise.
1745         (struct user_regs_struct): New structure.
1746         (struct user_fpsimd_struct): New structure.
1747         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1748         #include of asm/ptrace.h and second #include of sys/user.h.
1749         (PTRACE_GET_THREAD_AREA): Remove #undef.
1750         (PTRACE_GETHBPREGS): Likewise.
1751         (PTRACE_SETHBPREGS): Likewise.
1752         (ELF_NGREG): Use new struct user_regs_struct.
1753         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1754
1755 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1756
1757         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1758         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1759
1760 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1761
1762         [BZ #16958]
1763         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1764         membar to avoid block loads/stores to overlap previous stores.
1765
1766 2014-05-17  Richard Henderson  <rth@redhat.com>
1767
1768         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1769         Create the __##syscall_name##_nocancel entry point.
1770         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1771         Remove; let the sysdep-cancel.h code create it.
1772
1773 2014-05-17  David S. Miller  <davem@davemloft.net>
1774
1775         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1776         Protect with __USE_GNU.
1777         (TIOCSET_TEMPT): Likewise.
1778         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1779         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1780         these are already provided in bits/ioctl-types.h
1781
1782 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1783
1784         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1785         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1786
1787         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1788         Use wait4 regardless of [__NR_waitpid].
1789
1790 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1791
1792         PR libgcc/60166
1793         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1794         (_FP_NANSIGN_Q): Set the quiet bit.
1795
1796 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1797
1798         * benchtests/Makefile
1799         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1800         not $(common-objpfx)math/libm.so.
1801         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1802         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1803         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1804         $(common-objpfx)dlfcn/libdl.so.
1805         ($(objpfx)tst-audit8): Depend on $(libm), not
1806         $(common-objpfx)math/libm.so.
1807         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1808         not $(common-objpfx)dlfcn/libdl.so.
1809         * math/Makefile
1810         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1811         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1812         [$(build-shared) = yes].
1813         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1814         $(common-objpfx)nptl/libpthread.so.
1815         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1816         $(common-objpfx)math/libm.so$(libm.so-version) or
1817         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1818         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1819         $(common-objpfx)dlfcn/libdl.so.
1820         * setjmp/Makefile (link-libm): Remove variable.
1821         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1822         * stdio-common/Makefile (link-libm): Remove variable.
1823         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1824         * stdlib/Makefile (link-libm): Remove variable.
1825         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1826         ($(objpfx)tst-strtod-round): Likewise.
1827         ($(objpfx)tst-tininess): Likewise.
1828         ($(objpfx)tst-strtod-underflow): Likewise.
1829         ($(objpfx)tst-strtod6): Likewise.
1830         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1831         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1832         $(common-objpfx)dlfcn/libdl.so.
1833
1834 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1835
1836         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1837         BSD terminal modes definitions.
1838
1839 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1840
1841         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1842         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1843
1844         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1845         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1846         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1847         Don't do #include_next.
1848         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1849         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1850         Don't do #include_next.
1851         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1852         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1853         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1854         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1855
1856 2014-05-16  Allan McRae  <allan@archlinux.org>
1857
1858         * po/sv.po: Update Swedish translation from translation project.
1859
1860         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1861         in sed expression.
1862
1863 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1864
1865         [BZ #16917]
1866         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1867         errno if the TIOCGPTN ioctl fails with an error different than
1868         EINVAL.
1869         * login/tst-ptsname.c: New file.
1870         * login/Makefile (tests): Add tst-ptsname.
1871
1872         [BZ #16943]
1873         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1874         and prlimit64.
1875
1876 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1877
1878         [BZ #16849]
1879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1880         herrno to return EAI_AGAIN.
1881
1882 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1883
1884         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1885         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1886         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1887         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1888         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1889         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1890         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1891         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1892         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1893         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1894         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1895         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1896         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1897         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1898         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1899         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1900         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1901         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1902         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1903         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1904         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1905         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1906         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1907         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1908         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1909         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1910         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1911         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1912         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1913         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1915         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1917         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1919         Moved ...
1920         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1924         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1926         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1928         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1930         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1932         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1934         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1936         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1938         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1940         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1942         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1944         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1946         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1948         Moved ...
1949         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1951         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1953         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1955         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1957         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1959         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1961         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1963         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1965         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1967         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1969         Moved ...
1970         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1973
1974         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1975         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1976         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1977         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1978         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1979         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1980         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1981         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1982         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1983         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1984         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1985         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1986         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1987         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1988         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1989         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1990         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1991         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1992         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1993         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1994         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1995         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1996         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1997         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1998         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1999         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2000         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2001         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2002         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2003         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2004         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2005
2006         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2007         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2008
2009         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2010         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2011         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2012         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2013         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2014         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2015         Moved ...
2016         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2017         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2018         Moved ...
2019         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2020         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2021         Moved ...
2022         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2023         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2024         Moved ...
2025         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2026         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2027         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2028         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2029         Moved ...
2030         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2031         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2032         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2033         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2034         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2035         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2036         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2037         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2038         Moved ...
2039         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2040         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2041         Moved ...
2042         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2043         ... here.
2044         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2045         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2046         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2047         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2048         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2049         Moved ...
2050         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2051         ... here.
2052         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2053         Moved ...
2054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2055         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2056         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2057         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2058         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2059         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2060         Moved ...
2061         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2062         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2063         Moved ...
2064         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2065         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2066         Moved ...
2067         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2068         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2069         Moved ...
2070         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2071         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2072         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2073         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2074         Moved ...
2075         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2076         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2077         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2078         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2079         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2080         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2081         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2082         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2083         Moved ...
2084         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2085         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2086         Moved ...
2087         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2088         ... here.
2089         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2090         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2091         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2092         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2093         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2094         Moved ...
2095         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2096         ... here.
2097         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2098         Moved ...
2099         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2100         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2101         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2102         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2103         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2104         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2106         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2107         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2108         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2109         Moved ...
2110         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2111         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2112         Moved ...
2113         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2114         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2115         Moved ...
2116         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2117         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2118         Moved ...
2119         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2120         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2121         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2122         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2123         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2124         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2125         Moved ...
2126         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2127         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2128         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2129         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2130         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2131         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2132         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2133         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2134         Moved ...
2135         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2136         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2137         Moved ...
2138         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2139         ... here.
2140         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2141         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2142         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2143         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2144         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2145         Moved ...
2146         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2147         ... here.
2148         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2149         Moved ...
2150         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2151         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2152         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2153         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2154         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2155         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2156         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2157         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2158         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2159         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2160         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2161
2162         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2163         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2164
2165         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2166         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2167
2168         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2169         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2170         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2171         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2172         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2173         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2174         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2175         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2176         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2177         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2178         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2179         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2180         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2181         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2182         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2183         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2184         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2185         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2186         Moved ...
2187         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2188         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2189         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2190         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2191         Moved ...
2192         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2194         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2195         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2196         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2197         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2198         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2200         Moved ...
2201         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2202         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2203         Moved ...
2204         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2205         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2206         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2207         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2208         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2210         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2211         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2212         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2213         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2214         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2215         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2216         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2217         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2218         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2219         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2220         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2221
2222         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2223         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2224         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2225         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2226         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2227
2228         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2229         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2230         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2231         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2232         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2233         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2234         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2235         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2236         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2237         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2238
2239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2240         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2241
2242         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2243         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2244         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2245         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2246         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2247         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2248         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2249         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2250         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2251         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2252         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2253         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2254         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2255         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2257         Update #include.
2258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2259         Likewise.
2260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2261         Likewise.
2262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2263         Likewise.
2264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2265         Likewise.
2266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2267         Likewise.
2268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2269         Likewise.
2270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2271         Likewise.
2272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2273         Likewise.
2274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2275         Likewise.
2276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2281         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2282         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2284         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2285         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2286         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2287         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2288         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2289         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2290         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2291
2292         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2293         that was previously under [RESET_PID].
2294         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2295         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2296         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2297
2298         * sysdeps/i386/nptl/Implies: New file.
2299         * sysdeps/x86_64/nptl/Implies: New file.
2300         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2301         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2302         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2303         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2304
2305         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2306         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2307         (__libc_vfork): New strong alias.
2308         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2309         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2310
2311         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2312         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2313         (__libc_vfork): New strong alias.
2314         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2315         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2316
2317         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2318         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2319         (__libc_vfork): New strong alias.
2320         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2321         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2322         * nptl/pt-vfork.c: New file.
2323         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2324         (libpthread: GLIBC_2.20): New version set (empty).
2325
2326 2014-05-14  Will Newton  <will.newton@linaro.org>
2327
2328         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2329         rather than #if.
2330
2331 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2332
2333         [BZ #16564]
2334         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2335         arguments with exponent 65 or above.
2336         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2337         arguments 0x1p113L or above.
2338         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2339         to arguments 0x1p107L or above.
2340         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2341         positive arguments with exponent 65 or above.
2342         * math/auto-libm-test-in: Add more tests of log1p.
2343         * math/auto-libm-test-out: Regenerated.
2344
2345         [BZ #16928]
2346         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2347         non-finite arguments is +0.
2348         * math/s_cacosf.c (__cacosf): Likewise.
2349         * math/s_cacosl.c (__cacosl): Likewise.
2350         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2351         * sysdeps/i386/fpu/libm-test-ulps: Update.
2352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2353
2354         [BZ #16927]
2355         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2356         value.
2357         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2358         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2359         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2360         for explicit high bit of mantissa when testing for argument equal
2361         to 1.
2362         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2363         * sysdeps/i386/fpu/libm-test-ulps: Update.
2364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2365
2366         [BZ #16516]
2367         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2368         (__erf): Scale by 16 instead of 8 in potentially underflowing
2369         case.  Ensure exception if result actually underflows.
2370         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2371         (__erff): Scale by 16 instead of 8 in potentially underflowing
2372         case.  Ensure exception if result actually underflows.
2373         * sysdeps/ieee754/ldbl-128/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         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2378         (efx8): Remove variable.
2379         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2380         case.  Ensure exception if result actually underflows.
2381         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2382         (efx8): Remove variable.
2383         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2384         case.  Ensure exception if result actually underflows.
2385         * math/auto-libm-test-in: Add more tests of erf.
2386         * math/auto-libm-test-out: Regenerated.
2387
2388 2014-05-14  Andreas Schwab  <schwab@suse.de>
2389
2390         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2391         Remove code conditionalized on USE___THREAD.
2392
2393         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2394         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2395         not definedness.
2396
2397 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2398
2399         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2400         Define unconditionally.
2401         (__ASSUME_O_CLOEXEC): Likewise.
2402         (__ASSUME_SOCK_CLOEXEC): Likewise.
2403         (__ASSUME_IN_NONBLOCK): Likewise.
2404         (__ASSUME_PIPE2): Likewise.
2405         (__ASSUME_EVENTFD2): Likewise.
2406         (__ASSUME_SIGNALFD4): Likewise.
2407         (__ASSUME_DUP3): Likewise.
2408         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2409         (__ASSUME_DUP3): Do not define.
2410         (__ASSUME_EVENTFD2): Likewise.
2411         (__ASSUME_IN_NONBLOCK): Likewise.
2412         (__ASSUME_O_CLOEXEC): Likewise.
2413         (__ASSUME_PIPE2): Likewise.
2414         (__ASSUME_SIGNALFD4): Likewise.
2415         (__ASSUME_SOCK_CLOEXEC): Likewise.
2416         (__ASSUME_UTIMES): Undefine.
2417         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2418         (__ASSUME_UTIMES): Do not define.
2419         (__ASSUME_O_CLOEXEC): Likewise.
2420         (__ASSUME_SOCK_CLOEXEC): Likewise.
2421         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2422         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2423         0x020621].
2424         (__ASSUME_PIPE2): Likewise.
2425         (__ASSUME_EVENTFD2): Likewise.
2426         (__ASSUME_SIGNALFD4): Likewise.
2427         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2428         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2429         Do not define.
2430         (__ASSUME_EVENTFD2): Likewise.
2431         (__ASSUME_SIGNALFD4): Likewise.
2432         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2433         (__ASSUME_32BITUIDS): Likewise.
2434         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2435         (__ASSUME_IPC64): Likewise.
2436         (__ASSUME_ST_INO_64_BIT): Likewise.
2437         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2438         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2439         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2440         (__ASSUME_UTIMES): Do not define.
2441         (__ASSUME_PSELECT): Likewise.
2442         (__ASSUME_PPOLL): Likewise.
2443         (__ASSUME_O_CLOEXEC): Likewise.
2444         (__ASSUME_SOCK_CLOEXEC): Likewise.
2445         (__ASSUME_IN_NONBLOCK): Likewise.
2446         (__ASSUME_PIPE2): Likewise.
2447         (__ASSUME_EVENTFD2): Likewise.
2448         (__ASSUME_SIGNALFD4): Likewise.
2449         (__ASSUME_DUP3): Likewise.
2450         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2451         (__ASSUME_UTIMES): Likewise.
2452         (__ASSUME_O_CLOEXEC): Likewise.
2453         (__ASSUME_SOCK_CLOEXEC): Likewise.
2454         (__ASSUME_IN_NONBLOCK): Likewise.
2455         (__ASSUME_PIPE2): Likewise.
2456         (__ASSUME_EVENTFD2): Likewise.
2457         (__ASSUME_SIGNALFD4): Likewise.
2458         (__ASSUME_DUP3): Likewise.
2459         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2460         (__ASSUME_UTIMES): Likewise.
2461         (__ASSUME_O_CLOEXEC): Likewise.
2462         (__ASSUME_SOCK_CLOEXEC): Likewise.
2463         (__ASSUME_IN_NONBLOCK): Likewise.
2464         (__ASSUME_PIPE2): Likewise.
2465         (__ASSUME_EVENTFD2): Likewise.
2466         (__ASSUME_SIGNALFD4): Likewise.
2467         (__ASSUME_DUP3): Likewise.
2468         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2469         Likewise.
2470         (__ASSUME_UTIMES): Likewise.
2471         (__ASSUME_EVENTFD2): Likewise.
2472         (__ASSUME_SIGNALFD4): Likewise.
2473         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2474         (__ASSUME_O_CLOEXEC): Likewise.
2475         (__ASSUME_SOCK_CLOEXEC): Likewise.
2476         (__ASSUME_IN_NONBLOCK): Likewise.
2477         (__ASSUME_PIPE2): Likewise.
2478         (__ASSUME_EVENTFD2): Likewise.
2479         (__ASSUME_SIGNALFD4): Likewise.
2480         (__ASSUME_DUP3): Likewise.
2481         (__ASSUME_UTIMES): Undefine.
2482
2483         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2484         feclearexcept.  Remove symbol versioning code.
2485         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2486         symbol versioning code.
2487         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2488         symbol versioning code.
2489         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2490         feupdateenv.  Remove symbol versioning code.
2491         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2492         fegetexceptflag.  Remove symbol versioning code.
2493         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2494         fesetexceptflag.  Remove symbol versioning code.
2495         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2496         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2497         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2498         (__posix_fadvise64_l32): Remove prototype.
2499         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2500         code.
2501
2502 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2503
2504         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2505         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2506         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2507         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2508
2509 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2510
2511         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2512         current working directory
2513
2514 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2515
2516         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2517         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2518         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2519         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2520         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2521         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2522         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2523         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2524         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2525         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2526         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2527         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2528         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2529         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2530         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2531         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2532         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2533         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2537         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2538         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2539         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2540         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2541         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2542         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2543         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2544         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2545         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2546         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2547         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2548         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2549         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2550         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2551         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2552         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2553         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2554         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2555         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2556         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2557         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2558
2559         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2560         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2561
2562         * sysdeps/unix/sysv/linux/arm/Makefile
2563         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2564         Add rt-aeabi_unwind_cpp_pr1.
2565         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2566         Add nptl-aeabi_unwind_cpp_pr1.
2567         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2568         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2569         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2570         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2571         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2572         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2573
2574         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2575         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2576         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2577         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2578
2579         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2580         Deconditionalize the code that was previously under [RESET_PID].
2581         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2582
2583         * sysdeps/generic/exit-thread.h: New file.
2584         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2585         * include/unistd.h (__exit_thread): Remove declaration.
2586         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2587         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2588         * csu/libc-start.c: Include <exit-thread.h>.
2589         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2590         * nptl/pthread_create.c: Include <exit-thread.h>.
2591         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2592         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2593         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2594         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2595         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2596         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2597         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2598         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2599         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2600         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2601         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2602         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2603         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2604         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2605         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2606         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2607         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2608
2609 2014-05-13  Andreas Schwab  <schwab@suse.de>
2610
2611         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2612
2613 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2614
2615         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2616         (__ASSUME_UTIMES): Do not condition on kernel version.
2617         (__ASSUME_PSELECT): Define unconditionally.
2618         (__ASSUME_PPOLL): Likewise.
2619         (__ASSUME_ATFCTS): Likewise.
2620         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2621         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2622         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2623         (__ASSUME_UTIMENSAT): Define unconditionally.
2624         (__ASSUME_PRIVATE_FUTEX): Likewise.
2625         (__ASSUME_FALLOCATE): Likewise.
2626         (__ASSUME_O_CLOEXEC): Likewise.
2627         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2628         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2629         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2630         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2631         (__ASSUME_IN_NONBLOCK): Likewise.
2632         (__ASSUME_PIPE2): Likewise.
2633         (__ASSUME_EVENTFD2): Likewise.
2634         (__ASSUME_SIGNALFD4): Likewise.
2635         (__ASSUME_DUP3): Likewise.
2636         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2637         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2638         (__ASSUME_AT_RANDOM): Likewise.
2639         (__ASSUME_PREADV): Likewise.
2640         (__ASSUME_PWRITEV): Likewise.
2641         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2642         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2643         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2644         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2645         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2646         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2647         (__ASSUME_O_CLOEXEC): Define unconditionally.
2648         (__ASSUME_PSELECT): Do not undefine conditionally.
2649         (__ASSUME_PPOLL): Likewise.
2650         (__ASSUME_ATFCTS): Likewise.
2651         (__ASSUME_SET_ROBUST_LIST): Likewise.
2652         (__ASSUME_UTIMENSAT): Likewise.
2653         (__ASSUME_FDATASYNC): Define unconditionally.
2654         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2655         (__ASSUME_SIGFRAME_V2): Likewise.
2656         )__ASSUME_EVENTFD2): Likewise.
2657         (__ASSUME_SIGNALFD4): Likewise.
2658         (__ASSUME_PSELECT): Do not undefine conditionally.
2659         (__ASSUME_PPOLL): Likewise.
2660         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2661         (__ASSUME_PSELECT): Define unconditionally.
2662         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
2671         (__ASSUME_O_CLOEXEC): Likewise.
2672         (__ASSUME_SOCK_CLOEXEC): Likewise.
2673         (__ASSUME_IN_NONBLOCK): Likewise.
2674         (__ASSUME_PIPE2): Likewise.
2675         (__ASSUME_EVENTFD2): Likewise.
2676         (__ASSUME_SIGNALFD4): Likewise.
2677         (__ASSUME_DUP3): Likewise.
2678         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2679         (__ASSUME_EVENTFD2): Likewise.
2680         (__ASSUME_SIGNALFD4): Likewise.
2681         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2682
2683 2014-05-12  Andreas Schwab  <schwab@suse.de>
2684
2685         [BZ #16932]
2686         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2687         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2688         than maximum RPC packet size.
2689         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2690         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2691         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2692         (_nss_nis_getservbyport_r): Likewise.
2693
2694 2014-05-12  Will Newton  <will.newton@linaro.org>
2695
2696         * malloc/Makefile (tests): Add tst-mallopt.
2697         * malloc/tst-mallopt.c: New file.
2698
2699 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2700
2701         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2702         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2703
2704 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2705
2706         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2707         (tst-tlsmod6.so): Likewise.
2708
2709 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2710
2711         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2712
2713 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2714
2715         [BZ #16064]
2716         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2717         and <dl-procinfo.h>.
2718         (__fegetenv): Save SSE state in envp->__eip if supported.
2719         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2720         envp->__eip if supported.
2721         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2722         and <dl-procinfo.h>.
2723         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2724         __data_offset and __data_selector in environment to 0.  Set SSE
2725         state if supported.
2726         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2727         test-fenv-sse.
2728         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2729         -mfpmath=sse.
2730         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2731
2732 2014-05-09  Will Newton  <will.newton@linaro.org>
2733
2734         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2735         and libc_relro_required for ARM.
2736         * sysdeps/arm/preconfigure: Regenerate.
2737
2738 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2739             Stefan Liebler  <stli@linux.vnet.ibm.com>
2740
2741         * config.make.in (enable-lock-elision): New Makefile variable.
2742         * configure.ac: Likewise.
2743         * configure: Regenerate.
2744         * sysdeps/s390/configure.ac:
2745         Add check for gcc transactions support.
2746         * sysdeps/s390/configure: Regenerate.
2747         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2748         Build elision files if enabled.
2749         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2750         Add lock elision support for s390.
2751         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2752         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2753         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2754         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2755         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2756         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2757         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2758         Likewise.
2759         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2760         Likewise.
2761         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2762         Likewise.
2763         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2764         Likewise.
2765         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2766         (__lll_timedlock_elision, __lll_lock_elision)
2767         (__lll_unlock_elision, __lll_trylock_elision)
2768         (lll_timedlock_elision, lll_lock_elision)
2769         (lll_unlock_elision, lll_trylock_elision): Add.
2770         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2771         (pthread_mutex_t): Add lock elision support for s390.
2772
2773 2014-05-14  Wilco  <wdijkstr@arm.com>
2774
2775         * sysdeps/arm/fclrexcpt.c: Cleanup.
2776         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2777         * sysdeps/arm/feenablxcpt.c: Cleanup.
2778         * sysdeps/arm/fegetenv.c: Cleanup.
2779         * sysdeps/arm/fegetexcept.c: Cleanup.
2780         * sysdeps/arm/fegetround.c: Cleanup.
2781         * sysdeps/arm/feholdexcpt.c: Cleanup.
2782         * sysdeps/arm/fesetenv.c: Cleanup.
2783         * sysdeps/arm/fesetround.c: Cleanup.
2784         * sysdeps/arm/feupdateenv.c: Cleanup.
2785         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2786         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2787         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2788         * sysdeps/arm/ftestexcept.c: Cleanup.
2789         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2790         * sysdeps/arm/setfpucw.c: Cleanup.
2791
2792 2014-05-09  Will Newton  <will.newton@linaro.org>
2793
2794         * sysdeps/arm/armv7/strcmp.S: New file.
2795         * NEWS: Mention addition of ARMv7 optimized strcmp.
2796
2797 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2798
2799         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2800         look for %.ac rather than %.in.
2801
2802         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2803         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2804         * sysdeps/mach/hurd/configure: Regenerated.
2805         * sysdeps/unix/sysv/linux/configure: Regenerated.
2806
2807         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2808
2809 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2810
2811         [BZ# 16922]
2812         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2813         (LONG_SUB): Ditto.
2814         (PTR_SUB): Ditto.
2815
2816 2014-05-07  Andreas Schwab  <schwab@suse.de>
2817
2818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2819         when skipping over non-matching result from nscd.
2820
2821 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2822
2823         [BZ #16876]
2824         * nptl/sockperf.c (client): Check socket return value.
2825
2826         [BZ #16877]
2827         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2828         nscd security class.
2829
2830 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2831
2832         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2833         * sysdeps/arm/unwind.h: ... here.
2834
2835 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2836
2837         [BZ# 16916]
2838         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2839         Define.
2840
2841 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2842
2843         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2844         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2845         multiarch strncpy for PPC64.
2846         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2847         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2849         multiarch optimizations.
2850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2851         (__libc_ifunc_impl_list): Likewise.
2852         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2853         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2854         multiarch stpncpy for PPC64.
2855         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2856         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2857
2858 2014-05-06  Andreas Schwab  <schwab@suse.de>
2859
2860         [BZ #16912]
2861         * gmon/mcount.c (_MCOUNT_DECL): Use
2862         atomic_compare_and_exchange_bool_acq instead of
2863         catomic_compare_and_exchange_bool_acq.
2864
2865 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2866
2867         * elf/Makefile (others, install-bin): Remove pldd.
2868         (pldd-modules): Variable removed.
2869         ($(objpfx)pldd): Target removed.
2870         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2871         (others, install-bin): Append pldd here.
2872         ($(objpfx)pldd): New target.
2873
2874         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2875         to 0, so the first #if test emitted later doesn't see it undefined.
2876         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2877         * sysdeps/gnu/errlist.c: Regenerated.
2878
2879 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2880
2881         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2882         [libc_hidden_builtin_def]: Define to empty value.
2883         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2884         [libc_hidden_builtin_def]: Likewise.
2885         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2886         [libc_hidden_builtin_def]: Likewise.
2887         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2888         [libc_hidden_builtin_def]: Likewise.
2889         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2890         __redirect_memcpy and define ifunc as default hidden symbol.
2891         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2892         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2893
2894 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2895
2896         * locale/iso-4217.def: Reintroduce XDR currency.
2897
2898 2014-05-04  Allan McRae  <allan@archlinux.org>
2899
2900         * po/eo.po: Update Esperanto translation from translation project.
2901
2902 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2903
2904         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2905         and FEATURE_INDEX_MAX to 1.
2906         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2907
2908 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2909
2910         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2911         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2912         * iconvdata/big5.c (ONE_DIRECTION): Define.
2913         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2914         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2915         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2916         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2917         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2918         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2919         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2920         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2921         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2922         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2923         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2924         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2925         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2926         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2927         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2928         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2929         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2930         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2931         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2932         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2933         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2934         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2935         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2936         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2937         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2938         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2939         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2940         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2941         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2942         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2943         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2944         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2945         * iconvdata/johab.c (ONE_DIRECTION): Define.
2946         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2947         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2948         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2949         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2950         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2951         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2952         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2953         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2954         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2955         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2956
2957 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2958
2959         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2960         (_IO_JUMPS_OFFSET): Define to 0.
2961
2962         * nptl/sysdeps/pthread/bits/libc-lock.h
2963         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2964         (__libc_lock_define_initialized_recursive): Always define using
2965         initializer.  Modern compilers treat uninitialized (implicit zero) and
2966         explicit zero initializers the same (i.e. put the datum in bss).
2967
2968 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2969
2970         * nscd/nscd-client.h: Include <string.h>.
2971
2972 2014-05-01  David S. Miller  <davem@davemloft.net>
2973
2974         [BZ #16885]
2975         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2976         multiple zero bytes exist at the end of a string.
2977         Reported by Aurelien Jarno <aurelien@aurel32.net>
2978
2979         * string/test-strcmp.c (check): Add explicit test for situations where
2980         there are multiple zero bytes after the first.
2981
2982 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2983
2984         [BZ #16890]
2985         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2986         when compiling wprintf.
2987         * stdio-common/tstdiomisc.c (t3): New function.
2988         (main): Call it.
2989
2990 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2991
2992         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2993         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2994         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2995         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2996
2997 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2998
2999         * stdlib/longlong.h: Updated from GCC.
3000
3001 2014-05-01  Will Newton  <will.newton@linaro.org>
3002             Bernard Ogden  <bernie.ogden@linaro.org>
3003
3004         * NEWS: Update fixed bug list.
3005
3006         [BZ #15119]
3007         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3008
3009 2014-04-30  David S. Miller  <davem@davemloft.net>
3010
3011         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3012         (libc_feholdexcept_setround_sparc_ctx): New function.
3013         (libc_fesetenv_sparc_ctx): Likewise.
3014         (libc_feupdateenv_sparc_ctx): Likewise.
3015         (libc_feholdsetround_sparc_ctx): Likewise.
3016         (libc_feholdexcept_setround_ctx): Define.
3017         (libc_feholdexcept_setroundf_ctx): Likewise.
3018         (libc_feholdexcept_setroundl_ctx): Likewise.
3019         (libc_fesetenv_ctx): Likewise.
3020         (libc_fesetenvf_ctx): Likewise.
3021         (libc_fesetenvl_ctx): Likewise.
3022         (libc_feupdateenv_ctx): Likewise.
3023         (libc_feupdateenvf_ctx): Likewise.
3024         (libc_feupdateenvl_ctx): Likewise.
3025         (libc_feresetround_ctx): Likewise.
3026         (libc_feresetroundf_ctx): Likewise.
3027         (libc_feresetroundl_ctx): Likewise.
3028         (libc_feholdsetround_ctx): Likewise.
3029         (libc_feholdsetroundf_ctx): Likewise.
3030         (libc_feholdsetroundl_ctx): Likewise.
3031
3032         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3033         with __USE_GNU instead of XOPEN cpp guards.
3034
3035         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3036         0.
3037
3038         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3039         with XOPEN cpp guards.
3040
3041 2014-04-30  Julian Brown  <julian@codesourcery.com>
3042
3043         [BZ #16888]
3044         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3045         handling.
3046
3047 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3048
3049         [BZ #9894]
3050         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3051         Change to 2.6.32.
3052         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3053         * sysdeps/unix/sysv/linux/configure: Regenerated.
3054         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3055         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3056         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3057         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3058         * README: Update reference to required Linux kernel version.
3059         * manual/install.texi (Linux): Update reference to required Linux
3060         kernel headers version.
3061         * INSTALL: Regenerated.
3062
3063         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3064         header inclusion.
3065         [POSIX] (limits.h): Likewise.
3066         [POSIX] (math.h): Likewise.
3067         [POSIX] (sys/wait.h): Likewise.
3068         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3069         function.
3070         [POSIX] (stddef.h): Do not allow header inclusion.
3071
3072 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3073
3074         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3075
3076 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3077
3078         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3079         Return immediately after lll_futex_wake.
3080
3081 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3082
3083         [BZ #16791]
3084         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3085         structure.
3086         (datahead_init_pos): Call datahead_init_common early.
3087         (datahead_init_neg): Likewise.
3088
3089         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3090         datahead_init_neg): New functions.
3091         * nscd/aicache.c (addhstaiX): Use them.
3092         * nscd/grpcache.c (cache_addgr): Likewise.
3093         * nscd/hstcache.c (cache_addhst): Likewise.
3094         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3095         * nscd/netgroupcache.c (do_notfound): Likewise.
3096         (addgetnetgrentX): Likewise.
3097         (addinnetgrX): Likewise.
3098         * nscd/pwdcache.c (cache_addpw): Likewise.
3099         * nscd/servicescache.c (cache_addserv): Likewise.
3100
3101 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3102             Atsushi Onoe  <atsushi@onoe.org>
3103
3104         [BZ #14308]
3105         [BZ #12994]
3106         [BZ #13651]
3107         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3108         one response is valid.
3109         * resolv/res_send.c (send_dg): Check for validity of other
3110         response if the current response is a referral.
3111
3112 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3113
3114         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3115
3116 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3117
3118         [BZ #16823]
3119         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3120         Always divide by positive zero when computing -Inf result.
3121         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3122         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3123
3124 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3125
3126         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3127         FPSCR if value do not change.
3128         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3129         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3130         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3131         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3132         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3133         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3134         function.
3135
3136 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3137
3138         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3139         * sysdeps/unix/sysv/linux/hppa: Move directory from
3140         ports/systeps/unix/sysv/linux/hppa.
3141         * README: Update listing for hppa-*-linux-gnu.
3142
3143 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3144
3145         [BZ #16754]
3146         * manual/stdio.texi (Hook functions): Fix types of stream hook
3147         functions.
3148         [BZ #16854]
3149         * socket/sys/socket.h: Fix typo in comment.
3150
3151 2014-04-28  Wilco  <wdijkstr@arm.com>
3152
3153         * sysdeps/arm/fenv_private.h: New file.
3154         * sysdeps/arm/math_private.h: New file.
3155         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3156
3157 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3158
3159         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3160         with __int128_t.
3161         (La_x86_64_retval): Likewise.
3162
3163 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3164
3165         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3166         fpsr if value didn't change.
3167         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3168         to fpcr if value didn't change.
3169         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3170         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3171         fpsr or fpcr if value didn't change.
3172         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3173         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3174         fpcr if value didn't change.
3175         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3176         to fpsr if value didn't change.
3177
3178 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3179
3180         * nptl/tst-sem3.c: Use test-skeleton.c
3181         (main): Rename to do_test.  Use return instead of
3182         exit.
3183         * nptl/tst-sem4.c: Use test-skeleton.c
3184         (main): Rename to do_test.
3185
3186 2014-04-22  David S. Miller  <davem@davemloft.net>
3187
3188         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3189         (struct sigaction): New struct member __glibc_reserved0, change
3190         type of sa_flags to int.
3191
3192 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3193
3194         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3195         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3196
3197 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3198
3199         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3200         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3201
3202 2014-04-22  Will Newton  <will.newton@linaro.org>
3203             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3204
3205         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3206         (__longjmp): Add longjmp and longjmp_target SystemTap
3207         probes.
3208         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3209         (__sigsetjmp): Add setjmp SystemTap probe.
3210
3211 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3212
3213         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3214         match manual order.
3215
3216 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3217
3218         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3219
3220         * sysdeps/powerpc/fpu/fenv_private.h
3221         (libc_feholdexcept_setroundl_ctx): Define to
3222         libc_feholdexcept_setround_ppc_ctx.
3223         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3224         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3225         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3226         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3227
3228 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3229
3230         * sysdeps/aarch64/math-tests.h: New file.
3231
3232 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3233
3234         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3235         New.
3236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3237         Check and set bit_AVX2_Usable.
3238         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3239         macro.
3240         (bit_AVX2): Likewise.
3241         (index_AVX2_Usable): Likewise.
3242         (CPUID_AVX2): Likewise.
3243         (HAS_AVX2): Likewise.
3244
3245 2014-04-17  Will Newton  <will.newton@linaro.org>
3246
3247         * manual/setjmp.texi (System V contexts): Add note that
3248         calling setcontext on a context created by a call to a
3249         signal handler is undefined.  Update text to note that
3250         setcontext from a signal handler is possible but not
3251         recommended.
3252
3253         [BZ #16629]
3254         * stdlib/tst-setcontext.c: Include signal.h.
3255         (main): Check that the signal stack before and
3256         after swapcontext is the same.
3257
3258         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3259         Re-implement to restore registers in user code and avoid
3260         rt_sigreturn system call.
3261
3262 2014-04-17  Wilco  <wdijkstr@arm.com>
3263
3264         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3265         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3266         * math/test-fenv.c: Skip exception trap tests on targets which only
3267         support non-stop mode.
3268
3269 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3270             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3271
3272         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3273         (libc_feholdsetround_aarch64_ctx)
3274         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3275         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3276         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3277         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3278         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3279         (libc_feresetround_noexl_ctx): Define.
3280
3281 2014-04-16  Richard Henderson  <rth@redhat.com>
3282
3283         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3284
3285         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3286         unwind tables.
3287
3288         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3289         const from the non-libc, non-ldso copy.
3290
3291         * sysdeps/alpha/libm-test-ulps: Regenerate.
3292
3293 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3294             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3295
3296         * sysdeps/aarch64/fpu/math_private.h: New file.
3297
3298 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3299
3300         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3301
3302 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3303
3304         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3305         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3306         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3307         Intel MPX bound registers before _dl_profile_fixup.
3308         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3309         registers after _dl_profile_fixup.  Save and restore bound
3310         registers bnd0/bnd1 when calling _dl_call_pltexit.
3311         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3312         (LR_BND_OFFSET): Likewise.
3313         (LRV_BND0_OFFSET): Likewise.
3314         (LRV_BND1_OFFSET): Likewise.
3315
3316 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3317
3318         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3319         to...
3320         * sysdeps/mach/hurd/i386/tls.h: ... here.
3321         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3322         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3323         fields.
3324
3325 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3326
3327         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3328
3329 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3330
3331         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3332
3333 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3334
3335         [BZ #14770]
3336         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3337         * sysdeps/s390/configure: Regenerate.
3338
3339         [BZ #16824]
3340         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3341         Set round-to-nearest internally to reduce error accumulation.
3342
3343 2014-04-16  Alan Modra  <amodra@gmail.com>
3344
3345         [BZ #16740]
3346         [BZ #16619]
3347         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3348         * math/libm-test.inc (frexp_test_data): Add tests.
3349         * NEWS: Update fixed bug list.
3350
3351 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3352
3353         * benchtests/Makefile: Depend on libraries in build directory.
3354         (bench-math): Separate out math tests.
3355         (bench-pthread): Separate out pthread tests.
3356         (bench): Include math and pthread tests.
3357
3358 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3359
3360         [BZ #16831]
3361         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3362         _dl_debug_initialize.
3363
3364         * configure.ac: Remove SELinux header check.
3365         * configure: Regenerate.
3366         * nscd/selinux.c (perms): Array of const char* to permission names.
3367         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3368         default policy. Call string_to_security_class and string_to_av_perm to
3369         translate strings. Enforce default policy and call avs_has_perm with
3370         results of translated strings.
3371
3372 2014-04-13  David S. Miller  <davem@davemloft.net>
3373
3374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3375
3376 2014-04-12  Allan McRae  <allan@archlinux.org>
3377
3378         [BZ #16838]
3379         * manual/string.texi (Collation Functions): Fix qsort argument
3380         order in example.
3381         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3382
3383 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3384
3385         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3386         Make the test a no-op if there are no exceptions defined.
3387
3388 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3389
3390         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3391         enable-hardcoded-path-in-tests
3392
3393 2014-04-11  Will Newton  <will.newton@linaro.org>
3394
3395         * benchtests/Makefile (extra-objs): Add json-lib.o.
3396         (bench-func): Tidy up JSON output.
3397         * benchtests/bench-skeleton.c: Include json-lib.h.
3398         (main): Use JSON library functions to do output of
3399         benchmark results.
3400         * benchtests/bench-timing-type.c (main): Output the
3401         timing type simply, leaving formatting to the user.
3402         * benchtests/json-lib.c: New file.
3403         * benchtests/json-lib.h: Likewise.
3404
3405 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3406
3407         [BZ #15215]
3408         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3409         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3410         memory barriers.  Add comments.
3411         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3412         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3413         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3414         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3415         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3416         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3417
3418 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3419
3420         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3421         * sysdeps/s390/s390-64/configure.ac: ... this ...
3422         * sysdeps/s390/configure.ac: ... to here.
3423         * sysdeps/s390/s390-32/configure: Delete file.
3424         * sysdeps/s390/s390-64/configure: Delete file.
3425         * sysdeps/s390/configure: Regenerate.
3426
3427 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3428
3429         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3430
3431 2014-04-11  Will Newton  <will.newton@linaro.org>
3432
3433         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3434         to zero if it is not defined elsewhere.  (mtrim): Test
3435         the value of MALLOC_DEBUG with #if rather than #ifdef.
3436
3437 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3438
3439         * benchtests/pthread_once-inputs: New file.
3440         * benchtests/pthread_once-source.c: New file.
3441         * benchtests/README: Update documentation.
3442
3443 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3444             H.J. Lu  <hongjiu.lu@intel.com>
3445
3446         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3447         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3448         * sysdeps/x86_64/configure: Regenerated.
3449         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3450         macro.
3451         (REGISTER_SAVE_RAX): Likewise.
3452         (REGISTER_SAVE_RCX): Likewise.
3453         (REGISTER_SAVE_RDX): Likewise.
3454         (REGISTER_SAVE_RSI): Likewise.
3455         (REGISTER_SAVE_RDI): Likewise.
3456         (REGISTER_SAVE_R8): Likewise.
3457         (REGISTER_SAVE_R9): Likewise.
3458         (REGISTER_SAVE_BND0): Likewise.
3459         (REGISTER_SAVE_BND1): Likewise.
3460         (REGISTER_SAVE_BND2): Likewise.
3461         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3462         bound registers when calling _dl_fixup.
3463
3464 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3465
3466         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3467         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3468         of its definition.
3469         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3470         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3471         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3472         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3473         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3474         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3475         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3476
3477 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3478
3479         [BZ #15514]
3480         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3481         pathconf(_PC_NAME_MAX).
3482
3483 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3484
3485         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3486         Remove macro usage.
3487         (__PTHREAD_SPINS): Move definition to ...
3488         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3489         (__PTHREAD_SPINS): ... here.
3490         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3491         (__PTHREAD_SPIN): Likewise.
3492         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3493         (__PTHREAD_SPIN): Likewise.
3494         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3495         (__PTHREAD_SPIN): Likewise.
3496         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3497         (__PTHREAD_SPIN): Likewise.
3498         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3499         (__PTHREAD_SPIN): Likewise.
3500         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3501         (__PTHREAD_SPIN): Likewise.
3502         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3503         (__PTHREAD_SPIN): Likewise.
3504         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3505         (__PTHREAD_SPIN): Likewise.
3506         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3507         (__PTHREAD_SPIN): Likewise.
3508         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3509         (__PTHREAD_SPIN): Likewise.
3510         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3511         (__PTHREAD_SPIN): Likewise.
3512         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3513         (__PTHREAD_SPIN): Likewise.
3514
3515         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3516         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3517         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3518         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3519         imply folder.
3520         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3521         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3522         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3523         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3524         correct imply path.
3525         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3526         strlen symbol for non multi-arch builds.
3527         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3528         missing hidden_def and weak_alias.
3529
3530 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3531
3532         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3533
3534 2014-04-07  Will Newton  <will.newton@linaro.org>
3535
3536         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3537         and contents.  [!_LIBC] Remove #ifndef and contents.
3538         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3539         * string/memccpy.c (__memccpy): Use ANSI prototype.
3540         * string/memfrob.c (memfrob): Likewise.
3541         * string/strcoll.c (STRCOLL): Likewise.
3542         * string/strlen.c (strlen): Likewise.
3543         * string/strtok.c (STRTOK): Likewise.
3544         * string/strcat.c: Remove unused #include of memcopy.h.
3545         (strcat): Use ANSI prototype.
3546         * string/strchr.c: Remove unused #include of memcopy.h.
3547         (strchr): Use ANSI prototype.
3548         * string/strcmp.c: Remove unused #include of memcopy.h.
3549         (strcmp): Use ANSI prototype.
3550         * string/strcpy.c: Remove unused #include of memcopy.h.
3551         (strcpy): Use ANSI prototype.
3552
3553 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3554
3555         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3556         * config.make.in (config-extra-cppflags): Set it from
3557         libc_extra_cppflags.
3558         * configure.ac (libc_extra_cflags): Make it accumulate over
3559         configure fragments.
3560         (libc_extra_cppflags): New flag.
3561         * configure. Regenerate.
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3563         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3564         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3566
3567         [BZ #16815]
3568         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3569         result for FE_DOWNWARD rounding mode.
3570         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3571         Likewise.
3572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3573
3574 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3575
3576         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3577         in function argument name.
3578
3579 2014-04-03  David Svoboda  <svoboda@cert.org>
3580
3581         [BZ #5666]
3582         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3583         explicitly.
3584
3585 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3586
3587         * elf/dl-unmap-segments.h: New file.
3588         * sysdeps/generic/ldsodefs.h
3589         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3590         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3591         * elf/dl-fptr.c: Likewise.
3592         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3593         * sysdeps/aarch64/tlsdesc.c: Likewise.
3594         * sysdeps/arm/tlsdesc.c: Likewise.
3595         * sysdeps/i386/tlsdesc.c: Likewise.
3596         * sysdeps/tile/dl-runtime.c: Likewise.
3597         * sysdeps/x86_64/tlsdesc.c: Likewise.
3598         * elf/dl-load.h: New file.
3599         * elf/dl-load.c: Include it.
3600         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3601         Macros moved to dl-load.h.
3602         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3603         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3604         Use _dl_unmap_segments in place of __munmap.
3605         Break out segment-mapping loop into ...
3606         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3607
3608 2014-04-03  Will Newton  <will.newton@linaro.org>
3609
3610         * elf/dl-lookup.c (do_lookup_x): Remove comment
3611         referring to nested function and move variable
3612         declarations down to before first use.
3613
3614 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3615
3616         [BZ #16799]
3617         [BZ #16800]
3618         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3619         with 0 numerator.
3620         * math/s_catanf.c (__catanf): Likewise.
3621         * math/s_catanh.c (__catanh): Likewise.
3622         * math/s_catanhf.c (__catanhf): Likewise.
3623         * math/s_catanhl.c (__catanhl): Likewise.
3624         * math/s_catanl.c (__catanl): Likewise.
3625         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3626         by positive zero when computing -Inf result.
3627         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3628         (catanh_test): Likewise.
3629         * sysdeps/i386/fpu/libm-test-ulps: Update.
3630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3631
3632         [BZ #16789]
3633         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3634         instead of using underflowing value in computing result.
3635         * math/s_clog10.c (__clog10): Likewise.
3636         * math/s_clog10f.c (__clog10f): Likewise.
3637         * math/s_clog10l.c (__clog10l): Likewise.
3638         * math/s_clogf.c (__clogf): Likewise.
3639         * math/s_clogl.c (__clogl): Likewise.
3640         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3641         (clog10_test): Likewise.
3642         * sysdeps/i386/fpu/libm-test-ulps: Update.
3643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3644
3645 2014-04-02  Alan Modra  <amodra@gmail.com>
3646
3647         [BZ #16739]
3648         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3649         output when value is near a power of two.  Use int64_t for lx and
3650         remove casts.  Use decimal rather than hex exponent constants.
3651         Don't use long double multiplication when double will suffice.
3652         * math/libm-test.inc (nextafter_test_data): Add tests.
3653         * NEWS: Add 16739 and 16786 to bug list.
3654
3655         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3656
3657         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3658
3659 2014-04-01  Will Newton  <will.newton@linaro.org>
3660
3661         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3662         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3663
3664 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3665
3666         [BZ #13347]
3667         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3668         * nptl/tst-setuid2.c: New file.
3669         * nptl/Makefile (xtests): Add tst-setuid2.
3670
3671 2014-04-01  Alan Modra  <amodra@gmail.com>
3672
3673         [BZ #16786]
3674         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3675
3676 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3677
3678         [BZ #6803]
3679         [BZ #6804]
3680         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3681         set errno as appropriate.
3682         * math/w_scalbf.c (__scalbf): Likewise.
3683         * math/w_scalbl.c (__scalbl): Likewise.
3684         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3685         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3686         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3687         Add more NaN tests.
3688
3689         [BZ #16349]
3690         * math/w_atan2.c: Include <errno.h>.
3691         (__atan2): Set errno for result underflowing to zero.
3692         * math/w_atan2f.c: Include <errno.h>.
3693         (__atan2f): Set errno for result underflowing to zero.
3694         * math/w_atan2l.c: Include <errno.h>.
3695         (__atan2l): Set errno for result underflowing to zero.
3696         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3697         tests.
3698         * math/auto-libm-test-out: Regenerated.
3699
3700 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3701
3702         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3703         Encode instruction correctly in little endian.
3704         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3705         Likewise.
3706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3707         Likewise.
3708         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3709         Likewise.
3710         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3711         Likewise.
3712
3713 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3714
3715         [BZ #9894]
3716         * sysdeps/unix/sysv/linux/kernel-features.h
3717         [__sparc__ && !__arch64__ && !__sparc_v9__]
3718         (__ASSUME_SET_ROBUST_LIST): Do not define.
3719         [__sparc__ && !__arch64__ && !__sparc_v9__]
3720         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3721         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3722         Likewise.
3723         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3724         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3725         (__ASSUME_REQUEUE_PI): Likewise.
3726         (__ASSUME_SET_ROBUST_LIST): Likewise.
3727         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3728         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3729         Undefine.
3730         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3731         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3732         Likewise.
3733         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3734         Likewise.
3735         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3736         Likewise.
3737         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3738         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3739         Undefine.
3740         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3741         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3742         Likewise.
3743
3744         [BZ #16648]
3745         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3746         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3747         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3748
3749 2014-03-31  Will Newton  <will.newton@linaro.org>
3750
3751         * benchtests/Makefile (bench): Add ffs and ffsll to list
3752         of tests.
3753         * benchtests/ffs-inputs: New file.
3754         * benchtests/ffsll-inputs: Likewise.
3755
3756 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3757
3758         [BZ #16770]
3759         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3760         too large before casting to int.
3761         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3762         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3763         * math/libm-test.inc (scalb_test_data): Add more tests.
3764
3765 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3766
3767         * benchtests/Makefile (DETAILED_OPT): New make option.
3768         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3769         set.
3770         * benchtests/bench-skeleton.c: Include stdbool.h.
3771         (main): Store and print timings per input.
3772         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3773         member to each argument value.
3774         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3775         (_print_arg_data): Initialize per-input timing to 0.
3776
3777         * benchtests/Makefile (timing-type): New binary.
3778         (bench-clean): Also remove bench-timing-type.
3779         (bench): New target for timing-type.
3780         (bench-func): Print output in JSON format.
3781         * benchtests/bench-skeleton.c (main): Print output in JSON
3782         format.
3783         * benchtests/bench-timing-type.c: New file.
3784         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3785         (TIMING_PRINT_STATS): Remove.
3786         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3787         name separately.
3788
3789         * benchtests/bench-modf.c: Remove.
3790         * benchtests/modf-inputs: New inputs file.
3791
3792 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3793
3794         [BZ #16362]
3795         * math/s_clog10.c (M_PI_LOG10E): New macro.
3796         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3797         imaginary parts are 0.
3798         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3799         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3800         imaginary parts are 0.
3801         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3802         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3803         imaginary parts are 0.
3804         * math/libm-test.inc (clog10_test_data): Update expected results
3805         for when real and imaginary parts are 0.
3806
3807 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3808
3809         * elf/dl-load.c: Finish conversion of __builtin_expect into
3810         __glibc_{un}likely.
3811
3812 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3813
3814         [BZ #16348]
3815         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3816         1+x for argument with exponent below -67.
3817         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3818         Likewise.
3819         * math/auto-libm-test-in: Add more tests of exp.
3820         * math/auto-libm-test-out: Regenerated.
3821
3822 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3823
3824         [BZ #16759]
3825         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3826         (nscd_getnetgrent): Use it.
3827
3828         [BZ #16760]
3829         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3830         of stpcpy.
3831
3832 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3833
3834         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3835         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3836         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3837         (lll_robust_unlock): Remove out of line section. Use cfi
3838         intrinsics.
3839         (LLL_STUB_UNWIND_INFO*): Remove.
3840         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3841         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3842         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3843         (lll_robust_unlock): Remove out of line section. Use cfi
3844         intrinsics.
3845         (LLL_STUB_UNWIND_INFO*): Remove.
3846
3847 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3848
3849         [BZ #16758]
3850         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3851         blank values.
3852
3853 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3854
3855         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3856
3857 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3858
3859         [BZ #16198]
3860         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3861         fnstenv.
3862         * math/test-fenv-preserve.c: New file.
3863         * math/Makefile (tests): Add test-fenv-preserve.
3864
3865 2014-03-26  Will Newton <will.newton@linaro.org>
3866
3867         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3868
3869 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3870
3871         * scripts/versionlist.awk: Partition the version sets and emit all
3872         GLIBC_* (sorted) before all others (sorted).
3873
3874 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3875
3876         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3877         GLIBC_2.2.5 version.
3878
3879 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3880
3881         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3882         calls.
3883
3884         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3885         previous change.
3886
3887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3888
3889 2014-03-25  Andreas Schwab  <schwab@suse.de>
3890
3891         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3892         label to be used after in6ailist is initialized.
3893
3894 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3895
3896         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3897         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3898
3899 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3900
3901         [BZ #16357]
3902         [BZ #16599]
3903         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3904         min_plus_half.
3905         (fp_formats): Update initializers.
3906         (init_fp_formats): Initialize new field.
3907         (output_for_one_input_case): Allow underflow for results up to
3908         min_plus_half.
3909         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3910         * math/auto-libm-test-in: Don't mark some underflows from asin and
3911         atanh as spurious.
3912         * math/auto-libm-test-out: Regenerated.
3913         * sysdeps/i386/fpu/libm-test-ulps: Update.
3914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3915
3916 2014-03-25  Andreas Schwab  <schwab@suse.de>
3917
3918         * libio/Makefile (tst-ftell-partial-wide-ENV)
3919         (tst-ftell-active-handler-ENV): Define.
3920
3921 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3922
3923         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3924
3925 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3926
3927         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3928
3929 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3930
3931         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3932         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3933         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3934
3935 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3936
3937         [BZ #16634]
3938         * elf/dl-load.c (open_verify): Add mode parameter.
3939         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3940         (open_path): Change from boolean 'secure' to complete flag 'mode'
3941         (_dl_map_object): Adjust.
3942         * elf/Makefile (tests): Add tst-dlopen-aout.
3943         * elf/tst-dlopen-aout.c: New test.
3944
3945 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3946
3947         [BZ #16714]
3948         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3949         (struct stat): Rename member pad0 to __glibc_reserved0.
3950
3951         [BZ #16712]
3952         * sysdeps/s390/s390-32/bits/wordsize.h
3953         (__WORDSIZE32_SIZE_ULONG): New define.
3954         * sysdeps/s390/s390-64/bits/wordsize.h
3955         (__WORDSIZE32_SIZE_ULONG): Likewise.
3956         * sysdeps/generic/stdint.h (SIZE_MAX):
3957         Define as UL if __WORDSIZE32_SIZE_ULONG.
3958
3959         [BZ #16713]
3960         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3961         (__glibc_reserved0): New variable.
3962         (sa_flags): Change type to int.
3963
3964         * posix/Makefile (before-compile): Use += before-compile instead
3965         of a :=.
3966
3967         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3968         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3969
3970 2014-03-20  Andreas Schwab  <schwab@suse.de>
3971
3972         [BZ #16743]
3973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3974         non-matching result from nscd.
3975
3976 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3977
3978         * scripts/bench.py: Moved to ...
3979         * benchtests/scripts/bench.py: ... here.
3980         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3981
3982 2014-03-24  Andreas Schwab  <schwab@suse.de>
3983
3984         [BZ #16002]
3985         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3986         alloca_account and account alloca use for struct in6ailist.
3987
3988 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3989
3990         [BZ #16284]
3991         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3992         rounding mode to recompute results that overflow to infinity or
3993         underflow to zero.
3994         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3995         bug 16284.
3996         * math/auto-libm-test-out: Regenerated.
3997         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3998         (ccosh_test): Likewise.
3999         (csin_test_data): Use plus_oflow.
4000         (csin_test): Use ALL_RM_TEST.
4001         (csinh_test_data): Use plus_oflow.
4002         (csinh_test): Use ALL_RM_TEST.
4003         * sysdeps/i386/fpu/libm-test-ulps: Update.
4004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4005
4006 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4007
4008         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4009         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4010         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4011
4012         [BZ #16731]
4013         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4014         when x - 1 is zero.
4015         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4016         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4017         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4018         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4019         argument is 1.
4020         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4021         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4022         zero.
4023         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4024         * sysdeps/i386/fpu/libm-test-ulps: Update.
4025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4026
4027 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4028
4029         * scripts/bench.pl: Remove file.
4030         * scripts/bench.py: New benchmark script.
4031         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4032         * benchtests/README: Mention python dependency.
4033         * scripts/pylintrc: New file.
4034         * scripts/pylint: New file.
4035
4036         * bits/mathdef.h: Use #ifdef instead of #if.
4037         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4038         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4039         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4040         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4041         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4042         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4043
4044 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4045             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4046
4047         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4049         and strpbrk-ppc64 objects.
4050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4051         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4052         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4053         multiarch strpbrk for POWER7.
4054         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4055         multiarch strpbrk for PPC64.
4056         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4057         ifunc selector.
4058         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4059         strpbrk for POWER7.
4060
4061 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4062
4063         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4064         (atan_test): Likewise.
4065         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4066         (atanh_test): Use ALL_RM_TEST.
4067         (atan2_test_data): Likewise.
4068         (cabs_test): Likewise.
4069         (cacosh_test): Likewise.
4070         (carg_test): Likewise.
4071         (casin_test): Likewise.
4072         (casinh_test): Likewise.
4073         (cbrt_test): Likewise.
4074         (csqrt_test): Likewise.
4075         (erf_test): Likewise.
4076         (erfc_test): Likewise.
4077         (pow10_test): Likewise.
4078         (exp2_test): Likewise.
4079         (hypot_test): Likewise.
4080         (j0_test): Likewise.
4081         (j1_test): Likewise.
4082         (lgamma_test): Likewise.
4083         (gamma_test): Likewise.
4084         (sincos_test): Likewise.
4085         (tanh_test): Likewise.
4086         (y0_test): Likewise.
4087         (y1_test): Likewise.
4088         * sysdeps/i386/fpu/libm-test-ulps: Update.
4089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4090
4091 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4092
4093         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4095         and strcspn-ppc64 objects.
4096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4097         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4098         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4099         multiarch strcspn for POWER7.
4100         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4101         multiarch strcspn for PPC64.
4102         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4103         ifunc selector.
4104         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4105         strcspn for POWER7.
4106
4107 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4108
4109         * math/gen-libm-test.pl (generate_testfile): Expect only function
4110         name as argument to AUTO_TESTS_* and pass results for all rounding
4111         modes to parse_args.
4112         (parse_auto_input): Separate inputs of automatic tests from
4113         outputs before storing in %auto_tests.
4114         * math/libm-test.inc (acos_test_data): Update call to
4115         AUTO_TESTS_f_f.
4116         (acos_test): Use ALL_RM_TEST.
4117         (acos_tonearest_test_data): Remove.
4118         (acos_test_tonearest): Likewise.
4119         (acos_towardzero_test_data): Likewise.
4120         (acos_test_towardzero): Likewise.
4121         (acos_downward_test_data): Likewise.
4122         (acos_test_downward): Likewise.
4123         (acos_upward_test_data): Likewise.
4124         (acos_test_upward): Likewise.
4125         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4126         (asin_test_data): Likewise.
4127         (asin_test): Use ALL_RM_TEST.
4128         (asin_tonearest_test_data): Remove.
4129         (asin_test_tonearest): Likewise.
4130         (asin_towardzero_test_data): Likewise.
4131         (asin_test_towardzero): Likewise.
4132         (asin_downward_test_data): Likewise.
4133         (asin_test_downward): Likewise.
4134         (asin_upward_test_data): Likewise.
4135         (asin_test_upward): Likewise.
4136         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4137         (atan_test_data): Likewise.
4138         (atanh_test_data): Likewise.
4139         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4140         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4141         (carg_test_data): Likewise.
4142         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4143         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4144         (ccosh_test_data): Likewise.
4145         (cexp_test_data): Likewise.
4146         (clog_test_data): Likewise.
4147         (clog10_test_data): Likewise.
4148         (cos_test_data): Update call to AUTO_TESTS_f_f.
4149         (cos_test): Use ALL_RM_TEST.
4150         (cos_tonearest_test_data): Remove.
4151         (cos_test_tonearest): Likewise.
4152         (cos_towardzero_test_data): Likewise.
4153         (cos_test_towardzero): Likewise.
4154         (cos_downward_test_data): Likewise.
4155         (cos_test_downward): Likewise.
4156         (cos_upward_test_data): Likewise.
4157         (cos_test_upward): Likewise.
4158         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4159         (cosh_test): Use ALL_RM_TEST.
4160         (cosh_tonearest_test_data): Remove.
4161         (cosh_test_tonearest): Likewise.
4162         (cosh_towardzero_test_data): Likewise.
4163         (cosh_test_towardzero): Likewise.
4164         (cosh_downward_test_data): Likewise.
4165         (cosh_test_downward): Likewise.
4166         (cosh_upward_test_data): Likewise.
4167         (cosh_test_upward): Likewise.
4168         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4169         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4170         (ctan_test_data): Likewise.
4171         (ctan_test): Use ALL_RM_TEST.
4172         (ctan_tonearest_test_data): Remove.
4173         (ctan_test_tonearest): Likewise.
4174         (ctan_towardzero_test_data): Likewise.
4175         (ctan_test_towardzero): Likewise.
4176         (ctan_downward_test_data): Likewise.
4177         (ctan_test_downward): Likewise.
4178         (ctan_upward_test_data): Likewise.
4179         (ctan_test_upward): Likewise.
4180         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4181         (ctanh_test): Use ALL_RM_TEST.
4182         (ctanh_tonearest_test_data): Remove.
4183         (ctanh_test_tonearest): Likewise.
4184         (ctanh_towardzero_test_data): Likewise.
4185         (ctanh_test_towardzero): Likewise.
4186         (ctanh_downward_test_data): Likewise.
4187         (ctanh_test_downward): Likewise.
4188         (ctanh_upward_test_data): Likewise.
4189         (ctanh_test_upward): Likewise.
4190         (erf_test_data): Update call to AUTO_TESTS_f_f.
4191         (erfc_test_data): Likewise.
4192         (exp_test_data): Likewise.
4193         (exp_test): Use ALL_RM_TEST.
4194         (exp_tonearest_test_data): Remove.
4195         (exp_test_tonearest): Likewise.
4196         (exp_towardzero_test_data): Likewise.
4197         (exp_test_towardzero): Likewise.
4198         (exp_downward_test_data): Likewise.
4199         (exp_test_downward): Likewise.
4200         (exp_upward_test_data): Likewise.
4201         (exp_test_upward): Likewise.
4202         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4203         (exp10_test): Use ALL_RM_TEST.
4204         (exp10_tonearest_test_data): Remove.
4205         (exp10_test_tonearest): Likewise.
4206         (exp10_towardzero_test_data): Likewise.
4207         (exp10_test_towardzero): Likewise.
4208         (exp10_downward_test_data): Likewise.
4209         (exp10_test_downward): Likewise.
4210         (exp10_upward_test_data): Likewise.
4211         (exp10_test_upward): Likewise.
4212         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4213         (expm1_test_data): Likewise.
4214         (expm1_test): Use ALL_RM_TEST.
4215         (expm1_tonearest_test_data): Remove.
4216         (expm1_test_tonearest): Likewise.
4217         (expm1_towardzero_test_data): Likewise.
4218         (expm1_test_towardzero): Likewise.
4219         (expm1_downward_test_data): Likewise.
4220         (expm1_test_downward): Likewise.
4221         (expm1_upward_test_data): Likewise.
4222         (expm1_test_upward): Likewise.
4223         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4224         (fma_test): Use ALL_RM_TEST.
4225         (fma_towardzero_test_data): Remove.
4226         (fma_test_towardzero): Likewise.
4227         (fma_downward_test_data): Likewise.
4228         (fma_test_downward): Likewise.
4229         (fma_upward_test_data): Likewise.
4230         (fma_test_upward): Likewise.
4231         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4232         (j0_test_data): Update call to AUTO_TESTS_f_f.
4233         (j1_test_data): Likewise.
4234         (jn_test_data): Update call to AUTO_TESTS_if_f.
4235         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4236         (log_test_data): Update call to AUTO_TESTS_f_f.
4237         (log10_test_data): Likewise.
4238         (log1p_test_data): Likewise.
4239         (log2_test_data): Likewise.
4240         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4241         (pow_tonearest_test_data): Likewise.
4242         (sin_test_data): Update call to AUTO_TESTS_f_f.
4243         (sin_test): Use ALL_RM_TEST.
4244         (sin_tonearest_test_data): Remove.
4245         (sin_test_tonearest): Likewise.
4246         (sin_towardzero_test_data): Likewise.
4247         (sin_test_towardzero): Likewise.
4248         (sin_downward_test_data): Likewise.
4249         (sin_test_downward): Likewise.
4250         (sin_upward_test_data): Likewise.
4251         (sin_test_upward): Likewise.
4252         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4253         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4254         (sinh_test): Use ALL_RM_TEST.
4255         (sinh_tonearest_test_data): Remove.
4256         (sinh_test_tonearest): Likewise.
4257         (sinh_towardzero_test_data): Likewise.
4258         (sinh_test_towardzero): Likewise.
4259         (sinh_downward_test_data): Likewise.
4260         (sinh_test_downward): Likewise.
4261         (sinh_upward_test_data): Likewise.
4262         (sinh_test_upward): Likewise.
4263         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4264         (sqrt_test): Use ALL_RM_TEST.
4265         (sqrt_tonearest_test_data): Remove.
4266         (sqrt_test_tonearest): Likewise.
4267         (sqrt_towardzero_test_data): Likewise.
4268         (sqrt_test_towardzero): Likewise.
4269         (sqrt_downward_test_data): Likewise.
4270         (sqrt_test_downward): Likewise.
4271         (sqrt_upward_test_data): Likewise.
4272         (sqrt_test_upward): Likewise.
4273         (tan_test_data): Update call to AUTO_TESTS_f_f.
4274         (tan_test): Use ALL_RM_TEST.
4275         (tan_tonearest_test_data): Remove.
4276         (tan_test_tonearest): Likewise.
4277         (tan_towardzero_test_data): Likewise.
4278         (tan_test_towardzero): Likewise.
4279         (tan_downward_test_data): Likewise.
4280         (tan_test_downward): Likewise.
4281         (tan_upward_test_data): Likewise.
4282         (tan_test_upward): Likewise.
4283         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4284         (tgamma_test_data): Likewise.
4285         (y0_test_data): Likewise.
4286         (y1_test_data): Likewise.
4287         (yn_test_data): Update call to AUTO_TESTS_if_f.
4288         (main): Do not call removed functions.
4289
4290 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4291
4292         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4293         (ldexp_test_data): Remove.
4294         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4295         scalbn_test_data.
4296         (scalb_test): Use ALL_RM_TEST.
4297
4298 2014-03-19  Andreas Schwab  <schwab@suse.de>
4299
4300         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4301
4302 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4303
4304         [BZ #16649]
4305         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4306         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4307         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4309         (__ASSUME_PREADV): Undefine.
4310         (__ASSUME_PWRITEV): Likewise.
4311
4312 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4313
4314         * bits/mman-linux.h: Add comment about non-Linux use.
4315         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4316         bits/mman-linux.h resting place.
4317
4318         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4319         * bits/mman-linux.h: ... here.
4320
4321 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4322
4323         * conform/conformtest.pl: Add standard definition when calling C
4324         preprocessor on data files.
4325         (checknamespace): Remove unused variable.
4326
4327 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4328
4329         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4330         minus_oflow, plus_uflow and minus_uflow in expected results.
4331         * math/libm-test.inc (scalbn_test_data): Add more tests of
4332         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4333         minus_uflow.
4334         (scalbn_test): Use ALL_RM_TEST.
4335         (scalbln_test_data): Add more tests of negative arguments.  Use
4336         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4337         (scalbln_test): Use ALL_RM_TEST.
4338
4339 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4340
4341         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4342
4343 2014-03-18  Will Newton  <will.newton@linaro.org>
4344
4345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4346         inaccurate comment.
4347
4348 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4349
4350         * Makerules [!subdir] (check-abi): Exit with error status if a
4351         test failed.
4352
4353 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4354
4355         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4356         for rint.  Include results for all rounding modes.
4357         (nearbyint_test): Use ALL_RM_TEST.
4358         (rint_test_data): Include all tests used for nearbyint.
4359
4360 2014-03-17  Will Newton  <will.newton@linaro.org>
4361
4362         * nptl/sysdeps/pthread/pthread.h: Revert previous
4363         change.
4364
4365         * sysdeps/generic/ldsodefs.h: Revert previous
4366         change.
4367
4368         * libio/genops.c: Revert previous change.
4369         * libio/libioP.h: Likewise.
4370         * stdio-common/vfprintf.c: Likewise.
4371
4372         * sysdeps/generic/math_private.h: Revert previous
4373         change.
4374
4375         * sysdeps/generic/math_private.h: Check whether
4376         HAVE_RM_CTX is defined with #ifdef rather
4377         than #if.
4378
4379         * argp/argp-fmtstream.h: Check whether
4380         __STRICT_ANSI__ is defined with #ifdef rather
4381         than #if.
4382         * argp/argp.h: Likewise.
4383
4384         * libio/genops.c: Check whether
4385         _IO_JUMPS_OFFSET is defined with #ifdef rather
4386         than #if.
4387         * libio/libioP.h: Likewise.
4388         * stdio-common/vfprintf.c: Likewise.
4389
4390         * sysdeps/generic/ldsodefs.h: Check whether
4391         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4392         than #if.
4393
4394         * nptl/sysdeps/pthread/pthread.h: Check
4395         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4396         its value.
4397
4398 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4399
4400         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4401         setting O_APPEND.
4402         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4403         test case.
4404
4405         [BZ #16680]
4406         * libio/fileops.c (_IO_file_open): Seek to end of file but
4407         don't cache the offset.
4408         (get_file_offset): Remove function.
4409         (do_ftell): Use cached offset when available.
4410         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4411         don't cache the offset.
4412         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4413         case.
4414         (do_one_test): Call it.
4415         (do_ftell_test): Fix up expected old offset for a+ mode.
4416         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4417         available.
4418
4419         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4420         up test status with function return status.
4421         (do_write_test): Likewise.
4422         (do_append_test): Likewise.
4423
4424         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4425         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4426         Remove.
4427
4428 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4429
4430         * math/gen-libm-test.pl (parse_args): Handle results specified for
4431         each rounding mode separately.
4432         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4433         tests and results from lrint_tonearest_test_data,
4434         lrint_towardzero_test_data, lrint_downward_test_data and
4435         lrint_upward_test_data.
4436         (lrint_test): Use ALL_RM_TEST.
4437         (lrint_tonearest_test_data): Remove.
4438         (lrint_test_tonearest): Likewise.
4439         (lrint_towardzero_test_data): Likewise.
4440         (lrint_test_towardzero): Likewise.
4441         (lrint_downward_test_data): Likewise.
4442         (lrint_test_downward): Likewise.
4443         (lrint_upward_test_data): Likewise.
4444         (lrint_test_upward): Likewise.
4445         (llrint_test_data): Merge in per-rounding-mode tests and results
4446         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4447         llrint_downward_test_data and llrint_upward_test_data.
4448         (llrint_test): Use ALL_RM_TEST.
4449         (llrint_tonearest_test_data): Remove.
4450         (llrint_test_tonearest): Likewise.
4451         (llrint_towardzero_test_data): Likewise.
4452         (llrint_test_towardzero): Likewise.
4453         (llrint_downward_test_data): Likewise.
4454         (llrint_test_downward): Likewise.
4455         (llrint_upward_test_data): Likewise.
4456         (llrint_test_upward): Likewise.
4457         (rint_test_data): Merge in per-rounding-mode tests and results
4458         from rint_tonearest_test_data, rint_towardzero_test_data,
4459         rint_downward_test_data and rint_upward_test_data.  Add
4460         per-rounding-mode results for tests not in those arrays.
4461         (rint_test): Use ALL_RM_TEST.
4462         (rint_tonearest_test_data): Remove.
4463         (rint_test_tonearest): Likewise.
4464         (rint_towardzero_test_data): Likewise.
4465         (rint_test_towardzero): Likewise.
4466         (rint_downward_test_data): Likewise.
4467         (rint_test_downward): Likewise.
4468         (rint_upward_test_data): Likewise.
4469         (rint_test_upward): Likewise.
4470         (main): Don't call removed functions.
4471
4472 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4473
4474         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4475         "Compiled on ..." crapola.  It is anti-useful.
4476
4477 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4478
4479         * scripts/evaluate-test.sh: Handle fourth argument to determine
4480         whether test run should stop on failure.
4481         * Makeconfig (stop-on-test-failure): New variable.
4482         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4483         $(stop-on-test-failure).
4484         * Makefile (tests): Give a summary of results from testing and
4485         exit with failure status if they include an ERROR or FAIL.
4486         (xtests): Likewise.
4487         * manual/install.texi (Configuring and compiling): Mention
4488         stop-on-test-failure=y.
4489         * INSTALL: Regenerated.
4490
4491 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4492
4493         * scripts/versionlist.awk: New file.
4494         * Makerules [$(build-shared) = yes]
4495         (postclean-generated): Add Versions.def, not Versions.def.v and
4496         Versions.def.v.i.
4497         ($(common-objpfx)Versions.def.v.i): Target removed.
4498         ($(common-objpfx)Versions.def): New target.
4499         ($(common-objpfx)Versions.all): Depend on that rather that
4500         $(common-objpfx)Versions.def.v.
4501         * Versions.def: File removed.
4502
4503         * Makeconfig (+gccwarn): Add -Wundef.
4504         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4505         a dl-sysdep.h breaking its contract.
4506         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4507         * include/stackinfo.h: New file.
4508         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4509         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4510         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4511         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4512         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4513         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4514         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4515         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4516         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4517         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4518         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4519         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4520         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4521         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4522         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4523
4524 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4525
4526         [BZ #16707]
4527         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4528         implementation.
4529         * math/libm-test.inc (round_test_data): Add more tests.
4530
4531         [BZ #16706]
4532         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4533         implementation.
4534         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4535
4536         [BZ #16701]
4537         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4538         implementation.
4539         * math/libm-test.inc (ceil_test_data): Add more tests.
4540
4541         * math/libm-test.inc (trunc_test_data): Add more tests related to
4542         BZ#16414.
4543
4544 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4545
4546         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4547         with #if rather than #ifdef.
4548         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4549
4550 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4551
4552         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4553         first.  Disable AVX-512 GCC support if assembler doesn't support
4554         it.
4555         * sysdeps/x86_64/configure: Regenerated.
4556
4557 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4558
4559         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4560         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4561         (__old_pthread_attr_setstack): Likewise.
4562         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4563         [!_STACK_GROWS_DOWN]: Likewise.
4564
4565 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4566
4567         * config.make.in (have-bash2): Delete.
4568         * configure.ac (libc_cv_have_bash2): Delete.
4569         * configure: Regenerate.
4570         * elf/Makefile (common-ldd-rewrite): Rename to ...
4571         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4572         (sh-ldd-rewrite): Delete.
4573         (bash-ldd-rewrite): Delete.
4574         (have-bash2): Delete checks.
4575         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4576         ldd-rewrite.
4577
4578         * config.make.in (have-ksh): Delete.
4579         (KSH): Delete.
4580         * configure.ac (libc_cv_have_ksh): Delete.
4581         * configure: Regenerate.
4582
4583         * elf/Makefile: Delete $(have-ksh) check.
4584         ($(objpfx)sotruss): Change KSH to BASH.
4585         * elf/sotruss.ksh: Rename to ...
4586         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4587         function style to match POSIX.  Drop ksh vim mode setting.
4588
4589         * manual/time.texi (Specifying the Time Zone with TZ): Change
4590         Tuesday to Thursday.
4591
4592         * debug/tst-longjmp_chk2.c: Update header comment.
4593         (stackoverflow_handler): Add comment.  Call assert on pass value.
4594
4595 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4596
4597         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4598         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4599         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4600         (La_x86_64_vector): Add zmm.
4601         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4602         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4603         ($(objpfx)tst-audit10): New target.
4604         ($(objpfx)tst-audit10.out): Likewise.
4605         (tst-audit10-ENV): New.
4606         (AVX512-CFLAGS): Likewise.
4607         (CFLAGS-tst-audit10.c): Likewise.
4608         (CFLAGS-tst-auditmod10a.c): Likewise.
4609         (CFLAGS-tst-auditmod10b.c): Likewise.
4610         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4611         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4612         * sysdeps/x86_64/configure: Regenerated.
4613         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4614         AVX-512 zmm register support.
4615         (_dl_x86_64_save_sse): Likewise.
4616         (_dl_x86_64_restore_sse): Likewise.
4617         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4618         size vector registers.
4619         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4620         (ZMM_SIZE): Likewise.
4621         * sysdeps/x86_64/tst-audit10.c: New file.
4622         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4623         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4624
4625 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4626
4627         * configure.ac (HAVE_EHDR_START): New check.
4628         * configure: Regenerated.
4629         * config.h.in (HAVE_EHDR_START): New #undef.
4630         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4631         assuming the lowest-addressed segment maps the start of the file.
4632
4633 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4634
4635         * INSTALL: Regenerated.
4636
4637 2014-03-13  Will Newton  <will.newton@linaro.org>
4638
4639         * manual/setjmp.texi (System V contexts): Improve
4640         clarity and grammar of documentation.
4641
4642 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4643
4644         [BZ #16381]
4645         * elf/Makefile (tests): Add tst-pie2.
4646         (tests-pie): Add tst-pie2.
4647         * elf/tst-pie2.c: New file.
4648         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4649         for ET_EXEC.
4650         * elf/rtld.c (map_doit): Load executable as lt_executable.
4651         (dl_main): Likewise.
4652
4653 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4654
4655         [BZ #16642]
4656         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4657         (__ASSUME_PSELECT): Undefine.
4658
4659 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4660
4661         [BZ #16689]
4662         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4663         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4664         static build.
4665         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4666         selector for static builds.
4667
4668 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4669
4670         [BZ #16695]
4671         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4672         key in the buffer.
4673
4674 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4675
4676         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4677         IFUNC selector for static builds.
4678
4679 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4680
4681         * sysdeps/mips/math_private.h [__mips_hard_float]
4682         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4683         libc_feresetround_mips_ctx.
4684         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4685         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4686         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4687
4688         [BZ #16677]
4689         * math/s_nextafter.c (__nextafter): Do not return value from
4690         overflowing computation.
4691         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4692         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4693         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4694         Likewise.
4695         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4696         Likewise.
4697         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4698         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4699
4700 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4701
4702         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4703         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4704         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4705         the new mov targetting sp.
4706
4707 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4708
4709         [BZ #16683]
4710         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4711         Define it for static builds as well.
4712         (NO_BZERO_IMPL): Likewise.
4713
4714 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4715
4716         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4717         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4718         multiarch strspn for PPC64.
4719         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4720         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4722         (__libc_ifunc_impl_list): Likewise.
4723         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4724         multiarch optimizations
4725         * string/strspn.c (strspn): Using macro to redefine symbol name.
4726
4727 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4728             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4729
4730         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4731         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4732         multiarch strncat for PPC64.
4733         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4734         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4736         (__libc_ifunc_impl_list): Likewise.
4737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4738         multiarch optimizations
4739
4740 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4741
4742         [BZ #16639]
4743         * nscd/nscd.service: Make service type forking.
4744
4745 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4746
4747         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4748         sign in non default rounding modes.
4749         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4750
4751 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4752
4753         * math/libm-test.inc (ALL_RM_TEST): New macro.
4754         (ceil_test): Use ALL_RM_TEST.
4755         (cimag_test): Likewise.
4756         (conj_test): Likewise.
4757         (copysign_test): Likewise.
4758         (cproj_test): Likewise.
4759         (creal_test): Likewise.
4760         (fabs_test): Likewise.
4761         (floor_test): Likewise.
4762         (fmax_test): Likewise.
4763         (fmin_test): Likewise.
4764         (fmod_test): Likewise.
4765         (fpclassify_test): Likewise.
4766         (frexp_test): Likewise.
4767         (ilogb_test): Likewise.
4768         (isfinite_test): Likewise.
4769         (finite_test): Likewise.
4770         (isgreater_test): Likewise.
4771         (isgreaterequal_test): Likewise.
4772         (isinf_test): Likewise.
4773         (isless_test): Likewise.
4774         (islessequal_test): Likewise.
4775         (islessgreater_test): Likewise.
4776         (isnan_test): Likewise.
4777         (isnormal_test): Likewise.
4778         (issignaling_test): Likewise.
4779         (isunordered_test): Likewise.
4780         (logb_test): Likewise.
4781         (logb_downward_test_data): Remove.
4782         (logb_test_downward): Likewise.
4783         (lround_test): Use ALL_RM_TEST.
4784         (llround_test): Likewise.
4785         (modf_test): Likewise.
4786         (nexttoward_test): Likewise.
4787         (remainder_test): Likewise.
4788         (drem_test): Likewise.
4789         (remainder_tonearest_test_data): Likewise.
4790         (remainder_test_tonearest): Likewise.
4791         (drem_test_tonearest): Likewise.
4792         (remainder_towardzero_test_data): Likewise.
4793         (remainder_test_towardzero): Likewise.
4794         (drem_test_towardzero): Likewise.
4795         (remainder_downward_test_data): Likewise.
4796         (remainder_test_downward): Likewise.
4797         (drem_test_downward): Likewise.
4798         (remainder_upward_test_data): Likewise.
4799         (remainder_test_upward): Likewise.
4800         (drem_test_upward): Likewise.
4801         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4802         (round_test): Use ALL_RM_TEST.
4803         (signbit_test): Likewise.
4804         (trunc_test): Likewise.
4805         (significand_test): Likewise.
4806         (main): Don't call removed functions.
4807
4808 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4809
4810         [BZ #16674]
4811         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4812         || __USE_XOPEN2K8].
4813         (ILL_ILLOPN): Likewise.
4814         (ILL_ILLADR): Likewise.
4815         (ILL_ILLTRP): Likewise.
4816         (ILL_PRVOPC): Likewise.
4817         (ILL_PRVREG): Likewise.
4818         (ILL_COPROC): Likewise.
4819         (ILL_BADSTK): Likewise.
4820         (FPE_INTDIV): Likewise.
4821         (FPE_INTOVF): Likewise.
4822         (FPE_FLTDIV): Likewise.
4823         (FPE_FLTOVF): Likewise.
4824         (FPE_FLTUND): Likewise.
4825         (FPE_FLTRES): Likewise.
4826         (FPE_FLTINV): Likewise.
4827         (FPE_FLTSUB): Likewise.
4828         (SEGV_MAPERR): Likewise.
4829         (SEGV_ACCERR): Likewise.
4830         (BUS_ADRALN): Likewise.
4831         (BUS_ADRERR): Likewise.
4832         (BUS_OBJERR): Likewise.
4833         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4834         (TRAP_TRACE): Likewise.
4835         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4836         __USE_XOPEN2K8].
4837         (CLD_KILLED): Likewise.
4838         (CLD_DUMPED): Likewise.
4839         (CLD_TRAPPED): Likewise.
4840         (CLD_STOPPED): Likewise.
4841         (CLD_CONTINUED): Likewise.
4842         (POLL_IN): Likewise.
4843         (POLL_OUT): Likewise.
4844         (POLL_MSG): Likewise.
4845         (POLL_ERR): Likewise.
4846         (POLL_PRI): Likewise.
4847         (POLL_HUP): Likewise.
4848         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4849         Likewise.
4850         (ILL_ILLOPN): Likewise.
4851         (ILL_ILLADR): Likewise.
4852         (ILL_ILLTRP): Likewise.
4853         (ILL_PRVOPC): Likewise.
4854         (ILL_PRVREG): Likewise.
4855         (ILL_COPROC): Likewise.
4856         (ILL_BADSTK): Likewise.
4857         (FPE_INTDIV): Likewise.
4858         (FPE_INTOVF): Likewise.
4859         (FPE_FLTDIV): Likewise.
4860         (FPE_FLTOVF): Likewise.
4861         (FPE_FLTUND): Likewise.
4862         (FPE_FLTRES): Likewise.
4863         (FPE_FLTINV): Likewise.
4864         (FPE_FLTSUB): Likewise.
4865         (SEGV_MAPERR): Likewise.
4866         (SEGV_ACCERR): Likewise.
4867         (BUS_ADRALN): Likewise.
4868         (BUS_ADRERR): Likewise.
4869         (BUS_OBJERR): Likewise.
4870         (BUS_MCEERR_AR): Likewise.
4871         (BUS_MCEERR_AO): Likewise.
4872         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4873         (TRAP_TRACE): Likewise.
4874         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4875         __USE_XOPEN2K8].
4876         (CLD_KILLED): Likewise.
4877         (CLD_DUMPED): Likewise.
4878         (CLD_TRAPPED): Likewise.
4879         (CLD_STOPPED): Likewise.
4880         (CLD_CONTINUED): Likewise.
4881         (POLL_IN): Likewise.
4882         (POLL_OUT): Likewise.
4883         (POLL_MSG): Likewise.
4884         (POLL_ERR): Likewise.
4885         (POLL_PRI): Likewise.
4886         (POLL_HUP): Likewise.
4887         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4888         (ILL_ILLOPN): Likewise.
4889         (ILL_ILLADR): Likewise.
4890         (ILL_ILLTRP): Likewise.
4891         (ILL_PRVOPC): Likewise.
4892         (ILL_PRVREG): Likewise.
4893         (ILL_COPROC): Likewise.
4894         (ILL_BADSTK): Likewise.
4895         (FPE_INTDIV): Likewise.
4896         (FPE_INTOVF): Likewise.
4897         (FPE_FLTDIV): Likewise.
4898         (FPE_FLTOVF): Likewise.
4899         (FPE_FLTUND): Likewise.
4900         (FPE_FLTRES): Likewise.
4901         (FPE_FLTINV): Likewise.
4902         (FPE_FLTSUB): Likewise.
4903         (SEGV_MAPERR): Likewise.
4904         (SEGV_ACCERR): Likewise.
4905         (BUS_ADRALN): Likewise.
4906         (BUS_ADRERR): Likewise.
4907         (BUS_OBJERR): Likewise.
4908         (BUS_MCEERR_AR): Likewise.
4909         (BUS_MCEERR_AO): Likewise.
4910         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4911         (TRAP_TRACE): Likewise.
4912         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4913         __USE_XOPEN2K8].
4914         (CLD_KILLED): Likewise.
4915         (CLD_DUMPED): Likewise.
4916         (CLD_TRAPPED): Likewise.
4917         (CLD_STOPPED): Likewise.
4918         (CLD_CONTINUED): Likewise.
4919         (POLL_IN): Likewise.
4920         (POLL_OUT): Likewise.
4921         (POLL_MSG): Likewise.
4922         (POLL_ERR): Likewise.
4923         (POLL_PRI): Likewise.
4924         (POLL_HUP): Likewise.
4925         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4926         Likewise.
4927         (ILL_ILLOPN): Likewise.
4928         (ILL_ILLADR): Likewise.
4929         (ILL_ILLTRP): Likewise.
4930         (ILL_PRVOPC): Likewise.
4931         (ILL_PRVREG): Likewise.
4932         (ILL_COPROC): Likewise.
4933         (ILL_BADSTK): Likewise.
4934         (ILL_BADIADDR): Likewise.
4935         (ILL_BREAK): Likewise.
4936         (FPE_INTDIV): Likewise.
4937         (FPE_INTOVF): Likewise.
4938         (FPE_FLTDIV): Likewise.
4939         (FPE_FLTOVF): Likewise.
4940         (FPE_FLTUND): Likewise.
4941         (FPE_FLTRES): Likewise.
4942         (FPE_FLTINV): Likewise.
4943         (FPE_FLTSUB): Likewise.
4944         (FPE_DECOVF): Likewise.
4945         (FPE_DECDIV): Likewise.
4946         (FPE_DECERR): Likewise.
4947         (FPE_INVASC): Likewise.
4948         (FPE_INVDEC): Likewise.
4949         (SEGV_MAPERR): Likewise.
4950         (SEGV_ACCERR): Likewise.
4951         (SEGV_PSTKOVF): Likewise.
4952         (BUS_ADRALN): Likewise.
4953         (BUS_ADRERR): Likewise.
4954         (BUS_OBJERR): Likewise.
4955         (BUS_MCEERR_AR): Likewise.
4956         (BUS_MCEERR_AO): Likewise.
4957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4958         (TRAP_TRACE): Likewise.
4959         (TRAP_BRANCH): Likewise.
4960         (TRAP_HWBKPT): Likewise.
4961         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4962         __USE_XOPEN2K8].
4963         (CLD_KILLED): Likewise.
4964         (CLD_DUMPED): Likewise.
4965         (CLD_TRAPPED): Likewise.
4966         (CLD_STOPPED): Likewise.
4967         (CLD_CONTINUED): Likewise.
4968         (POLL_IN): Likewise.
4969         (POLL_OUT): Likewise.
4970         (POLL_MSG): Likewise.
4971         (POLL_ERR): Likewise.
4972         (POLL_PRI): Likewise.
4973         (POLL_HUP): Likewise.
4974         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4975         (ILL_ILLOPN): Likewise.
4976         (ILL_ILLADR): Likewise.
4977         (ILL_ILLTRP): Likewise.
4978         (ILL_PRVOPC): Likewise.
4979         (ILL_PRVREG): Likewise.
4980         (ILL_COPROC): Likewise.
4981         (ILL_BADSTK): Likewise.
4982         (FPE_INTDIV): Likewise.
4983         (FPE_INTOVF): Likewise.
4984         (FPE_FLTDIV): Likewise.
4985         (FPE_FLTOVF): Likewise.
4986         (FPE_FLTUND): Likewise.
4987         (FPE_FLTRES): Likewise.
4988         (FPE_FLTINV): Likewise.
4989         (FPE_FLTSUB): Likewise.
4990         (SEGV_MAPERR): Likewise.
4991         (SEGV_ACCERR): Likewise.
4992         (BUS_ADRALN): Likewise.
4993         (BUS_ADRERR): Likewise.
4994         (BUS_OBJERR): Likewise.
4995         (BUS_MCEERR_AR): Likewise.
4996         (BUS_MCEERR_AO): Likewise.
4997         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4998         (TRAP_TRACE): Likewise.
4999         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5000         __USE_XOPEN2K8].
5001         (CLD_KILLED): Likewise.
5002         (CLD_DUMPED): Likewise.
5003         (CLD_TRAPPED): Likewise.
5004         (CLD_STOPPED): Likewise.
5005         (CLD_CONTINUED): Likewise.
5006         (POLL_IN): Likewise.
5007         (POLL_OUT): Likewise.
5008         (POLL_MSG): Likewise.
5009         (POLL_ERR): Likewise.
5010         (POLL_PRI): Likewise.
5011         (POLL_HUP): Likewise.
5012         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5013         (ILL_ILLOPN): Likewise.
5014         (ILL_ILLADR): Likewise.
5015         (ILL_ILLTRP): Likewise.
5016         (ILL_PRVOPC): Likewise.
5017         (ILL_PRVREG): Likewise.
5018         (ILL_COPROC): Likewise.
5019         (ILL_BADSTK): Likewise.
5020         (FPE_INTDIV): Likewise.
5021         (FPE_INTOVF): Likewise.
5022         (FPE_FLTDIV): Likewise.
5023         (FPE_FLTOVF): Likewise.
5024         (FPE_FLTUND): Likewise.
5025         (FPE_FLTRES): Likewise.
5026         (FPE_FLTINV): Likewise.
5027         (FPE_FLTSUB): Likewise.
5028         (SEGV_MAPERR): Likewise.
5029         (SEGV_ACCERR): Likewise.
5030         (BUS_ADRALN): Likewise.
5031         (BUS_ADRERR): Likewise.
5032         (BUS_OBJERR): Likewise.
5033         (BUS_MCEERR_AR): Likewise.
5034         (BUS_MCEERR_AO): Likewise.
5035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5036         (TRAP_TRACE): Likewise.
5037         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5038         __USE_XOPEN2K8].
5039         (CLD_KILLED): Likewise.
5040         (CLD_DUMPED): Likewise.
5041         (CLD_TRAPPED): Likewise.
5042         (CLD_STOPPED): Likewise.
5043         (CLD_CONTINUED): Likewise.
5044         (POLL_IN): Likewise.
5045         (POLL_OUT): Likewise.
5046         (POLL_MSG): Likewise.
5047         (POLL_ERR): Likewise.
5048         (POLL_PRI): Likewise.
5049         (POLL_HUP): Likewise.
5050         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5051         (ILL_ILLOPN): Likewise.
5052         (ILL_ILLADR): Likewise.
5053         (ILL_ILLTRP): Likewise.
5054         (ILL_PRVOPC): Likewise.
5055         (ILL_PRVREG): Likewise.
5056         (ILL_COPROC): Likewise.
5057         (ILL_BADSTK): Likewise.
5058         (FPE_INTDIV): Likewise.
5059         (FPE_INTOVF): Likewise.
5060         (FPE_FLTDIV): Likewise.
5061         (FPE_FLTOVF): Likewise.
5062         (FPE_FLTUND): Likewise.
5063         (FPE_FLTRES): Likewise.
5064         (FPE_FLTINV): Likewise.
5065         (FPE_FLTSUB): Likewise.
5066         (SEGV_MAPERR): Likewise.
5067         (SEGV_ACCERR): Likewise.
5068         (BUS_ADRALN): Likewise.
5069         (BUS_ADRERR): Likewise.
5070         (BUS_OBJERR): Likewise.
5071         (BUS_MCEERR_AR): Likewise.
5072         (BUS_MCEERR_AO): Likewise.
5073         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5074         (TRAP_TRACE): Likewise.
5075         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5076         __USE_XOPEN2K8].
5077         (CLD_KILLED): Likewise.
5078         (CLD_DUMPED): Likewise.
5079         (CLD_TRAPPED): Likewise.
5080         (CLD_STOPPED): Likewise.
5081         (CLD_CONTINUED): Likewise.
5082         (POLL_IN): Likewise.
5083         (POLL_OUT): Likewise.
5084         (POLL_MSG): Likewise.
5085         (POLL_ERR): Likewise.
5086         (POLL_PRI): Likewise.
5087         (POLL_HUP): Likewise.
5088         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5089         (ILL_ILLOPN): Likewise.
5090         (ILL_ILLADR): Likewise.
5091         (ILL_ILLTRP): Likewise.
5092         (ILL_PRVOPC): Likewise.
5093         (ILL_PRVREG): Likewise.
5094         (ILL_COPROC): Likewise.
5095         (ILL_BADSTK): Likewise.
5096         (ILL_DBLFLT): Likewise.
5097         (ILL_HARDWALL): Likewise.
5098         (FPE_INTDIV): Likewise.
5099         (FPE_INTOVF): Likewise.
5100         (FPE_FLTDIV): Likewise.
5101         (FPE_FLTOVF): Likewise.
5102         (FPE_FLTUND): Likewise.
5103         (FPE_FLTRES): Likewise.
5104         (FPE_FLTINV): Likewise.
5105         (FPE_FLTSUB): Likewise.
5106         (SEGV_MAPERR): Likewise.
5107         (SEGV_ACCERR): Likewise.
5108         (BUS_ADRALN): Likewise.
5109         (BUS_ADRERR): Likewise.
5110         (BUS_OBJERR): Likewise.
5111         (BUS_MCEERR_AR): Likewise.
5112         (BUS_MCEERR_AO): Likewise.
5113         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5114         (TRAP_TRACE): Likewise.
5115         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5116         __USE_XOPEN2K8].
5117         (CLD_KILLED): Likewise.
5118         (CLD_DUMPED): Likewise.
5119         (CLD_TRAPPED): Likewise.
5120         (CLD_STOPPED): Likewise.
5121         (CLD_CONTINUED): Likewise.
5122         (POLL_IN): Likewise.
5123         (POLL_OUT): Likewise.
5124         (POLL_MSG): Likewise.
5125         (POLL_ERR): Likewise.
5126         (POLL_PRI): Likewise.
5127         (POLL_HUP): Likewise.
5128         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5129         (ILL_ILLOPN): Likewise.
5130         (ILL_ILLADR): Likewise.
5131         (ILL_ILLTRP): Likewise.
5132         (ILL_PRVOPC): Likewise.
5133         (ILL_PRVREG): Likewise.
5134         (ILL_COPROC): Likewise.
5135         (ILL_BADSTK): Likewise.
5136         (FPE_INTDIV): Likewise.
5137         (FPE_INTOVF): Likewise.
5138         (FPE_FLTDIV): Likewise.
5139         (FPE_FLTOVF): Likewise.
5140         (FPE_FLTUND): Likewise.
5141         (FPE_FLTRES): Likewise.
5142         (FPE_FLTINV): Likewise.
5143         (FPE_FLTSUB): Likewise.
5144         (SEGV_MAPERR): Likewise.
5145         (SEGV_ACCERR): Likewise.
5146         (BUS_ADRALN): Likewise.
5147         (BUS_ADRERR): Likewise.
5148         (BUS_OBJERR): Likewise.
5149         (BUS_MCEERR_AR): Likewise.
5150         (BUS_MCEERR_AO): Likewise.
5151         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5152         (TRAP_TRACE): Likewise.
5153         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5154         __USE_XOPEN2K8].
5155         (CLD_KILLED): Likewise.
5156         (CLD_DUMPED): Likewise.
5157         (CLD_TRAPPED): Likewise.
5158         (CLD_STOPPED): Likewise.
5159         (CLD_CONTINUED): Likewise.
5160         (POLL_IN): Likewise.
5161         (POLL_OUT): Likewise.
5162         (POLL_MSG): Likewise.
5163         (POLL_ERR): Likewise.
5164         (POLL_PRI): Likewise.
5165         (POLL_HUP): Likewise.
5166         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5167         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5168
5169         [BZ #16670]
5170         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5171         before #include of <time.h>.
5172         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5173         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5174         (test-xfail-UNIX98/sched.h/conform): Likewise.
5175
5176 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5177
5178         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5179         error absence of trapping exception support.
5180         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5181
5182 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5183
5184         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5185         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5186         * timezone/Makefile (testdata): Move definition above include of
5187         Rules.
5188         (test-zones): New variable.
5189         (tests-special): Add zone files.
5190         (build-testdata): Use $(evaluate-test).
5191
5192         * elf/Makefile (tests-special): Rename tests to end with .out.
5193         ($(objpfx)noload-mem): Likewise.
5194         ($(objpfx)tst-leaks1-mem): Likewise.
5195         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5196         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5197         $(objpfx)test-iconvconfig.out.
5198         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5199         set -e inside subshell and redirect output to file.
5200         * iconvdata/Makefile (generated): Rename tests to end with .out.
5201         Correct type.
5202         (tests-special): Rename tests to end with .out.
5203         ($(objpfx)mtrace-tst-loading): Likewise.
5204         * intl/Makefile (generated): Likewise.
5205         (tests-special): Likewise.
5206         ($(objpfx)mtrace-tst-gettext): Likewise.
5207         * misc/Makefile (generated): Likewise.
5208         (tests-special): Likewise.
5209         ($(objpfx)tst-error1-mem): Likewise.
5210         * nptl/Makefile (tests-special): Likewise.
5211         ($(objpfx)tst-stack3-mem): Likewise.
5212         (generated): Likewise.
5213         * posix/Makefile (generated): Likewise.
5214         (tests-special): Likewise.
5215         (xtests-special): Likewise.
5216         ($(objpfx)tst-fnmatch-mem): Likewise.
5217         ($(objpfx)bug-regex2-mem): Likewise.
5218         ($(objpfx)bug-regex14-mem): Likewise.
5219         ($(objpfx)bug-regex21-mem): Likewise.
5220         ($(objpfx)bug-regex31-mem): Likewise.
5221         ($(objpfx)tst-vfork3-mem): Likewise.
5222         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5223         ($(objpfx)tst-pcre-mem): Likewise.
5224         ($(objpfx)tst-boost-mem): Likewise.
5225         ($(objpfx)bug-ga2-mem): Likewise.
5226         ($(objpfx)bug-glob2-mem): Likewise.
5227         * resolv/Makefile (generate): Likewise.
5228         (tests-special): Likewise.
5229         (xtests-special): Likewise.
5230         (generated): Likewise.
5231         ($(objpfx)mtrace-tst-leaks): Likewise.
5232         ($(objpfx)mtrace-tst-leaks2): Likewise.
5233
5234         * scripts/merge-test-results.sh: New file.
5235         * Makefile (tests-special-notdir): New variable.
5236         (tests): Run merge-test-results.sh.
5237         (xtests): Likewise.
5238         * Rules (tests-special-notdir): New variable.
5239         (xtests-special-notdir): Likewise.
5240         (tests): Run merge-test-results.sh
5241         (xtests): Likewise.
5242
5243         * Makeconfig (test-xfail-name): New variable.
5244         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5245         compute variable name for expected failures.
5246         * conform/Makefile (conformtest-headers-data): New variable.
5247         (conformtest-standards): Likewise.
5248         (conformtest-headers-ISO): Likewise.
5249         (conformtest-headers-ISO99): Likewise.
5250         (conformtest-headers-ISO11): Likewise.
5251         (conformtest-headers-POSIX): Likewise.
5252         (conformtest-headers-XPG3): Likewise.
5253         (conformtest-headers-XPG4): Likewise.
5254         (conformtest-headers-UNIX98): Likewise.
5255         (conformtest-headers-XOPEN2K): Likewise.
5256         (conformtest-headers-POSIX2008): Likewise.
5257         (conformtest-headers-XOPEN2K8): Likewise.
5258         (conformtest-header-list-base): Likewise.
5259         (conformtest-header-list-tests): Likewise.
5260         (conformtest-header-base): Likewise.
5261         (conformtest-header-tests): Likewise.
5262         (tests-special): Add $(conformtest-header-list-tests).  If
5263         [$(fast-check) && !$(cross-compiling)], add
5264         $(conformtest-header-tests) instead of
5265         $(objpfx)run-conformtest.out.
5266         (generated): Add $(conformtest-header-list-base).  If
5267         [$(fast-check) && !$(cross-compiling)], add
5268         $(conformtest-header-base).  Remove previous setting.
5269         ($(conformtest-header-list-tests)): New target.
5270         (test-xfail-run-conformtest): Remove variable.
5271         ($(objpfx)run-conformtest.out): Remove target.
5272         (test-xfail-ISO11/complex.h/conform): New variable.
5273         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5274         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5275         (test-xfail-XPG3/varargs.h/conform): Likewise.
5276         (test-xfail-XPG4/varargs.h/conform): Likewise.
5277         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5278         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5279         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5280         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5281         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5282         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5283         (test-xfail-XPG3/ftw.h/conform): Likewise.
5284         (test-xfail-XPG3/grp.h/conform): Likewise.
5285         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5286         (test-xfail-XPG3/limits.h/conform): Likewise.
5287         (test-xfail-XPG3/pwd.h/conform): Likewise.
5288         (test-xfail-XPG3/search.h/conform): Likewise.
5289         (test-xfail-XPG3/signal.h/conform): Likewise.
5290         (test-xfail-XPG3/stdio.h/conform): Likewise.
5291         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5292         (test-xfail-XPG3/string.h/conform): Likewise.
5293         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5294         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5295         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5296         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5297         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5298         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5299         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5300         (test-xfail-XPG3/termios.h/conform): Likewise.
5301         (test-xfail-XPG3/time.h/conform): Likewise.
5302         (test-xfail-XPG3/unistd.h/conform): Likewise.
5303         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5304         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5305         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5306         (test-xfail-XPG4/netdb.h/conform): Likewise.
5307         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5308         (test-xfail-XPG4/signal.h/conform): Likewise.
5309         (test-xfail-XPG4/stdio.h/conform): Likewise.
5310         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5311         (test-xfail-XPG4/stropts.h/conform): Likewise.
5312         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5313         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5314         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5315         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5316         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5317         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5318         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5319         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5320         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5321         (test-xfail-XPG4/termios.h/conform): Likewise.
5322         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5323         (test-xfail-XPG4/unistd.h/conform): Likewise.
5324         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5325         (test-xfail-POSIX/sched.h/conform): Likewise.
5326         (test-xfail-POSIX/signal.h/conform): Likewise.
5327         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5328         (test-xfail-POSIX/tar.h/conform): Likewise.
5329         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5330         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5331         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5332         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5333         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5334         (test-xfail-UNIX98/sched.h/conform): Likewise.
5335         (test-xfail-UNIX98/signal.h/conform): Likewise.
5336         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5337         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5338         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5339         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5340         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5341         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5342         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5343         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5344         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5345         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5346         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5347         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5348         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5349         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5350         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5351         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5352         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5353         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5354         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5355         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5356         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5357         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5358         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5359         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5360         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5361         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5362         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5363         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5364         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5365         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5366         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5367         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5368         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5369         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5370         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5371         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5372         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5373         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5374         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5375         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5376         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5377         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5378         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5379         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5380         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5381         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5382         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5383         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5384         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5385         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5386         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5387         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5388         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5389         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5390         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5391         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5392         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5393         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5394         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5395         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5396         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5397         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5398         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5399         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5400         (conformtest-cc-flags): Likewise.
5401         ($(conformtest-header-tests): New target.
5402         * conform/check-header-lists.sh: New file.
5403         * conform/run-conformtest.sh: Remove.
5404
5405         * conform/conformtest.pl: Allow ' and \ in values given for
5406         constants.
5407         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5408         inclusion.
5409         [POSIX] (sys/types.h): Likewise.
5410         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5411         inclusion.
5412         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5413         inclusion.
5414         * conform/data/signal.h-data (SIGIO): Remove expectation.
5415         [XPG3] (SIGBUS): Do not expect.
5416         [POSIX || XPG3] (SIGPOLL): Likewise.
5417         [POSIX || XPG3] (SIGPROF): Likewise.
5418         [POSIX || XPG3] (SIGSYS): Likewise.
5419         [XPG3] (SIGTRAP): Likewise.
5420         [POSIX || XPG3] (SIGURG): Likewise.
5421         [POSIX || XPG3] (SIGVTALRM): Likewise.
5422         [POSIX || XPG3] (SIGXCPU): Likewise.
5423         [POSIX || XPG3] (SIGXFSZ): Likewise.
5424         [POSIX] (SA_SIGINFO): Expect.
5425         [XPG3] (siginfo_t): Do not expect type or contents.
5426         [POSIX] (si_pid): Do not expect element.
5427         [POSIX] (si_uid): Likewise.
5428         [POSIX] (si_addr): Likewise.
5429         [POSIX] (si_status): Likewise.
5430         [POSIX] (si_band): Likewise.
5431         [XPG4] (si_value): Likewise.
5432         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5433         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5434         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5435         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5436         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5437         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5438         [POSIX || XPG3] (ILL_COPROC): Likewise.
5439         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5440         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5441         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5442         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5443         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5444         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5445         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5446         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5447         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5448         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5449         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5450         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5451         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5452         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5453         [POSIX || XPG3] (CLD_EXITED): Likewise.
5454         [POSIX || XPG3] (CLD_KILLED): Likewise.
5455         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5456         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5457         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5458         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5459         [POSIX || XPG3] (POLL_IN): Likewise.
5460         [POSIX || XPG3] (POLL_OUT): Likewise.
5461         [POSIX || XPG3] (POLL_MSG): Likewise.
5462         [POSIX || XPG3] (POLL_ERR): Likewise.
5463         [POSIX || XPG3] (POLL_PRI): Likewise.
5464         [POSIX || XPG3] (POLL_HUP): Likewise.
5465         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5466         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5467         (SIG*): Do not allow.
5468         [XPG3] (si_*): Likewise.
5469         [XPG3] (SI_*): Likewise.
5470         [XPG3 || XPG4] (sigev_*): Likewise.
5471         [XPG3 || XPG4] (SIGEV_*): Likewise.
5472         [XPG3 || XPG4] (sival_*): Likewise.
5473         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5474         [POSIX || XPG3] (BUS_*): Likewise.
5475         [POSIX || XPG3] (CLD_*): Likewise.
5476         [POSIX || XPG3] (FPE_*): Likewise.
5477         [POSIX || XPG3] (ILL_*): Likewise.
5478         [POSIX || XPG3] (POLL_*): Likewise.
5479         [POSIX || XPG3] (SEGV_*): Likewise.
5480         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5481         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5482         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5483         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5484         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5485         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5486         Specify type and value.
5487         (TVERSLEN): Likewise.
5488         (REGTYPE): Likewise.
5489         (AREGTYPE): Likewise.
5490         (LNKTYPE): Likewise.
5491         (SYMTYPE): Likewise.
5492         (CHRTYPE): Likewise.
5493         (BLKTYPE): Likewise.
5494         (DIRTYPE): Likewise.
5495         (FIFOTYPE): Likewise.
5496         (CONTTYPE): Likewise.
5497         (TSUID): Likewise.
5498         (TSGID): Likewise.
5499         (TSVTX): Likewise.
5500         (TUREAD): Likewise.
5501         (TUWRITE): Likewise.
5502         (TUEXEC): Likewise.
5503         (TGREAD): Likewise.
5504         (TGWRITE): Likewise.
5505         (TGEXEC): Likewise.
5506         (TOREAD): Likewise.
5507         (TOWRITE): Likewise.
5508         (TOEXEC): Likewise.
5509         [POSIX] (TSVTX): Expect constant.
5510
5511 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5512
5513         * Makefile (tests): Change dependencies to ....
5514         (tests-special): ... additions to this variable.
5515         (tests): Depend on $(tests-special).
5516         * Makerules (check-abi-list): New variable.
5517         (check-abi): Depend on $(check-abi-list).
5518         [$(subdir) = elf] (tests-special): Add
5519         $(objpfx)check-abi-libc.out.
5520         [$(build-shared) = yes && subdir] (tests-special): Add
5521         $(check-abi-list).
5522         [$(build-shared) = yes && subdir] (tests): Do not depend on
5523         check-abi.
5524         * Rules (tests): Depend on $(tests-special).
5525         (xtests): Depend on $(xtests-special).
5526         * catgets/Makefile (tests): Change dependencies to ....
5527         (tests-special): ... additions to this variable.
5528         * conform/Makefile (tests): Change dependencies to ....
5529         (tests-special): ... additions to this variable.
5530         * elf/Makefile (tests): Change dependencies to ....
5531         (tests-special): ... additions to this variable.
5532         * grp/Makefile (tests): Change dependencies to ....
5533         (tests-special): ... additions to this variable.
5534         * iconv/Makefile (xtests): Change dependencies to ....
5535         (xtests-special): ... additions to this variable.
5536         * iconvdata/Makefile (tests): Change dependencies to ....
5537         (tests-special): ... additions to this variable.
5538         * intl/Makefile (tests): Change dependencies to ....
5539         (tests-special): ... additions to this variable.  Also add
5540         $(objpfx)tst-gettext.out.
5541         * io/Makefile (tests): Change dependencies to ....
5542         (tests-special): ... additions to this variable.
5543         * libio/Makefile (tests): Change dependencies to ....
5544         (tests-special): ... additions to this variable.
5545         * malloc/Makefile (tests): Change dependencies to ....
5546         (tests-special): ... additions to this variable.
5547         * misc/Makefile (tests): Change dependencies to ....
5548         (tests-special): ... additions to this variable.
5549         * nptl/Makefile (tests): Change dependencies to ....
5550         (tests-special): ... additions to this variable.
5551         * nptl_db/Makefile (tests): Change dependencies to ....
5552         (tests-special): ... additions to this variable.
5553         * posix/Makefile (tests): Change dependencies to ....
5554         (tests-special): ... additions to this variable.
5555         (xtests): Change dependencies to ....
5556         (xtests-special): ... additions to this variable.
5557         * resolv/Makefile (tests): Change dependencies to ....
5558         (tests-special): ... additions to this variable.
5559         (xtests): Change dependencies to ....
5560         (xtests-special): ... additions to this variable.
5561         * stdio-common/Makefile (tests): Change dependencies to ....
5562         (tests-special): ... additions to this variable.
5563         (do-tst-unbputc): Remove target.
5564         (do-tst-printf): Likewise.
5565         * stdlib/Makefile (tests): Change dependencies to ....
5566         (tests-special): ... additions to this variable.
5567         * string/Makefile (tests): Change dependencies to ....
5568         (tests-special): ... additions to this variable.
5569         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5570         (tests-special): ... additions to this variable.
5571
5572         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5573         whole file.
5574         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5575         whole file.
5576         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5577         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5578
5579         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5580         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5581         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5582         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5583         * conform/data/libgen.h-data [XPG3]: Likewise.
5584         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5585         * conform/data/ndbm.h-data [XPG3]: Likewise.
5586         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5587         * conform/data/netdb.h-data [XPG3]: Likewise.
5588         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5589         * conform/data/poll.h-data [XPG3]: Likewise.
5590         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5591         * conform/data/strings.h-data [XPG3]: Likewise.
5592         * conform/data/stropts.h-data [XPG3]: Likewise.
5593         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5594         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5595         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5596         Likewise.
5597         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5598         * conform/data/sys/time.h-data [XPG3]: Likewise.
5599         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5600         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5601         * conform/data/sys/un.h-data [XPG3]: Likewise.
5602         * conform/data/syslog.h-data [XPG3]: Likewise.
5603         * conform/data/ucontext.h-data [XPG3]: Likewise.
5604         * conform/data/utmpx.h-data [XPG3]: Likewise.
5605         * conform/data/varargs.h-data [UNIX98]: Enable file.
5606
5607         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5608
5609         * math/libm-test.inc (struct test_f_f_data): Move expected results
5610         into structure for each rounding mode.
5611         (struct test_ff_f_data): Likewise.
5612         (struct test_ff_f_data_nexttoward): Likewise.
5613         (struct test_fi_f_data): Likewise.
5614         (struct test_fl_f_data): Likewise.
5615         (struct test_if_f_data): Likewise.
5616         (struct test_fff_f_data): Likewise.
5617         (struct test_c_f_data): Likewise.
5618         (struct test_f_f1_data): Likewise.
5619         (struct test_fF_f1_data): Likewise.
5620         (struct test_ffI_f1_data): Likewise.
5621         (struct test_c_c_data): Likewise.
5622         (struct test_cc_c_data): Likewise.
5623         (struct test_f_i_data): Likewise.
5624         (struct test_ff_i_data): Likewise.
5625         (struct test_f_l_data): Likewise.
5626         (struct test_f_L_data): Likewise.
5627         (struct test_fFF_11_data): Likewise.
5628         (RM_): New macro.
5629         (RM_FE_DOWNWARD): Likewise.
5630         (RM_FE_TONEAREST): Likewise.
5631         (RM_FE_TOWARDZERO): Likewise.
5632         (RM_FE_UPWARD): Likewise.
5633         (RUN_TEST_LOOP_f_f): Update references to expected results.
5634         (RUN_TEST_LOOP_2_f): Likewise.
5635         (RUN_TEST_LOOP_fff_f): Likewise.
5636         (RUN_TEST_LOOP_c_f): Likewise.
5637         (RUN_TEST_LOOP_f_f1): Likewise.
5638         (RUN_TEST_LOOP_fF_f1): Likewise.
5639         (RUN_TEST_LOOP_fI_f1): Likewise.
5640         (RUN_TEST_LOOP_ffI_f1): Likewise.
5641         (RUN_TEST_LOOP_c_c): Likewise.
5642         (RUN_TEST_LOOP_cc_c): Likewise.
5643         (RUN_TEST_LOOP_f_i): Likewise.
5644         (RUN_TEST_LOOP_f_i_tg): Likewise.
5645         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5646         (RUN_TEST_LOOP_f_b): Likewise.
5647         (RUN_TEST_LOOP_f_b_tg): Likewise.
5648         (RUN_TEST_LOOP_f_l): Likewise.
5649         (RUN_TEST_LOOP_f_L): Likewise.
5650         (RUN_TEST_LOOP_fFF_11): Likewise.
5651         * math/gen-libm-test.pl (parse_args): Output four copies of
5652         expected results for each test.
5653
5654         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5655         (__ASSUME_UTIMES): Remove.
5656         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5657         (__ASSUME_UTIMES): Likewise.
5658
5659         * math/gen-auto-libm-tests.c: Update comment on output format.
5660         (output_for_one_input_case): Generate before-rounding and
5661         after-rounding information as conditions on output flags not
5662         floating-point format.
5663         * math/auto-libm-test-out: Regenerated.
5664         * math/gen-libm-test.pl (cond_value): New function.
5665         (or_cond_value): Use cond_value.
5666         (generate_testfile): Handle conditional exceptions.
5667
5668 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5669
5670         * math/libm-test.inc (max_valid_error): New variable.
5671         (init_max_error): Take new argument specifying whether function
5672         results are exactly determined.  Set max_valid_error and bound
5673         other variables for errors based on this argument.
5674         (set_max_error): Do not record results above max_valid_error.
5675         (check_float_internal): Only accept errors of up to 0.5ulps if
5676         also at most max_valid_error.
5677         (START): Take new argument EXACT and pass it to init_max_error.
5678         (acos_test): Update call to START.
5679         (acos_test_tonearest): Likewise.
5680         (acos_test_towardzero): Likewise.
5681         (acos_test_downward): Likewise.
5682         (acos_test_upward): Likewise.
5683         (acosh_test): Likewise.
5684         (asin_test): Likewise.
5685         (asin_test_tonearest): Likewise.
5686         (asin_test_towardzero): Likewise.
5687         (asin_test_downward): Likewise.
5688         (asin_test_upward): Likewise.
5689         (asinh_test): Likewise.
5690         (atan_test): Likewise.
5691         (atanh_test): Likewise.
5692         (atan2_test): Likewise.
5693         (cabs_test): Likewise.
5694         (cacos_test): Likewise.
5695         (cacosh_test): Likewise.
5696         (carg_test): Likewise.
5697         (casin_test): Likewise.
5698         (casinh_test): Likewise.
5699         (catan_test): Likewise.
5700         (catanh_test): Likewise.
5701         (cbrt_test): Likewise.
5702         (ccos_test): Likewise.
5703         (ccosh_test): Likewise.
5704         (ceil_test): Likewise.
5705         (cexp_test): Likewise.
5706         (cimag_test): Likewise.
5707         (clog_test): Likewise.
5708         (clog10_test): Likewise.
5709         (conj_test): Likewise.
5710         (copysign_test): Likewise.
5711         (cos_test): Likewise.
5712         (cos_test_tonearest): Likewise.
5713         (cos_test_towardzero): Likewise.
5714         (cos_test_downward): Likewise.
5715         (cos_test_upward): Likewise.
5716         (cosh_test): Likewise.
5717         (cosh_test_tonearest): Likewise.
5718         (cosh_test_towardzero): Likewise.
5719         (cosh_test_downward): Likewise.
5720         (cosh_test_upward): Likewise.
5721         (cpow_test): Likewise.
5722         (cproj_test): Likewise.
5723         (creal_test): Likewise.
5724         (csin_test): Likewise.
5725         (csinh_test): Likewise.
5726         (csqrt_test): Likewise.
5727         (ctan_test): Likewise.
5728         (ctan_test_tonearest): Likewise.
5729         (ctan_test_towardzero): Likewise.
5730         (ctan_test_downward): Likewise.
5731         (ctan_test_upward): Likewise.
5732         (ctanh_test): Likewise.
5733         (ctanh_test_tonearest): Likewise.
5734         (ctanh_test_towardzero): Likewise.
5735         (ctanh_test_downward): Likewise.
5736         (ctanh_test_upward): Likewise.
5737         (erf_test): Likewise.
5738         (erfc_test): Likewise.
5739         (exp_test): Likewise.
5740         (exp_test_tonearest): Likewise.
5741         (exp_test_towardzero): Likewise.
5742         (exp_test_downward): Likewise.
5743         (exp_test_upward): Likewise.
5744         (exp10_test): Likewise.
5745         (exp10_test_tonearest): Likewise.
5746         (exp10_test_towardzero): Likewise.
5747         (exp10_test_downward): Likewise.
5748         (exp10_test_upward): Likewise.
5749         (pow10_test): Likewise.
5750         (exp2_test): Likewise.
5751         (expm1_test): Likewise.
5752         (expm1_test_tonearest): Likewise.
5753         (expm1_test_towardzero): Likewise.
5754         (expm1_test_downward): Likewise.
5755         (expm1_test_upward): Likewise.
5756         (fabs_test): Likewise.
5757         (fdim_test): Likewise.
5758         (floor_test): Likewise.
5759         (fma_test): Likewise.
5760         (fma_test_towardzero): Likewise.
5761         (fma_test_downward): Likewise.
5762         (fma_test_upward): Likewise.
5763         (fmax_test): Likewise.
5764         (fmin_test): Likewise.
5765         (fmod_test): Likewise.
5766         (fpclassify_test): Likewise.
5767         (frexp_test): Likewise.
5768         (hypot_test): Likewise.
5769         (ilogb_test): Likewise.
5770         (isfinite_test): Likewise.
5771         (finite_test): Likewise.
5772         (isgreater_test): Likewise.
5773         (isgreaterequal_test): Likewise.
5774         (isinf_test): Likewise.
5775         (isless_test): Likewise.
5776         (islessequal_test): Likewise.
5777         (islessgreater_test): Likewise.
5778         (isnan_test): Likewise.
5779         (isnormal_test): Likewise.
5780         (issignaling_test): Likewise.
5781         (isunordered_test): Likewise.
5782         (j0_test): Likewise.
5783         (j1_test): Likewise.
5784         (jn_test): Likewise.
5785         (ldexp_test): Likewise.
5786         (lgamma_test): Likewise.
5787         (gamma_test): Likewise.
5788         (lrint_test): Likewise.
5789         (lrint_test_tonearest): Likewise.
5790         (lrint_test_towardzero): Likewise.
5791         (lrint_test_downward): Likewise.
5792         (lrint_test_upward): Likewise.
5793         (llrint_test): Likewise.
5794         (llrint_test_tonearest): Likewise.
5795         (llrint_test_towardzero): Likewise.
5796         (llrint_test_downward): Likewise.
5797         (llrint_test_upward): Likewise.
5798         (log_test): Likewise.
5799         (log10_test): Likewise.
5800         (log1p_test): Likewise.
5801         (log2_test): Likewise.
5802         (logb_test): Likewise.
5803         (logb_test_downward): Likewise.
5804         (lround_test): Likewise.
5805         (llround_test): Likewise.
5806         (modf_test): Likewise.
5807         (nearbyint_test): Likewise.
5808         (nextafter_test): Likewise.
5809         (nexttoward_test): Likewise.
5810         (pow_test): Likewise.
5811         (pow_test_tonearest): Likewise.
5812         (pow_test_towardzero): Likewise.
5813         (pow_test_downward): Likewise.
5814         (pow_test_upward): Likewise.
5815         (remainder_test): Likewise.
5816         (drem_test): Likewise.
5817         (remainder_test_tonearest): Likewise.
5818         (drem_test_tonearest): Likewise.
5819         (remainder_test_towardzero): Likewise.
5820         (drem_test_towardzero): Likewise.
5821         (remainder_test_downward): Likewise.
5822         (drem_test_downward): Likewise.
5823         (remainder_test_upward): Likewise.
5824         (drem_test_upward): Likewise.
5825         (remquo_test): Likewise.
5826         (rint_test): Likewise.
5827         (rint_test_tonearest): Likewise.
5828         (rint_test_towardzero): Likewise.
5829         (rint_test_downward): Likewise.
5830         (rint_test_upward): Likewise.
5831         (round_test): Likewise.
5832         (scalb_test): Likewise.
5833         (scalbn_test): Likewise.
5834         (scalbln_test): Likewise.
5835         (signbit_test): Likewise.
5836         (sin_test): Likewise.
5837         (sin_test_tonearest): Likewise.
5838         (sin_test_towardzero): Likewise.
5839         (sin_test_downward): Likewise.
5840         (sin_test_upward): Likewise.
5841         (sincos_test): Likewise.
5842         (sinh_test): Likewise.
5843         (sinh_test_tonearest): Likewise.
5844         (sinh_test_towardzero): Likewise.
5845         (sinh_test_downward): Likewise.
5846         (sinh_test_upward): Likewise.
5847         (sqrt_test): Likewise.
5848         (sqrt_test_tonearest): Likewise.
5849         (sqrt_test_towardzero): Likewise.
5850         (sqrt_test_downward): Likewise.
5851         (sqrt_test_upward): Likewise.
5852         (tan_test): Likewise.
5853         (tan_test_tonearest): Likewise.
5854         (tan_test_towardzero): Likewise.
5855         (tan_test_downward): Likewise.
5856         (tan_test_upward): Likewise.
5857         (tanh_test): Likewise.
5858         (tgamma_test): Likewise.
5859         (trunc_test): Likewise.
5860         (y0_test): Likewise.
5861         (y1_test): Likewise.
5862         (yn_test): Likewise.
5863         (significand_test): Likewise.
5864
5865         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5866         individual tests in comment.
5867         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5868         (prev_max_error): New variable.
5869         (prev_real_max_error): Likewise.
5870         (prev_imag_max_error): Likewise.
5871         (compare_ulp_data): Don't refer to test names in comment.
5872         (find_test_ulps): Remove function.
5873         (find_function_ulps): Likewise.
5874         (find_complex_function_ulps): Likewise.
5875         (init_max_error): Take function name as argument.  Look up ulps
5876         for that function.
5877         (print_ulps): Remove function.
5878         (print_max_error): Use prev_max_error instead of calling
5879         find_function_ulps.
5880         (print_complex_max_error): Use prev_real_max_error and
5881         prev_imag_max_error instead of calling find_complex_function_ulps.
5882         (check_float_internal): Take max_ulp parameter instead of calling
5883         find_test_ulps.  Don't call print_ulps.
5884         (check_float): Update call to check_float_internal.
5885         (check_complex): Update calls to check_float_internal.
5886         (START): Pass argument to init_max_error.
5887         * math/gen-libm-test.pl (%results): Don't include "kind"
5888         information.
5889         (parse_ulps): Don't handle ulps of individual tests.
5890         (print_ulps_file): Likewise.
5891         (output_ulps): Likewise.
5892         * math/README.libm-test: Update.
5893         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5894         individual tests.
5895         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5896         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5897         * sysdeps/arm/libm-test-ulps: Likewise.
5898         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5899         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5900         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5901         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5902         * sysdeps/microblaze/libm-test-ulps: Likewise.
5903         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5904         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5905         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5906         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5907         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5908         * sysdeps/sh/libm-test-ulps: Likewise.
5909         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5910         * sysdeps/tile/libm-test-ulps: Likewise.
5911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5912
5913 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5914
5915         * math/libm-test.inc (print_complex_max_error): Check separately
5916         whether real and imaginary errors are within allowed range and
5917         pass 0 to print_complex_function_ulps instead of value within
5918         allowed range.
5919
5920 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5921
5922         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5923         formatting.
5924         (get_handles_fopen): Likewise.
5925         (do_write_test): Likewise.
5926
5927         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5928
5929         * libio/fileops.c (do_ftell): Use cached offset when
5930         available.
5931         * libio/iofwide.c (do_ftell_wide): Likewise.
5932         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5933         _IO_file_attach.
5934         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5935
5936         [BZ #16532]
5937         * libio/libioP.h (get_file_offset): New function.
5938         * libio/fileops.c (get_file_offset): Likewise.
5939         (do_ftell): Likewise.
5940         (_IO_new_file_seekoff): Split out ftell logic.
5941         * libio/wfileops.c (do_ftell_wide): Likewise.
5942         (_IO_wfile_seekoff): Split out ftell logic.
5943         * libio/tst-ftell-active-handler.c: New test case.
5944         * libio/Makefile (tests): Add it.
5945
5946 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5947
5948         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5949         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5950
5951 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5952
5953         [BZ #16639]
5954         * nscd/connections.c (nscd_init): Call do_exit.
5955         (start_threads): Call do_exit and notify_parent.
5956         (begin_drop_privileges): Call do_exit.
5957         (finish_drop_privileges): Likewise.
5958         * nscd/selinux.c (preserve_capabilities): Likewise.
5959         (install_real_capabilities): Likewise.
5960         (nscd_selinux_enabled): Likewise.
5961         (avc_create_thread): Likewise.
5962         (avc_alloc_lock): Likewise.
5963         (nscd_avc_init): Likewise.
5964         * nscd/nscd.c (parent_fd): New static variable.
5965         (main): Create a pipe between parent and child processes.
5966         Skip closing parent_fd.
5967         (monitor_child): New function.
5968         (do_exit): Likewise.
5969         (notify_parent): Likewise.
5970         * nscd/nscd.h (notify_parent): Likewise.
5971         (do_exit): Likewise.
5972
5973 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5974
5975         * malloc/malloc.c (__libc_calloc): Revert last change.
5976
5977 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5978
5979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5980
5981 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5982
5983         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5985         implementation.
5986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5987         (__libc_ifunc_impl_list): Likewise.
5988         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5989         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5990         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5991         * string/strrchr.c: Define STRRCHR.
5992
5993 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5994
5995         * benchtest/bench-strtok.c (simple_strtok): Delete.
5996         (strtok_string): Use as benchmark.
5997         * string/strtok (STRTOK): New macro.
5998
5999 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6000
6001         * manual/threads.texi: Add header and standard comments to all
6002         functions.
6003
6004         * elf/dl-lookup.c (check_match): New function.
6005         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6006         (do_lookup_x): Remove nested function check_match. Use non-nested
6007         function check_match.
6008
6009 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6010
6011         * csu/Makefile (generated, before-compile): Use += rather than =.
6012         * catgets/Makefile (generated, generated-dirs): Likewise.
6013         * debug/Makefile (generated): Likewise.
6014         * dlfcn/Makefile (generated): Likewise.
6015         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6016         * iconvdata/Makefile (before-compile, generated): Likewise.
6017         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6018         * libio/Makefile (generated): Likewise.
6019         * malloc/Makefile (generated): Likewise.
6020         * manual/Makefile (generated, generated-dirs): Likewise.
6021         * misc/Makefile (generated): Likewise.
6022         * posix/Makefile (generated): Likewise.
6023         * resolv/Makefile (generated): Likewise.
6024         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6025         * timezone/Makefile (generated, generated-dirs): Likewise.
6026
6027         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6028
6029 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6030
6031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6032         power8 implementation.
6033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6034         file: POWER8 llround ifunc implementation.
6035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6036         (__lllround): Add POWER8 implementation.
6037         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6038         POWER8 llround implementation.
6039
6040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6041         power8 implementation.
6042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6043         file: POWER8 llrint ifunc implementation.
6044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6045         Add POWER8 implementation.
6046         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6047         POWER8 llrint implementation.
6048
6049         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6050         power8 implementation.
6051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6052         file: POWER8 finite ifunc implementation.
6053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6054         Add POWER8 implementation.
6055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6056         Likewise.
6057         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6058         POWER8 finite implementation.
6059         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6060
6061         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6062         power8 implementation.
6063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6064         file: POWER8 isinf ifunc implementation.
6065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6066         POWER8 implementation.
6067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6068         Likewise.
6069         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6070         isinf implementation.
6071         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6072
6073         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6074         (INIT_ARCH): Add hwcap2 initialization.
6075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6076         power8 implementation.
6077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6078         file: POWER8 isnan ifunc implementation.
6079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6080         POWER8 implementation.
6081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6082         Likewise.
6083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6084         isnan implementation.
6085         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6086
6087 2014-02-27  Joey Ye  <joey.ye@arm.com>
6088
6089         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6090         (_FP_NANFRAC_Q): Set to zero.
6091
6092 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6093
6094         [BZ #16623]
6095         * math/auto-libm-test-in: New test inputs.
6096         * math/auto-libm-test-out: Regenerate.
6097         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6098         and DA.
6099         (__cos): Likewise.
6100         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6101
6102 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6103
6104         * scripts/evaluate-test.sh: Take new argument indicating whether
6105         failure is expected.
6106         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6107         indicating whether failure is expected.
6108         * conform/Makefile (test-xfail-run-conformtest): New variable.
6109         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6110         level.
6111         * posix/Makefile (test-xfail-annexc): New variable.
6112         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6113
6114 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6115
6116         * argp/Makefile: Include Makeconfig immediately after defining
6117         subdir.
6118         * assert/Makefile: Likewise.
6119         * benchtests/Makefile: Likewise.
6120         * catgets/Makefile: Likewise.
6121         * conform/Makefile: Likewise.
6122         * crypt/Makefile: Likewise.
6123         * csu/Makefile: Likewise.
6124         (all): Remove target.
6125         * ctype/Makefile: Include Makeconfig immediately after defining
6126         subdir.
6127         * debug/Makefile: Likewise.
6128         * dirent/Makefile: Likewise.
6129         * dlfcn/Makefile: Likewise.
6130         * gmon/Makefile: Likewise.
6131         * gnulib/Makefile: Likewise.
6132         * grp/Makefile: Likewise.
6133         * gshadow/Makefile: Likewise.
6134         * hesiod/Makefile: Likewise.
6135         * hurd/Makefile: Likewise.
6136         (all): Remove target.
6137         * iconvdata/Makefile: Include Makeconfig immediately after
6138         defining subdir.
6139         * inet/Makefile: Likewise.
6140         * intl/Makefile: Likewise.
6141         * io/Makefile: Likewise.
6142         * libio/Makefile: Likewise.
6143         (all): Remove target.
6144         * locale/Makefile: Include Makeconfig immediately after defining
6145         subdir.
6146         * login/Makefile: Likewise.
6147         * mach/Makefile: Likewise.
6148         (all): Remove target.
6149         * malloc/Makefile: Include Makeconfig immediately after defining
6150         subdir.
6151         (all): Remove target.
6152         * manual/Makefile: Include Makeconfig immediately after defining
6153         subdir.
6154         * math/Makefile: Likewise.
6155         * misc/Makefile: Likewise.
6156         * nis/Makefile: Likewise.
6157         * nss/Makefile: Likewise.
6158         * po/Makefile: Likewise.
6159         (all): Remove target.
6160         * posix/Makefile: Include Makeconfig immediately after defining
6161         subdir.
6162         * pwd/Makefile: Likewise.
6163         * resolv/Makefile: Likewise.
6164         * resource/Makefile: Likewise.
6165         * rt/Makefile: Likewise.
6166         * setjmp/Makefile: Likewise.
6167         * shadow/Makefile: Likewise.
6168         * signal/Makefile: Likewise.
6169         * socket/Makefile: Likewise.
6170         * soft-fp/Makefile: Likewise.
6171         * stdio-common/Makefile: Likewise.
6172         * stdlib/Makefile: Likewise.
6173         * streams/Makefile: Likewise.
6174         * string/Makefile: Likewise.
6175         * sunrpc/Makefile: Likewise.
6176         (all): Remove target.
6177         * sysvipc/Makefile: Include Makeconfig immediately after defining
6178         subdir.
6179         * termios/Makefile: Likewise.
6180         * time/Makefile: Likewise.
6181         * timezone/Makefile: Likewise.
6182         (all): Remove target.
6183         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6184         subdir.
6185         * wctype/Makefile: Likewise.
6186
6187 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6188
6189         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6190         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6191         (libc_feholdexcept_setround_mips): Ditto.
6192         (libc_feholdsetround): New.
6193         (libc_feholdsetroundf): New.
6194         (libc_feholdsetroundl): New.
6195         (libc_feupdateenv_test_mips): New.
6196         (libc_feupdateenv_test): New.
6197         (libc_feupdateenv_testf): New.
6198         (libc_feupdateenv_testl): New.
6199         (libc_feresetround): New.
6200         (libc_feresetroundf): New.
6201         (libc_feresetroundl): New.
6202         (libc_fetestexcept_mips): New.
6203         (libc_fetestexcept): New.
6204         (libc_fetestexceptf): New.
6205         (libc_fetestexceptl): New.
6206         (HAVE_RM_CTX): New.
6207         (libc_feholdexcept_setround_mips_ctx): New.
6208         (libc_feholdexcept_setround_ctx): New.
6209         (libc_feholdexcept_setroundf_ctx): New.
6210         (libc_feholdexcept_setroundl_ctx): New.
6211         (libc_fesetenv_mips_ctx): New.
6212         (libc_fesetenv_ctx): New.
6213         (libc_fesetenv_ctxf): New.
6214         (libc_fesetenv_ctxl): New.
6215         (libc_feupdateenv_mips_ctx): New.
6216         (libc_feupdateenv_ctx): New.
6217         (libc_feupdateenvf_ctx): New.
6218         (libc_feupdateenvl_ctx): New.
6219         (libc_feholdsetround_mips_ctx): New.
6220         (libc_feholdsetround_ctx): New.
6221         (libc_feholdsetroundf_ctx): New.
6222         (libc_feholdsetroundl_ctx): New.
6223         (libc_feresetround_mips_ctx): New.
6224         (libc_feresetround_ctx): New.
6225         (libc_feresetroundf_ctx): New.
6226         (libc_feresetroundl_ctx): New.
6227
6228 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6229
6230         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6231
6232         * manual/ipc.texi: New file.
6233         * manual/Makefile (chapters): Add ipc.
6234         * manual/job.texi: Add "Inter-Process Communication" to next.
6235         * manual/process.texi: Add "Inter-Process Communication" to prev.
6236
6237 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6238
6239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6240
6241 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6242
6243         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6244
6245         * manual/arith.texi: Fix spaces after sentences.
6246         * manual/charset.texi: Likewise.
6247         * manual/errno.texi: Likewise.
6248         * manual/install.texi: Likewise.
6249         * manual/llio.texi: Likewise.
6250         * manual/locale.texi: Likewise.
6251         * manual/maint.texi: Likewise.
6252         * manual/math.texi: Likewise.
6253         * manual/memory.texi: Likewise.
6254         * manual/message.texi: Likewise.
6255         * manual/probes.texi: Likewise.
6256         * manual/resource.texi: Likewise.
6257         * manual/signal.texi: Likewise.
6258         * manual/socket.texi: Likewise.
6259         * manual/stdio.texi: Likewise.
6260         * manual/string.texi: Likewise.
6261         * manual/time.texi: Likewise.
6262         * manual/users.texi: Likewise.
6263
6264 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6265
6266         [BZ #16632]
6267         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6268         _DEFAULT_SOURCE is defined.
6269
6270 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6271             Carlos O'Donell  <carlos@redhat.com>
6272
6273         [BZ #16613]
6274         * elf/dl-tls.c (_dl_count_modids): New function.
6275         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6276         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6277         audit library and increment generation counter.
6278         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6279         * elf/tst-audit9.c: New file.
6280         * elf/tst-auditmod9a.c: New file.
6281         * elf/tst-auditmod9b.c: New file.
6282         * elf/Makefile: Add rules to build and run tst-audit9.
6283
6284 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6285
6286         [BZ #15347]
6287         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6288
6289 2014-02-25  Will Newton  <will.newton@linaro.org>
6290
6291         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6292         (__longjmp): Restore sp and lr before restoring callee
6293         saved registers.  Add longjmp and longjmp_target
6294         SystemTap probe point.
6295         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6296         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6297         Define to zero to match jmpbuf layout.
6298         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6299         (__sigsetjmp): Save sp and lr before saving callee
6300         saved registers.  Add setjmp SystemTap probe point.
6301
6302 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6303
6304         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6305
6306 2014-02-24  Andreas Schwab  <schwab@suse.de>
6307
6308         [BZ #15804]
6309         * elf/pldd.c (wait_for_ptrace_stop): New function.
6310         (main): Call it after attaching.
6311
6312 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6313
6314         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6315         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6316         Versions files is now verboten.
6317         * hurd/Versions (libc: GLIBC_2.0):
6318         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6319         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6320         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6321         * mach/Versions: Likewise.
6322
6323         * csu/Versions: Remove unused %include.
6324         * resolv/Versions: Likewise.
6325
6326 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6327
6328         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6329         ($(objpfx)check-local-headers.out): Likewise.
6330         ($(objpfx)begin-end-check.out): Likewise.
6331         * Makerules (check-abi-%.out): Likewise.
6332         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6333         ($(objpfx)test2.cat): Likewise.
6334         ($(objpfx)de/libc.cat): Likewise.
6335         ($(objpfx)test-gencat.out): Likewise.
6336         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6337         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6338         ($(objpfx)noload-mem): Likewise.
6339         ($(objpfx)tst-pathopt.out): Likewise.
6340         ($(objpfx)tst-rtld-load-self.out): Likewise.
6341         ($(objpfx)tst-array1-cmp.out): Likewise.
6342         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6343         ($(objpfx)tst-array2-cmp.out): Likewise.
6344         ($(objpfx)tst-array3-cmp.out): Likewise.
6345         ($(objpfx)tst-array4-cmp.out): Likewise.
6346         ($(objpfx)tst-array5-cmp.out): Likewise.
6347         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6348         ($(objpfx)check-textrel.out): Likewise.
6349         ($(objpfx)check-execstack.out): Likewise.
6350         ($(objpfx)check-localplt.out): Likewise.
6351         ($(objpfx)order2-cmp.out): Likewise.
6352         ($(objpfx)tst-leaks1-mem): Likewise.
6353         ($(objpfx)tst-leaks1-static-mem): Likewise.
6354         ($(objpfx)tst-initorder-cmp.out): Likewise.
6355         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6356         ($(objpfx)tst-unused-dep.out): Likewise.
6357         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6358         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6359         * iconv/Makefile (test-iconvconfig): Likewise.
6360         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6361         ($(objpfx)iconv-test.out): Likewise.
6362         ($(objpfx)tst-tables.out): Likewise.
6363         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6364         ($(objpfx)tst-gettext.out): Likewise.
6365         ($(objpfx)tst-translit.out): Likewise.
6366         ($(objpfx)tst-gettext2.out): Likewise.
6367         ($(objpfx)tst-gettext4.out): Likewise.
6368         ($(objpfx)tst-gettext6.out): Likewise.
6369         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6370         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6371         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6372         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6373         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6374         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6375         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6376         ($(objpfx)wordexp-tst.out): Likewise.
6377         ($(objpfx)annexc.out): Likewise.
6378         ($(objpfx)tst-fnmatch-mem): Likewise.
6379         ($(objpfx)bug-regex2-mem): Likewise.
6380         ($(objpfx)bug-regex14-mem): Likewise.
6381         ($(objpfx)bug-regex21-mem): Likewise.
6382         ($(objpfx)bug-regex31-mem): Likewise.
6383         ($(objpfx)tst-vfork3-mem): Likewise.
6384         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6385         ($(objpfx)tst-pcre-mem): Likewise.
6386         ($(objpfx)tst-boost-mem): Likewise.
6387         ($(objpfx)tst-getconf.out): Likewise.
6388         ($(objpfx)bug-ga2-mem): Likewise.
6389         ($(objpfx)bug-glob2-mem): Likewise.
6390         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6391         ($(objpfx)mtrace-tst-leaks2): Likewise.
6392         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6393         ($(objpfx)tst-printf.out): Likewise.
6394         ($(objpfx)tst-setvbuf1.out): Likewise.
6395         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6396         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6397         ($(objpfx)tst-fmtmsg.out): Likewise.
6398         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6399         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6400
6401         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6402         * bits/sigaction.h [__USE_MISC]: Likewise.
6403         * bits/waitstatus.h: Update #endif comments.
6404         * ctype/ctype.h: Likewise.
6405         * dirent/dirent.h: Likewise.
6406         [__USE_MISC]: Remove redundant conditionals.
6407         * grp/grp.h: Update #endif comments.
6408         [__USE_GNU]: Remove redundant conditionals.
6409         [__USE_MISC]: Likewise.
6410         * inet/netinet/in.h [__USE_GNU]: Likewise.
6411         * io/sys/stat.h [__USE_MISC]: Likewise.
6412         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6413         * libio/bits/stdio.h: Update #endif comments.
6414         [__USE_MISC]: Remove redundant conditionals.
6415         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6416         * libio/stdio.h: Update #endif comments.
6417         [__USE_MISC]: Remove redundant conditionals.
6418         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6419         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6420         * math/math.h: Update #else and #endif comments.
6421         [__USE_MISC]: Remove redundant conditionals.
6422         * misc/sys/uio.h: Update #endif comments.
6423         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6424         * posix/glob.h [__USE_MISC]: Likewise.
6425         * posix/sys/types.h: Update #endif comments.
6426         [__USE_MISC]: Remove redundant conditionals.
6427         * posix/sys/wait.h: Update #endif comments.
6428         [__USE_MISC]: Remove redundant conditionals.
6429         * posix/unistd.h: Update #endif comments.
6430         [__USE_MISC]: Remove redundant conditionals.
6431         * pwd/pwd.h [__USE_GNU]: Likewise.
6432         [__USE_MISC]: Likewise.
6433         * resolv/netdb.h [__USE_GNU]: Likewise.
6434         * signal/signal.h: Update #endif comments.
6435         [__USE_MISC]: Remove redundant conditionals.
6436         * stdlib/stdlib.h: Update #else and #endif comments.
6437         [__USE_MISC]: Remove redundant conditionals.
6438         [__USE_GNU]: Likewise.
6439         * string/bits/string2.h [__USE_MISC]: Likewise.
6440         * string/string.h: Update #endif comments.
6441         [__USE_MISC]: Remove redundant conditionals.
6442         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6443         Likewise.
6444         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6445         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6446         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6447         Likewise.
6448         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6449         Likewise.
6450         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6451         comments.
6452         [__USE_MISC]: Remove redundant conditionals.
6453         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6454         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6455         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6456         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6457         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6458         Likewise.
6459         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6460         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6461         Likewise.
6462         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6463         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6464         Likewise.
6465         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6466         Likewise.
6467         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6468         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6469         Likewise.
6470         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6471         Likewise.
6472         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6473         * sysdeps/x86/bits/string.h: Update #endif comments.
6474         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6475         conditionals.
6476         * time/sys/time.h: Update #endif comments.
6477         * time/time.h: Likewise.
6478         [__USE_MISC]: Remove redundant conditionals.
6479
6480 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6481
6482         [BZ #16600]
6483         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6484
6485 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6486
6487         * Versions.def (librt): Add GLIBC_2.17.
6488
6489 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6490
6491         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6492         synonym for _SYS_AUXV_H to allow direct inclusion.
6493         * sysdeps/sparc/bits/hwcap.h: Likewise.
6494         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6495         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6496         * sysdeps/sparc/sysdep.h: Likewise.
6497
6498 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6499
6500         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6501
6502 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6503
6504         * benchtests/bench-strrchr.c: Print length instead of position.
6505
6506 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6507
6508         [BZ #16611]
6509         * sysdeps/unix/sysv/linux/kernel-features.h
6510         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6511         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6512         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6513         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6514         Likewise.
6515         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6516         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6517         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6518         (__ASSUME_SENDMMSG): Define instead of using previous
6519         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6520         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6521         (__ASSUME_SENDMMSG_SYSCALL): Define.
6522         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6523         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6524         Likewise.
6525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6526         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6527         Likewise.
6528         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6529         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6530         Likewise.
6531         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6532         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6533         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6534         [__ASSUME_SENDMMSG]: Change conditionals to
6535         [__ASSUME_SENDMMSG_SOCKETCALL].
6536         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6537         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6538         Define.
6539         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6540         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6541         Likewise.
6542         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6543         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6544         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6545         [!__ASSUME_SENDMMSG]: Change conditional to
6546         [!__ASSUME_SENDMMSG_SOCKETCALL].
6547         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6548         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6549         Define.
6550
6551         [BZ #16610]
6552         * sysdeps/unix/sysv/linux/kernel-features.h
6553         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6554         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6555         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6556         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6557         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6558         [__i386__ || __sparc__]
6559         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6560         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6561         (__ASSUME_RECVMMSG): Define instead of using previous
6562         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6563         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6564         (__ASSUME_RECVMMSG_SYSCALL): Define.
6565         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6566         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6569         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6570         Likewise.
6571         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6572         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6575         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6576         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6577         [__ASSUME_RECVMMSG]: Change condition to
6578         [__ASSUME_RECVMMSG_SOCKETCALL].
6579         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6580         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6581         Define.
6582         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6583         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6584         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6585         Likewise.
6586         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6587         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6588         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6589         [!__ASSUME_RECVMMSG]: Change condition to
6590         [!__ASSUME_RECVMMSG_SOCKETCALL].
6591         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6592         (__ASSUME_RECVMMSG_SYSCALL): Define.
6593
6594         [BZ #16609]
6595         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6596         __powerpc__ || __s390__ || __sh__ || __sparc__]
6597         (__ASSUME_SOCKETCALL): Define.
6598         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6599         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6600         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6601         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6602         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6603         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6604         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6605         (__ASSUME_ACCEPT4): Define instead of using previous
6606         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6607         __powerpc__ || __sparc__ || __s390__)] condition.
6608         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6609         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6610         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6611         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6612         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6613         [!__ASSUME_ACCEPT4]: Change condition to
6614         [!__ASSUME_ACCEPT4_SOCKETCALL].
6615         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6616         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6617         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6618         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6619         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6620         __ASSUME_ACCEPT4_SYSCALL.
6621         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6622         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6623         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6624         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6625         __ASSUME_ACCEPT4_SYSCALL.
6626         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6627         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6628         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6629         [__ASSUME_ACCEPT4]: Change condition to
6630         [__ASSUME_ACCEPT4_SOCKETCALL].
6631         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6632         (__ASSUME_SOCKETCALL): Define.
6633         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6634         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6635         (__ASSUME_SOCKETCALL): Define.
6636         (__ASSUME_ACCEPT4): Remove.
6637         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6638         Define.
6639         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6640         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6641         Likewise.
6642         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6643         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6644
6645         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6646         macro.
6647         (HWCAP_ARM_LPAE): Likewise.
6648         (HWCAP_ARM_EVTSTRM): Likewise.
6649         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6650         Add vpfd32, lpae and evtstrm.
6651         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6652         Increase to 22.
6653
6654 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6655
6656         * math/auto-libm-test-in: Add tests of clog10.
6657         * math/auto-libm-test-out: Regenerated.
6658         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6659         * sysdeps/i386/fpu/libm-test-ulps: Update.
6660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6661
6662 2014-02-18  Andreas Schwab  <schwab@suse.de>
6663
6664         [BZ #16574]
6665         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6666         Store non-zero if the second buffer was newly allocated.
6667         (send_dg): Likewise.
6668         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6669         to send_vc and send_dg.
6670         (res_nsend): Pass NULL for ansp2_malloced.
6671         * resolv/res_query.c (__libc_res_nquery): Add parameter
6672         answerp2_malloced and pass it down to __libc_res_nsend.
6673         (res_nquery): Pass additional NULL to __libc_res_nquery.
6674         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6675         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6676         second answer buffer if answerp2_malloced was set.
6677         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6678         (__libc_res_nquerydomain): Add parameter
6679         answerp2_malloced and pass it down to __libc_res_nquery.
6680         (res_nquerydomain): Pass additional NULL to
6681         __libc_res_nquerydomain.
6682         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6683         additional NULL to __libc_res_nsend and __libc_res_nquery.
6684         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6685         additional NULL to __libc_res_nsearch.
6686         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6687         parameter of __libc_res_nsearch to check for separately allocated
6688         second buffer.
6689         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6690         __libc_res_nquery.
6691         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6692         additional NULL to __libc_res_nquery.
6693         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6694         __libc_res_nsearch.
6695         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6696         * include/resolv.h: Update prototypes of __libc_res_nquery,
6697         __libc_res_nsearch, __libc_res_nsend.
6698
6699 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6700
6701         * math/auto-libm-test-in: Add tests of fma.
6702         * math/auto-libm-test-out: Regenerated.
6703         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6704         (fma_towardzero_test_data): Likewise.
6705         (fma_downward_test_data): Likewise.
6706         (fma_upward_test_data): Likewise.
6707         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6708         mpc_mode.
6709         (rounding_modes): Add values for new field.
6710         (func_calc_method): Add value mpfr_fff_f.
6711         (func_calc_desc): Add mpfr_fff_f union field.
6712         (test_function): Add field exact_args.
6713         (FUNC): Add macro argument EXACT_ARGS.
6714         (FUNC_mpfr_f_f): Update call to FUNC.
6715         (FUNC_mpfr_f_f): Likewise.
6716         (FUNC_mpfr_ff_f): Likewise.
6717         (FUNC_mpfr_if_f): Likewise.
6718         (FUNC_mpc_c_f): Likewise.
6719         (FUNC_mpc_c_c): Likewise.
6720         (test_functions): Add fma.  Update calls to FUNC.
6721         (handle_input_arg): Add argument exact_args.
6722         (add_test): Update call to handle_input_arg.
6723         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6724         (output_for_one_input_case): Update call to calc_generic_results.
6725         Recalculate exact zero results in each rounding mode.
6726
6727         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6728         non-negative before setting low bit.
6729         * math/auto-libm-test-in: Mark one asin test possibly having
6730         spurious underflow.
6731         * math/auto-libm-test-out: Regenerated.
6732         * sysdeps/i386/fpu/libm-test-ulps: Update.
6733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6734
6735 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6736
6737         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6738         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6739         ports/sysdeps/unix/sysv/linux/microblaze.
6740         * README: Add missing listing for microblaze*-*-linux-gnu.
6741
6742 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6743
6744         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6745         * sysdeps/unix/sysv/linux/ia64: Move directory from
6746         ports/sysdeps/unix/sysv/linux/ia64.
6747         * README: Update listing for ia64-*-linux-gnu.
6748
6749 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6750             Joseph Myers  <joseph@codesourcery.com>
6751
6752         * Makeconfig (test-name): New variable.
6753         (evaluate-test): Likewise.
6754         * Makerules (do-test-clean): Remove .test-result files.
6755         (common-mostlyclean): Likewise.
6756         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6757         * scripts/evaluate-test.sh: New file.
6758
6759 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6760
6761         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6762         separate $(objpfx)tst-fopenloc-cmp.out and
6763         $(objpfx)tst-fopenloc-mem.out targets.
6764         (tests): Update dependencies.
6765         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6766         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6767         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6768         (tst-rxspencer-no-utf8-ARGS): New variable.
6769         (tst-rxspencer-no-utf8-ENV): Likewise.
6770         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6771         instead of $(objpfx)tst-rxspencer-mem.
6772         ($(objpfx)tst-rxspencer-mem): Change target to
6773         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6774         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6775         * posix/tst-rxspencer-no-utf8.c: New file.
6776
6777         * elf/Makefile ($(objpfx)order.out): Remove rule.
6778         [$(run-built-tests) = yes] (tests): Depend on
6779         $(objpfx)order-cmp.out.
6780         ($(objpfx)order-cmp.out): New rule.
6781         [$(run-built-tests) = yes] (tests): Depend on
6782         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6783         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6784         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6785         $(objpfx)tst-array5-static-cmp.out.
6786         ($(objpfx)tst-array1.out): Remove rule.
6787         ($(objpfx)tst-array1-cmp.out): New rule.
6788         ($(objpfx)tst-array1-static.out): Remove rule.
6789         ($(objpfx)tst-array1-static-cmp.out): New rule.
6790         ($(objpfx)tst-array2.out): Remove rule.
6791         ($(objpfx)tst-array2-cmp.out): New rule.
6792         ($(objpfx)tst-array3.out): Remove rule.
6793         ($(objpfx)tst-array3-cmp.out): New rule.
6794         ($(objpfx)tst-array4.out): Remove rule.
6795         ($(objpfx)tst-array4-cmp.out): New rule.
6796         ($(objpfx)tst-array5.out): Remove rule.
6797         ($(objpfx)tst-array5-cmp.out): New rule.
6798         ($(objpfx)tst-array5-static.out): Remove rule.
6799         ($(objpfx)tst-array5-static-cmp.out): New rule.
6800         [$(run-built-tests) = yes] (tests): Depend on
6801         $(objpfx)order2-cmp.out.
6802         ($(objpfx)order2.out): Remove rule.
6803         ($(objpfx)order2-cmp.out): New rule.
6804         ($(objpfx)tst-initorder.out): Remove rule.
6805         [$(run-built-tests) = yes] (tests): Depend on
6806         $(objpfx)tst-initorder-cmp.out.
6807         ($(objpfx)tst-initorder-cmp.out): New rule.
6808         ($(objpfx)tst-initorder2.out): Remove rule.
6809         [$(run-built-tests) = yes] (tests): Depend on
6810         $(objpfx)tst-initorder2-cmp.out.
6811         ($(objpfx)tst-initorder2-cmp.out): New rule.
6812         [$(run-built-tests) = yes] (tests): Depend on
6813         $(objpfx)tst-unused-dep-cmp.out.
6814         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6815         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6816         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6817         on $(objpfx)tst-setvbuf1-cmp.out.
6818         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6819         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6820         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6821         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6822         ($(objpfx)tst-svc.out): Remove rule.
6823         ($(objpfx)tst-svc-cmp.out): New rule.
6824
6825 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6826
6827         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6828         * ctype/ctype.h [__USE_MISC]: Likewise.
6829         * dirent/dirent.h [__USE_MISC]: Likewise.
6830         * grp/grp.h [__USE_MISC]: Likewise.
6831         * io/fcntl.h [__USE_MISC]: Likewise.
6832         * io/sys/stat.h [__USE_MISC]: Likewise.
6833         * libio/stdio.h [__USE_MISC]: Likewise.
6834         * posix/unistd.h [__USE_MISC]: Likewise.
6835         * pwd/pwd.h [__USE_MISC]: Likewise.
6836         * stdlib.h [__USE_MISC]: Likewise.
6837         * string/bits/string2.h [__USE_MISC]: Likewise.
6838         * string/string.h [__USE_MISC]: Likewise.
6839         * time/time.h [__USE_MISC]: Likewise.
6840
6841 2014-02-13  Andreas Schwab  <schwab@suse.de>
6842
6843         [BZ #16574]
6844         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6845         second answer buffer if it was separately allocated.
6846
6847 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6848
6849         * sysdeps/mips/math-tests.h: Include <features.h>.
6850         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6851         (ROUNDING_TESTS_long_double): Do not define.
6852         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6853         (EXCEPTION_TESTS_long_double): Likewise.
6854         * sysdeps/mips/mips64/libm-test-ulps: Update.
6855
6856         * include/features.h (__USE_BSD): Remove macro definitions.
6857         (__USE_SVID): Likewise.
6858         (_BSD_SOURCE): Likewise.
6859         (_SVID_SOURCE): Likewise.
6860         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6861         from definition of _DEFAULT_SOURCE.
6862         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6863         [_DEFAULT_SOURCE].
6864         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6865         * bits/mman.h [__USE_BSD]: Likewise.
6866         * bits/termios.h [__USE_BSD]: Likewise.
6867         * bits/waitstatus.h [__USE_BSD]: Likewise.
6868         * ctype/ctype.h [__USE_SVID]: Likewise.
6869         * dirent/dirent.h [__USE_BSD]: Likewise.
6870         * grp/grp.h [__USE_SVID]: Likewise.
6871         [__USE_BSD]: Likewise.
6872         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6873         * io/fcntl.h [__USE_BSD]: Likewise.
6874         * io/ftw.h [__USE_BSD]: Likewise.
6875         * io/sys/stat.h [__USE_BSD]: Likewise.
6876         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6877         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6878         * libio/stdio.h [__USE_SVID]: Likewise.
6879         [__USE_BSD]: Likewise.
6880         * math/math.h [__USE_SVID]: Likewise.
6881         [__USE_BSD]: Likewise.
6882         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6883         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6884         * misc/search.h [__USE_SVID]: Likewise.
6885         * misc/sys/mman.h [__USE_BSD]: Likewise.
6886         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6887         * misc/sys/uio.h [__USE_BSD]: Likewise.
6888         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6889         * posix/glob.h [__USE_BSD]: Likewise.
6890         * posix/regex.h [__USE_BSD]: Likewise.
6891         * posix/sys/types.h [__USE_BSD]: Likewise.
6892         [__USE_SVID]: Likewise.
6893         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6894         * posix/sys/wait.h [__USE_BSD]: Likewise.
6895         [__USE_SVID]: Likewise.
6896         * posix/unistd.h [__USE_BSD]: Likewise.
6897         [__USE_SVID]: Likewise.
6898         * pwd/pwd.h [__USE_SVID]: Likewise.
6899         * resolv/netdb.h [__USE_BSD]: Likewise.
6900         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6901         * signal/signal.h [__USE_BSD]: Likewise.
6902         [__USE_SVID]: Likewise.
6903         * socket/sys/socket.h [__USE_BSD]: Likewise.
6904         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6905         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6906         [__USE_SVID]: Likewise.
6907         * string/bits/string2.h [__USE_BSD]: Likewise.
6908         [__USE_SVID]: Likewise.
6909         * string/bits/string3.h [__USE_BSD]: Likewise.
6910         * string/endian.h [__USE_BSD]: Likewise.
6911         * string/string.h [__USE_SVID]: Likewise.
6912         [__USE_BSD]: Likewise.
6913         * string/strings.h [__USE_BSD]: Likewise.
6914         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6915         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6916         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6917         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6918         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6919         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6920         Likewise.
6921         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6922         Likewise.
6923         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6924         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6925         Likewise.
6926         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6927         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6928         Likewise.
6929         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6930         Likewise.
6931         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6932         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6933         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6934         Likewise.
6935         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6936         Likewise.
6937         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6938         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6939         * termios/termios.h [__USE_BSD]: Likewise.
6940         * time/sys/time.h [__USE_BSD]: Likewise.
6941         * time/time.h [__USE_BSD]: Likewise.
6942         [__USE_SVID]: Likewise.
6943
6944         * Makefile (subdir_targets): Remove subdir_lint.out.
6945
6946         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6947         (do-tst-printf): Likewise.
6948         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6949         $(objpfx)tst-printf.out.
6950
6951         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6952
6953         * Makerules (check-abi-%): Change target to
6954         $(objpfx)check-abi-%.out.
6955         (check-abi target): Update dependencies.
6956         (check-abi-pattern variable): Redirect output of diff to $@.
6957         (check-abi variable): Likewise.
6958         * elf/Makefile (check-abi): Update dependencies.
6959
6960         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6961         unused.
6962         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6963         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6964         subnormal range.
6965         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6966         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6967         value has largest subnormal exponent.
6968         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6969         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6970         * sysdeps/aarch64/soft-fp/sfp-machine.h
6971         (_FP_TININESS_AFTER_ROUNDING): New macro.
6972         * sysdeps/alpha/soft-fp/sfp-machine.h
6973         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6974         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6975         Likewise.
6976         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6977         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6978         * sysdeps/mips/soft-fp/sfp-machine.h
6979         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6980         * sysdeps/powerpc/soft-fp/sfp-machine.h
6981         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6982         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6983         Likewise.
6984         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6985         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6986         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6987         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6988         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6989         Likewise.
6990
6991 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6992
6993         [BZ #16545]
6994         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6995         model 1.
6996
6997 2014-02-12  Richard Henderson  <rth@redhat.com>
6998
6999         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7000         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7001         * sysdeps/unix/sysv/linux/alpha: Move directory from
7002         ports/sysdeps/unix/sysv/linux/alpha.
7003         * README: Update listing for alpha-*-linux-gnu.
7004
7005 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7006
7007         * include/features.h: Update comment documenting feature test
7008         macros.
7009         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7010         _DEFAULT_SOURCE.
7011         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7012         (_SVID_SOURCE): Likewise.
7013         (_DEFAULT_SOURCE): Update description of default features.
7014         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7015         with _GNU_SOURCE.
7016         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7017         (S_ISVTX): Likewise.
7018         * manual/math.texi (Mathematical Constants): Likewise.
7019         * manual/signal.texi (Interrupted Primitives): Likewise.
7020         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7021         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7022         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7023         Don't refer to _SVID_SOURCE in warning text.
7024
7025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7026
7027         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7028         already defined.
7029         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7030         * sysdeps/mips/dl-lookup.c: Remove.
7031         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7032
7033 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7034
7035         [BZ #16447]
7036         * math/auto-libm-test-in: Add testcase for expl.
7037         * math/auto-libm-test-out: Regenerate.
7038         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7039         calculation of unsafe.
7040         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7041
7042 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7043
7044         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7045         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7046         ports/sysdeps/unix/sysv/linux/aarch64.
7047         * README: Update listing for aarch64*-*-linux-gnu.
7048
7049 2014-02-11  Will Newton  <will.newton@linaro.org>
7050
7051         * manual/probes.texi (Mathematical Function Probes): Use
7052         "triggered" instead of "hit".
7053
7054         * manual/probes.texi (Internal Probes): Add documentation
7055         of setjmp, longjmp and longjmp_target probes.
7056
7057         * include/stap-probe.h: Add comment about probe argument
7058         format.
7059
7060         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7061         definition.  (tr_where, tr_freehook, tr_mallochook,
7062         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7063
7064 2014-02-11  David S. Miller  <davem@davemloft.net>
7065
7066         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7067         processing int_tests.
7068
7069 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7070
7071         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7072         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7073         * sysdeps/unix/sysv/linux/mips: Move directory from
7074         ports/sysdeps/unix/sysv/linux/mips.
7075         * README: Update listing for mips-*-linux-gnu and
7076         mips64-*-linux-gnu.
7077
7078 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7079
7080         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7081         * sysdeps/unix/sysv/linux/m68k: Move directory from
7082         ports/sysdeps/unix/sysv/linux/m68k.
7083         * README: Update listing for m68k-*-linux-gnu.
7084
7085 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7086
7087         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7088         * sysdeps/unix/sysv/linux/generic: Move directory from
7089         ports/sysdeps/unix/sysv/linux/generic.
7090         * sysdeps/unix/sysv/linux/tile: Move directory from
7091         ports/sysdeps/unix/sysv/linux/tile.
7092         * README: Update listing for tile*-*-linux-gnu.
7093
7094 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7095
7096         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7097         __builtin_expect.
7098         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7099         * catgets/open_catalog.c (__open_catalog): Likewise.
7100         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7101         * debug/confstr_chk.c: Likewise.
7102         * debug/fread_chk.c (__fread_chk): Likewise.
7103         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7104         * debug/getgroups_chk.c: Likewise.
7105         * debug/mbsnrtowcs_chk.c: Likewise.
7106         * debug/mbsrtowcs_chk.c: Likewise.
7107         * debug/mbstowcs_chk.c: Likewise.
7108         * debug/memcpy_chk.c: Likewise.
7109         * debug/memmove_chk.c: Likewise.
7110         * debug/mempcpy_chk.c: Likewise.
7111         * debug/memset_chk.c: Likewise.
7112         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7113         * debug/strcat_chk.c (__strcat_chk): Likewise.
7114         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7115         * debug/strncat_chk.c (__strncat_chk): Likewise.
7116         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7117         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7118         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7119         * debug/wcpncpy_chk.c: Likewise.
7120         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7121         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7122         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7123         * debug/wcsncpy_chk.c: Likewise.
7124         * debug/wcsnrtombs_chk.c: Likewise.
7125         * debug/wcsrtombs_chk.c: Likewise.
7126         * debug/wcstombs_chk.c: Likewise.
7127         * debug/wmemcpy_chk.c: Likewise.
7128         * debug/wmemmove_chk.c: Likewise.
7129         * debug/wmempcpy_chk.c: Likewise.
7130         * debug/wmemset_chk.c: Likewise.
7131         * dirent/scandirat.c (SCANDIRAT): Likewise.
7132         * dlfcn/dladdr1.c (dladdr1): Likewise.
7133         * dlfcn/dladdr.c (dladdr): Likewise.
7134         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7135         * dlfcn/dlerror.c (__dlerror): Likewise.
7136         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7137         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7138         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7139         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7140         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7141         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7142         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7143         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7144         Likewise.
7145         * elf/dl-conflict.c: Likewise.
7146         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7147         * elf/dl-dst.h: Likewise.
7148         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7149         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7150         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7151         * elf/dl-init.c (call_init, _dl_init): Likewise.
7152         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7153         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7154         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7155         Likewise.
7156         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7157         Likewise.
7158         * elf/dl-minimal.c (__libc_memalign): Likewise.
7159         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7160         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7161         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7162         * elf/dl-sym.c (do_sym): Likewise.
7163         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7164         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7165         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7166         * elf/dl-writev.h (_dl_writev): Likewise.
7167         * elf/ldconfig.c (search_dir): Likewise.
7168         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7169         (dl_main): Likewise.
7170         * elf/setup-vdso.h (setup_vdso): Likewise.
7171         * grp/compat-initgroups.c (compat_call): Likewise.
7172         * grp/fgetgrent.c (fgetgrent): Likewise.
7173         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7174         * grp/putgrent.c (putgrent): Likewise.
7175         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7176         Likewise.
7177         * hurd/hurdinit.c: Likewise.
7178         * iconvdata/8bit-gap.c (struct): Likewise.
7179         * iconvdata/ansi_x3.110.c : Likewise.
7180         * iconvdata/big5.c : Likewise.
7181         * iconvdata/big5hkscs.c : Likewise.
7182         * iconvdata/cp1255.c: Likewise.
7183         * iconvdata/cp1258.c : Likewise.
7184         * iconvdata/cp932.c : Likewise.
7185         * iconvdata/euc-cn.c: Likewise.
7186         * iconvdata/euc-jisx0213.c : Likewise.
7187         * iconvdata/euc-jp.c: Likewise.
7188         * iconvdata/euc-jp-ms.c : Likewise.
7189         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7190         * iconvdata/gb18030.c : Likewise.
7191         * iconvdata/gbbig5.c (const): Likewise.
7192         * iconvdata/gbgbk.c: Likewise.
7193         * iconvdata/gbk.c : Likewise.
7194         * iconvdata/ibm1364.c : Likewise.
7195         * iconvdata/ibm930.c : Likewise.
7196         * iconvdata/ibm932.c: Likewise.
7197         * iconvdata/ibm933.c : Likewise.
7198         * iconvdata/ibm935.c : Likewise.
7199         * iconvdata/ibm937.c : Likewise.
7200         * iconvdata/ibm939.c : Likewise.
7201         * iconvdata/ibm943.c: Likewise.
7202         * iconvdata/iso_11548-1.c: Likewise.
7203         * iconvdata/iso-2022-cn.c : Likewise.
7204         * iconvdata/iso-2022-cn-ext.c : Likewise.
7205         * iconvdata/iso-2022-jp-3.c: Likewise.
7206         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7207         * iconvdata/iso-2022-kr.c : Likewise.
7208         * iconvdata/iso646.c (gconv_end): Likewise.
7209         * iconvdata/iso_6937-2.c : Likewise.
7210         * iconvdata/iso_6937.c : Likewise.
7211         * iconvdata/iso8859-1.c: Likewise.
7212         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7213         * iconvdata/shift_jisx0213.c : Likewise.
7214         * iconvdata/sjis.c : Likewise.
7215         * iconvdata/t.61.c : Likewise.
7216         * iconvdata/tcvn5712-1.c : Likewise.
7217         * iconvdata/tscii.c: Likewise.
7218         * iconvdata/uhc.c : Likewise.
7219         * iconvdata/unicode.c (gconv_end): Likewise.
7220         * iconvdata/utf-16.c (gconv_end): Likewise.
7221         * iconvdata/utf-32.c (gconv_end): Likewise.
7222         * iconvdata/utf-7.c (base64): Likewise.
7223         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7224         * iconv/gconv_close.c (__gconv_close): Likewise.
7225         * iconv/gconv_open.c (__gconv_open): Likewise.
7226         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7227         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7228         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7229         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7230         (ucs4le_internal_loop_single): Likewise.
7231         * iconv/iconv.c (iconv): Likewise.
7232         * iconv/iconv_close.c: Likewise.
7233         * iconv/loop.c (SINGLE): Likewise.
7234         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7235         * include/atomic.h: Likewise.
7236         * inet/inet6_option.c (option_alloc): Likewise.
7237         * intl/bindtextdom.c (set_binding_values): Likewise.
7238         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7239         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7240         * intl/localealias.c (read_alias_file): Likewise.
7241         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7242         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7243         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7244         * libio/fmemopen.c (fmemopen): Likewise.
7245         * libio/iofgets.c (_IO_fgets): Likewise.
7246         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7247         * libio/iofgetws.c (fgetws): Likewise.
7248         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7249         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7250         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7251         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7252         * locale/findlocale.c (_nl_find_locale): Likewise.
7253         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7254         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7255         Likewise.
7256         * locale/setlocale.c (setlocale): Likewise.
7257         * login/programs/pt_chown.c (main): Likewise.
7258         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7259         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7260         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7261         (mmap, mmap64, mremap, munmap): Likewise.
7262         * math/e_exp2l.c: Likewise.
7263         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7264         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7265         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7266         * math/s_catan.c (__catan): Likewise.
7267         * math/s_catanf.c (__catanf): Likewise.
7268         * math/s_catanh.c (__catanh): Likewise.
7269         * math/s_catanhf.c (__catanhf): Likewise.
7270         * math/s_catanhl.c (__catanhl): Likewise.
7271         * math/s_catanl.c (__catanl): Likewise.
7272         * math/s_ccosh.c (__ccosh): Likewise.
7273         * math/s_ccoshf.c (__ccoshf): Likewise.
7274         * math/s_ccoshl.c (__ccoshl): Likewise.
7275         * math/s_cexp.c (__cexp): Likewise.
7276         * math/s_cexpf.c (__cexpf): Likewise.
7277         * math/s_cexpl.c (__cexpl): Likewise.
7278         * math/s_clog10.c (__clog10): Likewise.
7279         * math/s_clog10f.c (__clog10f): Likewise.
7280         * math/s_clog10l.c (__clog10l): Likewise.
7281         * math/s_clog.c (__clog): Likewise.
7282         * math/s_clogf.c (__clogf): Likewise.
7283         * math/s_clogl.c (__clogl): Likewise.
7284         * math/s_csin.c (__csin): Likewise.
7285         * math/s_csinf.c (__csinf): Likewise.
7286         * math/s_csinh.c (__csinh): Likewise.
7287         * math/s_csinhf.c (__csinhf): Likewise.
7288         * math/s_csinhl.c (__csinhl): Likewise.
7289         * math/s_csinl.c (__csinl): Likewise.
7290         * math/s_csqrt.c (__csqrt): Likewise.
7291         * math/s_csqrtf.c (__csqrtf): Likewise.
7292         * math/s_csqrtl.c (__csqrtl): Likewise.
7293         * math/s_ctan.c (__ctan): Likewise.
7294         * math/s_ctanf.c (__ctanf): Likewise.
7295         * math/s_ctanh.c (__ctanh): Likewise.
7296         * math/s_ctanhf.c (__ctanhf): Likewise.
7297         * math/s_ctanhl.c (__ctanhl): Likewise.
7298         * math/s_ctanl.c (__ctanl): Likewise.
7299         * math/w_pow.c: Likewise.
7300         * math/w_powf.c: Likewise.
7301         * math/w_powl.c: Likewise.
7302         * math/w_scalb.c (sysv_scalb): Likewise.
7303         * math/w_scalbf.c (sysv_scalbf): Likewise.
7304         * math/w_scalbl.c (sysv_scalbl): Likewise.
7305         * misc/error.c (error_tail): Likewise.
7306         * misc/pselect.c (__pselect): Likewise.
7307         * nis/nis_callback.c (__nis_create_callback): Likewise.
7308         * nis/nis_call.c (__nisfind_server): Likewise.
7309         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7310         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7311         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7312         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7313         * nis/nis_lookup.c (nis_lookup): Likewise.
7314         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7315         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7316         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7317         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7318         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7319         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7320         * nis/nss_compat/compat-initgroups.c (add_group)
7321         (internal_getgrent_r): Likewise.
7322         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7323         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7324         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7325         (internal_getspnam_r): Likewise.
7326         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7327         (_nss_nis_getaliasbyname_r): Likewise.
7328         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7329         (_nss_nis_getntohost_r): Likewise.
7330         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7331         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7332         (_nss_nis_getgrgid_r): Likewise.
7333         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7334         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7335         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7336         (_nss_nis_gethostbyname4_r): Likewise.
7337         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7338         (initgroups_netid): Likewise.
7339         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7340         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7341         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7342         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7343         (_nss_nis_getprotobynumber_r): Likewise.
7344         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7345         (_nss_nis_getsecretkey): Likewise.
7346         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7347         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7348         (_nss_nis_getpwuid_r): Likewise.
7349         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7350         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7351         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7352         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7353         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7354         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7355         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7356         Likewise.
7357         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7358         (_nss_nisplus_getntohost_r): Likewise.
7359         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7360         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7361         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7362         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7363         Likewise.
7364         * nis/nss_nisplus/nisplus-initgroups.c
7365         (_nss_nisplus_initgroups_dyn): Likewise.
7366         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7367         (_nss_nisplus_getnetbyaddr_r): Likewise.
7368         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7369         (_nss_nisplus_getprotobynumber_r): Likewise.
7370         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7371         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7372         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7373         Likewise.
7374         * nis/nss_nisplus/nisplus-service.c
7375         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7376         (_nss_nisplus_getservbyport_r): Likewise.
7377         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7378         (_nss_nisplus_getspnam_r): Likewise.
7379         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7380         Likewise.
7381         * nscd/aicache.c (addhstaiX): Likewise.
7382         * nscd/cache.c (cache_search, prune_cache): Likewise.
7383         * nscd/connections.c (register_traced_file, send_ro_fd)
7384         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7385         (main_loop_epoll): Likewise.
7386         * nscd/grpcache.c (addgrbyX): Likewise.
7387         * nscd/hstcache.c (addhstbyX): Likewise.
7388         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7389         * nscd/mem.c (gc, mempool_alloc): Likewise.
7390         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7391         (addinnetgrX): Likewise.
7392         * nscd/nscd-client.h (__nscd_acquire_maplock)
7393         (__nscd_drop_map_ref): Likewise.
7394         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7395         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7396         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7397         Likewise.
7398         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7399         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7400         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7401         (__nscd_get_map_ref): Likewise.
7402         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7403         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7404         Likewise.
7405         * nscd/pwdcache.c (addpwbyX): Likewise.
7406         * nscd/selinux.c (preserve_capabilities): Likewise.
7407         * nscd/servicescache.c (addservbyX): Likewise.
7408         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7409         * posix/fnmatch.c (fnmatch): Likewise.
7410         * posix/getopt.c (_getopt_internal_r): Likewise.
7411         * posix/glob.c (glob, glob_in_dir): Likewise.
7412         * posix/wordexp.c (exec_comm_child): Likewise.
7413         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7414         (getanswer_r, gaih_getanswer_slice): Likewise.
7415         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7416         * resolv/res_init.c: Likewise.
7417         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7418         * resolv/res_query.c (__libc_res_nquery): Likewise.
7419         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7420         Likewise.
7421         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7422         * stdio-common/perror.c (perror): Likewise.
7423         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7424         * stdio-common/tmpnam.c (tmpnam): Likewise.
7425         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7426         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7427         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7428         Likewise.
7429         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7430         * stdlib/putenv.c (putenv): Likewise.
7431         * stdlib/setenv.c (__add_to_environ): Likewise.
7432         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7433         * stdlib/strtol_l.c (INTERNAL): Likewise.
7434         * string/memmem.c (memmem): Likewise.
7435         * string/strerror.c (strerror): Likewise.
7436         * string/strnlen.c (__strnlen): Likewise.
7437         * string/test-memmem.c (simple_memmem): Likewise.
7438         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7439         * sunrpc/pm_getport.c (__get_socket): Likewise.
7440         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7441         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7442         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7443         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7444         Likewise.
7445         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7446         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7447         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7448         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7449         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7450         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7451         Likewise.
7452         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7453         Likewise.
7454         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7455         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7456         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7457         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7458         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7460         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7461         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7462         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7463         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7464         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7465         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7466         Likewise.
7467         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7468         Likewise.
7469         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7470         Likewise.
7471         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7472         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7473         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7474         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7475         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7476         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7477         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7478         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7479         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7480         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7481         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7482         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7483         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7484         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7485         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7486         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7487         Likewise.
7488         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7489         Likewise.
7490         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7491         Likewise.
7492         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7493         Likewise.
7494         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7495         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7496         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7497         Likewise.
7498         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7499         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7500         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7501         * sysdeps/posix/sleep.c: Likewise.
7502         * sysdeps/posix/tempname.c: Likewise.
7503         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7504         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7505         Likewise.
7506         * sysdeps/powerpc/powerpc32/dl-machine.h
7507         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7508         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7509         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7510         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7511         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7512         Likewise.
7513         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7514         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7515         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7516         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7517         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7518         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7519         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7520         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7521         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7522         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7523         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7524         (elf_machine_lazy_rel): Likewise.
7525         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7526         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7527         (elf_machine_lazy_rel): Likewise.
7528         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7529         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7530         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7531         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7532         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7533         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7534         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7535         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7536         Likewise.
7537         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7538         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7539         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7540         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7541         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7542         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7543         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7544         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7545         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7546         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7547         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7548         Likewise.
7549         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7550         (__posix_fallocate64_l64): Likewise.
7551         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7552         (posix_fallocate): Likewise.
7553         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7554         Likewise.
7555         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7556         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7557         (getifaddrs_internal): Likewise.
7558         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7559         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7560         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7561         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7562         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7563         (__posix_fallocate64_l64): Likewise.
7564         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7565         Likewise.
7566         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7567         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7568         (__get_clockfreq): Likewise.
7569         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7570         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7571         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7573         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7574         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7575         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7576         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7577         Likewise.
7578         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7579         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7580         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7581         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7582         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7583         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7584         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7585         Likewise.
7586         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7587         (posix_fallocate): Likewise.
7588         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7589         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7590         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7591         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7592         (elf_machine_rela, elf_machine_rela_relative)
7593         (elf_machine_lazy_rel): Likewise.
7594         * time/asctime.c (asctime_internal): Likewise.
7595         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7596         * time/tzset.c (__tzset_parse_tz): Likewise.
7597         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7598         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7599         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7600         * wcsmbs/wcsmbsload.h: Likewise.
7601
7602         [BZ #15894]
7603         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7604
7605         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7606         (arena_get2): Remove THREAD_STATS conditionals.
7607         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7608         (__malloc_stats, int): Likewise.
7609
7610 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7611
7612         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7613         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7614
7615         * manual/setjmp.texi: Fix typos/grammar errors.
7616
7617         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7618         Only return early when n is <= 0.  Delete unused return statement.
7619
7620         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7621         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7622         * debug/tst-longjmp_chk3.c: New file.
7623
7624         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7625         (test_main): Replace code with set_fortify_handler call.
7626         * debug/test-strcpy_chk.c: Likewise.
7627         * debug/tst-chk1.c: Likewise.
7628         * debug/tst-longjmp_chk.c: Likewise.
7629         * test-skeleton.c: Include fcntl.h & paths.h
7630         (set_fortify_handler): Define.
7631
7632         * debug/tst-longjmp_chk.c: Add header comment and include
7633         ../test-skeleton.c.
7634         (do_test): Mark static.
7635         (TEST_FUNCTION): Define.
7636
7637         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7638         (IP_PMTUDISC_INTERFACE): Likewise.
7639         (IP_MULTICAST_IF): Likewise.
7640         (IP_MULTICAST_TTL): Likewise.
7641         (IP_MULTICAST_LOOP): Likewise.
7642         (IP_ADD_MEMBERSHIP): Likewise.
7643         (IP_DROP_MEMBERSHIP): Likewise.
7644         (IP_UNBLOCK_SOURCE): Likewise.
7645         (IP_BLOCK_SOURCE): Likewise.
7646         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7647         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7648         (IP_MSFILTER): Likewise.
7649         (MCAST_JOIN_GROUP): Likewise.
7650         (MCAST_BLOCK_SOURCE): Likewise.
7651         (MCAST_UNBLOCK_SOURCE): Likewise.
7652         (MCAST_LEAVE_GROUP): Likewise.
7653         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7654         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7655         (MCAST_MSFILTER): Likewise.
7656         (IP_MULTICAST_ALL): Likewise.
7657         (IP_UNICAST_IF): Likewise.
7658
7659         * timezone/Makefile: Delete $(have-ksh) check.
7660         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7661         * timezone/tzselect.ksh: Add +x mode bits.
7662
7663         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7664         (ANON_INODE_FS_MAGIC): Likewise.
7665         (BDEVFS_MAGIC): Likewise.
7666         (BINFMTFS_MAGIC): Likewise.
7667         (BTRFS_TEST_MAGIC): Likewise.
7668         (CRAMFS_MAGIC_WEND): Likewise.
7669         (DEBUGFS_MAGIC): Likewise.
7670         (ECRYPTFS_SUPER_MAGIC): Likewise.
7671         (EXT3_SUPER_MAGIC): Likewise.
7672         (EXT4_SUPER_MAGIC): Likewise.
7673         (FUTEXFS_SUPER_MAGIC): Likewise.
7674         (HOSTFS_SUPER_MAGIC): Likewise.
7675         (HUGETLBFS_MAGIC): Likewise.
7676         (MINIX3_SUPER_MAGIC): Likewise.
7677         (MTD_INODE_FS_MAGIC): Likewise.
7678         (NILFS_SUPER_MAGIC): Likewise.
7679         (OPENPROM_SUPER_MAGIC): Likewise.
7680         (PIPEFS_MAGIC): Likewise.
7681         (PSTOREFS_MAGIC): Likewise.
7682         (QNX6_SUPER_MAGIC): Likewise.
7683         (RAMFS_MAGIC): Likewise.
7684         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7685         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7686         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7687         (SECURITYFS_MAGIC): Likewise.
7688         (SELINUX_MAGIC): Likewise.
7689         (SMACK_MAGIC): Likewise.
7690         (SOCKFS_MAGIC): Likewise.
7691         (SQUASHFS_MAGIC): Likewise.
7692         (STACK_END_MAGIC): Likewise.
7693         (TMPFS_MAGIC): Likewise.
7694         (USBDEVICE_SUPER_MAGIC): Likewise.
7695         (V9FS_MAGIC): Likewise.
7696         (XENFS_SUPER_MAGIC): Likewise.
7697         (CRAMFS_MAGIC): Fix typo in comment.
7698         (EXT2_SUPER_MAGIC): Update comment.
7699         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7700
7701 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7702
7703         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7704         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7705         * sysdeps/unix/sysv/linux/arm: Move directory from
7706         ports/sysdeps/unix/sysv/linux/arm.
7707         * README: Update listing for arm-*-linux-gnueabi.
7708
7709         * README: Remove mention of am33.
7710
7711 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7712
7713         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7714         than the comma operator, to avoid "rhs of comma has no effect"
7715         compiler warnings.
7716         (__sigfillset, __sigandset, __sigorset): Likewise.
7717         * include/signal.h (__sigemptyset): Likewise.
7718         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7719
7720 2014-02-07  Allan McRae  <allan@archlinux.org>
7721
7722         * version.h (RELEASE): Set to "development".
7723         (VERSION): Set to "2.19.90"
7724         * NEWS: Add 2.20 section.
7725
7726 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7727
7728         [BZ #16529]
7729         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7730
7731 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7732
7733         * manual/contrib.texi: Update entry for Carlos O'Donell,
7734         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7735
7736 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7737
7738         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7739
7740         * sysdeps/unix/sysv/linux/kernel-features.h
7741         [__LINUX_KERNEL_VERSION >= 0x020621]
7742         (__ASSUME_PROC_PID_TASK_COMM): Define.
7743
7744 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7745
7746         [BZ #16398]
7747         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7748         conversion when destination buffer does not have enough space.
7749         * libio/tst-ftell-partial-wide.c: New test case.
7750         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7751
7752         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7753         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7754         Leonard and Allan McRae.
7755
7756 2014-02-04  David S. Miller  <davem@davemloft.net>
7757
7758         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7759         32-bit.
7760
7761 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7762
7763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7764         New file
7765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7766         New file
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7768         New file.
7769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7770         New file.
7771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7772         New file.
7773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7774         New file.
7775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7776         New file.
7777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7778         New file.
7779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7780         New file.
7781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7782         New file.
7783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7784         New file.
7785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7786         New file.
7787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7788         New file.
7789
7790 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7791
7792         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7793         * shlib-versions: Likewise.
7794
7795 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7796             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7797
7798         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7799         (abilist-pattern): New variable, set to %-le.abilist.
7800
7801         * Makerules (abilist-pattern): New variable.
7802         (vpath): Use $(abilist-pattern) in place of %.abilist.
7803         (check-abi-% pattern rule): Likewise.
7804         (check-abi, update-abi): Likewise.
7805
7806 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7807
7808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7809
7810 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7811
7812         * manual/startup.texi: Add next, previous, and top entries for
7813         the `Program Arguments' and `Environment Variables' nodes.
7814
7815 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7816
7817         * manual/macros.texi: Add comments before MTASC-safety macros.
7818
7819         * manual/users.texi: Document MTASC-safety properties.
7820
7821         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7822         (pthread_getspecific, pthread_setspecific): Format with
7823         @deftypefun, and add @safety note.
7824         * manual/signal.texi: Move comments that analyze the above
7825         functions to their home place.
7826
7827 2014-02-03  Allan McRae  <allan@archlinux.org>
7828
7829         * po/sl.po: Update Slovenian translation from translation project.
7830
7831 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7832
7833         * manual/time.texi (timegm): Add missing blank after @c.
7834         Reported by Joseph Myers <joseph@codesourcery.com>.
7835
7836 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7837
7838         * manual/check-safety.sh: New.
7839         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7840
7841         * manual/terminal.texi: Document MTASC-safety properties.
7842
7843         * manual/filesys.texi: Document MTASC-safety properties.
7844
7845         * manual/errno.texi: Document MTASC-safety properties.
7846
7847         * manual/intro.texi: Document safety identifiers and
7848         conditionals.
7849
7850         * manual/string.texi (wcstok): Fix prototype.
7851         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7852
7853         * manual/time.texi: Document MTASC-safety properties.
7854
7855         * manual/string.texi: Document MTASC-safety properties.
7856
7857         * manual/threads.texi: Document MTASC-safety properties.
7858
7859         * manual/stdio.texi: Document MTASC-safety properties.
7860
7861         * manual/syslog.texi: Document MTASC-safety properties.
7862
7863         * manual/sysinfo.texi: Document MTASC-safety properties.
7864
7865         * manual/startup.texi: Document MTASC-safety properties.
7866
7867         * manual/socket.texi: Document MTASC-safety properties.
7868
7869         * manual/signal.texi: Document MTASC-safety properties.
7870
7871 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7872
7873         * manual/setjmp.texi: Document MTASC-safety properties.
7874
7875         * manual/search.texi: Document MTASC-safety properties.
7876
7877         * manual/resource.texi: Document MTASC-safety properties.
7878
7879         * manual/process.texi: Document MTASC-safety properties.
7880
7881         * manual/platform.texi: Document MTASC-safety properties.
7882
7883         * manual/pipe.texi: Document MTASC-safety properties.
7884
7885         * manual/pattern.texi: Document MTASC-safety properties.
7886
7887         * manual/message.texi: Document MTASC-safety properties.
7888
7889         [BZ #12751]
7890         * manual/memory.texi: Document MTASC-safety properties.
7891
7892         * manual/math.texi: Document MTASC-safety properties.
7893
7894         * manual/locale.texi: Document MTASC-safety properties.
7895
7896         * manual/llio.texi: Document MTASC-safety properties.
7897
7898         * manual/libdl.texi: New.
7899
7900         * manual/lang.texi: Document MTASC-safety properties.
7901
7902         * manual/job.texi: Document MTASC-safety properties.
7903
7904         * manual/getopt.texi: Document MTASC-safety properties.
7905
7906         * manual/ctype.texi: Document MTASC-safety properties.
7907
7908 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7909
7910         [BZ #16046]
7911         * csu/libc-tls.c (static_map): Remove variable.
7912         (__libc_setup_tls): Use main executable's link map for TLS data.
7913         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7914         casing for LM_ID_BASE and GL(dl_nns).
7915         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7916         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7917         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7918         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7919         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7920         member.
7921         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7922         l_phnum members.
7923
7924 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7925
7926         * manual/debug.texi: Document MTASC-safety properties.
7927
7928 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7929
7930         [BZ #16510]
7931         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7932         of __x86_64__ when disabling x87 inline functions.
7933
7934 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7935
7936         * manual/charset.texi: Document MTASC-safety properties.
7937
7938         * manual/crypt.texi: Document MTASC-safety properties.
7939
7940         * manual/conf.texi: Document MTASC-safety properties.
7941
7942         * manual/arith.texi: Document MTASC-safety properties.
7943
7944         * manual/argp.texi: Document MTASC-safety properties.
7945
7946         * manual/macros.texi: Introduce macros to document multi
7947         thread, asynchronous signal and asynchronous cancellation
7948         safety properties.
7949         * manual/intro.texi: Introduce the properties themselves.
7950
7951 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7952
7953         * sysdeps/sh/sh4/Makefile: New file.
7954
7955 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7956
7957         * math/gen-libm-test.pl ($srcdir): New variable.
7958         ($auto_input): Use it.
7959
7960 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7961
7962         [BZ #16506]
7963         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7964         access beyond array bounds when parsing netgroups file.
7965
7966         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7967         the old buffer before realloc.
7968
7969 2014-01-27  Allan McRae  <allan@archlinux.org>
7970
7971         * po/fr.po: Update French translation from translation project.
7972
7973 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7974
7975         * sysdeps/sh/libm-test-ulps: Regenerate.
7976
7977 2014-01-24  David S. Miller  <davem@davemloft.net>
7978
7979         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7980
7981 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7982
7983         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7984         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7985
7986 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7987
7988         [BZ #16474]
7989         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7990         string pointers after reallocation.
7991
7992 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7993
7994         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7995         __SH4A__ instead of __SH_FPU_ANY__.
7996
7997 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7998
7999         * sysdeps/sh/fpu_control.h: New file.
8000         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8001         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8002         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8003         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8004         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8005         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8006         * sysdeps/sh/sys/ucontext.h: Remove.
8007         * sysdeps/sh/sys: Remove directory.
8008
8009 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8010
8011         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8012         s390/sys/ucontext.h.
8013         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8014         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8015
8016 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8017
8018         [BZ #15605]
8019         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8020
8021 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8022
8023         [BZ#16431]
8024         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8025         Adjust the vDSO correctly for internal calls.
8026         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8027
8028 2014-01-20  Allan McRae  <allan@archlinux.org>
8029
8030         * po/ca.po: Update Catalan translation from translation project.
8031
8032 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8033
8034         * sysdeps/s390/sotruss-lib.c: New file.
8035
8036 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8037
8038         [BZ#16430]
8039         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8040         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8041         local calls issues by not having a PLT stub required for IFUNC calls.
8042         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8043
8044 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8045
8046         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8047         * math/test-fpucw-static.c: Likewise.
8048
8049 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8050
8051         [BZ #16453]
8052         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8053
8054 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8055
8056         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8057         implementation for powerpc.
8058
8059 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8060
8061         [BZ #14782]
8062         * sysdeps/posix/system.c (__libc_system): Do not enable
8063         asynchronous cancellation.
8064
8065 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8066
8067         [BZ #16427]
8068         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8069         handling only for numbers special also in the IEEE case.
8070
8071 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8072
8073         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8074
8075 2014-01-11  Allan McRae  <allan@archlinux.org>
8076
8077         * po/bg.po: Update Bulgarian translation from translation project.
8078
8079         * po/de.po: Update German translation from translation project.
8080
8081 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8082
8083         * sysdeps/generic/gcc-compat.h: New file.
8084
8085 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8086
8087         * benchtests/asin-inputs: Correct slow inputs.
8088         * benchtests/acos-inputs: Likewise.
8089
8090 2014-01-10  Allan McRae  <allan@archlinux.org>
8091
8092         * po:sv.po: Update Swedish translation from translation project.
8093
8094         * po/vi.po: Update Vietnamese translation from translation project.
8095
8096         * po/eo.po: Update Esperanto translation from translation project.
8097
8098         * po/cs.po: Update Czech translation from translation project.
8099
8100         * po/nl.po: Update Dutch translation from translation project.
8101
8102         * po/pl.po: Update Polish translation from translation project.
8103
8104         * po/ru.po: Update Russian translation from translation project.
8105
8106         * po/uk.po: Update Ukrainian translation from translation project.
8107
8108 2014-01-08  Brooks Moses  <bmoses@google.com>
8109
8110         * elf/dl-load.c: Fix comment typo.
8111
8112 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8113
8114         * po/header.pot: Rename to...
8115         * po/pot.header: ... this.
8116         * po/Makefile: Use pot.header.
8117
8118 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8119             Maxim Kuvyrkov  <maxim@kugelworks.com>
8120
8121         [BZ #16394]
8122         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8123         SRC and DEST against LEN.
8124
8125 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8126
8127         [BZ #16414]
8128         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8129         implementation.
8130         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8131
8132 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8133
8134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8135
8136 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8137
8138         [BZ #16408]
8139         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8140         for large positive arguments.
8141
8142 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8143
8144         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8145
8146         * math/auto-libm-test-in: Mark various tests with
8147         xfail-rounding:ldbl-128ibm.
8148         * math/auto-libm-test-out: Regenerated.
8149
8150         [BZ #16407]
8151         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8152         Increase overflow threshold.
8153
8154 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8155
8156         [BZ #14286]
8157         * stdio-common/vfprintf.c: Check for integer overflow.
8158
8159 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8160
8161         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8162         the first argument and return value of __tls_get_addr_internal.
8163
8164 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8165
8166         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8167         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8168
8169 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8170
8171         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8172         * sysdeps/s390/rtld-global-offsets.sym: New file.
8173         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8174         GLIBC_2.19 symbol.
8175         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8176         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8177         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8178         ... this.
8179         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8180         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8181         ... this.
8182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8183         Regenerate.
8184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8185         Regenerate.
8186         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8187         halfs of GPRs for high_gprs contexts.
8188         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8189         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8190         field.
8191         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8192         uc_flags field.
8193         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8194         64 bit versions:
8195         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8196         for high GPRs (uc_high_gprs) and for future extensions
8197         (__reserved).
8198         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8199         for future extensions (__reserved).
8200         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8201         64 bit versions:
8202         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8203         SC_HIGHGPRS offset definition.
8204         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8205         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8206
8207         * Versions.def: Add GLIBC_2.19 for libpthread.
8208         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8209         siglongjmp for libpthread with GLIBC_2.19 symver.
8210         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8211         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8212         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8213         * sysdeps/s390/__longjmp.c: New file.
8214         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8215         * sysdeps/s390/longjmp.c: New file.
8216         * sysdeps/s390/setjmp.S: New file.
8217         * sysdeps/s390/sigjmp.S: New file.
8218         * sysdeps/s390/v1-longjmp.c: New file.
8219         * sysdeps/s390/v1-setjmp.h: New file.
8220         * sysdeps/s390/v1-sigjmp.c: New file.
8221         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8222         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8223         GLIBC_2.19 version.
8224         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8225         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8226         versioned symbols for ____longjmp_chk.
8227         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8228         Likewise.
8229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8230         Regenerate.
8231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8232         Regenerate.
8233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8234         Regenerate.
8235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8236         Regenerate.
8237         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8238         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8239         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8240         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8241         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8242         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8243         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8244         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8245         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8246         * sysdeps/s390/rtld-__longjmp.c: New file.
8247         * sysdeps/s390/rtld-setjmp.S: New file.
8248
8249 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8250
8251         [BZ #16400]
8252         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8253         Return -__logl (x) for small positive arguments without evaluating
8254         a polynomial.
8255
8256 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8257
8258         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8259         Rename to ...
8260         (__ptrace_peeksiginfo_args): ... this.
8261         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8262         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8263         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8264
8265 2014-01-06  Allan McRae  <allan@archlinux.org>
8266
8267         * inet/netinet/in.h: Fix typo in comment.
8268
8269 2014-01-05  Andreas Jaeger  <aj@suse.de>
8270
8271         * sysdeps/i386/fpu/libm-test-ulps: Update.
8272
8273 2014-01-05  Allan McRae  <allan@archlinux.org>
8274
8275         * po/libc.pot: Regenerated.
8276
8277         * malloc/memusagestat.c: Fix gettext call formatting.
8278
8279 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8280
8281         * nscd/nscd.c: Improve usage() output.
8282
8283 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8284
8285         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8286         * sysdeps/unix/sysv/linux/configure: Regenerated.
8287         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8288         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8289
8290 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8291
8292         [BZ #16390]
8293         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8294         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8295
8296 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8297
8298         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8299         extra tokens at end of #undef directive.
8300         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8301         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8302         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8303
8304 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8305
8306         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8307
8308         * math/auto-libm-test-in: Mark various tests with
8309         xfail-rounding:ldbl-128ibm.
8310         * math/auto-libm-test-out: Regenerated.
8311
8312 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8313
8314         [BZ #16386]
8315         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8316         numbers with subnormal high part when calculating exponent.
8317
8318         [BZ #16385]
8319         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8320         fabs.
8321
8322         [BZ #16384]
8323         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8324         M_LN2l.
8325         (__ieee754_acoshl): Use __log1pl not __log1p.
8326
8327 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8328
8329         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8330         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8331         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8332         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8333         (reused_arena, arena_get2): Convert to GNU style.
8334         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8335         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8336         (memalign_check, __malloc_set_state): Likewise.
8337         * malloc/mallocbug.c (main): Likewise.
8338         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8339         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8340         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8341         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8342         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8343         (__posix_memalign, malloc_info): Likewise.
8344         * malloc/malloc.h: Likewise.
8345         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8346         (mallochook, memalignhook, reallochook, mabort): Likewise.
8347         * malloc/mcheck.h: Likewise.
8348         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8349         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8350         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8351         * malloc/morecore.c (__default_morecore): Likewise.
8352         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8353         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8354         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8355         (print_and_abort): Likewise.
8356         * malloc/obstack.h: Likewise.
8357         * malloc/set-freeres.c (__libc_freeres): Likewise.
8358         * malloc/tst-mallocstate.c (main): Likewise.
8359         * malloc/tst-mtrace.c (main): Likewise.
8360         * malloc/tst-realloc.c (do_test): Likewise.
8361
8362 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8363
8364         [BZ #16366]
8365         * nscd/netgroupcache.c (do_notfound): New function.
8366         (addgetnetgrentX): Use it.
8367
8368         [BZ # 16365]
8369         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8370         NSS_STATUS_NOTFOUND.
8371
8372 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8373
8374         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8376
8377 2014-01-01  Allan McRae  <allan@archlinux.org>
8378
8379         * scripts/update-copyrights: Update configure input file suffix.
8380
8381         * NEWS: Update copyright year.
8382         * catgets/gencat.c: Likewise.
8383         * csu/version.c: Likewise.
8384         * debug/catchsegv.sh: Likewise.
8385         * debug/pcprofiledump.c: Likewise.
8386         * debug/xtrace.sh: Likewise.
8387         * elf/ldconfig.c: Likewise.
8388         * elf/ldd.bash.in: Likewise.
8389         * elf/pldd.c: Likewise.
8390         * elf/sotruss.ksh: Likewise.
8391         * elf/sprof.c: Likewise.
8392         * iconv/iconv_prog.c: Likewise.
8393         * iconv/iconvconfig.c: Likewise.
8394         * locale/programs/locale.c: Likewise.
8395         * locale/programs/localedef.c: Likewise.
8396         * login/programs/pt_chown.c: Likewise.
8397         * malloc/memusage.sh: Likewise.
8398         * malloc/memusagestat.c: Likewise.
8399         * malloc/mtrace.pl: Likewise.
8400         * manual/libc.texinfo: Likewise.
8401         * nscd/nscd.c: Likewise.
8402         * nss/getent.c: Likewise.
8403         * nss/makedb.c: Likewise.
8404         * posix/getconf.c: Likewise.
8405         * scripts/test-installation.pl: Likewise.
8406
8407         * All files with FSF copyright notices: Update copyright dates
8408         using scripts/update-copyrights.
8409         * intl/plural.c: Regenerated.
8410         * locale/programs/charmap-kw.h: Likewise.
8411         * locale/programs/locfile-kw.h: Likewise.
8412
8413 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8414
8415         * sysdeps/unix/sysv/linux/configure: Regenerated.
8416         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8417         the linux/fanotify.h header.
8418         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8419         HAVE_LINUX_FANOTIFY_H is defined.
8420
8421 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8422
8423         * benchtests/cos-inputs: New inputs.
8424         * benchtests/sin-inputs: Likewise.
8425
8426         * benchtests/atan-inputs: New inputs. Fix name of multiple
8427         precision fallback inputs.
8428
8429         * benchtests/atanh-inputs: New inputs.
8430         * benchtests/tanh-inputs: Likewise.
8431
8432         * benchtests/acosh-inputs: New inputs.
8433         * benchtests/asinh-inputs: Likewise.
8434
8435         * benchtests/cosh-inputs: New inputs.
8436         * benchtests/sinh-inputs: Likewise.
8437
8438         * benchtests/acos-inputs: Add more inputs.
8439         * benchtests/asin-inputs: Likewise.
8440
8441 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8442
8443         [BZ #16375]
8444         * manual/arith.texi: Fix spelling.
8445         * manual/charset.texi: Likewise.
8446         * manual/errno.texi: Likewise.
8447         * manual/filesys.texi: Likewise.
8448         * manual/lang.texi: Likewise.
8449         * manual/llio.texi: Likewise.
8450         * manual/locale.texi: Likewise.
8451         * manual/message.texi: Likewise.
8452         * manual/resource.texi: Likewise.
8453         * manual/search.texi: Likewise.
8454         * manual/setjmp.texi: Likewise.
8455         * manual/stdio.texi: Likewise.
8456         * manual/string.texi: Likewise.
8457         * manual/sysinfo.texi: Likewise.
8458         * manual/time.texi: Likewise.
8459
8460 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8461
8462         * po/sl.po: New file.
8463
8464 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8465
8466         * .gitignore: Add core/.gdbinit/.gdb_history.
8467
8468 2013-12-27  Allan McRae  <allan@archlinux.org>
8469
8470         [BZ #16369]
8471         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8472         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8473
8474 2013-12-24  Brooks Moses  <bmoses@google.com>
8475
8476         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8477         all compilers that claim C++98 compliance, not just GCC.
8478         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8479         Likewise.
8480
8481 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8482
8483         * NEWS: Restore accidentally deleted bug-fix entries.
8484
8485 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8486             Ondřej Bílka  <neleai@seznam.cz>
8487
8488         [BZ #15073]
8489         * malloc/malloc.c (_int_free): Perform sanity check only if we
8490         have_lock.
8491
8492 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8493
8494         [BZ #12986]
8495         * manual/stdio.texi (String Input Conversions): Clarify that character
8496         classes are not supported.
8497
8498 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8499
8500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8501
8502 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8503
8504         [BZ #16337]
8505         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8506         Calculate results for small negative arguments directly rather
8507         than using reflection formula with special underflow handling.
8508
8509         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8510         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8511         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8512         (fchflags): Likewise.
8513         (revoke): Likewise.
8514         (setlogin): Likewise.
8515         (sigaltstack): Likewise.
8516         (wait4): Likewise.
8517         (sigblock): Remove.
8518         (sigsetmask): Likewise.
8519         (wait3): Likewise.
8520         (waitpid): Likewise.
8521         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8522         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8523         file.
8524         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8525         * sysdeps/unix/bsd/Makefile: ... here.
8526         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8527         * sysdeps/unix/bsd/Versions: ... here.
8528         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8529         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8530         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8531         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8532         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8533         * sysdeps/unix/bsd/sigblock.c: ... here.
8534         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8535         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8536         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8537         * sysdeps/unix/bsd/sigvec.c: ... here.
8538         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8539         * sysdeps/unix/bsd/tcdrain.c: ... here.
8540         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8541         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8542         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8543         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8544         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8545         * sysdeps/unix/bsd/wait.c: ... here.
8546         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8547         * sysdeps/unix/bsd/wait3.c: ... here.
8548         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8549         * sysdeps/unix/bsd/waitpid.c: ... here.
8550
8551 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8552
8553         [BZ #16356]
8554         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8555         round-to-nearest for [!USE_AS_EXPM1L].
8556         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8557         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8558         more tests of exp and exp10.  Expect some exp10 tests to miss
8559         exceptions or fail in directed rounding modes.
8560         * math/auto-libm-test-out: Regenerated.
8561         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8562         (exp10_test_tonearest): New function.
8563         (exp10_towardzero_test_data): New array.
8564         (exp10_test_towardzero): New function.
8565         (exp10_downward_test_data): New array.
8566         (exp10_test_downward): New function.
8567         (exp10_upward_test_data): New array.
8568         (exp10_test_upward): New function.
8569         (main): Call the new functions.
8570         * sysdeps/i386/fpu/libm-test-ulps: Update.
8571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8572
8573 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8574
8575         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8576         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8577         * math/auto-libm-test-out: Regenerated.
8578         * math/libm-test.inc (acosh_test_data): Add more tests.
8579         (atanh_test_data): Likewise.
8580         (ceil_test_data): Likewise.
8581         (copysign_test_data): Likewise.
8582         * sysdeps/i386/fpu/libm-test-ulps: Update.
8583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8584
8585         * timezone/checktab.awk: Update from tzcode 2013i.
8586         * timezone/private.h: Likewise.
8587         * timezone/scheck.c: Likewise.
8588         * timezone/tzfile.h: Likewise.
8589         * timezone/tzselect.ksh: Likewise.
8590         * timezone/zdump.c: Likewise.
8591         * timezone/zic.c: Likewise.
8592
8593         * math/auto-libm-test-in: Add tests of cpow.
8594         * math/auto-libm-test-out: Regenerated.
8595         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8596         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8597         mpc_cc_c.
8598         (func_calc_desc): Add mpc_cc_c union field.
8599         (test_functions): Add cpow.
8600         (special_fill_2pi): New function.
8601         (special_real_inputs): Add 2pi.
8602         (calc_generic_results): Handle mpc_cc_c.
8603         * sysdeps/i386/fpu/libm-test-ulps: Update.
8604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8605
8606         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8607         csqrt, ctan and ctanh.
8608         * math/auto-libm-test-out: Regenerated.
8609         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8610         (TEST_COND_x86): Likewise.
8611         (ccos_test_data): Use AUTO_TESTS_c_c.
8612         (ccosh_test_data): Likewise.
8613         (cexp_test_data): Likewise.
8614         (clog_test_data): Likewise.
8615         (csqrt_test_data): Likewise.
8616         (ctan_test_data): Likewise.
8617         (ctan_tonearest_test_data): Likewise.
8618         (ctan_towardzero_test_data): Likewise.
8619         (ctan_downward_test_data): Likewise.
8620         (ctan_upward_test_data): Likewise.
8621         (ctanh_test_data): Likewise.
8622         (ctanh_tonearest_test_data): Likewise.
8623         (ctanh_towardzero_test_data): Likewise.
8624         (ctanh_downward_test_data): Likewise.
8625         (ctanh_upward_test_data): Likewise.
8626         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8627         mpc_c_c.
8628         (func_calc_desc): Add mpc_c_c union field.
8629         (FUNC_mpc_c_c): New macro.
8630         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8631         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8632         ctanh.
8633         (special_fill_min_subnorm_p120): New function.
8634         (special_real_inputs): Add min_subnorm_p120.
8635         (calc_generic_results): Handle mpc_c_c.
8636         * sysdeps/i386/fpu/libm-test-ulps: Update.
8637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8638
8639 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8640
8641         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8642         (do_sin_slow): New functions.
8643         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8644         (cslow2, csloww1, csloww2): Use the new functions.
8645
8646         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8647         Use M to change sign of result instead of X.  Assume X is
8648         positive.
8649         (csloww1): Likewise.
8650         (__sin): Adjust.
8651         (__cos): Adjust.
8652
8653         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8654         arguments A and DA.
8655         (__sin): Adjust.
8656         (__cos): Likewise.
8657
8658         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8659         (__cos): Likewise.
8660         (sloww1): Don't adjust sign of DX.
8661         (csloww1): Likewise.
8662         (sloww2): Use X directly and don't adjust sign of DX.
8663         (csloww2): Likewise.
8664
8665 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8666
8667         * math/auto-libm-test-in: Add tests of cabs and carg.
8668         * math/auto-libm-test-out: Regenerated.
8669         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8670         (carg_test_data): Likewise.
8671         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8672         mpc_c_f.
8673         (func_calc_desc): Add mpc_c_f union field.
8674         (test_functions): Add cabs and carg.
8675         (calc_generic_results): Handle mpc_c_f.
8676
8677         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8678         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8679         as a macro and a compat symbol.
8680         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8681         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8682         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8683         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8684         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8685         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8686         not use .hidden.
8687         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8688         Likewise.
8689         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8690         Likewise.
8691         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8692         Likewise.
8693         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8694         Likewise.
8695         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8696         Likewise.
8697         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8698         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8699         from GLIBC_2.3.2.
8700
8701 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8702
8703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8704
8705 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8706
8707         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8708         trailing whitespace removed.
8709         * scripts/config.guess: Update to version 2013-11-29.
8710         * scripts/config.sub: Update to version 2013-10-01.
8711
8712         * math/auto-libm-test-in: Add tests of sincos.
8713         * math/auto-libm-test-out: Regenerated.
8714         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8715         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8716         mpfr_f_11.
8717         (func_calc_desc): Add mpfr_f_11 union field.
8718         (test_functions): Add sincos.
8719         (calc_generic_results): Handle mpfr_f_11.
8720         * sysdeps/i386/fpu/libm-test-ulps: Update.
8721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8722
8723 2013-12-19  Andreas Schwab  <schwab@suse.de>
8724
8725         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8726         CALL_MCOUNT.
8727         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8728         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8729         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8730
8731 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8732
8733         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8734         * sysdeps/i386/fpu/libm-test-ulps: Update.
8735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8736
8737         [BZ #16293]
8738         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8739         round-to-nearest mode when using frndint.
8740         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8741         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8742         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8743         Likewise.
8744         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8745         sinh test to fail.
8746         * math/auto-libm-test-out: Regenerated.
8747         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8748         (TEST_COND_x86): Likewise.
8749         (expm1_tonearest_test_data): New array.
8750         (expm1_test_tonearest): New function.
8751         (expm1_towardzero_test_data): New array.
8752         (expm1_test_towardzero): New function.
8753         (expm1_downward_test_data): New array.
8754         (expm1_test_downward): New function.
8755         (expm1_upward_test_data): New array.
8756         (expm1_test_upward): New function.
8757         (main): Run the new test functions.
8758         * sysdeps/i386/fpu/libm-test-ulps: Update.
8759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8760
8761         * include/features.h: Update comment documenting feature test
8762         macros.  Mention _DEFAULT_SOURCE in comment.
8763         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8764         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8765         _BSD_SOURCE and _SVID_SOURCE.
8766         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8767         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8768         !_SVID_SOURCE]: Likewise.
8769         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8770         (__USE_POSIX_IMPLICITLY): Define.
8771         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8772         (_POSIX_SOURCE): Undefine and redefine.
8773         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8774         (_POSIX_C_SOURCE): Likewise.
8775         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8776         (Feature Test Macros): Update documentation of default features.
8777
8778 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8779
8780         * benchtests/Makefile: Add bench-strtok.
8781         * benchtests/bench-strtok.c: New file: strtok benchtest.
8782
8783 2013-12-19  Allan McRae  <allan@archlinux.org>
8784
8785         * manual/install.texi: Suppress menu for plain text output.
8786         * INSTALL: Regenerated.
8787
8788 2013-12-18  Brooks Moses  <bmoses@google.com>
8789
8790         [BZ #15846]
8791         * misc/getauxval.c: Include errno.h.
8792         (__getauxval): Set errno to ENOENT if the requested type is not
8793         found.
8794         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8795         don't declare with __attribute_const__.
8796         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8797         * manual/startup.texi: Document that getauxval sets errno.
8798
8799 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8800
8801         * math/auto-libm-test-in: Add tests of jn and yn.
8802         * math/auto-libm-test-out: Regenerated.
8803         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8804         (yn_test_data): Likewise.
8805         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8806         mpfr_if_f.
8807         (func_calc_desc): Add mpfr_if_f union field.
8808         (FUNC_mpfr_if_f): New macro.
8809         (test_functions): Add jn and yn.
8810         (calc_generic_results): Assert type of second input for
8811         mpfr_ff_f.  Handle mpfr_if_f.
8812         (output_for_one_input_case): Disable all checking for arguments
8813         fitting floating-point types in case of an integer argument.
8814         * sysdeps/i386/fpu/libm-test-ulps: Update.
8815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8816
8817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8818         Don't expect fegetround reference in libm.so.
8819
8820 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8821
8822         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8823         $(config-cflags-nofma).
8824
8825 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8826
8827         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8828         * math/auto-libm-test-out: Regenerated.
8829
8830         [BZ #16338]
8831         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8832         to determine exponent and adjust argument to have exponent of -1.
8833         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8834         log2.
8835         * math/auto-libm-test-out: Regenerated.
8836         * sysdeps/i386/fpu/libm-test-ulps: Update.
8837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8838
8839 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8840
8841         * manual/probes.texi: Remove cases when per-thread arenas are
8842         disabled.
8843
8844 2013-12-18  Andreas Schwab  <schwab@suse.de>
8845
8846         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8847         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8848         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8849         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8850         * sysdeps/i386/i686/multiarch/Makefile: Update.
8851         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8852
8853 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8854
8855         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8856         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8857
8858 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8859
8860         [BZ #15968]
8861         Support TZ transition times < 00:00:00.
8862         This is needed for version-3 tz-format files; it supports time
8863         stamps past 2037 for America/Godthab (the only entry in the tz
8864         database for which this change is relevant).
8865         * manual/time.texi (TZ Variable): Document transition times
8866         from -167:59:59 through -00:00:01.
8867         * time/tzset.c (tz_rule): Time of day is now signed.
8868         (__tzset_parse_tz): Parse negative time of day.
8869
8870         Document TZ transition times >= 25:00:00.
8871         * manual/time.texi (TZ Variable): Document transition times from
8872         25:00:00 through 167:59:59.  These are already supported, and this
8873         support will help with version-3 tz-format files.
8874
8875         * manual/time.texi (TZ Variable): Modernize North America example
8876         to reflect current (i.e., 2007-and-later) daylight saving rules.
8877
8878         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8879
8880 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8881
8882         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8883         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8884         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8885         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8886         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8887         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8888         * sysdeps/unix/bsd/clock.c: Likewise.
8889         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8890         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8891         * sysdeps/unix/bsd/init-posix.c: Likewise.
8892         * sysdeps/unix/bsd/poll.c: Likewise.
8893         * sysdeps/unix/bsd/ptsname.c: Likewise.
8894         * sysdeps/unix/bsd/seekdir.c: Likewise.
8895         * sysdeps/unix/bsd/setegid.c: Likewise.
8896         * sysdeps/unix/bsd/seteuid.c: Likewise.
8897         * sysdeps/unix/bsd/setgid.c: Likewise.
8898         * sysdeps/unix/bsd/setrgid.c: Likewise.
8899         * sysdeps/unix/bsd/setruid.c: Likewise.
8900         * sysdeps/unix/bsd/setsid.c: Likewise.
8901         * sysdeps/unix/bsd/setuid.c: Likewise.
8902         * sysdeps/unix/bsd/sigaction.c: Likewise.
8903         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8904         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8905         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8906         * sysdeps/unix/bsd/telldir.c: Likewise.
8907         * sysdeps/unix/bsd/times.c: Likewise.
8908         * sysdeps/unix/bsd/usleep.c: Likewise.
8909
8910         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8911         ($(objpfx)libbsd-compat.a): Remove rule.
8912
8913         * include/features.h (__FAVOR_BSD): Do not define.
8914         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8915         features conflicting with POSIX.
8916         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8917         (_BSD_SOURCE): Remove description of not being a subset of other
8918         feature test macros.
8919         * manual/job.texi (getpgrp): Do not document BSD version.
8920         (getpgid): Do not document by reference to BSD getpgrp.
8921         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8922         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8923         * signal/signal.h [__FAVOR_BSD]: Likewise.
8924         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8925         instead of making contents conditional on [__FAVOR_BSD].
8926         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8927
8928 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8929
8930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8931
8932 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8933
8934         [BZ #16314]
8935         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8936         values below 2**-450, not 2**-500.
8937         * math/auto-libm-test-in: Don't allow spurious underflow from
8938         hypot.
8939         * math/auto-libm-test-out: Regenerated.
8940
8941         [BZ #16316]
8942         [BZ #16330]
8943         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8944         values of ha and hb and sort them after adjusting subnormal
8945         arguments.
8946         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8947         Likewise.
8948         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8949         values of ea and eb and sort them after adjusting subnormal
8950         arguments.
8951         * math/auto-libm-test-in: Do not expect some hypot tests of
8952         subnormals to fail.  Add more hypot tests.
8953         * math/auto-libm-test-out: Regenerated.
8954
8955 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8956
8957         [BZ #13304]
8958         * sysdeps/sh/s_fma.c: New file.
8959         * sysdeps/sh/s_fmaf.c: New file.
8960         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8961         version.
8962         * sysdeps/sh/Implies: Add sh/soft-fp.
8963
8964 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8965
8966         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8967         level of indirection to members `objname', `errstring', `malloced'.
8968         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8969         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8970         it as the __longjmp argument (just pass 1 instead).
8971         (_dl_catch_error): Initialize C with argument pointers and address of
8972         volatile local ERRCODE rather than copying values out of C at return.
8973
8974 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8975
8976         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8977         * math/auto-libm-test-out: Regenerated.
8978         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8979         (hypot_test_data): Likewise.
8980         (pow_test_data): Likewise.
8981         (pow_tonearest_test_data): Likewise.
8982         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8983         mpfr_ff_f.
8984         (func_calc_desc): Add mpfr_ff_f union field.
8985         (FUNC_mpfr_ff_f): New macro.
8986         (test_functions): Add atan2, hypot and pow.
8987         (special_fill_min): New function.
8988         (special_fill_minus_min): Likewise.
8989         (special_fill_min_subnorm): Likewise.
8990         (special_fill_minus_min_subnorm): Likewise.
8991         (special_real_inputs): Add min, -min, min_subnorm and
8992         -min_subnorm.
8993         (calc_generic_results): Handle mpfr_ff_f.
8994         * sysdeps/i386/fpu/libm-test-ulps: Update.
8995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8996
8997 2013-12-16  Will Newton  <will.newton@linaro.org>
8998
8999         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9000         (Aligned Memory Blocks): Add documentation for aligned_alloc
9001         and suggest it as an alternative to posix_memalign.
9002         (Hooks for Malloc): Document __memalign_hook is also called
9003         for aligned_alloc.  (Summary of Malloc): Add summary for
9004         aligned alloc.  Document __memalign_hook is also called
9005         for aligned_alloc.
9006
9007 2013-12-16  Will Newton  <will.newton@linaro.org>
9008
9009         * manual/memory.texi (Malloc Examples): Clarify default
9010         alignment documentation.  Suggest posix_memalign rather
9011         than memalign or valloc.
9012         (Aligned Memory Blocks): Remove suggestion to use memalign
9013         or valloc.  Remove obsolete comment about BSD.
9014         Document memalign errno values and mark the function obsolete.
9015         Document posix_memalign returned error codes.  Mark valloc
9016         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9017         called for posix_memalign and valloc.
9018         (Summary of Malloc): Add posix_memalign to function summary.
9019         __memalign_hook is also called for posix_memalign and valloc.
9020
9021 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9022
9023         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9024         TAYLOR_SIN.
9025         (__sin): Adjust.
9026         (__cos): Likewise.
9027         (sloww): Use mynumber union.  Expand ternary operator into
9028         if-else statements.
9029         (cslow): use mynumber union.
9030
9031 2013-12-16  Allan McRae  <allan@archlinux.org>
9032
9033         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9034         * configure: Regenerated.
9035
9036         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9037
9038         [BZ #14120]
9039         * configure.ac: Added --enable-maintainer-mode. Check for
9040         autoconf when enabled.
9041         * configure: Regenerated.
9042
9043         * nscd/nscd.service: New file.
9044         * nscd/nscd.tmpfiles: New file.
9045
9046 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9047
9048         [BZ #12100]
9049         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9050         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9051         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9052         (strstr): Add __strstr_sse2_unaligned ifunc.
9053         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9054         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9055         (strcasestr): Remove __strcasestr_sse42 ifunc.
9056         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9059
9060 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9061
9062         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9063         * sysdeps/sh/bits/fenv.h: ... here.
9064         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9065
9066 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9067
9068         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9069
9070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9071         hypotf multiarch implementations.
9072         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9073         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9074         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9075         multiarch hypot for PPC64.
9076         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9077         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9078         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9079         multiarch hypotf for PPC64.
9080
9081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9082         modff multiarch implementations.
9083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9086         multiarch modf for PPC64.
9087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9090         multiarch modff for PPC64.
9091
9092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9093         and logl multiarch implementations.
9094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9097         multiarch logb for PPC64.
9098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9101         multiarch logb for PPC64.
9102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9105         multiarch logb for PPC64.
9106
9107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9108         isinff multiarch implementation.
9109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9110         file.
9111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9113         multiarch isinf for PPC64.
9114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9115         file.
9116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9117         multiarch isinff for PPC64.
9118
9119         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9120         finitef multiarch implementation.
9121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9122         file.
9123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9125         multiarch finite for PPC64.
9126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9127         file.
9128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9129         multiarch finitef for PPC64.
9130
9131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9132         lrint multiarch implementation.
9133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9134         file.
9135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9137         multiarch llrint for PPC64.
9138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9139         multiarch lrint for PPC64.
9140
9141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9142         copysignf multiarch implementation.
9143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9144         file.
9145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9146         file.
9147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9148         multiarch copysign for PPC64.
9149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9150         multiarch copysignf for PPC64.
9151
9152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9153         multiarch implementation.
9154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9155         file.
9156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9157         file.
9158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9159         file.
9160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9161         file.
9162         multiarch llround for PPC64.
9163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9164         multiarch trunc for PPC64.
9165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9166         multiarch truncf for PPC64.
9167
9168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9169         multiarch implementation.
9170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9171         file.
9172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9173         file.
9174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9175         file.
9176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9177         file.
9178         multiarch llround for PPC64.
9179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9180         multiarch round for PPC64.
9181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9182         multiarch roundf for PPC64.
9183
9184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9185         multiarch implementation.
9186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9187         file.
9188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9189         file.
9190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9191         file.
9192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9193         file.
9194         multiarch llround for PPC64.
9195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9196         multiarch floor for PPC64.
9197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9198         multiarch floorf for PPC64.
9199
9200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9201         multiarch implementation.
9202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9203         file.
9204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9205         file.
9206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9207         file.
9208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9209         file.
9210         multiarch llround for PPC64.
9211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9212         multiarch ceil for PPC64.
9213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9214         multiarch ceilf for PPC64.
9215
9216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9217         multiarch implementation.
9218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9219         file.
9220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9221         file.
9222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9223         file.
9224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9225         multiarch llround for PPC64.
9226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9227         multiarch lround for PPC64.
9228
9229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9230         multiarch implementation.
9231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9234         file.
9235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9238         multiarch isnan for PPC64.
9239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9240         multiarch isnanf for PPC64.
9241
9242         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9243         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9244         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9245         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9246         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9248
9249         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9250         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9251         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9253
9254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9255         multiarch implementations.
9256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9257         (__libc_ifunc_impl_list): Likewise.
9258         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9259         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9260         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9261         multiarch stpcpy for PPC64.
9262
9263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9264         multiarch implementations.
9265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9266         (__libc_ifunc_impl_list): Likewise.
9267         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9268         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9269         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9270         multiarch strcpy for PPC64.
9271
9272         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9273         redefine function name.
9274         (_wordcopy_fwd_dest_aligned): Likewise.
9275         (_wordcopy_bwd_aligned): Likewise.
9276         (_wordcopy_bwd_dest_aligned): Likewise.
9277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9278         multiarch implementations.
9279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9280         (__libc_ifunc_impl_list): Likewise.
9281         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9282         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9283         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9284         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9285         multiarch wcscpy for PPC64.
9286
9287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9288         multiarch implementations.
9289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9290         (__libc_ifunc_impl_list): Likewise.
9291         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9292         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9293         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9294         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9295         multiarch wcscpy for PPC64.
9296
9297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9298         multiarch implementations.
9299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9300         (__libc_ifunc_impl_list): Likewise.
9301         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9302         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9303         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9304         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9305         multiarch wcsrchr for PPC64.
9306
9307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9308         multiarch implementations.
9309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9310         (__libc_ifunc_impl_list): Likewise.
9311         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9312         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9313         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9314         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9315         multiarch wcschr for PPC64.
9316
9317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9318         multiarch implementations.
9319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9320         (__libc_ifunc_impl_list): Likewise.
9321         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9322         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9323         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9324         multiarch strchrnul for PPC64.
9325
9326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9327         implementations.
9328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9329         (__libc_ifunc_impl_list): Likewise.
9330         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9331         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9332         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9333         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9334         strchr for PPC64.
9335
9336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9337         implementations.
9338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9339         (__libc_ifunc_impl_list): Likewise.
9340         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9341         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9342         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9343         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9344         strncmp for PPC64.
9345
9346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9347         multiarch implementations.
9348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9349         (__libc_ifunc_impl_list): Likewise.
9350         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9351         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9352         strncasecmp for PPC64.
9353         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9354         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9355         multiarch strncasecmp_l for PPC64.
9356
9357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9358         multiarch implementations.
9359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9360         (__libc_ifunc_impl_list): Likewise.
9361         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9362         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9363         multiarch strcasecmp for PPC64.
9364         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9365         file.
9366         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9367         multiarch strcasecmp_l for PPC64.
9368
9369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9370         implementations.
9371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9372         (__libc_ifunc_impl_list): Likewise.
9373         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9374         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9375         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9376         strnlen for PPC64.
9377
9378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9379         implementations.
9380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9381         (__libc_ifunc_impl_list): Likewise.
9382         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9383         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9384         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9385         strlen for PPC64.
9386
9387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9388         implementations.
9389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9390         (__libc_ifunc_impl_list): Likewise.
9391         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9392         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9393         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9394         rawmemrchr for PPC64.
9395
9396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9397         implementation.
9398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9399         (__libc_ifunc_impl_list): Likewise.
9400         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9401         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9402         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9403         memrchr for PPC64.
9404
9405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9406         implementation.
9407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9408         (__libc_ifunc_impl_list): Likewise.
9409         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9410         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9411         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9412         memchr for PPC64.
9413
9414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9415         implementation.
9416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9417         (__libc_ifunc_impl_list): Likewise.
9418         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9419         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9420         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9421         mempcpy for PPC64.
9422
9423         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9424         avoid cretion of __bzero symbol.
9425         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9426         Likewise.
9427         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9428         Likewise.
9429         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9430         Likewise.
9431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9432         multiarch implementations.
9433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9434         (__libc_ifunc_impl_list): Likewise.
9435         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9436         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9437         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9438         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9439         bzero for PPC32.
9440         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9441         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9442         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9443         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9444         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9445         memset for PPC64.
9446         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9447
9448         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9450         implementations.
9451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9452         (__libc_ifunc_impl_list): Likewise.
9453         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9454         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9455         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9456         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9457         memcmp for PPC64.
9458
9459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9460         multiarch for POWER/PPC64.
9461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9462         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9463         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9464         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9465         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9466         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9467         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9468         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9469         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9470         memcpy for PPC64.
9471
9472         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9473         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9474         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9475         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9476         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9477         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9478         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9479         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9480         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9481         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9482         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9483         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9484         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9485         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9486         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9494
9495 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9496
9497         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9498
9499 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9500
9501         * benchtests/Makefile (bench): Add exp2 and log2.
9502         (LDLIBS-bench-exp2): Add -lm.
9503         (LDLIBS-bench-log2): Likewise.
9504         * benchtests/exp2-inputs: New inputs file.
9505         * benchtests/log2-inputs: New inputs file.
9506         * benchtests/log-inputs: Add new inputs.
9507         * benchtests/tan-inputs: Likewise.
9508
9509 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9510
9511         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9512         definition...
9513         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9514         (csloww2): ... from here.
9515
9516         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9517         instead of structures.
9518         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9519         (POLYNOMIAL): Likewise.
9520         (TAYLOR_SLOW): Likewise.
9521         (__sin): Likewise.
9522         (__cos): Likewise.
9523         (slow1): Likewise.
9524         (slow2): Likewise.
9525         (sloww): Likewise.
9526         (sloww1); Likewise.
9527         (sloww2): Likewise.
9528         (bsloww1): Likewise.
9529         (bsloww2): Likewise.
9530         (cslow2): Likewise.
9531         (csloww): Likewise.
9532         (csloww1): Likewise.
9533         (csloww2): Likewise.
9534
9535 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9536
9537         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9538         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9539         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9540         * malloc/hooks.c (realloc_check): Likewise.
9541
9542         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9543         * malloc/arena.c: Remove PER_THREAD conditional.
9544         [!PER_THREAD]: Remove code.
9545         (ptmalloc_unlock_all2): Likewise.
9546         (ptmalloc_init): Likewise.
9547         (_int_new_arena): Likewise.
9548         (arena_get2): Likewise.
9549         * malloc/hooks.c (__malloc_get_state): Likewise.
9550         (__malloc_set_state): Likewise.
9551         * malloc/malloc.c: Likewise.
9552         (struct malloc_state): Likewise.
9553         (struct malloc_par): Likewise.
9554         (__libc_realloc): Likewise.
9555         (__libc_mallopt): Likewise.
9556
9557 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9558
9559         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9560
9561 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9562
9563         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9564         macro to a function.  Check for zero perturb_byte.
9565         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9566
9567         * malloc/malloc.c: (force_reg): Remove.
9568         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9569         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9570         force_reg by atomic_forced_read.
9571         * malloc/arena.c (ptmalloc_init): Likewise.
9572         * malloc/hooks.c (top_check): Likewise.
9573
9574 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9575
9576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9577
9578 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9579
9580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9581
9582 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9583
9584         * math/auto-libm-test-in: Add tests of lgamma.
9585         * math/auto-libm-test-out: Regenerated.
9586         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9587         (M_LOG_2_SQRT_PIl): Likewise.
9588         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9589         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9590         mpfr_f_f1.
9591         (func_calc_desc): Add mpfr_f_f1 union field.
9592         (ARGS1): New macro.
9593         (ARGS2): Likewise.
9594         (ARGS3): Likewise.
9595         (ARGS4): Likewise.
9596         (RET1): Likewise.
9597         (RET2): Likewise.
9598         (CALC): Likewise.
9599         (FUNC): Likewise.
9600         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9601         (test_functions): Add lgamma.
9602         (calc_generic_results): Handle mpfr_f_f1.
9603         * sysdeps/i386/fpu/libm-test-ulps: Update.
9604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9605
9606 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9607
9608         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9609         __mpn_add_n for PowerPC64/POWER7.
9610         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9611         __mpn_sub_n for PowerPC64/POWER7.
9612
9613         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9614         __mpn_addmul_1 for PowerPC64.
9615         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9616         __mpn_submul_1 for PowerPC64.
9617         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9618         for PowerPC64.
9619         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9620         for PowerPC64.
9621
9622 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9623
9624         [BZ #15089]
9625         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9626
9627 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9628
9629         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9630
9631         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9632         add multiarch folders.
9633         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9634         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9635         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9636         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9637         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9638         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9639         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9640         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9641         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9642         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9643         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9650
9651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9652         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9654         New file.
9655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9656         New file.
9657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9658         multiarch __ieee754_hypot for PowerPC32.
9659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9660         New file.
9661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9662         New file.
9663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9664         multiarch __ieee754_hypotf for PowerPC32.
9665
9666         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9667         long_double_symbol only if __logbl is defined.
9668         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9669         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9670         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9671         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9672         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9673         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9674         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9675         path for implementation.
9676         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9677         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9679         logb, and logbl multiarch implementations for PowerPC32.
9680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9681         file.
9682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9683         file.
9684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9685         multiarch logb for PowerPC32.
9686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9687         file.
9688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9689         file.
9690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9691         multiarch logbf for PowerPC32.
9692         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9694         file.
9695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9696         multiarch logbl implementation for PowerPC32.
9697
9698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9699         and modff multiarch implementations.
9700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9701         New file.
9702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9703         New file.
9704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9705         multiarch modf for PowerPC32.
9706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9707         New file.
9708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9709         New file.
9710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9711         multiarch modff for PowerPC32.
9712
9713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9714         and lrintf multiarch implementations.
9715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9716         New file.
9717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9718         New file.
9719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9720         multiarch lrint for PowerPC32.
9721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9722         file: multiarch lrintf for PowerPC32.
9723
9724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9725         and lroundf multiarch implementations.
9726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9727         New file.
9728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9729         New file.
9730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9731         New file.
9732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9733         multiarch lround for PowerPC32.
9734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9735         file: multiarch lroundf for PowerPC32.
9736
9737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9738         copysign and copysignf multiarch implementations.
9739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9740         New file.
9741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9742         New file.
9743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9744         file: multiarch copysign for PowerPC32.
9745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9746         file: multiarch copysignf for PowerPC32.
9747
9748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9749         and truncf multiarch implementations.
9750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9751         New file.
9752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9753         file.
9754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9755         multiarch trunc for PowerPC32.
9756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9757         New file.
9758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9759         New file.
9760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9761         multiarch truncf for PowerPC32.
9762
9763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9764         and roundf multiarch implementations.
9765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9766         New file.
9767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9768         file.
9769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9770         multiarch round for PowerPC32.
9771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9772         New file.
9773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9774         New file.
9775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9776         multiarch roundf for PowerPC32.
9777
9778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9779         and floorf multiarch implementations.
9780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9781         New file.
9782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9783         file.
9784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9785         multiarch floor for PowerPC32.
9786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9787         New file.
9788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9789         New file.
9790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9791         multiarch floorf for PowerPC32.
9792
9793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9794         and ceilf multiarch implementations.
9795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9796         New file.
9797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9798         file.
9799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9800         multiarch ceil for PowerPC32.
9801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9802         New file.
9803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9804         file.
9805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9806         multiarch ceilf for PowerPC32.
9807
9808         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9809         is defined.
9810         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9811         FINITEF is defined.
9812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9813         and finitef multiarch implementations.
9814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9815         New file.
9816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9817         file.
9818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9819         multiarch finite for PowerPC32.
9820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9821         New file.
9822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9823         file: multiarch finitef for PowerPC32.
9824
9825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9826         and isinff multiarch implementations.
9827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9828         file.
9829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9830         file.
9831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9832         multiarch isinf for PowerPC32.
9833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9834         New file.
9835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9836         multiarch isinff for PowerPC32.
9837
9838         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9839         alias when __isnan is defined.
9840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9841         and isnanf multiarch implementations.
9842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9843         file.
9844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9845         file.
9846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9847         file.
9848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9849         file.
9850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9851         multiarch isnan for PowerPC32.
9852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9853         New file.
9854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9855         New file.
9856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9857         multiarch isnanf for PowerPC32.
9858
9859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9860         and sqrtf multiarch implementations.
9861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9862         file.
9863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9864         file.
9865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9866         multiarch sqrt for PowerPC32.
9867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9868         file.
9869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9870         file.
9871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9872         multiarch sqrtf for PowerPC32.
9873
9874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9875         and llroundf multiarch implementations.
9876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9877         New file.
9878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9879         New file.
9880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9881         New file.
9882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9883         file: multiarch llround for PowerPC32.
9884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9885         file: multiarch llroundf for PowerPC32.
9886
9887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9888         multiarch PowerPC32 fpu implementations.
9889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9890         New file.
9891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9892         New file.
9893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9894         multiarch llrint for PowerPC32.
9895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9896         New file.
9897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9898         New file.
9899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9900         file.
9901
9902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9903
9904         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9905         file.
9906         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9907         file.
9908         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9909         file.
9910         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9911         multiarch wordcopy for PPC32.
9912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9913         wordcopy objects.
9914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9915         (__libc_ifunc_impl_list): Likewise.
9916         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9917         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9918         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9919         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9920         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9921         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9922
9923         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9925         file.
9926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9927         file.
9928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9929         file.
9930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9931         multiarch wcscpy for PPC32.
9932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9933         multiarch objects.
9934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9935         (__libc_ifunc_impl_list): Likewise.
9936         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9937         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9938         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9939         sysdeps/powerpc/power6/wcscpy.c.
9940
9941         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9943         file.
9944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9945         file.
9946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9947         file.
9948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9949         multiarch wcsrchr for PPC32.
9950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9951         multiarch objects.
9952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9953         (__libc_ifunc_impl_list): Likewise.
9954         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9955         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9956         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9957         sysdeps/powerpc/power6/wcsrchr.c.
9958
9959         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9960         file.
9961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9962         file.
9963         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9964         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9965         multiarch wcschr for PPc32.
9966         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9967         multiarch objects.
9968         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9969         (__libc_ifunc_impl_list): Likewise.
9970         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9971         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9972         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9973         sysdeps/powerpc/power6/wcschr.c.
9974
9975         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9976         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9977         file.
9978         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9979         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9980         file: multiarch strchr for PPC32.
9981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9982         multiarch objects.
9983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9984         (__libc_ifunc_impl_list): Likewise.
9985
9986         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9987         name.
9988         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9989         file.
9990         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9991         file.
9992         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9993         multiarch strchrnul for PPC32.
9994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9995         multiarch objects.
9996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9997         (__libc_ifunc_impl_list): Likewise.
9998
9999         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10000         file.
10001         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10002         multiarch strncasecmp for PPC32.
10003         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10004         file.
10005         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10006         multiarch strncasecmp_l for PPC32.
10007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10008         strncasecmp multiarch objects.
10009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10010         (__libc_ifunc_impl_list): Likewise.
10011
10012         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10013         file.
10014         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10015         multiarch strncasecmp for PPC32.
10016         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10017         New file.
10018         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10019         multiarch strcasecmp_l for PPC32.
10020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10021         multiarch objects.
10022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10023         (__libc_ifunc_impl_list): Likewise.
10024
10025         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10026         file.
10027         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10028         file.
10029         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10030         multiarch strncmp for PPC32.
10031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10032         multiarch objects.
10033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10034         (__libc_ifunc_impl_list): Likewise.
10035
10036         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10037         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10038         file.
10039         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10040         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10042         multiarch objects.
10043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10044         (__libc_ifunc_impl_list): Likewise.
10045
10046         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10047         file.
10048         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10049         file.
10050         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10052         multiarch objects.
10053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10054         (__libc_ifunc_impl_list): Likewise.
10055
10056         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10057         file.
10058         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10059         file.
10060         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10061         multiarch rawmemchr for PPC32.
10062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10063         multiarch objects.
10064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10065         (__libc_ifunc_impl_list): Likewise.
10066
10067         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10068         file.
10069         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10070         file.
10071         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10072         file: memrchr multiarch for PPC32.
10073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10074         multiarch objects.
10075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10076         (__libc_ifunc_impl_list): Likewise.
10077
10078         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10079         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10080         file.
10081         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10082         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10083         multiarch memchr for PPC32.
10084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10085         multiarch objects.
10086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10087         (__libc_ifunc_impl_list): Likewise.
10088
10089         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10090         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10091         file.
10092         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10093         file.
10094         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10095         file: multiarch mempcpy for PPC32.
10096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10097         multiarch objects.
10098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10099         (__libc_ifunc_impl_list): Likewise.
10100
10101         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10102         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10103         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10104         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10105         multiarch bzero for PPC32.
10106         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10107         file.
10108         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10109         file.
10110         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10111         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10112         file: multiarch memset for PPC32.
10113         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10115         memset multiarch objects.
10116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10117         (__libc_ifunc_impl_list): Likewise.
10118
10119         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10120         file.
10121         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10123         memcmp for PPC32.
10124         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10126         multiarch objects.
10127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10128         (__libc_ifunc_impl_list): Likewise.
10129
10130         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10133         file.
10134         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10135         file.
10136         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10137         file.
10138         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10139         multiarch memcpy for PPC32.
10140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10141         multiarch objects.
10142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10143         (__libc_ifunc_impl_list): Likewise.
10144
10145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10146         support multiarch for POWER/PPC32.
10147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10148         Likewise.
10149         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10151         Implies file to make multiarch folder appers before the fpu and
10152         default folder for power4 configuration.
10153
10154 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10155
10156         * scripts/bench.pl: Append volatile keyword to type.
10157
10158 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10159
10160         * sysdeps/sh/sotruss-lib.c: New file.
10161         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10162
10163 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10164
10165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10166
10167 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10168
10169         [BZ #6810]
10170         * math/w_tgamma.c: Include <errno.h>.
10171         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10172         * math/w_tgammaf.c: Include <errno.h>.
10173         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10174         * math/w_tgammal.c: Include <errno.h>.
10175         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10176         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10177         underflow.  Add more tgamma tests.
10178         * math/auto-libm-test-out: Regenerated.
10179         * sysdeps/i386/fpu/libm-test-ulps: Update.
10180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10181
10182         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10183         sin, sinh, tan, tanh, tgamma, y0 and y1.
10184         * math/auto-libm-test-out: Regenerated.
10185         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10186         (TEST_COND_x86): Likewise.
10187         (M_E2l): Remove macro.
10188         (M_E3l): Likewise.
10189         (M_2_SQRT_PIl): Likewise.
10190         (M_SQRT_PIl): Likewise.
10191         (M_1_DIV_El): Likewise.
10192         (log_test_data): Use AUTO_TESTS_f_f.
10193         (log10_test_data): Likewise.
10194         (log1p_test_data): Likewise.
10195         (log2_test_data): Likewise.
10196         (sin_test_data): Likewise.
10197         (sin_tonearest_test_data): Likewise.
10198         (sin_towardzero_test_data): Likewise.
10199         (sin_downward_test_data): Likewise.
10200         (sin_upward_test_data): Likewise.
10201         (sinh_test_data): Likewise.
10202         (sinh_tonearest_test_data): Likewise.
10203         (sinh_towardzero_test_data): Likewise.
10204         (sinh_downward_test_data): Likewise.
10205         (sinh_upward_test_data): Likewise.
10206         (tan_test_data): Likewise.
10207         (tan_tonearest_test_data): Likewise.
10208         (tan_towardzero_test_data): Likewise.
10209         (tan_downward_test_data): Likewise.
10210         (tan_upward_test_data): Likewise.
10211         (tanh_test_data): Likewise.
10212         (tgamma_test_data): Likewise.
10213         (y0_test_data): Likewise.
10214         (y1_test_data): Likewise.
10215         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10216         (special_real_inputs): Add pi/4.
10217         * sysdeps/i386/fpu/libm-test-ulps: Update.
10218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10219
10220 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10221
10222         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10223         "longjmp_target" static probes.
10224         (__longjmp): Rename to __longjmp_symbol.
10225         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10226         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10227         on which longjmp to generate.
10228         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10229         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10230         probe.
10231         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10232         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10233         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10234         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10235         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10236         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10238         __longjmp_symbol based on which __longjmp to generate.
10239         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10240         probe.
10241         (setjmp): Rename to setjmp_symbol.
10242         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10243         (_setjmp): Rename to _setjmp_symbol.
10244         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10245         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10246         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10247         which setjmp to generate.
10248         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10249         "longjmp_target" static probes.
10250
10251 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10252
10253         * benchtests/README: Add note about output arguments.
10254         * benchtests/bench-sincos.c: Remove file.
10255         * benchtests/sincos-inputs: New file.
10256         * scripts/bench.pl: Identify output arguments and define
10257         static variables for them.
10258
10259         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10260
10261         [BZ #15941]
10262         * Makefile (INSTALL): Add install-plain.texi as the primary
10263         dependency.
10264         * manual/install-plain.texi: New file.
10265         * manual/install.texi: Include node directive only for
10266         non-plaintext output.
10267
10268 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10269
10270         * stdlib/longlong.h: Update from GCC.
10271
10272         [BZ #6807]
10273         [BZ #15901]
10274         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10275         * math/w_j0f.c (y0f): Likewise.
10276         * math/w_j0l.c (__y0l): Likewise.
10277         * math/w_j1.c (y1): Likewise.
10278         * math/w_j1f.c (y1f): Likewise.
10279         * math/w_j1l.c (__y1l): Likewise
10280         * math/w_jn.c (yn): Likewise.
10281         * math/w_jnf.c (ynf): Likewise.
10282         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10283         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10284         value for Bessel function domain errors outside _SVID_ mode.
10285         Adjust sign of return value for yn (negative integer, 0).
10286         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10287         by zero in return for negative x and set sign appropriately for
10288         negative n.
10289         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10290         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10291         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10292         expectations in error cases.
10293         (y1_test_data): Likewise.
10294         (yn_test_data): Likewise.
10295         * sysdeps/i386/fpu/libm-test-ulps: Update.
10296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10297
10298 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10299
10300         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10301         "64" to "64-v1".  Add "64-v2".
10302         (abi-64-options): Rename to ...
10303         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10304         (abi-64-condition): Rename to ...
10305         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10306         (abi-64-ld-soname): Rename to ...
10307         (abi-64-v1-ld-soname): ... this.
10308         (abi-64-v2-options): Define.
10309         (abi-64-v2-condition): Likewise.
10310         (abi-64-v2-ld-soname): Likewise.
10311         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10312         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10316
10317 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10318             Alan Modra  <amodra@gmail.com>
10319
10320         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10321         New versions for use with the ELFv2 ABI.
10322         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10323         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10324         declaration.
10325         (struct La_ppc64v2_retval): Likewise.
10326         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10327         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10328         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10329         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10330         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10331         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10332         Do not save or restore CR.
10333         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10334         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10335         return values for ELFv2 ABI.  Fix location of FPR return registers.
10336         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10337         updated values for _CALL_ELF == 2.
10338         (La_regs, La_retval, int_retval): Likewise.
10339
10340 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10341
10342         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10343         (FRAME_MIN_SIZE_PARM): Likewise.
10344         (FRAME_BACKCHAIN): Likewise.
10345         (FRAME_CR_SAVE): Likewise.
10346         (FRAME_LR_SAVE): Likewise.
10347         (FRAME_TOC_SAVE): Likewise.
10348         (FRAME_PARM_SAVE): Likewise.
10349         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10350         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10351         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10352         (call_mcount_parm_offset): New macro.
10353         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10354         (PROF): Use symbolic stack frame offsets.
10355         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10356         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10357         Redefine in terms of FRAME_MIN_SIZE.
10358         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10359         (_dl_profile_resolve): Likewise.  Update comment.
10360         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10361         symbols stack frame offsets.
10362         (__sigsetjmp): Likewise.
10363         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10364         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10365         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10366         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10367
10368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10369         (FRAME_BACKCHAIN): Remove.
10370         (FRAME_CR_SAVE): Likewise.
10371         (FRAME_LR_SAVE): Likewise.
10372         (FRAME_COMPILER_DW): Likewise.
10373         (FRAME_LINKER_DW): Likewise.
10374         (FRAME_TOC_SAVE): Likewise.
10375         (FRAME_PARM_SAVE): Likewise.
10376         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10377         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10378         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10380         (CHECK_SP): Use symbolic stack frame offsets.
10381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10382         zone" instead of caller's parameter save area for temp storage.
10383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10384         Likewise.  Also, use symbolic stack frame offsets.
10385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10386         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10387         our own stack frame instead of the caller's.
10388         (__socket): Use symbolic stack frame offsets.
10389
10390 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10391             Alan Modra  <amodra@gmail.com>
10392
10393         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10394         Define.
10395         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10396         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10397         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10398         New function.
10399         (elf_machine_fixup_plt): Call it.
10400         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10401         reloc arguments.
10402         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10403         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10404         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10405         r2 before calling target.
10406
10407 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10408             Alan Modra  <amodra@gmail.com>
10409
10410         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10411         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10412         versions of macros to support ELFv2 ABI.
10413         (LOCALENTRY): New macro.
10414         (ENTRY, EALIGN): Use it.
10415         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10416         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10417         fall through into ENTRY entry point.
10418         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10419         Only define if _CALL_ELF != 2.
10420
10421         (elf_machine_matches_host): Verify ABI version matches.
10422         (RTLD_START): Use LOCALENTRY.
10423         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10424         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10425         (PLT_ENTRY_WORDS): New macro.
10426         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10427         (elf_machine_runtime_setup): Support ELFv2 ABI.
10428         (elf_machine_fixup_plt): Likewise.
10429         (elf_machine_plt_conflict): Likewise.
10430         (resolve_ifunc): Likewise.
10431         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10432         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10433         Likewise.
10434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10435         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10437         (makecontext): Support ELFv2 ABI.
10438         * elf/elf.h (EF_PPC64_ABI): Define.
10439
10440 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10441
10442         * sysdeps/powerpc/powerpc64/sysdep.h
10443         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10444         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10445         (ENTRY) [ASSEMBLER]: ... but instead here ...
10446         (EALIGN) [ASSEMBLER]: ... and here.
10447         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10448         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10449         (ENTRY_2) [!ASSEMBLER]: Use it.
10450         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10451         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10452         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10453         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10454         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10456         Use PPC64_LOAD_FUNCPTR.
10457
10458         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10459
10460 2013-12-04  Alan Modra  <amodra@gmail.com>
10461
10462         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10463         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10464         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10465         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10466
10467         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10468         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10469         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10470         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10471         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10472         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10473
10474 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10475
10476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10477         (__makecontext): Fix incorrect CFI when backtracing out of
10478         context created via makecontext.
10479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10480         (__setcontext): Fix incorrect CFI during switch to new context.
10481         (__novec_setcontext): Likewise.
10482
10483 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10484
10485         [BZ #4772]
10486         * time/strptime_l.c (__strptime_internal): Allow modifiers
10487         in strptime.
10488         * time/tst-strptime.c (day_tests): Add testcase.
10489
10490 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10491
10492         * scripts/bench.pl: Skip over blank lines.
10493
10494 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10495
10496         [BZ #926]
10497         * manual/time.texi (Calendar Time): Clarify what timezone functions
10498         use.
10499
10500 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10501
10502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10503
10504 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10505
10506         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10507         implementation.
10508         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10509         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10510         * debug/memset_chk.c (__memset_chk): Likewise.
10511         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10512         * debug/strncpy_chk.c: Likewise.
10513
10514 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10515
10516         [BZ #15268]
10517         [BZ #15425]
10518         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10519         (__ieee754_exp): For possibly underflowing results, check size of
10520         result and force underflow exception if required.
10521         * math/auto-libm-test-in: Add more tests of exp.
10522         * math/auto-libm-test-out: Regenerated.
10523         * sysdeps/i386/fpu/libm-test-ulps: Update.
10524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10525
10526         [BZ #16283]
10527         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10528         * math/w_exp2f.c (__exp2f): Likewise.
10529         * math/w_exp2l.c (__exp2l): Likewise.
10530         * math/auto-libm-test-in: Do not allow missing errno on exp2
10531         underflow.
10532         * math/auto-libm-test-out: Regenerated.
10533
10534 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10535
10536         [BZ #16274]
10537         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10538         handle filename validation.
10539         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10540         (do_open): Delete.
10541
10542 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10543
10544         [BZ #6786]
10545         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10546         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10547         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10548         <float.h>.
10549         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10550         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10551         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10552         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10553         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10554         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10555         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10556         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10557         Add more erfc tests.
10558         * math/auto-libm-test-out: Regenerated.
10559         * sysdeps/i386/fpu/libm-test-ulps: Update.
10560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10561
10562         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10563         exp2, expm1, j0 and j1.
10564         * math/auto-libm-test-out: Regenerated.
10565         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10566         (erfc_test_data): Likewise.
10567         (exp_test_data): Likewise.
10568         (exp_tonearest_test_data): Likewise.
10569         (exp_towardzero_test_data): Likewise.
10570         (exp_downward_test_data): Likewise.
10571         (exp_upward_test_data): Likewise.
10572         (exp10_test_data): Likewise.
10573         (exp2_test_data): Likewise.
10574         (expm1_test_data): Likewise.
10575         (j0_test_data): Likewise.
10576         (j1_test_data): Likewise.
10577         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10578         (input_flag_type): Add flag_xfail_rounding.
10579         (input_flags): Add xfail-rounding.
10580         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10581         (output_for_one_input_case): Handle flag_xfail_rounding.
10582         * sysdeps/i386/fpu/libm-test-ulps: Update.
10583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10584
10585 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10586
10587         [BZ #16289]
10588         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10589         division by 0.
10590
10591 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10592
10593         [BZ #16195]
10594         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10595         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10596         (STAP_PROBE0): New macro.
10597         (STAP_PROBE1): Likewise.
10598         (STAP_PROBE2): Likewise.
10599         (STAP_PROBE3): Likewise.
10600         (STAP_PROBE4): Likewise.
10601
10602 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10603
10604         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10605
10606 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10607
10608         * benchtests/Makefile (bench): Add sqrt.
10609         (LDLIBS-bench-sqrt): New.
10610         * benchtests/sqrt-input: New.
10611
10612 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10613
10614         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10615         (GAIH_EAI): Likewise.
10616         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10617         (gaih_inet): Likewise.
10618         (getaddrinfo): Don't use GAIH_EAI.
10619
10620         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10621         (struct gaih): Remove definition.
10622
10623 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10624
10625         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10626         Use HERRNOP directly.
10627
10628 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10629
10630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10631
10632 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10633
10634         * math/gen-auto-libm-tests.c (test_functions): Add more
10635         single-argument functions.
10636         (special_fill_pi_2): New function.
10637         (special_fill_minus_pi_2): Likewise.
10638         (special_fill_pi_6): Likewise.
10639         (special_fill_minus_pi_6): Likewise.
10640         (special_fill_pi_3): Likewise.
10641         (special_fill_2pi_3): Likewise.
10642         (special_fill_e): Likewise.
10643         (special_fill_1_e): Likewise.
10644         (special_fill_e_minus_1): Likewise.
10645         (special_real_inputs): Add more special inputs.
10646         (output_for_one_input_case): Do not require ERANGE on underflow to
10647         zero if round-to-nearest result does not underflow to zero, unless
10648         exact results required.
10649         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10650         atan, atanh, cbrt, cos and cosh.
10651         * math/auto-libm-test-out: Regenerated.
10652         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10653         (acos_tonearest_test_data): Likewise.
10654         (acos_towardzero_test_data): Likewise.
10655         (acos_downward_test_data): Likewise.
10656         (acos_upward_test_data): Likewise.
10657         (acosh_test_data): Likewise.
10658         (asin_test_data): Likewise.
10659         (asin_tonearest_test_data): Likewise.
10660         (asin_towardzero_test_data): Likewise.
10661         (asin_upward_test_data): Likewise.
10662         (asinh_test_data): Likewise.
10663         (atan_test_data): Likewise.
10664         (atanh_test_data): Likewise.
10665         (cbrt_test_data): Likewise.
10666         (cos_test_data): Likewise.
10667         (cos_tonearest_test_data): Likewise.
10668         (cos_towardzero_test_data): Likewise.
10669         (cos_downward_test_data): Likewise.
10670         (cos_upward_test_data): Likewise.
10671         (cosh_test_data): Likewise.
10672         (cosh_tonearest_test_data): Likewise.
10673         (cosh_towardzero_test_data): Likewise.
10674         (cosh_downward_test_data): Likewise.
10675         (cosh_upward_test_data): Likewise.
10676         * sysdeps/i386/fpu/libm-test-ulps: Update.
10677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10678
10679 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10680
10681         [BZ #6787]
10682         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10683         * math/w_exp10f.c (__exp10f): Likewise.
10684         * math/w_exp10l.c (__exp10l): Likewise.
10685         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10686         errno settings in existing tests.
10687
10688         [BZ #14032]
10689         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10690         precision control set to double precision.
10691         * sysdeps/i386/fpu/w_sqrt.c: New file.
10692         * math/auto-libm-test-in: Add more tests.
10693         * math/auto-libm-test-out: Update.
10694
10695         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10696         (sqrt_test_tonearest): New function.
10697         (sqrt_towardzero_test_data): New variable.
10698         (sqrt_test_towardzero): New function.
10699         (sqrt_downward_test_data): New variable.
10700         (sqrt_test_downward): New function.
10701         (sqrt_upward_test_data): New variable.
10702         (sqrt_test_upward): New function.
10703         (main): Call the new functions.
10704
10705         * math/gen-auto-libm-tests.c: New file.
10706         * math/auto-libm-test-in: Likewise.
10707         * math/auto-libm-test-out: New generated file.
10708         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10709         variables.
10710         (%beautify): Add generated representations of zero.
10711         (top level): Set $auto_input and call parse_auto_input.
10712         (beautify): Remove trailing "f" from hex float constants.
10713         (parse_args): Handle XFAIL_TEST.
10714         (convert_condition): New function.
10715         (or_value): Likewise.
10716         (or_cond_value): Likewise.
10717         (generate_testfile): Handle AUTO_TESTS_* lines.
10718         (parse_auto_input): New function.
10719         * math/libm-test.inc (XFAIL_TEST): New macro.
10720         (ERRNO_UNCHANGED): Update value.
10721         (ERRNO_EDOM): Likewise.
10722         (ERRNO_ERANGE): Likewise.
10723         (IGNORE_RESULT): Likewise.
10724         (TEST_COND_flt_32): New macro.
10725         (TEST_COND_dbl_64): Likewise.
10726         (TEST_COND_ldbl_96_intel): Likewise.
10727         (TEST_COND_ldbl_96_m68k): Likewise.
10728         (TEST_COND_ldbl_128): Likewise.
10729         (TEST_COND_ldbl_128ibm): Likewise.
10730         (TEST_COND_long32): Likewise.
10731         (TEST_COND_long64): Likewise.
10732         (TEST_COND_before_rounding): Likewise.
10733         (TEST_COND_after_rounding): Likewise.
10734         (enable_test): Handle XFAIL_TEST flag.
10735         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10736         with finite results.
10737         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10738         auto-libm-test-out.
10739
10740 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10741             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10742
10743         [BZ #16214]
10744         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10745         __tls_get_addr_internal instead of __tls_get_offset in order to
10746         avoid GOT pointer dependency.  Make rtld export
10747         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10748         __tls_get_addr since we are a __tls_get_offset platform.
10749         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10750         GOT pointer being set up before.
10751         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10752
10753 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10754
10755         * manual/math.texi (Errors in Math Functions): Document accuracy
10756         goals.
10757
10758         [BZ #15004]
10759         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10760         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10761         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10762         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10763         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10764         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10765         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10766         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10767         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10768         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10769         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10770         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10771         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10772         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10773         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10774         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10775
10776         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10777         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10778         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10779         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10780         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10781         Likewise.
10782         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10783         Likewise.
10784         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10785         Likewise.
10786         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10787         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10788         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10789         atomic-feupdateenv and flt-rounds.
10790         * sysdeps/powerpc/nofpu/Versions (libc): Add
10791         __atomic_feholdexcept, __atomic_feclearexcept,
10792         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10793         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10794         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10795         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10796         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10797         here.
10798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10799         Update.
10800
10801         * manual/arith.texi (FP Exceptions): Document that exceptions may
10802         not be raised when matherr is used.
10803         (Math Error Reporting): Document overflow in directed rounding
10804         modes.  Document that errno may not be set when finite values are
10805         returned on overflow.  Document intent to set errno on underflow
10806         only for underflow to zero.
10807
10808         [BZ #16271]
10809         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10810         round-to-nearest then adjust result for other rounding modes.
10811         * include/fenv.h (fegetround): Use libm_hidden_proto.
10812         * math/fegetround.c (fegetround): Use libm_hidden_def.
10813         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10814         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10815         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10816         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10817         Likewise.
10818         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10819         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10820         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10821         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10822
10823 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10824
10825         [BZ #16077]
10826         * nss/Versions (libnss_files): Add
10827         _nss_files_gethostbyname3_r.
10828         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10829         New function.
10830         (HOST_DB_LOOKUP): Remove macro.
10831         (_nss_files_gethostbyname_r): Implement function without the
10832         HOST_DB_LOOKUP macro.
10833         (_nss_files_gethostbyname2_r): Likewise.
10834
10835 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10836
10837         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10838
10839 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10840
10841         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10842         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10843         warning.
10844
10845 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10846
10847         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10848         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10849         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10850         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10851         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10852         __fe_nomask_env_priv and attribute_hidden.
10853         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10854         (libc_feupdateenv_test_ppc): Likewise.
10855         (libc_feresetround_ppc): Likewise.
10856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10857         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10858         compat_symbol macro.
10859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10860         (__fe_nomask_env): Likewise.
10861         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10862
10863 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10864
10865         * string/Makefile: Remove ifunc tests.
10866         * string/test-string.h: Define TEST_IFUNC.
10867         * string/test-bcopy-ifunc.c: Remove.
10868         * string/test-bzero-ifunc.c: Likewise.
10869         * string/test-memccpy-ifunc.c: Likewise.
10870         * string/test-memchr-ifunc.c: Likewise.
10871         * string/test-memcmp-ifunc.c: Likewise.
10872         * string/test-memcpy-ifunc.c: Likewise.
10873         * string/test-memmem-ifunc.c: Likewise.
10874         * string/test-memmove-ifunc.c: Likewise.
10875         * string/test-mempcpy-ifunc.c: Likewise.
10876         * string/test-memrchr-ifunc.c: Likewise.
10877         * string/test-memset-ifunc.c: Likewise.
10878         * string/test-rawmemchr-ifunc.c: Likewise.
10879         * string/test-stpcpy-ifunc.c: Likewise.
10880         * string/test-stpncpy-ifunc.c: Likewise.
10881         * string/test-strcasecmp-ifunc.c: Likewise.
10882         * string/test-strcasestr-ifunc.c: Likewise.
10883         * string/test-strcat-ifunc.c: Likewise.
10884         * string/test-strchr-ifunc.c: Likewise.
10885         * string/test-strchrnul-ifunc.c: Likewise.
10886         * string/test-strcmp-ifunc.c: Likewise.
10887         * string/test-strcpy-ifunc.c: Likewise.
10888         * string/test-strcspn-ifunc.c: Likewise.
10889         * string/test-strlen-ifunc.c: Likewise.
10890         * string/test-strncasecmp-ifunc.c: Likewise.
10891         * string/test-strncat-ifunc.c: Likewise.
10892         * string/test-strncmp-ifunc.c: Likewise.
10893         * string/test-strncpy-ifunc.c: Likewise.
10894         * string/test-strnlen-ifunc.c: Likewise.
10895         * string/test-strpbrk-ifunc.c: Likewise.
10896         * string/test-strrchr-ifunc.c: Likewise.
10897         * string/test-strspn-ifunc.c: Likewise.
10898         * string/test-strstr-ifunc.c: Likewise.
10899
10900 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10901
10902         * benchtests/Makefile: Remove ifunc tests.
10903         * benchtests/bench-string.h: Define TEST_IFUNC.
10904         * benchtests/bench-bcopy-ifunc.c: Remove.
10905         * benchtests/bench-bzero-ifunc.c: Likewise.
10906         * benchtests/bench-memccpy-ifunc.c: Likewise.
10907         * benchtests/bench-memchr-ifunc.c: Likewise.
10908         * benchtests/bench-memcmp-ifunc.c: Likewise.
10909         * benchtests/bench-memcpy-ifunc.c: Likewise.
10910         * benchtests/bench-memmem-ifunc.c: Likewise.
10911         * benchtests/bench-memmove-ifunc.c: Likewise.
10912         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10913         * benchtests/bench-memrchr-ifunc.c: Likewise.
10914         * benchtests/bench-memset-ifunc.c: Likewise.
10915         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10916         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10917         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10918         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10919         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10920         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10921         * benchtests/bench-strcat-ifunc.c: Likewise.
10922         * benchtests/bench-strchr-ifunc.c: Likewise.
10923         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10924         * benchtests/bench-strcmp-ifunc.c: Likewise.
10925         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10926         * benchtests/bench-strcpy-ifunc.c: Likewise.
10927         * benchtests/bench-strcspn-ifunc.c: Likewise.
10928         * benchtests/bench-strlen-ifunc.c: Likewise.
10929         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10930         * benchtests/bench-strncat-ifunc.c: Likewise.
10931         * benchtests/bench-strncmp-ifunc.c: Likewise.
10932         * benchtests/bench-strncpy-ifunc.c: Likewise.
10933         * benchtests/bench-strnlen-ifunc.c: Likewise.
10934         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10935         * benchtests/bench-strrchr-ifunc.c: Likewise.
10936         * benchtests/bench-strsep-ifunc.c: Likewise.
10937         * benchtests/bench-strspn-ifunc.c: Likewise.
10938         * benchtests/bench-strstr-ifunc.c: Likewise.
10939
10940 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10941
10942         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10943
10944 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10945
10946         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10947         * rt/aio.h: Likewise.
10948         * sysdeps/gnu/bits/utmp.h: Likewise.
10949         * sysdeps/gnu/bits/utmpx.h: Likewise.
10950         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10951         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10952         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10953         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10954         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10955         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10956         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10957         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10958         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10959         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10960         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10961         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10962         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10964         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10965         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10966         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10967         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10968         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10969         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10970         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10971         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10972         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10973         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10974         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10976         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10977         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10978         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10979         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10980         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10981         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10982         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10983         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10984         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10985         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10986         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10987         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10988         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10989         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10990         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10991         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10992
10993 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10994
10995         [BZ #16245]
10996         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10997         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10998
10999 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11000
11001         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11002         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11003         Likewise.
11004
11005 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11006
11007         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11008         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11009         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11010         (__fesetround): Remove define.
11011         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11012         rounding and exceptions handling.
11013         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11014         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11015         (__fe_nomask_env): Likewise.
11016         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11017         __fegetround instead of fegetround.
11018         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11019         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11020
11021 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11022
11023         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11024         it's there.
11025
11026         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11027
11028 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11029
11030         [BZ #11157]
11031         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11032         (encrypt_r): Likewise.
11033         * malloc/obstack.h (obstack_free): Likewise.
11034         * posix/unistd.h (encrypt): Likewise.
11035
11036 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11037
11038         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11039         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11040         DL_CALL_DT_FINI() that call the functions directly.
11041         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11042         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11043         * elf/dl-fini.c: Likewise.
11044
11045 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11046
11047         * malloc/hooks.c (memalign_check): Add alignment rounding.
11048         * malloc/malloc.c (_mid_memalign): New function.
11049         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11050         Implement by calling _mid_memalign.
11051         * manual/probes.texi (Memory Allocation Probes): Remove
11052         memory_valloc_retry and memory_pvalloc_retry.
11053
11054 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11055
11056         * locale/programs/locarchive.c (open_archive): Add const
11057         qualifier to ARCHIVEFNAME and copy default fname to
11058         DEFAULT_FNAME.
11059
11060         [BZ #15601]
11061         * libio/tst-widetext.input: Rename Oriya to Odia.
11062         * locale/iso-639.def: Likewise.
11063
11064         * manual/probes.texi (Mathematical Function Probes): Add
11065         documentation for sin, cos, asin and acos probes.
11066         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11067         (__sin32): Add slowasin probe.
11068         (__cos32): Add slowacos probe.
11069         (__mpsin): Add slowsin probe.
11070         (__mpcos): Add slowcos probe.
11071
11072 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11073
11074         [BZ #15483]
11075         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11076         thread-local __sim_exceptions_thread and global
11077         __sim_exceptions_global.
11078         (__sim_disabled_exceptions): Change to thread-local
11079         __sim_disabled_exceptions_thread and global
11080         __sim_disabled_exceptions_global.
11081         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11082         and global __sim_round_mode_global.
11083         (__simulate_exceptions): Use thread-local floating-point state and
11084         set global state from it as needed.
11085         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11086         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11087         __sim_round_mode_thread.
11088         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11089         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11090         and global __sim_exceptions_global.
11091         (__sim_disabled_exceptions): Change to thread-local
11092         __sim_disabled_exceptions_thread and global
11093         __sim_disabled_exceptions_global.
11094         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11095         and global __sim_round_mode_global.
11096         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11097         (SIM_SET_GLOBAL): Likewise.
11098         * sysdeps/powerpc/soft-fp/sfp-machine.h
11099         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11100         __sim_round_mode_thread.
11101         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11102         __sim_disabled_exceptions_thread.
11103         (__sim_exceptions): Change to __sim_exceptions_thread.
11104         (__sim_disabled_exceptions): Change to
11105         __sim_disabled_exceptions_thread.
11106         (__sim_round_mode): Change to __sim_round_mode_thread.
11107         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11108         thread-local floating-point state and set global state from it as
11109         needed.
11110         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11111         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11112         (__sim_disabled_exceptions): Remove extern declaration.
11113         (feenableexcept): Use thread-local floating-point state and set
11114         global state from it as needed.
11115         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11116         extern declaration.
11117         (__sim_disabled_exceptions): Likewise.
11118         (__sim_round_mode): Likewise.
11119         (__fegetenv): Use thread-local floating-point state.
11120         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11121         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11122         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11123         floating-point state and set global state from it as needed.
11124         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11125         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11126         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11127         Likewise.
11128         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11129         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11130         Likewise.
11131         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11132         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11133         Use __sim_round_mode_thread.
11134         * math/test-fenv-tls.c: New file.
11135         * math/Makefile (tests): Add test-fenv-tls.
11136         ($(objpfx)test-fenv-tls): Depend on
11137         $(common-objpfx)nptl/libpthread.so.
11138
11139 2013-11-19  Andreas Schwab  <schwab@suse.de>
11140
11141         * locale/programs/locale.c (show_info): Decode wordarray elements.
11142         * locale/categories.def (LC_MONETARY): Add element for
11143         _NL_MONETARY_CRNCYSTR.
11144         * locale/C-monetary.c (conversion_rate): New variable.
11145         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11146         element.
11147
11148 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11149
11150         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11151         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11152
11153 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11154
11155         * elf/Makefile (tst-auxv): New test.
11156         * elf/tst-auxv.c: New
11157         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11158
11159 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11160
11161         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11162         (hidden_proto): Caller changed.
11163         (hidden_tls_proto): New macro.
11164         (libc_hidden_tls_proto): Likewise.
11165         (rtld_hidden_tls_proto): Likewise.
11166         (libm_hidden_tls_proto): Likewise.
11167         (libresolv_hidden_tls_proto): Likewise.
11168         (librt_hidden_tls_proto): Likewise.
11169         (libdl_hidden_tls_proto): Likewise.
11170         (libnss_files_hidden_tls_proto): Likewise.
11171         (libnsl_hidden_tls_proto): Likewise.
11172         (libnss_nisplus_hidden_tls_proto): Likewise.
11173         (libutil_hidden_tls_proto): Likewise.
11174
11175 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11176
11177         [BZ #10253]
11178         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11179         (decompose_rpath): Defer expansion to fillin_rpath.
11180         (_dl_init_paths): Pass linkmap to fillin_rpath.
11181
11182 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11183
11184         * benchtests/Makefile: Add strsep.
11185         * benchtests/bench-strsep.c: New file: strsep benchtest.
11186         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11187
11188 2013-11-18  Andreas Schwab  <schwab@suse.de>
11189
11190         * locale/programs/locale.c (show_info) [case byte]: Check for
11191         '\377' instead of '\177'.
11192         * locale/C-monetary.c (not_available): Always use "\377".
11193         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11194         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11195         detect unavailable sign_posn locale elements.
11196         * locale/localeconv.c (__localeconv): For grouping and
11197         mon_grouping handle "\177" and "\377" like no grouping.
11198         (INT_ELEM): New macro.  Use it to set all numeric members.
11199         * locale/programs/ld-monetary.c (monetary_read)
11200         <tok_mon_grouping>: Normalize single -1 to the empty string.
11201         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11202         Likewise.
11203
11204 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11205
11206         [BZ #16055]
11207         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11208         when we match (nil).
11209         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11210
11211 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11212
11213         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11214         (NO_TEST_INLINE): Update value.
11215         (ERRNO_UNCHANGED): Likewise.
11216         (ERRNO_EDOM): Likewise.
11217         (ERRNO_ERANGE): Likewise.
11218         (IGNORE_RESULT): Likewise.
11219         (check_float_internal): Check signs of NaN results if
11220         TEST_NAN_SIGN used.
11221         (check_complex): Pass TEST_NAN_SIGN flag through to second
11222         check_float_internal call.
11223         (copysign_test_data): Add tests with quiet NaNs as second
11224         argument.  Use TEST_NAN_SIGN.
11225         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11226         TEST_NAN_SIGN.
11227         (signbit_test_data): Add tests of quiet NaN argument.
11228         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11229
11230         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11231         $ignore_result.
11232         (parse_args): Handle function results specified as IGNORE.
11233         * math/libm-test.inc (IGNORE_RESULT): New macro.
11234         (check_float_internal): Do not check numerical result if flag
11235         IGNORE_RESULT set.
11236         (check_complex): Pass through IGNORE_RESULT to second
11237         check_float_internal call.
11238         (check_int): Do not check numerical result if flag IGNORE_RESULT
11239         set.
11240         (check_long): Likewise.
11241         (check_bool): Likewise.
11242         (check_longlong): Likewise.
11243         (lrint_test_data): Add tests of infinite and NaN arguments.
11244         (lrint_tonearest_test_data): Likewise.
11245         (lrint_towardzero_test_data): Likewise.
11246         (lrint_downward_test_data): Likewise.
11247         (lrint_upward_test_data): Likewise.
11248         (llrint_test_data): Likewise.
11249         (llrint_tonearest_test_data): Likewise.
11250         (llrint_towardzero_test_data): Likewise.
11251         (llrint_downward_test_data): Likewise.
11252         (llrint_upward_test_data): Likewise.
11253         (lround_test_data): Likewise.
11254         (llround_test_data): Likewise.
11255
11256         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11257         (ERRNO_UNCHANGED): Update value.
11258         (ERRNO_EDOM): Likewise.
11259         (ERRNO_ERANGE): Likewise.
11260         (NO_TEST_INLINE_FLOAT): New macro.
11261         (NO_TEST_INLINE_DOUBLE): Likewise.
11262         (enable_test): New function.
11263         (RUN_TEST_f_f): Check enable_test before running test.
11264         (RUN_TEST_2_f): Likewise.
11265         (RUN_TEST_fff_f): Likewise.
11266         (RUN_TEST_c_f): Likewise.
11267         (RUN_TEST_f_f1): Likewise.
11268         (RUN_TEST_fF_f1): Likewise.
11269         (RUN_TEST_fI_f1): Likewise.
11270         (RUN_TEST_ffI_f1): Likewise.
11271         (RUN_TEST_c_c): Likewise.
11272         (RUN_TEST_cc_c): Likewise.
11273         (RUN_TEST_f_i): Likewise.
11274         (RUN_TEST_f_i_tg): Likewise.
11275         (RUN_TEST_ff_i_tg): Likewise.
11276         (RUN_TEST_f_b): Likewise.
11277         (RUN_TEST_f_b_tg): Likewise.
11278         (RUN_TEST_f_l): Likewise.
11279         (RUN_TEST_f_L): Likewise.
11280         (RUN_TEST_fFF_11): Likewise.
11281         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11282         conditionals.
11283         (cosh_test_data): Likewise.
11284         (exp_test_data): Likewise.
11285         (expm1_test_data): Likewise.
11286         (hypot_test_data): Likewise.
11287         (pow_test_data): Likewise.
11288         (sinh_test_data): Likewise.
11289         (tanh_test_data): Likewise.
11290         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11291         flags argument.
11292
11293         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11294         tests with quiet NaN input and output.
11295         (acosh_test_data): Likewise.
11296         (asin_test_data): Likewise.
11297         (asinh_test_data): Likewise.
11298         (atan_test_data): Likewise.
11299         (atanh_test_data): Likewise.
11300         (atan2_test_data): Likewise.
11301         (cbrt_test_data): Likewise.
11302         (cos_test_data): Likewise.
11303         (cosh_test_data): Likewise.
11304         (erf_test_data): Likewise.
11305         (erfc_test_data): Likewise.
11306         (exp_test_data): Likewise.
11307         (exp10_test_data): Likewise.
11308         (exp2_test_data): Likewise.
11309         (expm1_test_data): Likewise.
11310         (hypot_test_data): Likewise.
11311         (j0_test_data): Likewise.
11312         (j1_test_data): Likewise.
11313         (jn_test_data): Likewise.
11314         (lgamma_test_data): Likewise.
11315         (log_test_data): Likewise.
11316         (log10_test_data): Likewise.
11317         (log1p_test_data): Likewise.
11318         (log2_test_data): Likewise.
11319         (pow_test_data): Likewise.
11320         (scalb_test_data): Likewise.
11321         (sin_test_data): Likewise.
11322         (sincos_test_data): Likewise.
11323         (sinh_test_data): Likewise.
11324         (tan_test_data): Likewise.
11325         (tanh_test_data): Likewise.
11326         (tgamma_test_data): Likewise.
11327         (y0_test_data): Likewise.
11328         (y1_test_data): Likewise.
11329         (yn_test_data): Likewise.
11330
11331         [BZ #16167]
11332         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11333         argument being NaN and avoid computations with second argument in
11334         that case.
11335         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11336         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11337         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11338
11339 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11340
11341         * locale/iso-639.def: Add Chitwani Tharu (the).
11342
11343 2013-11-14  Andreas Schwab  <schwab@suse.de>
11344
11345         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11346         word instead of empty string.
11347
11348 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11349
11350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11351         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11353         (__fe_nomask_env): Likewise.
11354
11355 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11356
11357         * benchtests/bench-timing.h: Include time.h.
11358
11359 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11360
11361         [BZ #15997]
11362         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11363         to 3.4.0 for x32.
11364         * sysdeps/unix/sysv/linux/configure: Regenerated.
11365
11366 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11367
11368         [BZ #16151]
11369         * stdlib/strtod_l.c (round_and_return): Do not consider
11370         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11371         exponent one less than half the least subnormal exponent.
11372         * stdlib/test-strtod-round-data: Add more tests.
11373         * stdlib/tst-strtod-round.c (tests): Regenerated.
11374
11375 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11376
11377         [BZ #14143]
11378         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11379         (__fe_mask_env): Likewise.
11380         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11381         libm_hidden_proto and add function prototype.
11382         (__fe_mask_env): Add function prototype.
11383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11384         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11386         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11388         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11389
11390 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11391
11392         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11393         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11394
11395 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11396
11397         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11398         of htab_find_slot().
11399
11400 2013-11-11  David S. Miller  <davem@davemloft.net>
11401
11402         [BZ #16150]
11403         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11404         symbol in the non-vis3 case in static builds.
11405         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11406         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11407         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11408         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11409
11410 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11411
11412         [BZ #387]
11413         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11414         it is empty.
11415
11416 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11417
11418         * benchtests/Makefile: Add bench-strtod.
11419         * benchtests/bench-strtod.c: New file: strtod benchtest
11420
11421 2013-11-11  Andreas Schwab  <schwab@suse.de>
11422
11423         [BZ #16153]
11424         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11425         terminating NUL in key length.
11426
11427 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11428
11429         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11430         Add artificial ODP entry for vDSO symbol for PPC64.
11431         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11432         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11433
11434 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11435
11436         [BZ #15374]
11437         * nss/getent.c (services_keys): Recognize services starting with digit.
11438
11439 2013-11-06  David S. Miller  <davem@davemloft.net>
11440
11441         [BZ #15985]
11442         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11443         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11444
11445 2013-11-06  Will Newton  <will.newton@linaro.org>
11446
11447         * manual/memory.texi (Malloc Examples): Remove register
11448         keyword from examples.
11449
11450 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11451
11452         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11453
11454 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11455
11456         [BZ #6981]
11457         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11458         depending on [__GCC_IEC_559 > 0].
11459         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11460         depending on [__GCC_IEC_559_COMPLEX > 0].
11461
11462 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11463
11464         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11465         to iso-639.def.
11466
11467 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11468
11469         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11470
11471 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11472
11473         [BZ #16112]
11474         * malloc/malloc (malloc_info): Do not handle first bin as
11475         special case.
11476
11477 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11478
11479         * locale/iso-639.def: Add Central Nahuatl (nhn).
11480
11481 2013-11-01  Bruno Haible  <bruno@clisp.org>
11482
11483         [BZ #7003]
11484         * manual/math.texi (BSD Random): Specify range upper bound as
11485         in POSIX.
11486
11487 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11488
11489         * locale/iso-639.def: Add Meadow Mari (mhr).
11490
11491 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11492
11493         [BZ #14752], [BZ #15763]
11494         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11495         Validate name.
11496         * rt/tst_shm.c: Add test for escaping directory.
11497
11498 2013-10-31  Andreas Schwab  <schwab@suse.de>
11499
11500         [BZ #15917]
11501         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11502         followed by 'x' as part of digit sequence.
11503         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11504
11505 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11506
11507         [BZ #16037]
11508         * configure.ac: allow GNU Make 4.0 and greater.
11509         * configure: Regenerated.
11510
11511 2013-10-30  Will Newton  <will.newton@linaro.org>
11512
11513         [BZ #16038]
11514         * malloc/hooks.c (memalign_check): Limit alignment to the
11515         maximum representable power of two.
11516         * malloc/malloc.c (__libc_memalign): Likewise.
11517         * malloc/tst-memalign.c (do_test): Add test for very
11518         large alignment values.
11519         * malloc/tst-posix_memalign.c (do_test): Likewise.
11520
11521 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11522
11523         [BZ #11087]
11524         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11525         (munmap_chunk): Likewise.
11526         (mremap_chunk): Likewise.
11527
11528 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11529
11530         [BZ #15799]
11531         * stdlib/div.c (div): Remove obsolete code.
11532         * stdlib/ldiv.c (ldiv): Likewise.
11533         * stdlib/lldiv.c (lldiv): Likewise.
11534
11535 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11536
11537         [BZ #16071]
11538         * nss/nss_files/files-XXX.c (get_contents_ret): New
11539         enumerator.
11540         (get_contents): New function.
11541         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11542
11543 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11544
11545         * configure.in: Moved to ...
11546         * configure.ac: ... here. Change reference to configure.in
11547         to configure.ac.
11548         * sysdeps/arm/preconfigure.ac: ... here.
11549         configure.in to configure.ac.
11550         * sysdeps/gnu/configure.in: Moved to ...
11551         * sysdeps/gnu/configure.ac: ... here.
11552         * sysdeps/i386/configure.in: Moved to ...
11553         * sysdeps/i386/configure.ac: ... here.
11554         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11555         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11556         * sysdeps/mach/configure.in: Moved to ...
11557         * sysdeps/mach/configure.ac: ... here.
11558         * sysdeps/mach/hurd/configure.in: Moved to ...
11559         * sysdeps/mach/hurd/configure.ac: ... here.
11560         * sysdeps/powerpc/configure.in: Moved to ...
11561         * sysdeps/powerpc/configure.ac: ... here.
11562         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11563         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11564         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11565         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11566         * sysdeps/s390/s390-32/configure.in: Moved to ...
11567         * sysdeps/s390/s390-32/configure.ac: ... here.
11568         * sysdeps/s390/s390-64/configure.in: Moved to ...
11569         * sysdeps/s390/s390-64/configure.ac: ... here.
11570         * sysdeps/sh/configure.in: Moved to ...
11571         * sysdeps/sh/configure.ac: ... here.
11572         * sysdeps/sparc/configure.in: Moved to ...
11573         * sysdeps/sparc/configure.ac: ... here.
11574         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11575         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11576         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11577         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11578         * sysdeps/x86_64/configure.in: Moved to ...
11579         * sysdeps/x86_64/configure.ac: ... here.
11580         * sysdeps/x86_64/preconfigure.in: Moved to ...
11581         * sysdeps/x86_64/preconfigure.ac: ... here.
11582         * aclocal.m4: Change reference to configure.in to configure.ac.
11583         * config.h.in: Likewise.
11584         * manual/install.texi: Likewise.
11585         * manual/maint.texi: Likewise.
11586         * Makefile: Likewise.
11587         * malloc/Makefile: Likewise.
11588         * nscd/Makefile: Likewise.
11589         * Makeconfig: Change reference to configure.in and
11590         preconfigure.in to configure.ac and preconfigure.ac
11591         respectively.
11592         * INSTALL: Regenerated.
11593         * configure: Likewise.
11594         * sysdeps/gnu/configure: Likewise.
11595         * sysdeps/i386/configure: Likewise.
11596         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11597         * sysdeps/mach/configure: Likewise.
11598         * sysdeps/mach/hurd/configure: Likewise.
11599         * sysdeps/powerpc/configure: Likewise.
11600         * sysdeps/powerpc/powerpc32/configure: Likewise.
11601         * sysdeps/powerpc/powerpc64/configure: Likewise.
11602         * sysdeps/s390/s390-32/configure: Likewise.
11603         * sysdeps/s390/s390-64/configure: Likewise.
11604         * sysdeps/sh/configure: Likewise.
11605         * sysdeps/sparc/configure: Likewise.
11606         * sysdeps/unix/sysv/linux/configure: Likewise.
11607         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11608         * sysdeps/x86_64/configure: Likewise.
11609         * sysdeps/x86_64/preconfigure: Likewise.
11610
11611 2013-10-29  Andreas Schwab  <schwab@suse.de>
11612
11613         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11614
11615 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11616
11617         * benchtests/pow-inputs: Add new inputs.
11618
11619         * benchtests/exp-inputs: Add new inputs.
11620
11621         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11622         conditional check for return value.
11623         (__cos32): Likewise.
11624
11625 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11626
11627         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11628         to provide a boost for large inputs with word alignment.
11629         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11630         implementation based on optimized PPC64 strcpy.
11631         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11632         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11633         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11634         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11635
11636 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11637
11638         [BZ #2801]
11639         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11640
11641 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11642
11643         [BZ #14876]
11644         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11645         * time/tst-strptime.c (day_tests): Add testcase.
11646
11647 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11648
11649         [BZ #14029]
11650         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11651
11652 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11653
11654         [BZ #16074]
11655         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11656         MAP_FAILED on error.
11657
11658 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11659
11660         [BZ #16072]
11661         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11662         heap for large requests.
11663
11664 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11665
11666         [BZ #9954]
11667         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11668         result if the result has no associated interface.
11669         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11670         interface for all 127.X.Y.Z addresses.
11671
11672 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11673
11674         * locale/iso-639.def: Add Ligurian (lij)
11675
11676 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11677
11678         [BZ #15825]
11679         * sunrpc/rpc_main.c: Document rpcgen -5.
11680
11681 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11682
11683         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11684
11685 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11686
11687         [BZ #10278]
11688         * posix/glob.c: Match only directories when trailing slash is present.
11689         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11690         (main): Add testcase.
11691
11692 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11693
11694         [BZ #15670]
11695         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11696
11697 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11698
11699         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11700         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11701         AUTH_DES and cindex for FIPS 140-2.
11702         (DES Encryption): Add cindex FIPS 46-3.
11703
11704         * locale/locarchive.h (struct locarhandle): Add fname.
11705         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11706         if an optional argument was specified to --list-archive,
11707         otherwise NULL.
11708         * locale/programs/locarchive.c (show_archive_content): Take new
11709         argument fname and pass it via ah.fname to open_archive.
11710         * locale/programs/localedef.h: Update decl.
11711         (open_archive): If AH->fname is non-null, open that file
11712         rather than the default file name, and don't ignore ENOENT.
11713         (create_archive): Set AH.fname to NULL.
11714         (delete_locales_from_archive): Likewise.
11715         (add_locales_to_archive): Likewise.
11716         * locale/programs/locfile.c (write_all_categories): Likewise.
11717
11718 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11719             Aldy Hernandez  <aldyh@redhat.com>
11720
11721         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11722         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11723         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11724         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11725         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11726         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11727         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11728         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11729         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11730         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11731         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11732         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11733         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11734         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11735         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11736         Likewise.
11737         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11738         Likewise.
11739         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11740         Likewise.
11741         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11742         Likewise.
11743         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11744         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11745         Likewise.
11746         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11747         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11748         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11749         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11750         Likewise.
11751         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11752         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11753         * sysdeps/powerpc/preconfigure: Likewise.
11754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11755         Likewise.
11756         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11757         Replace contents of file by #include of <fenv_libc.h>.
11758         * sysdeps/powerpc/soft-fp/sfp-machine.h
11759         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11760         and <sys/prctl.h>.
11761         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11762         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11763         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11764         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11765         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11766         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11768         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11769         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11770         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11771         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11772         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11774         Allow copysignl PLT reference to be missing.
11775
11776 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11777             Joseph Myers  <joseph@codesourcery.com
11778
11779         [BZ #15948]
11780         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11781         single character.
11782         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11783
11784 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11785
11786         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11787         * elf/tst-tls1.c: Likewise.
11788         * elf/tst-tls10.h: Likewise.
11789         * elf/tst-tls14.c: Likewise.
11790         * elf/tst-tls2.c: Likewise.
11791         * elf/tst-tls3.c: Likewise.
11792         * elf/tst-tls4.c: Likewise.
11793         * elf/tst-tls5.c: Likewise.
11794         * elf/tst-tls6.c: Likewise.
11795         * elf/tst-tls7.c: Likewise.
11796         * elf/tst-tls8.c: Likewise.
11797         * elf/tst-tls9.c: Likewise.
11798         * elf/tst-tlsmod1.c: Likewise.
11799         * elf/tst-tlsmod13.c: Likewise.
11800         * elf/tst-tlsmod13a.c: Likewise.
11801         * elf/tst-tlsmod14a.c: Likewise.
11802         * elf/tst-tlsmod16a.c: Likewise.
11803         * elf/tst-tlsmod16b.c: Likewise.
11804         * elf/tst-tlsmod2.c: Likewise.
11805         * elf/tst-tlsmod3.c: Likewise.
11806         * elf/tst-tlsmod4.c: Likewise.
11807         * elf/tst-tlsmod5.c: Likewise.
11808         * elf/tst-tlsmod6.c: Likewise.
11809
11810 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11811
11812         [BZ #12486]
11813         * malloc/malloc.c: remove checks for statistics.
11814
11815 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11816
11817         [BZ #15277]
11818         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11819         * inet/tst-network.c: Add testcase.
11820
11821 2013-10-17  Andreas Schwab  <schwab@suse.de>
11822
11823         [BZ #15218]
11824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11825         to determine canonical name.
11826
11827 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11828
11829         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11830         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11831         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11832         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11833         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11834         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11835         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11836         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11837         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11838         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11839         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11840         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11841         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11842         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11843         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11844         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11845         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11846         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11847         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11848         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11849         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11850         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11851         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11852         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11853         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11854         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11855         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11856         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11857         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11858         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11859         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11860         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11861         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11862         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11863         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11864         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11865         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11866         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11867         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11868         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11869         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11870         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11871         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11872         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11873         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11874         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11875         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11876         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11877         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11878         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11879         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11880         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11881         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11882         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11883         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11884         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11886         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11887
11888 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11889
11890         [BZ #16041]
11891         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11892         make result into a quiet NaN.
11893
11894 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11895
11896         * soft-fp/adddf3.c: Fix horizontal whitespace.
11897         * soft-fp/addsf3.c: Likewise.
11898         * soft-fp/addtf3.c: Likewise.
11899         * soft-fp/divdf3.c: Likewise.
11900         * soft-fp/divsf3.c: Likewise.
11901         * soft-fp/divtf3.c: Likewise.
11902         * soft-fp/double.h: Likewise.
11903         * soft-fp/eqdf2.c: Likewise.
11904         * soft-fp/eqsf2.c: Likewise.
11905         * soft-fp/eqtf2.c: Likewise.
11906         * soft-fp/extenddftf2.c: Likewise.
11907         * soft-fp/extended.h: Likewise.
11908         * soft-fp/extendsfdf2.c: Likewise.
11909         * soft-fp/extendsftf2.c: Likewise.
11910         * soft-fp/extendxftf2.c: Likewise.
11911         * soft-fp/fixdfdi.c: Likewise.
11912         * soft-fp/fixdfsi.c: Likewise.
11913         * soft-fp/fixdfti.c: Likewise.
11914         * soft-fp/fixsfdi.c: Likewise.
11915         * soft-fp/fixsfsi.c: Likewise.
11916         * soft-fp/fixsfti.c: Likewise.
11917         * soft-fp/fixtfdi.c: Likewise.
11918         * soft-fp/fixtfsi.c: Likewise.
11919         * soft-fp/fixtfti.c: Likewise.
11920         * soft-fp/fixunsdfdi.c: Likewise.
11921         * soft-fp/fixunsdfsi.c: Likewise.
11922         * soft-fp/fixunsdfti.c: Likewise.
11923         * soft-fp/fixunssfdi.c: Likewise.
11924         * soft-fp/fixunssfsi.c: Likewise.
11925         * soft-fp/fixunssfti.c: Likewise.
11926         * soft-fp/fixunstfdi.c: Likewise.
11927         * soft-fp/fixunstfsi.c: Likewise.
11928         * soft-fp/fixunstfti.c: Likewise.
11929         * soft-fp/floatdidf.c: Likewise.
11930         * soft-fp/floatdisf.c: Likewise.
11931         * soft-fp/floatditf.c: Likewise.
11932         * soft-fp/floatsidf.c: Likewise.
11933         * soft-fp/floatsisf.c: Likewise.
11934         * soft-fp/floatsitf.c: Likewise.
11935         * soft-fp/floattidf.c: Likewise.
11936         * soft-fp/floattisf.c: Likewise.
11937         * soft-fp/floattitf.c: Likewise.
11938         * soft-fp/floatundidf.c: Likewise.
11939         * soft-fp/floatundisf.c: Likewise.
11940         * soft-fp/floatunditf.c: Likewise.
11941         * soft-fp/floatunsidf.c: Likewise.
11942         * soft-fp/floatunsisf.c: Likewise.
11943         * soft-fp/floatunsitf.c: Likewise.
11944         * soft-fp/floatuntidf.c: Likewise.
11945         * soft-fp/floatuntisf.c: Likewise.
11946         * soft-fp/floatuntitf.c: Likewise.
11947         * soft-fp/fmadf4.c: Likewise.
11948         * soft-fp/fmasf4.c: Likewise.
11949         * soft-fp/fmatf4.c: Likewise.
11950         * soft-fp/gedf2.c: Likewise.
11951         * soft-fp/gesf2.c: Likewise.
11952         * soft-fp/getf2.c: Likewise.
11953         * soft-fp/ledf2.c: Likewise.
11954         * soft-fp/lesf2.c: Likewise.
11955         * soft-fp/letf2.c: Likewise.
11956         * soft-fp/muldf3.c: Likewise.
11957         * soft-fp/mulsf3.c: Likewise.
11958         * soft-fp/multf3.c: Likewise.
11959         * soft-fp/negdf2.c: Likewise.
11960         * soft-fp/negsf2.c: Likewise.
11961         * soft-fp/negtf2.c: Likewise.
11962         * soft-fp/op-1.h: Likewise.
11963         * soft-fp/op-2.h: Likewise.
11964         * soft-fp/op-4.h: Likewise.
11965         * soft-fp/op-8.h: Likewise.
11966         * soft-fp/op-common.h: Likewise.
11967         * soft-fp/quad.h: Likewise.
11968         * soft-fp/single.h: Likewise.
11969         * soft-fp/soft-fp.h: Likewise.
11970         * soft-fp/sqrtdf2.c: Likewise.
11971         * soft-fp/sqrtsf2.c: Likewise.
11972         * soft-fp/sqrttf2.c: Likewise.
11973         * soft-fp/subdf3.c: Likewise.
11974         * soft-fp/subsf3.c: Likewise.
11975         * soft-fp/subtf3.c: Likewise.
11976         * soft-fp/truncdfsf2.c: Likewise.
11977         * soft-fp/trunctfdf2.c: Likewise.
11978         * soft-fp/trunctfsf2.c: Likewise.
11979         * soft-fp/trunctfxf2.c: Likewise.
11980         * soft-fp/unorddf2.c: Likewise.
11981         * soft-fp/unordsf2.c: Likewise.
11982         * soft-fp/unordtf2.c: Likewise.
11983
11984 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11985
11986         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11987         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11988
11989 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11990
11991         * elf/dl-libc.c: Clear initfini list after freeing.
11992
11993 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11994
11995         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11996         * soft-fp/addsf3.c: Likewise.
11997         * soft-fp/addtf3.c: Likewise.
11998         * soft-fp/divdf3.c: Likewise.
11999         * soft-fp/divsf3.c: Likewise.
12000         * soft-fp/divtf3.c: Likewise.
12001         * soft-fp/double.h: Likewise.
12002         * soft-fp/eqdf2.c: Likewise.
12003         * soft-fp/eqsf2.c: Likewise.
12004         * soft-fp/eqtf2.c: Likewise.
12005         * soft-fp/extenddftf2.c: Likewise.
12006         * soft-fp/extended.h: Likewise.
12007         * soft-fp/extendsfdf2.c: Likewise.
12008         * soft-fp/extendsftf2.c: Likewise.
12009         * soft-fp/extendxftf2.c: Likewise.
12010         * soft-fp/fixdfdi.c: Likewise.
12011         * soft-fp/fixdfsi.c: Likewise.
12012         * soft-fp/fixdfti.c: Likewise.
12013         * soft-fp/fixsfdi.c: Likewise.
12014         * soft-fp/fixsfsi.c: Likewise.
12015         * soft-fp/fixsfti.c: Likewise.
12016         * soft-fp/fixtfdi.c: Likewise.
12017         * soft-fp/fixtfsi.c: Likewise.
12018         * soft-fp/fixtfti.c: Likewise.
12019         * soft-fp/fixunsdfdi.c: Likewise.
12020         * soft-fp/fixunsdfsi.c: Likewise.
12021         * soft-fp/fixunsdfti.c: Likewise.
12022         * soft-fp/fixunssfdi.c: Likewise.
12023         * soft-fp/fixunssfsi.c: Likewise.
12024         * soft-fp/fixunssfti.c: Likewise.
12025         * soft-fp/fixunstfdi.c: Likewise.
12026         * soft-fp/fixunstfsi.c: Likewise.
12027         * soft-fp/fixunstfti.c: Likewise.
12028         * soft-fp/floatdidf.c: Likewise.
12029         * soft-fp/floatdisf.c: Likewise.
12030         * soft-fp/floatditf.c: Likewise.
12031         * soft-fp/floatsidf.c: Likewise.
12032         * soft-fp/floatsisf.c: Likewise.
12033         * soft-fp/floatsitf.c: Likewise.
12034         * soft-fp/floattidf.c: Likewise.
12035         * soft-fp/floattisf.c: Likewise.
12036         * soft-fp/floattitf.c: Likewise.
12037         * soft-fp/floatundidf.c: Likewise.
12038         * soft-fp/floatundisf.c: Likewise.
12039         * soft-fp/floatunsidf.c: Likewise.
12040         * soft-fp/floatunsisf.c: Likewise.
12041         * soft-fp/floatuntidf.c: Likewise.
12042         * soft-fp/floatuntisf.c: Likewise.
12043         * soft-fp/floatuntitf.c: Likewise.
12044         * soft-fp/fmadf4.c: Likewise.
12045         * soft-fp/fmasf4.c: Likewise.
12046         * soft-fp/fmatf4.c: Likewise.
12047         * soft-fp/gedf2.c: Likewise.
12048         * soft-fp/gesf2.c: Likewise.
12049         * soft-fp/getf2.c: Likewise.
12050         * soft-fp/ledf2.c: Likewise.
12051         * soft-fp/lesf2.c: Likewise.
12052         * soft-fp/letf2.c: Likewise.
12053         * soft-fp/muldf3.c: Likewise.
12054         * soft-fp/mulsf3.c: Likewise.
12055         * soft-fp/multf3.c: Likewise.
12056         * soft-fp/negdf2.c: Likewise.
12057         * soft-fp/negsf2.c: Likewise.
12058         * soft-fp/negtf2.c: Likewise.
12059         * soft-fp/op-1.h: Likewise.
12060         * soft-fp/op-2.h: Likewise.
12061         * soft-fp/op-4.h: Likewise.
12062         * soft-fp/op-8.h: Likewise.
12063         * soft-fp/op-common.h: Likewise.
12064         * soft-fp/quad.h: Likewise.
12065         * soft-fp/single.h: Likewise.
12066         * soft-fp/soft-fp.h: Likewise.
12067         * soft-fp/sqrtdf2.c: Likewise.
12068         * soft-fp/sqrtsf2.c: Likewise.
12069         * soft-fp/sqrttf2.c: Likewise.
12070         * soft-fp/subdf3.c: Likewise.
12071         * soft-fp/subsf3.c: Likewise.
12072         * soft-fp/subtf3.c: Likewise.
12073         * soft-fp/truncdfsf2.c: Likewise.
12074         * soft-fp/trunctfdf2.c: Likewise.
12075         * soft-fp/trunctfsf2.c: Likewise.
12076         * soft-fp/trunctfxf2.c: Likewise.
12077         * soft-fp/unorddf2.c: Likewise.
12078         * soft-fp/unordsf2.c: Likewise.
12079         * soft-fp/unordtf2.c: Likewise.
12080
12081 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12082
12083         [BZ #15672]
12084         * misc/error.c (error_tail): Fix possible buffer overflow.
12085
12086 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12087
12088         [BZ #13028]
12089         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12090         address.
12091
12092 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12093
12094         [BZ #832]
12095         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12096         testing pipefail option.
12097
12098 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12099
12100         * soft-fp/double.h: Indent preprocessor directives inside #if.
12101         * soft-fp/extended.h: Likewise.
12102         * soft-fp/op-2.h: Likewise.
12103         * soft-fp/op-4.h: Likewise.
12104         * soft-fp/op-common.h: Likewise.
12105         * soft-fp/quad.h: Likewise.
12106         * soft-fp/single.h: Likewise.
12107         * soft-fp/soft-fp.h: Likewise.
12108
12109 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12110
12111         * iconv/iconv_prog.c: Fix typos.
12112         * stdio-common/psiginfo-data.h: Likewise.
12113
12114 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12115
12116         [BZ #15764]
12117         * locale/setlocale.c: Fix typo.
12118
12119 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12120
12121         [BZ #16036]
12122         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12123         signaling NaN arguments.
12124         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12125         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12126
12127         [BZ #14910]
12128         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12129         unordered operands.
12130         * soft-fp/gesf2.c (__gesf2): Likewise.
12131         * soft-fp/getf2.c (__getf2): Likewise.
12132         * soft-fp/ledf2.c (__ledf2): Likewise.
12133         * soft-fp/lesf2.c (__lesf2): Likewise.
12134         * soft-fp/letf2.c (__letf2): Likewise.
12135
12136         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12137         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12138         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12139         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12140         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12141         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12142         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12143         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12144         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12145         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12146         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12147         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12148         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12149         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12150         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12151         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12152         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12153         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12154         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12155         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12156         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12157         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12158         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12159         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12160         * soft-fp/floattidf.c (__floattidf): Likewise.
12161         * soft-fp/floattisf.c (__floattisf): Likewise.
12162         * soft-fp/floattitf.c (__floattitf): Likewise.
12163         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12164         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12165         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12166         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12167         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12168         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12169         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12170         * soft-fp/gesf2.c (__gesf2): Likewise.
12171         * soft-fp/getf2.c (__getf2): Likewise.
12172         * soft-fp/ledf2.c (__ledf2): Likewise.
12173         * soft-fp/lesf2.c (__lesf2): Likewise.
12174         * soft-fp/letf2.c (__letf2): Likewise.
12175
12176         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12177         Undefine and redefine.
12178         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12179         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12180         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12181         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12182         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12183         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12184         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12185         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12186         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12187         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12188         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12189         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12190         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12191         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12192         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12193
12194         [BZ #16032]
12195         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12196         without decrementing exponent if mantissa >= that for the
12197         denominator, not >.
12198         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12199         denominator, not >.  Decrement exponent in < case instead of
12200         incrementing in >= case.
12201         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12202         without decrementing exponent if mantissa >= that for the
12203         denominator, not >.
12204
12205         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12206         computing saturated result for unsigned overflow.
12207
12208 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12209             Jeff Law  <law@redhat.com>
12210
12211         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12212         (atan2Mp): Add systemtap probe marker.
12213         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12214         (__ieee754_log): Add systemtap probe marker.
12215         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12216         (atanMp): Add systemtap probe marker.
12217         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12218         (tanMp): Add systemtap probe marker.
12219         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12220         (__slowexp): Add systemtap probe marker.
12221         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12222         (__slowpow): Add systemtap probe marker.
12223         * manual/probes.texi: Document probes.
12224
12225 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12226
12227         [BZ #15362]
12228         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12229         written.
12230         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12231         written.
12232         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12233         written to buffer but not flushed.
12234         * libio/iofwrite_u.c:  Likewise.
12235         * libio/iopadn.c:  Return bytes returned even if EOF was
12236         encountered.
12237         * libio/iowpadn.c:  Likewise.
12238         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12239         if _IO_padn does not write the whole buffer.
12240         [!COMPILE_WPRINTF] (PAD): Likewise.
12241
12242 2013-10-10  David S. Miller  <davem@davemloft.net>
12243
12244         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12245         directory block.
12246
12247 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12248
12249         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12250         instead of FSF address.
12251         * soft-fp/fixdfti.c: Likewise.
12252         * soft-fp/fixsfti.c: Likewise.
12253         * soft-fp/fixtfti.c: Likewise.
12254         * soft-fp/fixunsdfti.c: Likewise.
12255         * soft-fp/fixunssfti.c: Likewise.
12256         * soft-fp/fixunstfti.c: Likewise.
12257         * soft-fp/floattidf.c: Likewise.
12258         * soft-fp/floattisf.c: Likewise.
12259         * soft-fp/floattitf.c: Likewise.
12260         * soft-fp/floatuntidf.c: Likewise.
12261         * soft-fp/floatuntisf.c: Likewise.
12262         * soft-fp/floatuntitf.c: Likewise.
12263         * soft-fp/trunctfxf2.c: Likewise.
12264
12265         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12266         * soft-fp/fixdfti.c: Likewise.
12267         * soft-fp/fixsfti.c: Likewise.
12268         * soft-fp/fixtfti.c: Likewise.
12269         * soft-fp/fixunsdfti.c: Likewise.
12270         * soft-fp/fixunssfti.c: Likewise.
12271         * soft-fp/fixunstfti.c: Likewise.
12272         * soft-fp/floattidf.c: Likewise.
12273         * soft-fp/floattisf.c: Likewise.
12274         * soft-fp/floattitf.c: Likewise.
12275         * soft-fp/floatuntidf.c: Likewise.
12276         * soft-fp/floatuntisf.c: Likewise.
12277         * soft-fp/floatuntitf.c: Likewise.
12278         * soft-fp/trunctfxf2.c: Likewise.
12279
12280 2013-10-10  David S. Miller  <davem@davemloft.net>
12281
12282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12283
12284 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12285
12286         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12287         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12288         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12289         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12290         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12291         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12292         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12293
12294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12295         for NaNs before doing comparisons on argument.
12296         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12297         Likewise.
12298
12299 2013-10-10  Will Newton  <will.newton@linaro.org>
12300
12301         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12302         passed to _int_memalign does not overflow.
12303
12304 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12305
12306         * scripts/bench.pl: Add include-sources directive.
12307         * benchtests/README: Update documentation.
12308
12309 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12310
12311         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12312         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12313         instead of FP_INIT_ROUNDMODE.
12314         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12315         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12316
12317         [BZ #16034]
12318         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12319         copy class of input value.
12320         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12321         not handle exceptions.
12322         * soft-fp/negsf2.c (__negsf2): Likewise.
12323         * soft-fp/negtf2.c (__negtf2): Likewise.
12324         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12325
12326 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12327
12328         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12329         semicolon.  From Linux kernel.
12330
12331 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12332
12333         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12334
12335 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12336
12337         [BZ #156]
12338         * manual/socket.texi: Added statement about buffer
12339         for gethostbyname2_r.
12340
12341 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12342
12343         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12344         Use .p2align directive instead, throughout.
12345         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12346         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12347         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12348         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12349         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12350         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12351         * sysdeps/x86_64/strchr.S: Likewise.
12352         * sysdeps/x86_64/strrchr.S: Likewise.
12353
12354 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12355
12356         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12357
12358         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12359
12360         * sysdeps/generic/math_private.h (__mpsin1): Remove
12361         declaration.
12362         (__mpcos1): Likewise.
12363         (__mpsin): New argument __range_reduce.
12364         (__mpcos): Likewise.
12365         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12366         (slow): Use __mpsin and __mpcos.
12367         (slow1): Likewise.
12368         (slow2): Likewise.
12369         (sloww): Likewise.
12370         (sloww1): Likewise.
12371         (sloww2): Likewise.
12372         (bsloww): Likewise.
12373         (bsloww1): Likewise.
12374         (bsloww2): Likewise.
12375         (cslow2): Likewise.
12376         (csloww): Likewise.
12377         (csloww1): Likewise.
12378         (csloww2): Likewise.
12379         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12380         range_reduce.  Merge in __mpsin1.
12381         (__mpcos): Likewise.
12382         (__mpsin1): Remove.
12383         (__mpcos1): Likewise.
12384
12385 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12386
12387         * locale/loadlocale.c (_nl_intern_locale_data): Use
12388         LOCFILE_ALIGNED_P.
12389         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12390         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12391         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12392         obstack data is appropriately aligned.
12393         (obstack_int32_grow_fast): Likewise.
12394         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12395         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12396         (add_locale_uint32_array): Likewise.
12397
12398 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12399
12400         * benchtests/Makefile: Remove ARGLIST and RET variables.
12401         ($(objpfx)bench-%.c): Pass only function name to the script.
12402         * benchtests/README: Update documentation.
12403         * benchtests/acos-inputs: Add new directives.
12404         * benchtests/acosh-inputs: Likewise.
12405         * benchtests/asin-inputs: Likewise.
12406         * benchtests/asinh-inputs: Likewise.
12407         * benchtests/atan-inputs: Likewise.
12408         * benchtests/atanh-inputs: Likewise.
12409         * benchtests/cos-inputs: Likewise.
12410         * benchtests/cosh-inputs: Likewise.
12411         * benchtests/exp-inputs: Likewise.
12412         * benchtests/log-inputs: Likewise.
12413         * benchtests/pow-inputs: Likewise.
12414         * benchtests/rint-inputs: Likewise.
12415         * benchtests/sin-inputs: Likewise.
12416         * benchtests/sinh-inputs: Likewise.
12417         * benchtests/tan-inputs: Likewise.
12418         * benchtests/tanh-inputs: Likewise.
12419         * scripts/bench.pl: Add support for new directives.
12420
12421 2013-10-07  Alan Modra  <amodra@gmail.com>
12422
12423         * README: Fix careless merge.
12424
12425 2013-10-05  Alan Modra  <amodra@gmail.com>
12426
12427         * NEWS: Mention powerpc64le support and bugs fixed.
12428         * README: Both big-endian and little-endian powerpc64 supported.
12429
12430 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12431
12432         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12433         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12434         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12435         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12436
12437 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12438
12439         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12440         match prototype.
12441
12442 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12443
12444         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12445         Move -mhard-float appending from
12446         ports/sysdeps/powerpc/powerpc32/Makefile.
12447         [$(with-fp) = yes] (ASFLAGS): Likewise.
12448         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12449         * sysdeps/powerpc/nofpu: Move directory from
12450         ports/sysdeps/powerpc/nofpu.
12451         * sysdeps/powerpc/soft-fp: Move directory from
12452         ports/sysdeps/powerpc/soft-fp.
12453         * sysdeps/powerpc/powerpc32/405: Move directory from
12454         ports/sysdeps/powerpc/powerpc32/405.
12455         * sysdeps/powerpc/powerpc32/440: Move directory from
12456         ports/sysdeps/powerpc/powerpc32/440.
12457         * sysdeps/powerpc/powerpc32/464: Move directory from
12458         ports/sysdeps/powerpc/powerpc32/464.
12459         * sysdeps/powerpc/powerpc32/476: Move directory from
12460         ports/sysdeps/powerpc/powerpc32/476.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12462         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12464         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12466         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12468         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12470         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12471         * README: Update for powerpc-*-linux-gnu software floating point
12472         support in libc.
12473
12474         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12475         case to powerpc/powerpc32*.
12476         * sysdeps/unix/sysv/linux/configure: Regenerated.
12477
12478         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12479         (_FPU_MASK_OM): Define as 0x04.
12480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12482         0x00c10080.
12483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12484         0x0000003c.
12485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12486
12487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12488         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12489         getcontext_e500.
12490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12491         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12492         setcontext_e500.
12493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12494         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12495         and setcontext_e500.
12496
12497 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12498
12499         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12500
12501 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12502
12503         * manual/threads.texi (Default Thread Attributes): Fix typo.
12504
12505 2013-10-04  Will Newton  <will.newton@linaro.org>
12506
12507         * malloc/Makefile: Add tst-memalign.
12508         * malloc/tst-memalign.c: New file.
12509
12510         * malloc/tst-posix_memalign.c: Add comments.
12511         (do_test): Add comments and call free on all potentially
12512         allocated pointers. Add space after cast.
12513
12514         * malloc/tst-pvalloc.c: Add comments.
12515         (do_test): Add comments and call free on all potentially
12516         allocated pointers. Remove duplicate check for NULL pointer.
12517         Add space after cast.
12518
12519         * malloc/tst-valloc.c: Add comments.
12520         (do_test): Add comments and call free on all potentially
12521         allocated pointers. Remove duplicate check for NULL pointer.
12522         Add space after cast.
12523
12524 2013-10-04  Alan Modra  <amodra@gmail.com>
12525
12526         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12527         Use stdint types in rather than __attribute__((mode())).
12528         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12529
12530 2013-10-04  Alan Modra  <amodra@gmail.com>
12531
12532         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12533         Correct handling of unaligned relocs for little-endian.
12534         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12535
12536 2013-10-04  Alan Modra  <amodra@gmail.com>
12537
12538         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12539         * configure: Regenerate.
12540         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12541         * shlib-versions: Likewise.
12542
12543 2013-10-04  Alan Modra  <amodra@gmail.com>
12544
12545         * string/tester.c (test_memrchr): Increment reported test cycle.
12546
12547 2013-10-04  Alan Modra  <amodra@gmail.com>
12548
12549         * string/test-memcpy.c (do_one_test): When reporting errors, print
12550         string address and don't overrun end of string.
12551
12552 2013-10-04  Alan Modra  <amodra@gmail.com>
12553
12554         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12555         insrdi.  Make better use of reg selection to speed exit slightly.
12556         Schedule entry path a little better.  Remove useless "are we done"
12557         checks on entry to main loop.  Handle wrapping around zero address.
12558         Correct main loop count.  Handle single left-over word from main
12559         loop inline rather than by using loop_small.  Remove extra word
12560         case in loop_small caused by wrong loop count.  Add little-endian
12561         support.
12562         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12563         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12564         cache hint.
12565         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12566         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12567         support.  Avoid rlwimi.
12568         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12569
12570 2013-10-04  Alan Modra  <amodra@gmail.com>
12571
12572         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12573         insrdi.  Formatting.
12574         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12575         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12576         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12577         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12578         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12579         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12580
12581 2013-10-04  Alan Modra  <amodra@gmail.com>
12582
12583         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12584         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12585         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12586         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12587         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12588         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12589         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12590         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12591         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12592         use of regs.  Use power7 mtocrf.  Tidy function tails.
12593
12594 2013-10-04  Alan Modra  <amodra@gmail.com>
12595
12596         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12597         Formatting.  Consistently use rXXX register defines or rN defines.
12598         Use early exit labels that avoid restoring unused non-volatile regs.
12599         Make cr field use more consistent with rWORDn compares.  Rename
12600         regs used as shift registers for unaligned loop, using rN defines
12601         for short lifetime/multiple use regs.
12602         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12603         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12604         addi 1,1,64 to pop stack frame.  Simplify return value code.
12605         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12606
12607 2013-10-04  Alan Modra  <amodra@gmail.com>
12608
12609         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12610         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12611         rather than rlwimi.
12612         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12613         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12614         little-endian support.  Correct typos.
12615         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12616         rather than rlwimi.
12617         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12618         in loop and entry code to keep "and." results.
12619         (strchr): Add little-endian support.  Comment.  Move cntlzd
12620         earlier in tail.
12621         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12622
12623 2013-10-04  Alan Modra  <amodra@gmail.com>
12624
12625         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12626         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12627         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12628         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12629
12630 2013-10-04  Alan Modra  <amodra@gmail.com>
12631
12632         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12633         (rTMP): Define as r11.
12634         (strcmp): Add little-endian support.  Optimise tail.
12635         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12636         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12637         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12638         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12639         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12640         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12641         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12642
12643 2013-10-04  Alan Modra  <amodra@gmail.com>
12644
12645         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12646         little-endian support.  Remove unnecessary "are we done" tests.
12647         Handle "s" wrapping around zero and extremely large "size".
12648         Correct main loop count.  Handle single left-over word from main
12649         loop inline rather than by using small_loop.  Correct comments.
12650         Delete "zero" tail, use "end_max" instead.
12651         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12652
12653 2013-10-04  Alan Modra  <amodra@gmail.com>
12654
12655         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12656         support.  Don't branch over align.
12657         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12658         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12659         support.  Rearrange tmp reg use to suit.  Comment.
12660         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12661
12662 2013-10-04  Alan Modra  <amodra@gmail.com>
12663
12664         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12665
12666 2013-10-04  Alan Modra  <amodra@gmail.com>
12667
12668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12669         conditional form of branch and link when obtaining pc.
12670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12671
12672 2013-10-04  Alan Modra  <amodra@gmail.com>
12673
12674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12675         HIWORD/LOWORD.
12676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12678
12679 2013-10-04  Alan Modra  <amodra@gmail.com>
12680
12681         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12682         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12683         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12684         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12685         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12686         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12687         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12688         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12689         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12690         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12691
12692 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12693             Alistair Popple <alistair@ozlabs.au.ibm.com>
12694             Alan Modra <amodra@gmail.com>
12695
12696         [BZ #15723]
12697         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12698         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12699         _dl_hwcap access for little-endian.
12700         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12701         destroy vmx regs when saving unaligned.
12702         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12703         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12704         destroy vmx regs when saving unaligned.
12705
12706 2013-10-04  Alan Modra  <amodra@gmail.com>
12707
12708         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12709         Don't use a union to pack hi/low value.
12710
12711 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12712
12713         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12714         for little-endian.
12715         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12716         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12717         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12718         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12719         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12720
12721 2013-10-04  Alan Modra  <amodra@gmail.com>
12722
12723         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12724         constants to usual value for .cst8 section, and remove redundant
12725         high address load.
12726         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12727         constant for 0x1p52.  Load little-endian words of double from
12728         correct stack offsets.
12729
12730 2013-10-04  Alan Modra  <amodra@gmail.com>
12731
12732         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12733         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12734         words of double from correct stack offsets.
12735         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12736         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12737         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12738         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12739         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12740         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12741         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12742         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12743         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12744         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12745         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12746         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12747         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12748         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12749         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12750         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12751         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12752
12753 2013-10-04  Alan Modra  <amodra@gmail.com>
12754
12755         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12756         64-bit int/double union.
12757         (_FPU_SETCW): Likewise.
12758         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12759         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12760
12761 2013-10-04  Alan Modra  <amodra@gmail.com>
12762
12763         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12764         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12765
12766 2013-10-04  Alan Modra  <amodra@gmail.com>
12767
12768         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12769         use vector int constants.
12770         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12771
12772 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12773
12774         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12775         array with long long.
12776         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12777         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12778         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12779         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12780         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12781         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12782         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12783         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12784         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12785         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12786         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12787         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12788         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12789
12790 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12791
12792         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12793         (__signbit): Likewise.  Correct for little-endian.
12794         (__signbitl): Call __signbit.
12795         (lrint): Correct for little-endian.
12796         (lrintf): Call lrint.
12797
12798 2013-10-04  Alan Modra  <amodra@gmail.com>
12799
12800         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12801         union 32-bit int array member with 64-bit int array.
12802         (t515, tm256): Double rather than long double.
12803         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12804
12805 2013-10-04  Alan Modra  <amodra@gmail.com>
12806
12807         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12808         Delete.
12809         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12810         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12811         version of math_ldbl.h.
12812
12813 2013-10-04  Alan Modra  <amodra@gmail.com>
12814
12815         [BZ #15734], [BZ #15735]
12816         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12817         all uses of ieee875 long double macros and unions.  Simplify test
12818         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12819         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12820         normalize after ldbl_extract_mantissa, and don't add hidden bit
12821         already handled.  Don't treat low word of ieee854 mantissa like
12822         low word of IBM long double and mask off bit when testing for
12823         zero.
12824         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12825         all uses of ieee875 long double macros and unions.  Simplify tests
12826         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12827         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12828         two1022, instead use their values.  Recognise that tests for large
12829         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12830         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12831         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12832         test for 0.0L and nan.  Correct negation.
12833         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12834         ieee875 long double macros and unions.  Correct output for large
12835         magnitude x.  Correct absolute value calculation.
12836         (__erfcl): Likewise.
12837         * math/libm-test.inc: Add tests for errors discovered in IBM long
12838         double versions of fmodl, remainderl, erfl and erfcl.
12839
12840 2013-10-04  Alan Modra  <amodra@gmail.com>
12841
12842         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12843         all uses of ieee854 long double macros and unions.  Simplify tests
12844         for long doubles that are fully specified by the high double.
12845         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12846         Likewise.
12847         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12848         Remove dead code too.
12849         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12850         (__ieee754_ynl): Likewise.
12851         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12852         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12853         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12854         Remove dead code too.
12855         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12856         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12857         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12858         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12859         Simplify.
12860         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12861         Simplify.
12862         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12863         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12864         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12865         Comment on variable precision.
12866         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12867         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12868         Likewise.
12869         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12870         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12871         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12872         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12873         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12874
12875 2013-10-04  Alan Modra  <amodra@gmail.com>
12876
12877         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12878         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12879         all uses of ieee854 long double macros and unions.
12880         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12881         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12882         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12883         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12884         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12885         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12886         Likewise.
12887         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12888         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12889         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12890         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12891         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12892         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12893         Simplify sign and nan test too.
12894         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12895         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12896         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12897         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12898         Likewise.
12899         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12900         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12901         Likewise.
12902         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12903         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12904         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12905         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12906         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12907         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12908
12909 2013-10-04  Alan Modra  <amodra@gmail.com>
12910
12911         * stdio-common/printf_size.c (__printf_size): Don't use
12912         union ieee854_long_double in fpnum union.
12913         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12914         signbit macro to retrieve sign from long double.
12915         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12916         retrieve sign from long double.
12917         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12918         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12919         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12920         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12921         * math/test-misc.c (main): Don't use union ieee854_long_double.
12922
12923 2013-10-04  Alan Modra  <amodra@gmail.com>
12924
12925         [BZ #15680]
12926         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12927         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12928         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12929         calculation.  Remove unnecessary test for denormal exponent.
12930         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12931         Correct handling of denormals.  Avoid undefined shift behaviour.
12932         Correct normalisation of low mantissa when low double is denormal.
12933         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12934         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12935         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12936         Correct normalisation of low mantissa.  Test for overflow of high
12937         mantissa and normalise.
12938         (ldbl_nearbyint): Use more readable constant for two52.
12939         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12940         (__mpn_construct_long_double): Fix test for overflow of high
12941         mantissa and correct normalisation.  Avoid undefined shift.
12942
12943 2013-10-04  Alan Modra  <amodra@gmail.com>
12944
12945         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12946         (union ibm_extended_long_double): Define as an array of ieee754_double.
12947         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12948         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12949         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12950         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12951         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12952         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12953         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12954         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12955         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12956         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12957         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12958
12959 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12960
12961         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12962         page size instead of calling getpagesize.
12963
12964         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12965         (LOCFILE_ALIGN_MASK): Likewise.
12966         (LOCFILE_ALIGN_UP): Likewise.
12967         (LOCFILE_ALIGNED_P): Likewise.
12968         * locale/programs/ld-collate.c (collate_output): Use the new
12969         macros instead of __alignof__ (int32_t).
12970         * locale/weight.h (findidx): Likewise.
12971
12972 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12973
12974         [BZ #431]
12975         * manual/string.texi: Fix strncat and wcsncat.
12976
12977 2013-10-03  Brooks Moses  <bmoses@google.com>
12978
12979         [BZ #15915]
12980         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12981         * Makerules: ...here, and adjust associated comments.
12982
12983 2013-10-02  Will Newton  <will.newton@linaro.org>
12984
12985         * malloc/Makefile: Add tst-pvalloc.
12986         * malloc/tst-pvalloc.c: New file.
12987
12988 2013-10-02  Will Newton  <will.newton@linaro.org>
12989
12990         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12991         improve test coverage.
12992
12993 2013-10-02  Will Newton  <will.newton@linaro.org>
12994
12995         * malloc/Makefile: Add tst-posix_memalign.
12996         * malloc/tst-posix_memalign.c: New file.
12997
12998 2013-10-01  Eric Blake  <eblake@redhat.com>
12999
13000         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13001         Use __THROWNL rather than __THROW on static functions.
13002
13003 2013-09-30  Petr Machata  <pmachata@redhat.com>
13004
13005         * elf/elf.h (R_AARCH64_ABS16): New macro.
13006         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13007         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13008         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13009         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13010         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13011         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13012         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13013         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13014         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13015         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13016         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13017         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13018         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13019         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13020         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13021         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13022         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13023         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13024         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13025         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13026         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13027         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13028         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13029         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13030         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13031         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13032         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13033         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13034         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13035         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13036         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13037         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13038         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13039         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13040         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13041         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13042         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13043         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13044         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13045         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13046         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13047         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13048         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13049         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13050         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13051         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13052         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13053         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13054         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13055         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13056         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13057         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13058         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13059         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13060         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13061         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13062         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13063         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13064         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13065         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13066         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13067         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13068         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13069         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13070         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13071         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13072         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13073         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13074         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13075         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13076         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13077         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13078         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13079         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13080         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13081         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13082         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13083         (R_AARCH64_TLSDESC_LDR): Likewise.
13084         (R_AARCH64_TLSDESC_ADD): Likewise.
13085         (R_AARCH64_TLSDESC_CALL): Likewise.
13086
13087 2013-09-30  Andreas Schwab  <schwab@suse.de>
13088
13089         [BZ #15048]
13090         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13091         the nss database lookup.
13092         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13094
13095 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13096
13097         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13098
13099 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13100
13101         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13102         ${Bash-specific parameter/pattern/string} parameter expansion.
13103         * sysdeps/unix/make-syscalls.sh: Likewise.
13104
13105 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13106
13107         * sysdeps/sh/stackguard-macros.h: New file.
13108
13109 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13110
13111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13113         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13114         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13115         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13116         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13117
13118 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13119
13120         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13121         Fix thread ID register.
13122
13123 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13124
13125         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13126         [POSIX || UNIX98]: Require rather than permitting all symbols from
13127         <time.h>.
13128         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13129         element of struct sched_param.
13130         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13131         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13132         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13133         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13134         constant.
13135
13136 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13137
13138         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13139         argument calculation.
13140
13141 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13142
13143         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13144         Expect macro.
13145         [POSIX] (pthread_attr_t): Do not require type.
13146         [POSIX] (pthread_cond_t): Likewise.
13147         [POSIX] (pthread_condattr_t): Likewise.
13148         [POSIX] (pthread_key_t): Likewise.
13149         [POSIX] (pthread_mutex_t): Likewise.
13150         [POSIX] (pthread_mutexattr_t): Likewise.
13151         [POSIX] (pthread_once_t): Likewise.
13152         [POSIX] (pthread_t): Likewise.
13153         [POSIX-based standards] (pthread_atfork): Expect function.
13154
13155 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13156             Richard Sandiford  <richard@codesourcery.com>
13157
13158         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13159         (swap_endianness_p): New extern variable.
13160         (set_big_endian): New inline function.
13161         (maybe_swap_uint32): Likewise.
13162         (maybe_swap_uint32_array): Likewise.
13163         (maybe_swap_uint32_obstack): Likewise.
13164         * locale/programs/locfile.c: Include <stdbool.h>.
13165         (swap_endianness_p): New variable.
13166         (add_locale_uint32): Call maybe_swap_uint32.
13167         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13168         (write_locale_data): Call maybe_swap_uint32_array.
13169         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13170         maybe_swap_uint32.
13171         (obstack_int32_grow_fast): Likewise.
13172         (output_weightwc): Call maybe_swap_uint32_obstack.
13173         (collate_output): Likewise.
13174         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13175         (OPT_LITTLE_ENDIAN): Likewise.
13176         (options): Add --little-endian and --big-endian options.
13177         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13178         * locale/programs/locarchive.c: Include "locfile.h".
13179         (GET): New macro.
13180         (SET): Likewise.
13181         (INC): Likewise.
13182         (create_archive): Use the new macros to access fields of
13183         structures directly mapped from or written to locale archives.
13184         (oldlocrecentcmp): Likewise.
13185         (enlarge_archive): Likewise.
13186         (insert_name): Likewise.
13187         (add_alias): Likewise.
13188         (add_locale): Likewise.
13189         (delete_locales_from_archive): Likewise.
13190         (show_archive_content): Likewise.
13191         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13192         locale data.
13193
13194 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13195
13196         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13197         http://www.gnu.org/doc/freemanuals.texi.
13198         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13199
13200 2013-09-24  Will Newton  <will.newton@linaro.org>
13201
13202         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13203         macro.
13204
13205 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13206
13207         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13208         unsigned char.
13209
13210 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13211
13212         * manual/threads.texi (POSIX Threads): Fix a typo.
13213
13214 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13215
13216         [BZ #14547]
13217         * string/tst-strcoll-overflow.c: New test case.
13218         * string/Makefile (xtests): Add tst-strcoll-overflow.
13219         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13220         cache if string sizes may cause integer overflow.
13221
13222         [BZ #14547]
13223         * string/strcoll_l.c (coll_seq): New members rule, idx,
13224         save_idx and back_us.
13225         (get_next_seq_nocache): New function.
13226         (do_compare_nocache): New function.
13227         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13228         when malloc fails.
13229
13230 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13231
13232         [BZ #15754]
13233         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13234         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13235         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13236
13237         [BZ #15754]
13238         * elf/Makefile (tests): Add tst-ptrguard1.
13239         (tests-static): Add tst-ptrguard1-static.
13240         (tst-ptrguard1-ARGS): Define.
13241         (tst-ptrguard1-static-ARGS): Define.
13242         * elf/tst-ptrguard1.c: New file.
13243         * elf/tst-ptrguard1-static.c: New file.
13244         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13245         * sysdeps/i386/stackguard-macros.h: Likewise.
13246         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13247         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13248         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13249         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13250         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13251         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13252
13253 2013-09-23  Hector Marco  <hecmargi@upv.es>
13254             Ismael Ripoll  <iripoll@disca.upv.es>
13255             Carlos O'Donell  <carlos@redhat.com>
13256
13257         [BZ #15754]
13258         * sysdeps/generic/stackguard-macros.h: Define
13259         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13260         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13261         Define __pointer_chk_guard_local.
13262         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13263         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13264
13265 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13266
13267         [BZ #15859]
13268         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13269
13270 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13271
13272         * include/string.h (__ffs): Declare as hidden.
13273         * string/ffs.c (__ffs): Define as hidden.
13274         * sysdeps/i386/ffs.c (__ffs): Likewise.
13275         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13276         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13277         * sysdeps/s390/ffs.c (__ffs): Likewise.
13278         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13279
13280 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13281
13282         * NEWS: Mention malloc probes.
13283
13284         * malloc/arena.c (new_heap): New memory_heap_new probe.
13285         (grow_heap): New memory_heap_more probe.
13286         (shrink_heap): New memory_heap_less probe.
13287         (heap_trim): New memory_heap_free probe.
13288         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13289         (systrim): New memory_sbrk_less probe.
13290         * manual/probes.texi: Document them.
13291
13292         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13293         * manual/probes.texi: Document it.
13294
13295         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13296         (__libc_realloc): Add memory_realloc_retry probe.
13297         (__libc_memalign): Add memory_memalign_retry probe.
13298         (__libc_valloc): Add memory_valloc_retry probe.
13299         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13300         (__libc_calloc): Add memory_calloc_retry probe.
13301         * manual/probes.texi: Document them.
13302
13303         * malloc/arena.c (get_free_list): Add probe
13304         memory_arena_reuse_free_list.
13305         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13306         and memory_arena_reuse.
13307         (arena_get2) [!PER_THREAD]: Likewise.
13308         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13309         memory_arena_reuse_realloc.
13310         * manual/probes.texi: Document them.
13311
13312         * malloc/malloc.c (__libc_free): Add
13313         memory_mallopt_free_dyn_thresholds probe.
13314         (__libc_mallopt): Add multiple memory_mallopt probes.
13315         * manual/probes.texi: Document them.
13316
13317         * malloc/malloc.c: Include stap-probe.h.
13318         (__libc_mallopt): Add memory_mallopt probe.
13319         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13320         * manual/probes.texi: New.
13321         * manual/Makefile (chapters): Add probes.
13322         * manual/threads.texi: Set next node.
13323
13324 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13325
13326         [BZ #15963, #13985]
13327         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13328         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13329         Add `Chinese' to `nan' entry name.
13330
13331 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13332
13333         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13334         (POLYNOMIAL): Likewise.
13335         (TAYLOR_SINCOS): Likewise.
13336         (TAYLOR_SLOW): Likewise.
13337         (__sin): Use TAYLOR_SINCOS.
13338         (__cos): Likewise.
13339         (slow): Use TAYLOR_SLOW.
13340         (sloww): Likewise.
13341         (bsloww): Likewise.
13342         (csloww): Likewise.
13343
13344 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13345
13346         * stdlib/strtod_l.c: Fix buffer overrun.
13347
13348 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13349
13350         * benchtests/Makefile (bench): Add sincos.
13351         * benchtests/bench-sincos.c: New file.
13352
13353         * math/libm-test.inc (cos_test_data): New test inputs.
13354         (sin_test_data): Likewise.
13355
13356         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13357         macro.
13358         (__sin): Use it.
13359         (__cos): Likewise.
13360         (slow1): Likewise.
13361         (slow2): Likewise.
13362         (sloww1): Likewise.
13363         (sloww2): Likewise.
13364         (bsloww1): Likewise.
13365         (bsloww2): Likewise.
13366         (cslow2): Likewise.
13367         (csloww1): Likewise.
13368         (csloww2): Likewise.
13369
13370         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13371         function.
13372         (__sin): Use it.
13373         (__cos): Likewise.
13374
13375         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13376         gotos.
13377         (__cos): Likewise.
13378
13379 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13380
13381         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13382         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13383         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13384         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13385         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13386         * elf/cache.c (print_entry): Handle the new cache flags.
13387
13388 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13389             Aldy Hernandez  <aldyh@redhat.com>
13390
13391         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13392         Change condition to [_SOFT_FLOAT].
13393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13394         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13405         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13408         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13409         declaration.
13410
13411 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13412
13413         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13414         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13415         (__longjmp): Use LOAD_GP to load saved GPRs.
13416         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13417         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13418         (__sigsetjmp): Use SAVE_GP to save GPRs.
13419
13420         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13421         Do not append -msoft-float.
13422         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13423
13424 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13425
13426         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13427
13428 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13429
13430         [BZ #15966]
13431         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13432         (_FPU_GETCW): Use initial "__" on variable and field names but not
13433         on macro parameter name.
13434         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13435         parentheses around reference to macro parameter.
13436
13437 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13438
13439         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13440         prototype.
13441         (ctype_startup): Use uint32_t in cast and sizeof for
13442         ctype->charnames.
13443
13444 2013-09-11  Jia Liu  <proljc@gmail.com>
13445
13446         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13447         __daddr_t_defined.
13448         [__FreeBSD__]: Likewise.
13449
13450 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13451
13452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13453         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13454         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13455         (strchr): Remove __strchr_sse42 ifunc selection.
13456         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13457         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13458
13459 2013-09-11  Will Newton  <will.newton@linaro.org>
13460
13461         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13462         parameter to RES. Remove hardcoded 1000 value.
13463         * benchtests/bench-skeleton.c (main): Pass RES parameter
13464         to TIMING_INIT and multiply result by 1000.
13465
13466 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13467
13468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13469
13470 2013-09-11  Andreas Schwab  <schwab@suse.de>
13471
13472         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13473         if not defined.
13474         (O_TMPFILE) [__USE_GNU]: Define.
13475         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13476         Define.
13477
13478 2013-09-11  Will Newton  <will.newton@linaro.org>
13479
13480         [BZ #15857]
13481         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13482         does not overflow.
13483
13484 2013-09-11  Will Newton  <will.newton@linaro.org>
13485
13486         [BZ #15856]
13487         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13488         does not overflow.
13489
13490 2013-09-11  Will Newton  <will.newton@linaro.org>
13491
13492         [BZ #15855]
13493         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13494         does not overflow.
13495
13496 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13497
13498         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13499         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13500         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13501         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13502         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13503
13504 2013-09-10  Allan McRae  <allan@archlinux.org>
13505
13506         [BZ #15748]
13507         * manual/arith.texi (Parsing of Floats): Clarify
13508         cross-reference.
13509
13510         [BZ #15849]
13511         * manual/install.texi (Running make install): Mention
13512         --enable-pt-chown.
13513         * INSTALL: Regenerated.
13514
13515 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13516
13517         * csu/init-first.c (_init): Remove the !SHARED condition around
13518         FPU control word initialization.
13519         * elf/dl-support.c (_dl_fpu_control): New variable.
13520         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13521         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13522         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13523         * math/test-fpucw-static.c: New file.
13524         * math/test-fpucw-ieee.c: New file.
13525         * math/test-fpucw-ieee-static.c: New file.
13526         * math/Makefile (tests): Add `test-fpucw-ieee' and
13527         `$(tests-static)'.
13528         (tests-static): New variable.
13529         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13530         dependency to...
13531         [($(build-shared),yes)]
13532         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13533         ... this.
13534         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13535         New dependency.
13536
13537 2013-09-09  Allan McRae  <allan@archlinux.org>
13538
13539         [BZ #15939]
13540         * manual/string.texi (Collation Functions): Fix typo in
13541         strcoll example.
13542         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13543
13544         [BZ #15893]
13545         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13546
13547         [BZ #15892]
13548         * libio/memstream.c (open_memstream): Fix memory leak.
13549         * libio/wmemstream.c (open_wmemstream): Likewise.
13550
13551         [BZ #15895]
13552         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13553
13554 2013-09-09  Will Newton  <will.newton@linaro.org>
13555
13556         * malloc/Makefile: Add tst-realloc to tests.
13557         * malloc/tst-realloc.c: New file.
13558
13559 2013-09-09  Allan McRae  <allan@archlinux.org>
13560
13561         [BZ #15844]
13562         * COPYING: Update from GNU website to fix FSF address.
13563         * COPYING.LIB: Likewise.
13564
13565 2013-09-06  David S. Miller  <davem@davemloft.net>
13566
13567         * po/zh_TW.po: Update Chinese (traditional) translation from
13568         translation project.
13569
13570 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13571             Joseph Myers  <joseph@codesourcery.com>
13572
13573         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13574         "localeinfo.h".
13575         (obstack_chunk_alloc): New macro.
13576         (obstack_chunk_free): Likewise.
13577         (record_offset): New function.
13578         (init_locale_data): Likewise.
13579         (align_locale_data): Likewise.
13580         (add_locale_empty): Likewise.
13581         (add_locale_raw_data): Likewise.
13582         (add_locale_raw_obstack): Likewise.
13583         (add_locale_string): Likewise.
13584         (add_locale_wstring): Likewise.
13585         (add_locale_uint32): Likewise.
13586         (add_locale_uint32_array): Likewise.
13587         (add_locale_char): Likewise.
13588         (start_locale_structure): Likewise.
13589         (end_locale_structure): Likewise.
13590         (start_locale_prelude): Likewise.
13591         (end_locale_prelude): Likewise.
13592         (write_locale_data): Take locale_file structure rather than an
13593         iovec.
13594         * locale/programs/locfile.h: Include "obstack.h".
13595         (struct locale_file): Change to store locale file contents instead
13596         of header.
13597         (init_locale_data): New prototype.
13598         (align_locale_data): Likewise.
13599         (add_locale_empty): Likewise.
13600         (add_locale_raw_data): Likewise.
13601         (add_locale_raw_obstack): Likewise.
13602         (add_locale_string): Likewise.
13603         (add_locale_wstring): Likewise.
13604         (add_locale_uint32): Likewise.
13605         (add_locale_uint32_array): Likewise.
13606         (add_locale_char): Likewise.
13607         (start_locale_structure): Likewise.
13608         (end_locale_structure): Likewise.
13609         (start_locale_prelude): Likewise.
13610         (end_locale_prelude): Likewise.
13611         (write_locale_data): Update prototype.
13612         * locale/programs/3level.h (struct TABLE): Remove result field.
13613         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13614         Use new locale_file interface.
13615         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13616         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13617         * locale/programs/ld-address.c (address_output): Use new
13618         locale_file interface.
13619         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13620         NO_ADD_LOCALE.
13621         (collate_finish): Don't call collseq_table_finalize.
13622         (collate_output): Use new locale_file interface.
13623         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13624         in file.
13625         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13626         (TABLE): Move defines earlier in file.
13627         (ELEMENT): Likewise.
13628         (DEFAULT): Likewise.
13629         (wctrans_table_add): Move macro and inline function earlier in
13630         file.
13631         (struct wctype_table): Move type earlier in file.
13632         (add_locale_wctype_table): New static prototype.
13633         (struct locale_ctype_t): Use logical types instead of struct iovec
13634         pointers for members.
13635         (ctype_output): Use new locale_file interface.
13636         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13637         new locale_file interface.
13638         (allocate_arrays): Update for use of new locale_file interface.
13639         * locale/programs/ld-identification.c (identification_output): Use
13640         new locale_file interface.
13641         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13642         * locale/programs/ld-messages.c (messages_output): Likewise.
13643         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13644         * locale/programs/ld-name.c (name_output): Likewise.
13645         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13646         * locale/programs/ld-paper.c (paper_output): Likewise.
13647         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13648         * locale/programs/ld-time.c (time_output): Likewise.
13649
13650 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13651
13652         * benchtests/Makefile: Add memrchr benchmark.
13653         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13654         benchmark as memrchr.
13655         * benchtests/bench-memrchr-ifunc.c: New file.
13656         * benchtests/bench-memrchr.c: New file.
13657
13658 2013-09-06   Will Newton  <will.newton@linaro.org>
13659
13660         * benchtests/Makefile (string-bench): Add memcpy.
13661
13662 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13663             Cong Wang  <amwang@redhat.com>
13664
13665         [BZ #15850]
13666         * sysdeps/unix/sysv/linux/bits/in.h
13667         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13668         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13669         before __USE_KERNEL_IPV6_DEFS uses.
13670         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13671         IPPROTO_BEETPH.
13672         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13673         sockaddr_in6, or ipv6_mreq.
13674
13675 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13676
13677         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13678         memory access for final bytes in some large inputs.
13679         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13680
13681 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13682
13683         * string/test-memrchr.c: New file.
13684         * string/test-memrchr-ifunc.c: New file.
13685         * string/Makefile: Add new memrchr testcase.
13686
13687 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13688
13689         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13690         fanotify_init returns EPERM.
13691
13692 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13693
13694         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13695         errors.
13696         (top level): Treat second token from macro or constant entries for
13697         allowed headers as allowed.
13698         * include/complex.h: Condition internal declarations on
13699         [!_ISOMAC].
13700         * include/fenv.h: Condition include of <stdbool.h> and internal
13701         declarations on [!_ISOMAC].
13702
13703 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13704
13705         [BZ #15923]
13706         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13707
13708 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13709
13710         * configure.in (--enable-versioning): Remove configure option.
13711         (libc_cv_asm_symver_directive): Remove configure test.
13712         (libc_cv_ld_version_script_option): Likewise.
13713         (VERSIONING): Remove variable and AC_SUBST.
13714         (DO_VERSIONING): Remove AC_DEFINE.
13715         * configure: Regenerated.
13716         * config.h.in (DO_VERSIONING): Remove macro.
13717         * Makerules [$(versioning) = yes]: Change conditionals to
13718         [$(build-shared) = yes].
13719         * config.make.in (versioning): Remove variable.
13720         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13721         [$(build-shared) = yes].
13722         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13723         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13724         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13725         [$(build-shared) = yes].
13726         * extra-lib.mk [$(versioning) = yes]: Likewise.
13727         * hurd/Makefile [$(versioning) = yes]: Likewise.
13728         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13729         [SHARED].
13730         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13731         [SHARED].
13732         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13733         [SHARED && !NO_HIDDEN].
13734         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13735         [SHARED].
13736         [SHARED && DO_VERSIONING]: Likewise..
13737         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13738         [$(build-shared) = yes].
13739         * manual/install.texi (--disable-versioning): Remove
13740         documentation.
13741         * INSTALL: Regenerated.
13742         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13743         to [SHARED].
13744         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13745         [$(build-shared) = yes].
13746         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13747         * sysdeps/i386/i686/multiarch/strstr-c.c
13748         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13749         [SHARED && !NO_HIDDEN].
13750         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13751         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13752         * sysdeps/powerpc/powerpc32/dl-machine.c
13753         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13754         * sysdeps/powerpc/powerpc32/sysdep.h
13755         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13756         to [SHARED && PIC && !NO_HIDDEN].
13757         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13758         conditional to [SHARED].
13759
13760 2013-09-04   Will Newton  <will.newton@linaro.org>
13761
13762         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13763         * benchtests/bench-string.h: Include bench-timing.h instead
13764         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13765         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13766         call to HP_TIMING_DIFF_INIT.
13767         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13768         instead of hp-timing.h macros.
13769         * benchtests/bench-memchr.c: Likewise.
13770         * benchtests/bench-memcmp.c: Likewise.
13771         * benchtests/bench-memcpy.c: Likewise.
13772         * benchtests/bench-memmem.c: Likewise.
13773         * benchtests/bench-memmove.c: Likewise.
13774         * benchtests/bench-memset.c: Likewise.
13775         * benchtests/bench-rawmemchr.c: Likewise.
13776         * benchtests/bench-strcasecmp.c: Likewise.
13777         * benchtests/bench-strcasestr.c: Likewise.
13778         * benchtests/bench-strcat.c: Likewise.
13779         * benchtests/bench-strchr.c: Likewise.
13780         * benchtests/bench-strcmp.c: Likewise.
13781         * benchtests/bench-strcpy.c: Likewise.
13782         * benchtests/bench-strcpy_chk.c: Likewise.
13783         * benchtests/bench-strlen.c: Likewise.
13784         * benchtests/bench-strncasecmp.c: Likewise.
13785         * benchtests/bench-strncat.c: Likewise.
13786         * benchtests/bench-strncmp.c: Likewise.
13787         * benchtests/bench-strncpy.c: Likewise.
13788         * benchtests/bench-strnlen.c: Likewise.
13789         * benchtests/bench-strpbrk.c: Likewise.
13790         * benchtests/bench-strrchr.c: Likewise.
13791         * benchtests/bench-strspn.c: Likewise.
13792         * benchtests/bench-strstr.c: Likewise.
13793
13794 2013-09-04  Will Newton  <will.newton@linaro.org>
13795
13796         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13797
13798 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13799
13800         [BZ #15427]
13801         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13802         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13803         * math/libm-test.inc (lgamma_test_data): Add more tests.
13804         * sysdeps/i386/fpu/libm-test-ulps: Update.
13805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13806
13807 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13808
13809         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13810         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13811         Add ifunc.
13812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13813         Add strcmp-sse2-unaligned
13814         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13815
13816 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13817
13818         * Versions.def (libc): Add GLIBC_2.19.
13819
13820 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13821
13822         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13823         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13824
13825 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13826
13827         [BZ #14155]
13828         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13829         intermediate calculations in recurrence.
13830         (__ieee754_ynf): Likewise.
13831         * math/libm-test.inc (jn_test_data): Do not allow spurious
13832         underflow exception.  Add more tests.
13833         (yn_test_data): Add more tests.
13834         * sysdeps/i386/fpu/libm-test-ulps: Update.
13835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13836
13837 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13838
13839         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13840
13841 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13842
13843         * csu/init-first.c: Fix then/than typos.
13844         * locale/programs/ld-collate.c: Likewise.
13845         * locale/programs/linereader.h: Likewise.
13846         * manual/charset.texi: Likewise.
13847         * manual/filesys.texi: Likewise.
13848         * manual/stdio.texi: Likewise.
13849         * manual/string.texi: Likewise.
13850         * stdlib/fmtmsg.c: Likewise.
13851         * sysdeps/i386/stpncpy.S: Likewise.
13852         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13853         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13854         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13855         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13856
13857 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13858
13859         * elf/dl-open.c: Fix typos.
13860         * iconvdata/gbbig5.c: Likewise.
13861         * iconvdata/iso-2022-jp.c: Likewise.
13862         * iconv/gconv_int.h: Likewise.
13863         * iconv/loop.c: Likewise.
13864         * nis/rpcsvc/nis.h: Likewise.
13865         * resolv/ns_name.c: Likewise.
13866         * stdio-common/vfscanf.c: Likewise.
13867         * streams/stropts.h: Likewise.
13868         * sunrpc/rpc_thread.c: Likewise.
13869         * sysdeps/i386/strpbrk.S: Likewise.
13870         * sysdeps/ieee754/k_standard.c: Likewise.
13871         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13872         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13873         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13874         * sysdeps/mach/hurd/profil.c: Likewise.
13875         * sysdeps/s390/dl-procinfo.h: Likewise.
13876         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13877         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13878         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13879         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13880         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13881
13882 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13883
13884         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13885         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13886
13887 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13888
13889         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13890         aix specific files.
13891         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13892         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13893         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13894         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13895         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13896         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13897         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13898         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13899
13900 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13901             Roland McGrath  <roland@hack.frob.com>
13902
13903         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13904         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13905
13906 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13907
13908         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13909         __executable_start symbol instead of _start.
13910
13911 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13912
13913         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13914         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13915         Move macros to...
13916         * sysdeps/gnu/ldsodefs.h: ... this new file.
13917
13918         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13919         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13920         instead of ELFOSABI_LINUX.
13921
13922         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13923         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13924         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13925         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13926         Likewise.
13927         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13928         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13929         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13930         Likewise.
13931         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13932         (ibm_extended_long_double): Add ieee_nan member.
13933         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13934         (do_test): New function.
13935
13936         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13937         TEST_TRUNC.
13938         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13939         functions, renamed from truncdfsf_test, trunctfsf_test,
13940         trunctfdf_test.
13941         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13942         functions.
13943         (do_test): Run all these.
13944
13945 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13946
13947         * argp/argp-help.c: Fix typos.
13948         * argp/argp-parse.c: Likewise.
13949         * debug/backtracesyms.c: Likewise.
13950         * elf/elf.h: Likewise.
13951         * malloc/malloc.c: Likewise.
13952         * nis/nis_print.c: Likewise.
13953         * resolv/res_comp.c: Likewise.
13954         * stdlib/stdlib.h: Likewise.
13955         * sunrpc/clnt_tcp.c: Likewise.
13956         * sunrpc/clnt_udp.c: Likewise.
13957         * sunrpc/clnt_unix.c: Likewise.
13958         * sysdeps/unix/bsd/ptsname.c: Likewise.
13959         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13960         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13962         Likewise.
13963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13964         Likewise.
13965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13966         Likewise.
13967         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13968
13969 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13970
13971         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13973
13974 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13975
13976         [BZ #15897]
13977         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13978         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13979         ($(objpfx)bug-dl-leaf): New rule.
13980         ($(objpfx)bug-dl-leaf.so): Likewise.
13981         ($(objpfx)bug-dl-leaf.out): Likewise.
13982         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13983         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13984         * dlfcn/bug-dl-leaf.c: New test.
13985         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13986         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13987         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13988         (dlclose): Likewise.
13989         (dlmopen): Likewise.
13990
13991 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13992
13993         * include/netdb.h [!_ISOMAC]:
13994         Don't include <tls.h>.
13995         (h_errno, __libc_h_errno): Move declaration and macros out of
13996         [_LIBC_REENTRANT].
13997
13998         * include/resolv.h [_RESOLV_H_]:
13999         Don't include <tls.h>.
14000         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14001         * resolv/res_libc.c: Don't include <tls.h>.
14002         (_res): Use __attribute__ ((nocommon)) in place of
14003         __attribute__ ((section (".bss"))).
14004
14005         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14006         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14007
14008         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14009
14010         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14011         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14012
14013         * resolv/res_mkquery.c: Include <sys/time.h>.
14014
14015         * inet/ifreq.c: Moved to ...
14016         * sysdeps/unix/ifreq.c: ... here.
14017         * inet/ifreq.c: New file, true stub version.
14018
14019         * socket/sa_len.c: New file.
14020         * socket/Makefile (aux): Add it.
14021         * sysdeps/unix/sysv/linux/Makefile
14022         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14023         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14024         and #include <socket/sa_len.c>.
14025         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14026         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14027
14028         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14029         * bits/socket.h: ... here.
14030
14031         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14032         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14033         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14034
14035 2013-08-27  Andreas Schwab  <schwab@suse.de>
14036
14037         [BZ #15736]
14038         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14039         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14040         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14041         * string/test-strcasecmp.c (test_main): Run tests in several
14042         locales.
14043         * string/test-strncasecmp.c (test_main): Likewise.
14044
14045         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14046         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14047         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14048         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14049         (__strncasecmp_ssse3) [PIC]: Likewise.
14050
14051 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14052
14053         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14054
14055         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14056         instead of explicitly declaring xdecrypt.
14057         * nis/nss_nis/nis-publickey.c: Likewise.
14058
14059 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14060
14061         [BZ #15890]
14062         * nscd/aicache.c: Include res_hconf.h.
14063         (addhstaiX): Initialize res_hconf.
14064
14065 2013-08-26  Andreas Schwab  <schwab@suse.de>
14066
14067         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14068         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14069
14070 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14071
14072         * nscd/aicache.c (addhstaiX): Fix indentation.
14073
14074 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14075
14076         * configure.ac: Quote $build_pt_chown test.
14077         * configure: Regenerated.
14078
14079 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14080
14081         [BZ #15532]
14082         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14083         * math/s_cexpf.c (__cexpf): Likewise.
14084         * math/s_cexpl.c (__cexpl): Likewise.
14085         * math/libm-test.inc (cexp_test_data): Correct expected return
14086         value for NaN + i0.  Add another test.
14087
14088 2013-08-22  David S. Miller  <davem@davemloft.net>
14089
14090         * po/ca.po: Update Catalan translation from translation project.
14091         * po/uk.po: Add Ukrainian translations from translation project.
14092
14093 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14094
14095         [BZ #15797]
14096         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14097         is infinite, not alongside NaN test.
14098         * math/s_fdimf.c (__fdimf): Likewise.
14099         * math/s_fdiml.c (__fdiml): Likewise.
14100         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14101         errno is unchanged.
14102
14103 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14104
14105         * argp/argp-help.c: Fix typos.
14106         * crypt/speeds.c: Likewise.
14107         * csu/check_fds.c: Likewise.
14108         * elf/dl-load.c: Likewise.
14109         * elf/dl-open.c: Likewise.
14110         * elf/reldep3.c: Likewise.
14111         * elf/reldep.c: Likewise.
14112         * elf/sprof.c: Likewise.
14113         * iconv/iconv_charmap.c: Likewise.
14114         * iconv/skeleton.c: Likewise.
14115         * iconv/strtab.c: Likewise.
14116         * io/lockf64.c: Likewise.
14117         * libio/libioP.h: Likewise.
14118         * resolv/gai_notify.c: Likewise.
14119         * resolv/ns_name.c: Likewise.
14120         * resolv/ns_samedomain.c: Likewise.
14121         * resolv/res_send.c: Likewise.
14122         * stdlib/random.c: Likewise.
14123         * sunrpc/rpc/xdr.h: Likewise.
14124         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14125         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14126         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14127         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14128         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14129         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14130         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14131         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14132         * sysdeps/mach/hurd/check_fds.c: Likewise.
14133         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14134         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14135         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14136         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14137         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14138         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14139         * sysdeps/pthread/aio_notify.c: Likewise.
14140         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14141         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14142         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14143         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14144         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14145
14146 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14147
14148         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14149         version if bit_Slow_SSE4_2 is set.
14150         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14151         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14152
14153 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14154
14155         [BZ #15867]
14156         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14157         trampoline stack frame information.
14158         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14159         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14160         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14161         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14162         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14163         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14164         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14165         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14166         sa_flags value.
14167         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14168         interrupting a syscall and set with option SA_SIGINFO.
14169
14170 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14171
14172         [BZ #15531]
14173         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14174         argument is infinite.
14175         * math/s_cprojf.c (__cprojf): Likewise.
14176         * math/s_cprojl.c (__cprojl): Likewise.
14177         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14178         * math/libm-test.inc (cproj_test_data): Add more tests.
14179
14180         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14181
14182         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14183         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14184         size.  Use __ffs to determine corresponding shift.
14185
14186 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14187             Roland McGrath  <roland@hack.frob.com>
14188
14189         * Makefile (INSTALL): Remove trailing blank lines from output of
14190         makeinfo.
14191
14192 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14193
14194         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14195         Align 32 bit compat elf_greg to 8 bytes.
14196
14197 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14198
14199         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14200
14201 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14202
14203         * string/strcoll_l.c (coll_seq): New structure.
14204         (get_next_seq_cached): New function.
14205         (get_next_seq): New function.
14206         (do_compare): New function.
14207         (STRCOLL): Use GNU style definition.  Simplify implementation
14208         by using get_next_seq, get_next_seq_cached and do_compare.
14209
14210 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14211
14212         [BZ #14699]
14213         CVE-2013-4237
14214         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14215         member.
14216         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14217         member.
14218         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14219         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14220         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14221         conditional.
14222         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14223         GETDENTS_64BIT_ALIGNED.
14224         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14225         * manual/filesys.texi (Reading/Closing Directory): Document
14226         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14227         strongly.
14228         * manual/conf.texi (Limits for Files): Add portability note to
14229         NAME_MAX, PATH_MAX.
14230         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14231
14232 2013-08-13  Andreas Schwab  <schwab@suse.de>
14233
14234         [BZ #15749]
14235         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14236         of fabs.
14237         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14238         LDBL_MAX_EXP >= 16384]: Add tests for it.
14239
14240 2013-08-12  David S. Miller  <davem@davemloft.net>
14241
14242         * version.h (RELEASE): Set to "development".
14243         (VERSION): Set to "2.18.90".
14244         * NEWS: Add 2.19 section.
14245
14246 2013-08-03  David S. Miller  <davem@davemloft.net>
14247
14248         * po/ko.po: Update Korean translation from translation project.
14249
14250 2013-08-01  David S. Miller  <davem@davemloft.net>
14251
14252         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14253         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14254         Bilka.
14255
14256 2013-07-30  David S. Miller  <davem@davemloft.net>
14257
14258         * po/fr.po: Update French translation from translation project.
14259
14260 2013-07-28  David S. Miller  <davem@davemloft.net>
14261
14262         * po/cs.po: Update Czech translation from translation project.
14263
14264         * po/sv.po: Update Swedish translation from translation project.
14265
14266 2013-07-27  David S. Miller  <davem@davemloft.net>
14267
14268         * po/eo.po: Update Esperanto translation from translation project.
14269
14270         * po/vi.po: Update Vietnamese translation from translation project.
14271
14272         * po/de.po: Update German translation from translation project.
14273
14274 2013-07-26  David S. Miller  <davem@davemloft.net>
14275
14276         * po/bg.po: Update Bulgarian translation from translation project.
14277
14278         * po/nl.po: Update Dutch translation from translation project.
14279         * po/pl.po: Update Polish translation from translation project.
14280         * po/ru.po: Update Russian translation from translation project.
14281
14282 2013-07-24  David S. Miller  <davem@davemloft.net>
14283
14284         * po/libc.pot: Update.
14285
14286 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14287
14288         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14289         variable page size.
14290         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14291         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14292         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14293
14294 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14295
14296         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14297
14298 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14299             Andreas Schwab  <schwab@suse.de>
14300             Roland McGrath  <roland@hack.frob.com>
14301             Joseph Myers  <joseph@codesourcery.com>
14302             Carlos O'Donell  <carlos@redhat.com>
14303
14304         [BZ #15755]
14305         * config.h.in: Define HAVE_PT_CHOWN.
14306         * config.make.in (build-pt-chown): New variable.
14307         * configure.in (--enable-pt_chown): New configure option.
14308         * configure: Regenerate.
14309         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14310         build-pt-chown is enabled.
14311         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14312         pt_chown to fix pty ownership.
14313         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14314         CLOSE_ALL_FDS.
14315         * manual/install.texi (Configuring and compiling): Mention
14316         --enable-pt_chown. Add @findex for grantpt.
14317         * INSTALL: Regenerate.
14318
14319 2013-07-20  David S. Miller  <davem@davemloft.net>
14320
14321         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14322         difference between 32-bit and 64-bit.
14323
14324 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14325
14326         [BZ #15711]
14327         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14328         Avoid system header dependency with -ffreestanding.
14329         ($(objpfx)bits/syscall%d): Likewise.
14330
14331 2013-07-13  David S. Miller  <davem@davemloft.net>
14332
14333         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14334         underflows from atanl/atan2l due to bug 15319.
14335         (casinh_test_data): Likewise.
14336
14337 2013-07-07  David S. Miller  <davem@davemloft.net>
14338
14339         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14340
14341 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14342
14343         * sysdeps/i386/fpu/libm-test-ulps: Update.
14344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14345
14346 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14347
14348         * configure.in (--enable-lock-elision): Fix message text.
14349         * INSTALL: Regenerate.
14350         * configure: Regenerate.
14351
14352 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14353
14354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14355
14356 2013-07-03  Andreas Jaeger  <aj@suse.de>
14357
14358         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14359         define.
14360         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14361         (ptrace_peeksiginfo_args): Add.
14362         (__ptrace_peeksiginfo_flags): Add.
14363         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14364         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14365         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14366
14367 2013-07-03  Allan McRae  <allan@archlinux.org>
14368
14369         * sysdeps/i386/fpu/libm-test-ulps: Update.
14370
14371 2013-07-02  David S. Miller  <davem@davemloft.net>
14372
14373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14374
14375 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14376
14377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14378
14379 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14380
14381         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14383
14384 2013-07-02  Andi Kleen <ak@linux.intel.com>
14385
14386         * config.h.in (ENABLE_LOCK_ELISION): Add.
14387         * configure.in (--enable-lock-elision): Add option.
14388         * manual/install.texi: Document --enable lock elision.
14389         * configure: Regenerate
14390         * INSTALL: Regenerate.
14391
14392 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14393
14394         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14395         SSE4.2 strcasecmp for libc.a.
14396         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14397
14398 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14399
14400         [BZ #13304]
14401         * soft-fp/op-common.h (_FP_FMA): New macro.
14402         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14403         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14404         (_FP_MUL_MEAT_1_imm): ... here.
14405         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14406         (_FP_MUL_MEAT_1_wide): ... here.
14407         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14408         (_FP_MUL_MEAT_1_hard): ... here.
14409         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14410         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14411         (_FP_MUL_MEAT_2_wide): ... here.
14412         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14413         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14414         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14415         (_FP_MUL_MEAT_2_gmp): ... here.
14416         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14417         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14418         (_FP_MUL_MEAT_4_wide): ... here.
14419         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14420         (_FP_MUL_MEAT_4_gmp): ... here.
14421         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14422         (_FP_WFRACBITS_DW_S): Likewise.
14423         (_FP_WFRACXBITS_DW_S): Likewise.
14424         (_FP_HIGHBIT_DW_S): Likewise.
14425         (FP_FMA_S): Likewise.
14426         (_FP_FRAC_HIGH_DW_S): Likewise.
14427         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14428         (_FP_WFRACBITS_DW_D): Likewise.
14429         (_FP_WFRACXBITS_DW_D): Likewise.
14430         (_FP_HIGHBIT_DW_D): Likewise.
14431         (FP_FMA_D): Likewise.
14432         (_FP_FRAC_HIGH_DW_D): Likewise.
14433         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14434         (_FP_WFRACBITS_DW_E): Likewise.
14435         (_FP_WFRACXBITS_DW_E): Likewise.
14436         (_FP_HIGHBIT_DW_E): Likewise.
14437         (FP_FMA_E): Likewise.
14438         (_FP_FRAC_HIGH_DW_E): Likewise.
14439         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14440         (_FP_WFRACBITS_DW_Q): Likewise.
14441         (_FP_WFRACXBITS_DW_Q): Likewise.
14442         (_FP_HIGHBIT_DW_Q): Likewise.
14443         (FP_FMA_Q): Likewise.
14444         (_FP_FRAC_HIGH_DW_Q): Likewise.
14445         * soft-fp/fmasf4.c: New file.
14446         * soft-fp/fmadf4.c: Likewise.
14447         * soft-fp/fmatf4.c: Likewise.
14448
14449 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14450
14451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14452         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14453         Silvermont.
14454         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14455         macro.
14456         (index_Slow_SSE4_2): Likewise.
14457         (index_Prefer_PMINUB_for_stringop): Likewise.
14458         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14459         bit_Slow_SSE4_2 is set.
14460         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14461         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14462
14463 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14464
14465         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14466         rtld_global._dl_hwcap2.
14467         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14468         POWER8.
14469         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14470         POWER8 feature descriptions defined in _dl_hwcap2.
14471         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14472         string handling for POWER8 feature bits.
14473         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14474         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14475         _dl_powerpc_cap_flags.
14476         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14477         * sysdeps/powerpc/rtld-global-offsets.sym
14478         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14479         _dl_hwcap2 in the rtld_global_ro structure.
14480
14481 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14482
14483         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14484         hardware capabilities in support of AT_HWCAP2.
14485         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14486         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14487         GLRO(dl_hwcap2).
14488         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14489         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14490         explicitly the unknown a_type display mechanism is used.
14491         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14492         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14493         struct member.
14494         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14495         to macro prototype for AT_HWCAP2 support.
14496         * sysdeps/i386/dl-procinfo.h: Likewise.
14497         * sysdeps/s390/dl-procinfo.h: Likewise.
14498         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14499         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14500         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14501         return -1 for unknown a_type display fallback.
14502         * sysdeps/sparc/dl-procinfo.h: Likewise.
14503         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14504         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14505
14506 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14507
14508         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14509         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14510
14511 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14512
14513         [BZ #12492]
14514         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14515         mprotect making __stack_prot writable.
14516
14517 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14518             Joseph Myers  <joseph@codesourcery.com>
14519
14520         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14521         as being properly aligned.
14522
14523 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14524
14525         * dlfcn/modstatic5.c: New file.
14526         * dlfcn/tststatic5.c: New file.
14527         * dlfcn/Makefile (tests): Add tststatic5.
14528         (tests-static): Likewise.
14529         (modules-names): Add modstatic5.
14530         (tststatic5-ENV): New variable.
14531         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14532
14533         [BZ #15022]
14534         * elf/dl-support.c (_dl_main_map): New variable.
14535         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14536         (_dl_nns, _dl_load_adds): Set to 1.
14537         (_dl_initial_searchlist): Refer to _dl_main_map.
14538         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14539         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14540         call to _dl_get_origin.
14541         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14542         around call_map.
14543         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14544         * dlfcn/modstatic3.c: New file.
14545         * dlfcn/tststatic3.c: New file.
14546         * dlfcn/tststatic4.c: New file.
14547         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14548         (tests-static): Likewise.
14549         (modules-names): Add modstatic3.
14550         (tststatic3-ENV, tststatic4-ENV): New variables.
14551         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14552         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14553
14554 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14555
14556         * configure.in (CC): Require GCC version 4.4 or later.
14557         * configure: Regenerated.
14558         * manual/install.texi (Tools for Compilation): Update GCC version
14559         requirement.
14560         * INSTALL: Regenerated.
14561
14562 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14563
14564         [BZ #15674]
14565         * string/test-memcmp.c (check2): New.
14566         (main): Call check2.
14567
14568         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14569
14570 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14571
14572         [BZ #15022]
14573         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14574         over to...
14575         (dl_open_worker) [!SHARED]: ... here.
14576
14577 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14578
14579         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14580
14581 2013-06-25  Richard Henderson  <rth@redhat.com>
14582
14583         * locale/programs/locarchive.c: Include <libc-internal.h>
14584
14585 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14586
14587         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14588         trailing whitespace removed.
14589
14590 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14591
14592         [BZ #10283]
14593         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14594         * locale/programs/locarchive.c: Include libc-mmap.h.
14595         (prepare_address_space): Take two new outputs (the mmap base and len).
14596         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14597         values.
14598         (create_archive): Declare new mmap base and len values for
14599         prepare_address_space, and store the result in ah.
14600         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14601         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14602         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14603         Declare new mmap base and len values for
14604         prepare_address_space, and store the result in new_ah.
14605         (open_archive): Declare new mmap base and len values for
14606         prepare_address_space, and store the result in ah.
14607         (close_archive): If ah->mmap_base is not NULL, use that and
14608         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14609         * sysdeps/generic/libc-mmap.h: New file.
14610
14611 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14612
14613         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14614         (ALIGN_UP): Likewise.
14615         (PTR_ALIGN_DOWN): Likewise.
14616         (PTR_ALIGN_UP): Likewise.
14617
14618 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14619
14620         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14621         entry mapped to PPC_PLATFORM_POWER8.
14622         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14623         POWER8.
14624         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14625         (_dl_string_platform): Add case for exporting platform position for
14626         POWER8.
14627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14628         search path to sysdeps/powerpc/powerpc32/power8 directory.
14629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14630         search path to sysdeps/powerpc/powerpc64/power8 directory.
14631         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14632         power7 directories.
14633         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14634         power7 directories.
14635
14636 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14637
14638         * INSTALL: Regenerate.
14639
14640         * nscd/connections.c (nscd_init): Fix comment.
14641
14642 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14643
14644         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14645
14646         [BZ #15667]
14647         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14648         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14649
14650 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14651
14652         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14653         DL_DST_REQ_STATIC.
14654         (DL_DST_REQ_STATIC): Remove macro.
14655
14656 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14657
14658         [BZ #7006]
14659         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14660         with a shift of 0 bits.
14661
14662 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14663
14664         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14665         $(tststatic-ENV).
14666
14667 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14668
14669         [BZ #15655]
14670         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14671
14672 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14673
14674         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14675         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14676         accepts -fno-tree-loop-distribute-patterns.
14677         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14678         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14679         recursive call.
14680         * string/memset.c (memset): Likewise.
14681         * string/test-memmove.c (simple_memmove): Disable loop transformation
14682         to library calls.
14683         * string/test-memset.c (simple_memset): Likewise.
14684         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14685         * benchtests/bench-memset.c (simple_memset): Likewise.
14686         * configure: Regenerated.
14687
14688 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14689
14690         * math/test-misc.c (main): Ignore fesetround failure when failures
14691         of subsequent rounding tests would be ignored.
14692
14693         [BZ #15654]
14694         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14695         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14696         * math/fegetenv.c (__fegetenv): Return 0.
14697         * math/fegetexcept.c (fegetexcept): Return 0.
14698         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14699         FE_TONEAREST.
14700         * math/feholdexcpt.c (feholdexcept): Return 0.
14701         * math/fesetenv.c (__fesetenv): Return 0.
14702         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14703         argument FE_TONEAREST.
14704         * math/feupdateenv.c (__feupdateenv): Return 0.
14705         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14706
14707 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14708
14709         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14710         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14711         ($(objpfx)rtld-%.os rules): Use them.
14712
14713 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14714
14715         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14716         fields.
14717
14718 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14719
14720         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14721         length of target pattern, then descending length of dependency pattern.
14722         * configure.in (AWK): Require gawk 3.1.2 or newer.
14723         * manual/install.texi (Tools for Compilation): Say that we do.
14724         * configure: Regenerated.
14725
14726         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14727         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14728         * scripts/sysd-rules.awk: ... this new script.
14729         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14730         than a glob-style pattern.
14731
14732 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14733
14734         * math/test-misc.c (main): Do not treat incorrectly rounded
14735         conversions as failure unless ROUNDING_TESTS passes.
14736
14737 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14738
14739         [BZ #15631]
14740         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14741         restore exception state around main square root computation, then
14742         check for inexactness explicitly.
14743
14744         * math/libm-test.inc (fma_test_data): Add another test.
14745
14746 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14747
14748         * manual/threads.texi (Non-POSIX Extensions): New document
14749         node.  Document pthread_getattr_default_np and
14750         pthread_setattr_default_np.
14751
14752         * Versions.def (libpthread): Add GLIBC_2.18.
14753         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14755         Likewise.
14756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14757         Likewise.
14758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14759         Likewise.
14760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14761         Likewise.
14762         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14763         Likewise.
14764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14765         Likewise.
14766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14767         Likewise.
14768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14769         Likewise.
14770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14771         Likewise.
14772
14773 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14774
14775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14776         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14777
14778 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14779             H.J. Lu  <hjl.tools@gmail.com>
14780
14781         [BZ #15627]
14782         * sysdeps/x86_64/rtld-memset.c: Remove file.
14783         * sysdeps/x86_64/rtld-memset.S: New file.
14784
14785 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14786
14787         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14788         (test_in_one_mode): Take arguments for whether the rounding mode
14789         is supported for each floating-point type.
14790         (do_test): Pass new arguments to test_in_one_mode using
14791         ROUNDING_TESTS.
14792
14793 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14794
14795         * posix/tst-waitid.c (do_test): Distinguish different instances of
14796         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14797         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14798         before entering the kernel for waitpid.
14799
14800 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14801
14802         * NEWS: Fix note on clock function precision.  Text by Roland
14803         McGrath.
14804
14805 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14806
14807         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14808         it into place only when and if the sanity check passes.
14809
14810 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14811
14812         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14813         output for whether conversion result is exact.  Take argument
14814         indicating whether type is IBM long double.
14815         (round_for_all): Change need_exact field to ibm_ld.
14816         * stdlib/tst-strtod-round.c (struct exactness): New type.
14817         (struct test): Change bool ld_ok field to struct exactness exact.
14818         (TEST): Update all definitions for change to field.
14819         (tests): Regenerate array contents.
14820         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14821         field value.  Check for IBM long double here.
14822         (do_test): Update calls to test_in_one_mode.
14823
14824 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14825
14826         [BZ #12515]
14827         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14828         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14829
14830 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14831
14832         [BZ #15605]
14833         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14834         generated by the compiler on loop optimizations.
14835         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14836         general definitions.
14837
14838 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14839
14840         * math/bug-nextafter.c: Include <math-tests.h>.
14841         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14842         the relevant type.
14843         * math/bug-nexttoward.c: Include <math-tests.h>.
14844         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14845         the relevant type.
14846         * math/test-misc.c: Include <math-tests.h>.
14847         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14848         the relevant type.
14849
14850 2013-06-12  Andreas Jaeger  <aj@suse.de>
14851
14852         * po/ia.po: Update Interlingua translation from translation
14853         project.
14854
14855 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14856
14857         * include/fenv.h: Include stdbool.h.
14858         (struct rm_ctx): New structure.
14859         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14860         Define macro.
14861         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14862         (SET_RESTORE_ROUNDF): Likewise.
14863         (SET_RESTORE_ROUNDL): Likewise.
14864         (SET_RESTORE_ROUND_NOEX): Likewise.
14865         (SET_RESTORE_ROUND_NOEXF): Likewise.
14866         (SET_RESTORE_ROUND_NOEXL): Likewise.
14867         (SET_RESTORE_ROUND_53BIT): Likewise.
14868         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14869         (libc_feresetround_noexf_ctx): Likewise.
14870         (libc_feresetround_noexl_ctx): Likewise.
14871         (libc_feholdsetround_53bit_ctx): Likewise.
14872         (libc_feresetround_53bit_ctx): Likewise.
14873         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14874         (libc_feholdexcept_setround_sse_ctx): New function.
14875         (libc_fesetenv_sse_ctx): Likewise.
14876         (libc_feupdateenv_sse_ctx): Likewise.
14877         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14878         (libc_feholdexcept_setround_387_ctx): Likewise.
14879         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14880         (libc_feholdsetround_387_prec_ctx): Likewise.
14881         (libc_feholdsetround_387_ctx): Likewise.
14882         (libc_feholdsetround_387_53bit_ctx): Likewise.
14883         (libc_feholdsetround_sse_ctx): Likewise.
14884         (libc_feresetround_sse_ctx): Likewise.
14885         (libc_feresetround_387_ctx): Likewise.
14886         (libc_feupdateenv_387_ctx): Likewise.
14887         (libc_feholdexcept_setroundf_ctx): Define macro.
14888         (libc_fesetenvf_ctx): Likewise.
14889         (libc_feupdateenvf_ctx): Likewise.
14890         (libc_feholdsetroundf_ctx): Likewise.
14891         (libc_feresetroundf_ctx): Likewise.
14892         (libc_feholdexcept_setround_ctx): Likewise.
14893         (libc_fesetenv_ctx): Likewise.
14894         (libc_feupdateenv_ctx): Likewise.
14895         (libc_feholdsetround_ctx): Likewise.
14896         (libc_feresetround_ctx): Likewise.
14897         (libc_feholdexcept_setroundl_ctx): Likewise.
14898         (libc_feupdateenvl_ctx): Likewise.
14899         (libc_feholdsetroundl_ctx): Likewise.
14900         (libc_feresetroundl_ctx): Likewise.
14901         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14902         (libc_feresetround_53bit_ctx): Likewise.
14903
14904 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14905
14906         * locale/iso-639.def: Convert to UTF-8.
14907
14908 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14909
14910         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14911         (EXCEPTION_TESTS_double): Likewise.
14912         (EXCEPTION_TESTS_long_double): Likewise.
14913         (EXCEPTION_TESTS): Likewise.
14914         * math/libm-test.inc (test_exceptions): Only test exceptions if
14915         EXCEPTION_TESTS (FLOAT).
14916
14917 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14918
14919         * benchtests/Makefile (string-bench): Add strcpy_chk and
14920         stpcpy_chk.
14921         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14922         * benchtests/bench-stpcpy_chk.c: New file.
14923         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14924         * benchtests/bench-strcpy_chk.c: New file.
14925         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14926         code.
14927         (do_test): Likewise.
14928
14929 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14930
14931         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14932         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14933         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14934         with tabs where appropriate.
14935         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14936         dl-procinfo.h.
14937         [PPC_PLATFORM_PPC440]: Likewise.
14938         [PPC_PLATFORM_PPC464]: Likewise.
14939         [PPC_PLATFORM_PPC476]: Likewise.
14940         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14941         ppc464, and ppc476 platform strings merging from ports/
14942         dl-procinfo.h.
14943
14944 2013-06-11  Andreas Schwab  <schwab@suse.de>
14945
14946         [BZ #14991]
14947         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14948         (from_ucs4_idx): Regenerate.
14949         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14950         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14951         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14952         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14953         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14954         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14955         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14956         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14957         from FROM_LOOP and TO_LOOP specific macros.
14958         (BODY): Handle combining characters.
14959         * iconvdata/BIG5HKSCS.irreversible: Update.
14960         * iconvdata/BIG5HKSCS.precomposed: New file.
14961         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14962         characters.
14963         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14964
14965 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14966
14967         * include/sys/time.h: Fix indentation and add copyright header.
14968
14969         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14970         (do_test): Likewise.
14971         * string/test-memchr.c (do_one_test): Likewise.
14972         (do_test): Likewise.
14973         * string/test-memcmp.c (do_one_test): Likewise.
14974         (do_test): Likewise.
14975         * string/test-memcpy.c (do_one_test): Likewise.
14976         (do_test): Likewise.
14977         * string/test-memmem.c (do_one_test): Likewise.
14978         (do_test): Likewise.
14979         (do_random_tests): Likewise.
14980         * string/test-memmove.c (do_one_test): Likewise.
14981         (do_test): Likewise.
14982         * string/test-memset.c (do_one_test): Likewise.
14983         (do_test): Likewise.
14984         * string/test-rawmemchr.c (do_one_test): Likewise.
14985         (do_test): Likewise.
14986         * string/test-strcasecmp.c (do_one_test): Likewise.
14987         (do_test): Likewise.
14988         * string/test-strcasestr.c (do_one_test): Likewise.
14989         (do_test): Likewise.
14990         * string/test-strcat.c (do_one_test): Likewise.
14991         (do_test): Likewise.
14992         * string/test-strchr.c (do_one_test): Likewise.
14993         (do_test): Likewise.
14994         * string/test-strcmp.c (do_one_test): Likewise.
14995         (do_test): Likewise.
14996         * string/test-strcpy.c (do_one_test): Likewise.
14997         (do_test): Likewise.
14998         * string/test-string.h: Likewise.
14999         (test_init): Likewise.
15000         * string/test-strlen.c (do_one_test): Likewise.
15001         (do_test): Likewise.
15002         * string/test-strncasecmp.c (do_one_test): Likewise.
15003         (do_test): Likewise.
15004         * string/test-strncat.c (do_one_test): Likewise.
15005         (do_test): Likewise.
15006         * string/test-strncmp.c (do_one_test): Likewise.
15007         (do_test_limit): Likewise.
15008         (do_test): Likewise.
15009         * string/test-strncpy.c (do_one_test): Likewise.
15010         (do_test): Likewise.
15011         * string/test-strnlen.c (do_one_test): Likewise.
15012         (do_test): Likewise.
15013         * string/test-strpbrk.c (do_one_test): Likewise.
15014         (do_test): Likewise.
15015         * string/test-strrchr.c (do_one_test): Likewise.
15016         (do_test): Likewise.
15017         * string/test-strspn.c (do_one_test): Likewise.
15018         (do_test): Likewise.
15019         * string/test-strstr.c (do_one_test): Likewise.
15020         (do_test): Likewise.
15021
15022         * benchtests/Makefile (string-bench): Add string benchmarks.
15023         * benchtests/bench-bcopy-ifunc.c: New file.
15024         * benchtests/bench-bcopy.c: New file.
15025         * benchtests/bench-bzero-ifunc.c: New file.
15026         * benchtests/bench-bzero.c: New file.
15027         * benchtests/bench-memccpy-ifunc.c: New file.
15028         * benchtests/bench-memccpy.c: New file.
15029         * benchtests/bench-memchr-ifunc.c: New file.
15030         * benchtests/bench-memchr.c: New file.
15031         * benchtests/bench-memcmp-ifunc.c: New file.
15032         * benchtests/bench-memcmp.c: New file.
15033         * benchtests/bench-memmem-ifunc.c: New file.
15034         * benchtests/bench-memmem.c: New file.
15035         * benchtests/bench-memmove-ifunc.c: New file.
15036         * benchtests/bench-memmove.c: New file.
15037         * benchtests/bench-mempcpy-ifunc.c: New file.
15038         * benchtests/bench-mempcpy.c: New file.
15039         * benchtests/bench-memset-ifunc.c: New file.
15040         * benchtests/bench-memset.c: New file.
15041         * benchtests/bench-rawmemchr-ifunc.c: New file.
15042         * benchtests/bench-rawmemchr.c: New file.
15043         * benchtests/bench-stpcpy-ifunc.c: New file.
15044         * benchtests/bench-stpcpy.c: New file.
15045         * benchtests/bench-stpncpy-ifunc.c: New file.
15046         * benchtests/bench-stpncpy.c: New file.
15047         * benchtests/bench-strcasecmp-ifunc.c: New file.
15048         * benchtests/bench-strcasecmp.c: New file.
15049         * benchtests/bench-strcasestr-ifunc.c: New file.
15050         * benchtests/bench-strcasestr.c: New file.
15051         * benchtests/bench-strcat-ifunc.c: New file.
15052         * benchtests/bench-strcat.c: New file.
15053         * benchtests/bench-strchr-ifunc.c: New file.
15054         * benchtests/bench-strchr.c: New file.
15055         * benchtests/bench-strchrnul-ifunc.c: New file.
15056         * benchtests/bench-strchrnul.c: New file.
15057         * benchtests/bench-strcmp-ifunc.c: New file.
15058         * benchtests/bench-strcmp.c: New file.
15059         * benchtests/bench-strcpy-ifunc.c: New file.
15060         * benchtests/bench-strcpy.c: New file.
15061         * benchtests/bench-strcspn-ifunc.c: New file.
15062         * benchtests/bench-strcspn.c: New file.
15063         * benchtests/bench-strlen-ifunc.c: New file.
15064         * benchtests/bench-strlen.c: New file.
15065         * benchtests/bench-strncasecmp-ifunc.c: New file.
15066         * benchtests/bench-strncasecmp.c: New file.
15067         * benchtests/bench-strncat-ifunc.c: New file.
15068         * benchtests/bench-strncat.c: New file.
15069         * benchtests/bench-strncmp-ifunc.c: New file.
15070         * benchtests/bench-strncmp.c: New file.
15071         * benchtests/bench-strncpy-ifunc.c: New file.
15072         * benchtests/bench-strncpy.c: New file.
15073         * benchtests/bench-strnlen-ifunc.c: New file.
15074         * benchtests/bench-strnlen.c: New file.
15075         * benchtests/bench-strpbrk-ifunc.c: New file.
15076         * benchtests/bench-strpbrk.c: New file.
15077         * benchtests/bench-strrchr-ifunc.c: New file.
15078         * benchtests/bench-strrchr.c: New file.
15079         * benchtests/bench-strspn-ifunc.c: New file.
15080         * benchtests/bench-strspn.c: New file.
15081         * benchtests/bench-strstr-ifunc.c: New file.
15082         * benchtests/bench-strstr.c: New file.
15083
15084         * benchtests/Makefile: Disable parallel execution of targets.
15085         (string-bench): Add memcpy.
15086         (benchset): New variable to store a list of benchmark sets.
15087         (bench-func): Renamed from bench.
15088         (bench-set): New target.
15089         (bench): Depend on bench-func and bench-set.
15090         * benchtests/README: Add section on benchmark sets.
15091         * benchtests/bench-memcpy-ifunc.c: New file.
15092         * benchtests/bench-memcpy.c: New file.
15093         * benchtests/bench-string.h: New file.
15094
15095 2013-06-11  Andreas Schwab  <schwab@suse.de>
15096
15097         [BZ #15577]
15098         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15099         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15100         values in the triple.
15101         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15102         terminator in the group key.
15103
15104 2013-06-11  Andreas Jaeger  <aj@suse.de>
15105
15106         * po/zh_TW.po: Update Chinese (traditional) translation from
15107         translation project.
15108
15109 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15110
15111         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15112         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15113         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15114         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15115         (clock_getcpuclockid): Likewise.
15116         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15117         Add weak_alias and libc_hidden_def.
15118         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15119         * rt/clock_gettime.c (clock_gettime): Rename to
15120         __clock_gettime.  Add weak_alias and libc_hidden_def.
15121         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15122         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15123         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15124         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15125         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15126         Likewise.
15127         * rt/clock_settime.c (clock_settime): Rename to
15128         __clock_settime.  Add weak_alias and libc_hidden_def.
15129         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15130
15131 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15132
15133         * mach/err_boot.sub: Remove trailing whitespace.
15134         * mach/err_ipc.sub: Likewise.
15135         * mach/err_mach.sub: Likewise.
15136
15137         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15138         (ROUNDING_TESTS_double): Likewise.
15139         (ROUNDING_TESTS_long_double): Likewise.
15140         (ROUNDING_TESTS): Likewise.
15141         * math/libm-test.inc: Include <math-tests.h>.
15142         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15143         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15144         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15145         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15146
15147 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15148
15149         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15150         of assigning.
15151
15152 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15153
15154         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15155         otherwise empty TRANS lines.
15156         * sysdeps/gnu/errlist.c: Regenerated.
15157
15158         * catgets/gencat.c (error_print): Use (void) in function
15159         definition.
15160         * crypt/crypt_util.c (__init_des): Likewise.
15161         * crypt/speeds.c (Stop): Likewise.
15162         (main): Likewise.
15163         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15164         * inet/ruserpass.c (token): Likewise.
15165         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15166         * intl/localealias.c (extend_alias_table): Likewise.
15167         * intl/plural-exp.c (init_germanic_plural): Likewise.
15168         * libio/fcloseall.c (__fcloseall): Likewise.
15169         * libio/genops.c (_IO_flush_all): Likewise.
15170         (_IO_flush_all_linebuffered): Likewise.
15171         (_IO_cleanup): Likewise.
15172         (_IO_iter_begin): Likewise.
15173         (_IO_iter_end): Likewise.
15174         (_IO_list_lock): Likewise.
15175         (_IO_list_unlock): Likewise.
15176         (_IO_list_resetlock): Likewise.
15177         * libio/getchar.c (getchar): Likewise.
15178         * libio/getchar_u.c (getchar_unlocked): Likewise.
15179         * libio/getwchar.c (getwchar): Likewise.
15180         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15181         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15182         * login/getpt.c (__getpt): Likewise.
15183         * login/tst-utmp.c (main): Likewise.
15184         * malloc/hooks.c (__malloc_check_init): Likewise.
15185         * malloc/malloc.c (__malloc_stats): Likewise.
15186         * malloc/mtrace.c (tr_break): Likewise.
15187         (mtrace): Likewise.
15188         (muntrace): Likewise.
15189         * misc/fstab.c (endfsent): Likewise.
15190         * misc/getclktck.c (__getclktck): Likewise.
15191         * misc/getdtsz.c (__getdtablesize): Likewise.
15192         * misc/gethostid.c (gethostid): Likewise.
15193         * misc/getpagesize.c (__getpagesize): Likewise.
15194         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15195         (__get_nprocs): Likewise.
15196         (__get_phys_pages): Likewise.
15197         (__get_avphys_pages): Likewise.
15198         * misc/getttyent.c (getttyent): Likewise.
15199         (setttyent): Likewise.
15200         (endttyent): Likewise.
15201         * misc/getusershell.c (getusershell): Likewise.
15202         (endusershell): Likewise.
15203         (setusershell): Likewise.
15204         (initshells): Likewise.
15205         * misc/hsearch.c (__hdestroy): Likewise.
15206         * misc/sync.c (sync): Likewise.
15207         * misc/syslog.c (closelog_internal): Likewise.
15208         (closelog): Likewise.
15209         * misc/ttyslot.c (ttyslot): Likewise.
15210         * misc/vhangup.c (vhangup): Likewise.
15211         * posix/fork.c (__fork): Likewise.
15212         * posix/getegid.c (__getegid): Likewise.
15213         * posix/geteuid.c (__geteuid): Likewise.
15214         * posix/getgid.c (__getgid): Likewise.
15215         * posix/getpid.c (__getpid): Likewise.
15216         * posix/getppid.c (__getppid): Likewise.
15217         * posix/getuid.c (__getuid): Likewise.
15218         * posix/pause.c (pause): Likewise.
15219         * posix/setpgrp.c (setpgrp): Likewise.
15220         * posix/setsid.c (__setsid): Likewise.
15221         * posix/test-vfork.c (noop): Likewise.
15222         * resolv/gethnamaddr.c (_endhtent): Likewise.
15223         (_gethtent): Likewise.
15224         (ht_endhostent): Likewise.
15225         (gethostent): Likewise.
15226         (dns_service): Likewise.
15227         * stdlib/drand48.c (drand48): Likewise.
15228         * stdlib/lrand48.c (lrand48): Likewise.
15229         * stdlib/mrand48.c (mrand48): Likewise.
15230         * stdlib/rand.c (rand): Likewise.
15231         * stdlib/random.c (__random): Likewise.
15232         * stdlib/setenv.c (clearenv): Likewise.
15233         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15234         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15235         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15236         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15237         (__get_nprocs): Likewise.
15238         (__get_phys_pages): Likewise.
15239         (__get_avphys_pages): Likewise.
15240         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15241         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15242         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15243         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15244         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15245         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15246         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15247         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15248         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15249         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15250         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15251         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15252         * sysdeps/posix/clock.c (clock): Likewise.
15253         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15254         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15255         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15256         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15257         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15258         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15259         (__get_nprocs_conf): Likewise.
15260         (__get_phys_pages): Likewise.
15261         (__get_avphys_pages): Likewise.
15262         * time/clock.c (clock): Likewise.
15263         * time/tzset.c (__tzname_max): Likewise.
15264
15265 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15266
15267         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15268         (__bswap_32): Do not use "register".
15269         * crypt/crypt.c (_ufc_doit_r): Likewise.
15270         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15271         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15272         * gmon/gmon.c (__monstartup): Likewise.
15273         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15274         * hurd/hurdmalloc.c (more_memory): Likewise.
15275         (malloc): Likewise.
15276         (free): Likewise.
15277         (realloc): Likewise.
15278         (malloc_fork_prepare): Likewise.
15279         (malloc_fork_parent): Likewise.
15280         (malloc_fork_child): Likewise.
15281         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15282         (_svcauth_des): Likewise.
15283         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15284         * inet/inet_net.c (inet_network): Likewise.
15285         * inet/inet_netof.c (inet_netof): Likewise.
15286         * inet/rcmd.c (__validuser2_sa): Likewise.
15287         * io/fts.c (fts_open): Likewise.
15288         (fts_load): Likewise.
15289         (fts_close): Likewise.
15290         (fts_read): Likewise.
15291         (fts_children): Likewise.
15292         (fts_build): Likewise.
15293         (fts_stat): Likewise.
15294         (fts_sort): Likewise.
15295         (fts_alloc): Likewise.
15296         (fts_lfree): Likewise.
15297         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15298         (_IO_file_xsgetn): Likewise.
15299         (_IO_file_xsgetn_mmap): Likewise.
15300         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15301         (_IO_cookie_write): Likewise.
15302         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15303         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15304         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15305         * malloc/obstack.c (_obstack_begin): Likewise.
15306         (_obstack_begin_1): Likewise.
15307         (_obstack_newchunk): Likewise.
15308         (_obstack_allocated_p): Likewise.
15309         (obstack_free): Likewise.
15310         (_obstack_memory_used): Likewise.
15311         * misc/getttyent.c (getttynam): Likewise.
15312         (getttyent): Likewise.
15313         (skip): Likewise.
15314         (value): Likewise.
15315         * misc/getusershell.c (initshells): Likewise.
15316         * misc/syslog.c (__vsyslog_chk): Likewise.
15317         * misc/ttyslot.c (ttyslot): Likewise.
15318         * nis/nis_hash.c (__nis_hash): Likewise.
15319         * posix/fnmatch_loop.c (FCT): Likewise.
15320         * posix/getconf.c (print_all): Likewise.
15321         (main): Likewise.
15322         * posix/getopt.c (exchange): Likewise.
15323         * posix/glob.c (globfree): Likewise.
15324         (prefix_array): Likewise.
15325         (__glob_pattern_type): Likewise.
15326         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15327         (NS_GET32): Likewise.
15328         (NS_PUT16): Likewise.
15329         (NS_PUT32): Likewise.
15330         * resolv/gethnamaddr.c (getanswer): Likewise.
15331         (gethostbyname2): Likewise.
15332         (gethostbyaddr): Likewise.
15333         (_gethtent): Likewise.
15334         (_gethtbyname2): Likewise.
15335         (_gethtbyaddr): Likewise.
15336         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15337         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15338         * resolv/res_init.c (__res_vinit): Likewise.
15339         (net_mask): Likewise.
15340         * resolv/res_mkquery.c (outchar): Likewise.
15341         (PRINT): Likewise.
15342         * stdio-common/printf_fp.c (outchar): Likewise.
15343         (PRINT): Likewise.
15344         * stdio-common/printf_fphex.c (outchar): Likewise.
15345         (PRINT): Likewise.
15346         * stdio-common/printf_size.c (outchar): Likewise.
15347         (PRINT): Likewise.
15348         * stdio-common/test_rdwr.c (main): Likewise.
15349         * stdio-common/tfformat.c (matches): Likewise.
15350         * stdio-common/vfprintf.c (outchar): Likewise.
15351         (printf_unknown): Likewise.
15352         (buffered_vfprintf): Likewise.
15353         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15354         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15355         (ReadFile): Likewise.
15356         * stdlib/qsort.c (SWAP): Likewise.
15357         (_quicksort): Likewise.
15358         * stdlib/setenv.c (__add_to_environ): Likewise.
15359         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15360         * stdlib/strtol_l.c (__strtol_l): Likewise.
15361         * stdlib/tst-strtod.c (main): Likewise.
15362         * stdlib/tst-strtol.c (main): Likewise.
15363         * stdlib/tst-strtoll.c (main): Likewise.
15364         * string/bits/string2.h (__strcmp_cc): Likewise.
15365         (__strcmp_cg): Likewise.
15366         (__strcspn_c1): Likewise.
15367         (__strcspn_c2): Likewise.
15368         (__strcspn_c3): Likewise.
15369         (__strspn_c1): Likewise.
15370         (__strspn_c2): Likewise.
15371         (__strspn_c3): Likewise.
15372         (__strsep_1c): Likewise.
15373         (__strsep_2c): Likewise.
15374         (__strsep_3c): Likewise.
15375         * string/memccpy.c (__memccpy): Likewise.
15376         * string/stpcpy.c (__stpcpy): Likewise.
15377         * string/strcmp.c (strcmp): Likewise.
15378         * string/strrchr.c (strrchr): Likewise.
15379         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15380         Likewise.
15381         * sysdeps/mach/hurd/getcwd.c
15382         (_hurd_canonicalize_directory_name_internal): Likewise.
15383         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15384         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15385         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15386         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15387         Likewise, in both definitions.
15388         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15389         definitions.
15390         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15391         64] (__bswap_64): Likewise.
15392         * time/test_time.c (main): Likewise.
15393         * time/tzfile.c (__tzfile_read): Likewise.
15394         (__tzfile_compute): Likewise.
15395         * time/tzset.c (__tzset_parse_tz): Likewise.
15396         (tzset_internal): Likewise.
15397         (compute_change): Likewise.
15398         * wcsmbs/wcscat.c (__wcscat): Likewise.
15399         * wcsmbs/wcschr.c (wcschr): Likewise.
15400         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15401         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15402         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15403         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15404         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15405         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15406         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15407         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15408         * wcsmbs/wmemset.c (wmemset): Likewise.
15409
15410 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15411
15412         * scripts/config.guess: Update to version 2013-05-16.
15413         * scripts/config.sub: Update to version 2013-04-24.
15414         * scripts/install-sh: Update to version 2011-11-20.07.
15415         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15416         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15417
15418 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15419
15420         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15421         * elf/sln.c: Likewise.
15422         * hurd/hurd/ioctl.h: Likewise.
15423         * hurd/hurdmalloc.c: Likewise.
15424         * hurd/xattr.c: Likewise.
15425         * include/shlib-compat.h: Likewise.
15426         * inet/ruserpass.c: Likewise.
15427         * libio/iofgets_u.c: Likewise.
15428         * libio/iofgetws_u.c: Likewise.
15429         * locale/programs/ld-identification.c: Likewise.
15430         * locale/programs/ld-time.c: Likewise.
15431         * mach/msg-destroy.c: Likewise.
15432         * nss/nss_files/files-netgrp.c: Likewise.
15433         * resolv/res_data.c: Likewise.
15434         * soft-fp/op-1.h: Likewise.
15435         * soft-fp/op-2.h: Likewise.
15436         * soft-fp/op-4.h: Likewise.
15437         * soft-fp/op-common.h: Likewise.
15438         * stdio-common/printf_fphex.c: Likewise.
15439         * stdlib/strtod_l.c: Likewise.
15440         * sunrpc/rpc/clnt.h: Likewise.
15441         * sysdeps/generic/framestate.c: Likewise.
15442         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15443         * sysdeps/i386/bsd-setjmp.S: Likewise.
15444         * sysdeps/i386/__longjmp.S: Likewise.
15445         * sysdeps/i386/setjmp.S: Likewise.
15446         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15447         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15448         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15449         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15451         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15452         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15453         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15454         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15455         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15456         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15457         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15458         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15459         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15460         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15461         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15462         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15463         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15464         * sysdeps/ieee754/support.c: Likewise.
15465         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15466         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15467         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15468         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15469         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15470         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15471         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15472         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15473         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15474         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15475         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15476         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15477         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15478         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15479         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15480         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15481         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15483
15484 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15485
15486         * posix/transbug.c: Remove executable mode.
15487
15488 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15489
15490         * crypt/speeds.c: Remove trailing whitespace.
15491         * dlfcn/default.c: Likewise.
15492         * elf/ifuncdep2.c: Likewise.
15493         * elf/ifuncmain1.c: Likewise.
15494         * elf/ifuncmain1vis.c: Likewise.
15495         * elf/testobj.h: Likewise.
15496         * elf/tst-stackguard1.c: Likewise.
15497         * gmon/sys/gmon.h: Likewise.
15498         * hurd/hurdmsg.c: Likewise.
15499         * hurd/new-fd.c: Likewise.
15500         * hurd/ports-get.c: Likewise.
15501         * iconvdata/ibm1008_420.c: Likewise.
15502         * inet/tst-getni1.c: Likewise.
15503         * inet/tst-getni2.c: Likewise.
15504         * libio/ioungetc.c: Likewise.
15505         * libio/wfiledoalloc.c: Likewise.
15506         * manual/libm-err-tab.pl: Likewise.
15507         * math/w_dremf.c: Likewise.
15508         * misc/ftruncate.c: Likewise.
15509         * posix/bug-glob2.c: Likewise.
15510         * posix/tst-pcre.c: Likewise.
15511         * posix/wait4.c: Likewise.
15512         * resolv/README: Likewise.
15513         * resolv/res_debug.h: Likewise.
15514         * resolv/tst-inet_ntop.c: Likewise.
15515         * setjmp/bug269-setjmp.c: Likewise.
15516         * soft-fp/extended.h: Likewise.
15517         * soft-fp/op-1.h: Likewise.
15518         * soft-fp/op-2.h: Likewise.
15519         * soft-fp/op-4.h: Likewise.
15520         * soft-fp/op-8.h: Likewise.
15521         * soft-fp/testit.c: Likewise.
15522         * stdio-common/bug16.c: Likewise.
15523         * stdlib/random.c: Likewise.
15524         * sunrpc/rpcsvc/rquota.x: Likewise.
15525         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15526         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15527         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15528         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15529         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15530         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15531         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15532         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15533         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15534         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15535         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15536         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15537         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15538         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15539         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15540         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15541         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15542         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15543         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15544         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15545         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15546         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15547         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15548         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15549         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15550         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15551         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15552         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15553         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15554         * sysdeps/ieee754/s_lib_version.c: Likewise.
15555         * sysdeps/mach/hurd/check_fds.c: Likewise.
15556         * sysdeps/mach/hurd/getsockname.c: Likewise.
15557         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15558         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15559         * sysdeps/powerpc/bits/link.h: Likewise.
15560         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15561         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15562         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15563         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15564         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15565         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15566         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15567         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15568         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15569         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15570         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15571         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15572         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15573         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15574         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15575         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15576         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15577         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15578         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15579         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15580         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15581         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15582         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15583         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15584         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15585         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15586         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15587         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15588         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15589         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15590         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15591         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15592         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15593         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15594         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15595         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15596         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15597         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15598         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15599         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15600         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15601         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15602         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15603         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15604         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15605         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15606         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15607         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15608         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15609         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15611         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15612         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15613         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15614         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15615         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15616         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15617         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15618         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15619         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15620         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15621         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15622         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15623         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15624         * sysdeps/powerpc/sysdep.h: Likewise.
15625         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15626         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15627         * sysdeps/sh/dl-trampoline.S: Likewise.
15628         * sysdeps/sh/memset.S: Likewise.
15629         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15630         * sysdeps/sh/strlen.S: Likewise.
15631         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15632         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15633         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15634         * sysdeps/sparc/sparc32/rem.S: Likewise.
15635         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15636         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15637         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15638         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15639         * sysdeps/sparc/sparc32/urem.S: Likewise.
15640         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15641         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15642         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15643         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15644         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15645         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15646         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15647         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15648         * sysdeps/unix/bsd/times.c: Likewise.
15649         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15650         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15654         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15655         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15656         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15657         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15658         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15659         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15660         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15661         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15662         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15663         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15664         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15665         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15666         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15667         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15668         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15669         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15670         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15671         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15672         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15673         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15674         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15675         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15676         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15677         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15678         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15679         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15680         * sysdeps/x86_64/strcspn.S: Likewise.
15681
15682 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15683
15684         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15685         generated file.  Regenerate properly from gen-translit.pl.
15686         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15687         locale/C-translit.h.
15688
15689 2013-06-05  Andreas Schwab  <schwab@suse.de>
15690
15691         [BZ #15100]
15692         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15693         week as 6 instead of -1.
15694         * time/tst-strptime.c (day_tests): Add test case.
15695
15696 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15697
15698         * sysdeps/generic/math_private.h
15699         (libc_feholdexcept_setround_53bit): Replace with
15700         libc_feholdsetround_53bit.
15701         (libc_feupdateenv_53bit): Replace with
15702         libc_feresetround_53bit.
15703         (SET_RESTORE_ROUND_53BIT): Adjust.
15704
15705 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15706
15707         * string/test-strchrnul.c: Add copyright header.
15708
15709         * posix/tst-getaddrinfo4.c: Increase test timeout.
15710
15711 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15712
15713         [BZ #15536]
15714         * math/libm-test.inc (MAX_EXP): Remove
15715         (MIN_EXP): Define.
15716         (ulp): Use MIN_EXP - MANT_DIG.
15717         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15718
15719 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15720
15721         * po/be.po: Revert last change.
15722         * po/zh_CN.po: Likewise.
15723         * po/header.pot: Likewise.
15724
15725 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15726
15727         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15728         link-libc-deps to empty as target-specific variable.
15729         * Makerules (link-libc-args): New variable.
15730         (libc-for-link): Likewise.
15731         (link-libc-deps): Likewise.
15732         (lib%.so): Depend on $(link-libc-deps).  Link with
15733         $(link-libc-args).
15734         (build-module): Link with $(link-libc-args).
15735         (build-module-asneeded): Likewise.
15736         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15737         list of objects.
15738         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15739         target-specific variable.
15740         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15741         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15742         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15743         libc.
15744         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15745         libc and ld.so.
15746         ($(objpfx)libpcprofile.so): Likewise.
15747         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15748         libc_nonshared.a.
15749         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15750         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15751         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15752         $(link-libc-deps).
15753         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15754         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15755         * login/Makefile ($(objpfx)libutil.so): Likewise.
15756         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15757         * math/Makefile ($(objpfx)libm.so): Likewise.
15758         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15759         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15760         variable instead of depending directly on libc.
15761         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15762         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15763         $(link-libc-deps).
15764         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15765         libc.
15766         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15767         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15768         ($(objpfx)libanl.so): Likewise.
15769         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15770         ld.so.
15771         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15772         $(link-libc-deps).
15773         * sysdeps/i386/fpu/Makefile: Remove file.
15774         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15775         ($(objpfx)libm.so): Remove dependency on ld.so.
15776
15777 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15778
15779         [BZ # 15553]
15780         * nis/yp_xdr.c (XDRMAXNAME): Define.
15781         (XDRMAXRECORD): Define.
15782         (xdr_domainname): Use XDRMAXNAME.
15783         (xdr_mapname): Likewise.
15784         (xdr_peername): Likewise.
15785         (xdr_keydat): Use XDRMAXRECORD.
15786         (xdr_valdat): Likewise.
15787
15788 2013-05-30  Jeff Law  <law@redhat.com>
15789
15790         [BZ #14256]
15791         * manual/errno.texi (ESTALE): Update to account for more than
15792         just NFS file systems.
15793         * sysdeps/gnu/errlist.c: Regenerated.
15794
15795 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15796
15797         [BZ #15465]
15798         * elf/Makefile (tests): Add tst-null-argv.
15799         (modules-names):  Add tst-null-argv-lib.
15800         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15801         (tst-null-argv-ENV): Set environment for tst-null-argv.
15802         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15803         (RTLD_PROGNAME): New macro.
15804         * elf/tst-null-argv.c: New test case.
15805         * elf/tst-null-argv-lib.c: Library for test case.
15806         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15807         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15808         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15809         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15810         * elf/dl-init.c (call_init): Likewise.
15811         (_dl_init): Likewise.
15812         * elf/dl-load.c (print_search_path): Likewise.
15813         (_dl_map_object): Likewise.
15814         * elf/dl-lookup.c (do_lookup_x): Likewise.
15815         (add_dependency): Likewise.
15816         (_dl_lookup_symbol_x): Likewise.
15817         (_dl_debug_bindings): Likewise.
15818         * elf/dl-open.c (_dl_show_scope): Likewise.
15819         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15820         * elf/dl-version.c (match_symbol): Likewise.
15821         (_dl_check_map_versions): Likewise.
15822         * elf/rtld.c (dl_main): Likewise.
15823         (print_unresolved): Use RTLD_PROGNAME.
15824         (print_missing_version): Likewise.
15825         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15826         (elf_machine_rela): Likewise.
15827         * sysdeps/powerpc/powerpc32/dl-machine.c
15828         (__process_machine_rela): Likewise.
15829         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15830         Likewise.
15831         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15832         Likewise.
15833         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15834         Likewise.
15835         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15836         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15837         Likewise.
15838         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15839         Likewise.
15840         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15841
15842 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15843
15844         * po/be.po: Add descriptive title.
15845         * po/zh_CN.po: Likewise.
15846         * po/header.pot: Likewise.
15847
15848 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15849
15850         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15851         error message.
15852         (enlarge_archive): Likewise.
15853
15854 2013-05-28  Ben North  <ben@redfrontdoor.org>
15855
15856         * manual/arith.texi (frexp): It is the magnitude of the return
15857         value which lies in [0.5, 1), not the return value itself.
15858
15859 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15860
15861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15862
15863 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15864
15865         * stdio-common/bug26.c (main): Correct fscanf template.
15866
15867         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15868         declare _dl_skip_args.
15869
15870         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15871         Don't declare.
15872
15873         * manual/platform.texi: Add missing @end deftypefun.
15874
15875 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15876
15877         [BZ #15529]
15878         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15879         bit of mantissa of 2^16382.
15880         * math/libm-test.inc (hypot_test_data): Add more tests.
15881
15882         * math/libm-test.inc: Add drem and pow10 to list of tested
15883         functions.
15884         (pow10_test): New function.
15885         (drem_test): Likewise.
15886         (drem_test_tonearest): Likewise.
15887         (drem_test_towardzero): Likewise.
15888         (drem_test_downward): Likewise.
15889         (drem_test_upward): Likewise.
15890         (main): Call the new functions.
15891
15892         * math/libm-test.inc (finite_test_data): Remove.
15893         (finite_test): Run tests from isfinite_test_data.
15894         (gamma_test_data): Remove.
15895         (gamma_test): Run tests from lgamma_test_data.
15896         * sysdeps/i386/fpu/libm-test-ulps: Update.
15897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15898
15899 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15900
15901         * manual/platform.texi: Add PowerPC PPR function set documentation.
15902         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15903         implementation.
15904
15905 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15906
15907         * math/libm-test.inc (MAX_EXP): Define.
15908         (ULPDIFF): Define.
15909         (ulp): New function.
15910         (check_float_internal): Use ULPDIFF.
15911         (cpow_test): Disable failing test.
15912         (check_ulp): Test ulp() implemetnation.
15913         (main): Call check_ulp before starting tests.
15914
15915 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15916
15917         * math/gen-libm-test.pl (generate_testfile): Do not handle
15918         START_DATA and END_DATA.
15919         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15920         END_DATA.
15921         (acos_tonearest_test_data): Likewise.
15922         (acos_towardzero_test_data): Likewise.
15923         (acos_downward_test_data): Likewise.
15924         (acos_upward_test_data): Likewise.
15925         (acosh_test_data): Likewise.
15926         (asin_test_data): Likewise.
15927         (asin_tonearest_test_data): Likewise.
15928         (asin_towardzero_test_data): Likewise.
15929         (asin_downward_test_data): Likewise.
15930         (asin_upward_test_data): Likewise.
15931         (asinh_test_data): Likewise.
15932         (atan_test_data): Likewise.
15933         (atanh_test_data): Likewise.
15934         (atan2_test_data): Likewise.
15935         (cabs_test_data): Likewise.
15936         (cacos_test_data): Likewise.
15937         (cacosh_test_data): Likewise.
15938         (carg_test_data): Likewise.
15939         (casin_test_data): Likewise.
15940         (casinh_test_data): Likewise.
15941         (catan_test_data): Likewise.
15942         (catanh_test_data): Likewise.
15943         (cbrt_test_data): Likewise.
15944         (ccos_test_data): Likewise.
15945         (ccosh_test_data): Likewise.
15946         (ceil_test_data): Likewise.
15947         (cexp_test_data): Likewise.
15948         (cimag_test_data): Likewise.
15949         (clog_test_data): Likewise.
15950         (clog10_test_data): Likewise.
15951         (conj_test_data): Likewise.
15952         (copysign_test_data): Likewise.
15953         (cos_test_data): Likewise.
15954         (cos_tonearest_test_data): Likewise.
15955         (cos_towardzero_test_data): Likewise.
15956         (cos_downward_test_data): Likewise.
15957         (cos_upward_test_data): Likewise.
15958         (cosh_test_data): Likewise.
15959         (cosh_tonearest_test_data): Likewise.
15960         (cosh_towardzero_test_data): Likewise.
15961         (cosh_downward_test_data): Likewise.
15962         (cosh_upward_test_data): Likewise.
15963         (cpow_test_data): Likewise.
15964         (cproj_test_data): Likewise.
15965         (creal_test_data): Likewise.
15966         (csin_test_data): Likewise.
15967         (csinh_test_data): Likewise.
15968         (csqrt_test_data): Likewise.
15969         (ctan_test_data): Likewise.
15970         (ctan_tonearest_test_data): Likewise.
15971         (ctan_towardzero_test_data): Likewise.
15972         (ctan_downward_test_data): Likewise.
15973         (ctan_upward_test_data): Likewise.
15974         (ctanh_test_data): Likewise.
15975         (ctanh_tonearest_test_data): Likewise.
15976         (ctanh_towardzero_test_data): Likewise.
15977         (ctanh_downward_test_data): Likewise.
15978         (ctanh_upward_test_data): Likewise.
15979         (erf_test_data): Likewise.
15980         (erfc_test_data): Likewise.
15981         (exp_test_data): Likewise.
15982         (exp_tonearest_test_data): Likewise.
15983         (exp_towardzero_test_data): Likewise.
15984         (exp_downward_test_data): Likewise.
15985         (exp_upward_test_data): Likewise.
15986         (exp10_test_data): Likewise.
15987         (exp2_test_data): Likewise.
15988         (expm1_test_data): Likewise.
15989         (fabs_test_data): Likewise.
15990         (fdim_test_data): Likewise.
15991         (finite_test_data): Likewise.
15992         (floor_test_data): Likewise.
15993         (fma_test_data): Likewise.
15994         (fma_towardzero_test_data): Likewise.
15995         (fma_downward_test_data): Likewise.
15996         (fma_upward_test_data): Likewise.
15997         (fmax_test_data): Likewise.
15998         (fmin_test_data): Likewise.
15999         (fmod_test_data): Likewise.
16000         (fpclassify_test_data): Likewise.
16001         (frexp_test_data): Likewise.
16002         (gamma_test_data): Likewise.
16003         (hypot_test_data): Likewise.
16004         (ilogb_test_data): Likewise.
16005         (isfinite_test_data): Likewise.
16006         (isgreater_test_data): Likewise.
16007         (isgreaterequal_test_data): Likewise.
16008         (isinf_test_data): Likewise.
16009         (isless_test_data): Likewise.
16010         (islessequal_test_data): Likewise.
16011         (islessgreater_test_data): Likewise.
16012         (isnan_test_data): Likewise.
16013         (isnormal_test_data): Likewise.
16014         (issignaling_test_data): Likewise.
16015         (isunordered_test_data): Likewise.
16016         (j0_test_data): Likewise.
16017         (j1_test_data): Likewise.
16018         (jn_test_data): Likewise.
16019         (ldexp_test_data): Likewise.
16020         (lgamma_test_data): Likewise.
16021         (lrint_test_data): Likewise.
16022         (lrint_tonearest_test_data): Likewise.
16023         (lrint_towardzero_test_data): Likewise.
16024         (lrint_downward_test_data): Likewise.
16025         (lrint_upward_test_data): Likewise.
16026         (llrint_test_data): Likewise.
16027         (llrint_tonearest_test_data): Likewise.
16028         (llrint_towardzero_test_data): Likewise.
16029         (llrint_downward_test_data): Likewise.
16030         (llrint_upward_test_data): Likewise.
16031         (log_test_data): Likewise.
16032         (log10_test_data): Likewise.
16033         (log1p_test_data): Likewise.
16034         (log2_test_data): Likewise.
16035         (logb_test_data): Likewise.
16036         (logb_downward_test_data): Likewise.
16037         (lround_test_data): Likewise.
16038         (llround_test_data): Likewise.
16039         (modf_test_data): Likewise.
16040         (nearbyint_test_data): Likewise.
16041         (nextafter_test_data): Likewise.
16042         (nexttoward_test_data): Likewise.
16043         (pow_test_data): Likewise.
16044         (pow_tonearest_test_data): Likewise.
16045         (pow_towardzero_test_data): Likewise.
16046         (pow_downward_test_data): Likewise.
16047         (pow_upward_test_data): Likewise.
16048         (remainder_test_data): Likewise.
16049         (remainder_tonearest_test_data): Likewise.
16050         (remainder_towardzero_test_data): Likewise.
16051         (remainder_downward_test_data): Likewise.
16052         (remainder_upward_test_data): Likewise.
16053         (remquo_test_data): Likewise.
16054         (rint_test_data): Likewise.
16055         (rint_tonearest_test_data): Likewise.
16056         (rint_towardzero_test_data): Likewise.
16057         (rint_downward_test_data): Likewise.
16058         (rint_upward_test_data): Likewise.
16059         (round_test_data): Likewise.
16060         (scalb_test_data): Likewise.
16061         (scalbn_test_data): Likewise.
16062         (scalbln_test_data): Likewise.
16063         (signbit_test_data): Likewise.
16064         (sin_test_data): Likewise.
16065         (sin_tonearest_test_data): Likewise.
16066         (sin_towardzero_test_data): Likewise.
16067         (sin_downward_test_data): Likewise.
16068         (sin_upward_test_data): Likewise.
16069         (sincos_test_data): Likewise.
16070         (sinh_test_data): Likewise.
16071         (sinh_tonearest_test_data): Likewise.
16072         (sinh_towardzero_test_data): Likewise.
16073         (sinh_downward_test_data): Likewise.
16074         (sinh_upward_test_data): Likewise.
16075         (sqrt_test_data): Likewise.
16076         (tan_test_data): Likewise.
16077         (tan_tonearest_test_data): Likewise.
16078         (tan_towardzero_test_data): Likewise.
16079         (tan_downward_test_data): Likewise.
16080         (tan_upward_test_data): Likewise.
16081         (tanh_test_data): Likewise.
16082         (tgamma_test_data): Likewise.
16083         (trunc_test_data): Likewise.
16084         (y0_test_data): Likewise.
16085         (y1_test_data): Likewise.
16086         (yn_test_data): Likewise.
16087         (significand_test_data): Likewise.
16088
16089         * math/gen-libm-test.pl (@functions): Remove variable.
16090         (generate_testfile): Don't handle START and END lines.
16091         * math/libm-test.inc (START): New macro.
16092         (END): Likewise.
16093         (END_COMPLEX): Likewise.
16094         (acos_test): Use END macro without arguments.
16095         (acos_test_tonearest): Likewise.
16096         (acos_test_towardzero): Likewise.
16097         (acos_test_downward): Likewise.
16098         (acos_test_upward): Likewise.
16099         (acosh_test): Likewise.
16100         (asin_test): Likewise.
16101         (asin_test_tonearest): Likewise.
16102         (asin_test_towardzero): Likewise.
16103         (asin_test_downward): Likewise.
16104         (asin_test_upward): Likewise.
16105         (asinh_test): Likewise.
16106         (atan_test): Likewise.
16107         (atanh_test): Likewise.
16108         (atan2_test): Likewise.
16109         (cabs_test): Likewise.
16110         (cacos_test): Use END_COMPLEX macro without arguments.
16111         (cacosh_test): Likewise.
16112         (carg_test): Use END macro without arguments.
16113         (casin_test): Use END_COMPLEX macro without arguments.
16114         (casinh_test): Likewise.
16115         (catan_test): Likewise.
16116         (catanh_test): Likewise.
16117         (cbrt_test): Use END macro without arguments.
16118         (ccos_test): Use END_COMPLEX macro without arguments.
16119         (ccosh_test): Likewise.
16120         (ceil_test): Use END macro without arguments.
16121         (cexp_test): Use END_COMPLEX macro without arguments.
16122         (cimag_test): Use END macro without arguments.
16123         (clog_test): Use END_COMPLEX macro without arguments.
16124         (clog10_test): Likewise.
16125         (conj_test): Likewise.
16126         (copysign_test): Use END macro without arguments.
16127         (cos_test): Likewise.
16128         (cos_test_tonearest): Likewise.
16129         (cos_test_towardzero): Likewise.
16130         (cos_test_downward): Likewise.
16131         (cos_test_upward): Likewise.
16132         (cosh_test): Likewise.
16133         (cosh_test_tonearest): Likewise.
16134         (cosh_test_towardzero): Likewise.
16135         (cosh_test_downward): Likewise.
16136         (cosh_test_upward): Likewise.
16137         (cpow_test): Use END_COMPLEX macro without arguments.
16138         (cproj_test): Likewise.
16139         (creal_test): Use END macro without arguments.
16140         (csin_test): Use END_COMPLEX macro without arguments.
16141         (csinh_test): Likewise.
16142         (csqrt_test): Likewise.
16143         (ctan_test): Likewise.
16144         (ctan_test_tonearest): Likewise.
16145         (ctan_test_towardzero): Likewise.
16146         (ctan_test_downward): Likewise.
16147         (ctan_test_upward): Likewise.
16148         (ctanh_test): Likewise.
16149         (ctanh_test_tonearest): Likewise.
16150         (ctanh_test_towardzero): Likewise.
16151         (ctanh_test_downward): Likewise.
16152         (ctanh_test_upward): Likewise.
16153         (erf_test): Use END macro without arguments.
16154         (erfc_test): Likewise.
16155         (exp_test): Likewise.
16156         (exp_test_tonearest): Likewise.
16157         (exp_test_towardzero): Likewise.
16158         (exp_test_downward): Likewise.
16159         (exp_test_upward): Likewise.
16160         (exp10_test): Likewise.
16161         (exp2_test): Likewise.
16162         (expm1_test): Likewise.
16163         (fabs_test): Likewise.
16164         (fdim_test): Likewise.
16165         (finite_test): Likewise.
16166         (floor_test): Likewise.
16167         (fma_test): Likewise.
16168         (fma_test_towardzero): Likewise.
16169         (fma_test_downward): Likewise.
16170         (fma_test_upward): Likewise.
16171         (fmax_test): Likewise.
16172         (fmin_test): Likewise.
16173         (fmod_test): Likewise.
16174         (fpclassify_test): Likewise.
16175         (frexp_test): Likewise.
16176         (gamma_test): Likewise.
16177         (hypot_test): Likewise.
16178         (ilogb_test): Likewise.
16179         (isfinite_test): Likewise.
16180         (isgreater_test): Likewise.
16181         (isgreaterequal_test): Likewise.
16182         (isinf_test): Likewise.
16183         (isless_test): Likewise.
16184         (islessequal_test): Likewise.
16185         (islessgreater_test): Likewise.
16186         (isnan_test): Likewise.
16187         (isnormal_test): Likewise.
16188         (issignaling_test): Likewise.
16189         (isunordered_test): Likewise.
16190         (j0_test): Likewise.
16191         (j1_test): Likewise.
16192         (jn_test): Likewise.
16193         (ldexp_test): Likewise.
16194         (lgamma_test): Likewise.
16195         (lrint_test): Likewise.
16196         (lrint_test_tonearest): Likewise.
16197         (lrint_test_towardzero): Likewise.
16198         (lrint_test_downward): Likewise.
16199         (lrint_test_upward): Likewise.
16200         (llrint_test): Likewise.
16201         (llrint_test_tonearest): Likewise.
16202         (llrint_test_towardzero): Likewise.
16203         (llrint_test_downward): Likewise.
16204         (llrint_test_upward): Likewise.
16205         (log_test): Likewise.
16206         (log10_test): Likewise.
16207         (log1p_test): Likewise.
16208         (log2_test): Likewise.
16209         (logb_test): Likewise.
16210         (logb_test_downward): Likewise.
16211         (lround_test): Likewise.
16212         (llround_test): Likewise.
16213         (modf_test): Likewise.
16214         (nearbyint_test): Likewise.
16215         (nextafter_test): Likewise.
16216         (nexttoward_test): Likewise.
16217         (pow_test): Likewise.
16218         (pow_test_tonearest): Likewise.
16219         (pow_test_towardzero): Likewise.
16220         (pow_test_downward): Likewise.
16221         (pow_test_upward): Likewise.
16222         (remainder_test): Likewise.
16223         (remainder_test_tonearest): Likewise.
16224         (remainder_test_towardzero): Likewise.
16225         (remainder_test_downward): Likewise.
16226         (remainder_test_upward): Likewise.
16227         (remquo_test): Likewise.
16228         (rint_test): Likewise.
16229         (rint_test_tonearest): Likewise.
16230         (rint_test_towardzero): Likewise.
16231         (rint_test_downward): Likewise.
16232         (rint_test_upward): Likewise.
16233         (round_test): Likewise.
16234         (scalb_test): Likewise.
16235         (scalbn_test): Likewise.
16236         (scalbln_test): Likewise.
16237         (signbit_test): Likewise.
16238         (sin_test): Likewise.
16239         (sin_test_tonearest): Likewise.
16240         (sin_test_towardzero): Likewise.
16241         (sin_test_downward): Likewise.
16242         (sin_test_upward): Likewise.
16243         (sincos_test): Likewise.
16244         (sinh_test): Likewise.
16245         (sinh_test_tonearest): Likewise.
16246         (sinh_test_towardzero): Likewise.
16247         (sinh_test_downward): Likewise.
16248         (sinh_test_upward): Likewise.
16249         (sqrt_test): Likewise.
16250         (tan_test): Likewise.
16251         (tan_test_tonearest): Likewise.
16252         (tan_test_towardzero): Likewise.
16253         (tan_test_downward): Likewise.
16254         (tan_test_upward): Likewise.
16255         (tanh_test): Likewise.
16256         (tgamma_test): Likewise.
16257         (trunc_test): Likewise.
16258         (y0_test): Likewise.
16259         (y1_test): Likewise.
16260         (yn_test): Likewise.
16261         (significand_test): Likewise.
16262
16263 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16264
16265         [BZ #15381]
16266         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16267
16268 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16269
16270         [BZ #14894]
16271         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16272         __ppc_mdoio and __ppc_mdoom.
16273         * manual/platform.texi: Document new functions __ppc_yield,
16274         __ppc_mdoio and __ppc_mdoom.
16275
16276 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16277
16278         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16279         (main): Mention "tls" pseudo-hwcap is legacy.
16280         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16281
16282 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16283
16284         * math/gen-libm-test.pl (parse_args): Output only string of
16285         arguments as text for test name, not full call or descriptions of
16286         tests for extra outputs.
16287         (generate_testfile): Do not pass function name to parse_args.
16288         Generate this_func variable from START.
16289         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16290         field to arg_str.
16291         (struct test_ff_f_data): Likewise.
16292         (test_ff_f_data_nexttoward): Likewise.
16293         (struct test_fi_f_data): Likewise.
16294         (struct test_fl_f_data): Likewise.
16295         (struct test_if_f_data): Likewise.
16296         (struct test_fff_f_data): Likewise.
16297         (struct test_c_f_data): Likewise.
16298         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16299         (struct test_fF_f1_data): Likewise.
16300         (struct test_ffI_f1_data): Likewise.
16301         (struct test_c_c_data): Rename test_name field to arg_str.
16302         (struct test_cc_c_data): Likewise.
16303         (struct test_f_i_data): Likewise.
16304         (struct test_ff_i_data): Likewise.
16305         (struct test_f_l_data): Likewise.
16306         (struct test_f_L_data): Likewise.
16307         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16308         and extra2_name.
16309         (COMMON_TEST_SETUP): New macro.
16310         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16311         (COMMON_TEST_CLEANUP): Likewise.
16312         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16313         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16314         macros.
16315         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16316         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16317         macros.
16318         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16319         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16320         cleanup macros.
16321         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16322         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16323         macros.
16324         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16325         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16326         macros.
16327         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16328         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16329         cleanup macros.
16330         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16331         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16332         cleanup macros.
16333         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16334         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16335         cleanup macros.
16336         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16337         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16338         macros.
16339         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16340         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16341         macros.
16342         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16343         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16344         macros.
16345         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16346         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16347         cleanup macros.
16348         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16349         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16350         cleanup macros.
16351         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16352         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16353         macros.
16354         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16355         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16356         cleanup macros.
16357         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16358         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16359         macros.
16360         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16361         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16362         macros.
16363         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16364         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16365         cleanup macros.
16366         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16367
16368 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16369
16370         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16371         to _sifields.sigfault.
16372         (si_addr_lsb): Define new macro.
16373         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16374         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16375         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16376
16377 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16378
16379         [BZ #15441]
16380         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16381         returns -1.
16382         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16383         null return -1.
16384         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16385         loading the domain.
16386
16387 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16388
16389         * math/gen-libm-test.pl (parse_args): Do not include expected
16390         result in test name.
16391         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16392         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16393         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16394         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16395         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16397
16398 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16399
16400         * benchtests/Makefile: Sort function entries.
16401
16402         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16403         tanh, asinh, acosh, atanh.
16404         * benchtests/acos-inputs: New file.
16405         * benchtests/acosh-inputs: New file.
16406         * benchtests/asin-inputs: New file.
16407         * benchtests/asinh-inputs: New file.
16408         * benchtests/atanh-inputs: New file.
16409         * benchtests/cosh-inputs: New file.
16410         * benchtests/log-inputs: New file.
16411         * benchtests/sinh-inputs: New file.
16412         * benchtests/tanh-inputs: New file.
16413
16414 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16415
16416         [BZ #15339]
16417         * posix/tst-getaddrinfo4.c: New test.
16418         * posix/Makefile (tests): Add it.
16419
16420 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16421
16422         [BZ #15339]
16423         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16424         when no services were used.
16425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16426         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16427
16428 2013-05-21  Andreas Schwab  <schwab@suse.de>
16429
16430         [BZ #15014]
16431         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16432         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16433         successful.
16434         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16435         redundant variable declarations and reallocation of buffer when
16436         parsing as IPv6 address.  Always set NSS status when called from
16437         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16438         buffer too small.  Correct computation of needed size.
16439         * nss/Makefile (tests): Add test-digits-dots.
16440         * nss/test-digits-dots.c: New test.
16441
16442 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16443
16444         * benchtests/Makefile: Remove instructions for adding
16445         benchmark tests.
16446         * benchtests/README: New file to explain how to execute and
16447         enhance the benchmark tests.
16448
16449 2013-05-21  Andreas Schwab  <schwab@suse.de>
16450
16451         [BZ #15493]
16452         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16453         * setjmp/tst-sigsetjmp.c: New test.
16454
16455 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16456
16457         * sysdeps/x86_64/memset.S (memset): New implementation.
16458         (__bzero): Likewise.
16459         (__memset_tail): New function.
16460
16461 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16462
16463         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16464         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16465         __memcpy_sse2_unaligned ifunc selection.
16466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16467         Add memcpy-sse2-unaligned.S.
16468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16469         Add: __memcpy_sse2_unaligned.
16470
16471 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16472
16473         [BZ #15490]
16474         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16475         math_force_eval before restoring floating-point envrionment.
16476         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16477         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16478         Likewise.
16479         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16480         <math_private.h>.
16481         (__nearbyintl): Use math_force_eval before restoring
16482         floating-point environment.
16483         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16484
16485         * math/gen-libm-test.pl (special_functions): Remove.
16486         (parse_args): Don't handle TEST_extra.  Handle functions with no
16487         return value.
16488         * math/libm-test.inc (struct test_sincos_data): Replace with
16489         struct test_fFF_11_data.
16490         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16491         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16492         (sincos_test_data): Change element type to struct
16493         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16494         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16495         RUN_TEST_LOOP_sincos.
16496         * math/README.libm-test: Don't mention special handling of
16497         individual functions.
16498         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16499         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16500         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16501         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16502         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16504
16505         * math/gen-libm-test.pl (get_variable): Remove function.
16506         (parse_args): Don't show pointer parameters to call in test
16507         names.  Use "extra output N" in test names for extra outputs
16508         rather than naming variables.
16509
16510 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16511
16512         [BZ #15488]
16513         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16514         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16515         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16516         double tests.
16517         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16518         disable.
16519         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16520         check_long_double.
16521
16522         * math/gen-libm-test.pl (@tests): Remove variable.
16523         ($count): Likewise.
16524         (new_test): Remove function.
16525         (show_exceptions): New function.
16526         (special_functions): Use show_exceptions instead of new_test.
16527         (parse_args): Likewise.
16528         (generate_testfile): Pass only function name in generated call to
16529         print_max_error or print_complex_max_error.
16530         (get_ulps): Do not handle complex tests specially.
16531         (output_test): Rename to ...
16532         (get_all_ulps_for_test): ... this.  Return a string rather than
16533         printing to a file.  Require ulps to be present.
16534         (output_ulps): Generate arrays rather than #defines.
16535         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16536         (struct ulp_data): New type.
16537         (BUILD_COMPLEX_ULP): Remove macro.
16538         (compare_ulp_data): New function.
16539         (find_ulps): Likewise.
16540         (find_test_ulps): Likewise.
16541         (find_function_ulps): Likewise.
16542         (find_complex_function_ulps): Likewise.
16543         (print_max_error): Determine allowed ulps using
16544         find_function_ulps.
16545         (print_complex_max_error): Determine allowed ulps using
16546         find_complex_function_ulps.
16547         (check_float_internal): Determine max ulps using find_test_ulps.
16548         (check_float): Do not take max_ulp parameter.  Update call to
16549         check_float_internal.
16550         (check_complex): Likewise.
16551         (check_int): Do not take max_ulp parameter.
16552         (check_long): Likewise.
16553         (check_bool): Likewise.
16554         (check_longlong): Likewise.
16555         (struct test_f_f_data): Remove max_ulp field.
16556         (struct test_ff_f_data): Likewise.
16557         (struct test_ff_f_data_nexttoward): Likewise.
16558         (struct test_fi_f_data): Likewise.
16559         (struct test_fl_f_data): Likewise.
16560         (struct test_if_f_data): Likewise.
16561         (struct test_fff_f_data): Likewise.
16562         (struct test_c_f_data): Likewise.
16563         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16564         (struct test_fF_f1_data): Likewise.
16565         (struct test_ffI_f1_data): Likewise.
16566         (struct test_c_c_data): Remove max_ulp field.
16567         (struct test_cc_c_data): Likewise.
16568         (struct test_f_i_data): Likewise.
16569         (struct test_ff_i_data): Likewise.
16570         (struct test_f_l_data): Likewise.
16571         (struct test_f_L_data): Likewise.
16572         (struct test_sincos_data): Likewise.
16573         (RUN_TEST_f_f): Do not handle ulps.
16574         (RUN_TEST_LOOP_f_f): Likewise.
16575         (RUN_TEST_2_f): Likewise.
16576         (RUN_TEST_LOOP_2_f): Likewise.
16577         (RUN_TEST_fff_f): Likewise.
16578         (RUN_TEST_LOOP_fff_f): Likewise.
16579         (RUN_TEST_c_f): Likewise.
16580         (RUN_TEST_LOOP_c_f): Likewise.
16581         (RUN_TEST_f_f1): Likewise.
16582         (RUN_TEST_LOOP_f_f1): Likewise.
16583         (RUN_TEST_fF_f1): Likewise.
16584         (RUN_TEST_LOOP_fF_f1): Likewise.
16585         (RUN_TEST_fI_f1): Likewise.
16586         (RUN_TEST_LOOP_fI_f1): Likewise.
16587         (RUN_TEST_ffI_f1): Likewise.
16588         (RUN_TEST_LOOP_ffI_f1): Likewise.
16589         (RUN_TEST_c_c): Likewise.
16590         (RUN_TEST_LOOP_c_c): Likewise.
16591         (RUN_TEST_cc_c): Likewise.
16592         (RUN_TEST_LOOP_cc_c): Likewise.
16593         (RUN_TEST_f_i): Likewise.
16594         (RUN_TEST_LOOP_f_i): Likewise.
16595         (RUN_TEST_f_i_tg): Likewise.
16596         (RUN_TEST_LOOP_f_i_tg): Likewise.
16597         (RUN_TEST_ff_i_tg): Likewise.
16598         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16599         (RUN_TEST_f_b): Likewise.
16600         (RUN_TEST_LOOP_f_b): Likewise.
16601         (RUN_TEST_f_b_tg): Likewise.
16602         (RUN_TEST_LOOP_f_b_tg): Likewise.
16603         (RUN_TEST_f_l): Likewise.
16604         (RUN_TEST_LOOP_f_l): Likewise.
16605         (RUN_TEST_f_L): Likewise.
16606         (RUN_TEST_LOOP_f_L): Likewise.
16607         (RUN_TEST_sincos): Likewise.
16608         (RUN_TEST_LOOP_sincos): Likewise.
16609
16610 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16611
16612         [BZ #15480]
16613         [BZ #15485]
16614         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16615         main case of finite arguments, set rounding mode to FE_TONEAREST
16616         and discard exceptions.
16617         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16618         exceptions.
16619         (remainder_tonearest_test_data): New variable.
16620         (remainder_test_tonearest): New function.
16621         (remainder_towardzero_test_data): New variable.
16622         (remainder_test_towardzero): New function.
16623         (remainder_downward_test_data): New variable.
16624         (remainder_test_downward): New function.
16625         (remainder_upward_test_data): New variable.
16626         (remainder_test_upward): New function.
16627         (main): Call the new test functions.
16628
16629         * math/libm-test.inc (struct test_f_f1_data): Remove field
16630         extra_init.
16631         (struct test_fF_f1_data): Likewise.
16632         (struct test_ffI_f1_data): Likewise.
16633         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16634         based on value of EXTRA_EXPECTED.
16635         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16636         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16637         EXTRA_VAR based on value of EXTRA_EXPECTED.
16638         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16639         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16640         EXTRA_VAR based on value of EXTRA_EXPECTED.
16641         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16642         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16643         EXTRA_VAR based on value of EXTRA_EXPECTED.
16644         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16645         * math/gen-libm-test.pl (parse_args): Don't output initializers
16646         for extra output values.
16647
16648         * math/libm-test.inc (check_int): Expect result to be exactly
16649         equal to expected value and do not handle ulps.
16650         (check_long): Likewise.
16651         (check_longlong): Likewise.
16652
16653         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16654         exceptions.
16655         (cimag_test_data): Likewise.
16656         (conj_test_data): Likewise.
16657         (copysign_test_data): Likewise.
16658         (cproj_test_data): Likewise.
16659         (creal_test_data): Likewise.
16660         (fabs_test_data): Likewise.
16661         (fdim_test_data): Likewise.
16662         (finite_test_data): Likewise.
16663         (floor_test_data): Likewise.
16664         (fmax_test_data): Likewise.
16665         (fmin_test_data): Likewise.
16666         (fmod_test_data): Likewise.
16667         (fpclassify_test_data): Likewise.
16668         (frexp_test_data): Likewise.
16669         (ilogb_test_data): Likewise.
16670         (isfinite_test_data): Likewise.
16671         (isgreater_test_data): Likewise.
16672         (isgreaterequal_test_data): Likewise.
16673         (isinf_test_data): Likewise.
16674         (isless_test_data): Likewise.
16675         (islessequal_test_data): Likewise.
16676         (islessgreater_test_data): Likewise.
16677         (isnan_test_data): Likewise.
16678         (isnormal_test_data): Likewise.
16679         (issignaling_test_data): Likewise.
16680         (isunordered_test_data): Likewise.
16681         (ldexp_test_data): Likewise.
16682         (lrint_test_data): Likewise.
16683         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16684         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16685         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16686         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16687         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16688         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16689         test input.
16690         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16691         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16692         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16693         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16694         that test input.
16695         (lrint_downward_test_data): Test for "inexact" exceptions.
16696         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16697         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16698         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16699         test input.
16700         (lrint_upward_test_data): Test for "inexact" exceptions.
16701         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16702         test input.
16703         (llrint_test_data): Test for "inexact" exceptions.
16704         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16705         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16706         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16707         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16708         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16709         (llrint_downward_test_data): Test for "inexact" exceptions.
16710         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16711         (llrint_upward_test_data): Test for "inexact" exceptions.
16712         (logb_test_data): Likewise.
16713         (logb_downward_test_data): Likewise.
16714         (nextafter_test_data): Likewise.
16715         (nexttoward_test_data): Likewise.
16716         (remainder_test_data): Likewise.
16717         (remquo_test_data): Likewise.
16718         (scalbn_test_data): Likewise.
16719         (scalbln_test_data): Likewise.
16720         (signbit_test_data): Likewise.
16721         (sqrt_test_data): Likewise.
16722         (significand_test_data): Likewise.
16723
16724 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16725
16726         [BZ #15424]
16727         * benchtests/bench-modf.c (struct args): Mark arg0 as
16728         volatile.
16729         * scripts/bench.pl: Mark members of struct args as volatile.
16730
16731 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16732
16733         [BZ # 15497]
16734         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16735         negative infinity on POWER6 or lower.
16736         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16737
16738 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16739
16740         [BZ #15442]
16741         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16742         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16743         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16744         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16745         (_FP_SETQNAN): New macro.
16746         (_FP_SETQNAN_SEMIRAW): Likewise.
16747         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16748         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16749         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16750         (FP_EXTEND): Use _FP_FRAC_SNANP.
16751         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16752         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16753         into account.
16754         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16755         New macro.
16756         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16757         Likewise.
16758
16759 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16760
16761         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16762         with DIVIDE_BY_ZERO_EXCEPTION.
16763         (gamma_test_data): Likewise.
16764         (lgamma_test_data): Likewise.
16765         (log_test_data): Likewise.
16766         (log10_test_data): Likewise.
16767         (log2_test_data): Likewise.
16768         (tgamma_test_data): Likewise.
16769
16770         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16771         (acos_test_tonearest): Likewise.
16772         (acos_test_towardzero): Likewise.
16773         (acos_test_downward): Likewise.
16774         (acos_test_upward): Likewise.
16775         (acosh_test): Likewise.
16776         (asin_test): Likewise.
16777         (asin_test_tonearest): Likewise.
16778         (asin_test_towardzero): Likewise.
16779         (asin_test_downward): Likewise.
16780         (asin_test_upward): Likewise.
16781         (asinh_test): Likewise.
16782         (atan_test): Likewise.
16783         (atanh_test): Likewise.
16784         (atan2_test): Likewise.
16785         (cabs_test): Likewise.
16786         (cacos_test): Likewise.
16787         (cacosh_test): Likewise.
16788         (casin_test): Likewise.
16789         (casinh_test): Likewise.
16790         (catan_test): Likewise.
16791         (catanh_test): Likewise.
16792         (cbrt_test): Likewise.
16793         (ccos_test): Likewise.
16794         (ccosh_test): Likewise.
16795         (cexp_test): Likewise.
16796         (clog_test): Likewise.
16797         (clog10_test): Likewise.
16798         (cos_test): Likewise.
16799         (cos_test_tonearest): Likewise.
16800         (cos_test_towardzero): Likewise.
16801         (cos_test_downward): Likewise.
16802         (cos_test_upward): Likewise.
16803         (cosh_test): Likewise.
16804         (cosh_test_tonearest): Likewise.
16805         (cosh_test_towardzero): Likewise.
16806         (cosh_test_downward): Likewise.
16807         (cosh_test_upward): Likewise.
16808         (cpow_test): Likewise.
16809         (csin_test): Likewise.
16810         (csinh_test): Likewise.
16811         (csqrt_test): Likewise.
16812         (ctan_test): Likewise.
16813         (ctan_test_tonearest): Likewise.
16814         (ctan_test_towardzero): Likewise.
16815         (ctan_test_downward): Likewise.
16816         (ctan_test_upward): Likewise.
16817         (ctanh_test): Likewise.
16818         (ctanh_test_tonearest): Likewise.
16819         (ctanh_test_towardzero): Likewise.
16820         (ctanh_test_downward): Likewise.
16821         (ctanh_test_upward): Likewise.
16822         (erf_test): Likewise.
16823         (erfc_test): Likewise.
16824         (exp_test): Likewise.
16825         (exp_test_tonearest): Likewise.
16826         (exp_test_towardzero): Likewise.
16827         (exp_test_downward): Likewise.
16828         (exp_test_upward): Likewise.
16829         (exp10_test): Likewise.
16830         (exp2_test): Likewise.
16831         (expm1_test): Likewise.
16832         (fmod_test): Likewise.
16833         (gamma_test): Likewise.
16834         (hypot_test): Likewise.
16835         (j0_test): Likewise.
16836         (j1_test): Likewise.
16837         (jn_test): Likewise.
16838         (lgamma_test): Likewise.
16839         (log_test): Likewise.
16840         (log10_test): Likewise.
16841         (log1p_test): Likewise.
16842         (log2_test): Likewise.
16843         (logb_test_downward): Likewise.
16844         (pow_test): Likewise.
16845         (pow_test_tonearest): Likewise.
16846         (pow_test_towardzero): Likewise.
16847         (pow_test_downward): Likewise.
16848         (pow_test_upward): Likewise.
16849         (remainder_test): Likewise.
16850         (remquo_test): Likewise.
16851         (sin_test): Likewise.
16852         (sin_test_tonearest): Likewise.
16853         (sin_test_towardzero): Likewise.
16854         (sin_test_downward): Likewise.
16855         (sin_test_upward): Likewise.
16856         (sincos_test): Likewise.
16857         (sinh_test): Likewise.
16858         (sinh_test_tonearest): Likewise.
16859         (sinh_test_towardzero): Likewise.
16860         (sinh_test_downward): Likewise.
16861         (sinh_test_upward): Likewise.
16862         (sqrt_test): Likewise.
16863         (tan_test): Likewise.
16864         (tan_test_tonearest): Likewise.
16865         (tan_test_towardzero): Likewise.
16866         (tan_test_downward): Likewise.
16867         (tan_test_upward): Likewise.
16868         (tanh_test): Likewise.
16869         (tgamma_test): Likewise.
16870         (y0_test): Likewise.
16871         (y1_test): Likewise.
16872         (yn_test): Likewise.
16873
16874         * math/gen-libm-test.pl (adjust_arg): Remove function.
16875         (special_function): Remove argument $in_func.  Only handle
16876         generating output for tables of tests, not inside functions.
16877         (parse_args): Likewise.
16878         (generate_testfile): Remove variable $in_func.  Update call to
16879         parse_args.
16880         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16881         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16882         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16883         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16884         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16885         (MAX_VALUE_INIT): Rename macro to max_value.
16886         (MIN_VALUE_INIT): Rename macro to min_value.
16887         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16888         (plus_zero): Remove variable.
16889         (minus_zero): Likewise.
16890         (plus_infty): Likewise.
16891         (minus_infty): Likewise.
16892         (qnan_value): Likewise.
16893         (max_value): Likewise.
16894         (min_value): Likewise.
16895         (min_subnorm_value): Likewise.
16896
16897 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16898
16899         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16900         uint64_t or uint32_t usage.
16901         * crypt/sha256-block.c: Likewise.
16902         * crypt/sha256-crypt.c: Likewise.
16903         * crypt/sha256.c: Likewise.
16904         * crypt/sha512-block.c: Likewise.
16905         * crypt/sha512-crypt.c: Likewise.
16906         * crypt/sha512.c: Likewise.
16907         * debug/backtrace-tst.c: Likewise.
16908         * debug/pcprofiledump.c: Likewise.
16909         * elf/cache.c: Likewise.
16910         * elf/dl-cache.c: Likewise.
16911         * elf/dl-misc.c: Likewise.
16912         * elf/dl-profile.c: Likewise.
16913         * elf/dl-support.c: Likewise.
16914         * elf/ldconfig.c: Likewise.
16915         * elf/sprof.c: Likewise.
16916         * iconv/dummy-repertoire.c: Likewise.
16917         * iconv/iconv_charmap.c: Likewise.
16918         * iconv/skeleton.c: Likewise.
16919         * iconvdata/8bit-generic.c: Likewise.
16920         * iconvdata/cp737.h: Likewise.
16921         * iconvdata/cp775.h: Likewise.
16922         * iconvdata/ibm1008.h: Likewise.
16923         * iconvdata/ibm1025.h: Likewise.
16924         * iconvdata/ibm1046.h: Likewise.
16925         * iconvdata/ibm1097.h: Likewise.
16926         * iconvdata/ibm1112.h: Likewise.
16927         * iconvdata/ibm1122.h: Likewise.
16928         * iconvdata/ibm1123.h: Likewise.
16929         * iconvdata/ibm1124.h: Likewise.
16930         * iconvdata/ibm1129.h: Likewise.
16931         * iconvdata/ibm1130.h: Likewise.
16932         * iconvdata/ibm1132.h: Likewise.
16933         * iconvdata/ibm1133.h: Likewise.
16934         * iconvdata/ibm1137.h: Likewise.
16935         * iconvdata/ibm1140.h: Likewise.
16936         * iconvdata/ibm1141.h: Likewise.
16937         * iconvdata/ibm1142.h: Likewise.
16938         * iconvdata/ibm1143.h: Likewise.
16939         * iconvdata/ibm1144.h: Likewise.
16940         * iconvdata/ibm1145.h: Likewise.
16941         * iconvdata/ibm1146.h: Likewise.
16942         * iconvdata/ibm1147.h: Likewise.
16943         * iconvdata/ibm1148.h: Likewise.
16944         * iconvdata/ibm1149.h: Likewise.
16945         * iconvdata/ibm1153.h: Likewise.
16946         * iconvdata/ibm1154.h: Likewise.
16947         * iconvdata/ibm1155.h: Likewise.
16948         * iconvdata/ibm1156.h: Likewise.
16949         * iconvdata/ibm1157.h: Likewise.
16950         * iconvdata/ibm1158.h: Likewise.
16951         * iconvdata/ibm1160.h: Likewise.
16952         * iconvdata/ibm1161.h: Likewise.
16953         * iconvdata/ibm1162.h: Likewise.
16954         * iconvdata/ibm1163.h: Likewise.
16955         * iconvdata/ibm1164.h: Likewise.
16956         * iconvdata/ibm1166.h: Likewise.
16957         * iconvdata/ibm1167.h: Likewise.
16958         * iconvdata/ibm12712.h: Likewise.
16959         * iconvdata/ibm1390.h: Likewise.
16960         * iconvdata/ibm1399.h: Likewise.
16961         * iconvdata/ibm16804.h: Likewise.
16962         * iconvdata/ibm4517.h: Likewise.
16963         * iconvdata/ibm4899.h: Likewise.
16964         * iconvdata/ibm4909.h: Likewise.
16965         * iconvdata/ibm4971.h: Likewise.
16966         * iconvdata/ibm5347.h: Likewise.
16967         * iconvdata/ibm803.h: Likewise.
16968         * iconvdata/ibm856.h: Likewise.
16969         * iconvdata/ibm901.h: Likewise.
16970         * iconvdata/ibm902.h: Likewise.
16971         * iconvdata/ibm9030.h: Likewise.
16972         * iconvdata/ibm9066.h: Likewise.
16973         * iconvdata/ibm921.h: Likewise.
16974         * iconvdata/ibm922.h: Likewise.
16975         * iconvdata/ibm9448.h: Likewise.
16976         * iconvdata/isiri-3342.h: Likewise.
16977         * iconvdata/jis0201.h: Likewise.
16978         * include/link.h: Likewise.
16979         * include/netdb.h: Likewise.
16980         * inet/check_native.c: Likewise.
16981         * inet/check_pf.c: Likewise.
16982         * inet/getipv4sourcefilter.c: Likewise.
16983         * inet/getnameinfo.c: Likewise.
16984         * inet/getsourcefilter.c: Likewise.
16985         * inet/htonl.c: Likewise.
16986         * inet/setipv4sourcefilter.c: Likewise.
16987         * inet/setsourcefilter.c: Likewise.
16988         * inet/test-inet6_opt.c: Likewise.
16989         * inet/tst-network.c: Likewise.
16990         * locale/C-collate.c: Likewise.
16991         * locale/C-ctype.c: Likewise.
16992         * locale/C-time.c: Likewise.
16993         * locale/C-translit.h: Likewise.
16994         * locale/loadarchive.c: Likewise.
16995         * locale/programs/3level.h: Likewise.
16996         * locale/programs/charmap.c: Likewise.
16997         * locale/programs/charmap.h: Likewise.
16998         * locale/programs/ld-address.c: Likewise.
16999         * locale/programs/ld-collate.c: Likewise.
17000         * locale/programs/ld-ctype.c: Likewise.
17001         * locale/programs/ld-identification.c: Likewise.
17002         * locale/programs/ld-measurement.c: Likewise.
17003         * locale/programs/ld-messages.c: Likewise.
17004         * locale/programs/ld-monetary.c: Likewise.
17005         * locale/programs/ld-name.c: Likewise.
17006         * locale/programs/ld-numeric.c: Likewise.
17007         * locale/programs/ld-paper.c: Likewise.
17008         * locale/programs/ld-telephone.c: Likewise.
17009         * locale/programs/ld-time.c: Likewise.
17010         * locale/programs/linereader.c: Likewise.
17011         * locale/programs/locale.c: Likewise.
17012         * locale/programs/locarchive.c: Likewise.
17013         * locale/programs/locfile.h: Likewise.
17014         * locale/programs/repertoire.c: Likewise.
17015         * locale/programs/simple-hash.c: Likewise.
17016         * locale/programs/simple-hash.h: Likewise.
17017         * malloc/memusage.c: Likewise.
17018         * malloc/memusagestat.c: Likewise.
17019         * nis/nis_defaults.c: Likewise.
17020         * nis/nis_hash.c: Likewise.
17021         * nis/nis_print.c: Likewise.
17022         * nis/nis_xdr.c: Likewise.
17023         * nscd/connections.c: Likewise.
17024         * nscd/hstcache.c: Likewise.
17025         * nscd/nscd_gethst_r.c: Likewise.
17026         * nscd/nscd_getserv_r.c: Likewise.
17027         * nscd/nscd_helper.c: Likewise.
17028         * nscd/servicescache.c: Likewise.
17029         * nss/makedb.c: Likewise.
17030         * nss/nss_db/db-XXX.c: Likewise.
17031         * nss/nss_db/db-initgroups.c: Likewise.
17032         * nss/nss_db/db-netgrp.c: Likewise.
17033         * nss/nss_files/files-network.c: Likewise.
17034         * nss/nss_files/files-parse.c: Likewise.
17035         * posix/bug-regex5.c: Likewise.
17036         * posix/fnmatch_loop.c: Likewise.
17037         * posix/regcomp.c: Likewise.
17038         * posix/regexec.c: Likewise.
17039         * posix/tst-rfc3484-2.c: Likewise.
17040         * posix/tst-rfc3484-3.c: Likewise.
17041         * posix/tst-rfc3484.c: Likewise.
17042         * resolv/nss_dns/dns-canon.c: Likewise.
17043         * resolv/nss_dns/dns-network.c: Likewise.
17044         * resolv/res_init.c: Likewise.
17045         * resolv/res_mkquery.c: Likewise.
17046         * resolv/tst-aton.c: Likewise.
17047         * stdlib/cxa_atexit.c: Likewise.
17048         * stdlib/cxa_finalize.c: Likewise.
17049         * stdlib/gen-fpioconst.c: Likewise.
17050         * stdlib/strtol_l.c: Likewise.
17051         * string/tst-endian.c: Likewise.
17052         * sunrpc/auth_des.c: Likewise.
17053         * sunrpc/clnt_udp.c: Likewise.
17054         * sunrpc/rtime.c: Likewise.
17055         * sunrpc/svcauth_des.c: Likewise.
17056         * sunrpc/xdr.c: Likewise.
17057         * sunrpc/xdr_intXX_t.c: Likewise.
17058         * sunrpc/xdr_rec.c: Likewise.
17059         * sysdeps/generic/ldconfig.h: Likewise.
17060         * sysdeps/generic/ldsodefs.h: Likewise.
17061         * sysdeps/generic/memusage.h: Likewise.
17062         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17063         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17064         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17065         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17066         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17068         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17069         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17070         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17072         * sysdeps/posix/getaddrinfo.c: Likewise.
17073         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17074         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17075         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17076         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17077         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17078         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17079         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17080         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17081         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17082         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17083         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17084         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17085         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17086         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17087         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17088         * sysdeps/x86_64/dl-tls.h: Likewise.
17089         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17090         * time/alt_digit.c: Likewise.
17091         * time/era.c: Likewise.
17092         * wcsmbs/tst-c16c32-1.c: Likewise.
17093
17094 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17095
17096         * math/libm-test.inc (struct test_sincos_data): New type.
17097         (RUN_TEST_LOOP_sincos): New macro.
17098         (sincos_test_data): New variable.
17099         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17100
17101 2013-05-16  Richard Henderson  <rth@redhat.com>
17102
17103         * math/atest-exp2.c (LIMB64): New macro.
17104         (CONSTSZ): New macro.
17105         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17106         (hexdig): Move ...
17107         (print_mpn_fp): ... to function scope.
17108         (read_mpn_hex): Remove.
17109         (get_log2): Remove.
17110         (exp2_mpn): Use mp_log2.
17111         (main): Use mp_exp1.
17112
17113 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17114
17115         * math/libm-test.inc: Remove comment about not testing "inexact"
17116         exceptions.
17117         (INEXACT_EXCEPTION): New macro.
17118         (NO_INEXACT_EXCEPTION): Likewise.
17119         (INVALID_EXCEPTION_OK): Update value.
17120         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17121         (OVERFLOW_EXCEPTION_OK): Likewise.
17122         (UNDERFLOW_EXCEPTION_OK): Likewise.
17123         (IGNORE_ZERO_INF_SIGN): Likewise.
17124         (ERRNO_UNCHANGED): Likewise.
17125         (ERRNO_EDOM): Likewise.
17126         (ERRNO_ERANGE): Likewise.
17127         (test_exceptions): Handle testing "inexact" exceptions.
17128         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17129         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17130         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17131         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17132         INEXACT_EXCEPTION.
17133         (rint_towardzero_test_data): Likewise.
17134         (rint_downward_test_data): Likewise.
17135         (rint_upward_test_data): Likewise.
17136
17137         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17138         with OVERFLOW_EXCEPTION.
17139         (exp10_test_data): Likewise.
17140         (exp2_test_data): Likewise.
17141         (expm1_test_data): Likewise.
17142         (lgamma_test_data): Likewise.
17143         (pow_test_data): Likewise.
17144         (tgamma_test_data): Likewise.
17145         (yn_test_data): Remove duplicate test of overflow.
17146
17147         * math/libm-test.inc (struct test_cc_c_data): New type.
17148         (RUN_TEST_LOOP_cc_c): New macro.
17149         (cpow_test_data): New variable.
17150         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17151
17152         * math/libm-test.inc (struct test_f_L_data): New type.
17153         (RUN_TEST_LOOP_f_L): New macro.
17154         (llrint_test_data): New variable.
17155         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17156         (llrint_tonearest_test_data): New variable.
17157         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17158         (llrint_towardzero_test_data): New variable.
17159         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17160         (llrint_downward_test_data): New variable.
17161         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17162         (llrint_upward_test_data): New variable.
17163         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17164         (llround_test_data): New variable.
17165         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17166
17167 2013-05-13  Peter Collingbourne  <pcc@google.com>
17168
17169         * math/atest-exp2.c (get_log2): Remove const attribute.
17170
17171 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17172
17173         * math/libm-test.inc (struct test_f_l_data): New type.
17174         (RUN_TEST_LOOP_f_l): New macro.
17175         (lrint_test_data): New variable.
17176         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17177         (lrint_tonearest_test_data): New variable.
17178         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17179         (lrint_towardzero_test_data): New variable.
17180         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17181         (lrint_downward_test_data): New variable.
17182         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17183         (lrint_upward_test_data): New variable.
17184         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17185         (lround_test_data): New variable.
17186         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17187
17188 2013-05-15  Peter Collingbourne  <pcc@google.com>
17189
17190         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17191         (EXTRACT_WORDS64) Use where appropriate.
17192         (INSERT_WORDS64) Likewise.
17193
17194         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17195         constraints with x constraints.
17196         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17197
17198         * malloc/obstack.c (_obstack_compat): Add initializer.
17199
17200 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17201
17202         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17203         si_trapno and add si_addr_lsb to _sifields.sigfault.
17204         (si_trapno): Remove macro.
17205         (si_addr_lsb): Define new macro.
17206         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17207
17208 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17209
17210         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17211         instead of TEST_f_l.
17212         (llrint_test_tonearest): Likewise.
17213         (llrint_test_towardzero): Likewise.
17214         (llrint_test_downward): Likewise.
17215         (llrint_test_upward): Likewise.
17216         (llround_test): Likewise.
17217
17218         * math/libm-test.inc (struct test_f_i_data): Add comment.
17219         (RUN_TEST_LOOP_f_b): New macro.
17220         (RUN_TEST_LOOP_f_b_tg): Likewise.
17221         (finite_test_data): New variable.
17222         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17223         (isfinite_test_data): New variable.
17224         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17225         (isinf_test_data): New variable.
17226         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17227         (isnan_test_data): New variable.
17228         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17229         (isnormal_test_data): New variable.
17230         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17231         (issignaling_test_data): New variable.
17232         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17233         (signbit_test_data): New variable.
17234         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17235
17236         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17237         with INVALID_EXCEPTION.
17238         (acosh_test_data): Likewise.
17239         (asin_test_data): Likewise.
17240         (atanh_test_data): Likewise.
17241         (fmod_test_data): Likewise.
17242         (log_test_data): Likewise.
17243         (log10_test_data): Likewise.
17244         (log2_test_data): Likewise.
17245         (pow_test_data): Likewise.
17246         (sqrt_test_data): Likewise.
17247         (y0_test_data): Likewise.
17248         (y1_test_data): Likewise.
17249         (yn_test_data): Likewise.
17250
17251         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17252         function contents.
17253
17254         * math/libm-test.inc (struct test_ff_i_data): New type.
17255         (RUN_TEST_LOOP_ff_i_tg): New macro.
17256         (isgreater_test_data): New variable.
17257         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17258         (isgreaterequal_test_data): New variable.
17259         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17260         (isless_test_data): New variable.
17261         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17262         (islessequal_test_data): New variable.
17263         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17264         (islessgreater_test_data): New variable.
17265         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17266         (isunordered_test_data): New variable.
17267         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17268
17269 2013-05-14  David S. Miller  <davem@davemloft.net>
17270
17271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17272
17273 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17274
17275         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17276
17277         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17278         extra_test to int.
17279         (struct test_f_i_data): Change type of max_ulp to int.
17280
17281         * math/libm-test.inc (test_ffI_f1_data): New type.
17282         (RUN_TEST_LOOP_ffI_f1): New macro.
17283         (remquo_test_data): New variable.
17284         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17285
17286         * setjmp/tst-setjmp-fp.c: New file.
17287         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17288         (link-libm): New variable.
17289         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17290
17291         * math/libm-test.inc (struct test_f_i_data): New type.
17292         (RUN_TEST_LOOP_f_i): New macro.
17293         (RUN_TEST_LOOP_f_i_tg): Likewise.
17294         (fpclassify_test_data): New variable.
17295         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17296         (ilogb_test_data): New variable.
17297         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17298
17299         * math/libm-test.inc (scalbln_test): Correct function name in END
17300         call.
17301
17302         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17303         (RUN_TEST_LOOP_fI_f1): New macro.
17304         (frexp_test_data): New variable.
17305         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17306
17307         * math/libm-test.inc (struct test_fF_f1_data): New type.
17308         (RUN_TEST_LOOP_fF_f1): New macro.
17309         (modf_test_data): New variable.
17310         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17311
17312         * math/libm-test.inc (struct test_f_f1_data): New type.
17313         (RUN_TEST_LOOP_f_f1): New macro.
17314         (gamma_test_data): New variable.
17315         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17316         (lgamma_test_data): New variable.
17317         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17318
17319 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17320
17321         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17322         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17323         (main): Comment "tls" pseudo-hwcap.
17324
17325 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17326
17327         * math/libm-test.inc (struct test_fl_f_data): New type.
17328         (RUN_TEST_LOOP_fl_f): New variable.
17329         (scalbln_test_data): New variable.
17330         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17331
17332         * math/libm-test.inc (struct test_fi_f_data): New type.
17333         (RUN_TEST_LOOP_fi_f): New macro.
17334         (ldexp_test_data): New variable.
17335         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17336         (scalbn_test_data): New variable.
17337         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17338
17339         * math/libm-test.inc (struct test_c_f_data): New type.
17340         (RUN_TEST_LOOP_c_f): New macro.
17341         (cabs_test_data): New variable.
17342         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17343         (carg_test_data): New variable.
17344         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17345         (cimag_test_data): New variable.
17346         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17347         (creal_test_data): New variable.
17348         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17349
17350         * math/libm-test.inc (struct test_if_f_data): New type.
17351         (RUN_TEST_LOOP_if_f): New macro.
17352         (jn_test_data): New variable.
17353         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17354         (yn_test_data): New variable.
17355         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17356
17357         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17358
17359 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17360
17361         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17362         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17363
17364 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17365
17366         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17367         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17368         (bench-deps): Add bench-timing.h.
17369         * benchtests-bench-skeleton.c: Include bench-timing.h.
17370         (main): Use TIMING_* macros instead of clock_gettime.
17371         * benchtests/bench-timing.h: New file.
17372
17373         [BZ #14582]
17374         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17375         Renamed from _LIB_VERSION.
17376         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17377
17378 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17379
17380         * math/libm-test.inc (struct test_fff_f_data): New type.
17381         (RUN_TEST_LOOP_fff_f): New macro.
17382         (fma_test_data): New variable.
17383         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17384         (fma_towardzero_test_data): New variable.
17385         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17386         (fma_downward_test_data): New variable.
17387         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17388         (fma_upward_test_data): New variable.
17389         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17390
17391         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17392         (struct test_c_c_data): New type.
17393         (RUN_TEST_LOOP_c_c): New macro.
17394         (cacos_test_data): New variable.
17395         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17396         (cacosh_test_data): New variable.
17397         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17398         (casin_test_data): New variable.
17399         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17400         (casinh_test_data): New variable.
17401         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17402         (catan_test_data): New variable.
17403         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17404         (catanh_test_data): New variable.
17405         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17406         (ccos_test_data): New variable.
17407         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17408         (ccosh_test_data): New variable.
17409         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17410         (cexp_test_data): New variable.
17411         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17412         (clog_test_data): New variable.
17413         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17414         (clog10_test_data): New variable.
17415         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17416         (conj_test_data): New variable.
17417         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17418         (cproj_test_data): New variable.
17419         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17420         (csin_test_data): New variable.
17421         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17422         (csinh_test_data): New variable.
17423         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17424         (csqrt_test_data): New variable.
17425         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17426         (ctan_test_data): New variable.
17427         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17428         (ctan_tonearest_test_data): New variable.
17429         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17430         (ctan_towardzero_test_data): New variable.
17431         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17432         (ctan_downward_test_data): New variable.
17433         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17434         (ctan_upward_test_data): New variable.
17435         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17436         (ctanh_test_data): New variable.
17437         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17438         (ctanh_tonearest_test_data): New variable.
17439         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17440         (ctanh_towardzero_test_data): New variable.
17441         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17442         (ctanh_downward_test_data): New variable.
17443         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17444         (ctanh_upward_test_data): New variable.
17445         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17446         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17447         of BUILD_COMPLEX.
17448
17449         * math/libm-test.inc (struct test_ff_f_data): New type.
17450         (struct test_ff_f_data_nexttoward): Likewise.
17451         (RUN_TEST_LOOP_2_f): New macro.
17452         (RUN_TEST_LOOP_ff_f): Likewise.
17453         (atan2_test_data): New variable.
17454         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17455         (copysign_test_data): New variable.
17456         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17457         (fdim_test_data): New variable.
17458         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17459         (fmax_test_data): New variable.
17460         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17461         (fmin_test_data): New variable.
17462         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17463         (fmod_test_data): New variable.
17464         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17465         (hypot_test_data): New variable.
17466         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17467         (nextafter_test_data): New variable.
17468         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17469         (nexttoward_test_data): New variable.
17470         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17471         (pow_test_data): New variable.
17472         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17473         (pow_tonearest_test_data): New variable.
17474         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17475         (pow_towardzero_test_data): New variable.
17476         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17477         (pow_downward_test_data): New variable.
17478         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17479         (pow_upward_test_data): New variable.
17480         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17481         (remainder_test_data): New variable.
17482         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17483         (scalb_test_data): New variable.
17484         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17485         * sysdeps/i386/fpu/libm-test-ulps: Update.
17486
17487 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17488
17489         * math/libm-test.inc (fma_test): Use max_value instead of local
17490         variable fltmax.
17491         (nextafter_test): Likewise.
17492
17493         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17494         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17495         (acos_downward_test_data): New variable.
17496         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17497         (acos_upward_test_data): New variable.
17498         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17499         (acosh_test_data): New variable.
17500         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17501         (asin_test_data): New variable.
17502         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17503         (asin_tonearest_test_data): New variable.
17504         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17505         (asin_towardzero_test_data): New variable.
17506         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17507         (asin_downward_test_data): New variable.
17508         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17509         (asin_upward_test_data): New variable.
17510         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17511         (asinh_test_data): New variable.
17512         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17513         (atan_test_data): New variable.
17514         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17515         (atanh_test_data): New variable.
17516         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17517         (cbrt_test_data): New variable.
17518         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17519         (ceil_test_data): New variable.
17520         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17521         (cos_test_data): New variable.
17522         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17523         (cos_tonearest_test_data): New variable.
17524         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17525         (cos_towardzero_test_data): New variable.
17526         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17527         (cos_downward_test_data): New variable.
17528         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17529         (cos_upward_test_data): New variable.
17530         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17531         (cosh_test_data): New variable.
17532         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17533         (cosh_tonearest_test_data): New variable.
17534         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17535         (cosh_towardzero_test_data): New variable.
17536         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17537         (cosh_downward_test_data): New variable.
17538         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17539         (cosh_upward_test_data): New variable.
17540         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17541         (erf_test_data): New variable.
17542         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17543         (erfc_test_data): New variable.
17544         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17545         (exp_test_data): New variable.
17546         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17547         (exp_tonearest_test_data): New variable.
17548         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17549         (exp_towardzero_test_data): New variable.
17550         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17551         (exp_downward_test_data): New variable.
17552         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17553         (exp_upward_test_data): New variable.
17554         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17555         (exp10_test_data): New variable.
17556         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17557         (exp2_test_data): New variable.
17558         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17559         (expm1_test_data): New variable.
17560         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17561         (fabs_test_data): New variable.
17562         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17563         (floor_test_data): New variable.
17564         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17565         (j0_test_data): New variable.
17566         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17567         (j1_test_data): New variable.
17568         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17569         (log_test_data): New variable.
17570         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17571         (log10_test_data): New variable.
17572         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17573         (log1p_test_data): New variable.
17574         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17575         (log2_test_data): New variable.
17576         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17577         (logb_test_data): New variable.
17578         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17579         (logb_downward_test_data): New variable.
17580         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17581         (nearbyint_test_data): New variable.
17582         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17583         (rint_test_data): New variable.
17584         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17585         (rint_tonearest_test_data): New variable.
17586         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17587         (rint_towardzero_test_data): New variable.
17588         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17589         (rint_downward_test_data): New variable.
17590         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17591         (rint_upward_test_data): New variable.
17592         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17593         (round_test_data): New variable.
17594         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17595         (sin_test_data): New variable.
17596         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17597         (sin_tonearest_test_data): New variable.
17598         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17599         (sin_towardzero_test_data): New variable.
17600         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17601         (sin_downward_test_data): New variable.
17602         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17603         (sin_upward_test_data): New variable.
17604         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17605         (sinh_test_data): New variable.
17606         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17607         (sinh_tonearest_test_data): New variable.
17608         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17609         (sinh_towardzero_test_data): New variable.
17610         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17611         (sinh_downward_test_data): New variable.
17612         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17613         (sinh_upward_test_data): New variable.
17614         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17615         (sqrt_test_data): New variable.
17616         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17617         (tan_test_data): New variable.
17618         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17619         (tan_tonearest_test_data): New variable.
17620         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17621         (tan_towardzero_test_data): New variable.
17622         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17623         (tan_downward_test_data): New variable.
17624         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17625         (tan_upward_test_data): New variable.
17626         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17627         (tanh_test_data): New variable.
17628         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17629         (tgamma_test_data): New variable.
17630         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17631         (trunc_test_data): New variable.
17632         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17633         (y0_test_data): New variable.
17634         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17635         (y1_test_data): New variable.
17636         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17637         (significand_test_data): New variable.
17638         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17639
17640 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17641
17642         [BZ #12387]
17643         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17644
17645 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17646
17647         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17648
17649 2013-05-10  Andreas Jaeger  <aj@suse.de>
17650
17651         [BZ #15448]
17652         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17653         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17654
17655 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17656
17657         * math/gen-libm-test.pl (adjust_arg): New function.
17658         (special_functions): Handle generating output in both functions
17659         and arrays.
17660         (parse_args): Likewise.
17661         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17662         $in_func argument to parse_args.
17663         * math/libm-test.inc (struct test_f_f_data): New type.
17664         (IF_ROUND_INIT_): New macro.
17665         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17666         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17667         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17668         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17669         (ROUND_RESTORE_): Likewise.
17670         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17671         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17672         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17673         (ROUND_RESTORE_FE_UPWARD): Likewise.
17674         (RUN_TEST_LOOP_f_f): New macro.
17675         (acos_test_data): New variable.
17676         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17677         (acos_tonearest_test_data): New variable.
17678         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17679
17680 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17681
17682         * benchtests/bench-skeleton.c (startup): Fix coding style.
17683
17684 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17685
17686         [BZ #6809]
17687         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17688         negative infinity argument.
17689         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17690         negative infinity argument.
17691         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17692         negative infinity argument.
17693         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17694         domain errors.
17695
17696 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17697
17698         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17699         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17700         * iconv/iconv_prog.c (main): Likewise.
17701         * locale/programs/charmap-dir.c (charmap_readdir)
17702         (fopen_uncompressed): Likewise.
17703         * locale/programs/locfile.c (siblings_uncached)
17704         (write_locale_data): Use lstat64 instead of lstat.
17705         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17706         stat.
17707
17708 2013-05-10  Andreas Jaeger  <aj@suse.de>
17709
17710         [BZ #15395]
17711         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17712         localization.
17713         Include <locale.h>.
17714
17715 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17716
17717         * elf/dl-close.c (_dl_close_worker): Add comments.
17718
17719 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17720
17721         [BZ #15359]
17722         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17723         high part of pi/2.
17724         (__ieee754_rem_pio2l): Update comments.
17725
17726         [BZ #15429]
17727         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17728         high part of pi/2.
17729         (__ieee754_rem_pio2l): Update comments.
17730
17731         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17732         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17733
17734         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17735         M_PI_4l.
17736
17737         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17738         (M_PI_34_LOG10El): Likewise.
17739         (M_PI2_LOG10El): Likewise.
17740         (M_PI4_LOG10El): Likewise.
17741         (M_PI_LOG10El): Likewise.
17742
17743 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17744
17745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17746
17747 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17748
17749         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17750         (MINUS_ZERO_INIT): Likewise.
17751         (PLUS_INFTY_INIT): Likewise.
17752         (MINUS_INFTY_INIT): Likewise.
17753         (QNAN_VALUE_INIT): Likewise.
17754         (MAX_VALUE_INIT): Likewise.
17755         (MIN_VALUE_INIT): Likewise.
17756         (MIN_SUBNORM_VALUE_INIT): Likewise.
17757         (plus_zero): Initialize with PLUS_ZERO_INIT.
17758         (minus_zero): Initialize with MINUS_ZERO_INIT.
17759         (plus_infty): Initialize with PLUS_INFTY_INIT.
17760         (minus_infty): Initialize with MINUS_INFTY_INIT.
17761         (qnan_value): Initialize with QNAN_VALUE_INIT.
17762         (max_value): Initialize with MAX_VALUE_INIT.
17763         (min_value): Initialize with MIN_VALUE_INIT.
17764         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17765
17766         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17767         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17768         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17769         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17770
17771         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17772         (RUN_TEST_2_f): Likewise.
17773         (RUN_TEST_ff_f): Likewise.
17774         (RUN_TEST_fi_f): Likewise.
17775         (RUN_TEST_fl_f): Likewise.
17776         (RUN_TEST_fff_f): Likewise.
17777         (RUN_TEST_c_f): Likewise.
17778         (RUN_TEST_f_f1): Likewise.
17779         (RUN_TEST_fF_f1): Likewise.
17780         (RUN_TEST_fI_f1): Likewise.
17781         (RUN_TEST_ffI_f1): Likewise.
17782         (RUN_TEST_c_c): Likewise.
17783         (RUN_TEST_cc_c): Likewise.
17784         (RUN_TEST_f_i): Likewise.
17785         (RUN_TEST_f_i_tg): Likewise.
17786         (RUN_TEST_ff_i_tg): Likewise.
17787         (RUN_TEST_f_b): Likewise.
17788         (RUN_TEST_f_b_tg): Likewise.
17789         (RUN_TEST_f_l): Likewise.
17790         (RUN_TEST_f_L): Likewise.
17791         (RUN_TEST_sincos): Likewise.
17792         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17793         whether to show exceptions.  Do not include ");\n" in return
17794         value.
17795         (special_functions): Output call to RUN_TEST_sincos instead of
17796         check_float calls.  Update calls to new_test.
17797         (parse_args): Output call to single RUN_TEST_* macro instead of
17798         check_* calls and other assignments.  Update calls to new_test.
17799
17800         [BZ #2546]
17801         [BZ #2560]
17802         [BZ #5159]
17803         [BZ #15426]
17804         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17805         input to result for tgamma overflow.
17806         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17807         (gamma_coeff): New variable.
17808         (NCOEFF): New macro.
17809         (gamma_positive): New function.
17810         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17811         underflow here.  Use gamma_positive instead of exp (lgamma) for
17812         other arguments.
17813         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17814         (gamma_coeff): New variable.
17815         (NCOEFF): New macro.
17816         (gammaf_positive): New function.
17817         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17818         underflow here.  Use gamma_positive instead of exp (lgamma) for
17819         other arguments.
17820         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17821         (gamma_coeff): New variable.
17822         (NCOEFF): New macro.
17823         (gammal_positive): New function.
17824         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17825         underflow here.  Use gamma_positive instead of exp (lgamma) for
17826         other arguments.
17827         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17828         (gamma_coeff): New variable.
17829         (NCOEFF): New macro.
17830         (gammal_positive): New function.
17831         (__ieee754_gammal_r): Handle positive infinity, overflow and
17832         underflow here.  Handle NaN the same as positive infinity.  Remove
17833         check x < 0xffffffff for negative integers.  Use gamma_positive
17834         instead of exp (lgamma) for other arguments.
17835         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17836         (gamma_coeff): New variable.
17837         (NCOEFF): New macro.
17838         (gammal_positive): New function.
17839         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17840         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17841         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17842         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17843         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17844         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17845         * sysdeps/generic/math_private.h (__gamma_productf): New
17846         prototype.
17847         (__gamma_product): Likewise.
17848         (__gamma_productl): Likewise.
17849         * math/Makefile (libm-calls): Add gamma_product.
17850         * math/libm-test.inc (tgamma_test): Add more tests.
17851         * sysdeps/i386/fpu/libm-test-ulps: Update.
17852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17853
17854 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17855
17856         * benchtests/bench-skeleton.c (main): Preheat CPU.
17857
17858 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17859
17860         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17861
17862 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17863
17864         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17865         and _dl_skip_args_internal.
17866
17867 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17868
17869         * manual/message.texi (Message Translation): Talk about users.
17870         Message to key mapping impacts design.
17871
17872 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17873
17874         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17875
17876         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17877
17878         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17879         * sysdeps/wordsize-64/glob64.c: ... here.
17880
17881         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17882         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17883         New macros.
17884
17885         * debug/getlogin_r_chk.c: Moved to ...
17886         * login/getlogin_r_chk.c: ... here.
17887         * debug/Makefile (routines): Move getlogin_r_chk to ...
17888         * login/Makefile (routines): ... here.
17889         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17890         * login/Versions (libc: GLIBC_2.4): ... here.
17891
17892         * io/poll.c (__poll): Renamed from poll.
17893         Add libc_hidden_def.
17894         (poll): Define as weak alias.
17895
17896         * debug/ptsname_r_chk.c: Moved to ...
17897         * login/ptsname_r_chk.c: ... here.
17898         * debug/Makefile (routines): Move ptsname_r_chk to ...
17899         * login/Makefile (routines): ... here.
17900         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17901         * login/Versions (libc: GLIBC_2.4): ... here.
17902
17903         * posix/getlogin.c: Moved to ...
17904         * login/getlogin.c: ... here.
17905         * posix/getlogin_r.c: Moved to ...
17906         * login/getlogin_r.c: ... here.
17907         * posix/getlogin_r.c: Moved to ...
17908         * login/getlogin_r.c: ... here.
17909         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17910         * login/Makefile (routines): ... here.
17911         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17912         * login/Versions (libc: GLIBC_2.0): ... here.
17913
17914         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17915         (setrlimit): Define as weak alias.
17916
17917         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17918         Call __ names for open, ftruncate, and close.
17919         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17920         (truncate): Define as weak alias.
17921
17922 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17923
17924         * math/gen-libm-test.pl (parse_args): Initialize x before each
17925         test of frexp, modf and remquo.
17926
17927         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17928         test signgam value.
17929
17930 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17931
17932         [BZ #15418]
17933         [BZ #15419]
17934         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17935         internal tests.
17936         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17937
17938 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17939
17940         * elf/dl-writev.h: New file.
17941         * elf/dl-misc.c: Include it.
17942         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17943         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17944
17945 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17946
17947         * math/libm-test.inc (noXFails): Remove variable.
17948         (noXPasses): Likewise.
17949         (BUILD_COMPLEX_INT): Remove macro.
17950         (print_screen): Remove xfail argument.
17951         (print_screen_max_error): Likewise.
17952         (update_stats): Likewise.
17953         (print_max_error): Likewise.  Update calls to other affected
17954         functions.
17955         (print_complex_max_error): Likewise.
17956         (test_single_exception): Update calls to print_screen.
17957         (test_single_errno): Likewise.
17958         (check_float_internal): Remove xfail argument.  Update calls to
17959         other affected functions.
17960         (check_float): Likewise.
17961         (check_complex): Likewise.
17962         (check_int): Likewise.
17963         (check_long): Likewise.
17964         (check_bool): Likewise.
17965         (check_longlong): Likewise.
17966         (main): Don't print noXFails and noXPasses.
17967         * math/gen-libm-test.pl (top level): Don't mention expected
17968         failure handling in comment.
17969         (new_test): Don't handle expected failures.
17970         (parse_args): Don't mention expected failure handling in comment.
17971         (generate_testfile): Don't handle expected failures.
17972         (parse_ulps): Likewise.
17973         (print_ulps_file): Likewise.
17974         (get_failure): Remove function.
17975         (output_test): Don't handle expected failures.
17976         * make/README.libm-test: Don't mention expected failure handling.
17977
17978         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17979         (minus_zero): Likewise.
17980         (plus_infty): Likewise.
17981         (minus_infty): Likewise.
17982         (qnan_value): Likewise.
17983         (max_value): Likewise.
17984         (min_value): Likewise.
17985         (min_subnorm_value): Likewise.
17986         (initialize): Do not initialize those variables dynamically.
17987
17988 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17989
17990         * io/open.c (__open_2): Moved to ...
17991         * io/open_2.c: ... this new file.
17992         * io/open64.c (__open64_2): Moved to ...
17993         * io/open64_2.c: ... this new file.
17994         * io/openat.c (__openat_2): Moved to ...
17995         * io/openat_2.c: ... this new file.
17996         * io/openat64.c (__openat64_2): Moved to ...
17997         * io/openat64_2.c: ... this new file.
17998         * io/Makefile (routines): Add them.
17999         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18000         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18001         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18002         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18003         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18004         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18005         (__openat64): Add hidden_ver.
18006         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18007         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18008
18009         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18010         Separately conditionalize setting of GLRO(dl_sysinfo) so
18011         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18012         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18013
18014 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18015
18016         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18017         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18018         definition.
18019         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18020         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18021         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18022         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18023         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18024
18025 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18026
18027         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18028         test signgam value.
18029
18030         * math/libm-test.inc (hypot_test): Do not use
18031         IGNORE_ZERO_INF_SIGN.
18032
18033 2013-05-03  Andreas Jaeger  <aj@suse.de>
18034
18035         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18036         Linux 3.9.
18037         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18038         (PF_MAX): Adjust for VSOCK change.
18039
18040 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18041
18042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18043
18044 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18045
18046         [BZ #15264]
18047         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18048         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18049         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18050
18051 2013-05-02  David S. Miller  <davem@davemloft.net>
18052
18053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18054
18055 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18056
18057         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18058
18059 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18060
18061         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18062
18063 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18064
18065         [BZ #14952]
18066         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18067         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18068         Use __attribute__ ((__gnu_inline__)).
18069         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18070         Don't use __attribute__ ((__gnu_inline__)).
18071
18072 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18073
18074         [BZ #15423]
18075         * math/s_catan.c (__catan): Handle small real or imaginary part of
18076         input specially to avoid spurious underflow.
18077         * math/s_catanf.c (__catanf): Likewise.
18078         * math/s_catanh.c (__catanh): Likewise.
18079         * math/s_catanhf.c (__catanhf): Likewise.
18080         * math/s_catanhl.c (__catanhl): Likewise.
18081         * math/s_catanl.c (__catanl): Likewise.
18082         * math/libm-test.inc (catan_test): Add more tests.
18083         (catanh_test): Likewise.
18084         * sysdeps/i386/fpu/libm-test-ulps: Update.
18085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18086
18087 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18088
18089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18090
18091 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18092
18093         [BZ #15416]
18094         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18095         accurately for denominator in atan2.
18096         * math/s_catanf.c (__catanf): Likewise.
18097         * math/s_catanh.c (__catanh): Likewise.
18098         * math/s_catanhf.c (__catanhf): Likewise.
18099         * math/s_catanhl.c (__catanhl): Likewise.
18100         * math/s_catanl.c (__catanl): Likewise.
18101         * math/libm-test.inc (catan_test): Add more tests.
18102         (catanh_test): Likewise.
18103         * sysdeps/i386/fpu/libm-test-ulps: Update.
18104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18105
18106 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18107
18108         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18109
18110         * benchtests/Makefile (bench): Remove slow benchmarks.
18111         * benchtests/atan-inputs: Add slow benchmark inputs.
18112         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18113         (BENCH_FUNC): Accept variant offset.
18114         (VARIANT): Define.
18115         * benchtests/bench-skeleton.c (main): Run benchmark for each
18116         variant.
18117         * benchtests/cos-inputs: Add slow benchmark inputs.
18118         * benchtests/exp-inputs: Likewise.
18119         * benchtests/pow-inputs: Likewise.
18120         * benchtests/sin-inputs: Likewise.
18121         * benchtests/slowatan-inputs: Remove.
18122         * benchtests/slowatan.c: Remove.
18123         * benchtests/slowcos-inputs: Remove.
18124         * benchtests/slowcos.c: Remove.
18125         * benchtests/slowexp-inputs: Remove.
18126         * benchtests/slowexp.c: Remove.
18127         * benchtests/slowpow-inputs: Remove.
18128         * benchtests/slowpow.c: Remove.
18129         * benchtests/slowsin-inputs: Remove.
18130         * benchtests/slowsin.c: Remove.
18131         * benchtests/slowtan-inputs: Remove.
18132         * benchtests/slowtan.c: Remove.
18133         * benchtests/tan-inputs: Add slow benchmark inputs.
18134         * scripts/bench.pl: Parse comments and directives.
18135
18136         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18137         in CPPFLAGS.
18138         ($(objpfx)bench-%.c): Remove *-ITER.
18139         * benchtests/bench-modf.c: Remove definition of ITER.
18140         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18141         (main): Loop for DURATION seconds instead of fixed number of
18142         iterations.
18143         * scripts/bench.pl: Don't expect iterations in parameters.
18144
18145 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18146
18147         * io/fchdir.c (__fchdir): Renamed from fchdir.
18148         (fchdir): Define as weak alias.
18149
18150 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18151
18152         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18153         (ERRNO_EDOM): Likewise.
18154         (ERRNO_ERANGE): Likewise.
18155         (noErrnoTests): New variable.
18156         (init_max_error): Set errno to 0.
18157         (test_single_errno): New function.
18158         (test_errno): Likewise.
18159         (check_float_internal): Call test_errno.  Set errno to 0.
18160         (check_complex): Refer to errno tests in comment.
18161         (check_int): Call test_errno.  Set errno to 0.
18162         (check_long): Likewise.
18163         (check_bool): Likewise.
18164         (check_longlong): Likewise.
18165         (cos_test): Use ERRNO_* flags for errno tests instead of
18166         check_int.
18167         (expm1_test): Likewise.
18168         (fmod_test): Likewise.
18169         (ilogb_test): Likewise.
18170         (lgamma_test): Likewise.
18171         (pow_test): Likewise.
18172         (remainder_test): Likewise.
18173         (sin_test): Likewise.
18174         (tan_test): Likewise.
18175         (yn_test): Likewise.
18176         (initialize): Set errno to 0.
18177         (main): Print number of errno tests.
18178         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18179
18180 2013-04-29  Andreas Jaeger  <aj@suse.de>
18181
18182         [BZ #15084]
18183         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18184         and RES_USEVC.
18185
18186         [BZ #15085]
18187         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18188         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18189         unimplemented.
18190
18191         [BZ #15380]
18192         * stdlib/random.c (__initstate): Return NULL if
18193         __initstate fails.
18194
18195         [BZ #15086]
18196         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18197         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18198         RES_SNGLKUPREOP.
18199
18200 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18201
18202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18203
18204 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18205
18206         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18207         of individual tests.
18208         (casin_test): Likewise.
18209         (casinh_test): Likewise.
18210
18211 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18212
18213         [BZ #15409]
18214         * math/s_catan.c (__catan): Handle arguments with large real or
18215         imaginary part separately without squaring.
18216         * math/s_catanf.c (__catanf): Likewise.
18217         * math/s_catanh.c (__catanh): Likewise.
18218         * math/s_catanhf.c (__catanhf): Likewise.
18219         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18220         and redefine.
18221         (__catanhl): Handle arguments with large real or imaginary part
18222         separately without squaring.
18223         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18224         and redefine.
18225         (__catanl): Handle arguments with large real or imaginary part
18226         separately without squaring.
18227         * math/libm-test.inc (catan_test): Add more tests.
18228         (catanh_test): Likewise.
18229         * sysdeps/i386/fpu/libm-test-ulps: Update.
18230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18231
18232 2013-04-27  Andreas Jaeger  <aj@suse.de>
18233
18234         [BZ #15007]
18235         * stdlib/stdlib.h: Update guards for qecvt.
18236         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18237         <stdlib.h>.
18238
18239 2013-04-27  Allan McRae  <allan@archlinux.org>
18240
18241         * sysdeps/i386/fpu/libm-test-ulps: Update.
18242
18243 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18244
18245         [BZ #15406]
18246         * math/s_catan.c: Include <float.h>.
18247         (__catan): Ensure underflow exception occurs for underflowed
18248         result.
18249         * math/s_catanf.c: Include <float.h>.
18250         (__catanf): Ensure underflow exception occurs for underflowed
18251         result.
18252         * math/s_catanh.c: Include <float.h>.
18253         (__catanh): Ensure underflow exception occurs for underflowed
18254         result.
18255         * math/s_catanhf.c: Include <float.h>.
18256         (__catanhf): Ensure underflow exception occurs for underflowed
18257         result.
18258         * math/s_catanhl.c: Include <float.h>.
18259         (__catanhl): Ensure underflow exception occurs for underflowed
18260         result.
18261         * math/s_catanl.c: Include <float.h>.
18262         (__catanl): Ensure underflow exception occurs for underflowed
18263         result.
18264         * math/libm-test.inc (catan_test): Add more tests.
18265         (catanh_test): Likewise.
18266
18267         [BZ #15405]
18268         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18269         underflowed result.
18270         * math/s_ccoshf.c (__ccoshf): Likewise.
18271         * math/s_ccoshl.c (__ccoshl): Likewise.
18272         * math/s_csin.c (__csin): Likewise.
18273         * math/s_csinf.c (__csinf): Likewise.
18274         * math/s_csinh.c (__csinh): Likewise.
18275         * math/s_csinhf.c (__csinhf): Likewise.
18276         * math/s_csinhl.c (__csinhl): Likewise.
18277         * math/s_csinl.c (__csinl): Likewise.
18278         * math/libm-test.inc (ccos_test): Add more tests.
18279         (ccosh_test): Likewise.
18280         (csin_test): Likewise.
18281         (csinh_test): Likewise.
18282
18283 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18284
18285         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18286         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18287         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18288         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18289         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18290         powerpc/power5+/fpu folders.
18291         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18292
18293
18294 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18295
18296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18297
18298 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18299
18300         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18301         additions to variable.
18302         [$(config-machine) = x86_64] (modules-names): Likewise.
18303         ($(objpfx)tst-audit3): Remove dependency.
18304         ($(objpfx)tst-audit3.out): Likewise.
18305         ($(objpfx)tst-audit4): Likewise.
18306         ($(objpfx)tst-audit4.out): Likewise.
18307         ($(objpfx)tst-audit5): Likewise.
18308         ($(objpfx)tst-audit5.out): Likewise.
18309         ($(objpfx)tst-audit6): Likewise.
18310         ($(objpfx)tst-audit6.out): Likewise.
18311         ($(objpfx)tst-audit7): Likewise.
18312         ($(objpfx)tst-audit7.out): Likewise.
18313         (tst-audit3-ENV): Remove variable.
18314         (tst-audit4-ENV): Likewise.
18315         (tst-audit5-ENV): Likewise.
18316         (tst-audit6-ENV): Likewise.
18317         (tst-audit7-ENV): Likewise.
18318         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18319         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18320         addition to variable.
18321         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18322         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18323         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18324         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18325         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18326         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18327         tst-audit3, tst-audit4 and tst-audit5.
18328         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18329         tst-audit6 and tst-audit7.
18330         [$(subdir) = elf] (modules-names): Add audit modules for those
18331         tests.
18332         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18333         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18334         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18335         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18336         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18337         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18338         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18339         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18340         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18341         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18342         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18343         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18344         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18345         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18346         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18347         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18348         Likewise.
18349         [$(subdir) = elf && $(config-cflags-avx) = yes]
18350         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18351         [$(subdir) = elf && $(config-cflags-avx) = yes]
18352         (CFLAGS-tst-auditmod4a.c): Likewise.
18353         [$(subdir) = elf && $(config-cflags-avx) = yes]
18354         (CFLAGS-tst-auditmod4b.c): Likewise.
18355         [$(subdir) = elf && $(config-cflags-avx) = yes]
18356         (CFLAGS-tst-auditmod6b.c): Likewise.
18357         [$(subdir) = elf && $(config-cflags-avx) = yes]
18358         (CFLAGS-tst-auditmod6c.c): Likewise.
18359         [$(subdir) = elf && $(config-cflags-avx) = yes]
18360         (CFLAGS-tst-auditmod7b.c): Likewise.
18361         * elf/tst-audit3.c: Move to ...
18362         * sysdeps/x86_64/tst-audit3.c: ... here.
18363         * elf/tst-audit4.c: Move to ...
18364         * sysdeps/x86_64/tst-audit4.c: ... here.
18365         * elf/tst-audit5.c: Move to ...
18366         * sysdeps/x86_64/tst-audit5.c: ... here.
18367         * elf/tst-audit6.c: Move to ...
18368         * sysdeps/x86_64/tst-audit6.c: ... here.
18369         * elf/tst-audit7.c: Move to ...
18370         * sysdeps/x86_64/tst-audit7.c: ... here.
18371         * elf/tst-auditmod3a.c: Move to ...
18372         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18373         * elf/tst-auditmod3b.c: Move to ...
18374         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18375         * elf/tst-auditmod4a.c: Move to ...
18376         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18377         * elf/tst-auditmod4b.c: Move to ...
18378         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18379         * elf/tst-auditmod5a.c: Move to ...
18380         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18381         * elf/tst-auditmod5b.c: Move to ...
18382         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18383         * elf/tst-auditmod6a.c: Move to ...
18384         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18385         * elf/tst-auditmod6b.c: Move to ...
18386         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18387         * elf/tst-auditmod6c.c: Move to ...
18388         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18389         * elf/tst-auditmod7a.c: Move to ...
18390         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18391         * elf/tst-auditmod7b.c: Move to ...
18392         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18393
18394 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18395
18396         [BZ #15366]
18397         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18398         define unconditionally.
18399         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18400         define unconditionally.
18401         (INT8_C, INT16_C, etc.): Likewise.
18402
18403 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18404
18405         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18406         __ehdr_start with hidden visibility.
18407
18408         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18409
18410 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18411
18412         * math/libm-test.inc (cos_test): Use accurate hex constants.
18413         (sincost_test): Likewise.
18414
18415 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18416
18417         * math/libm-test.inc (catan_test): Add more tests.
18418         (catanh_test): Likewise.
18419
18420         * math/s_catanf.c (__catanf): Use suffixed floating-point
18421         constants.
18422         * math/s_catanhf.c (__catanhf): Likewise.
18423         * math/s_catanhl.c (__catanhl): Likewise.
18424         * math/s_catanl.c (__catanl): Likewise.
18425
18426         [BZ #15394]
18427         * math/s_catan.c (__catan): Calculate imaginary part of result
18428         with log1p not log unless computing log of number close to 0.
18429         * math/s_catanf.c (__catanf): Likewise.
18430         * math/s_catanl.c (__catanl): Likewise.
18431         * math/s_catanh.c (__catanh): Calculate real part of result with
18432         log1p not log unless computing log of number close to 0.
18433         * math/s_catanhf.c (__catanhf): Likewise.
18434         * math/s_catanhl.c (__catanhl): Likewise.
18435         * math/libm-test.inc (catan_test): Add more tests.
18436         (catanh_test): Likewise.
18437         * sysdeps/i386/fpu/libm-test-ulps: Update.
18438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18439
18440 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18441
18442         * benchtests/Makefile: Mention files in which fast and slow
18443         paths of math functions are implemented.
18444
18445 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18446
18447         * sysdeps/posix/timespec_get.c: New file.
18448
18449 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18450
18451         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18452         POWER.
18453         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18454         for POWER.
18455         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18456         powerpc/power5/fpu folders.
18457         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18458         * benchtests/Makefile: Add modf testcase.
18459         * benchtests/bench-modf.c: New file: Benchmark test for mo
18460
18461 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18462
18463         [BZ #14888]
18464         * time/Makefile (tests): Add tst-strptime-whitespace.
18465         * time/strptime_l.c (get_number): Use ISSPACE.
18466         (__strptime_internal): Likewise.
18467         * time/tst-strptime-whitespace.c: New test case.
18468
18469 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18470
18471         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18472         member.
18473         (_nss_files_init): Set it here.
18474
18475 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18476
18477         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18478         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18479         unsigned.
18480
18481 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18482
18483         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18484
18485 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18486
18487         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18488         size just once.
18489
18490 2013-04-21  David S. Miller  <davem@davemloft.net>
18491
18492         * po/ru.po: Update Russion translation from translation project.
18493
18494 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18495
18496         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18497         and setfsgid.
18498
18499 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18500
18501         * configure.in: Remove i386 configure warning. Remove i386 case.
18502         * configure: Regenerate.
18503         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18504         Add example to error message.
18505         * sysdeps/i386/configure: Regenerate.
18506
18507 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508
18509         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18510         slowtan.
18511         * benchtests/cos-inputs: New file.
18512         * benchtests/slowcos-inputs: New file.
18513         * benchtests/slowcos.c: New file.
18514         * benchtests/slowtan-inputs: New file.
18515         * benchtests/slowtan.c: New file.
18516         * benchtests/tan-inputs: New file.
18517
18518 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18519
18520         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18521         considered kosher.
18522
18523 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18524
18525         * benchtests/Makefile: Include cppflags-iterator.mk to add
18526         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18527
18528         * Makefile.in (bench-clean): New target.
18529         * benchtests/Makefile (bench-clean): Likewise.
18530
18531 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18532
18533         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18534
18535 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18536
18537         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18538
18539 2013-04-15  Andreas Schwab  <schwab@suse.de>
18540
18541         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18542         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18543         * nscd/pwdcache.c (cache_addpw): Likewise.
18544         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18545         more than recsize.
18546
18547 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18548
18549         * benchtests/Makefile (bench): Write all output to
18550         bench-out.tmp together.
18551
18552 2013-04-15  Andreas Schwab  <schwab@suse.de>
18553
18554         * nscd/nscd.c (main): Don't fork again after closing files.
18555
18556 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18557
18558         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18559
18560         * benchtests/Rules (bench-deps): Collect dependencies into a
18561         single variable.  Add Makefile to dependencies.
18562         ($(objpfx)bench-%.c): Depend on bench-deps.
18563
18564 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18565             Xavier Roche  <roche+kml2@exalead.com>
18566
18567         [BZ #15361]
18568         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18569         just that it's a file descriptor.
18570         * manual/llio.texi (Synchronizing AIO Operations): Update description
18571         for EBADF error from aio_fsync.
18572
18573 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18574
18575         * Rules (bench): Move target definition...
18576         * benchtests/Makefile: ... here.
18577
18578 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18579
18580         * math/libm-test.inc (cos_test): Fix PI/2 test.
18581         (sincos_test): Likewise.
18582         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18583         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18584
18585 2013-04-11  Andreas Schwab  <schwab@suse.de>
18586
18587         [BZ #13988]
18588         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18589         accept exponent character only when digits were seen.
18590         * stdio-common/Makefile (tests): Add bug26.
18591         * stdio-common/bug26.c: New file.
18592
18593         [BZ #14293]
18594         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18595         non-freeable.
18596
18597 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18598
18599         * Makeconfig (rtld-prefix): Define built linker prefix.
18600         * Rules (run-bench): Use it.
18601         * math/Makefile (run-regen-ulps): Likewise.
18602
18603         * Rules (bench): Remove eval.
18604
18605 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18606             Roland McGrath  <roland@hack.frob.com>
18607             Ondrej Bilka  <neleai@seznam.cz>
18608
18609         [BZ #15346]
18610         * time/getdate.c: Include ctype.h and alloca.h.
18611         (__getdate_r): Trim leading and trailing spaces of input.
18612         * time/tst-getdate.c (tests): Add tests with leading and
18613         trailing spaces.
18614
18615 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18616
18617         [BZ #14280]
18618         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18619         when computing value.
18620
18621 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18622
18623         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18624         Use testrun.sh to run libm tests.
18625
18626         [BZ #15309]
18627         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18628
18629 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18630
18631         [BZ #15264]
18632         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18633
18634 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18635
18636         * Makefile.in (regen-ulps): New target.
18637         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18638         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18639         [ifneq (no,$(PERL)] (regen-ulps): New target.
18640         [ifeq (no,$(PERL)] (regen-ulps): New target.
18641         * math/libm-test.inc (ulps_file_name): Define.
18642         (output_dir): New variable.
18643         (options): Add "output-dir" option.
18644         (parse_opt): Handle 'o' case.
18645         (main): If output_dir is non-NULL use it as a prefix
18646         otherwise use "".
18647         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18648
18649 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18650
18651         [BZ #10060, #10062]
18652         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18653         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18654         fail configure if __sync_val_compare_and_swap is not inlined.
18655         * sysdeps/i386/configure: Regenerate.
18656         * configure.in: Build for i686 when configured for i386.
18657         * configure: Regenerate.
18658         * README: Remove i386 reference.
18659
18660 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18661
18662         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18663         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18664
18665 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18666
18667         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18668         (lmsnanval): New variables.
18669         (F): Add conversion tests.
18670         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18671         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18672
18673         * stdio-common/tstdiomisc.c (F): Properly collect individual
18674         tests' results.
18675
18676         [BZ #14686, #15336]
18677         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18678         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18679         Instead, use input NaN values or generate a qNaN by arithmetic
18680         operation.  Also fix bugs to comply with the standard.
18681         * math/libm-test.inc (remainder_test): Add more tests.
18682
18683         [BZ #15335, #15342]
18684         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18685         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18686         input NaN values or generate a qNaN by arithmetic operation.
18687
18688         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18689         unreachable code.
18690
18691         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18692         definitions.
18693
18694 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18695
18696         [BZ #14478]
18697         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18698         underflowed result.
18699         * math/s_cexpf.c (__cexpf): Likewise.
18700         * math/s_cexpl.c (__cexpl): Likewise.
18701         * math/libm-test.inc (cexp_test): Add more tests.
18702
18703 2013-04-03  Andreas Schwab  <schwab@suse.de>
18704
18705         [BZ #15330]
18706         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18707         order arrays from heap if bigger than alloca cutoff.
18708
18709 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18710
18711         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18712         (SNAN_TESTS_double): Refer to GCC PR56831.
18713         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18714         GCC PR56828.
18715
18716 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18717
18718         * Rules (bench): Move bench.out after the run is complete.
18719
18720         * Rules (bench): Echo currently running benchmark.
18721
18722         * benchtests/Makefile (bench): Add atan and slowatan.
18723         * benchtests/atan-inputs: New file.
18724         * benchtests/slowatan-inputs: New file.
18725         * benchtests/slowatan.c: New file.
18726
18727         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18728         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18729         its value.
18730
18731         [BZ #15305]
18732         * sysdeps/unix/sysv/linux/kernel-features.h
18733         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18734         __ASSUME_XFS_RESTRICTED_CHOWN.
18735         * sysdeps/unix/sysv/linux/pathconf.c
18736         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18737         Save and restore errno.
18738
18739 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18740
18741         [BZ #15327]
18742         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18743         arguments using __kernel_casinh.
18744         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18745         arguments using __kernel_casinhf.
18746         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18747         arguments using __kernel_casinhl.
18748         * math/libm-test.inc (cacosh_test): Add more tests.
18749         * sysdeps/i386/fpu/libm-test-ulps: Update.
18750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18751
18752 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18753
18754         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18755         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18756
18757         * bench/Makefile (bench): Add sin and slowsin.
18758         * benchtests/sin-inputs: New file.
18759         * benchtests/slowsin-inputs: New file.
18760         * benchtests/slowsin.c: New file.
18761
18762         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18763         (bench): Add slowexp and slowpow.
18764         (exp-ITER): Increase iterations.
18765         (pow-ITER): Likewise.
18766         * benchtests/exp-inputs: Change input.
18767         * benchtests/pow-inputs: Likewise.
18768         * benchtests/slowexp-inputs: New file.
18769         * benchtests/slowexp.c: New file.
18770         * benchtests/slowpow-inputs: New file.
18771         * benchtests/slowpow.c: New file.
18772
18773 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18774
18775         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18776         instructions.
18777         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18778         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18779         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18780         * benchtests/Makefile: Add rint benchtest.
18781         * benchtests/rint-inputs: Input for rint benchtest.
18782
18783 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18784
18785         * Versions.def (libm): Add GLIBC_2.18.
18786         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18787         hidden libm prototypes.
18788         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18789         * math/Makefile (libm-calls): Add s_issignaling.
18790         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18791         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18792         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18793         declaration.
18794         * math/math.h [__USE_GNU] (issignaling): New macro.
18795         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18796         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18797         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18798         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18799         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18800         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18801         * manual/arith.texi (issignaling): New section.
18802         * manual/libm-err-tab.pl (@all_functions): Update comment.
18803         * math/gen-libm-test.pl (parse_args): Apply special handling for
18804         issignaling.
18805         * math/libm-test.inc (print_float, issignaling_test): New
18806         functions.
18807         (check_float_internal): Add issignaling checks.
18808         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18809         default definition.
18810         * sysdeps/powerpc/math-tests.h: New file.
18811         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18812         tests.
18813         * math/test-snan.c (TEST_FUNC): Likewise.
18814
18815 2013-03-30  David S. Miller  <davem@davemloft.net>
18816
18817         * po/de.po: Update from translation team.
18818
18819 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18820
18821         [BZ #10357]
18822         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18823         imaginary part less than 1.0 and real part less than 0.5
18824         specially.
18825         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18826         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18827         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18828         (cacos_test): Add more tests.
18829         (casin_test): Likewise.
18830         (casinh_test): Likewise.
18831         * sysdeps/i386/fpu/libm-test-ulps: Update.
18832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18833
18834 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18835
18836         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18837         ONE with its value.
18838
18839         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18840         (__pow_mp): Replace ONE and MONE with their values.
18841         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18842         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18843         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18844         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18845         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18846         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18847
18848         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18849
18850         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18851         (__pow_mp): Replace ZERO and MZERO with their values.
18852         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18853         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18854         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18855         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18856         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18857         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18858         (__sqr): Likewise.
18859
18860         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18861
18862         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18863
18864 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18865
18866         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18867         Declare with __attribute__ ((weak)).
18868         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18869         Call __call_tls_dtors only if it's not NULL.
18870
18871 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18872
18873         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18874         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18875         magic __ehdr_start linker symbol if it's defined.
18876         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18877         them up here if it was already done.
18878
18879         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18880         (_dl_aux_init): Use const in cast when setting it.
18881         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18882         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18883         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18884
18885         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18886         Declare them here.
18887         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18888         * csu/libc-tls.c: Nor here.
18889         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18890
18891         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18892         (__libc_message): Never call vsyslog.
18893
18894 2013-03-28  Alan Modra  <amodra@gmail.com>
18895
18896         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18897         Define as empty.
18898         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18899         Likewise.
18900
18901 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18902
18903         [BZ #15214]
18904         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18905         underflow.
18906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18907
18908 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909
18910         [BZ #15304]
18911         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18912         Don't add gid passed as argument.
18913
18914         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18915
18916 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18917
18918         [BZ #15307]
18919         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18920         imaginary part between 1.0 and 1.5 and real part less than 0.5
18921         specially.
18922         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18923         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18924         * math/libm-test.inc (cacos_test): Add more tests.
18925         (casin_test): Likewise.
18926         (casinh_test): Likewise.
18927         * sysdeps/i386/fpu/libm-test-ulps: Update.
18928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18929
18930 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18931
18932         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18933         constants.
18934         (norm): Likewise.
18935         (denorm): Likewise.
18936         (__dbl_mp): Likewise.
18937         (add_magnitudes): Likewise.
18938         (sub_magnitudes): Likewise.
18939         (__add): Likewise.
18940         (__sub): Likewise.
18941         (__mul): Likewise.
18942         (__sqr): Likewise.
18943         (__inv): Likewise.
18944         (__dvd): Likewise.
18945
18946         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18947         commented code.
18948         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18949         (__dubcos): Likewise.
18950         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18951         (__ieee754_acos): Likewise.
18952         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18953         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18954         (__exp1): Likewise.
18955         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18956         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18957         (log1): Likewise.
18958         (my_log2): Likewise.
18959         (checkint): Likewise.
18960         * sysdeps/ieee754/dbl-64/e_remainder.c
18961         (__ieee754_remainder): Likewise.
18962         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18963         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18964         (bsloww): Likewise.
18965         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18966
18967         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18968         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18969         MANTISSA_STORE_T to store computations on mantissa.  Use
18970         macros for rounding and division.
18971         (denorm): Likewise.
18972         (__dbl_mp): Likewise.
18973         (add_magnitudes): Likewise.
18974         (sub_magnitudes): Likewise.
18975         (__mul): Likewise.
18976         (__sqr): Likewise.
18977         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18978         powers of two in terms of TWOPOW macro.
18979         (mp_no): Make type of mantissa as MANTISSA_T.
18980         [!RADIXI]: Define RADIXI.
18981         [!TWO52]: Define TWO52.
18982         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18983
18984 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18985
18986         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18987         llroundl symbol when building for PPC32.
18988
18989 2013-03-24  Mark H Weaver  <mhw@netris.org>
18990
18991         * manual/arith.texi (Normalization Functions): Fix prototypes for
18992         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18993
18994 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18995
18996         [BZ #13889]
18997         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18998         high value to check if expl overflow.
18999         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19000         to check for underflow and overflow.
19001         * math/libm-test.inc: Add exp test.
19002
19003 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19004
19005         [BZ #11120]
19006         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19007         with NOT_IN_libc.
19008
19009 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19010
19011         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19012         symbol.
19013
19014 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19015
19016         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19017         wrap blocks consisting of several statements.
19018
19019         * sysdeps/generic/math-tests.h: New file.
19020         * sysdeps/i386/fpu/math-tests.h: Likewise.
19021         * math/test-snan.c: Include it.
19022         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19023
19024 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19025
19026         [BZ #15285]
19027         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19028         (__ieee754_j0l): Do not improve calculations using cos of twice
19029         input for inputs above LDBL_MAX / 2.0L.
19030         (__ieee754_y0l): Likewise.
19031         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19032         (__ieee754_j1l): Do not improve calculations using cos of twice
19033         input for inputs above LDBL_MAX / 2.0L.
19034         (__ieee754_y1l): Likewise.
19035         * math/libm-test.inc (j0_test): Add another test.
19036         (j1_test): Likewise.
19037         (y0_test): Likewise.
19038         (y1_test): Likewise.
19039         * sysdeps/i386/fpu/libm-test-ulps: Update.
19040
19041 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19042
19043         * Rules ($(objpfx)bench-%.c): Include code from a C source
19044         file.
19045
19046 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19047
19048         [BZ #15287]
19049         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19050         imaginary part 1.0 and real part less than 0.5 specially.
19051         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19052         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19053         * math/libm-test.inc (cacos_test): Add more tests.
19054         (casin_test): Likewise.
19055         (casinh_test): Likewise.
19056         * sysdeps/i386/fpu/libm-test-ulps: Update.
19057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19058
19059 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19060
19061         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19062         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19063
19064 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19065
19066         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19067         * config.make.in (config-cflags-sse4): Remove variable.
19068         (config-cflags-avx): Likewise.
19069         (config-cflags-sse2avx): Likewise.
19070         (config-cflags-novzeroupper): Likewise.
19071         (config-asflags-i686): Likewise.
19072         (have-mfma4): Likewise.
19073         (have-as-vis3): Likewise.
19074         (MIG): Likewise.
19075         * configure.in (MIG): Do not AC_SUBST.
19076         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19077         (libc_cv_cc_sse4): Do not AC_SUBST.
19078         (libc_cv_cc_avx): Likewise.
19079         (libc_cv_cc_sse2avx): Likewise.
19080         (libc_cv_cc_novzeroupper): Likewise.
19081         (libc_cv_cc_fma4): Likewise.
19082         (libc_cv_as_i686): Likewise.
19083         (libc_cv_sparc_as_vis3): Likewise.
19084         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19085         LIBC_CONFIG_VAR.
19086         (config-asflags-i686): Likewise.
19087         (config-cflags-avx): Likewise.
19088         (config-cflags-sse2avx): Likewise.
19089         (have-mfma4): Likewise.
19090         (config-cflags-novzeroupper): Likewise.
19091         * sysdeps/mach/configure.in (MIG): Likewise.
19092         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19093         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19094         LIBC_CONFIG_VAR.
19095         (config-cflags-avx): Likewise.
19096         (config-cflags-sse2avx): Likewise.
19097         (have-mfma4): Likewise.
19098         (config-cflags-novzeroupper): Likewise.
19099         * configure: Regenerated.
19100         * sysdeps/i386/configure: Likewise.
19101         * sysdeps/mach/configure: Likewise.
19102         * sysdeps/sparc/configure: Likewise.
19103         * sysdeps/x86_64/configure: Likewise.
19104
19105 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19106
19107         [BZ #14812]
19108         * locale/programs/localedef.c (options): Put N_ translation marker
19109         on argument names, not just descriptions.
19110
19111 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19112
19113         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19114
19115 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19116
19117         [BZ #14176]
19118         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19119
19120 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19121
19122         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19123         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19124         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19125         [!BEFORE_ABORT] (before_abort): New function.
19126         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19127         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19128         (writev_for_fatal): New function.
19129         (WRITEV_FOR_FATAL): New macro; call that.
19130         (backtrace_and_maps): New function.
19131         (BEFORE_ABORT): New macro; call that.
19132         (struct str_list): Type removed.
19133         (__libc_message, __libc_fatal): Functions removed.
19134         Include <sysdeps/posix/libc_fatal.c> instead.
19135
19136 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19137
19138         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19139         constants.
19140         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19141         double constants.
19142
19143 2013-03-19  Andreas Schwab  <schwab@suse.de>
19144
19145         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19146         * sysdeps/gnu/configure: Regenerate.
19147
19148         * configure.in: Substitute libc_cv_rtlddir.
19149         * configure: Regenerate.
19150         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19151         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19152         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19153         * elf/Makefile (install-others, CFLAGS-interp.c)
19154         (ldso_install, common-ldd-rewrite): Likewise.
19155         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19156         $(inst_slibdir)/$(rtld-installed-name).
19157         * scripts/rellns-sh: Add -p option.
19158         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19159         for source.
19160
19161 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19162
19163         * manual/nptl.texi: Renamed to ...
19164         * manual/threads.texi: ... this.
19165         * manual/Makefile (chapters): Update.
19166
19167 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19168
19169         [BZ #14812]
19170         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19171         on argument names, not just descriptions.
19172         * malloc/memusagestat.c (options): Likewise.
19173         * nss/getent.c (options): Likewise.
19174
19175 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19176
19177         [BZ #14812]
19178         * iconv/iconv_prog.c (options): Put N_ translation marker
19179         on argument names, not just descriptions.
19180         * iconv/iconvconfig.c (options): Likewise.
19181
19182 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19183
19184         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19185         implementation which is faster on all x86_64 architectures.
19186         Tested on AMD, Intel Nehalem, SNB, IVB.
19187         * sysdeps/x86_64/strnlen.S: Likewise.
19188
19189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19190         Remove all multiarch strlen and strnlen versions.
19191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19192         Remove strlen and strnlen related parts.
19193
19194         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19195         Inline strlen part.
19196         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19197
19198         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19199         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19200         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19201         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19202         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19203         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19204
19205 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19206
19207         * manual/memory.texi (Malloc Tunable Parameters):
19208         Sort parameters alphabetically. Add comments for missing entries.
19209
19210 2013-03-17  David S. Miller  <davem@davemloft.net>
19211
19212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19213
19214 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19215
19216         [BZ #15283]
19217         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19218         for arguments at most half maximum finite value.
19219         * math/libm-test.inc (j0_test): Add more tests.
19220         (j1_test): Likewise.
19221         (y0_test): Likewise.
19222         (y1_test): Likewise.
19223         * sysdeps/i386/fpu/libm-test-ulps: Update.
19224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19225
19226         [BZ #14155]
19227         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19228         1 / x and functions P and Q for arguments above 0x1p256L.
19229         (__ieee754_y0l): Likewise.
19230         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19231         (__ieee754_y1l): Likewise.
19232         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19233         (j1_test): Likewise.
19234         (y0_test): Likewise.
19235         (y1_test): Likewise.
19236
19237 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19238
19239         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19240         variable.
19241
19242 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19243
19244         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19245         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19246         zero since it's initialized to EXEC_PAGESIZE.
19247
19248         * sysdeps/unix/sysv/linux/ldsodefs.h
19249         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19250         * sysdeps/generic/ldsodefs.h: ... here.
19251
19252 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19253
19254         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19255
19256         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19257         math/test-snan.c.
19258         * math/test-snan.c: Renamed from
19259         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19260         * math/Makefile (tests): Add test-snan.
19261         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19262         test-powerpc-snan.
19263
19264         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19265         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19266         functions.
19267         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19268         __builtin_nan family of functions.
19269         * math/libm-test.inc (initialize): Initialize qnan_value with
19270         __builtin_nan family of functions.
19271         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19272         Remove variables.
19273         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19274         Remove functions.
19275         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19276         storage class.  Initialize qNaN_var and sNaN_var with
19277         __builtin_nan and __builtin_nans families of functions,
19278         respectively.
19279
19280         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19281         (sqrt_test): Remove duplicate test with qNaN input.
19282         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19283         (round_test, signbit_test, significand_test): Note missing +/-Inf
19284         as well as qNaN tests.
19285
19286         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19287         qNaN_var.  Fix a few strings, too.
19288         * math/libm-test.inc (nan_value): Rename to qnan_value.
19289         * math/gen-libm-test.pl (%beautify): Adjust to that.
19290         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19291         * math/test-misc.c (main): Likewise.
19292         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19293         to __qnan_bytes, and __qnan_union, respectively.
19294         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19295         Likewise.
19296         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19297         and lqnanval, respectively.
19298         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19299         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19300         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19301         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19302
19303         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19304         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19305         doubles.
19306
19307         * math/test-misc.c (main): Fix copy'n'pastos.
19308         * misc/tst-efgcvt.c (special): Likewise.
19309
19310         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19311         Remove declarations.
19312
19313 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19314
19315         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19316         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19317         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19318         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19319
19320 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19321
19322         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19323         macro to return vdso values correctly in IFUNC implementations.
19324         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19325         Optimization by using IFUNC.
19326
19327 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19328             Richard Henderson  <rth@redhat.com>
19329             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19330
19331         * Makefile.in (bench): New target.
19332         * NEWS: Mention the benchmark framework.
19333         * Rules (bench): Likewise.
19334         (binaries-bench): Generate binaries for functions to
19335         benchmark.
19336         * benchtests/Makefile: New makefile for benchmark tests.
19337         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19338         programs.
19339         * benchtests/exp-inputs: New input file for EXP function.
19340         * benchtests/pow-inputs: New input file for POW function.
19341         * scripts/bench.pl: New script to generate source files for
19342         benchmark programs.
19343
19344 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19345
19346         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19347         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19348         computations on mantissa.  Use macros for rounding and
19349         division.
19350         (denorm): Likewise.
19351         (__dbl_mp): Likewise.
19352         (add_magnitudes): Likewise.
19353         (sub_magnitudes): Likewise.
19354         (__mul): Likewise.
19355         (__sqr): Likewise.
19356         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19357         powers of two in terms of TWOPOW macro.
19358         (mp_no): Make type of mantissa as MANTISSA_T.
19359         [!RADIXI]: Define RADIXI.
19360         [!TWO52]: Define TWO52.
19361         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19362
19363         * manual/nptl.texi (cindex): Modify threads to pthreads.
19364
19365 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19366
19367         * sysdeps/x86_64/preconfigure: Regenerated.
19368
19369 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19370
19371         [BZ #14155]
19372         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19373         0x1p28 and above.
19374         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19375         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19376         0x1p28 and above.
19377         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19378         * math/libm-test.inc (j0_test): Do not allow one spurious
19379         underflow exception.
19380         (y1_test): Likewise.
19381
19382 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19383
19384         * manual/Makefile (chapters): Add nptl.
19385         * manual/debug.texi (Debugging Support): Add link to Threads
19386         chapter.
19387         * manual/nptl.texi: New file.
19388
19389         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19390
19391 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19392
19393         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19394         for non-NULL pointer before the memory validity test. Pointed
19395         out by Holger Brunck <holger.brunck@keymile.com>.
19396
19397 2013-03-13  Andreas Schwab  <schwab@suse.de>
19398
19399         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19400         instead of .os.
19401
19402 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19403
19404         * timezone/zic.c: Update from tzcode 2013b.
19405
19406 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19407
19408         * manual/install.texi (Configuring and compiling):
19409         Mention i686 and i586.
19410         * INSTALL: Regenerate.
19411
19412 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19413
19414         * sysdeps/init_array/elf-init.c: New file.
19415         * csu/elf-init.c
19416         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19417         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19418
19419         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19420         __gmon_start__ as global, but as static with a .preinit_array pointer.
19421         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19422         * sysdeps/init_array/crti.S: New file, empty except for comments.
19423         * sysdeps/init_array/crtn.S: Likewise.
19424
19425 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19426
19427         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19428         definining bcopy.
19429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19430         Remove Prefer_SSE_for_memop.
19431         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19432         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19433         HAS_PREFER_SSE_FOR_MEMOP.
19434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19435         memset-x86-64.
19436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19437         Remove bzero, memset ifunc support.
19438         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19439         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19440         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19441         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19442
19443 2013-03-11  Andreas Schwab  <schwab@suse.de>
19444
19445         [BZ #15234]
19446         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19447         by SHLIB_COMPAT.
19448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19449         (GLIBC_2.16): Remove pthread_atfork.
19450
19451 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19452
19453         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19454         (ptestcases.h): Likewise.
19455
19456 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19457
19458         * Makeconfig ($(common-objpfx)config.status): Depend on
19459         sysdeps/*/preconfigure{,.in} too.
19460
19461 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19462
19463         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19464         (__free_hook): Use void * instead of __malloc_ptr_t.
19465         (__malloc_hook): Likewise.
19466         (__realloc_hook): Likewise.
19467         (__memalign_hook): Likewise.
19468         (__after_morecore_hook): Likewise.
19469         * malloc/arena.c (save_malloc_hook): Likewise.
19470         (save_free_hook): Likewise.
19471         * malloc/hooks.c (malloc_hook_ini): Likewise.
19472         (realloc_hook_ini): Likewise.
19473         (memalign_hook_ini): Likewise.
19474         * malloc/malloc.c (malloc_hook_ini): Likewise.
19475         (realloc_hook_ini): Likewise.
19476         (memalign_hook_ini): Likewise.
19477         (__free_hook): Likewise.
19478         (__malloc_hook): Likewise.
19479         (__realloc_hook): Likewise.
19480         (__memalign_hook): Likewise.
19481         (__libc_malloc): Likewise.
19482         (__libc_free): Likewise.
19483         (__libc_realloc): Likewise.
19484         (__libc_memalign): Likewise.
19485         (__libc_valloc): Likewise.
19486         (__libc_pvalloc): Likewise.
19487         (__libc_calloc): Likewise.
19488         (__posix_memalign): Likewise.
19489         * malloc/morecore.c (__sbrk): Likewise.
19490         (__default_morecore): Likewise.
19491
19492         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19493
19494         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19495         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19496         __malloc_ptrdiff_t.
19497
19498         * malloc/malloc.h (__malloc_size_t): Remove macro.
19499         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19500         __malloc_size_t.
19501         (old_memalign_hook): Likewise.
19502         (old_realloc_hook): Likewise.
19503         (struct hdr): Likewise.
19504         (flood): Likewise.
19505         (mallochook): Likewise.
19506         (memalignhook): Likewise.
19507         (reallochook): Likewise.
19508         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19509         (tr_old_realloc_hook): Likewise.
19510         (tr_old_memalign_hook): Likewise.
19511         (tr_mallochook): Likewise.
19512         (tr_reallochook): Likewise.
19513         (tr_memalignhook): Likewise.
19514
19515 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19516
19517         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19518         default_ldbl_pack and using as default implementation.
19519         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19520         implementation.
19521         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19522         redundant definition.
19523         (ldbl_insert_mantissa): Likewise.
19524         (ldbl_canonicalize): Likewise.
19525         (ldbl_nearbyint): Likewise.
19526         (ldbl_pack): Rename to ldbl_pack_ppc.
19527         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19528         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19529         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19530
19531 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19532
19533         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19534         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19535         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19536         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19538         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19539         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19540         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19541
19542 2013-03-07  Andreas Jaeger  <aj@suse.de>
19543
19544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19545         bits/mman-linux.h.
19546
19547 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19548
19549         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19550         Include mpa.h and declare __MPEXP.
19551         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19552         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19553         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19554         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19555         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19556         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19557         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19558
19559         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19560         (__slowpow): Use long double EXPL and LOGL functions to
19561         compute POW.
19562         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19563         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19564         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19565         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19566         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19568
19569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19570         intermediate variable to calculate exponent.
19571         (__sqr): Likewise.
19572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19573         Likewise.
19574         (__sqr): Likewise.
19575
19576         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19577         [!NO__SQR]: Define __sqr.
19578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19579         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19580         sysdeps/ieee754/dbl-64/mpa.c.
19581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19582
19583         [BZ #12723]
19584         * posix/Makefile (tests): Add tst-pathconf.
19585         * posix/tst-pathconf.c: New test case.
19586         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19587         _PC_PIPE_BUF.
19588         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19589
19590 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19591
19592         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19593
19594 2013-03-06  Andreas Jaeger  <aj@suse.de>
19595
19596         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19597         definition via __MAP_ANONYMOUS.
19598
19599         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19600         it's not part of Linux headers.
19601
19602         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19603         (MAP_HUGE_MASK): Define.
19604
19605         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19606         Define.
19607         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19608         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19609         Define.
19610         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19611         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19612         Define.
19613         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19614         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19615         Define.
19616         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19617
19618         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19619         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19620         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19621         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19622         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19623         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19624
19625         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19626         Handle f2fs.
19627
19628         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19629         Handle f2fs and efivarfs.
19630
19631         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19632         f2fs.
19633
19634         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19635         (EFIVARFS_MAGIC): Add.
19636         (F2FS_LINK_MAX): Add.
19637
19638 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19639
19640         * stdio-common/vfprintf.c: Replace __builtin_expect with
19641         __glibc_unlikely.
19642
19643 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19644
19645         [BZ #13550]
19646         * sysdeps/generic/bp-sym.h: Remove file.
19647         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19648         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19649         <bp-sym.h> and <bp-asm.h>.
19650         (__longjmp): Don't use BP_SYM.
19651         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19652         and <bp-asm.h>.
19653         (memcpy): Don't use BP_SYM.
19654         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19655         <bp-sym.h> and <bp-asm.h>.
19656         (memcpy): Don't use BP_SYM.
19657         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19658         <bp-asm.h>.
19659         (memcpy): Don't use BP_SYM.
19660         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19661         <bp-asm.h>.
19662         (memset): Don't use BP_SYM.
19663         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19664         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19665         (__bzero): Don't use BP_SYM.
19666         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19667         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19668         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19669         <bp-sym.h> and <bp-asm.h>.
19670         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19671         pointers.
19672         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19673         <bp-sym.h> and <bp-asm.h>.
19674         (memcpy): Don't use BP_SYM.
19675         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19676         <bp-sym.h> and <bp-asm.h>.
19677         (memset): Don't use BP_SYM.
19678         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19679         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19680         (__bzero): Don't use BP_SYM.
19681         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19682         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19683         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19684         <bp-sym.h> and <bp-asm.h>.
19685         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19686         pointers.
19687         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19688         <bp-sym.h> and <bp-asm.h>.
19689         (memcpy): Don't use BP_SYM.
19690         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19691         <bp-sym.h> and <bp-asm.h>.
19692         (memset): Don't use BP_SYM.
19693         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19694         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19695         (__bzero): Don't use BP_SYM.
19696         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19697         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19698         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19699         <bp-sym.h> and <bp-asm.h>.
19700         (__memchr): Don't use BP_SYM.
19701         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19702         <bp-sym.h> and <bp-asm.h>.
19703         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19704         pointers.
19705         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19706         <bp-sym.h> and <bp-asm.h>.
19707         (memcpy): Don't use BP_SYM.
19708         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19709         <bp-sym.h> and <bp-asm.h>.
19710         (__mempcpy): Don't use BP_SYM.
19711         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19712         <bp-sym.h> and <bp-asm.h>.
19713         (__memrchr): Don't use BP_SYM.
19714         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19715         <bp-sym.h> and <bp-asm.h>.
19716         (memset): Don't use BP_SYM.
19717         (__bzero): Likewise.
19718         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19719         <bp-sym.h> and <bp-asm.h>.
19720         (__rawmemchr): Don't use BP_SYM.
19721         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19722         <bp-sym.h> and <bp-asm.h>.
19723         (__STRCMP): Don't use BP_SYM.
19724         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19725         <bp-sym.h> and <bp-asm.h>.
19726         (strchr): Don't use BP_SYM.
19727         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19728         <bp-sym.h> and <bp-asm.h>.
19729         (__strchrnul): Don't use BP_SYM.
19730         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19731         <bp-sym.h> and <bp-asm.h>.
19732         (strlen): Don't use BP_SYM.
19733         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19734         <bp-sym.h> and <bp-asm.h>.
19735         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19736         pointers.
19737         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19738         <bp-sym.h> and <bp-asm.h>.
19739         (__strnlen): Don't use BP_SYM.
19740         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19741         <bp-sym.h> and <bp-asm.h>.
19742         (__GI__setjmp): Don't use BP_SYM.
19743         (_setjmp): Likewise.
19744         (__sigsetjmp): Likewise.
19745         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19746         (L(start_addresses)): Don't use BP_SYM.
19747         (_start): Likewise.
19748         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19749         <bp-asm.h>.
19750         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19751         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19752         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19753         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19754         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19755         <bp-asm.h>.
19756         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19757         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19758         about bounded pointers.
19759         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19760         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19761         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19762         <bp-asm.h>.
19763         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19764         about bounded pointers.  Remove GKM FIXME comments.
19765         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19766         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19767         <bp-asm.h>.
19768         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19769         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19770         Remove GKM FIXME comments.
19771         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19772         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19773         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19774         <bp-asm.h>.
19775         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19776         about bounded pointers.  Remove GKM FIXME comment.
19777         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19778         and <bp-asm.h>.
19779         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19780         pointers.
19781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19782         <bp-sym.h> and <bp-asm.h>.
19783         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19785         <bp-sym.h> and <bp-asm.h>.
19786         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19787         comment.
19788
19789 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19790
19791         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19792         call free(NULL).
19793
19794 2013-03-05  David S. Miller  <davem@davemloft.net>
19795
19796         * po/es.po: Update from translation team.
19797
19798 2013-03-05  Andreas Jaeger  <aj@suse.de>
19799
19800         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19801         <bits/mman-linux.h>.
19802         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19803         is fine.
19804         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19805         <bits/mman-linux.h> to end of file.
19806         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19807         is fine.
19808         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19809         <bits/mman-linux.h> to end of file.
19810         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19811         is fine.
19812         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19813         <bits/mman-linux.h> to end of file.
19814
19815         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19816         (MCL_CURRENT, MCL_FUTURE): Define here.
19817
19818 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19819
19820         [BZ #15232]
19821         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19822         attribute_hidden.
19823         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19824
19825 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19826
19827         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19828         fourth parameter needed for rt_sigprocmask syscall.
19829         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19830         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19831         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19832         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19833         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19834         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19835
19836 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19837
19838         [BZ #13550]
19839         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19840         comment about bounded pointers.
19841         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19842         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19843
19844 2013-03-04  Andreas Jaeger  <aj@suse.de>
19845
19846         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19847         common definitions.
19848
19849         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19850         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19851         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19852         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19853         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19854         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19855
19856 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19857
19858         [BZ #15055]
19859         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19860         __ieee754_sqrl instead of __sqrl.
19861
19862 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19863
19864         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19865         * sysdeps/powerpc/fpu_control.h: ... here.
19866         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19867         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19868         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19869         * sysdeps/powerpc/bits/mathinline.h: ... here.
19870
19871 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19872
19873         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19874         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19875         to just [NEED_DL_SYSINFO_DSO].
19876         * elf/dl-support.c: Likewise.
19877         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19878         * elf/rtld.c (dl_main): Likewise.
19879         * elf/setup-vdso.h (setup_vdso): Likewise.
19880         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19881         * sysdeps/unix/sysv/linux/dl-sysdep.c
19882         (_dl_discover_osversion): Likewise.
19883
19884 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19885
19886         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19887         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19888
19889 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19890
19891         * NEWS: Mention libm performance improvements and non-x86 PI
19892         futex support.
19893
19894         * csu/libc-start.c (__pthread_initialize_minimal): Change
19895         function arguments.
19896         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19897
19898 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19899
19900         [BZ #13550]
19901         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19902         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19903         <bp-sym.h> and <bp-asm.h>.
19904         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19905         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19906         and <bp-asm.h>.
19907         (memcpy): Don't use BP_SYM.
19908         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19909         <bp-asm.h>.
19910         (__mpn_add_n): Don't use BP_SYM.
19911         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19912         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19913         and <bp-asm.h>.
19914         (__mpn_addmul_1): Don't use BP_SYM.
19915         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19916         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19917         <bp-sym.h>.
19918         (_setjmp): Don't use BP_SYM.
19919         (__novmx_setjmp): Likewise.
19920         (__GI__setjmp): Likewise.
19921         (__vmx_setjmp): Likewise.
19922         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19923         <bp-sym.h>.
19924         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19925         (__bzero): Don't use BP_SYM.
19926         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19927         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19928         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19929         <bp-sym.h> and <bp-asm.h>.
19930         (memcpy): Don't use BP_SYM.
19931         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19932         <bp-sym.h> and <bp-asm.h>.
19933         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19934         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19935         <bp-sym.h> and <bp-asm.h>.
19936         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19937         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19938         <bp-asm.h>.
19939         (__mpn_lshift): Don't use BP_SYM.
19940         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19941         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19942         <bp-asm.h>.
19943         (memset): Don't use BP_SYM.
19944         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19945         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19946         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19947         <bp-asm.h>.
19948         (__mpn_mul_1): Don't use BP_SYM.
19949         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19950         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19951         <bp-sym.h> and <bp-asm.h>.
19952         (memcmp): Don't use BP_SYM.
19953         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19954         <bp-sym.h> and <bp-asm.h>.
19955         (memcpy): Don't use BP_SYM.
19956         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19957         <bp-sym.h> and <bp-asm.h>.
19958         (memset): Don't use BP_SYM.
19959         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19960         <bp-sym.h> and <bp-asm.h>.
19961         (strncmp): Don't use BP_SYM.
19962         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19963         <bp-sym.h> and <bp-asm.h>.
19964         (memcpy): Don't use BP_SYM.
19965         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19966         <bp-sym.h> and <bp-asm.h>.
19967         (memset): Don't use BP_SYM.
19968         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19969         <bp-sym.h> and <bp-asm.h>.
19970         (__memchr): Don't use BP_SYM.
19971         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19972         <bp-sym.h> and <bp-asm.h>.
19973         (memcmp): Don't use BP_SYM.
19974         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19975         <bp-sym.h> and <bp-asm.h>.
19976         (memcpy): Don't use BP_SYM.
19977         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19978         <bp-sym.h> and <bp-asm.h>.
19979         (__mempcpy): Don't use BP_SYM.
19980         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19981         <bp-sym.h> and <bp-asm.h>.
19982         (__memrchr): Don't use BP_SYM.
19983         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19984         <bp-sym.h> and <bp-asm.h>.
19985         (memset): Don't use BP_SYM.
19986         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19987         <bp-sym.h> and <bp-asm.h>.
19988         (__rawmemchr): Don't use BP_SYM.
19989         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19990         <bp-sym.h> and <bp-asm.h>.
19991         (__STRCMP): Don't use BP_SYM.
19992         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19993         <bp-sym.h> and <bp-asm.h>.
19994         (strchr): Don't use BP_SYM.
19995         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19996         <bp-sym.h> and <bp-asm.h>.
19997         (__strchrnul): Don't use BP_SYM.
19998         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19999         <bp-sym.h> and <bp-asm.h>.
20000         (strlen): Don't use BP_SYM.
20001         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20002         <bp-sym.h> and <bp-asm.h>.
20003         (strncmp): Don't use BP_SYM.
20004         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20005         <bp-sym.h> and <bp-asm.h>.
20006         (__strnlen): Don't use BP_SYM.
20007         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20008         <bp-asm.h>.
20009         (__mpn_rshift): Don't use BP_SYM.
20010         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20011         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20012         <bp-sym.h> and <bp-asm.h>.
20013         (__sigsetjmp): Don't use BP_SYM.
20014         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20015         (L(start_addresses)): Don't use BP_SYM.
20016         (_start): Likewise.
20017         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20018         <bp-asm.h>.
20019         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20020         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20021         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20022         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20023         <bp-asm.h>.
20024         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20025         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20026         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20027         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20028         <bp-asm.h>.
20029         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20030         comments.
20031         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20032         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20033         <bp-asm.h>.
20034         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20035         FIXME comments.
20036         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20037         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20038         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20039         <bp-asm.h>.
20040         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20041         comment.
20042         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20043         and <bp-asm.h>.
20044         (strncmp): Don't use BP_SYM,
20045         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20046         <bp-asm.h>.
20047         (__mpn_sub_n): Don't use BP_SYM.
20048         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20049         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20050         and <bp-asm.h>.
20051         (__mpn_submul_1): Don't use BP_SYM.
20052         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20054         <bp-sym.h> and <bp-asm.h>.
20055         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20057         <bp-sym.h> and <bp-asm.h>.
20058         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20059         comment.
20060
20061 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20062
20063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20064         Use ZK to minimize writes to Z.
20065         (sub_magnitudes): Simplify code a bit.
20066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20067         Use ZK to minimize writes to Z.
20068         (sub_magnitudes): Simplify code a bit.
20069
20070 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20071
20072         * csu/gmon-start.c: Add special exception to license text.
20073
20074 2013-02-27  Richard Henderson  <rth@redhat.com>
20075
20076         * scripts/config.guess: Update from config.git.
20077         * scripts/config.sub: Likewise.
20078
20079 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20080
20081         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20082
20083         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20084
20085         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20086
20087         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20088
20089         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20090
20091 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20092
20093         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20094         [$(build-shared = yes].
20095
20096 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20097
20098         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20099         (__mul): Reduce iterations for calculating mantissa.
20100
20101         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20102         MPTWO.
20103         (__mpranred): Likewise.
20104
20105         [BZ #15160]
20106         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20107         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20108
20109 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20110
20111         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20112         Define __attribute__.
20113
20114 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20115
20116         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20117         unused.
20118         * posix/regex_internal.h (__attribute): Remove.
20119         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20120         (re_string_context_at): Likewise.
20121         (bitset_not): Use __attribute__ and mark function as possibly
20122         unused.
20123         (bitset_merge): Likewise.
20124         (bitset_mask): Likewise.
20125         (re_string_char_size_at): Likewise.
20126         (re_string_wchar_at): Likewise.
20127         (re_string_elem_size_at): Likewise.
20128
20129 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20130
20131         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20132         code.
20133         (cc32): Likewise.
20134
20135         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20136         (__acr): Likewise.
20137         (__cpy): Likewise.
20138         (norm): Likewise.
20139         (denorm): Likewise.
20140         (__dbl_mp): Likewise.
20141         (add_magnitudes): Likewise.
20142         (sub_magnitudes): Likewise.
20143         (__mul): Likewise.
20144         (__inv): Likewise.
20145
20146         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20147         style.
20148
20149         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20150         style.
20151
20152         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20153         code.
20154
20155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20156         up changes with default code.
20157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20158         Likewise.
20159
20160 2013-02-24  Allan McRae  <allan@archlinux.org>
20161
20162         * manual/socket.texi (The Internet Namespace): Order menu items
20163         to match that in the file.
20164
20165         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20166         node listing of the info page menu.
20167
20168 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20169
20170         [BZ #13550]
20171         * sysdeps/i386/bp-asm.h: Remove file.
20172         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20173         (PARMS): Do not use macros from bp-asm.h.
20174         (S1): Likewise.
20175         (S2): Likewise.
20176         (SIZE): Likewise.
20177         (__mpn_add_n): Do not use BP_SYM
20178         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20179         "bp-asm.h".
20180         (PARMS): Do not use macros from bp-asm.h.
20181         (S1): Likewise.
20182         (SIZE): Likewise.
20183         (__mpn_addmul_1): Do not use BP_SYM
20184         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20185         "bp-asm.h".
20186         (PARMS): Do not use macros from bp-asm.h.
20187         (SIGMSK): Likewise.
20188         (_setjmp): Likewise.  Do not use BP_SYM.
20189         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20190         "bp-asm.h".
20191         (PARMS): Do not use macros from bp-asm.h.
20192         (SIGMSK): Likewise.
20193         (setjmp): Likewise.  Do not use BP_SYM.
20194         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20195         "bp-asm.h".
20196         (PARMS): Do not use macros from bp-asm.h.
20197         (__frexp): Do not use BP_SYM.
20198         (frexp): Likewise.
20199         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20200         "bp-asm.h".
20201         (PARMS): Do not use macros from bp-asm.h.
20202         (__frexpf): Do not use BP_SYM.
20203         (frexpf): Likewise.
20204         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20205         "bp-asm.h".
20206         (PARMS): Do not use macros from bp-asm.h.
20207         (__frexpl): Do not use BP_SYM.
20208         (frexpl): Likewise.
20209         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20210         "bp-asm.h".
20211         (PARMS): Do not use macros from bp-asm.h.
20212         (__remquo): Do not use BP_SYM.
20213         (remquo): Likewise.
20214         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20215         "bp-asm.h".
20216         (PARMS): Do not use macros from bp-asm.h.
20217         (__remquof): Do not use BP_SYM.
20218         (remquof): Likewise.
20219         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20220         "bp-asm.h".
20221         (PARMS): Do not use macros from bp-asm.h.
20222         (__remquol): Do not use BP_SYM.
20223         (remquol): Likewise.
20224         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20225         "bp-asm.h".
20226         (PARMS): Do not use macros from bp-asm.h.
20227         (DEST): Likewise.
20228         (SRC): Likewise.
20229         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20230         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20231         "bp-asm.h".
20232         (PARMS): Do not use macros from bp-asm.h.
20233         (strlen): Do not use BP_SYM.
20234         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20235         "bp-asm.h".
20236         (PARMS): Do not use macros from bp-asm.h.
20237         (S1): Likewise.
20238         (S2): Likewise.
20239         (SIZE): Likewise.
20240         (__mpn_add_n): Do not use BP_SYM.
20241         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20242         "bp-asm.h".
20243         (PARMS): Do not use macros from bp-asm.h.
20244         (S1): Likewise.
20245         (SIZE): Likewise.
20246         (__mpn_addmul_1): Do not use BP_SYM.
20247         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20248         weak_alias.
20249         (bzero): Likewise.
20250         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20251         "bp-asm.h".
20252         (PARMS): Do not use macros from bp-asm.h.
20253         (S): Likewise.
20254         (SIZE): Likewise.
20255         (__mpn_lshift): Do not use BP_SYM.
20256         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20257         "bp-asm.h".
20258         (PARMS): Do not use macros from bp-asm.h.
20259         (DEST): Likewise.
20260         (SRC): Likewise.
20261         (LEN): Likewise.
20262         (memcpy): Likewise.  Do not use BP_SYM.
20263         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20264         libc_hidden_def and weak_alias.
20265         (mempcpy): Do not use BP_SYM in weak_alias.
20266         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20267         "bp-asm.h".
20268         (PARMS): Do not use macros from bp-asm.h.
20269         (DEST): Likewise.
20270         (LEN): Likewise.
20271         [!BZERO_P] (CHR): Likewise.
20272         (memset): Likewise.  Do not use BP_SYM.
20273         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20274         "bp-asm.h".
20275         (PARMS): Do not use macros from bp-asm.h.
20276         (S1): Likewise.
20277         (SIZE): Likewise.
20278         (__mpn_mul_1): Do not use BP_SYM.
20279         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20280         "bp-asm.h".
20281         (PARMS): Do not use macros from bp-asm.h.
20282         (S): Likewise.
20283         (SIZE): Likewise.
20284         (__mpn_rshift): Do not use BP_SYM.
20285         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20286         "bp-asm.h".
20287         (PARMS): Do not use macros from bp-asm.h.
20288         (STR): Likewise.
20289         (CHR): Likewise.
20290         (strchr): Likewise.  Do not use BP_SYM.
20291         (index): Do not use BP_SYM in weak_alias.
20292         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20293         "bp-asm.h".
20294         (PARMS): Do not use macros from bp-asm.h.
20295         (DEST): Likewise.
20296         (SRC): Likewise.
20297         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20298         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20299         "bp-asm.h".
20300         (PARMS): Do not use macros from bp-asm.h.
20301         (strlen): Do not use BP_SYM.
20302         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20303         "bp-asm.h".
20304         (PARMS): Do not use macros from bp-asm.h.
20305         (S1): Likewise.
20306         (S2): Likewise.
20307         (SIZE): Likewise.
20308         (__mpn_sub_n): Do not use BP_SYM.
20309         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20310         "bp-asm.h".
20311         (PARMS): Do not use macros from bp-asm.h.
20312         (S1): Likewise.
20313         (SIZE): Likewise.
20314         (__mpn_submul_1): Do not use BP_SYM.
20315         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20316         "bp-asm.h".
20317         (PARMS): Do not use macros from bp-asm.h.
20318         (S1): Likewise.
20319         (S2): Likewise.
20320         (SIZE): Likewise.
20321         (__mpn_add_n): Do not use BP_SYM.
20322         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20323         weak_alias.
20324         (bzero): Likewise.
20325         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20326         "bp-asm.h".
20327         (PARMS): Do not use macros from bp-asm.h.
20328         (BLK2): Likewise.
20329         (LEN): Likewise.
20330         (memcmp): Do not use BP_SYM.
20331         (bcmp): Do not use BP_SYM in weak_alias.
20332         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20333         "bp-asm.h".
20334         (PARMS): Do not use macros from bp-asm.h.
20335         (DEST): Likewise.
20336         (SRC): Likewise.
20337         (LEN): Likewise.
20338         (memcpy): Likewise.  Do not use BP_SYM.
20339         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20340         "bp-asm.h".
20341         (PARMS): Do not use macros from bp-asm.h.
20342         (DEST): Likewise.
20343         (SRC): Likewise.
20344         (LEN): Likewise.
20345         (memmove): Likewise.  Do not use BP_SYM.
20346         * sysdeps/i386/i686/mempcpy.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         (SRC): Likewise.
20351         (LEN): Likewise.
20352         (__mempcpy): Likewise.  Do not use BP_SYM.
20353         (mempcpy): Do not use BP_SYM in weak_alias.
20354         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20355         "bp-asm.h".
20356         (PARMS): Do not use macros from bp-asm.h.
20357         (DEST): Likewise.
20358         (LEN): Likewise.
20359         [!BZERO_P] (CHR): Likewise.
20360         (memset): Likewise.  Do not use BP_SYM.
20361         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20362         "bp-asm.h".
20363         (PARMS): Do not use macros from bp-asm.h.
20364         (STR2): Likewise.
20365         (strcmp): Do not use BP_SYM.
20366         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20367         "bp-asm.h".
20368         (PARMS): Do not use macros from bp-asm.h.
20369         (STR): Likewise.
20370         (DELIM): Likewise.
20371         [USE_AS_STRTOK_R] (SAVE): Likewise.
20372         (FUNCTION): Likewise.  Do not use BP_SYM.
20373         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20374         aliases.
20375         (strtok_r): Likewise.
20376         (__GI___strtok_r): Likewise.
20377         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20378         (PARMS): Do not use macros from bp-asm.h.
20379         (S): Likewise.
20380         (SIZE): Likewise.
20381         (__mpn_lshift): Do not use BP_SYM.
20382         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20383         (PARMS): Do not use macros from bp-asm.h.
20384         (STR): Likewise.
20385         (CHR): Likewise.
20386         (__memchr): Do not use BP_SYM.
20387         (memchr): Do not use BP_SYM in weak_alias.
20388         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20389         (PARMS): Do not use macros from bp-asm.h.
20390         (BLK2): Likewise.
20391         (LEN): Likewise.
20392         (memcmp): Do not use BP_SYM.
20393         (bcmp): Do not use BP_SYM in weak_alias.
20394         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20395         (PARMS): Do not use macros from bp-asm.h.
20396         (S1): Likewise.
20397         (SIZE): Likewise.
20398         (__mpn_mul_1): Do not use BP_SYM.
20399         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20400         "bp-asm.h".
20401         (PARMS): Do not use macros from bp-asm.h.
20402         (STR): Likewise.
20403         (CHR): Likewise.
20404         (__rawmemchr): Do not use BP_SYM.
20405         (rawmemchr): Do not use BP_SYM in weak_alias.
20406         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20407         (PARMS): Do not use macros from bp-asm.h.
20408         (S): Likewise.
20409         (SIZE): Likewise.
20410         (__mpn_rshift): Do not use BP_SYM.
20411         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20412         (PARMS): Do not use macros from bp-asm.h.
20413         (SIGMSK): Likewise.
20414         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20415         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20416         (_start): Do not use BP_SYM.
20417         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20418         (PARMS): Do not use macros from bp-asm.h.
20419         (DEST): Likewise.
20420         (SRC): Likewise.
20421         (__stpcpy): Likewise.  Do not use BP_SYM.
20422         (stpcpy): Do not use BP_SYM in weak_alias.
20423         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20424         "bp-asm.h".
20425         (PARMS): Do not use macros from bp-asm.h.
20426         (DEST): Likewise.
20427         (SRC): Likewise.
20428         (LEN): Likewise.
20429         (__stpncpy): Likewise.  Do not use BP_SYM.
20430         (stpncpy): Do not use BP_SYM in weak_alias.
20431         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20432         (PARMS): Do not use macros from bp-asm.h.
20433         (STR): Likewise.
20434         (CHR): Likewise.
20435         (strchr): Likewise.  Do not use BP_SYM.
20436         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20437         "bp-asm.h".
20438         (PARMS): Do not use macros from bp-asm.h.
20439         (STR): Likewise.
20440         (CHR): Likewise.
20441         (__strchrnul): Likewise.  Do not use BP_SYM.
20442         (strchrnul): Do not use BP_SYM in weak_alias.
20443         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20444         "bp-asm.h".
20445         (PARMS): Do not use macros from bp-asm.h.
20446         (STOP): Likewise.
20447         (strcspn): Do not use BP_SYM.
20448         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20449         "bp-asm.h".
20450         (PARMS): Do not use macros from bp-asm.h.
20451         (STR): Likewise.
20452         (STOP): Likewise.
20453         (strpbrk): Likewise.  Do not use BP_SYM.
20454         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20455         "bp-asm.h".
20456         (PARMS): Do not use macros from bp-asm.h.
20457         (STR): Likewise.
20458         (CHR): Likewise.
20459         (strrchr): Likewise.  Do not use BP_SYM.
20460         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20461         (PARMS): Do not use macros from bp-asm.h.
20462         (SKIP): Likewise.
20463         (strspn): Do not use BP_SYM.
20464         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20465         (PARMS): Do not use macros from bp-asm.h.
20466         (STR): Likewise.
20467         (DELIM): Likewise.
20468         (SAVE): Likewise.
20469         (FUNCTION): Likewise.  Do not use BP_SYM.
20470         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20471         aliases.
20472         (strtok_r): Likewise.
20473         (__GI___strtok_r): Likewise.
20474         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20475         (PARMS): Do not use macros from bp-asm.h.
20476         (S1): Likewise.
20477         (S2): Likewise.
20478         (SIZE): Likewise.
20479         (__mpn_sub_n): Do not use BP_SYM.
20480         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20481         "bp-asm.h".
20482         (PARMS): Do not use macros from bp-asm.h.
20483         (S1): Likewise.
20484         (SIZE): Likewise.
20485         (__mpn_submul_1): Do not use BP_SYM.
20486         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20487         <bp-sym.h>.
20488         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20489         and <bp-asm.h>.
20490         (PARMS): Do not use macros from bp-asm.h.
20491         (FLAGS): Likewise.
20492         (PTID): Likewise.
20493         (TLS): Likewise.
20494         (CTID): Likewise.
20495         (__clone): Do not use BP_SYM.
20496         (clone): Do not use BP_SYM in weak_alias.
20497         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20498         and <bp-asm.h>.
20499         (PARMS): Do not use macros from bp-asm.h.
20500         (LEN): Likewise.
20501         (__mmap64): Do not use BP_SYM.
20502         (mmap64): Do not use BP_SYM in weak_alias.
20503         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20504         <bp-sym.h> and <bp-asm.h>.
20505         (PARMS): Do not use macros from bp-asm.h.
20506         (__posix_fadvise64_l64): Do not use BP_SYM.
20507         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20508         (PARMS): Do not use macros from bp-asm.h.
20509         (NSOPS): Likewise.
20510         (semtimedop): Do not use BP_SYM.
20511         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20512         and <bp-asm.h>.
20513
20514 2013-02-21  Allan McRae  <allan@archlinux.org>
20515
20516         * manual/message.texi (Charset conversion in gettext):
20517         Move @end statement to beginning of line.
20518
20519 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20520
20521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20522         static.
20523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20524         Likewise.
20525
20526         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20527         (denorm): Likewise.
20528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20530
20531 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20532
20533         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20534         tail-call to the resolved function if pltexit isn't needed.
20535
20536 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20537
20538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20539         or Y being zero as being unlikely.
20540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20541         Likewise.
20542
20543 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20544
20545         * manual/nss.texi (System Databases and Name Service Switch):
20546         Remove frobnicate @pxref.
20547
20548 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20549
20550         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20551         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20552
20553 2013-02-20  Petr Machata  <pmachata@redhat.com>
20554
20555         * elf/elf.h (R_ARM_TARGET1): New macro.
20556         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20557         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20558         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20559         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20560         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20561         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20562         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20563         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20564         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20565         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20566         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20567         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20568         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20569         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20570         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20571         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20572         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20573         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20574         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20575         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20576         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20577         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20578         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20579         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20580         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20581         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20582         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20583         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20584         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20585         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20586         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20587         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20588         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20589         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20590         (R_ARM_THM_GOT_BREL12): Likewise.
20591         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20592         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20593         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20594         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20595         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20596         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20597         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20598         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20599         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20600
20601 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20602
20603         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20604         __attribute_used__ to __attribute__ ((unused)).
20605
20606 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20607
20608         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20609         powerpc mpa.c.
20610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20611         comment formatting.
20612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20613
20614 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20615
20616         [BZ #13550]
20617         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20618         Remove macro.
20619         (ENTER): Remove both macro definitions.
20620         (LEAVE): Likewise.
20621         (CHECK_BOUNDS_LOW): Likewise.
20622         (CHECK_BOUNDS_HIGH): Likewise.
20623         (CHECK_BOUNDS_BOTH): Likewise.
20624         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20625         (RETURN_BOUNDED_POINTER): Likewise.
20626         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20627         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20628         (POP_ERRNO_LOCATION_RETURN): Likewise.
20629         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20630         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20631         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20632         macros.
20633         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20634         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20635         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20636         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20637         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20638         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20639         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20640         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20641         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20642         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20643         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20644         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20645         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20646         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20647         removed macros.
20648         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20649         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20650         macros.
20651         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20652         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20653         * sysdeps/i386/i586/memset.S (memset): Likewise.
20654         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20655         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20656         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20657         macros.
20658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20659         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20660         Change uses of L(2) to L(out).
20661         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20662         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20663         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20664         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20665         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20666         removed macros.
20667         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20668         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20669         macros.
20670         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20671         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20672         (RETURN): Do not use macro LEAVE.
20673         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20674         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20675         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20676         * sysdeps/i386/i686/memset.S (memset): Likewise.
20677         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20678         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20679         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20680         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20681         Likewise.
20682         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20683         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20684         L(1_2) and L(1_3) into L(1).
20685         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20686         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20687         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20688         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20689         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20690         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20691         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20692         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20693         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20694         macros.
20695         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20696         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20697         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20698         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20699         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20700         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20701         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20702         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20703         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20704         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20705         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20706         * sysdeps/i386/strspn.S (strspn): Likewise.
20707         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20708         conditional code.
20709         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20710         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20711         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20712         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20713         L(1_3) into L(1_1).
20714         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20715         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20716         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20717         macros.
20718         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20719
20720 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20721
20722         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20723         macro.
20724
20725 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20726
20727         * math/atest-exp.c (exp_mpn): Remove ROUND.
20728         * math/atest-exp2.c (exp_mpn): Likewise.
20729         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20730
20731         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20732         * stdlib/tst-tls-atexit-lib.c: Likewise.
20733         * stdlib/tst-tls-atexit.c: Likewise.
20734
20735 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20736
20737         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20738         and __attribute_alloc_size__.
20739
20740 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20741
20742         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20743         __attribute_alloc_size__.
20744         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20745         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20746
20747 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20748
20749         * include/programs/xmalloc.h: New file.
20750         * catgets/gencat.c: Include it.
20751         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20752         * elf/pldd.c: Likewise.
20753         * iconv/iconv_charmap.c: Likewise.
20754         * iconv/iconvconfig.c: Likewise.
20755         * iconv/strtab.c: Likewise.
20756         * locale/programs/locale.c: Likewise.
20757         * locale/programs/localedef.h: Likewise.
20758         * locale/programs/simple-hash.c: Likewise.
20759         * nscd/nscd.h: Likewise.
20760         * nss/makedb.c: Likewise.
20761         * sysdeps/generic/ldconfig.h: Likewise.
20762
20763 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20764
20765         * Versions.def: Add GLIBC_2.18.
20766         * include/link.h (struct link_map): New member l_tls_dtor_count.
20767         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20768         (__call_tls_dtors): Likewise.
20769         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20770         __cxa_thread_atexit_impl.
20771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20772         Likewise.
20773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20774         Likewise.
20775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20776         Likewise.
20777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20778         Likewise.
20779         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20781         Likewise.
20782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20783         Likewise.
20784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20786         Likewise.
20787         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20788         (tests): Add test case tst-tls-atexit.
20789         (modules-names): Add shared library for tst-tls-atexit.
20790         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20791         (GLIBC_PRIVATE): Add __call_tls_dtors.
20792         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20793         for libstdc++.
20794         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20795         * stdlib/tst-tls-atexit.c: New test case.
20796         * stdlib/tst-tls-atexit-lib.c: New test case.
20797
20798         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20799
20800         * elf/Versions (ld): Add _dl_find_dso_for_object.
20801         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20802         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20803         (dl_open_worker): Use _dl_find_dso_for_object.
20804         * elf/dl-sym.c (do_sym): Likewise.
20805         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20806
20807 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20808
20809         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20810         Syntactic changes only.
20811         (_dl_runtime_profile): Do a tail-call to the resolved function.
20812
20813 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20814
20815         [BZ #13550]
20816         * sysdeps/x86_64/bp-asm.h: Remove file.
20817         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20818         <bp-sym.h> and <bp-asm.h>.
20819         (__clone): Do not use BP_SYM.
20820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20821         <bp-sym.h> and <bp-asm.h>.
20822         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20823         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20824         "bp-asm.h".
20825         (_setjmp): Do not use BP_SYM.
20826         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20827         "bp-asm.h".
20828         (setjmp): Do not use BP_SYM.
20829         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20830         libc_hidden_def.
20831         (mempcpy): Do not use BP_SYM in weak_alias.
20832         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20833         "bp-asm.h".
20834         (strchr): Do not use BP_SYM.
20835         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20836         "bp-asm.h".
20837         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20838         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20839         (_start): Do not use BP_SYM.
20840         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20841         "bp-asm.h".
20842         (strcat): Do not use BP_SYM.
20843         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20844         "bp-asm.h".
20845         (STRCMP): Do not use BP_SYM.
20846         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20847         "bp-asm.h".
20848         (STRCPY): Do not use BP_SYM.
20849         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20850         "bp-asm.h".
20851         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20852         "bp-asm.h".
20853         (FUNCTION): Do not use BP_SYM.
20854         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20855         weak_alias.
20856         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20857
20858 2013-02-17  Andreas Jaeger  <aj@suse.de>
20859
20860         * time/Versions: Sort entries.
20861         * string/Versions: Likewise.
20862         * resolv/Versions: Likewise.
20863         * posix/Versions: Likewise.
20864         * iconv/Versions: Likewise.
20865         * elf/Versions: Likewise.
20866         * wcsmbs/Versions: Likewise.
20867
20868 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20869
20870         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20871         loop termination condition.
20872
20873         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20874         variable to calculate EZ.
20875         (__sqr): Likewise.
20876
20877         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20878         the lower precision input.
20879
20880 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20881
20882         [BZ #13550]
20883         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20884         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20885         (run-via-rtld-prefix): Do not handle %-bp tests.
20886         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20887         (all-object-suffixes): Remove .ob.
20888         (bppfx): Remove variable.
20889         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20890         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20891         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20892         [$(build-bounded) = yes] (libtype.ob): Likewise.
20893         * Makerules (elide-routines.ob): Remove variable.
20894         (do-tests-clean): Do not handle *-bp.out.
20895         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20896         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20897         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20898         (tests): Do not include $(tests-bp.out).
20899         (xtests): Do not include $(xtests-bp.out).
20900         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20901         [$(build-bounded) = yes] ($(addprefix
20902         $(objpfx),$(binaries-bounded))): Remove rule.
20903         ($(objpfx)%-bp.out): Remove rule.
20904         * config.make.in (build-bounded): Remove variable.
20905         * crypt/Makefile [$(build-bounded) = yes]
20906         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20907         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20908         append to variable.
20909         [$(build-bounded) = yes] (install-lib): Likewise.
20910         [$(build-bounded) = yes] (generated): Likewise.
20911         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20912         Remove rule.
20913         * intl/Makefile [$(build-bounded) = yes]
20914         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20915         * math/Makefile [$(build-bounded) = yes]
20916         ($(tests:%=$(objpfx)%-bp): Likewise.
20917         * misc/Makefile [$(build-bounded) = yes]
20918         ($(objpfx)tst-tsearch-bp): Likewise.
20919         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20920         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20921         Remove dependency.
20922         * string/Makefile (o-objects.ob): Remove variable.
20923         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20924         (CFLAGS-.ob): Remove variable.
20925         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20926         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20927         both definitions of variable.
20928         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20929         (ASFLAGS-.ob): Remove variable.
20930
20931 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20932
20933         [BZ #13550]
20934         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20935         Remove __BOUNDED_POINTERS__ from condition.
20936         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20937         * string/bits/string2.h [!__NO_STRING_INLINES &&
20938         !__BOUNDED_POINTERS__]: Likewise.
20939         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20940         Likewise.
20941         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20942         Remove conditional code.
20943         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20944         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20945         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20946         condition.
20947
20948         [BZ #13550]
20949         * csu/libc-start.c: Do not include <bp-sym.h>.
20950         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20951         * elf/dl-open.c: Do not include <bp-sym.h>.
20952         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20953         * math/fegetenv.c: Do not include <bp-sym.h>.
20954         (fegetenv): Do not use BP_SYM in versioned symbols.
20955         * nptl/sysdeps/pthread/bits/libc-lockP.h
20956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20957         <bp-sym.h>.
20958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20959         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20961         (__pthread_mutex_destroy): Likewise.
20962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20963         (__pthread_mutex_lock): Likewise.
20964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20965         (__pthread_mutex_trylock): Likewise.
20966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20967         (__pthread_mutex_unlock): Likewise.
20968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20969         (__pthread_mutexattr_init): Likewise.
20970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20971         (__pthread_mutexattr_destroy): Likewise.
20972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20973         (__pthread_mutexattr_settype): Likewise.
20974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20975         (__pthread_rwlock_init): Likewise.
20976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20977         (__pthread_rwlock_destroy): Likewise.
20978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20979         (__pthread_rwlock_rdlock): Likewise.
20980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20981         (__pthread_rwlock_tryrdlock): Likewise.
20982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20983         (__pthread_rwlock_wrlock): Likewise.
20984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20985         (__pthread_rwlock_trywrlock): Likewise.
20986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20987         (__pthread_rwlock_unlock): Likewise.
20988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20989         (__pthread_key_create): Likewise.
20990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20991         (__pthread_setspecific): Likewise.
20992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20993         (__pthread_getspecific): Likewise.
20994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20995         Likewise.
20996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20997         (_pthread_cleanup_push_defer): Likewise.
20998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20999         (_pthread_cleanup_pop_restore): Likewise.
21000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21001         (pthread_setcancelstate): Likewise.
21002         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21003         <bp-sym.h>.
21004         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21005         (memchr): Do not use BP_SYM in weak_alias.
21006         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21007         (fegetenv): Do not use BP_SYM in versioned symbols.
21008         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21009         (fesetenv): Do not use BP_SYM in versioned symbols.
21010         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21011         (feupdateenv): Do not use BP_SYM in versioned symbols.
21012         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21013         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21014         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21015         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21016         (open64): Do not use BP_SYM in weak_alias.
21017         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21018         (fegetenv): Do not use BP_SYM in versioned symbols.
21019         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21020         (fesetenv): Do not use BP_SYM in versioned symbols.
21021         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21022         (feupdateenv): Do not use BP_SYM in versioned symbols.
21023         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21024         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21025         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21026         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21027         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21028         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21029         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21030         <bp-sym.h>.
21031         (__libc_start_main): Do not use BP_SYM.
21032
21033 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21034
21035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21036         redundant return line.
21037         (norm): Likewise.
21038         (denorm): Likewise.
21039         (dbl_mp): Likewise.
21040         (sub_magnitudes): Likewise.
21041         (__add): Likewise.
21042         (__sub): Likewise.
21043         (__mul): Likewise.
21044         (__inv): Likewise.
21045         (__dvd): Likewise.
21046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21047         (norm): Likewise.
21048         (denorm): Likewise.
21049         (dbl_mp): Likewise.
21050         (sub_magnitudes): Likewise.
21051         (__add): Likewise.
21052         (__sub): Likewise.
21053         (__mul): Likewise.
21054         (__inv): Likewise.
21055         (__dvd): Likewise.
21056
21057         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21058         instead of __mul.
21059         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21060         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21061         (cc32): Likewise.
21062
21063         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21064         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21065         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21066         of __mul for squares.
21067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21068         function
21069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21070         Likewise.
21071         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21072         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21073
21074 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21075
21076         [BZ #13550]
21077         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21078         code.
21079         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21080         prototype or function definition.  Rename ubp_* variables and
21081         parameters.  Remove argv definitions conditional on
21082         [__BOUNDED_POINTERS__].
21083         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21084         * elf/dl-runtime.c (_dl_fixup): Likewise.
21085         * include/set-hooks.h (RUN_HOOK): Likewise.
21086         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21087         definition.
21088         * string/strcpy.c (strcpy): Do not use __unbounded.
21089         * sysdeps/generic/frame.h (struct layout): Likewise.
21090         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21091         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21092         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21093         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21094         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21095         (__backtrace): Likewise.
21096         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21097         use __ptrvalue.
21098         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21099         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21100         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21101         Likewise.
21102         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21103         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21104         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21105         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21106         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21107         Do not use __unbounded.
21108         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21109         Rename __unboundedrlimits parameter to rlimits in prototype.
21110         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21111         Do not use __unbounded.
21112         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21113         not use __ptrvalue.
21114         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21115         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21116         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21117         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21118         __ptrvalue or __unbounded.
21119         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21120         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21121         use __unbounded.
21122         (__new_msgctl): Do not use __ptrvalue.
21123         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21124         __unbounded.
21125         (__libc_msgrcv): Do not use __ptrvalue.
21126         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21127         startup_info): Do not use __unbounded.
21128         (__libc_start_main): Likewise.  Rename ubp_* variables and
21129         parameters.  Remove argv definitions conditional on
21130         [__BOUNDED_POINTERS__].
21131         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21132         __ptrvalue.
21133         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21134         use __unbounded.
21135         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21136         or __ptrvalue.
21137         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21138         use __unbounded.
21139         (__new_shmctl): Do not use __ptrvalue.
21140         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21141         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21142         Likewise.
21143         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21144         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21145         (__libc_sigaction): Likewise.
21146         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21147         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21148         Likewise.
21149         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21150
21151 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21152
21153         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21154
21155         * string/mempcpy.c: Implement by calling memcpy.
21156
21157 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21158
21159         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21160
21161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21162         evaluation.
21163
21164         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21165         values in the mantissa.
21166
21167         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21168         minimize writes to Z.
21169         (sub_magnitudes): Simplify code a bit.
21170
21171 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21172
21173         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21174         from the message.  The linker prefixes all warnings with that already.
21175
21176 2013-02-12  Andreas Schwab  <schwab@suse.de>
21177
21178         [BZ #15078]
21179         * posix/regexec.c (extend_buffers): Add parameter min_len.
21180         (check_matching): Pass minimum needed length.
21181         (clean_state_log_if_needed): Likewise.
21182         (get_subexp): Likewise.
21183         * posix/Makefile (tests): Add bug-regex34.
21184         (bug-regex34-ENV): Define.
21185         * posix/bug-regex34.c: New file.
21186
21187         [BZ #11561]
21188         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21189         elements compare against the byte sequence of it, not its name.
21190         * posix/Makefile (tests): Add bug-regex35.
21191         (bug-regex35-ENV): Define.
21192         * posix/bug-regex35.c: New file.
21193
21194 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21195
21196         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21197         comment.
21198         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21199         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21200         (CHECK_EOL): Add undef.
21201
21202 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21203
21204         * bits/stdlib-bsearch.h: New file.
21205         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21206         * stdlib/stdlib.h: Likewise.
21207
21208 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21209
21210         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21211         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21212         declaration.
21213         * manual/search.texi (Array Search Function): Add missing const in
21214         lfind prototype.
21215         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21216         declaration to use rlim_t.
21217         (Basic Scheduling Functions): Remove erroneous const from
21218         sched_getparam prototype.  Remove erroneous * from
21219         sched_get_priority_max and sched_get_priority_min prototypes.
21220         (Resource Usage): Fix summary @comment on vtimes to refer to
21221         sys/vtimes.h rather than vtimes.h.
21222         Add missing *s in vtimes prototype.
21223         (Limits on Resources): Fix ulimit prototype to return long int.
21224         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21225         prototypes to use long int rather than double.
21226         (BSD Random): Fix initstate and setstate to use char *, not void *.
21227         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21228         prototype to make second argument 'struct aiocb64 *const[]'.
21229         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21230         (Status of AIO Operations): Remove erroneous const in aio_return and
21231         aio_return64 prototypes.
21232         (Synchronizing I/O): Fix sync prototype to return void.
21233         * manual/startup.texi (Suboptions): Remove an erroneous const in
21234         getsubopt prototype.
21235         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21236         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21237         use size_t rather than int.
21238         (Scanning All Users): Likewise for getpwent_r.
21239         (Setting Groups): Add missing const to setgroups prototype.
21240         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21241         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21242         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21243         'const void *' rather than 'const char *'.
21244         (Host Address Functions): Likewise for inet_ntop.
21245         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21246         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21247         ssize_t for return value.
21248         (Sending Data): Likewise for send, sendto, sendmsg.
21249         (Socket Option Functions): Add a missing const in setsockopt prototype.
21250         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21251         use wchar_t for the argument.
21252         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21253         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21254         take no arguments.
21255         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21256         double/float/long double for second argument.
21257         Fix return types of significand, significandf, significandl.
21258         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21259         argument in fchmod prototype.
21260         (File Owner): Use uid_t and gid_t in fchown prototype.
21261         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21262         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21263         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21264         use 'const struct dirent **' as argument types to CMP function pointer
21265         argument.
21266         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21267         (File Times): Fix summary magic @comment for struct utimbuf and utime
21268         to refer to utime.h, not time.h.
21269         * manual/string.texi (Argz Functions): Add missing const in
21270         argz_extract and argz_next prototypes.
21271         (Finding Tokens in a String): Likewise for basename.
21272         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21273         (Copying and Concatenation): Fix typo in wmemmove prototype.
21274         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21275         (Signal Stack): Remove erroneous const in sigstack prototype.
21276         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21277         prototype.
21278         (Simple Calendar Time): Likewise for stime.
21279         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21280         prototype.
21281         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21282         say sys/sysctl.h instead.
21283         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21284         and vsyslog prototypes.
21285
21286 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21287
21288         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21289         Remove.
21290
21291 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21292
21293         * misc/sys/mman.h: Fix typo in mremap comment.
21294
21295 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21296
21297         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21298         the '\0' terminator.
21299
21300 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21301
21302         [BZ #13550]
21303         * debug/segfault.c: Don't include <bp-checks.h>.
21304         * sysdeps/generic/bp-checks.h: Remove file.
21305         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21306         (__GETDENTS): Don't use CHECK_N.
21307         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21308         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21309         (__getgroups): Don't use CHECK_N.
21310         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21311         (setgroups): Don't use CHECK_N.
21312         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21313         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21314         (__libc_msgrcv): Don't use CHECK_N.
21315         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21316         (__libc_msgsnd): Don't use CHECK_N.
21317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21318         <bp-checks.h>.
21319         (__libc_pread): Don't use CHECK_N.
21320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21321         include <bp-checks.h>.
21322         (__libc_pread64): Don't use CHECK_N.
21323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21324         include <bp-checks.h>.
21325         (__libc_pwrite): Don't use CHECK_N.
21326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21327         include <bp-checks.h>.
21328         (__libc_pwrite64): Don't use CHECK_N.
21329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21330         <bp-checks.h>.
21331         (__libc_pread): Don't use CHECK_N.
21332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21333         include <bp-checks.h>.
21334         (__libc_pread64): Don't use CHECK_N.
21335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21336         include <bp-checks.h>.
21337         (__libc_pwrite): Don't use CHECK_N.
21338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21339         include <bp-checks.h>.
21340         (__libc_pwrite64): Don't use CHECK_N.
21341         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21342         (do_pread): Don't use CHECK_N.
21343         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21344         (do_pread64): Don't use CHECK_N.
21345         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21346         (do_pwrite): Don't use CHECK_N.
21347         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21348         (do_pwrite64): Don't use CHECK_N.
21349         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21350         (__libc_readv): Don't use CHECK_N.
21351         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21352         (semop): Don't use CHECK_N.
21353         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21354         <bp-checks.h>.
21355         (semtimedop): Don't use CHECK_N.
21356         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21357         (__libc_pread): Don't use CHECK_N.
21358         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21359         <bp-checks.h>.
21360         (__libc_pread64): Don't use CHECK_N.
21361         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21362         <bp-checks.h>.
21363         (__libc_pwrite): Don't use CHECK_N.
21364         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21365         <bp-checks.h>.
21366         (__libc_pwrite64): Don't use CHECK_N.
21367         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21368         <bp-checks.h>.
21369         (__libc_msgrcv): Don't use CHECK_N.
21370         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21371         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21372         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21373         (__libc_writev): Don't use CHECK_N.
21374
21375 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21376
21377         * string/strcpy.c: Removed unused variable.
21378
21379         * Makeconfig (+sysdep-includes): Define with := rather than =.
21380         Use an existing include/ subdir of each sysdeps dir before it.
21381
21382 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21383
21384         * nscd/connection.c (register_traced_file): Comment function.
21385         [HAVE_INOTIFY] (union __inev): Define.
21386         [HAVE_INOTIFY] (inotify_check_files): New function.
21387         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21388         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21389         clear_db_cache.
21390         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21391
21392 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21393
21394         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21395         loaded if not already and that a failure is permanent.
21396
21397 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21398
21399         [BZ #15006]
21400         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21401         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21402
21403 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21404
21405         [BZ #13550]
21406         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21407         (CHECK_1_NULL_OK): Likewise.
21408         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21409         (__fxstat): Do not use CHECK_1.
21410         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21411         <bp-checks.h>.
21412         (___fxstat64): Do not use CHECK_1.
21413         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21414         <bp-checks.h>.
21415         (__fxstatat): Do not use CHECK_1.
21416         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21417         <bp-checks.h>.
21418         (__fxstatat64): Do not use CHECK_1.
21419         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21420         <bp-checks.h>.
21421         (__fxstat): Do not use CHECK_1.
21422         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21423         <bp-checks.h>.
21424         (__fxstatat): Do not use CHECK_1.
21425         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21426         <bp-checks.h>.
21427         (__getresgid): Do not use CHECK_1.
21428         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21429         <bp-checks.h>.
21430         (__getresuid): Do not use CHECK_1.
21431         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21432         <bp-checks.h>.
21433         (__lxstat): Do not use CHECK_1.
21434         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21435         <bp-checks.h>.
21436         (__old_msgctl): Do not use CHECK_1.
21437         (__new_msgctl): Likewise.
21438         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21439         <bp-checks.h>.
21440         (__new_setrlimit): Do not use CHECK_1.
21441         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21442         <bp-checks.h>.
21443         (__old_shmctl): Do not use CHECK_1.
21444         (__new_shmctl): Likewise.
21445         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21446         <bp-checks.h>.
21447         (__xstat): Do not use CHECK_1.
21448         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21449         (__lxstat): Do not use CHECK_1.
21450         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21451         <bp-checks.h>.
21452         (___lxstat64): Do not use CHECK_1.
21453         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21454         (__old_msgctl): Do not use CHECK_1.
21455         (__new_msgctl): Likewise.
21456         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21457         <bp-checks.h>.
21458         (__gettimeofday): Do not use CHECK_1.
21459         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21460         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21461         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21462         <bp-checks.h>.
21463         (__gettimeofday): Do not use CHECK_1.
21464         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21465         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21466         (__new_shmctl): Do not use CHECK_1.
21467         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21468         <bp-checks.h>.
21469         (do_sigtimedwait): Do not use CHECK_1.
21470         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21471         <bp-checks.h>.
21472         (do_sigwaitinfo): Do not use CHECK_1.
21473         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21474         <bp-checks.h>.
21475         (msgctl): Do not use CHECK_1.
21476         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21477         <bp-checks.h>.
21478         (shmctl): Do not use CHECK_1.
21479         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21480         (ustat): Do not use CHECK_1.
21481         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21482         <bp-checks.h>.
21483         (__fxstat): Do not use CHECK_1.
21484         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21485         <bp-checks.h>.
21486         (__fxstatat): Do not use CHECK_1.
21487         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21488         <bp-checks.h>.
21489         (__lxstat): Do not use CHECK_1.
21490         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21491         <bp-checks.h>.
21492         (__xstat): Do not use CHECK_1.
21493         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21494         (__xstat): Do not use CHECK_1.
21495         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21496         (___xstat64): Do not use CHECK_1.
21497
21498         [BZ #13550]
21499         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21500         definitions.
21501         (CHECK_BOUNDS_HIGH): Likewise.
21502         * string/strcpy.c: Do not include <bp-checks.h>.
21503         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21504
21505 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21506
21507         * nscd/nscd-client.h (__nscd_drop_map_ref):
21508         Add __attribute__ ((unused)).
21509         * nis/nss-nisplus.h (niserr2nss): Likewise.
21510
21511         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21512         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21513
21514         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21515         Remove inline keyword.
21516         * include/rounding-mode.h (round_away): Likewise.
21517         * libio/wfileops.c (adjust_wide_data): Likewise.
21518         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21519         (__m128i_strloadu_tolower): Likewise.
21520         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21521         (__m128i_strloadu_tolower): Likewise.
21522         * time/mktime.c (ydhms_diff): Likewise.
21523         * locale/elem-hash.h (elem_hash): Likewise.
21524         * locale/setlocale.c (setdata): Likewise.
21525         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21526         (re_string_wchar_at): Likewise.
21527         (bitset_not, bitset_merge, bitset_mask): Likewise.
21528         [!(__GNUC__ > 3)] (inline): Remove macro.
21529         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21530         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21531         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21532         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21533         * string/memcmp.c (memcmp_bytes): Likewise.
21534         * locale/programs/locarchive.c (compute_hashval): Likewise.
21535         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21536         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21537         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21538         * nss/getent.c (print_rpc, print_protocols): Likewise.
21539         (print_passwd, print_group, print_aliases): Likewise.
21540         * nis/nss-nisplus.h (niserr2nss): Likewise.
21541         * nscd/connections.c (restart_p): Likewise.
21542         Change return type to bool.
21543
21544 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21545
21546         * Makeconfig (all-Depend-files): Add existing
21547         $(sorted-subdirs:=/Depend) files.
21548         (all-subdirs): Remove nss.
21549         * sysdeps/unix/inet/Subdirs: Add it here instead.
21550         * hesiod/Depend: New file.
21551
21552         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21553         instead of calling alloca.
21554
21555         * io/lseek.c (__lseek): Rename to __libc_lseek.
21556         Define __lseek as an alias.
21557
21558         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21559
21560 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21561
21562         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21563         else clause and remove check for non-standard endianness.
21564
21565 2013-02-04  David S. Miller  <davem@davemloft.net>
21566
21567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21568
21569 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21570
21571         [BZ #13550]
21572         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21573         (__ubp_memchr): Remove prototype.
21574         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21575         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21576         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21577         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21578         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21579         Remove alias.
21580         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21581         (__ubp_memchr): Likewise.
21582         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21583         (__ubp_memchr): Likewise.
21584         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21585         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21586         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21587         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21588         CHECK_STRING.
21589         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21590         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21591         (__getcwd): Do not use CHECK_STRING.
21592         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21593         <bp-checks.h>.
21594         (__real_chown): Do not use CHECK_STRING.
21595         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21596         <bp-checks.h>.
21597         (fchownat): Do not use CHECK_STRING.
21598         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21599         CHECK_STRING.
21600         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21601         <bp-checks.h>.
21602         (__lchown): Do not use CHECK_STRING.
21603         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21604         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21605         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21606         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21608         include <bp-checks.h>.
21609         (truncate64): Do not use CHECK_STRING.
21610         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21611         <bp-checks.h>.
21612         (__real_chown): Do not use CHECK_STRING.
21613         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21614         <bp-checks.h>.
21615         (__lchown): Do not use CHECK_STRING.
21616         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21617         <bp-checks.h>.
21618         (__chown): Do not use CHECK_STRING.
21619         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21620         <bp-checks.h>.
21621         (truncate64): Do not use CHECK_STRING.
21622         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21623         Likewise.
21624         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21625         (__xmknod): Do not use CHECK_STRING.
21626         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21627         <bp-checks.h>.
21628         (__xmknodat): Do not use CHECK_STRING.
21629         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21630         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21631
21632 2013-02-04  Andreas Schwab  <schwab@suse.de>
21633
21634         [BZ #14142]
21635         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21636         * include/netdb.h: Likewise for h_errno.
21637         * elf/tst-stackguard1.c: Include <tls.h>.
21638
21639 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21640
21641         * elf/link.h (struct link_map): Extend the l_addr comment.
21642         * include/link.h (struct link_map): Likewise.
21643
21644 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21645
21646         [BZ #13550]
21647         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21648         (BOUNDED_1): Remove macro.
21649         * debug/backtrace.c: Don't include <bp-checks.h>.
21650         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21651         (__backtrace): Likewise.
21652         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21653         <bp-checks.h>.
21654         (__backtrace): Don't use BOUNDED_1.
21655         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21656         <bp-checks.h>.
21657         (__backtrace): Don't use BOUNDED_1.
21658         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21659         (__backtrace): Don't use BOUNDED_1.
21660         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21661         (shmat): Don't use BOUNDED_N.
21662
21663 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21664
21665         [BZ #13550]
21666         * sysdeps/generic/bp-start.h: Remove file.
21667         * csu/libc-start.c: Don't include <bp-start.h>.
21668         (LIBC_START_MAIN): Set up __environ directly instead of using
21669         INIT_ARGV_and_ENVIRON.
21670         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21671         <bp-start.h>.
21672
21673         [BZ #13550]
21674         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21675         definitions.
21676         (CHECK_FCNTL): Likewise.
21677         (CHECK_N_PAGES): Likewise.
21678
21679         [BZ #13550]
21680         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21681         definitions.
21682         (CHECK_SIGSET_NULL_OK): Likewise.
21683         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21684         <bp-checks.h>.
21685         (sigpending): Don't use CHECK_SIGSET.
21686         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21687         <bp-checks.h>.
21688         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21689         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21690         <bp-checks.h>.
21691         (do_sigsuspend): Don't use CHECK_SIGSET.
21692         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21693         use CHECK_SIGSET.
21694         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21695         (do_sigwait): Don't use CHECK_SIGSET.
21696         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21697         use CHECK_SIGSET.
21698         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21699         include <bp-checks.h>.
21700         (sigpending): Don't use CHECK_SIGSET.
21701         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21702         include <bp-checks.h>.
21703         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21704         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21705         <bp-checks.h>.
21706         (sigpending): Don't use CHECK_SIGSET.
21707         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21708         <bp-checks.h>.
21709         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21710
21711         [BZ #13550]
21712         * sysdeps/generic/bp-semctl.h: Remove file.
21713         * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
21718         and <bp-semctl.h>.
21719         (__old_semctl): Don't use CHECK_SEMCTL.
21720         (__new_semctl): Likewise.
21721         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21722         <bp-checks.h> and <bp-semctl.h>.
21723         (__old_semctl): Don't use CHECK_SEMCTL.
21724         (__new_semctl): Likewise.
21725         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21726         <bp-checks.h> and <bp-semctl.h>.
21727         (semctl): Don't use CHECK_SEMCTL.
21728
21729         [BZ #13550]
21730         * Makerules (elide-bp-thunks): Remove variable.
21731         (elide-routines.oS): Don't use $(elide-bp-thunks).
21732         (elide-routines.os): Likewise.
21733         (elide-routines.o): Likewise.
21734         (elide-routines.op): Likewise.
21735         (elide-routines.og): Likewise.
21736         (objects): Don't use $(bp-thunks).
21737         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21738         include.
21739         (common-generated): Do not add s-proto-bp.d.
21740         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21741         (int): Likewise.
21742         (typ): Likewise.
21743         Do not generate makefile rules for bounded-pointer thunks.
21744         * sysdeps/generic/bp-thunks.h: Remove file.
21745         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21746         * sysdeps/unix/s-proto-bp.S: Likewise.
21747
21748         [BZ #15062]
21749         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21750         parts of result separately when argument is not close to line from
21751         -i to i and one part of argument is small.
21752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21754         * math/libm-test.inc (cacos_test): Add more tests.
21755         (casin_test): Likewise.
21756         (casinh_test): Likewise.
21757         * sysdeps/i386/fpu/libm-test-ulps: Update.
21758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21759
21760 2013-01-31  David S. Miller  <davem@davemloft.net>
21761
21762         * po/de.po: Update from translation team.
21763
21764 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21765
21766         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21767
21768 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21769
21770         * configure.in (_AC_PROG_CC_C89): New definition.
21771         * configure: Regenerate.
21772
21773         * configure.in (AC_PROG_CPP): New definition.
21774         * configure: Regenerate.
21775
21776 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21777
21778         * debug/tst-backtrace.h: New file.
21779         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21780         (ret): Remove variable.
21781         (x): Likewise.
21782         (FAIL): Remove macro.
21783         (NO_INLINE): Likewise.
21784         (fn1): Use match function instead of strstr.
21785         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21786         (ret): Remove variable.
21787         (x): Likewise.
21788         (FAIL): Remove macro.
21789         (NO_INLINE): Likewise.
21790         (fn): Use match function instead of strstr.
21791         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21792         (ret): Remove variable.
21793         (x): Likewise.
21794         (FAIL): Remove macro.
21795         (NO_INLINE): Likewise.
21796         (handle_signal): Use match function instead of strstr.
21797         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21798         (ret): Remove variable.
21799         (x): Likewise.
21800         (FAIL): Remove macro.
21801         (NO_INLINE): Likewise.
21802         (handle_signal): Use match function instead of strstr.
21803
21804 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21805
21806         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21807
21808 2013-01-23  David S. Miller  <davem@davemloft.net>
21809
21810         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21811         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21812         argument of CAS if possible.
21813         * sysdeps/sparc/sparc64/bits/atomic.h
21814         (__arch_compare_and_exchange_val_32_acq): Likewise.
21815         (__arch_compare_and_exchange_val_64_acq): Likewise.
21816
21817 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21818
21819         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21820         * sysdeps/posix/ulimit.c: ... this.
21821         Include <limits.h>.
21822         * sysdeps/unix/bsd/ulimit.c: Remove file.
21823
21824 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21825
21826         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21827         (LDFLAGS-tst-array5): Likewise.
21828
21829 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21830
21831         [BZ #15036]
21832         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21833         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21834         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21835         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21836
21837 2013-01-21  David S. Miller  <davem@davemloft.net>
21838
21839         * sysdeps/sparc/backtrace.c: New file.
21840         * sysdeps/sparc/sparc32/backtrace.h: New file.
21841         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21842         * sysdeps/sparc/sparc64/backtrace.h: New file.
21843         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21844         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21845         -funwind-tables.
21846
21847 2013-01-21  Andreas Schwab  <schwab@suse.de>
21848
21849         [BZ #15020]
21850         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21851         closed its stdout.
21852
21853 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21854
21855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21856         "mpa2.h".
21857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21858
21859 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21860             Mark Mitchell  <mark@codesourcery.com>
21861             Tom de Vries  <tom@codesourcery.com>
21862             Paul Pluzhnikov  <ppluzhnikov@google.com>
21863
21864         * debug/tst-backtrace2.c: New file.
21865         * debug/tst-backtrace3.c: Likewise.
21866         * debug/tst-backtrace4.c: Likewise.
21867         * debug/tst-backtrace5.c: Likewise.
21868         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21869         (CFLAGS-tst-backtrace3.c): Likewise.
21870         (CFLAGS-tst-backtrace4.c): Likewise.
21871         (CFLAGS-tst-backtrace5.c): Likewise.
21872         (LDFLAGS-tst-backtrace2): Likewise.
21873         (LDFLAGS-tst-backtrace3): Likewise.
21874         (LDFLAGS-tst-backtrace4): Likewise.
21875         (LDFLAGS-tst-backtrace5): Likewise.
21876         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21877         tst-backtrace4 and tst-backtrace5.
21878
21879 2013-01-18  Anton Blanchard  <anton@samba.org>
21880             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21881
21882         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21883         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21884         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21885         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21887         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21888         "+r" and remove output regs list as redundant.  Add explicit inline
21889         asm to specify register of return val to work around compiler codegen
21890         bug.  Remove (int) cast on return value.  Add return type parameter to
21891         use in macro so that this macro does not truncate return value for
21892         64-bit values.
21893         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21894         pass to INTERNAL_VSYSCALL_NCS.
21895         (INLINE_VSYSCALL): Add 'long int' as return type to
21896         INTERNAL_VSYSCALL_NCS macro invocation.
21897         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21898         INTERNAL_VSYSCALL_NCS macro invocation.
21899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21900
21901 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21902
21903         [BZ #14496]
21904         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21905         Fix application of SIMD FP exception mask.
21906
21907         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21908         mp_no from a power of two.
21909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21910         __mpexp_twomm1.  Use __pow_mp.
21911
21912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21913         multiplication.
21914
21915 2013-01-17  David S. Miller  <davem@davemloft.net>
21916
21917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21918
21919 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21920
21921         [BZ #15023]
21922         * include/complex.h: Condition contents on [!_COMPLEX_H].
21923         (__kernel_casinhf): New prototype.
21924         (__kernel_casinh): Likewise.
21925         (__kernel_casinhl): Likewise.
21926         * math/Makefile (libm_calls): Add k_casinh.
21927         * math/k_casinh.c: New file.
21928         * math/k_casinhf.c: Likewise.
21929         * math/k_casinhl.c: Likewise.
21930         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21931         finite nonzero arguments.
21932         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21933         finite nonzero arguments.
21934         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21935         finite nonzero arguments.
21936         * math/s_casinh.c: Do not include <float.h>.
21937         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21938         * math/s_casinhf.c: Do not include <float.h>.
21939         (__casinhf): Move code for finite nonzero arguments to
21940         k_casinhf.c.
21941         * math/s_casinhl.c: Do not include <float.h>.
21942         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21943         redefine.
21944         (__casinhl): Move code for finite nonzero arguments to
21945         k_casinhl.c.
21946         * math/libm-test.inc (cacos_test): Add more tests.
21947         * sysdeps/i386/fpu/libm-test-ulps: Update.
21948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21949
21950 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21951
21952         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21953         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21954         [!HAVE_MREMAP]: Remove [defined linux] case.
21955         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21956
21957 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21958
21959         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21960
21961 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21962
21963         * elf/elf.h (R_386_SIZE32): New relocation.
21964         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21965         R_386_SIZE32.
21966         (elf_machine_rela): Likewise.
21967         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21968         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21969
21970 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21971
21972         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21973         (FP_FAST_FMA): Do not define.
21974         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21975         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21976         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21977         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21978         !_SOFT_FLOAT]: Likewise.
21979         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21980         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21981         value.
21982         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21983         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21984         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21985         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21986         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21987         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21988         file.
21989
21990 2013-01-16  Andreas Schwab  <schwab@suse.de>
21991
21992         [BZ #14327]
21993         * include/stdlib.h (__mktemp): Add declaration.
21994         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21995         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21996
21997 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21998
21999         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22000         definitions.
22001         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22002         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22003         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22004         definitions here.
22005         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22006         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22007         definitions.
22008         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22009         and ONE.
22010         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22011         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22012         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22013         definitions.
22014         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22015         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22016         definitions.
22017         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22018
22019         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22020
22021 2013-01-15  David S. Miller  <davem@davemloft.net>
22022
22023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22024         trunc{,f} to libm-sysdep_routes.
22025         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22027         file.
22028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22030         file.
22031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22032         file.
22033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22035         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22036         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22037         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22038         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22039         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22040         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22041
22042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22043         nearbyint{,f} to libm-sysdep_routes.
22044         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22046         New file.
22047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22048         file.
22049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22050         New file.
22051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22052         file.
22053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22055         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22056         file.
22057         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22058         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22059         file.
22060         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22061         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22062         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22063
22064         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22065         libc_feholdexcept and libc_fesetenv.
22066
22067 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22068
22069         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22070
22071 2013-01-14  David S. Miller  <davem@davemloft.net>
22072
22073         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22074         (SPARC_ASM_VIS2_IFUNC): Likewise.
22075         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22077         use of 'siam' instruction.
22078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22079         Likewise.
22080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22081         Likewise.
22082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22083         Likewise.
22084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22086         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22089         file.
22090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22091         file.
22092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22093         file.
22094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22095         file.
22096         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22098         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22099         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22101         new VIS2 routines.
22102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22105         Likewise.
22106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22107         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22111         routines to libm-sysdep_routines.
22112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22113
22114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22115         fdim/fdimf to libm-sysdep_routines.
22116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22117         file.
22118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22120         file.
22121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22124         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22125         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22126         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22127         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22128
22129 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22130
22131         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22132         to optimize copies.
22133
22134         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22137
22138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22139         local variable MPTWO.
22140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22141         Likewise.
22142
22143 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22144
22145         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22146         GLOB_NOESCAPE.
22147
22148 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22149
22150         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22151
22152 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22153
22154         * manual/pattern.texi (glob_t): Document gl_flags.
22155         (glob64_t): Likewise.
22156
22157 2013-01-11  David S. Miller  <davem@davemloft.net>
22158
22159         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22160         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22161         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22162         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22163         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22164         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22165         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22166         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22167         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22168         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22169         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22170         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22171         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22172
22173         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22174         sparc V9 rather than using V8 code.
22175         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22176         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22177
22178         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22179         Move to...
22180         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22181         Here.
22182
22183 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22184
22185         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22186         not in the main loop.
22187         * configure: Regenerated.
22188
22189 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22190
22191         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22192         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22193         to just #else.
22194         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22195         [!__GLIBC_HAVE_LONG_LONG] case.
22196         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22197         condition to just #else.
22198         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22199         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22200         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22201         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22202         unconditional.
22203         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22204         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22205         #elif condition to just #else.
22206         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22207         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22208         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22209         #elif condition to just #else.
22210
22211 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22212
22213         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22214         (EF_MIPS_ARCH_64): Fix value.
22215         (EF_MIPS_ARCH_32R2): New.
22216         (EF_MIPS_ARCH_64R2): New.
22217
22218 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22219
22220         * Makeconfig (+link-pie-before-libc): New.
22221         (+link-pie-after-libc): Likewise.
22222         (+link-pie-tests): Likewise.
22223         (+link-pie): Rewritten.
22224         (link-before-libc): Remove $(config-LDFLAGS).
22225         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22226         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22227         (config-LDFLAGS): Renamed to ...
22228         (rtld-LDFLAGS): This.
22229         (rtld-tests-LDFLAGS): New macro.
22230         (link-libc-rpath-link): Likewise.
22231         (link-libc-tests-rpath-link): Likewise.
22232         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22233         (link-libc): Prepand $(link-libc-rpath-link).
22234         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22235         (test-program-prefix): New macro.
22236         (test-via-rtld-prefix): Likewise.
22237         (test-program-cmd): Likewise.
22238         (host-test-program-cmd): Likewise.
22239         * Makefile ($(common-objpfx)testrun.sh): Replace
22240         $(run-program-prefix) with $(test-program-prefix).
22241         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22242         $(rtld-LDFLAGS).
22243         ($(common-objpfx)shlib.lds): Likewise.
22244         (build-module-helper): Likewise.
22245         ($(common-objpfx)format.lds): Likewise.
22246         * Rules (binaries-pie-tests): New.
22247         (binaries-pie-notests): Likewise.
22248         (binaries-pie): Rewritten.
22249         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22250         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22251         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22252         (make-test-out): Replace $(host-built-program-cmd) with
22253         $(host-test-program-cmd).
22254         * config.make.in (build-hardcoded-path-in-tests): New variable.
22255         * configure.in (--enable-hardcoded-path-in-tests): New configure
22256         option.
22257         (hardcoded_path_in_tests): New AC_SUBST.
22258         * configure: Regenerated.
22259         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22260         $(built-program-cmd) with $(test-program-cmd).
22261         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22262         (test_program_cmd): This.
22263         * elf/Makefile ($(objpfx)order.out): Run test with
22264         $(test-program-prefix).
22265         ($(objpfx)order2.out): Likewise.
22266         ($(objpfx)tst-initorder.out): Likewise.
22267         ($(objpfx)tst-initorder2.out): Likewise.
22268         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22269         $(test-program-cmd).
22270         ($(objpfx)tst-array1-static.out): Likewise.
22271         ($(objpfx)tst-array2.out): Likewise.
22272         ($(objpfx)tst-array3.out): Likewise.
22273         ($(objpfx)tst-array4.out): Likewise.
22274         ($(objpfx)tst-array5.out): Likewise.
22275         ($(objpfx)tst-array5-static.out): Likewise.
22276         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22277         $(test-program-cmd).
22278         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22279         $(run-program-prefix) with $(test-program-prefix).
22280         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22281         (test_program_prefix): This.
22282         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22283         $(run-program-prefix) with $(test-program-prefix).
22284         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22285         (test_program_prefix): This.
22286         * iconvdata/tst-tables.sh: Likewise.
22287         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22288         $(run-program-prefix) with $(test-program-prefix).
22289         ($(objpfx)tst-translit.out): Likewise.
22290         ($(objpfx)tst-gettext2.out): Likewise.
22291         ($(objpfx)tst-gettext4.out): Likewise.
22292         ($(objpfx)tst-gettext6.out): Likewise.
22293         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22294         (test_program_prefix): This.
22295         * intl/tst-gettext2.sh: Likewise.
22296         * intl/tst-gettext4.sh  Likewise.
22297         * intl/tst-gettext6.sh: Likewise.
22298         * intl/tst-translit.sh: Likewise.
22299         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22300         with $(test-program-cmd).
22301         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22302         $(run-program-prefix) with $(test-program-prefix).
22303         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22304         (test_program_prefix): This.
22305         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22306         $(run-program-prefix) with $(test-program-prefix).
22307         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22308         (test_program_prefix): This.
22309         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22310         * posix/Makefile ($(objpfx)globtest.out): Replace
22311         $(run-via-rtld-prefix) and $(test-wrapper) with
22312         $(test-program-prefix) and $(test-via-rtld-prefix).
22313         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22314         $(test-program-prefix).
22315         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22316         $(host-test-program-cmd).
22317         (tst-spawn-ARGS): Likewise.
22318         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22319         $(test-program-prefix).
22320         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22321         (test_via_rtld_prefix): This.
22322         (test_wrapper): Renamed to ...
22323         (test_program_prefix): This.
22324         (run_program_prefix): Replaced by test_program_prefix.
22325         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22326         (test_program_prefix): This.
22327         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22328         with $(host-test-program-cmd).
22329         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22330         $(run-program-prefix) with $(test-program-prefix).
22331         ($(objpfx)tst-printf.out): Likewise.
22332         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22333         $(test-program-cmd).
22334         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22335         (test_program_prefix): This.
22336         * stdio-common/tst-unbputc.sh: Likewise.
22337         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22338         $(run-program-prefix) with $(test-program-prefix).
22339         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22340         (test_program_prefix): This.
22341         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22342         $(built-program-cmd) with $(test-program-cmd).
22343
22344 2013-01-11  Andreas Jaeger  <aj@suse.de>
22345
22346         [BZ #15003]
22347         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22348         value. Sync with Linux 3.7.
22349
22350 2013-01-10  David S. Miller  <davem@davemloft.net>
22351
22352         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22353         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22354         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22355
22356 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22357
22358         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22359         never set.
22360         * configure: Regenerated.
22361
22362 2013-01-10  David S. Miller  <davem@davemloft.net>
22363
22364         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22365         sparc V9 rather than using V8 code.
22366         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22367         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22368
22369 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22370
22371         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22372         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22373         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22374         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22375         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22376         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22377         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22378         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22379         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22380         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22381         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22382         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22383         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22384         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22385         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22386         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22387         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22388         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22389         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22390         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22391         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22392         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22393         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22394         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22395         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22396         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22397         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22398
22399 2013-01-10  David S. Miller  <davem@davemloft.net>
22400
22401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22402
22403 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22404
22405         * posix/Makefile (tests-static): New variable.
22406         (tests): Add $(tests-static).
22407         (tst-exec-static-ARGS): New variable.
22408         (tst-spawn-static-ARGS): Likewise.
22409         * posix/tst-exec-static.c: New file.
22410         * posix/tst-spawn-static.c: Likewise.
22411         * posix/tst-exec.c: Support run directly.
22412         * posix/tst-spawn.c: Likewise.
22413
22414 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22415
22416         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22417         long.
22418         * math/bits/mathcalls.h (llrint): Likewise.
22419         (llround): Likewise.
22420         * stdlib/stdlib.h (struct drand48_data): Likewise.
22421         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22422         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22423         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22424         Likewise.
22425         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22426         Likewise.
22427         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22428         (elf_greg_t): Likewise.
22429         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22430         (__jmp_buf): Likewise.
22431         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22432         definitions.
22433         (llrint): Likewise, for all definitions.
22434         (llrintl): Likewise.
22435
22436         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22437         Remove [__GNUC__] condition.
22438         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22439         condition to just [__USE_ISOC99].
22440         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22441
22442 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22443
22444         [BZ #14200]
22445         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22446         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22447         defined.
22448         (_POSIX_V6_ILP32_OFF32): Likewise.
22449         (_XBS5_ILP32_OFF32): Likewise.
22450         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22451         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22452
22453 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22454
22455         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22456
22457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22458         doubles __mpexp_twomm1.  Adjust usage.
22459         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22460         Remove.
22461
22462 2013-01-10  Andreas Schwab  <schwab@suse.de>
22463
22464         [BZ #14964]
22465         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22466         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22467
22468 2013-01-09  David S. Miller  <davem@davemloft.net>
22469
22470         [BZ #15003]
22471         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22472         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22473         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22474         (TCP_FASTOPEN): Define.
22475         (tcp_repair_opt): New structure.
22476         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22477         enum values.
22478         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22479         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22480         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22481         (tcp_cookie_transactions): New structure.
22482
22483 2013-01-09  Anton Blanchard  <anton@samba.org>
22484
22485         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22486         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22487         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22488         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22489
22490 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22491
22492         * include/features.h (__USE_ANSI): Remove.
22493
22494 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22495
22496         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22497
22498         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22499
22500 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22501
22502         * sysdeps/s390/fpu/libm-test-ulps: Update.
22503
22504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22505
22506         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22507         (__acr): Likewise.
22508         (__cpy): Likewise.
22509         (norm): Likewise.
22510         (denorm): Likewise.
22511         (__mp_dbl): Likewise.
22512         (__dbl_mp): Likewise.
22513         (add_magnitudes): Likewise.
22514         (sub_magnitudes): Likewise.
22515         (__add): Likewise.
22516         (__sub): Likewise.
22517         (__mul): Likewise.
22518         (__inv): Likewise.
22519         (__dvd): Likewise.
22520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22521         (__acr): Likewise.
22522         (__cpy): Likewise.
22523         (norm): Likewise.
22524         (denorm): Likewise.
22525         (__mp_dbl): Likewise.
22526         (__dbl_mp): Likewise.
22527         (add_magnitudes): Likewise.
22528         (sub_magnitudes): Likewise.
22529         (__add): Likewise.
22530         (__sub): Likewise.
22531         (__mul): Likewise.
22532         (__inv): Likewise.
22533         (__dvd): Likewise.
22534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22535         (__acr): Likewise.
22536         (__cpy): Likewise.
22537         (norm): Likewise.
22538         (denorm): Likewise.
22539         (__mp_dbl): Likewise.
22540         (__dbl_mp): Likewise.
22541         (add_magnitudes): Likewise.
22542         (sub_magnitudes): Likewise.
22543         (__add): Likewise.
22544         (__sub): Likewise.
22545         (__mul): Likewise.
22546         (__inv): Likewise.
22547         (__dvd): Likewise.
22548
22549 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22550
22551         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22552         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22553         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22554         2 && __USE_EXTERN_INLINES]: Likewise.
22555
22556 2013-01-08  Andreas Jaeger  <aj@suse.de>
22557
22558         [BZ# 14985]
22559         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22560         Remove.
22561         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22562         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22563
22564 2013-01-07  Anton Blanchard  <anton@samba.org>
22565
22566         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22567         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22568         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22569         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22570         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22571         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22572         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22573         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22575         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22576         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22577         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22578         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22579         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22580         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22581         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22582         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22583         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22584         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22585         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22586         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22587         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22588         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22589         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22590         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22591         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22592         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22593         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22594         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22595         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22596         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22598         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22599         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22600         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22601         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22602         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22603         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22604         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22605         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22606         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22607         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22608         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22609
22610 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22611
22612         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22613         (__MALLOC_PMT): Likewise.
22614         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22615         [__GNUC__], only on [_LIBC].
22616         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22617         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22618         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22619         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22620         forward declaration.
22621         (realloc_hook_ini): Likewise.
22622         (memalign_hook_ini): Likewise.
22623         (__libc_memalign): Do not use __MALLOC_PMT in variable
22624         declaration.
22625         (__libc_valloc): Likewise.
22626         (__libc_pvalloc): Likewise.
22627         (__libc_calloc): Likewise.
22628         (__posix_memalign): Likewise.
22629
22630         [BZ #14996]
22631         * math/s_casinh.c: Include <float.h>.
22632         (__casinh): Do not do computation with squaring and square root
22633         for large arguments.
22634         * math/s_casinhf.c: Include <float.h>.
22635         (__casinhf): Do not do computation with squaring and square root
22636         for large arguments.
22637         * math/s_casinhl.c: Include <float.h>.
22638         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22639         (__casinhl): Do not do computation with squaring and square root
22640         for large arguments.
22641         * math/libm-test.inc (casin_test): Add more tests.
22642         (casinh_test): Likewise.
22643         * sysdeps/i386/fpu/libm-test-ulps: Update.
22644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22645
22646 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22647
22648         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22649         (__x86_64_raw_data_cache_size): Likewise.
22650         (__x86_64_data_cache_size_half): Likewise.
22651         (__x86_64_raw_data_cache_size_half): Likewise.
22652         (__x86_64_shared_cache_size): Likewise.
22653         (__x86_64_raw_shared_cache_size): Likewise.
22654         (__x86_64_shared_cache_size_half): Likewise.
22655         (__x86_64_raw_shared_cache_size_half): Likewise.
22656         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22657         to ...
22658         (__x86_data_cache_size): This.
22659         (__x86_64_raw_data_cache_size): Renamed to ...
22660         (__x86_raw_data_cache_size): This.
22661         (__x86_64_data_cache_size_half): Renamed to ...
22662         (__x86_data_cache_size_half): This.
22663         (__x86_64_raw_data_cache_size_half): Renamed to ...
22664         (__x86_raw_data_cache_size_half): This.
22665         (__x86_64_shared_cache_size): Renamed to ...
22666         (__x86_shared_cache_size): This.
22667         (__x86_64_raw_shared_cache_size): Renamed to ...
22668         (__x86_raw_shared_cache_size): This.
22669         (__x86_64_shared_cache_size_half): Renamed to ...
22670         (__x86_shared_cache_size_half): This.
22671         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22672         (__x86_raw_shared_cache_size_half): This.
22673         * sysdeps/x86_64/memcpy.S: Updated.
22674         * sysdeps/x86_64/memset.S: Likewise.
22675         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22676         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22677         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22678
22679 2013-01-04  David S. Miller  <davem@davemloft.net>
22680
22681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22682
22683 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22684
22685         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22686         1 to avoid redefinition warning.
22687         (__USE_GNU): Don't define.
22688         (init_signaling_nan): Protoize.
22689
22690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22691
22692 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22693
22694         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22696         (__cpymn): Likewise.
22697         (norm): Remove commented code.
22698         (denorm): Likewise.
22699         (__mp_dbl): Likewise.
22700         (__inv): Likewise.
22701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22702         (__cpymn): Likewise.
22703         (norm): Remove commented code.
22704         (denorm): Likewise.
22705         (__mp_dbl): Likewise.
22706         (__inv): Likewise.
22707
22708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22709         mp_no value for 1.0 and 2.0.
22710         (norm): Use RADIXI instead of radixi.d.
22711         (denorm): Likewise.
22712         (__mul): Use 0.0 instead of zero.d.
22713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22714         mp_no value for 1.0 and 2.0.
22715         (norm): Use RADIXI instead of radixi.d.
22716         (denorm): Likewise.
22717         (__mul): Use 0.0 instead of zero.d.
22718
22719 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22720
22721         [BZ #14994]
22722         * math/s_casinh.c (__casinh): Reduce finite argument to first
22723         quadrant then set signs of results at the end.
22724         * math/s_casinhf.c (__casinhf): Likewise.
22725         * math/s_casinhl.c (__casinhl): Likewise.
22726         * math/libm-test.inc (casin_test): Add more tests.
22727         (casinh_test): Likewise.
22728         * sysdeps/i386/fpu/libm-test-ulps: Update.
22729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22730
22731 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22732
22733         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22734
22735         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22736
22737         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22738         declarations.
22739         (denorm): Likewise.
22740         (__mp_dbl): Likewise.
22741         (__inv): Likewise.
22742
22743         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22744         and adjust the header comment.
22745
22746         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22747         variable name from declaration.
22748
22749 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22750
22751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22752         Initialize COMMON_CPUID_INDEX_7 element.
22753         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22754         (CPUID_RTM): Likewise.
22755         (HAS_RTM): Likewise.
22756         (COMMON_CPUID_INDEX_7): New enum.
22757
22758 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22759
22760         [BZ #14981]
22761         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22762         size is zero, record memory as freed.
22763
22764 2013-01-03  Andreas Jaeger  <aj@suse.de>
22765
22766         * po/ia.po: Add new Interlingua translation.
22767
22768 2012-01-03  Allan McRae  <allan@archlinux.org>
22769
22770         * locale/programs/localedef.c: Fix description of '--posix' flag.
22771
22772 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22773
22774         * NEWS: Update dates in second copyright notice.
22775         * README: Update copyright dates in example.
22776         * manual/libc.texinfo: Update copyright dates.
22777         * scripts/test-installation.pl: Update copyright date in --version
22778         output.
22779
22780         * hurd/ctty-input.c: Fix copyright notice formatting.
22781         * hurd/ctty-output.c: Likewise.
22782         * hurd/dtable.c: Likewise.
22783         * hurd/hurd-raise.c: Likewise.
22784         * hurd/hurdprio.c: Likewise.
22785         * hurd/msgportdemux.c: Likewise.
22786         * misc/sys/file.h: Likewise.
22787         * misc/sys/ioctl.h: Likewise.
22788         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22789         * sysdeps/mach/hurd/chdir.c: Likewise.
22790         * sysdeps/mach/hurd/fchdir.c: Likewise.
22791         * sysdeps/mach/hurd/rename.c: Likewise.
22792         * sysdeps/mach/hurd/rmdir.c: Likewise.
22793         * sysdeps/mach/hurd/seekdir.c: Likewise.
22794         * sysdeps/mach/hurd/setsid.c: Likewise.
22795         * sysdeps/posix/wait3.c: Likewise.
22796
22797         * All files with FSF copyright notices: Update copyright dates
22798         using scripts/update-copyrights.
22799         * intl/plural.c: Regenerated.
22800         * locale/programs/charmap-kw.h: Likewise.
22801         * locale/programs/locfile-kw.h: Likewise.
22802
22803 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22804
22805         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22806         four values.
22807
22808         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22809         calculation loop and add branch prediction.
22810
22811         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22812         check access beyond bounds of m1np.
22813
22814         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22815         MPTWO.
22816         (__inv): Remove local variable MPTWO to use the global
22817         constant.
22818         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22819         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22820         variable MPTWO.
22821         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22822         MP3HALFS static const.
22823
22824 2013-01-01  David S. Miller  <davem@davemloft.net>
22825
22826         * po/ca.po: Update from translation team.
22827
22828 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22829
22830         * scripts/update-copyrights: New file.
22831         * Makeconfig: Reformat copyright notice.
22832         * ctype/ctype.h: Likewise.
22833         * debug/swprintf_chk.c: Likewise.
22834         * elf/dl-cache.c: Likewise.
22835         * elf/dl-debug.c: Likewise.
22836         * elf/dl-object.c: Likewise.
22837         * grp/initgroups.c: Likewise.
22838         * hurd/Makefile: Likewise.
22839         * hurd/hurd/signal.h: Likewise.
22840         * hurd/hurdfault.c: Likewise.
22841         * hurd/hurdioctl.c: Likewise.
22842         * hurd/hurdlookup.c: Likewise.
22843         * hurd/intr-msg.c: Likewise.
22844         * iconv/gconv_open.c: Likewise.
22845         * libio/swprintf.c: Likewise.
22846         * locale/lc-ctype.c: Likewise.
22847         * locale/nl_langinfo.c: Likewise.
22848         * mach/Machrules: Likewise.
22849         * mach/Makefile: Likewise.
22850         * malloc/obstack.h: Likewise.
22851         * manual/Makefile: Likewise.
22852         * manual/tsort.awk: Likewise.
22853         * misc/bits/stab.def: Likewise.
22854         * nis/nis_print_group_entry.c: Likewise.
22855         * nis/nis_table.c: Likewise.
22856         * nis/nss_compat/compat-pwd.c: Likewise.
22857         * nis/nss_compat/compat-spwd.c: Likewise.
22858         * po/Makefile: Likewise.
22859         * posix/fnmatch.c: Likewise.
22860         * posix/regex.h: Likewise.
22861         * resolv/Makefile: Likewise.
22862         * resolv/nss_dns/dns-network.c: Likewise.
22863         * resolv/res_hconf.c: Likewise.
22864         * scripts/gen-sorted.awk: Likewise.
22865         * soft-fp/soft-fp.h: Likewise.
22866         * stdio-common/printf.h: Likewise.
22867         * stdlib/monetary.h: Likewise.
22868         * stdlib/random.c: Likewise.
22869         * stdlib/random_r.c: Likewise.
22870         * sysdeps/generic/Makefile: Likewise.
22871         * sysdeps/gnu/Makefile: Likewise.
22872         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22873         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22874         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22875         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22876         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22877         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22878         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22879         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22880         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22881         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22882         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22883         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22884         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22885         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22886         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22887         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22888         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22889         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22890         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22891         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22892         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22893         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22894         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22895         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22896         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22897         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22898         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22899         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22900         * sysdeps/mach/hurd/errnos.awk: Likewise.
22901         * sysdeps/mach/hurd/fork.c: Likewise.
22902         * sysdeps/mach/hurd/getcwd.c: Likewise.
22903         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22904         * sysdeps/mach/hurd/mmap.c: Likewise.
22905         * sysdeps/mach/hurd/utimes.c: Likewise.
22906         * sysdeps/mach/hurd/xmknod.c: Likewise.
22907         * sysdeps/posix/profil.c: Likewise.
22908         * sysdeps/posix/readdir_r.c: Likewise.
22909         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22910         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22911         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22912         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22914         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22915         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22916         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22918         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22919         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22920         * sysdeps/pthread/lio_listio.c: Likewise.
22921         * sysdeps/sparc/dl-procinfo.h: Likewise.
22922         * sysdeps/unix/i386/sysdep.S: Likewise.
22923         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22924         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22925         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22926         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22928         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22929         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22930         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22931         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22932         * sysdeps/wordsize-32/divdi3.c: Likewise.
22933         * time/sys/time.h: Likewise.
22934         * wcsmbs/Makefile: Likewise.
22935
22936 2013-01-01  David S. Miller  <davem@davemloft.net>
22937
22938         * po/fr.po: Update from translation team.
22939
22940         * catgets/gencat.c: Update copyright year.
22941         * csu/version.c: Likewise.
22942         * debug/catchsegv.sh: Likewise.
22943         * debug/pcprofiledump.c: Likewise.
22944         * debug/xtrace.sh: Likewise.
22945         * elf/ldconfig.c: Likewise.
22946         * elf/ldd.bash.in: Likewise.
22947         * elf/pldd.c: Likewise.
22948         * elf/sotruss.ksh: Likewise.
22949         * elf/sprof.c: Likewise.
22950         * iconv/iconv_prog.c: Likewise.
22951         * iconv/iconvconfig.c: Likewise.
22952         * locale/programs/locale.c: Likewise.
22953         * locale/programs/localedef.c: Likewise.
22954         * login/programs/pt_chown.c: Likewise.
22955         * malloc/memusage.sh: Likewise.
22956         * malloc/memusagestat.c: Likewise.
22957         * malloc/mtrace.pl: Likewise.
22958         * nscd/nscd.c: Likewise.
22959         * nss/getent.c: Likewise.
22960         * nss/makedb.c: Likewise.
22961         * posix/getconf.c: Likewise.
22962
22963 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22964
22965         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22966         numbers.
22967
22968 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22969
22970         * math/bits/mathcalls.h (modf): Use __nonnull.
22971
22972 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22973
22974         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22975         (split): Use macro CN instead of the bare value.
22976         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22977         could be used.
22978         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22979         instead of the bare value.
22980         (power1): Likewise.
22981
22982 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22983
22984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22985         __ATAN_TWOM.
22986         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22987
22988         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22989         their values.
22990         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22991         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22992         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22993         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22994
22995 2012-12-28  Andreas Jaeger  <aj@suse.de>
22996
22997         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22998         values are from Linux 3.7.
22999
23000         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23001         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23002
23003 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23004
23005         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23006         TRUE case.
23007
23008         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23009         (norm): Likewise.
23010         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23011         variables with preprocessor constants.
23012         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23013         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23014         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23015
23016 2012-12-27  Bruno Haible  <bruno@clisp.org>
23017
23018         [BZ #14317]
23019         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23020         only if needed.
23021
23022 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23023
23024         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23025         and use variable directly.
23026         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23027
23028         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23029         MPONE.
23030         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23031         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23032         variable MPONE.
23033         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23035         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23036         include directive.  Remove local variable MPONE.
23037         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23038         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23039         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23040
23041 2012-12-25  David S. Miller  <davem@davemloft.net>
23042
23043         * version.h (RELEASE): Set to "development".
23044         (VERSION): Set to "2.17.90".
23045         * NEWS: Add 2.18 section.
23046
23047 2012-12-21  David S. Miller  <davem@davemloft.net>
23048
23049         * po/hr.po: Update from translation team.
23050
23051 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23052
23053         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23054
23055 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23056
23057         * NEWS:  Mention new memcpy for MIPS.
23058
23059 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23060
23061         * manual/contrib.texi (Contributors): Spelling correction.
23062
23063 2012-12-15  David S. Miller  <davem@davemloft.net>
23064
23065         * po/ru.po: Update from translation team.
23066
23067 2012-12-13  David S. Miller  <davem@davemloft.net>
23068
23069         * NEWS: Mention IFUNC testsuite enhancements.
23070
23071         * po/pl.po: Update from translation team.
23072         * po/bg.po: Likewise.
23073
23074         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23075         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23076
23077 2012-12-11  David S. Miller  <davem@davemloft.net>
23078
23079         * po/sv.po: Update from translation team.
23080
23081         * po/vi.po: Update from translation team.
23082
23083         * po/cs.po: Update from translation team.
23084
23085         * po/de.po: Update from translation team.
23086         * po/eo.po: Likewise.
23087         * po/nl.po: Likewise.
23088
23089 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23090
23091         [BZ #14246]
23092         * manual/argp.texi (Argp Helper Functions): Move node to follow
23093         Argp Parsing State.
23094
23095         [BZ #14872]
23096         * manual/conf.texi (Limits on File System Capacity): Mention if
23097         terminating null is included in the max size.
23098
23099 2012-12-10  Andreas Jaeger  <aj@suse.de>
23100
23101         * po/cs.po: Update from translation team.
23102
23103 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23104
23105         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23106         void pointer and cast to uintptr_t.
23107         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23108         path.
23109         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23110         * sysdeps/s390/s390-64/memset.S: Likewise.
23111
23112 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23113
23114         [BZ #14833]
23115         * menual/message.texi (Message Translation): Fix typos.
23116         (Helper programs for gettext): Likewise.
23117
23118 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23119
23120         [BZ #14898]
23121         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23122         Change to -1.
23123
23124 2012-12-07  David S. Miller  <davem@davemloft.net>
23125
23126         * po/libc.pot: Update.
23127
23128 2012-12-07  Richard Henderson  <rth@redhat.com>
23129
23130         [BZ #10114]
23131         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23132         normal/normal case to before the switch.
23133         (_FP_DIV): Likewise.
23134
23135 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23136             Mike Frysinger  <vapier@gentoo.org>
23137
23138         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23139         check for __NR_fadvise64_64.
23140
23141 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23142
23143         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23144         0, not just to plain "0" as a statement.
23145         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23146         with cw.
23147
23148 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23149
23150         * NEWS: Use sourceware.org in Bugzilla URL.
23151
23152 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23153
23154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23155         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23156
23157         * stdio-common/tst-put-error.c (do_test): Add newline to the
23158         padded test to ensure flush.
23159
23160 2012-12-05  Jeff Law  <law@redhat.com>
23161
23162         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23163
23164 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23165
23166         * README: Don't refer to ports add-on as distributed separately.
23167         Mention AArch64 in list of systems supported in the ports add-on.
23168
23169         * LICENSES: Add more non-FSF copyright and license notices.
23170
23171         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23172         ((unused)).
23173
23174         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23175
23176         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23177         10000 as width of padded output.
23178
23179 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23180
23181         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23182
23183         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23184         variable LX with __attribute__ ((unused)).
23185         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23186         Likewise.
23187         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23188         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23189         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23190         with __attribute__ ((unused)).
23191
23192 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23193
23194         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23195
23196 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23197
23198         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23199         (CFLAGS-nldbl-acos.c): New variable.
23200         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23201         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23202         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23203         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23204         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23205         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23206         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23207         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23208         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23209         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23210         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23211         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23212         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23213         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23214         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23215         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23216         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23217         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23218         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23219         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23220         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23221         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23222         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23223         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23224         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23225         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23226         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23227         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23228         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23229         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23230         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23231         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23232         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23233         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23234         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23235         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23236         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23237         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23238         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23239         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23240         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23241         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23242         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23243         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23244         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23245         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23246         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23247         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23248         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23249         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23250         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23251         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23252         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23253         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23254         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23255         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23256         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23257         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23258         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23259         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23260         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23261         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23262         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23263         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23264         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23265         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23266         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23267         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23268         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23269         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23270         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23271         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23272         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23273         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23274         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23275         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23276         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23277         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23278         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23279         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23280         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23281         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23282         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23283         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23284         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23285         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23286         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23287         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23288         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23289         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23290         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23291         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23292         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23293         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23294         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23295         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23296         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23297
23298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23299         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23300
23301         [BZ #14914]
23302         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23303         whole low double instead of just low 47 bits when splitting values
23304         into two parts.
23305
23306 2012-12-03  Allan McRae  <allan@archlinux.org>
23307
23308         * manual/stdio.texi (Predefined Printf Handlers): Remove
23309         @hsep and @vsep usage.
23310
23311 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23312
23313         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23314         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23315
23316 2012-12-03  Jeff Law  <law@redhat.com>
23317
23318         * time/sys/time.h (settimeofday): Do not mark TV argument
23319         as __nonnull.
23320
23321 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23322
23323         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23324         when currently writing and seek to current position when not.
23325         * libio/Makefile (tests): Remove bug-fclose1.
23326         * libio/bug-fclose1.c: Delete.
23327
23328 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23329
23330         * manual/arith.texi (feenableexcept): Fix typo.
23331         (fedisableexcept): Likewise.
23332
23333 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23334
23335         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23336         second, differently-typed declaration, rather than a cast.
23337
23338 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23339
23340         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23341         * include/rpc/svc.h: ... here.
23342
23343 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23344
23345         [BZ #13013]
23346         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23347         depending n and resplen2 to catch cases where answer
23348         equals answerp2.
23349
23350 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23351
23352         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23353         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23354
23355 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23356
23357         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23358
23359 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23360
23361         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23362
23363 2012-11-28  Jeff Law  <law@redhat.com>
23364
23365         [BZ #13761]
23366         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23367         dataset_temporary.  Track alloca usage into alloca_used.
23368         If dataset is large allocate and release it via malloc/free.
23369
23370 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23371
23372         [BZ #14197]
23373         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23374
23375 2012-11-28  David S. Miller  <davem@davemloft.net>
23376
23377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23378
23379 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23380
23381         [BZ #14803]
23382         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23383         of pi/2 rounded to nearest to 64 bits.
23384         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23385         nearest to 64 bits.
23386         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23387         bits.
23388
23389 2012-11-28  Jeff Law <law@redhat.com>
23390             Martin Osvald <mosvald@redhat.com>
23391
23392         [BZ #14889]
23393         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23394         * sunrpc/svc.c: Include time.h.
23395         (__svc_accept_failed): New function.
23396         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23397         any reason other than EINTR, call __svc_accept_failed.
23398         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23399         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23400
23401 2012-11-28  Andreas Schwab  <schwab@suse.de>
23402
23403         * scripts/abilist.awk: Also handle indirect functions in .opd
23404         section.
23405
23406 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23407
23408         [BZ #13881]
23409         * sysdeps/x86/fpu/powl_helper.c: New file.
23410         * sysdeps/x86/fpu/Makefile: Likewise.
23411         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23412         (p3): New object.
23413         (__ieee754_powl): Use __powl_helper for finite arguments except
23414         integer exponents below 8.
23415         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23416         (p3): New object.
23417         (__ieee754_powl): Use __powl_helper for finite arguments except
23418         integer exponents below 8.
23419         * math/libm-test.inc (pow_test): Add more tests and enable some
23420         previously disabled tests.
23421         * sysdeps/i386/fpu/libm-test-ulps: Update.
23422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23423
23424 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23425             Carlos O'Donell  <carlos_odonell@mentor.com>
23426
23427         * nss/makedb.c (is_prime): Assert that input is odd and greater
23428         than 4.  Note that fact in a comment too.
23429         (next_prime): Add 4 to input.
23430
23431 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23432
23433         [BZ #11741]
23434         * libio/Makefile (tests): Add test case tst-fwrite-error.
23435         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23436         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23437         * libio/tst-fwrite-error.c: New test case.
23438
23439 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23440
23441         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23442         before casting to void *.
23443         * include/libc-internal.h (__pointer_type): New macro.
23444         (__integer_if_pointer_type_sub): Likewise.
23445         (__integer_if_pointer_type): Likewise.
23446         (cast_to_integer): Likewise.
23447         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23448         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23449         before casting to atomic64_t.
23450         (atomic_exchange_acq): Likewise.
23451         (__arch_exchange_and_add_body): Likewise.
23452         (__arch_add_body): Likewise.
23453         (atomic_add_negative): Likewise.
23454         (atomic_add_zero): Likewise.
23455
23456 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23457
23458         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23459         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23460         (add_fdes): Likewise.
23461         (linear_search_fdes): Likewise.
23462         (binary_search_unencoded_fdes): Likewise.
23463
23464 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23465
23466         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23467
23468 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23469
23470         * configure.in: Autodetect C++ header directories.
23471         * configure: Regenerated.
23472
23473 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23474
23475         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23476
23477 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23478
23479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23480
23481 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23482
23483         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23484         LDBL_MANT_DIG == 106]: Disable some tests.
23485         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23486         Likewise.
23487         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23488         Likewise.
23489
23490         [BZ #14871]
23491         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23492         input for small inputs.  Return +/- pi/2 for large inputs.
23493         * math/libm-test.inc (atan_test): Add more tests.
23494
23495         * sysdeps/generic/unwind-dw2-fde-glibc.c
23496         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23497         __attribute__ ((unused)).
23498
23499         [BZ #14645]
23500         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23501         x * y if x and y are nonzero and z is zero.
23502
23503         [BZ #14811]
23504         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23505         nonzero exponents with absolute value below 0x1p-117 to +/-
23506         0x1p-117.
23507
23508         [BZ #14869]
23509         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23510         up arguments below 2**-450, not just those below 2**-500.
23511         * math/libm-test.inc (hypot_test): Add another test.
23512
23513         [BZ #14868]
23514         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23515         Return a+b for ratio over 2**120, not 2**60.
23516         * math/libm-test.inc (hypot_test): Add another test.
23517
23518         * math/libm-test.inc (clog_test): Use
23519         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23520         (clog10_test): Likewise.
23521
23522         [BZ #6778]
23523         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23524
23525 2012-11-22  Andreas Schwab  <schwab@suse.de>
23526
23527         * sysdeps/i386/fpu/libm-test-ulps: Update.
23528
23529 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23530
23531         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23532         printf output with newline.
23533
23534 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23535
23536         [BZ #14865]
23537         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23538         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23539         -z nodlopen, -z initfirst and -z execstack support.
23540         * configure: Regenerated.
23541
23542         * elf/elf.h (DF_1_NODIRECT): New macro.
23543         (DF_1_IGNMULDEF): Likewise.
23544         (DF_1_NOKSYMS): Likewise.
23545         (DF_1_NOHDR): Likewise.
23546         (DF_1_EDITED): Likewise.
23547         (DF_1_NORELOC): Likewise.
23548         (DF_1_SYMINTPOSE): Likewise.
23549         (DF_1_GLOBAUDIT): Likewise.
23550         (DF_1_SINGLETON): Likewise.
23551         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23552         DT_1_SUPPORTED_MASK bits.
23553         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23554
23555 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23556
23557         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23558
23559 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23560
23561         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23562         macro.
23563
23564         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23565         (sendmmsg): Move declarations...
23566         * socket/sys/socket.h: ... here.
23567         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23568         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23569         include it from...
23570         * socket/recvmmsg.c: ... this new file.
23571         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23572         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23573         definition of __sendmmsg hidden.
23574         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23575         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23576         Move ENOSYS stub into and include it from...
23577         * socket/sendmmsg.c: ... this new file.
23578         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23579         (sysdep_routines): Move recvmmsg and sendmmsg...
23580         * socket/Makefile (routines): ... here.
23581         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23582         (GLIBC_PRIVATE): Add __sendmmsg.
23583         * include/sys/socket.h (__sendmmsg): Add declarations.
23584         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23585         sendmmsg.
23586
23587 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23588
23589         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23590         variable I1 with __attribute__ ((unused)).
23591         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23592
23593 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23594
23595         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23596         DUMMY variables with __attribute__ ((unused)).
23597
23598         * bits/byteswap.h: Include <bits/types.h>.
23599         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23600
23601 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23602
23603         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23604         string_t.  Do not manually set errno.
23605         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23606         length with __strnlen.  Make sure to both set errno and return it on
23607         failure.
23608
23609 2012-11-19  David S. Miller  <davem@davemloft.net>
23610
23611         With help from Joseph Myers.
23612         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23613         very large arguments properly.
23614         * math/libm-test.inc (atan_test): New tests.
23615         (atan2_test): New tests.
23616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23618
23619 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23620
23621         [BZ #14856]
23622         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23623         Define to 3.
23624
23625         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23626         [POSIX] (EADDRNOTAVAIL): Likewise.
23627         [POSIX] (EAFNOSUPPORT): Likewise.
23628         [POSIX] (EALREADY): Likewise.
23629         [POSIX] (ECONNABORTED): Likewise.
23630         [POSIX] (ECONNREFUSED): Likewise.
23631         [POSIX] (ECONNRESET): Likewise.
23632         [POSIX] (EDESTADDRREQ): Likewise.
23633         [POSIX] (EDQUOT): Likewise.
23634         [POSIX] (EHOSTUNREACH): Likewise.
23635         [POSIX] (EIDRM): Likewise.
23636         [POSIX] (EISCONN): Likewise.
23637         [POSIX] (ELOOP): Likewise.
23638         [POSIX] (EMULTIHOP): Likewise.
23639         [POSIX] (ENETDOWN): Likewise.
23640         [POSIX] (ENETUNREACH): Likewise.
23641         [POSIX] (ENOBUFS): Likewise.
23642         [POSIX] (ENODATA): Likewise.
23643         [POSIX] (ENOLINK): Likewise.
23644         [POSIX] (ENOMSG): Likewise.
23645         [POSIX] (ENOPROTOOPT): Likewise.
23646         [POSIX] (ENOSR): Likewise.
23647         [POSIX] (ENOSTR): Likewise.
23648         [POSIX] (ENOTCONN): Likewise.
23649         [POSIX] (ENOTSOCK): Likewise.
23650         [POSIX] (EOPNOTSUPP): Likewise.
23651         [POSIX] (EOVERFLOW): Likewise.
23652         [POSIX] (EPROTO): Likewise.
23653         [POSIX] (EPROTONOSUPPORT): Likewise.
23654         [POSIX] (EPROTOTYPE): Likewise.
23655         [POSIX] (ESTALE): Likewise.
23656         [POSIX] (ETIME): Likewise.
23657         [POSIX] (ETXTBSY): Likewise.
23658         [POSIX] (EWOULDBLOCK): Likewise.
23659         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23660         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23661         [POSIX] (SEEK_CUR): Likewise.
23662         [POSIX] (SEEK_END): Likewise.
23663         [POSIX || UNIX98] (mode_t): Do not require.
23664         [POSIX] (off_t): Likewise.
23665         [POSIX] (pid_t): Likewise.
23666         [POSIX] (sys/stat.h): Do not allow header.
23667         [POSIX] (unistd.h): Likewise.
23668         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23669         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23670         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23671         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23672         require.
23673         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23674         sigevent): Specify elements.
23675         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23676         entry.
23677         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23678         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23679
23680         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23681         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23682         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23683         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23684         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23685         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23686         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23687         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23688         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23689         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23690         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23691         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23692         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23693         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23694         Likewise.
23695         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23696         Likewise.
23697         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23698         Likewise.
23699         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23700         Likewise.
23701         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23702         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23703         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23704         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23705         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23706         Specify lower bound on value.
23707         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23708         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23709         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23710         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23711         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23712         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23713         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23714         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23715         value.
23716         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23717         as optional.
23718         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23719         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23720         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23721         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23722         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23723         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23724         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23725         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23726         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23727         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23728         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23729         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23730         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23731         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23732         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23733         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23734         entry.
23735         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23736         optional.
23737         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23738         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23739         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23740         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23741         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23742         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23743         Likewise.
23744         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23745         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23746         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23747         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23748         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23749         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23750         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23751         as optional.
23752         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23753         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23754         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23755         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23756         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23757         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23758         specify as optional.
23759         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23760         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23761         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23762         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23763         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23764         [XPG3] (NL_LANGMAX): Likewise.
23765         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23766         [POSIX || XPG3] (NL_NMAX): Likewise.
23767         [POSIX || XPG3] (NL_SETMAX): Likewise.
23768         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23769         [XPG3] (NZERO): Likewise.
23770         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23771         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23772         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23773         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23774         (REG_ERANGE): Expect.
23775         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23776         optional-constant.
23777         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23778         Use (void) in prototype.
23779         [POSIX] (*_t): Allow.
23780         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23781         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23782         (WRDE_BADVAL): Expect.
23783
23784         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23785         expect.
23786         [XPG3 || XPG4] (O_RSYNC): Likewise.
23787         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23788         Likewise.
23789         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23790         [XPG3 || XPG4] (sigqueue): Likewise.
23791         [XPG3 || XPG4] (sigtimedwait): Likewise.
23792         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23793         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23794         [XPG3 || XPG4] (vsnprintf): Likewise.
23795         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23796         Likewise.
23797         [XPG3 || XPG4] (blksize_t): Likewise.
23798         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23799         Likewise.
23800         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23801         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23802         [XPG3 || XPG4] (struct itimerspec): Likewise.
23803         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23804         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23805         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23806         [XPG3 || XPG4] (clockid_t): Likewise.
23807         [XPG3 || XPG4] (timer_t): Likewise.
23808         [XPG3 || XPG4] (clock_getres): Likewise.
23809         [XPG3 || XPG4] (clock_gettime): Likewise.
23810         [XPG3 || XPG4] (clock_settime): Likewise.
23811         [XPG3 || XPG4] (nanosleep): Likewise.
23812         [XPG3 || XPG4] (timer_create): Likewise.
23813         [XPG3 || XPG4] (timer_delete): Likewise.
23814         [XPG3 || XPG4] (timer_gettime): Likewise.
23815         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23816         [XPG3 || XPG4] (timer_settime): Likewise.
23817         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23818         [XPG3 || XPG4] (getlogin_r): Likewise.
23819         [XPG3 || XPG4] (pread): Likewise.
23820         [XPG3 || XPG4] (pthread_atfork): Likewise.
23821         [XPG3 || XPG4] (pwrite): Likewise.
23822
23823         [BZ #14835]
23824         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23825         <bits/siginfo.h>.
23826
23827 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23828
23829         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23830         finalizing MALLSTREAM.
23831
23832         * sysdeps/mach/hurd/syncfs.c: New file.
23833
23834 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23835
23836         [BZ #14719]
23837         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23838         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23839         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23840         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23841         (_nss_dns_gethostbyname4_r): Likewise.
23842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23843         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23844
23845 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23846
23847         [BZ #13763]
23848         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23849
23850 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23851
23852         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23853         * elf/cache.c (print_entry): Print ",AArch64" for
23854         FLAG_AARCH64_LIB64
23855
23856         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23857         * elf/cache.c (print_entry): Print ",hard-float" for
23858         FLAG_ARM_LIBHF.
23859
23860 2012-11-18  David S. Miller  <davem@davemloft.net>
23861
23862         With help from Joseph Myers.
23863         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23864         cutoff to 2**-13.
23865         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23866         cutoff to 2**-25.
23867         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23868         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23869         small.
23870         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23871         * math/libm-test.inc (y0_test): New tests.
23872         (y1_test): New tests.
23873         * sysdeps/i386/fpu/libm-test-ulps: Update.
23874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23876
23877 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23878
23879         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23880         64-bit targets.
23881         * configure: Regenerated.
23882
23883 2012-11-17  David S. Miller  <davem@davemloft.net>
23884
23885         [BZ #14811]
23886         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23887         nonzero exponents with absolute value below 0x1p-128 to +/-
23888         0x1p-128.
23889
23890 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23891
23892         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23893
23894         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23895
23896         * posix/getconf-speclist.c: New file.
23897         * posix/posix-envs.def: Likewise.
23898         * posix/confstr.c (START_ENV_GROUP): New macro.
23899         (END_ENV_GROUP): Likewise.
23900         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23901         (KNOWN_PRESENT_ENV_STRING): Likewise.
23902         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23903         (UNKNOWN_ENVIRONMENT): Likewise.
23904         (confstr): Include posix-envs.def instead of handling
23905         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23906         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23907         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23908         (END_ENV_GROUP): Likewise.
23909         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23910         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23911         (UNKNOWN_ENVIRONMENT): Likewise.
23912         (__sysconf): Include posix-envs.def instead of handling associated
23913         cases directly here.
23914         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23915         preprocessing getconf-speclist.c rather than running getconf or
23916         generating empty file.
23917
23918 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23919
23920         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23921
23922 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23923
23924         [BZ #14672]
23925         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23926
23927 2012-11-16  David S. Miller  <davem@davemloft.net>
23928
23929         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23930         smaller than LDBL_EPSILON/2.0L, just return xm1.
23931
23932 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23933
23934         * elf/tst-array1.c (init): Set constructor priority to 1000.
23935         (fini): Set destructor priority to 1000.
23936         * elf/tst-array2dep.c: Likewise.
23937
23938 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23939
23940         [BZ #11741]
23941         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23942         (_IO_new_file_xsputn): Also return EOF if none of the input
23943         data was written when overflow failed.
23944         * libio/iopadn.c (_IO_padn): Likewise.
23945         * libio/iowpadn.c (_IO_wpadn): Likewise.
23946         * stdio-common/tst-put-error.c: Add copyright notice.
23947         (do_test): Add case for printing padded string.
23948         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23949         _IO_padn returned error.
23950         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23951         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23952         return EOF.
23953
23954 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23955
23956         * libio/libioP.h: Add comment note that the references to C++
23957         bits are now obsolete.
23958
23959 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23960
23961         * math/libm-test.inc (check_complex): Use asprintf.
23962
23963 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23964
23965         * debug/pcprofiledump.c (print_version): Update copyright year.
23966         * malloc/memusagestat.c (print_version): Likewise.
23967
23968 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23969
23970         [BZ #14831]
23971         * elf/Makefile (tests): Add tst-audit8.
23972         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23973         ($(objpfx)tst-audit8.out): New target.
23974         (tst-audit8-ENV): New variable.
23975         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23976         audit if l_reloc_result is NULL.
23977         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23978         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23979         * elf/tst-audit8.c: New file.
23980
23981 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23982
23983         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23984         * misc/Makefile (CFLAGS-select.c): Define.
23985         * posix/Makefile (CFLAGS-pause.c): Define.
23986
23987 2012-11-13  David S. Miller  <davem@davemloft.net>
23988
23989         * crypt/Makefile: Move test targets after toplevel Rules
23990         inclusion.  Grab any necessary sysdep routines when linking.
23991         * crypt/md5.c (md5_process_block): Remove define, we will always
23992         name it __md5_process_block.
23993         (md5_finish_ctx): Update md5_process_block call.
23994         (md5_stream): Likewise.
23995         (md5_process_bytes): Likewise.
23996         (md5_process_block): Rename to __md5_process_block and move to ...
23997         * crypt/md5-block.c: ... here.
23998         * crypt/sha256.c (sha256_process_block): Move to ...
23999         * crypt/sha256-block.c: ... here.
24000         * crypt/sha512.c (sha512_process_block): Move to ...
24001         * crypt/sha512-block.c: ... here.
24002         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24003         path.
24004         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24005         * sysdeps/sparc/sparc64/multiarch/Makefile
24006         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24007         crypt subdir.
24008         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24009         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24010         multiarch changes.
24011         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24012         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24013         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24014         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24015         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24016         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24017         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24018         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24019         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24020         file.
24021         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24022         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24023         file.
24024         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24025
24026 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24027
24028         * timezone/tzselect.ksh: Update from tzcode git revision
24029         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24030         * timezone/zdump.c: Likewise.
24031         * timezone/zic.c: Likewise.
24032         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24033         in TZVERSION setting, not $(PKGVERSION).
24034         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24035         REPORT_BUGS_TO settings.
24036
24037         [BZ #14838]
24038         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24039         macro.
24040
24041 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24042
24043         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24044         detection to immediately after _FP_ROUND().
24045         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24046         bits are 0.
24047
24048 2012-11-11  David S. Miller  <davem@davemloft.net>
24049
24050         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24051         inttypes.h
24052         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24053         __close rather than their public counterparts.
24054
24055 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24056
24057         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24058         file.
24059         [UNIX98] (sem_timedwait): Do not expect.
24060         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24061         [XPG4 || UNIX98] (sockatmark): Do not expect.
24062         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24063         (clock_getcpuclockid): Do not expect.
24064         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24065         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24066         Do not expect.
24067         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24068         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24069         [UNIX98] (vwscanf): Likewise.
24070         [UNIX98] (vswscanf): Likewise.
24071
24072 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24073
24074         * timezone/version.h: Remove file.
24075         * timezone/README: Do not refer to version.h.
24076         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24077         $(objpfx)version.h.
24078         ($(objpfx)zdump.o): Likewise.
24079         ($(objpfx)version.h): New target.
24080
24081         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24082         2012i.
24083         * timezone/README: Don't mention modification to tzselect.ksh.
24084         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24085         work on unmodified tzselect.ksh.  Substitute version numbers in
24086         tzselect.ksh.
24087
24088         * Makefile (format-me): Remove.
24089         (INSTALL): Adjust indentation.  Use commands directly instead of
24090         using $(format-me).
24091
24092         * aclocal.m4 (ACX_PKGVERSION): New macro.
24093         (ACX_BUGURL): Likewise.
24094         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24095         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24096         (REPORT_BUGS_TO): Likewise.
24097         * configure: Regenerated.
24098         * config.h.in (PKGVERSION): New macro.
24099         (REPORT_BUGS_TO): Likewise.
24100         * config.make.in (PKGVERSION): New variable.
24101         (PKGVERSION_TEXI): Likewise.
24102         (REPORT_BUGS_TO): Likewise.
24103         (REPORT_BUGS_TEXI): Likewise.
24104         * Makefile (format-me): Use -I$(common-objpfx)manual.
24105         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24106         ($(common-objpfx)manual/%): New target.
24107         (manual/%): Remove target.
24108         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24109         (print_version): Use PKGVERSION.
24110         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24111         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24112         and REPORT_BUGS_TO.
24113         ($(objpfx)xtrace): Likewise.
24114         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24115         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24116         (print_version): Use PKGVERSION.
24117         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24118         (do_version): Use PKGVERSION.
24119         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24120         REPORT_BUGS_TO.
24121         (common-ldd-rewrite): Likewise.
24122         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24123         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24124         (print_version): Use PKGVERSION.
24125         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24126         * elf/pldd.c (argp_program_bug_address): Remove variable.
24127         (more_help): New function.
24128         (argp): Use more_help.
24129         (print_version): Use PKGVERSION.
24130         * elf/sln.c (main): Use PKGVERSION.
24131         (usage): Use REPORT_BUGS_TO.
24132         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24133         (top level): Use PKGVERSION.
24134         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24135         (print_version): Use PKGVERSION.
24136         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24137         (print_version): Use PKGVERSION.
24138         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24139         (print_version): Use PKGVERSION.
24140         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24141         (print_version): Use PKGVERSION.
24142         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24143         (print_version): Use PKGVERSION.
24144         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24145         (print_version): Use PKGVERSION.
24146         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24147         and BUGURL.
24148         ($(objpfx)memusage): Likewise.
24149         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24150         (do_version): Use PKGVERSION.
24151         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24152         (print_version): Use PKGVERSION.
24153         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24154         ($PKGVERSION): New variable.
24155         ($REPORT_BUGS_TO): Likewise.
24156         (usage): Use $REPORT_BUGS_TO.
24157         (top level): Use $PKGVERSION.
24158         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24159         ($(objpfx)pkgvers.texi): New rule.
24160         ($(objpfx)stamp-pkgvers): Likewise.
24161         * manual/install.texi: Include pkgvers.texi.
24162         (--with-pkgversion): Document new configure option.
24163         (--with-bugurl): Likewise.
24164         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24165         than necessarily for this particular distribution.  Use
24166         REPORT_BUGS_TO for where to report bugs.
24167         * INSTALL: Regenerated.
24168         * manual/libc.texinfo: Include pkgvers.texi.
24169         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24170         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24171         (print_version): Use PKGVERSION.
24172         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24173         (print_version): Use PKGVERSION.
24174         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24175         (print_version): Use PKGVERSION.
24176         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24177         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24178         macro.
24179         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24180         (print_version): Use PKGVERSION.
24181         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24182         (print_version): Use PKGVERSION.
24183         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24184         and PKGVERSION.
24185
24186         * timezone/checktab.awk: Update from tzcode 2012i.
24187         * timezone/ialloc.c: Likewise.
24188         * timezone/private.h: Likewise.
24189         * timezone/scheck.c: Likewise.
24190         * timezone/tzfile.h: Likewise.
24191         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24192         (TZVERSION): Hardcode tzcode version number.
24193         * timezone/zdump.c: Update from tzcode 2012i.
24194         * timezone/zic.c: Likewise.
24195         * timezone/version.h: New file.
24196         * timezone/README: Describe version.h.  Update upstream location.
24197
24198         [BZ #14824]
24199         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24200         (mktemp): Enable declaration.
24201         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24202         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24203         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24204         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24205         Likewise.
24206         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24207         Likewise.
24208         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24209         Likewise.
24210         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24211         Likewise.
24212         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24213         Likewise.
24214         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24215         Likewise.
24216
24217         [BZ #14821]
24218         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24219         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24220         for copies of such integer values.
24221         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24222         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24223
24224 2012-11-09  Andreas Jaeger  <aj@suse.de>
24225
24226         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24227         definitions and declarations that are provided by
24228         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24229
24230 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24231
24232         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24233         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24234         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24235         definition.
24236
24237 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24238
24239         * elf/elf.h: Update comment before AArch64 relocations.
24240
24241 2012-11-07  David S. Miller  <davem@davemloft.net>
24242
24243         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24244         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24245         (__start_context): Declare.
24246         (__makecontext_ret): Delete.
24247         (__makecontext): Hook up __start_context instead of
24248         __makecontext_ret.
24249         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24250         (sysdep_routines): Add __start_context when in stdlib.
24251
24252 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24253
24254         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24255         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24256         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24257         hardcoded "nm".
24258         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24259         (READELF): New variable.  Use it instead of hardcoded "readelf".
24260
24261 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24262
24263         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24264         * sysdeps/x86/Makefile: Here.
24265         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24266         * sysdeps/x86/tst-xmmymm.sh: This.
24267
24268 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24269
24270         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24271         expectations.
24272         [UNIX98] (pthread_barrier_t): Do not expect.
24273         [UNIX98] (pthread_barrierattr_t): Likewise.
24274         [UNIX98] (pthread_spinlock_t): Likewise.
24275         [UNIX98] (pthread_barrier_destroy): Likewise.
24276         [UNIX98] (pthread_barrier_init): Likewise.
24277         [UNIX98] (pthread_barrier_wait): Likewise.
24278         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24279         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24280         [UNIX98] (pthread_barrierattr_init): Likewise.
24281         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24282         [UNIX98] (pthread_getcpuclockid): Likewise.
24283         [UNIX98] (pthread_mutex_timedlock): Likewise.
24284         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24285         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24286         [UNIX98] (pthread_sigmask): Likewise.
24287         [UNIX98] (pthread_spin_destroy): Likewise.
24288         [UNIX98] (pthread_spin_init): Likewise.
24289         [UNIX98] (pthread_spin_lock): Likewise.
24290         [UNIX98] (pthread_spin_trylock): Likewise.
24291         [UNIX98] (pthread_spin_unlock): Likewise.
24292         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24293         Do not expect.
24294         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24295         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24296         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24297         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24298         [XPG3 || XPG4] (pthread_key_t): Likewise.
24299         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24300         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24301         [XPG3 || XPG4] (pthread_once_t): Likewise.
24302         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24303         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24304         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24305         [XPG3 || XPG4] (pthread_t): Likewise.
24306
24307         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24308         not expect.
24309         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24310
24311         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24312         Change function return type to int.
24313
24314         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24315         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24316         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24317         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24318         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24319         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24320         [!POSIX] (posix_madvise): Likewise.
24321         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24322         && !UNIX98].
24323         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24324         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24325         (mode_t): Likewise.
24326         (posix_mem_offset): Likewise.
24327         (posix_typed_mem_get_info): Likewise.
24328         (posix_typed_mem_open): Likewise.
24329
24330         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24331         Change condition to [XOPEN2K8].
24332
24333         * conform/conformtest.pl: Preprocess allow-header data with -x c
24334         instead of from stdin.
24335         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24336         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24337         [C99-based standards] (cerfc): Likewise.
24338         [C99-based standards] (cexp2): Likewise.
24339         [C99-based standards] (cexpm1): Likewise.
24340         [C99-based standards] (clog10): Likewise.
24341         [C99-based standards] (clog1p): Likewise.
24342         [C99-based standards] (clog2): Likewise.
24343         [C99-based standards] (clgamma): Likewise.
24344         [C99-based standards] (ctgamma): Likewise.
24345         [C99-based standards] (cerff): Likewise.
24346         [C99-based standards] (cerfcf): Likewise.
24347         [C99-based standards] (cexp2f): Likewise.
24348         [C99-based standards] (cexpm1f): Likewise.
24349         [C99-based standards] (clog10f): Likewise.
24350         [C99-based standards] (clog1pf): Likewise.
24351         [C99-based standards] (clog2f): Likewise.
24352         [C99-based standards] (clgammaf): Likewise.
24353         [C99-based standards] (ctgammaf): Likewise.
24354         [C99-based standards] (cerfl): Likewise.
24355         [C99-based standards] (cerfcl): Likewise.
24356         [C99-based standards] (cexp2l): Likewise.
24357         [C99-based standards] (cexpm1l): Likewise.
24358         [C99-based standards] (clog10l): Likewise.
24359         [C99-based standards] (clog1pl): Likewise.
24360         [C99-based standards] (clog2l): Likewise.
24361         [C99-based standards] (clgammal): Likewise.
24362         [C99-based standards] (ctgammal): Likewise.
24363         * conform/data/inttypes.h-data [C99-based standards]: Include
24364         stdint.h-data.  Remove all expectations for stdint.h contents.
24365         [C99-based standards] (PRI*): Do not allow.
24366         [C99-based standards] (SCN*): Likewise.
24367         [C99-based standards] (*_t): Likewise.
24368         [C99-based-standards] (PRId8): Expect macro.
24369         [C99-based-standards] (PRIi8): Likewise.
24370         [C99-based-standards] (PRIo8): Likewise.
24371         [C99-based-standards] (PRIu8): Likewise.
24372         [C99-based-standards] (PRIx8): Likewise.
24373         [C99-based-standards] (PRIX8): Likewise.
24374         [C99-based-standards] (SCNd8): Likewise.
24375         [C99-based-standards] (SCNi8): Likewise.
24376         [C99-based-standards] (SCNo8): Likewise.
24377         [C99-based-standards] (SCNu8): Likewise.
24378         [C99-based-standards] (SCNx8): Likewise.
24379         [C99-based-standards] (PRIdLEAST8): Likewise.
24380         [C99-based-standards] (PRIiLEAST8): Likewise.
24381         [C99-based-standards] (PRIoLEAST8): Likewise.
24382         [C99-based-standards] (PRIuLEAST8): Likewise.
24383         [C99-based-standards] (PRIxLEAST8): Likewise.
24384         [C99-based-standards] (PRIXLEAST8): Likewise.
24385         [C99-based-standards] (SCNdLEAST8): Likewise.
24386         [C99-based-standards] (SCNiLEAST8): Likewise.
24387         [C99-based-standards] (SCNoLEAST8): Likewise.
24388         [C99-based-standards] (SCNuLEAST8): Likewise.
24389         [C99-based-standards] (SCNxLEAST8): Likewise.
24390         [C99-based-standards] (PRIdFAST8): Likewise.
24391         [C99-based-standards] (PRIiFAST8): Likewise.
24392         [C99-based-standards] (PRIoFAST8): Likewise.
24393         [C99-based-standards] (PRIuFAST8): Likewise.
24394         [C99-based-standards] (PRIxFAST8): Likewise.
24395         [C99-based-standards] (PRIXFAST8): Likewise.
24396         [C99-based-standards] (SCNdFAST8): Likewise.
24397         [C99-based-standards] (SCNiFAST8): Likewise.
24398         [C99-based-standards] (SCNoFAST8): Likewise.
24399         [C99-based-standards] (SCNuFAST8): Likewise.
24400         [C99-based-standards] (SCNxFAST8): Likewise.
24401         [C99-based-standards] (PRId16): Likewise.
24402         [C99-based-standards] (PRIi16): Likewise.
24403         [C99-based-standards] (PRIo16): Likewise.
24404         [C99-based-standards] (PRIu16): Likewise.
24405         [C99-based-standards] (PRIx16): Likewise.
24406         [C99-based-standards] (PRIX16): Likewise.
24407         [C99-based-standards] (SCNd16): Likewise.
24408         [C99-based-standards] (SCNi16): Likewise.
24409         [C99-based-standards] (SCNo16): Likewise.
24410         [C99-based-standards] (SCNu16): Likewise.
24411         [C99-based-standards] (SCNx16): Likewise.
24412         [C99-based-standards] (PRIdLEAST16): Likewise.
24413         [C99-based-standards] (PRIiLEAST16): Likewise.
24414         [C99-based-standards] (PRIoLEAST16): Likewise.
24415         [C99-based-standards] (PRIuLEAST16): Likewise.
24416         [C99-based-standards] (PRIxLEAST16): Likewise.
24417         [C99-based-standards] (PRIXLEAST16): Likewise.
24418         [C99-based-standards] (SCNdLEAST16): Likewise.
24419         [C99-based-standards] (SCNiLEAST16): Likewise.
24420         [C99-based-standards] (SCNoLEAST16): Likewise.
24421         [C99-based-standards] (SCNuLEAST16): Likewise.
24422         [C99-based-standards] (SCNxLEAST16): Likewise.
24423         [C99-based-standards] (PRIdFAST16): Likewise.
24424         [C99-based-standards] (PRIiFAST16): Likewise.
24425         [C99-based-standards] (PRIoFAST16): Likewise.
24426         [C99-based-standards] (PRIuFAST16): Likewise.
24427         [C99-based-standards] (PRIxFAST16): Likewise.
24428         [C99-based-standards] (PRIXFAST16): Likewise.
24429         [C99-based-standards] (SCNdFAST16): Likewise.
24430         [C99-based-standards] (SCNiFAST16): Likewise.
24431         [C99-based-standards] (SCNoFAST16): Likewise.
24432         [C99-based-standards] (SCNuFAST16): Likewise.
24433         [C99-based-standards] (SCNxFAST16): Likewise.
24434         [C99-based-standards] (PRId32): Likewise.
24435         [C99-based-standards] (PRIi32): Likewise.
24436         [C99-based-standards] (PRIo32): Likewise.
24437         [C99-based-standards] (PRIu32): Likewise.
24438         [C99-based-standards] (PRIx32): Likewise.
24439         [C99-based-standards] (PRIX32): Likewise.
24440         [C99-based-standards] (SCNd32): Likewise.
24441         [C99-based-standards] (SCNi32): Likewise.
24442         [C99-based-standards] (SCNo32): Likewise.
24443         [C99-based-standards] (SCNu32): Likewise.
24444         [C99-based-standards] (SCNx32): Likewise.
24445         [C99-based-standards] (PRIdLEAST32): Likewise.
24446         [C99-based-standards] (PRIiLEAST32): Likewise.
24447         [C99-based-standards] (PRIoLEAST32): Likewise.
24448         [C99-based-standards] (PRIuLEAST32): Likewise.
24449         [C99-based-standards] (PRIxLEAST32): Likewise.
24450         [C99-based-standards] (PRIXLEAST32): Likewise.
24451         [C99-based-standards] (SCNdLEAST32): Likewise.
24452         [C99-based-standards] (SCNiLEAST32): Likewise.
24453         [C99-based-standards] (SCNoLEAST32): Likewise.
24454         [C99-based-standards] (SCNuLEAST32): Likewise.
24455         [C99-based-standards] (SCNxLEAST32): Likewise.
24456         [C99-based-standards] (PRIdFAST32): Likewise.
24457         [C99-based-standards] (PRIiFAST32): Likewise.
24458         [C99-based-standards] (PRIoFAST32): Likewise.
24459         [C99-based-standards] (PRIuFAST32): Likewise.
24460         [C99-based-standards] (PRIxFAST32): Likewise.
24461         [C99-based-standards] (PRIXFAST32): Likewise.
24462         [C99-based-standards] (SCNdFAST32): Likewise.
24463         [C99-based-standards] (SCNiFAST32): Likewise.
24464         [C99-based-standards] (SCNoFAST32): Likewise.
24465         [C99-based-standards] (SCNuFAST32): Likewise.
24466         [C99-based-standards] (SCNxFAST32): Likewise.
24467         [C99-based-standards] (PRId64): Likewise.
24468         [C99-based-standards] (PRIi64): Likewise.
24469         [C99-based-standards] (PRIo64): Likewise.
24470         [C99-based-standards] (PRIu64): Likewise.
24471         [C99-based-standards] (PRIx64): Likewise.
24472         [C99-based-standards] (PRIX64): Likewise.
24473         [C99-based-standards] (SCNd64): Likewise.
24474         [C99-based-standards] (SCNi64): Likewise.
24475         [C99-based-standards] (SCNo64): Likewise.
24476         [C99-based-standards] (SCNu64): Likewise.
24477         [C99-based-standards] (SCNx64): Likewise.
24478         [C99-based-standards] (PRIdLEAST64): Likewise.
24479         [C99-based-standards] (PRIiLEAST64): Likewise.
24480         [C99-based-standards] (PRIoLEAST64): Likewise.
24481         [C99-based-standards] (PRIuLEAST64): Likewise.
24482         [C99-based-standards] (PRIxLEAST64): Likewise.
24483         [C99-based-standards] (PRIXLEAST64): Likewise.
24484         [C99-based-standards] (SCNdLEAST64): Likewise.
24485         [C99-based-standards] (SCNiLEAST64): Likewise.
24486         [C99-based-standards] (SCNoLEAST64): Likewise.
24487         [C99-based-standards] (SCNuLEAST64): Likewise.
24488         [C99-based-standards] (SCNxLEAST64): Likewise.
24489         [C99-based-standards] (PRIdFAST64): Likewise.
24490         [C99-based-standards] (PRIiFAST64): Likewise.
24491         [C99-based-standards] (PRIoFAST64): Likewise.
24492         [C99-based-standards] (PRIuFAST64): Likewise.
24493         [C99-based-standards] (PRIxFAST64): Likewise.
24494         [C99-based-standards] (PRIXFAST64): Likewise.
24495         [C99-based-standards] (SCNdFAST64): Likewise.
24496         [C99-based-standards] (SCNiFAST64): Likewise.
24497         [C99-based-standards] (SCNoFAST64): Likewise.
24498         [C99-based-standards] (SCNuFAST64): Likewise.
24499         [C99-based-standards] (SCNxFAST64): Likewise.
24500         [C99-based-standards] (PRIdMAX): Likewise.
24501         [C99-based-standards] (PRIiMAX): Likewise.
24502         [C99-based-standards] (PRIoMAX): Likewise.
24503         [C99-based-standards] (PRIuMAX): Likewise.
24504         [C99-based-standards] (PRIxMAX): Likewise.
24505         [C99-based-standards] (PRIXMAX): Likewise.
24506         [C99-based-standards] (SCNdMAX): Likewise.
24507         [C99-based-standards] (SCNiMAX): Likewise.
24508         [C99-based-standards] (SCNoMAX): Likewise.
24509         [C99-based-standards] (SCNuMAX): Likewise.
24510         [C99-based-standards] (SCNxMAX): Likewise.
24511         [C99-based-standards] (PRIdPTR): Likewise.
24512         [C99-based-standards] (PRIiPTR): Likewise.
24513         [C99-based-standards] (PRIoPTR): Likewise.
24514         [C99-based-standards] (PRIuPTR): Likewise.
24515         [C99-based-standards] (PRIxPTR): Likewise.
24516         [C99-based-standards] (PRIXPTR): Likewise.
24517         [C99-based-standards] (SCNdPTR): Likewise.
24518         [C99-based-standards] (SCNiPTR): Likewise.
24519         [C99-based-standards] (SCNoPTR): Likewise.
24520         [C99-based-standards] (SCNuPTR): Likewise.
24521         [C99-based-standards] (SCNxPTR): Likewise.
24522         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24523         allow.
24524         * conform/data/stdint.h-data: Update comments to clarify
24525         requirements.
24526         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24527         type.
24528         [C99-based standards] (INT8_MAX): Likewise.
24529         [C99-based standards] (INT16_MIN): Likewise.
24530         [C99-based standards] (INT16_MAX): Likewise.
24531         [C99-based standards] (INT32_MIN): Likewise.
24532         [C99-based standards] (INT32_MAX): Likewise.
24533         [C99-based standards] (INT64_MIN): Likewise.
24534         [C99-based standards] (INT64_MAX): Likewise.
24535         [C99-based standards] (UINT8_MAX): Likewise.
24536         [C99-based standards] (UINT16_MAX): Likewise.
24537         [C99-based standards] (UINT32_MAX): Likewise.
24538         [C99-based standards] (UINT64_MAX): Likewise.
24539         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24540         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24541         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24542         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24543         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24544         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24545         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24546         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24547         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24548         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24549         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24550         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24551         [C99-based standards] (INT_FAST8_MIN): Likewise.
24552         [C99-based standards] (INT_FAST8_MAX): Likewise.
24553         [C99-based standards] (INT_FAST16_MIN): Likewise.
24554         [C99-based standards] (INT_FAST16_MAX): Likewise.
24555         [C99-based standards] (INT_FAST32_MIN): Likewise.
24556         [C99-based standards] (INT_FAST32_MAX): Likewise.
24557         [C99-based standards] (INT_FAST64_MIN): Likewise.
24558         [C99-based standards] (INT_FAST64_MAX): Likewise.
24559         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24560         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24561         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24562         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24563         [C99-based standards] (INTPTR_MIN): Likewise.
24564         [C99-based standards] (INTPTR_MAX): Likewise.
24565         [C99-based standards] (UINTPTR_MAX): Likewise.
24566         [C99-based standards] (INTMAX_MIN): Likewise.
24567         [C99-based standards] (INTMAX_MAX): Likewise.
24568         [C99-based standards] (UINTMAX_MAX): Likewise.
24569         [C99-based standards] (PTRDIFF_MIN): Likewise.
24570         [C99-based standards] (PTRDIFF_MAX): Likewise.
24571         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24572         [C99-based standards] (SIZE_MAX): Likewise.
24573         [C99-based standards] (WCHAR_MAX): Likewise.
24574         [C99-based standards] (WINT_MAX): Likewise.
24575         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24576         constraint on value.
24577         [C99-based standards] (WCHAR_MIN): Likewise.
24578         [C99-based standards] (WINT_MIN): Likewise.
24579         [C99-based standards] (*_t): Allow.
24580         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24581         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24582         Include math.h-data and complex.h-data.  Remove all expectations
24583         of math.h and complex.h contents.
24584         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24585         at end of line.
24586         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24587         (struct tm): Expect tag.
24588         [C99-based-standards] (wcstof): Expect function.
24589         [C99-based-standards] (wcstold): Likewise.
24590         [C99-based-standards] (wcstoll): Likewise.
24591         [C99-based-standards] (wcstoull): Likewise.
24592         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24593         macro-int-constant.  Specify type.
24594         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24595         constraint on value.
24596         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24597         Specify type.
24598         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24599         Specify value.
24600         [ISO C standards]: Do not allow headers.
24601         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24602         wcs[abcdefghijklmnopqrstuvwxyz]*.
24603         [ISO C standards] (*_t): Do not allow.
24604         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24605         Expect function.
24606         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24607         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24608         Specify type.
24609         [ISO C standards]: Do not allow headers.
24610         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24611         is[abcdefghijklmnopqrstuvwxyz]*.
24612         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24613         to[abcdefghijklmnopqrstuvwxyz]*.
24614         [ISO C standards] (*_t): Do not allow.
24615         * conform/data/stdalign.h-data: New file.
24616         * conform/data/stdbool.h-data: Likewise.
24617         * conform/data/stdnoreturn.h-data: Likewise.
24618
24619 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24620
24621         [BZ #14815]
24622         * manual/filesys.texi (Directory Entries): Typo fix.
24623         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24624
24625 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24626
24627         * elf/elf.h (EM_AARCH64): New macro.
24628         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24629         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24630         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24631         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24632         (R_AARCH64_TLSDESC): Likewise.
24633         (NT_ARM_TLS): Likewise.
24634         (NT_ARM_HW_BREAK): Likewise.
24635         (NT_ARM_HW_WATCH): Likewise.
24636
24637 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24638
24639         [BZ #14811]
24640         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24641         (__ieee754_powl): Saturate nonzero exponents with absolute value
24642         below 0x1p-79 to +/- 0x1p-79.
24643         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24644         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24645         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24646         nonzero exponents with absolute value below 0x1p-32 to +/-
24647         0x1p-32.
24648         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24649         (__ieee754_powl): Saturate nonzero exponents with absolute value
24650         below 0x1p-79 to +/- 0x1p-79.
24651         * math/libm-test.inc (pow_test): Add more tests.
24652
24653 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24654
24655         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24656         _dl_s390_cap_flags with kernel. Increase string length.
24657         (_dl_s390_platforms): Add z196 and zEC12.
24658
24659 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24660
24661         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24662         Change XOPEN21K to XOPEN2K.
24663
24664 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24665
24666         * string/memmove.c: Use memcpy when possible.
24667
24668 2012-11-06  Andreas Jaeger  <aj@suse.de>
24669
24670         * po/eo.po: Update from translation team.
24671
24672 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24673
24674         [BZ #14793]
24675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24676         exponent and small x and y exponents, scale x or y up.  Increase
24677         by 2 the exponent used in scaling up.
24678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24679         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24680         * math/libm-test.inc (fma_test): Add more tests.
24681         (fma_test_towardzero): Likewise.
24682         (fma_test_downward): Likewise.
24683         (fma_test_upward): Likewise.
24684
24685 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24686
24687         [BZ #14805]
24688         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24689         fenv_t *.
24690
24691         [BZ #14801]
24692         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24693         namespace for names of struct fields.
24694         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24695         fenv_t fields.
24696         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24697         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24698
24699 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24700
24701         [BZ #3665]
24702         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24703
24704 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24705
24706         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24707         PTR_DEMANGLE.
24708
24709         [BZ #5246]
24710         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24711         PTR_DEMANGLE.
24712
24713 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24714
24715         [BZ #14797]
24716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24717         definitely overflow as x * y not x * y + z.
24718         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24719         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24720         * math/libm-test.inc (fma_test): Add more tests.
24721         (fma_test_towardzero): Likewise.
24722         (fma_test_downward): Likewise.
24723         (fma_test_upward): Likewise.
24724
24725 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24726
24727         [BZ #157]
24728
24729         * include/stub-tag.h: Remove file.
24730         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24731         '#include' of it.
24732         * manual/maint.texi (Porting): Don't reference it.
24733         * Makerules ($(objpfx)stubs): Likewise.
24734         * dirent/closedir.c: Don't include <stub-tag.h>.
24735         * dirent/dirfd.c: Likewise.
24736         * dirent/fdopendir.c: Likewise.
24737         * dirent/getdents.c: Likewise.
24738         * dirent/getdents64.c: Likewise.
24739         * dirent/opendir.c: Likewise.
24740         * dirent/readdir.c: Likewise.
24741         * dirent/readdir64.c: Likewise.
24742         * dirent/readdir64_r.c: Likewise.
24743         * dirent/readdir_r.c: Likewise.
24744         * dirent/rewinddir.c: Likewise.
24745         * dirent/seekdir.c: Likewise.
24746         * dirent/telldir.c: Likewise.
24747         * gmon/profil.c: Likewise.
24748         * grp/setgroups.c: Likewise.
24749         * inet/if_index.c: Likewise.
24750         * io/access.c: Likewise.
24751         * io/chdir.c: Likewise.
24752         * io/chmod.c: Likewise.
24753         * io/chown.c: Likewise.
24754         * io/close.c: Likewise.
24755         * io/dup.c: Likewise.
24756         * io/dup2.c: Likewise.
24757         * io/dup3.c: Likewise.
24758         * io/euidaccess.c: Likewise.
24759         * io/faccessat.c: Likewise.
24760         * io/fchdir.c: Likewise.
24761         * io/fchmod.c: Likewise.
24762         * io/fchmodat.c: Likewise.
24763         * io/fchown.c: Likewise.
24764         * io/fchownat.c: Likewise.
24765         * io/fcntl.c: Likewise.
24766         * io/flock.c: Likewise.
24767         * io/fstatfs.c: Likewise.
24768         * io/fstatfs64.c: Likewise.
24769         * io/fstatvfs.c: Likewise.
24770         * io/fstatvfs64.c: Likewise.
24771         * io/futimens.c: Likewise.
24772         * io/fxstat.c: Likewise.
24773         * io/fxstat64.c: Likewise.
24774         * io/fxstatat.c: Likewise.
24775         * io/fxstatat64.c: Likewise.
24776         * io/getcwd.c: Likewise.
24777         * io/isatty.c: Likewise.
24778         * io/lchmod.c: Likewise.
24779         * io/lchown.c: Likewise.
24780         * io/link.c: Likewise.
24781         * io/linkat.c: Likewise.
24782         * io/lseek.c: Likewise.
24783         * io/lseek64.c: Likewise.
24784         * io/lxstat64.c: Likewise.
24785         * io/mkdir.c: Likewise.
24786         * io/mkdirat.c: Likewise.
24787         * io/mkfifo.c: Likewise.
24788         * io/mkfifoat.c: Likewise.
24789         * io/open.c: Likewise.
24790         * io/open64.c: Likewise.
24791         * io/openat.c: Likewise.
24792         * io/openat64.c: Likewise.
24793         * io/pipe.c: Likewise.
24794         * io/pipe2.c: Likewise.
24795         * io/poll.c: Likewise.
24796         * io/posix_fadvise.c: Likewise.
24797         * io/posix_fadvise64.c: Likewise.
24798         * io/posix_fallocate.c: Likewise.
24799         * io/posix_fallocate64.c: Likewise.
24800         * io/read.c: Likewise.
24801         * io/readlink.c: Likewise.
24802         * io/readlinkat.c: Likewise.
24803         * io/rmdir.c: Likewise.
24804         * io/sendfile.c: Likewise.
24805         * io/sendfile64.c: Likewise.
24806         * io/statfs.c: Likewise.
24807         * io/statfs64.c: Likewise.
24808         * io/statvfs.c: Likewise.
24809         * io/statvfs64.c: Likewise.
24810         * io/symlink.c: Likewise.
24811         * io/symlinkat.c: Likewise.
24812         * io/ttyname.c: Likewise.
24813         * io/ttyname_r.c: Likewise.
24814         * io/umask.c: Likewise.
24815         * io/unlink.c: Likewise.
24816         * io/unlinkat.c: Likewise.
24817         * io/utime.c: Likewise.
24818         * io/utimensat.c: Likewise.
24819         * io/write.c: Likewise.
24820         * io/xmknod.c: Likewise.
24821         * io/xmknodat.c: Likewise.
24822         * io/xstat.c: Likewise.
24823         * io/xstat64.c: Likewise.
24824         * login/getpt.c: Likewise.
24825         * login/grantpt.c: Likewise.
24826         * login/unlockpt.c: Likewise.
24827         * math/e_acoshl.c: Likewise.
24828         * math/e_acosl.c: Likewise.
24829         * math/e_asinl.c: Likewise.
24830         * math/e_atan2l.c: Likewise.
24831         * math/e_atanhl.c: Likewise.
24832         * math/e_coshl.c: Likewise.
24833         * math/e_expl.c: Likewise.
24834         * math/e_fmodl.c: Likewise.
24835         * math/e_gammal_r.c: Likewise.
24836         * math/e_hypotl.c: Likewise.
24837         * math/e_j0l.c: Likewise.
24838         * math/e_j1l.c: Likewise.
24839         * math/e_jnl.c: Likewise.
24840         * math/e_lgammal_r.c: Likewise.
24841         * math/e_log10l.c: Likewise.
24842         * math/e_log2l.c: Likewise.
24843         * math/e_logl.c: Likewise.
24844         * math/e_powl.c: Likewise.
24845         * math/e_rem_pio2l.c: Likewise.
24846         * math/e_sinhl.c: Likewise.
24847         * math/e_sqrtl.c: Likewise.
24848         * math/fclrexcpt.c: Likewise.
24849         * math/fedisblxcpt.c: Likewise.
24850         * math/feenablxcpt.c: Likewise.
24851         * math/fegetenv.c: Likewise.
24852         * math/fegetexcept.c: Likewise.
24853         * math/fegetround.c: Likewise.
24854         * math/feholdexcpt.c: Likewise.
24855         * math/fesetenv.c: Likewise.
24856         * math/fesetround.c: Likewise.
24857         * math/feupdateenv.c: Likewise.
24858         * math/fgetexcptflg.c: Likewise.
24859         * math/fraiseexcpt.c: Likewise.
24860         * math/fsetexcptflg.c: Likewise.
24861         * math/ftestexcept.c: Likewise.
24862         * math/k_cosl.c: Likewise.
24863         * math/k_rem_pio2l.c: Likewise.
24864         * math/k_sinl.c: Likewise.
24865         * math/k_tanl.c: Likewise.
24866         * math/s_asinhl.c: Likewise.
24867         * math/s_atanl.c: Likewise.
24868         * math/s_cbrtl.c: Likewise.
24869         * math/s_erfl.c: Likewise.
24870         * math/s_expm1l.c: Likewise.
24871         * math/s_log1pl.c: Likewise.
24872         * math/s_tanhl.c: Likewise.
24873         * misc/acct.c: Likewise.
24874         * misc/brk.c: Likewise.
24875         * misc/chflags.c: Likewise.
24876         * misc/chroot.c: Likewise.
24877         * misc/fchflags.c: Likewise.
24878         * misc/fgetxattr.c: Likewise.
24879         * misc/flistxattr.c: Likewise.
24880         * misc/fremovexattr.c: Likewise.
24881         * misc/fsetxattr.c: Likewise.
24882         * misc/fsync.c: Likewise.
24883         * misc/ftruncate.c: Likewise.
24884         * misc/futimes.c: Likewise.
24885         * misc/futimesat.c: Likewise.
24886         * misc/getdomain.c: Likewise.
24887         * misc/getdtsz.c: Likewise.
24888         * misc/gethostid.c: Likewise.
24889         * misc/gethostname.c: Likewise.
24890         * misc/getloadavg.c: Likewise.
24891         * misc/getpagesize.c: Likewise.
24892         * misc/getsysstats.c: Likewise.
24893         * misc/getxattr.c: Likewise.
24894         * misc/gtty.c: Likewise.
24895         * misc/ioctl.c: Likewise.
24896         * misc/lgetxattr.c: Likewise.
24897         * misc/listxattr.c: Likewise.
24898         * misc/llistxattr.c: Likewise.
24899         * misc/lremovexattr.c: Likewise.
24900         * misc/lsetxattr.c: Likewise.
24901         * misc/lutimes.c: Likewise.
24902         * misc/madvise.c: Likewise.
24903         * misc/mincore.c: Likewise.
24904         * misc/mlock.c: Likewise.
24905         * misc/mlockall.c: Likewise.
24906         * misc/mmap.c: Likewise.
24907         * misc/mprotect.c: Likewise.
24908         * misc/msync.c: Likewise.
24909         * misc/munlock.c: Likewise.
24910         * misc/munlockall.c: Likewise.
24911         * misc/munmap.c: Likewise.
24912         * misc/preadv.c: Likewise.
24913         * misc/preadv64.c: Likewise.
24914         * misc/ptrace.c: Likewise.
24915         * misc/pwritev.c: Likewise.
24916         * misc/pwritev64.c: Likewise.
24917         * misc/readv.c: Likewise.
24918         * misc/reboot.c: Likewise.
24919         * misc/remap_file_pages.c: Likewise.
24920         * misc/removexattr.c: Likewise.
24921         * misc/revoke.c: Likewise.
24922         * misc/select.c: Likewise.
24923         * misc/setdomain.c: Likewise.
24924         * misc/setegid.c: Likewise.
24925         * misc/seteuid.c: Likewise.
24926         * misc/sethostid.c: Likewise.
24927         * misc/sethostname.c: Likewise.
24928         * misc/setregid.c: Likewise.
24929         * misc/setreuid.c: Likewise.
24930         * misc/setxattr.c: Likewise.
24931         * misc/sstk.c: Likewise.
24932         * misc/stty.c: Likewise.
24933         * misc/swapoff.c: Likewise.
24934         * misc/swapon.c: Likewise.
24935         * misc/sync.c: Likewise.
24936         * misc/syncfs.c: Likewise.
24937         * misc/syscall.c: Likewise.
24938         * misc/truncate.c: Likewise.
24939         * misc/ualarm.c: Likewise.
24940         * misc/usleep.c: Likewise.
24941         * misc/ustat.c: Likewise.
24942         * misc/utimes.c: Likewise.
24943         * misc/vhangup.c: Likewise.
24944         * misc/writev.c: Likewise.
24945         * posix/_exit.c: Likewise.
24946         * posix/alarm.c: Likewise.
24947         * posix/execve.c: Likewise.
24948         * posix/fexecve.c: Likewise.
24949         * posix/fork.c: Likewise.
24950         * posix/fpathconf.c: Likewise.
24951         * posix/getaddrinfo.c: Likewise.
24952         * posix/getegid.c: Likewise.
24953         * posix/geteuid.c: Likewise.
24954         * posix/getgid.c: Likewise.
24955         * posix/getgroups.c: Likewise.
24956         * posix/getlogin.c: Likewise.
24957         * posix/getlogin_r.c: Likewise.
24958         * posix/getpgid.c: Likewise.
24959         * posix/getpid.c: Likewise.
24960         * posix/getppid.c: Likewise.
24961         * posix/getresgid.c: Likewise.
24962         * posix/getresuid.c: Likewise.
24963         * posix/getsid.c: Likewise.
24964         * posix/getuid.c: Likewise.
24965         * posix/glob64.c: Likewise.
24966         * posix/nanosleep.c: Likewise.
24967         * posix/pathconf.c: Likewise.
24968         * posix/pause.c: Likewise.
24969         * posix/posix_madvise.c: Likewise.
24970         * posix/pread.c: Likewise.
24971         * posix/pread64.c: Likewise.
24972         * posix/pwrite.c: Likewise.
24973         * posix/pwrite64.c: Likewise.
24974         * posix/sched_getaffinity.c: Likewise.
24975         * posix/sched_getp.c: Likewise.
24976         * posix/sched_gets.c: Likewise.
24977         * posix/sched_primax.c: Likewise.
24978         * posix/sched_primin.c: Likewise.
24979         * posix/sched_rr_gi.c: Likewise.
24980         * posix/sched_setaffinity.c: Likewise.
24981         * posix/sched_setp.c: Likewise.
24982         * posix/sched_sets.c: Likewise.
24983         * posix/sched_yield.c: Likewise.
24984         * posix/setgid.c: Likewise.
24985         * posix/setlogin.c: Likewise.
24986         * posix/setpgid.c: Likewise.
24987         * posix/setresgid.c: Likewise.
24988         * posix/setresuid.c: Likewise.
24989         * posix/setsid.c: Likewise.
24990         * posix/setuid.c: Likewise.
24991         * posix/sleep.c: Likewise.
24992         * posix/spawni.c: Likewise.
24993         * posix/sysconf.c: Likewise.
24994         * posix/times.c: Likewise.
24995         * posix/wait.c: Likewise.
24996         * posix/wait3.c: Likewise.
24997         * posix/wait4.c: Likewise.
24998         * posix/waitpid.c: Likewise.
24999         * resolv/gai_sigqueue.c: Likewise.
25000         * resource/getpriority.c: Likewise.
25001         * resource/getrlimit.c: Likewise.
25002         * resource/getrusage.c: Likewise.
25003         * resource/nice.c: Likewise.
25004         * resource/setpriority.c: Likewise.
25005         * resource/setrlimit.c: Likewise.
25006         * resource/ulimit.c: Likewise.
25007         * rt/aio_cancel.c: Likewise.
25008         * rt/aio_fsync.c: Likewise.
25009         * rt/aio_read.c: Likewise.
25010         * rt/aio_sigqueue.c: Likewise.
25011         * rt/aio_suspend.c: Likewise.
25012         * rt/aio_write.c: Likewise.
25013         * rt/clock_getres.c: Likewise.
25014         * rt/clock_gettime.c: Likewise.
25015         * rt/clock_nanosleep.c: Likewise.
25016         * rt/clock_settime.c: Likewise.
25017         * rt/lio_listio.c: Likewise.
25018         * rt/mq_close.c: Likewise.
25019         * rt/mq_getattr.c: Likewise.
25020         * rt/mq_notify.c: Likewise.
25021         * rt/mq_open.c: Likewise.
25022         * rt/mq_receive.c: Likewise.
25023         * rt/mq_send.c: Likewise.
25024         * rt/mq_setattr.c: Likewise.
25025         * rt/mq_timedreceive.c: Likewise.
25026         * rt/mq_timedsend.c: Likewise.
25027         * rt/mq_unlink.c: Likewise.
25028         * rt/shm_open.c: Likewise.
25029         * rt/shm_unlink.c: Likewise.
25030         * rt/timer_create.c: Likewise.
25031         * rt/timer_delete.c: Likewise.
25032         * rt/timer_getoverr.c: Likewise.
25033         * rt/timer_gettime.c: Likewise.
25034         * rt/timer_settime.c: Likewise.
25035         * setjmp/__longjmp.c: Likewise.
25036         * setjmp/setjmp.c: Likewise.
25037         * signal/kill.c: Likewise.
25038         * signal/killpg.c: Likewise.
25039         * signal/raise.c: Likewise.
25040         * signal/sigaction.c: Likewise.
25041         * signal/sigaltstack.c: Likewise.
25042         * signal/sigblock.c: Likewise.
25043         * signal/sigignore.c: Likewise.
25044         * signal/sigintr.c: Likewise.
25045         * signal/signal.c: Likewise.
25046         * signal/sigpause.c: Likewise.
25047         * signal/sigpending.c: Likewise.
25048         * signal/sigqueue.c: Likewise.
25049         * signal/sigreturn.c: Likewise.
25050         * signal/sigset.c: Likewise.
25051         * signal/sigsetmask.c: Likewise.
25052         * signal/sigstack.c: Likewise.
25053         * signal/sigsuspend.c: Likewise.
25054         * signal/sigtimedwait.c: Likewise.
25055         * signal/sigvec.c: Likewise.
25056         * signal/sigwait.c: Likewise.
25057         * signal/sigwaitinfo.c: Likewise.
25058         * signal/sysv_signal.c: Likewise.
25059         * socket/accept.c: Likewise.
25060         * socket/accept4.c: Likewise.
25061         * socket/bind.c: Likewise.
25062         * socket/connect.c: Likewise.
25063         * socket/getpeername.c: Likewise.
25064         * socket/getsockname.c: Likewise.
25065         * socket/getsockopt.c: Likewise.
25066         * socket/isfdtype.c: Likewise.
25067         * socket/listen.c: Likewise.
25068         * socket/recv.c: Likewise.
25069         * socket/recvfrom.c: Likewise.
25070         * socket/recvmsg.c: Likewise.
25071         * socket/send.c: Likewise.
25072         * socket/sendmsg.c: Likewise.
25073         * socket/sendto.c: Likewise.
25074         * socket/setsockopt.c: Likewise.
25075         * socket/shutdown.c: Likewise.
25076         * socket/sockatmark.c: Likewise.
25077         * socket/socket.c: Likewise.
25078         * socket/socketpair.c: Likewise.
25079         * stdio-common/ctermid.c: Likewise.
25080         * stdio-common/cuserid.c: Likewise.
25081         * stdio-common/remove.c: Likewise.
25082         * stdio-common/rename.c: Likewise.
25083         * stdio-common/renameat.c: Likewise.
25084         * stdio-common/tempname.c: Likewise.
25085         * stdlib/getcontext.c: Likewise.
25086         * stdlib/makecontext.c: Likewise.
25087         * stdlib/setcontext.c: Likewise.
25088         * stdlib/swapcontext.c: Likewise.
25089         * stdlib/system.c: Likewise.
25090         * streams/fattach.c: Likewise.
25091         * streams/fdetach.c: Likewise.
25092         * streams/getmsg.c: Likewise.
25093         * streams/getpmsg.c: Likewise.
25094         * streams/putmsg.c: Likewise.
25095         * streams/putpmsg.c: Likewise.
25096         * sysdeps/unix/bsd/getpt.c: Likewise.
25097         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25098         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25099         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25101         Likewise.
25102         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25103         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25104         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25105         * sysvipc/msgctl.c: Likewise.
25106         * sysvipc/msgget.c: Likewise.
25107         * sysvipc/msgrcv.c: Likewise.
25108         * sysvipc/msgsnd.c: Likewise.
25109         * sysvipc/semctl.c: Likewise.
25110         * sysvipc/semget.c: Likewise.
25111         * sysvipc/semop.c: Likewise.
25112         * sysvipc/semtimedop.c: Likewise.
25113         * sysvipc/shmat.c: Likewise.
25114         * sysvipc/shmctl.c: Likewise.
25115         * sysvipc/shmdt.c: Likewise.
25116         * sysvipc/shmget.c: Likewise.
25117         * termios/tcdrain.c: Likewise.
25118         * termios/tcflow.c: Likewise.
25119         * termios/tcflush.c: Likewise.
25120         * termios/tcgetattr.c: Likewise.
25121         * termios/tcgetpgrp.c: Likewise.
25122         * termios/tcsendbrk.c: Likewise.
25123         * termios/tcsetattr.c: Likewise.
25124         * termios/tcsetpgrp.c: Likewise.
25125         * time/adjtime.c: Likewise.
25126         * time/clock.c: Likewise.
25127         * time/getitimer.c: Likewise.
25128         * time/gettimeofday.c: Likewise.
25129         * time/setitimer.c: Likewise.
25130         * time/settimeofday.c: Likewise.
25131         * time/stime.c: Likewise.
25132         * time/time.c: Likewise.
25133
25134 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25135
25136         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25137         /usr/old/bin.
25138
25139         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25140         instead of spaces.
25141         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25142
25143 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25144
25145         [BZ #14796]
25146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25147         FE_TONEAREST before applying Dekker multiplication and Knuth
25148         addition.  Clear inexact exceptions and check for exact zero
25149         results afterwards.
25150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25151         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25152         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25153         * math/libm-test.inc (fma_test): Add more tests.
25154         (fma_test_towardzero): Likewise.
25155         (fma_test_downward): Likewise.
25156         (fma_test_upward): Likewise.
25157         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25158         function.
25159         (libc_fesetround): New macro.
25160         (libc_fesetroundf): Likewise.
25161         (libc_fesetroundl): Likewise.
25162         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25163         function.
25164         (libc_fesetround_387): Likewise.
25165         (libc_fesetroundf): New macro.
25166         (libc_fesetround): Likewise.
25167         (libc_fesetroundl): Likewise.
25168         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25169         function.
25170         (libc_fesetroundf): New macro.
25171         (libc_fesetround): Likewise.
25172         (libc_fesetroundl): Likewise.
25173         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25174         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25175         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25176         libm_hidden_ver.
25177         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25178         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25179         libm_hidden_def.
25180         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25181         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25182         libm_hidden_ver.
25183         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25184         libm_hidden_def.
25185
25186         [BZ #3439]
25187         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25188         integer constant usable in #if and use that to give value to enum
25189         constant.
25190         (FE_DIVBYZERO): Likewise.
25191         (FE_UNDERFLOW): Likewise.
25192         (FE_OVERFLOW): Likewise.
25193         (FE_INVALID): Likewise.
25194         (FE_INVALID_SNAN): Likewise.
25195         (FE_INVALID_ISI): Likewise.
25196         (FE_INVALID_IDI): Likewise.
25197         (FE_INVALID_ZDZ): Likewise.
25198         (FE_INVALID_IMZ): Likewise.
25199         (FE_INVALID_COMPARE): Likewise.
25200         (FE_INVALID_SOFTWARE): Likewise.
25201         (FE_INVALID_SQRT): Likewise.
25202         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25203         (FE_TONEAREST): Likewise.
25204         (FE_TOWARDZERO): Likewise.
25205         (FE_UPWARD): Likewise.
25206         (FE_DOWNWARD): Likewise.
25207         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25208         (FE_DIVBYZERO): Likewise.
25209         (FE_OVERFLOW): Likewise.
25210         (FE_UNDERFLOW): Likewise.
25211         (FE_INEXACT): Likewise.
25212         (FE_TONEAREST): Likewise.
25213         (FE_DOWNWARD): Likewise.
25214         (FE_UPWARD): Likewise.
25215         (FE_TOWARDZERO): Likewise.
25216         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25217         (FE_UNDERFLOW): Likewise.
25218         (FE_OVERFLOW): Likewise.
25219         (FE_DIVBYZERO): Likewise.
25220         (FE_INVALID): Likewise.
25221         (FE_TONEAREST): Likewise.
25222         (FE_TOWARDZERO): Likewise.
25223         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25224         (FE_OVERFLOW): Likewise.
25225         (FE_UNDERFLOW): Likewise.
25226         (FE_DIVBYZERO): Likewise.
25227         (FE_INEXACT): Likewise.
25228         (FE_TONEAREST): Likewise.
25229         (FE_TOWARDZERO): Likewise.
25230         (FE_UPWARD): Likewise.
25231         (FE_DOWNWARD): Likewise.
25232         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25233         (FE_DIVBYZERO): Likewise.
25234         (FE_OVERFLOW): Likewise.
25235         (FE_UNDERFLOW): Likewise.
25236         (FE_INEXACT): Likewise.
25237         (FE_TONEAREST): Likewise.
25238         (FE_DOWNWARD): Likewise.
25239         (FE_UPWARD): Likewise.
25240         (FE_TOWARDZERO): Likewise.
25241
25242 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25243
25244         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25245
25246 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25247
25248         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25249         commands.  Quote $PWD.
25250         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25251         -x" by "export".
25252         (remove_newlines): Remove.
25253
25254 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25255
25256         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25257         * stdlib/stdlib.h (atof): Moved to ...
25258         * include/bits/stdlib-float.h: Here.  New file.
25259         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25260         * stdlib/bits/stdlib-float.h: New file.
25261         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25262         -mno-sse -mno-mmx.
25263         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25264         <xmmintrin.h>.
25265
25266 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25267
25268         * conform/conformtest.pl (@headers): Add fenv.h.
25269         * conform/data/fenv.h-data: New file.
25270         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25271         include of <math/fenv.h>.
25272
25273         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25274         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25275         && !UNIX98].  Enables tests for XOPEN2K8.
25276         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25277         POSIX2008]: Likewise.
25278
25279         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25280         (struct rusage): Do not expect type or its members.
25281
25282         [BZ #3439]
25283         * math/math.h (FP_NAN): Define macro to integer constant usable in
25284         #if and use that to give value to enum constant.
25285         (FP_INFINITE): Likewise.
25286         (FP_ZERO): Likewise.
25287         (FP_SUBNORMAL): Likewise.
25288         (FP_NORMAL): Likewise.
25289
25290 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25291
25292         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25293         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25294         arguments.
25295
25296 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25297
25298         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25299         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25300         autoconf-time if not.
25301         * configure.in: Remove AC_PREREQ.
25302
25303 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25304
25305         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25306         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25307         of the internal implementation.
25308
25309 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25310
25311         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25312         except include of <misc/sys/syslog.h>.
25313
25314 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25315
25316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25317         function returns with a NULL context exit with zero.
25318
25319 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25320
25321         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25322
25323 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25324
25325         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25326         (run_program_cmd): This.
25327         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25328         (tst_langinfo): New variable.  Use it.
25329
25330 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25331
25332         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25333         floating point opcodes.
25334
25335 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25336
25337         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25338         variable.
25339
25340         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25341
25342         * sysdeps/mach/hurd/powerpc: Remove directory.
25343         * sysdeps/mach/powerpc: Likewise.
25344
25345 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25346
25347         * scripts/check-local-headers.sh: Ignore c++ headers.
25348
25349 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25350
25351         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25352         __libc_cleanup_region_start argument.
25353
25354 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25355
25356         [BZ #14784]
25357         [BZ #14785]
25358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25359         x * y using scaling, not as x * y + z.
25360         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25362         * math/libm-test.inc (fma_test): Add more tests.
25363         (fma_test_towardzero): Likewise.
25364         (fma_test_downward): Likewise.
25365         (fma_test_upward): Likewise.
25366
25367 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25368
25369         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25370
25371 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25372
25373         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25374         New variable.
25375
25376 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25377
25378         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25379
25380 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25381
25382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25383         Fix sort order.
25384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25385         Likewise.
25386
25387 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25388
25389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25390         Fix the order of the list for glibc 2.17.
25391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25392         Likewise.
25393
25394 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25395
25396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25397
25398 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25399
25400         [BZ #14610]
25401         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25402         for low part of x being zero before using __atanl (y).
25403         * math/libm-test.inc (atan2_test): Add another test.
25404
25405         * manual/install.texi (Configuring and compiling): Document
25406         general use of test-wrapper and test-wrapper-env.
25407         * INSTALL: Regenerated.
25408
25409         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25410         (__fma): 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         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25414         (__fmal): Do not extract and scale down low bits on after-rounding
25415         systems when result rounded to normal precision would have normal
25416         exponent.
25417         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25418         (__fmal): Do not extract and scale down low bits on after-rounding
25419         systems when result rounded to normal precision would have normal
25420         exponent.
25421         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25422         macro.
25423         (fma_test): Add more tests.
25424         (fma_test_towardzero): Likewise.
25425         (fma_test_downward): Likewise.
25426         (fma_test_upward): Likewise.
25427
25428 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25429
25430         * sysdeps/i386/tininess.h: Renamed to ...
25431         * sysdeps/x86/tininess.h: This.
25432         * sysdeps/x86_64/tininess.h: Removed.
25433
25434 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25435
25436         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25437         input.  Use $(build-program-cmd).
25438         ($(objpfx)tst-array1-static.out): Likewise.
25439         ($(objpfx)tst-array2.out): Likewise.
25440         ($(objpfx)tst-array3.out): Likewise.
25441         ($(objpfx)tst-array4.out): Likewise.
25442         ($(objpfx)tst-array5.out): Likewise.
25443         ($(objpfx)tst-array5-static.out): Likewise.
25444
25445 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25446
25447         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25448         if defined.
25449
25450         * nss/nsswitch.h (nss_interface_function): Provide new
25451         macro for use with NSS functions.
25452         * grp/initgroups.c: Use new macro.
25453         * nss/getXXbyYY.c: Likewise.
25454         * nss/getXXbyYY_r.c: Likewise.
25455         * nss/getXXent.c: Likewise.
25456         * nss/getXXent_r.c: Likewise.
25457         * sysdeps/posix/getaddrinfo.c: Likewise.
25458
25459 2012-10-30  Andreas Jaeger  <aj@suse.de>
25460
25461         * po/ru.po: Update Russion translation from translation project.
25462
25463 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25464
25465         [BZ #14152]
25466         [BZ #14783]
25467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25468         result and shift together with sticky bit instead of replicating
25469         round-to-nearest rounding.
25470         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25471         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25472         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25473         missing underflow exceptions.
25474         (fma_test_towardzero): Add more tests.
25475         (fma_test_downward): Likewise.
25476         (fma_test_upward): Likewise.
25477
25478         [BZ #14047]
25479         * sysdeps/generic/tininess.h: New file.
25480         * sysdeps/i386/tininess.h: Likewise.
25481         * sysdeps/sh/tininess.h: Likewise.
25482         * sysdeps/x86_64/tininess.h: Likewise.
25483         * stdlib/tst-strtod-underflow.c: Likewise.
25484         * stdlib/tst-tininess.c: Likewise.
25485         * stdlib/strtod_l.c: Include <tininess.h>.
25486         (round_and_return): Do not set errno for exact underflow cases.
25487         Force an underflow exception when setting errno for underflow.
25488         Determine underflow based on rounding to normal precision if
25489         TININESS_AFTER_ROUNDING.
25490         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25491         ERANGE for exact underflow cases.
25492         * stdlib/Makefile (tests): Add tst-tininess and
25493         tst-strtod-underflow.
25494         ($(objpfx)tst-tininess): Use $(link-libm).
25495         ($(objpfx)tst-strtod-underflow): Likewise.
25496
25497 2012-10-30  Andreas Jaeger  <aj@suse.de>
25498
25499         [BZ#14767]
25500         * elf/Makefile (tests): Remove conditional for have-initfini-array
25501         since this is now always required and the variable does not exist
25502         anymore.
25503         (tests-static): Likewise.
25504         (modules-names): Likewise.
25505
25506         * po/eo.po: Add Esperanto translation from translation project.
25507
25508         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25509         merged with constructor/destructor.
25510         (init_array): Likewise.
25511         * elf/tst-array2dep.c (fini_array): Likewise.
25512         (init_array): Likewise.
25513
25514 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25515
25516         * manual/message.texi: Delete @cartouche tags.
25517
25518 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25519
25520         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25521         EOPNOTSUPP.
25522         * sysdeps/mach/hurd/fsync.c: Likewise.
25523
25524         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25525         [_POSIX_REALTIME_SIGNALS]: Change condition to
25526         [_POSIX_REALTIME_SIGNALS > 0].
25527
25528 2012-10-27  Andreas Jaeger  <aj@suse.de>
25529
25530         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25531         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25533         [__WORDSIZE != 64]: Likewise.
25534
25535 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25536
25537         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25538         *  iconvdata/tst-tables.sh: Likewise.
25539
25540 2012-10-25  David S. Miller  <davem@davemloft.net>
25541
25542         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25543         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25544         of strtoull.
25545
25546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25547         ifunc-impl-list.c
25548         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25549         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25550         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25551         file.
25552
25553 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25554
25555         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25556         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25557         __getdirentries.
25558
25559 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25560             Jim Blandy  <jimb@codesourcery.com>
25561
25562         * scripts/cross-test-ssh.sh: New file.
25563         * manual/install.texi (Configuring and compiling): Document use of
25564         cross-test-ssh.sh.
25565         * INSTALL: Regenerated.
25566
25567 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25568
25569         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25570         EOPNOTSUPP.
25571
25572 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25573
25574         * Makeconfig (run-program-prefix): Fix comment.
25575
25576 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25577             Jim Blandy  <jimb@codesourcery.com>
25578
25579         * Makeconfig (test-wrapper): New variable,
25580         (test-wrapper-env): Likewise.
25581         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25582         (run-built-tests): Define to yes.
25583         (run-program-prefix): Use $(test-wrapper).
25584         (built-program-cmd): Likewise.
25585         * Rules (make-test-out): Use $(test-wrapper-env) and
25586         $(host-built-program-cmd).
25587         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25588         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25589         tst-pathopt.sh.
25590         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25591         $(test-wrapper-env) to tst-rtld-load-self.sh.
25592         ($(objpfx)order2.out): Use $(test-wrapper).
25593         ($(objpfx)tst-initorder.out): Likewise.
25594         ($(objpfx)tst-initorder2.out): Likewise.
25595         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25596         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25597         (test_wrapper_env): New variable.  Use it to run ld.so.
25598         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25599         Use it to run ld.so.
25600         (test_wrapper_env): Likewise.
25601         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25602         $(test-wrapper) to run-iconv-test.sh.
25603         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25604         (ICONV): Use $test_wrapper.
25605         * posix/Makefile ($(objpfx)globtest.out): Pass
25606         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25607         globtest.sh, not $(run-program-prefix).
25608         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25609         (test_wrapper): Likewise.
25610         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25611         set together with run_via_rtld_prefix.
25612         (run_program_prefix): Define in terms of test_wrapper and
25613         run_via_rtld_prefix.
25614
25615 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25616
25617         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25618         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25619         Targets removed.
25620
25621         [BZ #14743]
25622         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25623         Declare __clock_getres, __clock_gettime, __clock_settime,
25624         __clock_nanosleep, and __clock_getcpuclockid.
25625         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25626         Remove librt_hidden_def (clock_gettime).
25627         * sysdeps/unix/clock_gettime.c: Likewise.
25628         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25629         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25630         * rt/clock_getres.c: Define __clock_getres as an alias.
25631         * sysdeps/posix/clock_getres.c: Likewise.
25632         * rt/clock_settime.c: Define __clock_settime as an alias.
25633         * sysdeps/unix/clock_settime.c: Likewise.
25634         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25635         * sysdeps/unix/clock_nanosleep.c: Likewise.
25636         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25637         * rt/clock-compat.c: New file.
25638         * rt/Makefile (librt-routines): Add clock-compat and move
25639         $(clock-routines) to ...
25640         (routines): ... here, new variable.
25641         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25642         Don't add get_clockfreq here.
25643         * rt/Versions (libc: GLIBC_2.17): New version set.
25644         Add clock_* symbols here.
25645         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25646         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25647         (GLIBC_2.17): Add clock_* symbols.
25648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25650         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25652         Likewise.
25653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25654         Likewise.
25655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25659         * NEWS: Mention the move.
25660
25661         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25662         Use __open, __read, __close rather than their public counterparts.
25663         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25664         (__get_clockfreq_via_cpuinfo): Likewise.
25665         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25666         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25667
25668         * config.h.in (HAVE_IFUNC): New #undef.
25669         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25670         was successful.
25671         * configure: Regenerated.
25672
25673 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25674
25675         * configure.in: Move READELF check to start of file.
25676         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25677         libc_cv_asm_gnu_indirect_function in the process.
25678         * configure: Regenerated.
25679
25680 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25681
25682         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25683         send the output to /dev/null.
25684         (libc_cv_cc_with_libunwind): Likewise.
25685         (libc_cv_as_noexecstack): Likewise.
25686         * configure: Regenerate.
25687
25688 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25689
25690         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25691
25692         * posix/globtest.sh (TMPDIR): Do not set.
25693         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25694         (testout): Likewise.
25695
25696 2012-10-24  Andreas Jaeger  <aj@suse.de>
25697
25698         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25699         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25700         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25701         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25702         posix_fadvise64, posix_fallocate64.
25703
25704         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25705         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25706         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25707         Likewise.
25708         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25709         Likewise.
25710         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25711
25712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25713         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25714         <bits/fcntl-linux.h>.
25715         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25716
25717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25718         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25719         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25720         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25721         [__WORDSIZE != 64]: Likewise.
25722
25723 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25724
25725         * Makeconfig (run-built-tests): New variable.
25726         * Rules [$(cross-compiling) = yes]: Change condition to
25727         [$(run-built-tests) = no].
25728         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25729         to [$(run-built-tests) = yes].
25730         * elf/Makefile [$(cross-compiling) = no]: Likewise
25731         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25732         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25733         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25734         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25735         * io/Makefile [$(cross-compiling) = no]: Likewise.
25736         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25737         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25738         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25739         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25740         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25741         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25742         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25743         * string/Makefile [$(cross-compiling) = no]: Likewise.
25744
25745         * posix/Makefile ($(objpfx)globtest.out): Pass
25746         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25747         $(rtld-installed-name).
25748         * posix/globtest.sh (elf_objpfx): Remove variable.
25749         (rtld_installed_name): Likewise.
25750         (library_path): Likewise.
25751         (run_program_prefix): New variable.  Use for running globtest
25752         binary.
25753
25754 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25755             Joseph Myers  <joseph@codesourcery.com>
25756
25757         * Makeconfig (host-built-program-cmd): New variable.
25758         * elf/Makefile (tst-stackguard1-ARGS): Use
25759         $(host-built-program-cmd).
25760         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25761         (tst-spawn-ARGS): Likewise.
25762         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25763
25764 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25765             Jim Blandy  <jimb@codesourcery.com>
25766
25767         * Makeconfig (run-via-rtld-prefix): New variable.
25768         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25769         (built-program-cmd): Likewise.
25770
25771 2012-10-22  Andreas Jaeger  <aj@suse.de>
25772
25773         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25774         __O_RSYNC if it exists, otherwise to O_SYNC.
25775
25776 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25777             Joseph Myers  <joseph@codesourcery.com>
25778
25779         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25780         /dev/null.
25781         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25782         from /dev/null
25783         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25784         /dev/null.
25785
25786 2012-10-22  Andreas Jaeger  <aj@suse.de>
25787
25788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25789         Define always.
25790         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25791
25792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25793         bits/fcntl-linux.h.
25794
25795         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25796         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25797
25798         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25799         to __O_LARGEFILE.
25800         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25801         to __O_LARGEFILE.
25802
25803 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25804             Joseph Myers  <joseph@codesourcery.com>
25805
25806         * config.make.in (NM): New variable.
25807
25808 2012-10-21  Andreas Jaeger  <aj@suse.de>
25809
25810         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25811         definitions and declarations that are provided by
25812         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25813
25814 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25815
25816         [BZ #14683]
25817         * elf/Makefile (tests-static): Add tst-leaks1-static.
25818         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25819         ($(objpfx)tst-leaks1-static): New rule.
25820         ($(objpfx)tst-leaks1-static-mem): Likewise.
25821         (tst-leaks1-static-ENV): New macro.
25822         * elf/dl-open.c (dl_open_worker): Check the main application
25823         only if SHARED is defined.
25824         * elf/tst-leaks1-static.c: New file.
25825
25826 2012-10-20  Andreas Jaeger  <aj@suse.de>
25827
25828         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25829         generic values for Linux.
25830         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25831         and declarations that are provided by <bits/fcntl-linux.h> and
25832         include <bits/fcntl-linux.h>.
25833         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25834         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25835
25836 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25837
25838         * io/fcntl.h: Move include of <bits/types.h> to the top and
25839         include it unconditionally.
25840
25841 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25842
25843         * wcsmbs/Makefile (tests-ifunc): New variable.
25844         (tests): Add $(tests-ifunc).
25845         * wcsmbs/test-wcschr-ifunc.c: New file.
25846         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25847         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25848         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25849         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25850         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25851
25852         * string/Makefile (tests-ifunc): New variable.
25853         (tests): Add $(tests-ifunc).
25854         * string/test-memccpy.c (TEST_NAME): New macro.
25855         * string/test-memchr.c (TEST_NAME): Likewise.
25856         * string/test-memcmp.c (TEST_NAME): Likewise.
25857         * string/test-memcpy.c (TEST_NAME): Likewise.
25858         * string/test-memmem.c (TEST_NAME): Likewise.
25859         * string/test-memmove.c (TEST_NAME): Likewise.
25860         * string/test-memset.c (TEST_NAME): Likewise.
25861         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25862         * string/test-stpcpy.c (TEST_NAME): Likewise.
25863         * string/test-stpncpy.c (TEST_NAME): Likewise.
25864         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25865         * string/test-strcasestr.c (TEST_NAME): Likewise.
25866         * string/test-strcat.c (TEST_NAME): Likewise.
25867         * string/test-strchr.c (TEST_NAME): Likewise.
25868         * string/test-strcmp.c(TEST_NAME): Likewise.
25869         * string/test-strcpy.c (TEST_NAME): Likewise.
25870         * string/test-strcspn.c (TEST_NAME): Likewise.
25871         * string/test-strlen.c (TEST_NAME): Likewise.
25872         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25873         * string/test-strncmp.c (TEST_NAME): Likewise.
25874         * string/test-strncpy.c (TEST_NAME): Likewise.
25875         * string/test-strnlen.c (TEST_NAME): Likewise.
25876         * string/test-strpbrk.c (TEST_NAME): Likewise.
25877         * string/test-strrchr.c (TEST_NAME): Likewise.
25878         * string/test-strspn.c (TEST_NAME): Likewise.
25879         * string/test-strstr.c (TEST_NAME): Likewise.
25880         * string/test-bcopy-ifunc.c: New file.
25881         * string/test-bzero-ifunc.c: Likewise.
25882         * string/test-memccpy-ifunc.c: Likewise.
25883         * string/test-memchr-ifunc.c: Likewise.
25884         * string/test-memcmp-ifunc.c: Likewise.
25885         * string/test-memcpy-ifunc.c: Likewise.
25886         * string/test-memmem-ifunc.c: Likewise.
25887         * string/test-memmove-ifunc.c: Likewise.
25888         * string/test-mempcpy-ifunc.c: Likewise.
25889         * string/test-memset-ifunc.c: Likewise.
25890         * string/test-rawmemchr-ifunc.c: Likewise.
25891         * string/test-stpcpy-ifunc.c: Likewise.
25892         * string/test-stpncpy-ifunc.c: Likewise.
25893         * string/test-strcasecmp-ifunc.c: Likewise.
25894         * string/test-strcasestr-ifunc.c: Likewise.
25895         * string/test-strcat-ifunc.c: Likewise.
25896         * string/test-strchr-ifunc.c: Likewise.
25897         * string/test-strchrnul-ifunc.c: Likewise.
25898         * string/test-strcmp-ifunc.c: Likewise.
25899         * string/test-strcpy-ifunc.c: Likewise.
25900         * string/test-strcspn-ifunc.c: Likewise.
25901         * string/test-strlen-ifunc.c: Likewise.
25902         * string/test-strncasecmp-ifunc.c: Likewise.
25903         * string/test-strncat-ifunc.c: Likewise.
25904         * string/test-strncmp-ifunc.c: Likewise.
25905         * string/test-strncpy-ifunc.c: Likewise.
25906         * string/test-strnlen-ifunc.c: Likewise.
25907         * string/test-strpbrk-ifunc.c: Likewise.
25908         * string/test-strrchr-ifunc.c: Likewise.
25909         * string/test-strspn-ifunc.c: Likewise.
25910         * string/test-strstr-ifunc.c: Likewise.
25911
25912         * debug/Makefile (tests-ifunc): New variable.
25913         (tests): Add $(tests-ifunc).
25914         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25915         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25916         * debug/test-stpcpy_chk-ifunc.c: New file.
25917         * debug/test-strcpy_chk-ifunc.c: Likewise.
25918
25919 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25920
25921         [BZ #13601]
25922         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25923         header is not read in.
25924
25925 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25926
25927         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25928         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25929         directly.  Pass built executable to script as
25930         $(built-program-cmd).
25931         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25932         $testprogram without using LD_LIBRARY_PATH and $ldso.
25933
25934         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25935         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25936         $(rtld-installed-name).
25937         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25938         (rtld_installed_name): Likewise.
25939         (library_path): Likewise.
25940         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25941         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25942         $(run-program-prefix) to tst-tables.sh.
25943         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25944         it to run tst-table-from and tst-table-to.
25945         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25946         Pass it to tst-table.sh.
25947         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25948         $(run-program-prefix) to tst-gettext.sh.
25949         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25950         tst-translit.sh.
25951         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25952         tst-gettext2.sh.
25953         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25954         to run tst-gettext.
25955         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25956         to run tst-gettext2.
25957         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25958         to run tst-translit.
25959         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25960         $(run-program-prefix) to tst-mtrace.sh.
25961         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25962         to run tst-mtrace.
25963         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25964         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25965         $(rtld-installed-name).
25966         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25967         (rtld_installed_name): Likewise.
25968         (run_program_prefix): New variable.  Use it to run wordexp-test.
25969
25970         * Makeconfig (ARCH): Remove all definitions.
25971         (machine): Likewise.
25972         [ARCH]: Remove conditional code.
25973         [!objdir]: Give error.
25974         [!objdir] (objpfx): Remove.
25975         [!objdir] (common-objpfx): Likewise.
25976         [!objdir] (common-objdir): Likewise.
25977         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25978         AC_CONFIG_FILES call.
25979         * configure: Regenerated.
25980
25981         [BZ #13888]
25982         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25983         or TMPDIR.
25984         (testout): Likewise.
25985
25986         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25987         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25988         $(rtld-installed-name).
25989         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25990         (rtld_installed_name): Likwise.
25991         (runit): Remove function.
25992         (run_getconf): New variable,  Use it for running getconf binary.
25993
25994 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25995
25996         [BZ #14716]
25997         * string/test-memmem.c (check_result): New function.
25998         (do_one_test): Use it.
25999         (check1): New function.
26000         (test_main): Use it.
26001
26002 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26003
26004         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26005
26006 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26007
26008         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26009         (_G_LSEEK64): Likewise.
26010         (_G_MMAP64): Likewise.
26011         (_G_FSTAT64): Likewise.
26012         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26013         (_G_LSEEK64): Likewise.
26014         (_G_MMAP64): Likewise.
26015         (_G_FSTAT64): Likewise.
26016         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26017         unconditional.  Call __mmap64 directly.
26018         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26019         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26020         __lseek64 directly.
26021         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26022         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26023         __mmap64 directly.
26024         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26025         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26026         __lseek64 directly.
26027         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26028         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26029         __lseek64 directly.
26030         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26031         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26032         __lseek64 directly.
26033         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26034         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26035         __fxstat64 directly.
26036         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26037         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26038         unconditional.
26039         (freopen64) [!_G_OPEN64]: Remove conditional code.
26040         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26041         unconditional.
26042         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26043         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26044         unconditional.
26045         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26046         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26047         unconditional.
26048         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26049         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26050         unconditional.
26051         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26052         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26053         unconditional.
26054         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26055         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26056         unconditional.
26057         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26058         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26059         unconditional.
26060         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26061
26062 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26063
26064         [BZ #12140]
26065         * manual/memory.texi (Malloc Tunable Parameters): Add note
26066         about free list pointers overwriting some perturb bytes.
26067         Wording suggested by Roland McGrath.
26068
26069 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26070
26071         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26072         (lgamma_test): Likewise.
26073         (tgamma_test): Likewise.
26074
26075 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26076
26077         [BZ #14700]
26078         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26079         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26080
26081 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26082
26083         * NEWS: Mention BZ #14716.
26084         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26085         when removing AVAILABLE1_USES_J macro.
26086
26087 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26088
26089         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26090         (__bswap_64): __uint64_t for unsigned 64-bit int.
26091
26092 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26093
26094         * include/string.h (memmem): Declare libc hidden alias.
26095         * string/memmem.c (memmem): Define libc hidden alias.
26096         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26097         __read, __close instead of open, read, close.
26098
26099 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26100
26101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26102         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26103         global and hidden.
26104         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26105         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26106         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26107         Likewise.
26108         (__rawmemchr_sse2): Likewise.
26109         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26110         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26111         (__strchr_sse2): Likewise.
26112         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26113         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26114         (__strcasecmp_sse2): Likewise.
26115         (__strncasecmp_sse2): Likewise.
26116         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26117         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26118         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26119         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26120         (__strrchr_sse2): Likewise.
26121         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26122         ifunc-impl-list.c.
26123         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26124         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26125         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26126         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26127         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26128         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26129         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26130         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26131         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26132         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26133         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26134         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26135         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26136         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26137         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26138         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26139         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26140         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26141         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26142         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26143         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26144         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26145         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26146         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26147         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26148         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26149         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26150         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26151         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26152         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26153
26154         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26155         global and hidden.
26156         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26157         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26158         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26159         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26160         Likewise.
26161         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26162         Likewise.
26163         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26164         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26165         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26166         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26167         ifunc-impl-list.c.
26168         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26169         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26170         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26171         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26172         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26173         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26174         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26175         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26176         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26177         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26178         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26179         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26180         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26181         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26182         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26183         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26184         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26185         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26186         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26187         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26188         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26189         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26190         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26191         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26192         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26193         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26194         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26195         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26196         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26197         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26198         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26199         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26200         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26201         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26202         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26203         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26204         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26205         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26206         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26207         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26208         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26209
26210         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26211         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26212         * include/ifunc-impl-list.h: New file.
26213         * misc/ifunc-impl-list.c: Likewise.
26214         * misc/Makefile (routines): Add ifunc-impl-list.
26215         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26216         * string/test-string.h: Include <ifunc-impl-list.h>.
26217         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26218         TEST_NAME]: New variables.
26219         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26220         are defined.
26221         (test_init): Call __libc_ifunc_impl_list to initialize
26222         func_list if TEST_IFUNC and TEST_NAME are defined.
26223
26224         * string/Makefile (strop-tests): Add bcopy and bzero.
26225         * string/test-bcopy.c: New file.
26226         * string/test-bzero.c: Likewise.
26227         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26228         defined.
26229         * string/test-memset.c: Support bzero test if TEST_BZERO is
26230         defined.
26231         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26232         __libc_memmove.
26233         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26234         __libc_memset.
26235         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26236         of memset.
26237
26238 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26239
26240         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26241         * configure: Regenerated.
26242
26243         * Makeconfig (+link-static-before-libc): Don't include
26244         $(link-static-libc).
26245
26246         * libio/libio.h (_IO_pos_t): Remove.
26247
26248 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26249
26250         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26251         McGrath.
26252
26253 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26254
26255         * crypt/crypt-entry.c: Include fips-private.h.
26256         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26257         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26258         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26259         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26260
26261 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26262
26263         * crypt/crypt-private.h: Include stdbool.h.
26264         (_ufc_setup_salt_r): Return bool.
26265         * crypt/crypt-entry.c: Include errno.h.
26266         (__crypt_r): Return NULL with EINVAL for bad salt.
26267         * crypt/crypt_util.c (bad_for_salt): New.
26268         (_ufc_setup_salt_r): Check that salt is long enough and within
26269         the specified alphabet.
26270         * crypt/badsalttest.c: New file.
26271         * crypt/Makefile (tests): Add it.
26272         ($(objpfx)badsalttest): New.
26273
26274 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26275
26276         * NEWS: Add entry for BZ #14602.
26277
26278 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26279
26280         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26281         type-generic.
26282         * math/libm-test.inc: Update comment listing what functions and
26283         macros are tested.
26284         (isgreater_test): New function.
26285         (isgreaterequal_test): Likewise.
26286         (isless_test): Likewise.
26287         (islessequal_test): Likewise.
26288         (islessgreater_test): Likewise.
26289         (isunordered_test): Likewise.
26290         (main): Call the new functions.
26291
26292 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26293
26294         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26295         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26296         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26297         * sysdeps/i386/configure: Regenerated.
26298         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26299         * sysdeps/mach/configure: Regenerated.
26300         * sysdeps/mach/hurd/configure: Regenerated.
26301         * sysdeps/powerpc/configure: Regenerated.
26302         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26303         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26304         * sysdeps/s390/s390-32/configure: Regenerated.
26305         * sysdeps/s390/s390-64/configure: Regenerated.
26306         * sysdeps/sh/configure: Regenerated.
26307         * sysdeps/sparc/configure: Regenerated.
26308         * sysdeps/unix/sysv/linux/configure: Regenerated.
26309         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26310         * sysdeps/x86_64/configure: Regenerated.
26311
26312         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26313         defined.  Don't check if MAP is NULL.
26314
26315 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26316
26317         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26318         (_G_stat64): Likewise.
26319         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26320         (_G_stat64): Likewise.
26321         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26322         instead of struct _G_stat64.
26323         * libio/fileops.c (mmap_remap_check): Likewise.
26324         (decide_maybe_mmap): Likewise.
26325         (_IO_new_file_seekoff): Likewise.
26326         (_IO_file_stat): Likewise.
26327         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26328         _G_off64_t.
26329         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26330         instead of struct _G_stat64.
26331         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26332
26333 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26334
26335         [BZ #14602]
26336         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26337         Replace with ...
26338         (CHECK_EOL): New macro.
26339         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26340         CHECK_EOL.
26341         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26342         Replace with CHECK_EOL.
26343         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26344         Replace with CHECK_EOL.
26345
26346 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26347
26348         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26349         type-generic.
26350         * math/libm-test.inc: Update comment listing what functions and
26351         macros are tested.
26352         (finite_test): New function.
26353         (isinf_test): Likewise.
26354         (isnan_test): Likewise.
26355         (fpclassify_test): Test subnormal input.
26356         (isfinite_test): Likewise.
26357         (isnormal_test): Likewise.
26358         (main): Call the new functions.
26359
26360 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26361
26362         [BZ #14660]
26363         * Makerules (%.dynsym): Force C locale when running
26364         $(OBJDUMP) --dynamic-syms.
26365
26366 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26367
26368         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26369         <stdint.h>.
26370
26371 2012-10-06  David S. Miller  <davem@davemloft.net>
26372
26373         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26374         upper 32-bits of the length value in %o2 since we use branch-on-register
26375         tests which consider the entire 64-bit register.
26376
26377 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26378
26379         * string/test-strstr.c (check2): Add a test for page boundary.
26380
26381 2012-10-05  David S. Miller  <davem@davemloft.net>
26382
26383         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26384         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26385         file.
26386         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26387         sysdep_routines.
26388         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26389         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26390         and bzero when HWCAP_SPARC_CRYPTO is present.
26391
26392 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26393
26394         [BZ #14602]
26395         * string/test-strstr.c (check2): New function.
26396         (test_main): Call check2.
26397
26398         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26399         and bug-strchr1.
26400         * string/bug-strcasestr1.c (do_test): Moved to ...
26401         * string/test-strcasestr.c (check1): Here.  New function.
26402         (do_one_test): Break out result checking code into ...
26403         (check_result): This.  New function.
26404         (do_one_test): Call check_result.
26405         (test_main): Call check1.
26406         * string/bug-strchr1.c (do_test): Moved to ...
26407         * string/test-strchr.c (check1): Here.  New function.
26408         (do_one_test): Break out result checking code into ...
26409         (check_result): This.  New function.
26410         (do_one_test): Call check_result.
26411         (test_main): Call check1.
26412         * string/bug-strstr1.c (main): Moved to ...
26413         * string/test-strstr.c (check1): Here.  New function.
26414         (do_one_test): Break out result checking code into ...
26415         (check_result): This.  New function.
26416         (do_one_test): Call check_result.
26417         (test_main): Call check1.
26418         * string/bug-strcasestr1.c: Removed.
26419         * string/bug-strchr1.c: Likewise.
26420         * string/bug-strstr1.c: Likewise.
26421
26422         * elf/Makefile (dl-routines): Add hwcaps.
26423         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26424         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26425         (_dl_important_hwcaps): Moved to ...
26426         * elf/dl-hwcaps.c: Here.  New file.
26427         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26428
26429         [BZ #14557]
26430         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26431         if IS_IN_rtld isn't defined.
26432
26433         * elf/dl-support.c (_dl_sysinfo_map): New.
26434         Include "get-dynamic-info.h" and "setup-vdso.h".
26435         (_dl_non_dynamic_init): Call setup_vdso.
26436         * elf/dynamic-link.h: Don't include <assert.h>.
26437         (elf_get_dynamic_info): Moved to ...
26438         * elf/get-dynamic-info.h: Here.  New file.
26439         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26440         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26441         * elf/setup-vdso.h: Here.  New file.
26442         * elf/rtld.c: Include "setup-vdso.h".
26443         (dl_main): Call setup_vdso.
26444
26445 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26446
26447         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26448         creal in comment listing functions tested.  List finite, isinf,
26449         isnan, isless, islessequal, isgreater, isgreaterequal,
26450         islessgreater, isunordered, lgamma_r and pow10 as functions and
26451         macros not tested.  Mention which functions not tested are aliases
26452         for other functions.  Fix typo.  Note that signs of NaNs are not
26453         tested.
26454
26455         * scripts/config.guess: Update from config.git.
26456         * scripts/config.sub: Likewise.
26457
26458 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26459
26460         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26461         * misc/madvise.c (madvise): Renamed to __madvise.
26462         Make madvise a weak alias.
26463         * include/sys/mman.h: Declare __madvise.
26464         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26465         * sysdeps/unix/syscalls.list
26466         (madvise): Make __madvise the strong name, and madvise a weak alias.
26467         * sysdeps/unix/sysv/linux/syscalls.list
26468         (madvise, mmap): Remove redundant entries.
26469         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26470         * malloc/malloc.c (mtrim): Likewise.
26471         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26472
26473 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26474
26475         * sysdeps/mach/hurd/dl-cache.c: File removed.
26476         * config.h.in (USE_LDCONFIG): New #undef.
26477         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26478         * configure: Regenerated.
26479         * elf/Makefile (dl-routines): Add dl-cache only under
26480         [$(use-ldconfig) = yes].
26481         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26482         cache on [USE_LDCONFIG].
26483         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26484         [USE_LDCONFIG].
26485         * elf/rtld.c (dl_main): Likewise.
26486
26487 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26488
26489         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26490         _SC_LEVEL4_CACHE_LINESIZE.
26491
26492 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26493
26494         * sysdeps/unix/bsd/confstr.h: File removed.
26495
26496 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26497
26498         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26499         sys/sdt-config.h.
26500
26501 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26502
26503         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26504         Make 'mapoff' field ElfW(Off) rather than off_t.
26505
26506 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26507
26508         * nscd/Makefile: Remove nscd-cflags and all its users.
26509         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26510         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26511
26512         [BZ #10631]
26513         * malloc.c (malloc_printerr): Clarify error message.
26514
26515 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26516
26517         [BZ #14648]
26518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26519         Set bit_FMA_Usable if FMA is supported.
26520         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26521         macro.
26522         (bit_FMA4_Usable): Updated.
26523         (index_FMA_Usable): New macro.
26524         (CPUID_FMA): Likewise
26525         (HAS_FMA): Defined with bit_FMA_Usable.
26526
26527 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26528
26529         * bits/types.h (__swblk_t): Type removed.
26530         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26531         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26533         (__SWBLK_T_TYPE): Likewise.
26534         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26535         (__SWBLK_T_TYPE): Likewise.
26536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26537         (__SWBLK_T_TYPE): Likewise.
26538         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26539         (__SWBLK_T_TYPE): Likewise.
26540
26541 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26542             Honza Horak <hhorak@redhat.com>
26543
26544         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26545         (xdr_mapname): Use YPMAXMAP as maxsize.
26546         (xdr_peername): Use YPMAXPEER as maxsize.
26547         (xdr_keydat): Use YPAXRECORD as maxsize.
26548         (xdr_valdat): Use YPMAXRECORD as maxsize.
26549
26550 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26551
26552         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26553
26554         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26555         * csu/init-first.c: ... here.
26556         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26557         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26558         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26559         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26560         * sysdeps/i386/init-first.c: File removed.
26561         * sysdeps/sh/init-first.c: File removed.
26562
26563 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26564
26565         [BZ #14645]
26566         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26567         if x * y might underflow to zero and z is zero.
26568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26569         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26570         * math/libm-test.inc (min_subnorm_value): New variable.
26571         (fma_test): Add more tests.
26572         (fma_test_towardzero): Likewise.
26573         (fma_test_downward): Likewise
26574         (fma_test_upward): Likewise.
26575         (initialize): Set min_subnorm_value.
26576
26577 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26578
26579         [BZ #14638]
26580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26581         0 + 0.
26582         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26583         mode for addition resulting in exact zero.
26584         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26586         exact 0 + 0.
26587         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26588         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26589         * math/libm-test.inc (fma_test): Add more tests.
26590         (fma_test_towardzero): New function.
26591         (fma_test_downward): Likewise.
26592         (fma_test_upward): Likewise.
26593         (main): Call the new functions.
26594
26595 2012-09-28  David S. Miller  <davem@davemloft.net>
26596
26597         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26598
26599 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26600
26601         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26602         instead of SIGALRM.
26603
26604         * sysdeps/gnu/_G_config.h: Moved to ...
26605         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26606         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26607         * sysdeps/generic/_G_config.h: ... here.
26608
26609         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26610
26611         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26612
26613         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26614         Conditionalize target on [libnss_test1.so-version].
26615
26616         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26617
26618         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26619         (elfobjdir): Move out of conditionals.
26620
26621         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26622         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26623         (__nss_lookup_function): Conditionalize label remove_from_tree on
26624         [!DO_STATIC_NSS || SHARED], matching its only use.
26625
26626 2012-09-28  David S. Miller  <davem@davemloft.net>
26627
26628         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26629         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26630         file.
26631         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26632         sysdep_routines.
26633         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26634         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26635         when HWCAP_SPARC_CRYPTO is present.
26636
26637 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26638
26639         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26640
26641 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26642
26643         [BZ #6530]
26644         * stdio-common/vfprintf.c (process_string_arg): Revert
26645         2000-07-22 change.
26646
26647 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26648
26649         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26650         for testcase.
26651         * stdio-common/tst-sprintf.c: Include <locale.h>
26652         (main): Test sprintf's handling of incomplete multibyte
26653         characters.
26654
26655 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26656
26657         * elf/dl-runtime.c (VERSYMIDX): Removed.
26658         * elf/dl-version.c (VERSYMIDX): Likewise.
26659         * elf/do-rel.h (VERSYMIDX): Likewise.
26660         (VALIDX): Likewise.
26661         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26662         * elf/rtld.c (VALIDX): Likewise.
26663         (ADDRIDX): Likewise.
26664         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26665         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26666         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26667         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26668         (VALIDX): Likewise.
26669         (ADDRIDX): Likewise.
26670
26671 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26672
26673         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26674
26675 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26676
26677         [BZ #11438]
26678         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26679         to global scope.
26680         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26681         addresses are in the same scope as 192.0.2/24.
26682         * posix/gai.conf: Document new scope table defaults.
26683
26684 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26685
26686         [BZ #5298]
26687         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26688         for ftell.  Compute offsets from write pointers instead.
26689         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26690
26691 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26692
26693         [BZ #14543]
26694         * libio/Makefile (tests): New test case tst-fseek.
26695         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26696         combination works in wide mode.
26697         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26698         state when the external buffer state changes.
26699
26700 2012-09-27  David S. Miller  <davem@davemloft.net>
26701
26702         [BZ #14376]
26703         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26704         pass reloc->r_addend in as the 'high' argument to
26705         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26706
26707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26708
26709 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26710
26711         * rt/tst-aio2.c: Include <pthread.h>.
26712         * rt/tst-aio3.c: Likewise.
26713
26714 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26715
26716         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26717
26718 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26719
26720         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26721         contents on [SHARED].
26722
26723 2012-09-26  Marek Polacek  <polacek@redhat.com>
26724
26725         [BZ #14530]
26726         [BZ #13741]
26727         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26728         for C++ and GCC <4.3 as well as for non GCC compilers.
26729
26730 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26731
26732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26733
26734 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26735
26736         * Makefile.in (all, install): Declare with .PHONY.
26737         Reported by Michael Hope <michael.hope@linaro.org>.
26738
26739 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26740
26741         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26742         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26743         system header.
26744         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26745         Likewise.
26746         (sydep_routines): Add the new and the internal functions.
26747         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26748         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26750         (GLIBC_2.17): Add the new function.
26751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26752         (GLIBC_2.17): Likewise.
26753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26754         (GLIBC_2.17): Likewise.
26755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26756         (GLIBC_2.17): Likewise.
26757         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26758
26759 2012-09-25  Alan Modra  <amodra@gmail.com>
26760
26761         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26762         Add release barrier before setting once_control to say
26763         initialisation is done.  Add hints on lwarx.  Use macro in
26764         place of isync.
26765         (clear_once_control): Add release barrier.
26766
26767 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26768
26769         [BZ #13629]
26770         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26771         specially.
26772         * math/s_clog10.c (__clog10): Likewise.
26773         * math/s_clog10f.c (__clog10f): Likewise.
26774         * math/s_clog10l.c (__clog10l): Likewise.
26775         * math/s_clogf.c (__clogf): Likewise.
26776         * math/s_clogl.c (__clogl): Likewise.
26777         * math/Makefile (libm-calls): Add x2y2m1.
26778         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26779         (__x2y2m1): Likewise.
26780         (__x2y2m1l): Likewise.
26781         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26782         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26783         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26784         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26785         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26786         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26787         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26788         * sysdeps/i386/fpu/libm-test-ulps: Update.
26789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26790
26791         [BZ #14621]
26792         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26793         int as type of variable DEPTH.
26794         (glob): Use size_t instead of int as type of variables NEWCOUNT
26795         and OLD_PATHC.
26796
26797 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26798
26799         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26800         Add s_sincosf-sse2.
26801         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26802         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26803         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26804         macros for using routine as __sincosf_ia32.
26805         Use macro for function declaration and weak_alias.
26806         * sysdeps/i386/fpu/libm-test-ulps: Update.
26807
26808         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26809         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26810
26811         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26812         subnormal argument.
26813         * math/s_cexpf.c (__cexpf): Likewise.
26814         * math/s_csinf.c (__csinf): Likewise.
26815         * math/s_csinhf.c (__csinhf): Likewise.
26816         * math/s_ctanf.c (__ctanf): Likewise.
26817         * math/s_ctanhf.c (__ctanhf): Likewise.
26818         * math/s_ccosh.c (__ccoshf): Likewise.
26819         * math/s_cexp.c (__cexpl): Likewise.
26820         * math/s_csin.c (__csin): Likewise.
26821         * math/s_csinh.c (__csinh): Likewise.
26822         * math/s_ctan.c (__ctan): Likewise.
26823         * math/s_ctanh.c (ctanh): Likewise.
26824         * math/s_ccoshl.c (__ccoshl): Likewise.
26825         * math/s_cexpl.c (__cexpl): Likewise.
26826         * math/s_csinl.c (__csinl): Likewise.
26827         * math/s_csinhl.c (__csinhl): Likewise.
26828         * math/s_ctanl.c (__ctanl): Likewise.
26829         * math/s_ctanhl.c (__ctanhl): Likewise.
26830
26831 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26832
26833         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26834         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26835         (_IO_off_t): Define to __off_t, not _G_off_t.
26836         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26837         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26838         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26839         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26840         type of __dummy and __dummy2 fields.
26841         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26842         (_G_ssize_t): Likewise.
26843         (_G_off_t): Likewise.
26844         (_G_pid_t): Likewise.
26845         (_G_uid_t): Likewise.
26846         (_G_wchar_t): Likewise.
26847         (_G_wint_t): Likewise.
26848         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26849         (_G_ssize_t): Likewise.
26850         (_G_off_t): Likewise.
26851         (_G_pid_t): Likewise.
26852         (_G_uid_t): Likewise.
26853         (_G_wchar_t): Likewise.
26854         (_G_wint_t): Likewise.
26855         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26856         (_G_ssize_t): Likewise.
26857         (_G_off_t): Likewise.
26858         (_G_pid_t): Likewise.
26859         (_G_uid_t): Likewise.
26860         (_G_wchar_t): Likewise.
26861         (_G_wint_t): Likewise.
26862
26863 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26864
26865         * malloc/arena.c: Include malloc-sysdep.h.
26866         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26867         is sufficient to shrink the heap or an unmap is needed.
26868         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26869         new function check_may_shrink_heap.
26870         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26871         new function check_may_shrink_heap.
26872
26873 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26874
26875         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26876         comments.
26877
26878 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26879
26880         * catgets/test-gencat.sh: Add "set -e".
26881         * elf/tst-pathopt.sh: Likewise.
26882         * grp/tst_fgetgrent.sh: Likewise.
26883         * iconvdata/run-iconv-test.sh: Likewise.
26884         * intl/tst-gettext.sh: Likewise.
26885         * intl/tst-gettext2.sh: Likewise.
26886         * intl/tst-gettext4.sh: Likewise.
26887         * intl/tst-gettext6.sh: Likewise.
26888         * intl/tst-translit.sh: Likewise.
26889         * io/ftwtest-sh: Likewise.
26890         * libio/test-freopen.sh: Likewise.
26891         * malloc/tst-mtrace.sh: Likewise.
26892         * posix/globtest.sh: Likewise.
26893         * posix/tst-getconf.sh: Likewise.
26894         * posix/wordexp-tst.sh: Likewise.
26895         * stdio-common/tst-printf.sh: Likewise.
26896         * stdio-common/tst-unbputc.sh: Likewise.
26897         * stdlib/tst-fmtmsg.sh: Likewise.
26898         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26899         * catgets/Makefile: Do not specify -e option when running
26900         testsuite shell scripts.
26901         * elf/Makefile: Likewise.
26902         * grp/Makefile: Likewise.
26903         * iconvdata/Makefile: Likewise.
26904         * intl/Makefile: Likewise.
26905         * io/Makefile: Likewise.
26906         * libio/Makefile: Likewise.
26907         * malloc/Makefile: Likewise.
26908         * posix/Makefile: Likewise.
26909         * stdio-common/Makefile: Likewise.
26910         * stdlib/Makefile: Likewise.
26911         * sysdeps/x86_64/Makefile: Likewise.
26912
26913         * io/ftwtest-sh: Add copyright header.
26914         * posix/globtest.sh: Likewise.
26915         * posix/tst-getconf.sh: Likewise.
26916         * posix/wordexp-tst.sh: Likewise.
26917         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26918
26919 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26920
26921         [BZ #13679]
26922         * Makeconfig (+link): Defined as $(+link-static) if
26923         $(build-shared) isn't yes.
26924         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26925         isn't yes.
26926         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26927
26928         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26929
26930         [BZ #14562]
26931         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26932         new chunk size with MALLOC_ALIGN_MASK.
26933
26934 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26935
26936         [BZ #5044]
26937         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26938         <rounding-mode.h>.
26939         (__printf_fphex): Determine rounding using get_rounding_mode and
26940         round_away.
26941         * stdio-common/tst-printf-round.c (struct hex_test): New
26942         structure.
26943         (hex_tests): New variable.
26944         (test_hex_in_one_mode): New function.
26945         (do_test): Also run tests for hex float output.
26946
26947 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26948
26949         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26950         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26951         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26952         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26953         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26954         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26955         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26956         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26957
26958 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26959
26960         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26961         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26962         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26963         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26964
26965 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26966
26967         [BZ #14579]
26968         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26969         mode only.
26970         * elf/tst-rtld-load-self.sh: New test.
26971         * elf/Makefile: Run it.
26972
26973 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26974
26975         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26976         (tst-writev-ENV): Remove.
26977         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26978
26979 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26980
26981         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26982
26983 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26984
26985         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26986         unconditional.
26987         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26988         Likewise.
26989         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26990         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26991         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26992         Likewise.
26993
26994 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26995
26996         [BZ #14587]
26997         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26998         * config.make.in (have-cpp-asm-debuginfo): Removed.
26999         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27000         * configure: Regenerated.
27001
27002 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27003
27004         [BZ #5044]
27005         * stdio-common/printf_fp.c: Include <stdbool.h> and
27006         <rounding-mode.h>.
27007         (___printf_fp): Determine rounding using get_rounding_mode and
27008         round_away.
27009         * stdio-common/tst-printf-round.c: New file.
27010         * stdio-common/Makefile (tests): Add tst-printf-round.
27011         (link-libm): New variable.
27012         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27013
27014 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27015
27016         [BZ #14576]
27017         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27018         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27019         Likewise.
27020         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27021         Likewise.
27022
27023 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27024
27025         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27026         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27027         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27028         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27029
27030 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27031
27032         [BZ #14518]
27033         * include/rounding-mode.h: New file.
27034         * sysdeps/generic/get-rounding-mode.h: Likewise.
27035         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27036         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27037         (MAX_VALUE): New macro.
27038         (MIN_VALUE): Likewise.
27039         (overflow_value): New function.
27040         (underflow_value): Likewise.
27041         (round_and_return): Use overflow_value and underflow_value to
27042         determine return values in overflow and underflow cases.  Use
27043         round_away to determine rounding depending on rounding mode.
27044         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27045         determine return values in overflow and underflow cases.
27046         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27047         (struct test_results): New structure.
27048         (struct test): Use struct test_results to store expected results
27049         for all rounding modes.
27050         (TEST): Include expected results for all rounding modes.
27051         (test_in_one_mode): New function.
27052         (do_test): Use test_in_one_mode to compute and check results.
27053         Check results for all rounding modes.
27054         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27055         $(link-libm).
27056
27057 2012-12-09  Allan McRae  <allan@archlinux.org>
27058
27059         * sysdeps/i386/fpu/libm-test-ulps: Update
27060
27061 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27062
27063         * sysdeps/generic/_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/gnu/_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         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27080         (_G_int32_t): Likewise.
27081         (_G_uint16_t): Likewise.
27082         (_G_uint32_t): Likewise.
27083         (_G_HAVE_BOOL): Likewise.
27084         (_G_HAVE_ATEXIT): Likewise.
27085         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27086         (_G_HAVE_IO_FILE_OPEN): Likewise.
27087
27088 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27089
27090         * csu/libc-tls.c: Update copyright years.
27091
27092 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27093
27094         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27095         [!_G_USING_THUNKS]: Remove conditional code.
27096         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27097         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27098
27099         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27100         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27101         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27102         (_G_VTABLE_LABEL_PREFIX): Likewise.
27103         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27104         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27105         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27106         (_G_VTABLE_LABEL_PREFIX): Likewise.
27107         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27108         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27109         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27110         (_G_VTABLE_LABEL_PREFIX): Likewise.
27111         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27112
27113 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27114
27115         * libio/Makefile: Include ../Makeconfig before tests.
27116         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27117         only if $(build-shared) is yes.
27118
27119         * iconv/gconv_db.c: Update copyright years.
27120
27121 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27122
27123         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27124         unwind info if defined PIC. Fix special cases description.
27125         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27126
27127         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27128         DP_HI_MASK entry.
27129         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27130
27131 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27132
27133         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27134
27135         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27136         is NULL.
27137
27138         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27139         (LDLIBS-tst-chk4): This.
27140         (LDFLAGS-tst-chk5): Renamed to ...
27141         (LDLIBS-tst-chk5): This.
27142         (LDFLAGS-tst-chk6): Renamed to ...
27143         (LDLIBS-tst-chk6): This.
27144         (LDFLAGS-tst-lfschk4): Renamed to ...
27145         (LDLIBS-tst-lfschk4): This.
27146         (LDFLAGS-tst-lfschk5): Renamed to ...
27147         (LDLIBS-tst-lfschk5): This.
27148         (LDFLAGS-tst-lfschk6): Renamed to ...
27149         (LDLIBS-tst-lfschk6): This.
27150
27151         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27152         on $(common-objpfx)soversions.mk.
27153
27154 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27155
27156         [BZ #10014]
27157         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27158         example host name.
27159
27160 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27161
27162         * malloc/arena.c (arena_get_retry): New function that gets
27163         another arena for the caller to try its request on.
27164         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27165         current arena cannot fulfill the request.
27166         (__libc_memalign): Likewise.
27167         (__libc_memalign): Likewise.
27168         (__libc_pvalloc): Likewise.
27169         (__libc_calloc): Likewise.
27170
27171 2012-09-05  John Tobey  <john.tobey@gmail.com>
27172
27173         [BZ #13542]
27174         * manual/arith.texi (Operations on Complex): Fix description
27175         of carg branch cut.
27176
27177 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27178
27179         [BZ #10014]
27180         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27181         host name.
27182
27183         [BZ #10038]
27184         * manual/memory.texi (Memory): Make order of menu items match
27185         order of sections.
27186
27187 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27188
27189         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27190         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27191         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27192
27193 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27194
27195         * csu/libc-tls.c (static_dtv): Renamed to ...
27196         (_dl_static_dtv): This.  Make it global.
27197         (_dl_initial_dtv): Removed.
27198         (__libc_setup_tls): Updated.
27199         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27200         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27201         DL_INITIAL_DTV.
27202
27203 2012-09-06  Petr Machata  <pmachata@redhat.com>
27204
27205         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27206         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27207         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27208         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27209
27210 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27211
27212         [BZ #14545]
27213         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27214         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27215         freeing dtv[-1].
27216
27217 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27218
27219         [BZ #14544]
27220         * Makeconfig (link-static-before-libc): Replace $(+prector)
27221         with $(+prectorT).
27222         (link-static-after-libc): Replace $(+postctor) with
27223         $(+postctorT).
27224         (link-bounded): Replace $(+prector)/$(+postctor) with
27225         $(+prectorT)/$(+postctorT).
27226         (+prectorT): New macro.
27227         (+postctorT): Likewise.
27228
27229 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27230
27231         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27232         (round_str): Handle values above the maximum for IBM long double
27233         as inexact.
27234         * stdlib/tst-strtod-round.c (tests): Regenerated.
27235
27236 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27237
27238         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27239         assembler flag.
27240         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27241         zarch_nohighgprs around the zarch optimized routines.
27242         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27243         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27244         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27245         for zarch.
27246
27247 2012-09-05  David S. Miller  <davem@davemloft.net>
27248
27249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27250
27251         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27252         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27253         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27254         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27255         entries.
27256
27257 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27258
27259         * malloc/arena.c: Fold copyright years.
27260         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27261
27262 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27263
27264         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27265
27266 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27267
27268         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27269
27270 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27271
27272         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27273         change internal state upon failure.
27274
27275 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27276
27277         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27278         * malloc/memusage.c (mmap): Likewise.
27279         (mmap64, mremap): Likewise.  Adjust name in comment.
27280
27281 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27282
27283         * libio/fileops.c: Fix typos in comments.
27284         * libio/oldfileops.c: Likewise.
27285         * libio/wfileops.c: Likewise.
27286
27287 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27288
27289         [BZ #1349]
27290         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27291         (tst-malloc-usable-ENV): Set environment for test case.
27292         * malloc/hooks.c (malloc_check_get_size): New function to get
27293         requested size.
27294         * malloc/malloc.c (musable): Use malloc_check_get_size.
27295         * malloc/tst-malloc-usable.c: New test case.
27296
27297 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27298
27299         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27300
27301 2012-09-05  Allan McRae  <allan@archlinux.org>
27302
27303         [BZ #13966]
27304         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27305         determine header location.
27306         * configure: Regenerated.
27307
27308 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27309
27310         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27311         float format.
27312         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27313         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27314         format.
27315         (test): Regenerate.
27316
27317 2012-09-04  David S. Miller  <davem@davemloft.net>
27318
27319         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27320         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27321         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27322
27323 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27324
27325         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27326         failures.
27327
27328         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27329
27330 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27331
27332         [BZ #9914]
27333         * libio/iogetdelim.c: Include <limits.h>.
27334         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27335         + len + 1 would overflow.
27336
27337 2012-09-03  Andreas Jaeger  <aj@suse.de>
27338
27339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27340         * sysdeps/i386/fpu/libm-test-ulps: Update.
27341
27342 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27343
27344         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27345         Add s_sinf-sse2, s_conf-sse2.
27346
27347         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27348         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27349         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27350         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27351
27352         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27353         for using routine as __sinf_ia32.
27354         Use macro for function declaration and weak_alias.
27355         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27356         for using routine as __cosf_ia32.
27357         Use macro for function declaration and weak_alias.
27358
27359         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27360         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27361
27362         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27363         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27365
27366         * math/libm-test.inc (cos_test): Add more test cases.
27367         (sin_test): Likewise.
27368         (sincos_test): Likewise.
27369
27370 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27371
27372         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27373         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27374         hidden.
27375         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27376
27377 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27378
27379         [BZ #14538]
27380         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27381         first element of the GOT.
27382         (elf_machine_load_address): Return the difference between
27383         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27384
27385 2012-09-01  Allan McRae  <allan@archlinux.org>
27386
27387         [BZ #13412]
27388         * configure.in (AWK): Require gawk version 3.0 or later.
27389         * configure: Regenerated.
27390
27391 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27392
27393         * sysdeps/unix/sysv/linux/kernel-features.h
27394         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27395         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27396         [__NR_clock_getres]: Make code unconditional.
27397         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27398         (clock_getcpuclockid): Remove code left unreachable by removal of
27399         conditionals.
27400         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27401         code unconditional.
27402         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27403         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27404         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27405         Make code unconditional.
27406         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27407         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27408         * sysdeps/unix/sysv/linux/clock_settime.c
27409         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27410         conditional code.
27411         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27412         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27413
27414 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27415
27416         [BZ #14476]
27417         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27418         scripts/test-installation.pl.
27419
27420         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27421         and $ld_so_version if it is set.
27422
27423 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27424
27425         [BZ #14516]
27426         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27427         failure if reading from procfs failed.
27428         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27429
27430 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27431
27432         * sysdeps/unix/sysv/linux/kernel-features.h
27433         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27434         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27435         Remove conditional code.
27436         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27437         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27438         Remove conditional code.
27439         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27440         * sysdeps/unix/sysv/linux/i386/fxstat.c
27441         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27442         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27443         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27444         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27445         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27446         * sysdeps/unix/sysv/linux/i386/lxstat.c
27447         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27448         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27449         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27450         Remove conditional code.
27451         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27452         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27453         Remove conditional code.
27454         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27455         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27456         <kernel-features.h>.
27457         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27458         Remove.
27459         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27460         Remove conditional code.
27461         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27462         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27463         Remove conditional.
27464
27465 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27466
27467         [BZ #5400]
27468         * NEWS: Add fixed bug number.
27469
27470 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27471
27472         [BZ #14519]
27473         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27474         underflowing exponent in case of negative sign.
27475         * stdlib/tst-strtod-round-data: Add more tests.
27476         * stdlib/tst-strtod-round.c (tests): Regenerated.
27477
27478         [BZ #3479]
27479         * stdlib/strtod_l.c (NDIG): Remove.
27480         (HEXNDIG): Likewise.
27481         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27482         smallest representable value.
27483         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27484         lie within an exact representation of 1/2 ulp of the result.
27485         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27486         unconditionally.
27487         (TENS_P9_IDX): Define unconditionally.
27488         (TENS_P9_SIZE): Likewise.
27489         (TENS_P10_IDX): Likewise.
27490         (TENS_P10_SIZE): Likewise.
27491         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27492         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27493         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27494         entries for 10^2^13 and 10^2^14.
27495         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27496         (TENS_P13_IDX): Define.
27497         (TENS_P13_SIZE): Likewise.
27498         (TENS_P14_IDX): Likewise.
27499         (TENS_P14_SIZE): Likewise.
27500         (_fpioconst_pow10): Change array size to
27501         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27502         unconditional.
27503         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27504         1024]: Add entries for 10^2^13 and 10^2^14.
27505         [LAST_POW10 > _LAST_POW10]: Remove #error.
27506         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27507         (_fpioconst_pow10): Change array size to
27508         FPIOCONST_POW10_ARRAY_SIZE.
27509         * stdlib/gen-fpioconst.c: New file.
27510         * stdlib/gen-tst-strtod-round.c: Likewise.
27511         * stdlib/tst-strtod-round-data: Likewise.
27512         * stdlib/tst-strtod-round.c: Likewise.
27513         * stdlib/Makefile (tests): Add tst-strtod-round.
27514
27515         [BZ #14459]
27516         * stdlib/strtod_l.c: Include <stdint.h>.
27517         (NDEBUG): Do not define.
27518         (round_and_return): Change EXPONENT parameter to type intmax_t.
27519         Rearrange calculations to avoid internal overflow possibilities.
27520         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27521         Rearrange calculations to avoid internal overflow possibilities.
27522         Assert that number fits inside MPNSIZE limbs.
27523         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27524         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27525         calculations and add assertions to avoid internal overflow
27526         possibilities.  Add casts to avoid signed/unsigned operations.
27527         * stdlib/tst-strtod-overflow.c: New file.
27528         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27529
27530 2012-08-25  Marek Polacek  <polacek@redhat.com>
27531
27532         * time/time.h: Fix some typos in comments.
27533
27534 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27535
27536         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27537         * posix/tst-rfc3484-2.c: Likewise.
27538         * posix/tst-rfc3484-3.c: Likewise.
27539
27540 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27541
27542         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27543         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27544
27545 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27546
27547         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27548         #include of fxstatat64.c.
27549
27550 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27551
27552         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27553         * shadow/getspent_r.c: Likewise.
27554         * shadow/getspnam.c: Likewise.
27555         * shadow/getspnam_r.c: Likewise.
27556         * gshadow/getsgent.c: Likewise.
27557         * gshadow/getsgent_r.c: Likewise.
27558         * gshadow/getsgnam.c: Likewise.
27559         * gshadow/getsgnam_r.c: Likewise.
27560         * inet/getnetbyad.c: Likewise.
27561         * inet/getnetbyad_r.c: Likewise.
27562         * inet/getnetbynm.c: Likewise.
27563         * inet/getnetbynm_r.c: Likewise.
27564         * inet/getnetent.c: Likewise.
27565         * inet/getnetent_r.c: Likewise.
27566         * inet/getproto.c: Likewise.
27567         * inet/getproto_r.c: Likewise.
27568         * inet/getprtent.c: Likewise.
27569         * inet/getprtent_r.c: Likewise.
27570         * inet/getprtname.c: Likewise.
27571         * inet/getprtname_r.c: Likewise.
27572         * inet/getrpcbyname.c: Likewise.
27573         * inet/getrpcbyname_r.c: Likewise.
27574         * inet/getrpcbynumber.c: Likewise.
27575         * inet/getrpcbynumber_r.c: Likewise.
27576         * inet/getrpcent.c: Likewise.
27577         * inet/getrpcent_r.c: Likewise.
27578         * inet/getaliasent.c: Likewise.
27579         * inet/getaliasent_r.c: Likewise.
27580         * inet/getaliasname.c: Likewise.
27581         * inet/getaliasname_r.c: Likewise.
27582         * nscd/getgrgid_r.c: Likewise.
27583         * nscd/getgrnam_r.c: Likewise.
27584         * nscd/gethstbyad_r.c: Likewise.
27585         * nscd/gethstbynm3_r.c: Likewise.
27586         * nscd/getpwnam_r.c: Likewise.
27587         * nscd/getpwuid_r.c: Likewise.
27588         * nscd/getsrvbynm_r.c: Likewise.
27589         * nscd/getsrvbypt_r.c: Likewise.
27590         * nscd/gai.c: Likewise.
27591
27592         * configure.in (build_nscd): New substituted variable, set
27593         by --disable-build-nscd and defaults to $use_nscd.
27594         * configure: Regenerated.
27595         * config.make.in (build-nscd): New substituted variable.
27596         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27597         Change conditional to require [$(build-nscd) = yes] as well.
27598         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27599
27600         [BZ# 13696]
27601         * configure.in (use_nscd): New substituted variable, set by
27602         --disable-nscd.  If enabled, define USE_NSCD.
27603         * configure: Regenerated.
27604         * config.h.in: Add USE_NSCD.
27605         * config.make.in (use-nscd): New substituted variable.
27606         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27607         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27608         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27609         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27610         (CFLAGS-getgrnam_r.c): Likewise.
27611         (CFLAGS-initgroups.c): Likewise.
27612         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27613         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27614         Variables removed.
27615         * inet/getnetgrent_r.c
27616         (nscd_setnetgrent): New function, broken out of ...
27617         (setnetgrent): ... here.  Call it.
27618         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27619         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27620         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27621         * nscd/Makefile (routines, aux): Move definitions after include of
27622         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27623         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27624         Conditionalize on [USE_NSCD].
27625         (is_nscd, nscd_init_cb): Likewise.
27626         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27627         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27628         * nss/nss_db/db-init.c: Likewise.
27629         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27630         [USE_NSCD].
27631         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27632         (make_request): Use it.
27633         (cache_valid_p): New function.
27634         (__check_pf): Use it.
27635         * NEWS: Add item for --disable-nscd.
27636
27637 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27638
27639         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27640         to support sed >= 4.2.1-20-ga9bf076.
27641         * configure: Regenerated.
27642
27643 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27644
27645         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27646         Conditionalize whole body on [IREL].
27647
27648 2012-08-22  Jeff Law <law@redhat.com>
27649
27650         [BZ #14505]
27651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27652         if the family is PF_UNSPEC.
27653
27654 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27655
27656         * Makerules (lib-version): Rename from V.
27657         (install-lib-nosubdir): Change V to lib-version.
27658
27659 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27660
27661         [BZ #14252]
27662         * powerpc32/power6/wcschr.c: New file.
27663         * powerpc32/power6/wcscpy.c: New file.
27664         * powerpc32/power6/wcsrchr.c: New file.
27665         * powerpc64/power6/wcschr.c: New file.
27666         * powerpc64/power6/wcscpy.c: New file.
27667         * powerpc64/power6/wcsrchr.c: New file.
27668
27669 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27670
27671         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27672         (two_way_short_needle): Use it.
27673         * string/strstr.c (AVAILABLE1_USES_J): Define.
27674         * string/strcasestr.c: Likewise.
27675
27676         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27677         array references.
27678         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27679
27680         [BZ #11607]
27681         * NEWS: Add an entry.
27682         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27683         define their defaults.
27684         (two_way_short_needle): Detect end-of-string on-the-fly.
27685         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27686         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27687         * string/bug-strcasestr1.c: New test.
27688         * string/Makefile: Run it.
27689
27690 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27691
27692         [BZ #11607]
27693         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27694         the first character.
27695
27696 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27697
27698         * csu/elf-init.c (__libc_csu_irel): Function removed.
27699         * csu/libc-start.c (apply_irel): New function.
27700         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27701
27702 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27703
27704         * sysdeps/unix/sysv/linux/kernel-features.h
27705         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27706         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27707         <kernel-features.h>.
27708         [__NR_fadvise64_64]: Make code unconditional.
27709         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27710         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27711         !__NR_fadvise64_64)]: Likewise.
27712         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27713         !__NR_fadvise64_64))]: Likewise.
27714         [__NR_fadvise64]: Make code unconditional.
27715         [!__NR_fadvise64]: Remove conditional code.
27716         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27717         <kernel-features.h>.
27718         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27719         unconditional.
27720         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27721         conditional code.
27722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27723         not include <kernel-features.h>.
27724         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27725         unconditional.
27726         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27727         conditional code.
27728         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27729         include <kernel-features.h>.
27730         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27731         unconditional.
27732         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27733         conditional code.
27734
27735 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27736
27737         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27738         slight instruction rearrangements per scrollpipe analysis.
27739         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27740
27741 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27742
27743         * manual/syslog.texi (syslog; vsyslog, closelog):
27744         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27745         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27746
27747         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27748         DSOCAPS to match condition on defining it.
27749
27750 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27751
27752         * sysdeps/unix/sysv/linux/kernel-features.h
27753         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27755         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27756         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27758         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27759         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27761         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27762         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27763
27764         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27765         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27766
27767         * sysdeps/unix/sysv/linux/kernel-features.h
27768         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27769         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27770         unconditional.
27771         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27772         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27773         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27774         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27775         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27776         Make code unconditional.
27777         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27778         (__mmap64) [!__NR_mmap2]: Likewise.
27779         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27780         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27781         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27782         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27783         [__NR_mmap2]: Make code unconditional.
27784         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27785         (__mmap64) [!__NR_mmap2]: Likewise.
27786
27787 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27788
27789         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27790
27791 2012-08-18  Andreas Jaeger  <aj@suse.de>
27792
27793         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27794
27795 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27796
27797         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27798         * include/unistd.h (__have_sock_cloexec): Likewise.
27799         (__have_pipe2): Likewise.
27800         (__have_dup3): Likewise.
27801
27802 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27803
27804         [BZ #9685]
27805         * include/unistd.h (__have_pipe2): Change define into an extern int.
27806         (__have_dup3): Likewise.
27807         * socket/have_sock_cloexec.c: Include fcntl.h.
27808         (__have_pipe2): New variable.
27809         (__have_dup3): Likewise.
27810
27811 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27812
27813         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27814
27815 2012-08-17  Marek Polacek  <polacek@redhat.com>
27816
27817         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27818         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27819
27820 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27821
27822         * configure.in: Add AC_SUBST for sysheaders.
27823         * configure: Regenerated.
27824         * config.make.in (sysheaders): New substituted variable.
27825
27826         * sysdeps/unix/mkfifo.c: Moved ...
27827         * sysdeps/posix/mkfifo.c: ... here.
27828         * sysdeps/unix/mkfifoat.c: Moved ...
27829         * sysdeps/posix/mkfifoat.c: ... here.
27830
27831         * sysdeps/unix/utime.c: Moved ...
27832         * sysdeps/posix/utime.c: ... here.
27833
27834         * sysdeps/unix/time.c: Moved ...
27835         * sysdeps/posix/time.c: ... here.
27836         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27837         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27838
27839         * sysdeps/unix/nice.c: Moved ...
27840         * sysdeps/posix/nice.c: ... here.
27841
27842         * sysdeps/unix/alarm.c: Moved ...
27843         * sysdeps/posix/alarm.c: ... here.
27844
27845         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27846
27847 2012-08-17  Jeff Law <law@redhat.com>
27848
27849         * intl/Makefile (codeset_mo): New variable.
27850         ($(codeset_mo)): New target.
27851         (tst-codeset.out): Depend on that.  Remove explicit rule.
27852         (tst-gettext3.out, tst-gettext5.out): Likewise.
27853         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27854         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27855         * intl/tst-codeset.sh: Remove.
27856         * intl/tst-gettext3.sh: Likewise.
27857         * intl/tst-gettext5.sh: Likewise.
27858
27859 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27860
27861         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27862         * sysdeps/unix/syscalls.list: ... here.
27863
27864         * sysdeps/posix/getaddrinfo.c
27865         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27866         (gaiconf_init, gaiconf_reload): Use them.
27867         [!_STATBUF_ST_NSEC]
27868         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27869         Define using time_t rather than struct timespec.
27870
27871         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27872         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27873         Macros removed.
27874         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27875         [!NO_THREADS].
27876         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27877         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27878         Likewise.
27879
27880         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27881         __libc_cleanup_push argument.
27882
27883         * bits/param.h: New file.
27884         * misc/sys/param.h: New file.
27885         * include/sys/param.h: New file.
27886         * misc/Makefile (headers): Add bits/param.h.
27887         * sysdeps/generic/sys/param.h: File removed.
27888         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27889         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27890         * sysdeps/mach/hurd/bits/param.h: New file.
27891         * sysdeps/mach/hurd/sys/param.h: File removed.
27892
27893         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27894         last change.
27895
27896         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27897         [_IO_MTSAFE_IO].
27898         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27899         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27900         New macros.
27901
27902         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27903         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27904         rather than -D_IO_MTSAFE_IO conditionally.
27905         * stdio-common/Makefile (CPPFLAGS): Likewise.
27906         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27907         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27908         Use $(libio-mtsafe).
27909         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27910         of -D_IO_MTSAFE_IO.
27911         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27912         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27913         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27914         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27915         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27916         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27917         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27918         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27919         (CFLAGS-fread_u_chk.c): Likewise.
27920         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27921         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27922         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27923         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27924         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27925         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27926         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27927         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27928         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27929
27930         * libio/Makefile: Test [$(libc-reentrant) = yes]
27931         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27932
27933         * Makeconfig
27934         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27935         * sysdeps/pthread/configure: File removed.
27936         * sysdeps/pthread/Makeconfig: New file.
27937         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27938         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27939
27940 2012-08-16  Gary Benson  <gbenson@redhat.com>
27941
27942         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27943         unmapping the first object in a namespace.
27944
27945 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27946
27947         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27948         (__internal_setnetgrent): ... this.  Add internal_function to
27949         definition.  Add libc_hidden_def.
27950         (setnetgrent): Update caller.
27951         (internal_endnetgrent): Renamed to ...
27952         (__internal_endnetgrent): ... this.  Add internal_function to
27953         definition.  Add libc_hidden_def.
27954         (endnetgrent): Update caller.
27955         (internal_getnetgrent_r): Renamed to ...
27956         (__internal_getnetgrent_r): ... this.  Add internal_function to
27957         definition.  Add libc_hidden_def.
27958         (__getnetgrent_r): Update caller.
27959         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27960
27961 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27962
27963         * stdlib/longlong.h: Update from GCC.
27964
27965 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27966
27967         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27968         on _QL, which is set by umul_ppmm but never used.
27969         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27970         variables, which are set by GMP macros but never used.
27971         * stdio-common/_itowa.c (_itowa): Likewise.
27972         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27973         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27974
27975 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27976
27977         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27978         struct La_sh_regs is not constant.
27979         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27980         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27981         and struct La_sparc64_regs are not constant.
27982
27983 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27984
27985         * sysdeps/unix/sysv/linux/kernel-features.h
27986         (__ASSUME_POSIX_TIMERS): Remove.
27987         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27988         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27989         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27990         Make code unconditional.
27991         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27992         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27993         Make code unconditional.
27994         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27995         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27996         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27997         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27998         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27999         Make code unconditional.
28000         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28001         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28002         (__libc_missing_posix_timers): Remove.
28003
28004 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28005
28006         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28007         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28008
28009         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28010
28011         * elf/dl-sym.c: Include <stdlib.h>.
28012
28013         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28014         constants, which avoids warnings in 32-bit builds.
28015
28016         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28017         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28018
28019         * misc/lseek.c: File moved to ...
28020         * io/lseek.c: ... here.
28021
28022         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28023
28024         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28025         shifting LEN more than 31 bits at once.
28026
28027 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28028
28029         [BZ #14195]
28030         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28031         segmentation fault for a case of two empty input strings.
28032         * string/test-strncasecmp.c (check1): Renamed to...
28033         (bz12205): ...this.
28034         (bz14195): Add new testcase for two empty input strings and N > 0.
28035         (test_main): Call new testcase, adapt for renamed function.
28036
28037 2012-08-15  Andreas Jaeger  <aj@suse.de>
28038
28039         [BZ #14090]
28040         * crypt/md5test2.c: New test, based on test supplied by Serge
28041         Belyshev <belyshev@depni.sinp.msu.ru>.
28042         * crypt/Makefile (xtests): Add md5test-giant..
28043         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28044
28045 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28046
28047         [BZ #14090]
28048         * crypt/md5.c (md5_process_block): Don't assume the buffer
28049         length is less than 2**32.
28050         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28051         length is less than 2**64.
28052
28053 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28054
28055         * string/str-two-way.h: Include <sys/param.h>.
28056         (MAX): Macro removed.
28057
28058         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28059         Move #define and #undef of memmove to just before and after
28060         including <string.h>.
28061
28062         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28063         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28064         and after including <string.h>.  Move declarations of
28065         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28066         to before #include "string/memmove.c".
28067
28068         * include/dirent.h: Declare __getdirentries.
28069
28070         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28071         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28072
28073 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28074
28075         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28076         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28077         * sysdeps/i386/configure: Regenerated.
28078         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28079         STABS_CURRENT_FILE, and STABS_FUN.
28080         (END): Remove call to STABS_FUN_END.
28081         (STABS_CURRENT_FILE1): Delete.
28082         (STABS_CURRENT_FILE): Likewise.
28083         (STABS_FUN): Likewise.
28084         (STABS_FUN_END): Likewise.
28085         (STABS_FUN2): Likewise.
28086         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28087         * sysdeps/x86_64/configure: Regenerated.
28088
28089 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28090
28091         * elf/dl-open.c: Include <atomic.h>.
28092         * elf/dl-lookup.c: Likewise.
28093
28094 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28095
28096         * sysdeps/unix/sysv/linux/kernel-features.h
28097         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28098         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28099         unconditionally.
28100         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28101         unconditionally.
28102         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28103         condition on __ASSUME_CLONE_THREAD_FLAGS.
28104
28105 2012-08-14  Andreas Jaeger  <aj@suse.de>
28106
28107         * sysdeps/i386/fpu/libm-test-ulps: Update.
28108
28109 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28110
28111         * include/atomic.h (atomic_exchange_and_add): Split into ...
28112         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28113         New atomic macros.
28114
28115 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28116
28117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28118
28119 2012-08-13  Jeff Law <law@redhat.com>
28120
28121         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28122         null byte in the output string.
28123
28124 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28125
28126         * sysdeps/unix/sysv/linux/kernel-features.h
28127         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28128         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28129         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28130         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28131         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28132         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28133         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28134
28135 2012-08-09  Jeff Law <law@redhat.com>
28136
28137         [BZ #13939]
28138         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28139         When avoid_arena is set, don't retry in the that arena.  Pick the
28140         next one, whatever it might be.
28141         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28142         (arena_lock): Pass in new parameter to arena_get2.
28143         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28144         arena_get2.
28145         (__libc_malloc): Unify retrying after main arena failure with
28146         __libc_memalign version.
28147         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28148
28149 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28150
28151         [BZ #14166]
28152         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28153         to __redirect_strstr.
28154         (__strstr_sse42): Use typeof __redirect_strstr.
28155         (__strstr_ia32): Likewise.
28156         (__libc_strstr): New prototype.
28157         (strstr): Renamed to ...
28158         (__libc_strstr): This.
28159         (strstr): New strong alias of __libc_strstr.
28160         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28161         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28162         __redirect_time.
28163         Include <time.h>.
28164         (__libc_time): New prototype.
28165         (time_ifunc): Replace time with __libc_time.
28166         (time): New strong alias and hidden definition of __libc_time.
28167         (__GI_time): Remove strong alias.
28168         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28169         Include <stddef.h>.
28170         (memmove): Redefined to __redirect_memmove.
28171         (__memmove_sse2): Use typeof __redirect_memmove.
28172         (__memmove_ssse3): Likewise.
28173         (__memmove_ssse3_back): Likewise.
28174         (__libc_memmove): New prototype.
28175         (memmove): Renamed to ...
28176         (__libc_memmove): This.
28177         (memmove): New strong alias of __libc_memmove.
28178
28179 2012-08-08  Mark Salter  <msalter@redhat.com>
28180
28181         * elf/elf.h
28182         (R_MN10300_TLS_GD): Define.
28183         (R_MN10300_TLS_LD): Likewise.
28184         (R_MN10300_TLS_LDO): Likewise.
28185         (R_MN10300_TLS_GOTIE): Likewise.
28186         (R_MN10300_TLS_IE): Likewise.
28187         (R_MN10300_TLS_LE): Likewise.
28188         (R_MN10300_TLS_DTPMOD): Likewise.
28189         (R_MN10300_TLS_DTPOFF): Likewise.
28190         (R_MN10300_TLS_TPOFF): Likewise.
28191         (R_MN10300_SYM_DIFF): Likewise.
28192         (R_MN10300_ALIGN): Likewise.
28193         (R_MN10300_NUM): Update.
28194
28195 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28196
28197         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28198         Remove.
28199
28200 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28201
28202         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28203
28204         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28205         sysdeps/unix -> sysdeps/posix move.
28206         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28207
28208 2012-08-07      Allan McRae     <allan@archlinux.org>
28209
28210         [BZ #14303]
28211         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28212         (SUNOS_CPP): Likewise.
28213         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28214         not found.
28215         (open_input): Call CPP using execvp.
28216
28217 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28218
28219         * sysdeps/unix/sysv/linux/kernel-features.h
28220         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28221         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28222         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28223         (__ASSUME_WAITID_SYSCALL): Likewise.
28224         * sysdeps/unix/sysv/linux/dl-execstack.c
28225         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28226         code unconditional.
28227         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28228         conditional code.
28229         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28230         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28231         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28232         code.
28233         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28234         unconditional.
28235         [__ASSUME_WAITID_SYSCALL]: Likewise.
28236         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28237
28238 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28239
28240         * sysdeps/unix/closedir.c: Renamed to ...
28241         * sysdeps/posix/closedir.c: ... here.
28242         * sysdeps/unix/dirfd.c: Renamed to ...
28243         * sysdeps/posix/dirfd.c: ... here.
28244         * sysdeps/unix/dirstream.h: Renamed to ...
28245         * sysdeps/posix/dirstream.h: ... here.
28246         * sysdeps/unix/fdopendir.c: Renamed to ...
28247         * sysdeps/posix/fdopendir.c: ... here.
28248         * sysdeps/unix/opendir.c: Renamed to ...
28249         * sysdeps/posix/opendir.c: ... here.
28250         * sysdeps/unix/readdir.c: Renamed to ...
28251         * sysdeps/posix/readdir.c: ... here.
28252         * sysdeps/unix/readdir_r.c: Renamed to ...
28253         * sysdeps/posix/readdir_r.c: ... here.
28254         * sysdeps/unix/rewinddir.c: Renamed to ...
28255         * sysdeps/posix/rewinddir.c: ... here.
28256         * sysdeps/unix/seekdir.c: Renamed to ...
28257         * sysdeps/posix/seekdir.c: ... here.
28258         * sysdeps/unix/telldir.c: Renamed to ...
28259         * sysdeps/posix/telldir.c: ... here.
28260         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28261         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28262         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28263         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28264
28265         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28266         * bits/fcntl.h: ... here.
28267
28268         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28269         not 0.
28270         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28271         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28272         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28273         (struct flock): Move l_start, l_len to the beginning.
28274         Use __pid_t for l_pid.
28275         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28276         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28277         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28278         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28279         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28280         [__USE_LARGEFILE64] (struct flock64): New type.
28281         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28282
28283         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28284         * bits/dirent.h: ... here.
28285
28286         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28287         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28288
28289 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28290
28291         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28292         Change from 2.6.0 to 2.6.16.
28293         * sysdeps/unix/sysv/linux/configure: Regenerated.
28294         * sysdeps/unix/sysv/linux/kernel-features.h
28295         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28296         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28297         version.
28298         (__ASSUME_UTIMES): Likewise.
28299         (__ASSUME_CLONE_STOPPED): Remove.
28300         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28301         architectures, not kernel version.
28302         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28303         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28304         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28305         (__ASSUME_WAITID_SYSCALL): Likewise.
28306         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28307         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28308         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28309         refer to older versions.
28310
28311 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28312
28313         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28314         Define alphasort64 as an alias.
28315         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28316         Define versionsort64 as an alias.
28317         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28318         Define scandir64 as an alias.
28319         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28320         Define scandirat64 as an alias.
28321         * dirent/alphasort64.c (alphasort64):
28322         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28323         * dirent/versionsort64.c: Likewise.
28324         * dirent/scandir64.c: Likewise.
28325         * dirent/scandirat64.c: Likewise.
28326         * sysdeps/wordsize-64/alphasort.c: File removed.
28327         * sysdeps/wordsize-64/alphasort64.c: File removed.
28328         * sysdeps/wordsize-64/scandir.c: File removed.
28329         * sysdeps/wordsize-64/scandir64.c: File removed.
28330         * sysdeps/wordsize-64/scandirat.c: File removed.
28331         * sysdeps/wordsize-64/scandirat64.c: File removed.
28332         * sysdeps/wordsize-64/versionsort.c: File removed.
28333         * sysdeps/wordsize-64/versionsort64.c: File removed.
28334         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28335         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28336         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28337         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28338         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28339         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28340         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28341         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28342
28343         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28344         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28345         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28347         [defined __arch64__ || defined __sparcv9]
28348         (__INO_T_MATCHES_INO64_T): New macro.
28349         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28350         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28351         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28352         * sysdeps/unix/sysv/linux/bits/dirent.h
28353         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28354         (_DIRENT_MATCHES_DIRENT64): New macro.
28355
28356         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28357         Define lockf64 as an alias.
28358         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28359         Define fseeko64 as an alias.
28360         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28361         Define ftello64 as an alias.
28362         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28363         Define _IO_fgetpos64 and fgetpos64 as aliases.
28364         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28365         Define _IO_fsetpos64 and fsetpos64 as aliases.
28366         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28367         Conditionalize body on this.
28368         * libio/fseeko64.c: Likewise.
28369         * libio/ftello64.c: Likewise.
28370         * libio/iofgetpos64.c: Likewise.
28371         * libio/iofsetpos64.c: Likewise.
28372         * sysdeps/wordsize-64/lockf.c: File removed.
28373         * sysdeps/wordsize-64/lockf64.c: File removed.
28374         * sysdeps/wordsize-64/fseeko.c: File removed.
28375         * sysdeps/wordsize-64/fseeko64.c: File removed.
28376         * sysdeps/wordsize-64/ftello.c: File removed.
28377         * sysdeps/wordsize-64/ftello64.c: File removed.
28378         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28379         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28380         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28381         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28382         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28383         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28384         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28385         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28386         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28387         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28388         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28389         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28390         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28391         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28392
28393         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28394         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28395         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28396         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28397         [defined __arch64__ || defined __sparcv9]
28398         (__OFF_T_MATCHES_OFF64_T): New macro.
28399         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28400         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28401         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28402         (__OFF_T_MATCHES_OFF64_T): New macro.
28403
28404 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28405
28406         * stdlib/secure-getenv.c (__secure_getenv): Replace
28407         GLIBC_2_16 with GLIBC_2_17.
28408
28409 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28410
28411         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28412         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28413
28414 2012-08-03  David S. Miller  <davem@davemloft.net>
28415
28416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28417
28418 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28419
28420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28421         Remove.
28422         (__ASSUME_CORRECT_SI_PID): Likewise.
28423         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28424         (__ASSUME_TMPFS_NAME): Likewise.
28425         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28426         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28427         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28428         (HAVE_AUX_SECURE): Make definition unconditional.
28429         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28430         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28431
28432 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28433
28434         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28435         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28436         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28437         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28438         __eloop_threshold instead of SYMLOOP_MAX.
28439
28440         * sysdeps/generic/eloop-threshold.h: New file.
28441         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28442         of MAXSYMLINKS.
28443         * elf/chroot_canon.c (chroot_canon): Likewise.
28444
28445 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28446
28447         [BZ #13717]
28448         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28449         Change to 2.6.0 everywhere.
28450         * sysdeps/unix/sysv/linux/configure: Regenerated.
28451         * sysdeps/unix/sysv/linux/kernel-features.h
28452         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28453         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28454         kernel versions.
28455         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28456         (__ASSUME_FUTEX_REQUEUE): Remove.
28457         (__ASSUME_STATFS64): Define unconditionally.
28458         (__ASSUME_AT_SECURE): Likewise.
28459         (__ASSUME_CORRECT_SI_PID): Likewise.
28460         (__ASSUME_TGKILL): Define without depending on kernel version for
28461         i386.
28462         (__ASSUME_UTIMES): Likewise.
28463         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28464         kernel version.
28465         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28466         (__ASSUME_TMPFS_NAME): Likewise.
28467         * README: Update reference to Linux kernel versions.
28468
28469 2012-08-02  Marek Polacek  <polacek@redhat.com>
28470
28471         [BZ# 14150]
28472         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28473         libc_cv_asm_type_prefix with %.
28474         * configure: Regenerated.
28475         * include/libc-symbols.h: Remove comment about
28476         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28477         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28478         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28479         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28480         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28481         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28482         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28483         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28484         * elf/tst-unique2mod1.c: Likewise.
28485         * elf/tst-unique1mod2.c: Likewise.
28486         * elf/tst-unique1mod1.c: Likewise.
28487         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28488         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28489         Replace ASM_TYPE_DIRECTIVE with .type.
28490         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28491         * sysdeps/i386/sysdep.h: Likewise.
28492         * sysdeps/x86_64/sysdep.h: Likewise.
28493         * sysdeps/sh/sysdep.h: Likewise.
28494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28495         Do not define ASM_TYPE_DIRECTIVE.
28496         * sysdeps/powerpc/sysdep.h: Likewise.
28497         * sysdeps/powerpc/powerpc32/sysdep.h:
28498         Replace ASM_TYPE_DIRECTIVE with .type.
28499         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28500         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28501         * sysdeps/i386/fpu/e_powf.S: Likewise.
28502         * sysdeps/i386/fpu/e_expl.S: Likewise.
28503         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28504         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28505         * sysdeps/i386/fpu/e_pow.S: Likewise.
28506         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28507         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28508         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28509         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28510         * sysdeps/i386/fpu/e_log2.S: Likewise.
28511         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28512         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28513         * sysdeps/i386/fpu/e_powl.S: Likewise.
28514         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28515         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28516         * sysdeps/i386/fpu/e_logl.S: Likewise.
28517         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28518         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28519         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28520         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28521         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28522         * sysdeps/i386/fpu/e_log.S: Likewise.
28523         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28524         * sysdeps/i386/fpu/e_logf.S: Likewise.
28525         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28526         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28527         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28528         * sysdeps/i386/fpu/e_log10.S: Likewise.
28529         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28530         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28531         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28532         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28533         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28534         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28535         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28536         * sysdeps/i386/i686/strtok.S: Likewise.
28537         * sysdeps/i386/i386-mcount.S: Likewise.
28538         * sysdeps/i386/strtok.S: Likewise.
28539         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28540         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28541         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28542         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28543         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28544         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28545         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28546         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28547         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28548         * sysdeps/x86_64/_mcount.S: Likewise.
28549         * sysdeps/x86_64/strtok.S: Likewise.
28550         * sysdeps/sh/_mcount.S: Likewise.
28551
28552 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28553
28554         * libio/iofopen.c: Include <fcntl.h>.
28555         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28556         (_IO_fopen64, fopen64): Define as aliases.
28557         * libio/iofopen64.c: Include <fcntl.h>.
28558         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28559         Conditionalize body on this.
28560         * sysdeps/wordsize-64/iofopen.c: File removed.
28561         * sysdeps/wordsize-64/iofopen64.c: File removed.
28562
28563 2012-08-01  Marek Polacek  <polacek@redhat.com>
28564
28565         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28566         Use dlfcn directly instead of a variable.
28567         (binfmt-subdir): Do not define.
28568         (dlfcn): Likewise.
28569
28570 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28571
28572         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28573         Remove all definitions.
28574         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28575         <kernel-features.h>.
28576         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28577         (miss_F_GETOWN_EX): Remove all definitions.
28578         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28579         macro definition.
28580         [!__ASSUME_FCNTL64]: Remove conditional code.
28581         [__ASSUME_FCNTL64]: Make code unconditional.
28582         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28583         <kernel-features.h>.
28584         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28585         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28586         (lockf64) [__NR_fcntl64]: Make code unconditional.
28587         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28588
28589         * sysdeps/unix/sysv/linux/kernel-features.h
28590         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28591         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28592         Make code unconditional.
28593         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28594         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28596         [__NR_vfork]: Make code unconditional.
28597         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28598         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28600         [__NR_vfork]: Make code unconditional.
28601         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28602         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28603
28604 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28605
28606         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28607         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28608
28609         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28610         Define mkstemp64 as an alias.
28611         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28612         Define mkstemps64 as an alias.
28613         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28614         Define mkostemp64 as an alias.
28615         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28616         Define mkostemps64 as an alias.
28617         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28618         Conditionalize body on this.
28619         * misc/mkostemp64.c: Likewise.
28620         * misc/mkostemps64.c: Likewise.
28621         * misc/mkstemps64.c: Likewise.
28622         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28623         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28624         * sysdeps/wordsize-64/mkostemp.c: File removed.
28625         * sysdeps/wordsize-64/mkstemp.c: File removed.
28626         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28627         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28628         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28629         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28630
28631         [BZ #14138]
28632         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28633         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28634         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28635         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28636
28637         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28638         compat_symbol macros from <shlib-compat.h> rather than the underlying
28639         default_symbol_version and symbol_version macros, so that DEFAULT
28640         lines in shlib-versions are respected.
28641         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28642
28643 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28644
28645         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28646         Declare with warn_unused_result.
28647         (setgid, setregid, setegid, setresgid): Likewise.
28648         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28649         Likewise.
28650         * WUR-REPORT: Remove set*id functions.
28651
28652 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28653
28654         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28655
28656 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28657
28658         [BZ #10191]
28659         * include/sys/socket.h (__libc_accept, __libc_accept4):
28660         Add attribute_hidden.
28661         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28662
28663         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28664         use of PTR_MANGLE.
28665         * inet/getnetgrent_r.c (setup): Likewise.
28666
28667         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28668
28669 2012-07-31  David S. Miller  <davem@davemloft.net>
28670
28671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28672
28673 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28674
28675         [BZ #13629]
28676         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28677         value between 1.0 and 2.0 and smaller part has absolute value less
28678         than 1.0.
28679         * math/s_clog10.c (__clog10): Likewise.
28680         * math/s_clog10f.c (__clog10f): Likewise.
28681         * math/s_clog10l.c (__clog10l): Likewise.
28682         * math/s_clogf.c (__clogf): Likewise.
28683         * math/s_clogl.c (__clogl): Likewise.
28684         * math/libm-test.inc (clog_test): Add more tests.
28685         (clog10_test): Likewise.
28686         * sysdeps/i386/fpu/libm-test-ulps: Update.
28687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28688
28689 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28690
28691         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28692         Exit with zero in case no suitable GID is found, and write a
28693         message to standard error.
28694
28695 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28696
28697         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28698         rather than to 1.
28699         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28700         (MAXPATHLEN): Removed.
28701         (NOGROUP, NODEV): New macros.
28702         (setbit, clrbit, isset, isclr): New macros.
28703         (howmany, roundup, powerof2): New macros.
28704         (DEV_BSIZE): New macro.
28705
28706         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28707         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28708
28709         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28710         definition on [!__NO_LONG_DOUBLE_MATH].
28711
28712         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28713         PTR_MANGLE and PTR_DEMANGLE.
28714
28715         * socket/accept4.c (accept4): Rename to __libc_accept4.
28716         Define accept4 as a weak alias.
28717
28718         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28719         on [_DIRENT_HAVE_D_TYPE].
28720         * io/ftw.c (ftw_dir): Likewise.
28721
28722         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28723
28724         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28725
28726         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28727         Use the BSD numbers rather than the arbitrary ones we had.
28728         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28729         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28730         (SIGXCPU, SIGXFSZ): New macros.
28731         (_NSIG): Now 32.
28732
28733         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28734         initializer on [_LIBC_REENTRANT].
28735
28736         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28737         definitions inside [_POSIX_MAPPED_FILES].
28738
28739         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28740
28741         * dirent/opendir.c: Include <fcntl.h>.
28742
28743         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28744         (__libc_getspecific): Likewise.
28745         (__libc_key_create): Likewise.
28746
28747         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28748         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28749         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28750         (tmpfile64): Define as alias.
28751         * sysdeps/wordsize-64/tmpfile.c: File removed.
28752         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28753         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28754         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28755
28756         * stdio-common/vfscanf.c: Include <stdbool.h>.
28757         * nss/makedb.c: Likewise.
28758         * stdio-common/_i18n_number.h: Likewise.
28759         * argp/argp-help.c: Likewise.
28760         * posix/wordexp.c: Likewise.
28761         * sysdeps/posix/spawni.c: Likewise.
28762         * nss/nss_files/files-initgroups.c: Likewise.
28763         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28764         * nss/nss_files/files-initgroups.c: Likewise.
28765         * nss/nss_db/db-netgrp.c: Likewise.
28766         * nss/nss_db/db-initgroups.c: Likewise.
28767         * io/fchmodat.c: Include <sys/stat.h>.
28768
28769         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28770         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28771
28772         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28773         [HAVE_MMAP].
28774
28775         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28776         Add multiple inclusion protection.
28777
28778 2012-07-27  David S. Miller  <davem@davemloft.net>
28779
28780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28781
28782 2012-07-27  Gary Benson  <gbenson@redhat.com>
28783
28784         [BZ #14298]
28785         * elf/rtld.c: Include <stap-probe.h>.
28786         (dl_main): Added static probes "init_start" and "init_complete".
28787         * elf/dl-load.c: Include <stap-probe.h>.
28788         (lose): Take new parameter "nsid".
28789         Added static probe "map_failed".
28790         (_dl_map_object_from_fd): Pass namespace id to lose.
28791         Added static probe "map_start".
28792         (open_verify): Pass namespace id to lose.
28793         * elf/dl-open.c: Include <stap-probe.h>.
28794         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28795         and "reloc_complete".
28796         * elf/dl-close.c: Include <stap-probe.h>.
28797         (_dl_close_worker): Added static probes "unmap_start" and
28798         "unmap_complete".
28799         * elf/rtld-debugger-interface.txt: New file documenting the above.
28800
28801 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28802
28803         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28804         rather than a string variable.
28805         * sunrpc/rpc_main.c (h_output): Likewise.
28806         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28807
28808 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28809
28810         * inet/check_native.c: New file.
28811
28812 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28813
28814         [BZ #13629]
28815         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28816         if larger part has absolute value 1.0.
28817         * math/s_clog10.c (__clog10): Likewise.
28818         * math/s_clog10f.c (__clog10f): Likewise.
28819         * math/s_clog10l.c (__clog10l): Likewise.
28820         * math/s_clogf.c (__clogf): Likewise.
28821         * math/s_clogl.c (__clogl): Likewise.
28822         * math/libm-test.inc (clog_test): Add more tests.
28823         (clog10_test): Likewise.
28824         * sysdeps/i386/fpu/libm-test-ulps: Update.
28825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28826
28827         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28828         (pltexit): Likewise.
28829         (La_regs): Likewise.
28830         (La_retval): Likewise.
28831         (int_retval): Likewise.
28832         Update #error for removed macros to refer only to definitions in
28833         tst-audit.h.
28834         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28835         macro.
28836         (pltexit): Likewise.
28837         (La_regs): Likewise.
28838         (La_retval): Likewise.
28839         (int_retval): Likewise.
28840         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28841         macro.
28842         (pltexit): Likewise.
28843         (La_regs): Likewise.
28844         (La_retval): Likewise.
28845         (int_retval): Likewise.
28846         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28847         macro.
28848         (pltexit): Likewise.
28849         (La_regs): Likewise.
28850         (La_retval): Likewise.
28851         (int_retval): Likewise.
28852         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28853         macro.
28854         (pltexit): Likewise.
28855         (La_regs): Likewise.
28856         (La_retval): Likewise.
28857         (int_retval): Likewise.
28858         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28859         macro.
28860         (pltexit): Likewise.
28861         (La_regs): Likewise.
28862         (La_retval): Likewise.
28863         (int_retval): Likewise.
28864         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28865         macro.
28866         (pltexit): Likewise.
28867         (La_regs): Likewise.
28868         (La_retval): Likewise.
28869         (int_retval): Likewise.
28870         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28871         macro definitions in tst-audit.h.
28872         * sysdeps/i386/tst-audit.h: New file.
28873         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28874         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28875         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28876         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28877         * sysdeps/sh/tst-audit.h: Likewise.
28878         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28879         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28880         * sysdeps/x86_64/tst-audit.h: Likewise.
28881
28882 2012-07-26  Andreas Jaeger  <aj@suse.de>
28883
28884         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28885         ptrace.
28886
28887         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28888         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28889         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28890         PTRACE_O_MASK.
28891         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28892         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28893         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28894
28895         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28896         value.
28897
28898         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28899         _sigsys.
28900         (si_call_addr, si_syscall, si_arch): Define new macro.
28901         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28902         _sigsys.
28903         (si_call_addr, si_syscall, si_arch): Define new marcro.
28904         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28905         _sigsys.
28906         (si_call_addr, si_syscall, si_arch): Define new macro.
28907         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28908         _sigsys.
28909         (si_call_addr, si_syscall, si_arch): Define new macro.
28910
28911 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28912
28913         [BZ #13717]
28914         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28915         Change to 2.4.21 where previously 2.4.1.
28916         * sysdeps/unix/sysv/linux/configure: Regenerated.
28917         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28918         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28919         Linux kernel version.
28920         (__ASSUME_STD_AUXV): Remove.
28921         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28922         kernel version.
28923         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28924         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28925         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28926         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28927         (__ASSUME_NETLINK_SUPPORT): Likewise.
28928         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28929         (__no_netlink_support): Remove conditional definition.
28930         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28931         Remove.
28932         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28933         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28934         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28935         (if_nameindex_ioctl): Remove.
28936         (if_nameindex_netlink): Do not handle __no_netlink_support.
28937         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28938         code.
28939         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28940         Remove conditional code.
28941         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28942         code.
28943         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28944         unconditional.
28945         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28946         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28947         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28948         Remove.
28949         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28950         [!__ASSUME_STD_AUXV]: Remove conditional code.
28951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28952         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28953         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28955         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28956         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28957         code.
28958         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28960         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28961         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28962         conditional code.
28963         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28965         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28966         code.
28967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28968         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28969         conditional code.
28970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28971         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28972         code unconditional.
28973         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28974         conditional code.
28975         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28976         unconditional.
28977         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28978         conditional code.
28979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28980         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28981         unconditional.
28982         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28983         conditional code.
28984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28985         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28986         code unconditional.
28987         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28988         conditional code.
28989         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28990         unconditional.
28991         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28992         conditional code.
28993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28994         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28995         code unconditional.
28996         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28997         conditional code.
28998         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28999         unconditional.
29000         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29001         conditional code.
29002
29003 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29004
29005         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29006         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29007         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29008         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29009         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29010         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29011         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29012         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29013         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29014         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29015         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29016         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29017         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29018         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29019         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29020         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29021         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29022         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29023         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29025         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29026         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29027         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29028
29029 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29030
29031         * Versions.def: Add GLIBC_2.17.
29032         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29033         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29034         Introduce __libc_secure_getenv.
29035         * stdlib/Versions (2.17): Add secure_getenv
29036         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29037         * stdlib/secure-getenv.c: Rename __secure_getenv to
29038         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29039         symbol __secure_getenv for GLIBC_2.0.
29040         * stdlib/tst-secure-getenv.c: New.
29041         * stdlib/Makefile (tests): Add testcase.
29042         * manual/startup.texi (Environment Access): Document
29043         secure_getenv.
29044         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29045         __libc_secure_getenv.
29046         * inet/ruserpass.c (ruserpass): Likewise.
29047         * malloc/mtrace.c (mtrace): Likewise.
29048         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29049         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29050         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29051         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29052         HAVE_SECURE_GETENV.
29053         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29054         __secure_getenv to __libc_secure_getenv.
29055         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29057         Likewise.
29058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29059         Likewise.
29060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29062         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29067
29068 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29069
29070         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29071         (struct La_i86_retval): Likewise.
29072         (struct La_x86_64_regs): Likewise.
29073         (struct La_x86_64_retval): Likewise.
29074         (struct La_x32_regs): Likewise.
29075         (struct La_x32_retval): Likewise.
29076         (struct La_ppc32_regs): Likewise.
29077         (struct La_ppc32_retval): Likewise.
29078         (struct La_ppc64_regs): Likewise.
29079         (struct La_ppc64_retval): Likewise.
29080         (struct La_sh_regs): Likewise.
29081         (struct La_sh_retval): Likewise.
29082         (struct La_s390_32_regs): Likewise.
29083         (struct La_s390_32_retval): Likewise.
29084         (struct La_s390_64_regs): Likewise.
29085         (struct La_s390_64_retval): Likewise.
29086         (struct La_sparc32_regs): Likewise.
29087         (struct La_sparc32_retval): Likewise.
29088         (struct La_sparc64_regs): Likewise.
29089         (struct La_sparc64_retval): Likewise.
29090         (struct audit_ifaces): Remove architecture-specific pltenter and
29091         pltexit members.
29092         * sysdeps/i386/ldsodefs.h: New file.
29093         * sysdeps/powerpc/ldsodefs.h: Likewise.
29094         * sysdeps/s390/ldsodefs.h: Likewise.
29095         * sysdeps/sh/ldsodefs.h: Likewise.
29096         * sysdeps/sparc/ldsodefs.h: Likewise.
29097         * sysdeps/x86_64/ldsodefs.h: Likewise.
29098
29099 2012-07-25  Marek Polacek  <polacek@redhat.com>
29100
29101         [BZ #6808]
29102         * math/libm-test.inc (yn_test): Add another test.
29103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29104         to ERANGE when the result is +-Inf.
29105         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29106         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29107         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29108         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29109
29110 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29111
29112         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29113         equal to 0.
29114         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29115         clock_t.
29116         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29117
29118 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29119
29120         * configure.in <sysdeps resolving>: Correct printing
29121         Implies_before.
29122         * configure: Regenerate.
29123
29124 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29125
29126         * math/w_ilogb.c: Include <limits.h>.
29127         * math/w_ilogbl.c: Likewise.
29128
29129 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29130
29131         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29132         va_copy.  Document allowing for unavailable va_copy only as
29133         pre-C99 compatibility.
29134         * manual/string.texi (Copying and Concatenation): Use va_copy
29135         instead of __va_copy in concat example.
29136
29137 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29138
29139         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29140         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29141         it if not null.
29142
29143         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29144         with O_NOLINK passed to __file_name_lookup.
29145
29146         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29147         with O_NOLINK passed to __file_name_lookup.
29148
29149         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29150         negative N or less than NGIDS.
29151
29152         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29153         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29154         enough.  Use memcpy instead of strncpy.
29155
29156 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29157
29158         * elf/Makefile (check-data): Remove.
29159         (localplt.data): New vpath directive.
29160         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29161         instead of $(check-data).
29162         * scripts/data/localplt-generic.data: Move to ...
29163         * sysdeps/generic/localplt.data: ... here.
29164         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29165         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29166         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29168         ... here.
29169         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29171         ... here.
29172         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29174         ... here.
29175         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29177         ... here.
29178         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29180         ... here.
29181         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29183         ... here.
29184
29185 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29186
29187         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29188         PPC32 and PPC64 files.
29189         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29190         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29191
29192 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29193
29194         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29195         __makecontext_ret to ...
29196         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29197         ... here and call exit if uc_link is NULL.  New file.
29198         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29199         __makecontext_ret.S.
29200         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29201         __makecontext_ret to ...
29202         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29203         ... here and call exit if uc_link is NULL.  New file.
29204         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29205         __makecontext_ret.S.
29206
29207 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29208
29209         * elf/elf.h (R_390_IRELATIVE): New definition.
29210         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29211         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29212         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29213         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29214         (elf_machine_lazy_rel): Likewise.
29215         * sysdeps/s390/dl-irel.h: New file.
29216         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29217         * sysdeps/s390/s390-64/memset.S: New asm code.
29218         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29219         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29220         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29221         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29222         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29223         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29224         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29225         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29226         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29227         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29228         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29229         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29230         * sysdeps/s390/s390-32/memset.S: New asm code.
29231         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29232
29233 2012-07-17  Marek Polacek  <polacek@redhat.com>
29234
29235         [BZ #14349]
29236         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29237         * sysdeps/s390/s390-64/configure.in: Likewise.
29238         * sysdeps/sparc/configure.in: Likewise.
29239         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29240         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29241         * sysdeps/i386/configure.in: Likewise.
29242         * sysdeps/x86_64/configure.in: Likewise.
29243         * sysdeps/sh/configure.in: Likewise.
29244         * sysdeps/s390/s390-32/configure: Regenerated.
29245         * sysdeps/s390/s390-64/configure: Likewise.
29246         * sysdeps/x86_64/configure: Likewise.
29247         * sysdeps/sh/configure: Likewise.
29248         * sysdeps/powerpc/powerpc64/configure: Likewise.
29249         * sysdeps/powerpc/powerpc32/configure: Likewise.
29250         * sysdeps/sparc/configure: Likwise.
29251         * sysdeps/i386/configure: Likewise.
29252
29253         * elf/dl-open.c: Comment fixes.
29254
29255 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29256
29257         * Makefile [CXX] (check-data): Remove.
29258         [CXX] (c++-types.data): New vpath directive.
29259         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29260         vpath.  Do not allow for C++ type data being missing.
29261         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29262         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29263         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29264         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29265         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29266         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29267         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29269         ... here.
29270         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29272         ... here.
29273         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29275         ... here.
29276         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29278         ... here.
29279         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29281         ... here.
29282         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29284         ... here.
29285         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29287         ... here.
29288         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29290
29291         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29292         definitions to architecture-specific files.
29293         (TLS_IE): Likewise.
29294         (TLS_LD): Likewise.
29295         (TLS_GD): Likewise.
29296         * sysdeps/i386/tls-macros.h: New file.
29297         * sysdeps/powerpc/tls-macros.h: Likewise.
29298         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29299         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29300         * sysdeps/sh/tls-macros.h: Likewise.
29301         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29302         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29303         * sysdeps/x86_64/tls-macros.h: Likewise.
29304
29305 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29306
29307         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29308         zero value for regular exit case.
29309
29310         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29311         (__start_context): Preserve zero value for regular exit case.
29312
29313 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29314             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29315
29316         * manual/setjmp.texi (setcontext): Clarify normal process
29317         termination when uc_link is the null pointer.
29318         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29319         exit call.
29320
29321 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29322
29323         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29324         preprocessor.  Test for each exception mask separately.
29325
29326 2012-07-16  Andreas Jaeger  <aj@suse.de>
29327
29328         * po/ru.po: Update from translation team.
29329
29330 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29331
29332         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29333         equal to 0.
29334         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29335         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29336         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29337         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29338         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29339
29340 2012-07-13  Andreas Jaeger  <aj@suse.de>
29341
29342         * po/fr.po: Update from translation team.
29343
29344 2012-07-12  Marek Polacek  <polacek@redhat.com>
29345
29346         [BZ #14173]
29347         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29348         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29349         loop condition.
29350
29351 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29352
29353         [BZ #13717]
29354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29355         Change to 2.4.1 where previously 2.4.0.
29356         * sysdeps/unix/sysv/linux/configure: Regenerated.
29357         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29358         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29359         version.
29360         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29361         (__ASSUME_AT_CLKTCK): Remove.
29362         (__ASSUME_AT_PAGESIZE): Likewise.
29363         (__ASSUME_AT_XID): Likewise.
29364         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29365         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29366         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29367         unconditionally.
29368         (HAVE_AUX_PAGESIZE): Likewise.
29369         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29370         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29371         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29372
29373 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29374
29375         [BZ #14307]
29376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29377         the temporary buffer used to invoke __gethostbyname2_r,
29378         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29379         host_data / struct gaih_addrtuple.
29380         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29381         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29382         header file nss/nsswitch.h.
29383         * nss/nsswitch.h (global scope): Add definition of implementation
29384         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29385         resolv/nss_dns/dns-host.c).
29386
29387 2012-07-11  Andreas Jaeger  <aj@suse.de>
29388
29389         * po/fr.po: Update from translation team.
29390
29391         * po/sv.po: Update from translation team
29392         * po/fr.po: Another update from translation team.
29393
29394 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29395
29396         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29397         for subnormals or multiply small sinh result by itself.
29398         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29400
29401 2012-07-11  David S. Miller  <davem@davemloft.net>
29402
29403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29404
29405 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29406
29407         [BZ #14347]
29408         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29409         (INTERNAL_MARK): Shift it here.
29410
29411 2012-07-10  Marek Polacek  <polacek@redhat.com>
29412
29413         [BZ #14151]
29414         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29415         libc_cv_asm_global_directive with .globl.
29416         * configure: Regenerated.
29417         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29418         with .globl.
29419         * sysdeps/i386/configure: Regenerated.
29420         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29421         with .globl.
29422         * sysdeps/x86_64/configure: Regenerated.
29423         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29424         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29425         * elf/tst-unique2mod2.c: Likewise.
29426         * elf/tst-unique2mod1.c: Likewise.
29427         * elf/tst-unique1mod2.c: Likewise.
29428         * elf/tst-unique1mod1.c: Likewise.
29429         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29430         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29431         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29432         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29433         * sysdeps/mach/sysdep.h: Likewise.
29434         * sysdeps/i386/sysdep.h: Likewise.
29435         * sysdeps/i386/i386-mcount.S: Likewise.
29436         * sysdeps/x86_64/_mcount.S: Likewise.
29437         * sysdeps/x86_64/sysdep.h: Likewise.
29438         * sysdeps/sh/_mcount.S: Likewise.
29439         * sysdeps/sh/sysdep.h: Likewise.
29440         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29441         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29442         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29443         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29444         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29445         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29446         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29447         * locale/localeinfo.h: Likewise.
29448         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29449         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29450
29451 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29452
29453         [BZ #14336]
29454         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29455         system".
29456         * manual/message.texi (The Uniforum approach): Likewise.
29457         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29458         (glibc iconv Implementation): Likewise.
29459
29460 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29461
29462         [BZ #14337]
29463         * math/s_clog.c (__clog): Avoid scaling a value down where that
29464         could result in underflow.
29465         * math/s_clog10.c (__clog10): Likewise.
29466         * math/s_clog10f.c (__clog10f): Likewise.
29467         * math/s_clog10l.c (__clog10l): Likewise.
29468         * math/s_clogf.c (__clogf): Likewise.
29469         * math/s_clogl.c (__clogl): Likewise.
29470         * math/libm-test.inc (clog_test): Add more tests.
29471         (clog10_test): Likewise.
29472         * sysdeps/i386/fpu/libm-test-ulps: Update.
29473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29474
29475 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29476
29477         [BZ #14283]
29478         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29479         by 7 not 8 to examine high bit of fractional part.
29480
29481         [BZ #14042]
29482         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29483         for call to __mcount_internal.
29484         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29485         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29486         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29487
29488 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29489
29490         [BZ #14154]
29491         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29492         approximation for values within 0x1p-13f of an odd multiple of
29493         pi/4.
29494         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29495         exception.  Add more tests.
29496         * sysdeps/i386/fpu/libm-test-ulps: Update.
29497
29498         [BZ #6778]
29499         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29500         inputs and return -1 for them.  Do not check for +Inf in case not
29501         reachable for +Inf.
29502         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29503         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29504         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29505         and return -1 for them.  Do not check for +Inf in case not
29506         reachable for +Inf.
29507         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29508         define.
29509         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29510         and return -1 for them.  Do not check for +Inf in case not
29511         reachable for +Inf.
29512         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29513         spurious underflow.
29514         * sysdeps/i386/fpu/libm-test-ulps: Update.
29515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29516
29517 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29518
29519         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29520
29521 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29522
29523         [BZ #14157]
29524         [BZ #14331]
29525         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29526         could result in spurious underflow.  Scale down values above
29527         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29528         * math/s_csqrtf.c (__csqrtf): Likewise.
29529         * math/s_csqrtl.c (__csqrtl): Likewise.
29530         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29531         spurious underflow.
29532         * sysdeps/i386/fpu/libm-test-ulps: Update.
29533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29534
29535 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29536
29537         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29538         xopen-msg.sed.
29539         * catgets/xopen-msg.awk: New file.
29540         * catgets/xopen-msg.sed: Removed.
29541
29542         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29543         po2text.sed.
29544         * intl/po2test.awk: New file.
29545         * intl/po2test.sed: Removed.
29546
29547 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29548
29549         [BZ #14328]
29550         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29551         or multiply small sinh result by itself.
29552         * math/s_ctanf.c (__ctanf): Likewise.
29553         * math/s_ctanh.c (__ctanh): Likewise.
29554         * math/s_ctanhf.c (__ctanhf): Likewise.
29555         * math/s_ctanhl.c (__ctanhl): Likewise.
29556         * math/s_ctanl.c (__ctanl): Likewise.
29557         * math/libm-test.inc (ctan_test_tonearest): New function.
29558         (ctan_test_towardzero): Likewise.
29559         (ctan_test_downward): Likewise.
29560         (ctan_test_upward): Likewise.
29561         (ctanh_test_tonearest): Likewise.
29562         (ctanh_test_towardzero): Likewise.
29563         (ctanh_test_downward): Likewise.
29564         (ctanh_test_upward): Likewise.
29565         (main): Call these new functions.
29566         * sysdeps/i386/fpu/libm-test-ulps: Update.
29567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29568
29569 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29570
29571         * .gitignore: Delete /ports entry.
29572
29573 2012-07-03  Andreas Jaeger  <aj@suse.de>
29574
29575         * po/bg.po: Update from translation team.
29576         * po/cs.po: Likewise.
29577         * po/de.po: Likewise.
29578         * po/hr.po: Likewise.
29579         * po/nl.pl: Likewise.
29580         * po/pl.po: Likewise.
29581         * po/vi.po: Likewise.
29582
29583 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29584
29585         * Makeconfig [!+link] (+link-before-libc): New variable.
29586         [!+link] (+link-after-libc): Likewise.
29587         [!+link] (+link-tests): Likewise.
29588         [!+link] (+link): Define in terms of $(+link-before-libc) and
29589         $(+link-after-libc).
29590         [!+link-static] (+link-static-before-libc): New variable.
29591         [!+link-static] (+link-static-after-libc): Likewise.
29592         [!+link-static] (+link-static-tests): Likewise.
29593         [!+link-static] (+link-static): Define in terms of
29594         $(+link-static-before-libc) and $(+link-static-after-libc).
29595         [build-shared] (link-libc-before-gnulib): New variable.
29596         [build-shared] (link-libc-tests): Likewise.
29597         [build-shared] (link-libc): Define in terms of
29598         $(link-libc-before-gnulib).
29599         [!build-shared] (link-libc-tests): New variable.
29600         (link-libc-static-tests): New variable.
29601         [!gnulib] (gnulib-arch): New variable.
29602         [!gnulib] (gnulib-tests): Likewise.
29603         [!gnulib] (static-gnulib-arch): Likewise.
29604         [!gnulib] (static-gnulib-tests): Likewise.
29605         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29606         Define with "=" instead of ":=".
29607         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29608         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29609         * Rules (binaries-all-notests): New variable.
29610         (binaries-all-tests): Likewise.
29611         (binaries-static-notests): Likewise.
29612         (binaries-static-tests): Likewise.
29613         (binaries-all): Define using $(binaries-all-notests) and
29614         $(binaries-all-tests).
29615         (binaries-static): Define using $(binaries-static-notests) and
29616         $(binaries-static-tests).
29617         (binaries-shared-tests): New variable.
29618         (binaries-shared-notests): Likewise.
29619         (binaries-shared): Remove variable.
29620         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29621         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29622         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29623         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29624         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29625         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29626         * elf/Makefile (sln-modules): New variable.
29627         (extra-objs): Add $(sln-modules:=.o).
29628         (ldconfig-modules): Add static-stubs.
29629         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29630         * elf/static-stubs.c: New file.
29631
29632         [BZ #14283]
29633         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29634         by 7 not 8 to examine high bit of fractional part.  Use volatile
29635         variables when splitting into final array of floats if
29636         __FLT_EVAL_METHOD__ != 0.
29637         * math/libm-test.inc (cos_test): Add another test.
29638         (sin_test): Likewise.
29639         * sysdeps/i386/fpu/libm-test-ulps: Update.
29640
29641         [BZ #14273]
29642         * math/libm-test.inc (cosh_test): Add more tests.
29643
29644         * version.h (RELEASE): Set to "development".
29645         (VERSION): Set to "2.16.90".
29646
29647 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29648
29649         * NEWS: Update copyright. Remove last-updated date.
29650         Mention math library bug fixes and timezone data changes.
29651         * README: Mention GNU/Hurd, x32, and HPPA support status.
29652
29653 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29654
29655         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29656
29657 2012-06-27  Andreas Jaeger  <aj@suse.de>
29658
29659         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29660
29661 2012-06-25  Andreas Jaeger  <aj@suse.de>
29662
29663         * sysdeps/s390/fpu/libm-test-ulps: Update.
29664
29665 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29666             Thomas Schwinge  <thomas@codesourcery.com>
29667
29668         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29669         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29671         fanotify_mark.
29672
29673 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29674
29675         * sysdeps/mach/start.c: Remove file.
29676         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29677         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29678         * sysdeps/sh/init-first.c: Likewise.
29679
29680         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29681         registers for frame unwinding purposes, add CFI directives.
29682         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29683         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29684         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29685         Likewise.
29686
29687         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29688         __fortify_fail returning.
29689         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29690
29691         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29692         sysdeps/sh/____longjmp_chk.S.
29693         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29694         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29695         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29696         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29697
29698         * sysdeps/sh/abort-instr.h: New file.
29699         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29700         process in case exit returns.
29701
29702         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29703         initialize the GOT register before use.
29704
29705         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29706         calculation of ARGC > 4.
29707
29708         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29709         meaningful names to some local labels.
29710
29711 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29712             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29713
29714         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29715         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29716         (__arch_compare_and_exchange_val_16_acq): Likewise.
29717         (__arch_compare_and_exchange_val_32_acq): Likewise.
29718         (atomic_exchange_and_add): Fix gUSA sequence.
29719         (atomic_add): Likewise.
29720         (atomic_add_negative): Likewise.
29721         (atomic_add_zero): Likewise.
29722         (atomic_bit_test_set): Likewise.
29723
29724 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29725
29726         [BZ #13579]
29727         * include/link.h (struct link_map): Add l_free_initfini.
29728         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29729         l_initfini.
29730         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29731         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29732         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29733         set.
29734
29735 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29736
29737         * configure.in: Use AC_LANG_SOURCE.
29738         * configure: Regenerate.
29739
29740 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29741
29742         * configure.in (libc_cv_localstatedir): New substituted variable.
29743         * configure: Regenerated.
29744         * config.make.in (localstatedir): New variable, substituted from
29745         libc_cv_localstatedir.
29746         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29747         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29748         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29749         * sysdeps/gnu/configure: Regenerated.
29750
29751 2012-06-21  Jeff Law  <law@redhat.com>
29752
29753         [BZ #14277]
29754         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29755         free.  Simplify list management for _LIBC case.
29756
29757 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29758
29759         [BZ #14273]
29760         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29761         Clear sign bit of 64-bit integer value before comparing against
29762         overflow value.
29763
29764         * sysdeps/mach/configure: Regenerated.
29765
29766 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29767
29768         [BZ #14278]
29769         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29770
29771 2012-06-21  Jeff Law  <law@redhat.com>
29772
29773         [BZ #13882]
29774         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29775         uint16_t for elements in the "seen" array to avoid char overflows.
29776         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29777         * elf/dl-open.c (dl_open_worker): Likewise.
29778
29779 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29780
29781         * scripts/list-sources.sh: Scan PORTS for translations.
29782         * po/libc.pot: Regenerated.
29783
29784 2012-06-21  Andreas Jaeger  <aj@suse.de>
29785
29786         [BZ #12194]
29787         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29788         warning.
29789         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29790         * bits/byteswap-16.h (__bswap_16): Likewise.
29791         * bits/byteswap.h (__bswap_constant_16): Likewise.
29792
29793 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29794
29795         [BZ #14117]
29796         * sysdeps/i386/fpu_control.h: Removed.
29797         * sysdeps/x86_64/fpu_control.h: Moved to ...
29798         * sysdeps/x86/fpu_control.h: Here.
29799
29800         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29801         (_FPU_SETCW): Likewise.
29802
29803 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29804
29805         [BZ #14117]
29806         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29807         * sysdeps/x86/fpu/bits/mathinline.h: This.
29808         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29809
29810         [BZ #14050]
29811         [BZ #14117]
29812         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29813         functions if __x86_64__ is defined.
29814
29815 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29816
29817         * string/endian.h: Add !__ASSEMBLER__ condition for including
29818         conversion interfaces.
29819
29820 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29821
29822         [BZ #14241]
29823         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29824         of ABS(x) in calculating zero to negative powers other than odd
29825         integers.
29826         * math/libm-test.inc (pow_test): Add more tests.
29827
29828 2012-06-15  Andreas Jaeger  <aj@suse.de>
29829
29830         * manual/contrib.texi (Contributors): Update entry of Liubov
29831         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29832         Machado Filho.
29833
29834 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29835
29836         * string/string.h: Add __wur to GNU version of strerror_r.
29837
29838 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29839
29840         [BZ #14229]
29841         * string/Makefile (tests): Add tst-strtok_r.
29842         * string/tst-strtok_r.c: New file.
29843         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29844         RAX_LP/RDX_LP on SAVE_PTR.
29845
29846 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29847
29848         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29849
29850 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29851
29852         * libm_test.inc (csqrt_test): Allow more spurious underflow
29853         exceptions.
29854         (j0_test): Likewise.
29855         (j1_test): Likewise.
29856         (y0_test): Likewise.
29857         (y1_test): Likewise.
29858
29859 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29860
29861         * po/Makefile (libc.pot): Use UTF-8 charset.
29862
29863 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29864
29865         [BZ #14210]
29866         Suppress sign-conversion warning from FD_SET.
29867         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29868         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29869         not unsigned long int.
29870         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29871
29872 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29873
29874         [BZ #14050]
29875         [BZ #14117]
29876         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29877         __extern_always_inline instead of __extern_inline.
29878         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29879         (__signbit): Likewise.
29880         (__signbitl): Support C++ namespace.
29881         (lrintf): New inline function.
29882         (lrint): Likewise.
29883         (llrintf): Likewise.
29884         (llrint): Likewise.
29885         (fmaxf): Likewise.
29886         (fmax): Likewise.
29887         (fminf): Likewise.
29888         (fmin): Likewise.
29889         (rint): Likewise.
29890         (rintf): Likewise.
29891         (ceil): Likewise.
29892         (ceilf): Likewise.
29893         (floor): Likewise.
29894         (floorf): Likewise.
29895         (nearbyint): Likewise.
29896         (nearbyintf): Likewise.
29897
29898 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29899
29900         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29901         non-default versions.
29902
29903 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29904
29905         [BZ #14218]
29906         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29907
29908 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29909
29910         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29911         (FE_UPWARD, FE_DOWNWARD): Don't define.
29912         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29913         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29914
29915         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29916         reading it.
29917         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29918         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29919
29920 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29921
29922         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29923         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29924         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29925         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29926
29927 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29928
29929         [BZ #14117]
29930         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29931         * sysdeps/i386/fpu/Implies: New file.
29932         * sysdeps/x86_64/fpu/Implies: Likewise.
29933         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29934         * sysdeps/x86/fpu/bits/fenv.h: This.
29935
29936         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29937         __SSE_MATH__.
29938
29939 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29940
29941         [BZ #14134]
29942         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29943         character 0xffff that matches the last element of the
29944         conversion table.
29945
29946 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29947
29948         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29949         fmodl commit.
29950
29951 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29952
29953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29954         values higher than 25.6283.
29955
29956 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29957
29958         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29959         subnormal exponent extraction and add some __builtin_expect.
29960         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29961         Fix for subnormal mantissa calculation.
29962
29963 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29964
29965         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29966         cpu2 is -1 and errno is not ENOSYS.
29967
29968 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29969
29970         [BZ #14117]
29971         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29972         * sysdeps/x86/bits/string.h: This.
29973         * sysdeps/x86_64/bits/string.h: Removed.
29974
29975         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29976         if not compiling for x86-64, but compiling for >= i486.
29977
29978         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29979         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29980
29981         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29982         New macro from Linux kernel 3.4.0.
29983         (FP_XSTATE_MAGIC2): Likewise.
29984         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29985         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29986         (struct _fpx_sw_bytes): New struct.
29987         (struct _xsave_hdr): Likewise.
29988         (struct _ymmh_state): Likewise.
29989         (struct _xstate): Likewise.
29990
29991         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29992         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29993         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29994         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29995         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29996         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29997
29998         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29999         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30000         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30001         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30002         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30003         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30004
30005 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30006
30007         [BZ #13743]
30008         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30009         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30010         (sysdep_headers): Include sys/platform/ppc.h.
30011         * sysdeps/powerpc/test-gettimebase.c: Test for
30012         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30013         * manual/Makefile (appendices): Include platform.texi.
30014         * manual/contrib.texi (Contributors): Update @node pointers.
30015         * manual/maint.texi (Maintenance): Likewise.
30016         (Platform): New node.
30017         * manual/platform.texi: New file.  Document the new features.
30018
30019 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30020             Jakub Jelinek  <jakub@redhat.com>
30021
30022         [BZ #14188]
30023         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30024         where __builtin_expect is unavailable.
30025
30026 2012-06-03  David S. Miller  <davem@davemloft.net>
30027
30028         * stdlib/longlong.h: Updated from GCC.
30029
30030 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30031
30032         [BZ #14042]
30033         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30034         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30035         __mcount_internal.
30036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30037         (GLIBC_2.16): Likewise.
30038
30039 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30040
30041         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30042
30043 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30044
30045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30046         (default-abi): New variable.
30047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30048         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30049         variable.
30050         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30051         Likewise.
30052         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30053         Likewise.
30054         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30055         Likewise.
30056
30057         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30058         definition.  Document in comment.
30059
30060 2012-06-01  David S. Miller  <davem@davemloft.net>
30061
30062         * stdlib/longlong.h: Updated from GCC.
30063
30064 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30065
30066         [BZ #14117]
30067         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30068         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30069         sys/debugreg.h sys/io.h here.
30070         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30071         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30072         sys/io.h.
30073         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30074         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30075         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30076         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30077         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30078         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30079
30080         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30081         Define only if __x86_64__ is defined.
30082
30083 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30084
30085         [BZ #14048]
30086         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30087         Use int64_t for variable i.
30088         * math/libm-test.inc (fmod_test): Add more tests.
30089
30090         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30091         z computation is not scheduled after fetestexcept.
30092         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30093         Use math_force_eval instead of asm to ensure calculation scheduled
30094         before exception test.
30095         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30096         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30097
30098 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30099
30100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30101         computation is not scheduled after fetestexcept.
30102
30103 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30104
30105         [BZ #14117]
30106         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30107         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30108
30109 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30110
30111         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30112         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30113
30114 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30115
30116         [BZ #14117]
30117         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30118         <bits/wordsize.h>.
30119         (__WCHAR_MIN): Support __WORDSIZE == 64.
30120         (__WCHAR_MAX): Likewise.
30121
30122         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30123         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30124
30125         [BZ #14183]
30126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30127         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30128
30129         [BZ #14117]
30130         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30131         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30132
30133         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30134         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30135
30136         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30137         Defined to 1 if __x86_64__ isn't defined.
30138         (_STAT_VER_LINUX_OLD): New.
30139         (st_atime): Remove duplicate.
30140         (st_mtime): Likewise.
30141         (st_ctime): Likewise.
30142
30143 2012-05-31  David S. Miller  <davem@davemloft.net>
30144
30145         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30146         entries.
30147
30148 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30149
30150         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30151         gen-libm-test.pl.
30152
30153         [BZ #14132]
30154         * elf/dl-reloc.c: Include <_itoa.h>.
30155         (_dl_reloc_bad_type): Remove use of INTUSE.
30156         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30157         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30158         * stdio-common/psiginfo.c (psiginfo): Likewise.
30159         * stdio-common/psignal.c (psignal): Likewise.
30160         * string/strsignal.c (strsignal): Likewise.
30161         * include/signal.h (_sys_siglist): Declare hidden proto.
30162         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30163         INTVARDEF with libc_hidden_data_def.
30164         * stdio-common/itoa-udigits.c: Likewise.
30165         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30166         (_itoa_lower_digits_internal): Remove declaration.
30167         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30168         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30169         (_sys_sigabbrev_internal): Remove aliases.
30170         (_sys_siglist): Define hidden alias.
30171
30172 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30173
30174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30175         bits/sysctl.h.
30176
30177 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30178
30179         [BZ #14117]
30180         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30181         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30182
30183         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30184         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30185         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30186         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30187         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30188         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30189
30190         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30191         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30192         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30193
30194         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30195         with __addr.
30196         (insw): Likewise.
30197         (insl): Likewise.
30198         (outsb): Likewise.
30199         (outsw): Likewise.
30200         (outsl): Likewise.
30201
30202         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30203         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30204         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30205
30206         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30207         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30208         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30209         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30210         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30211         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30212
30213         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30214         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30215
30216         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30217         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30218
30219         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30220         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30221         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30222
30223         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30224         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30225         to ...
30226         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30227
30228         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30229         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30230         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30231
30232         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30233         for x86-64.
30234         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30235
30236 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30237
30238         * math/math.h (M_El): Use two more decimal places.
30239         (M_LOG2El): Likewise.
30240         (M_LOG10El): Likewise.
30241         (M_LN2l): Likewise.
30242         (M_LN10l): Likewise.
30243         (M_PIl): Likewise.
30244         (M_PI_2l): Likewise.
30245         (M_PI_4l): Likewise.
30246         (M_1_PIl): Likewise.
30247         (M_2_PIl): Likewise.
30248         (M_2_SQRTPIl): Likewise.
30249         (M_SQRT2l): Likewise.
30250         (M_SQRT1_2l): Likewise.
30251
30252 2012-05-31  David S. Miller  <davem@davemloft.net>
30253
30254         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30255         values between float registers.
30256         * sysdeps/sparc/sparc64/memset.S: Likewise.
30257         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30258
30259 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30260
30261         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30262         -D_FORTIFY_SOURCE=1.
30263         (CPPFLAGS-tst-longjmp_chk.c): Define.
30264         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30265         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30266         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30267         CFLAGS-tst-wchar-h.c.
30268
30269 2012-05-31  Marek Polacek  <polacek@redhat.com>
30270
30271         [BZ #14132]
30272         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30273         __endmntent_internal): Remove declaration.
30274         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30275         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30276         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30277
30278 2012-05-30  David S. Miller  <davem@davemloft.net>
30279
30280         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30281         (___Q_simulate_exceptions): Use real FP ops rather than writing
30282         into the %fsr.
30283         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30284         Likewise.
30285
30286 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30287
30288         [BZ #14117]
30289         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30290         * sysdeps/x86/bits/xtitypes.h: This.
30291
30292         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30293         * sysdeps/x86/bits/wordsize.h: This.
30294
30295         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30296         * sysdeps/x86/bits/huge_vall.h: This.
30297
30298         * sysdeps/i386/bits/select.h: Removed.
30299         * sysdeps/x86_64/bits/select.h: Renamed to ...
30300         * sysdeps/x86/bits/select.h: This.
30301
30302         * sysdeps/i386/bits/setjmp.h: Removed.
30303         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30304         * sysdeps/x86/bits/setjmp.h: This.
30305
30306         * sysdeps/i386/bits/mathdef.h: Removed.
30307         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30308         * sysdeps/x86/bits/mathdef.h: This.
30309
30310 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30311
30312         [BZ #14132]
30313         * include/sys/socket.h (__connect_internal)
30314         (__libc_sa_len_internal): Remove declaration.
30315         (__connect, __libc_sa_len): Declare hidden_proto.
30316         (SA_LEN): Remove use of INTUSE.
30317         * socket/connect.c: Add libc_hidden_def.
30318         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30319         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30320         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30321         alias.
30322         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30323         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30324         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30325         of adding _internal alias.
30326
30327 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30328
30329         [BZ #14117]
30330         * sysdeps/i386/bits/link.h: Removed.
30331         * sysdeps/i386/bits/linkmap.h: Likewise.
30332         * sysdeps/x86_64/bits/link.h: Renamed to ...
30333         * sysdeps/x86/bits/link.h: This.
30334         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30335         * sysdeps/x86/bits/linkmap.h: This.
30336
30337         * sysdeps/i386/bits/endian.h: Removed.
30338         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30339         * sysdeps/x86/bits/endian.h: This.
30340
30341         * sysdeps/i386/bits/byteswap.h: Removed.
30342         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30343         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30344         * sysdeps/x86/bits/byteswap.h: This.
30345         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30346         * sysdeps/x86/bits/byteswap-16.h: This.
30347         * sysdeps/i386/Implies: Add x86.
30348         * sysdeps/x86_64/Implies: Likewise.
30349
30350 2012-05-30  David S. Miller  <davem@davemloft.net>
30351
30352         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30353         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30354         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30355         (FP_TRAPPING_EXCEPTIONS): Define.
30356         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30357         (FP_TRAPPING_EXCEPTIONS): Define.
30358         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30359         subnormals only when inexact has been signalled or underflow
30360         exceptions are enabled.
30361         (_FP_PACK_CANONICAL): Likewise.
30362
30363 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30364
30365         [BZ #14183]
30366         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30367         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30368
30369 2012-05-30  Richard Henderson  <rth@twiddle.net>
30370
30371         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30372         with #ifndef NOT_IN_libc.
30373
30374         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30375         marked to avoid plt entry.
30376
30377 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30378
30379         [BZ #14112]
30380         * Makeconfig (default-abi): New macro.
30381         (abi-includes): Likewise.
30382         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30383         $(abi-$(default-abi)-lib-soname) for soname if defined.
30384         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30385         abi-variants.
30386         * Makefile (installed-stubs): Likewise.
30387         * include/stubs-biarch.h: Removed.
30388         * scripts/lib-names.awk: Only handle one library at a time.
30389         * scripts/soversions.awk: Remove WORDSIZE support.
30390         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30391         entries.
30392         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30393         Removed.
30394         (syscall-list-default-condition): Likewise.
30395         (syscall-list-default-condition): Likewise.
30396         (syscall-list-includes): Likewise.
30397         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30398         syscall-list-* with abi-*.  Handle undefined abi-variants.
30399         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30400         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30401         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30402         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30403         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30404         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30405         Removed.
30406         (syscall-list-32-options): Likewise.
30407         (syscall-list-32-condition): Likewise.
30408         (syscall-list-64-options): Likewise.
30409         (syscall-list-64-condition): Likewise.
30410         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30411         macro.
30412         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30413         Renamed to ...
30414         (abi-*): This.
30415         (abi-64-ld-soname): New macro.
30416         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30417         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30418         Renamed to ...
30419         (abi-*): This.
30420         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30421         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30422
30423 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30424
30425         * sysdeps/unix/sysv/linux/kernel-features.h
30426         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30427         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30428         include <kernel-features.h>.
30429         [!__NR_ftruncate64]: Remove conditional code.
30430         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30431         [__NR_ftruncate64]: Make code unconditional.
30432         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30433         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30434         include <kernel-features.h>.
30435         [!__NR_ftruncate64]: Remove conditional code.
30436         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30437         [__NR_ftruncate64]: Make code unconditional.
30438         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30440         include <kernel-features.h>.
30441         [!__NR_ftruncate64]: Remove conditional code.
30442         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30443         [__NR_ftruncate64]: Make code unconditional.
30444         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30446         include <kernel-features.h>.
30447         [!__NR_ftruncate64]: Remove conditional code.
30448         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30449         [__NR_ftruncate64]: Make code unconditional.
30450         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30451
30452         * configure.in (libc_cv_fpie): Weaken to a compile test using
30453         LIBC_TRY_CC_OPTION.
30454         * configure: Regenerated.
30455
30456 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30457
30458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30462         Refreshed.
30463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30469         Refreshed.
30470
30471 2012-05-27  David S. Miller  <davem@davemloft.net>
30472
30473         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30474         (___Q_zero): New.
30475         (__Q_simulate_exceptions): Return void.  Change to simulate
30476         exceptions by writing into the %fsr.
30477         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30478         (__Qp_handle_exceptions): Likewise.
30479         (numbers): Delete.
30480         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30481         __Qp_handle_exceptions.
30482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30483         __Qp_handle_exceptions.
30484         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30485         as unused and give dummy FP_RND_NEAREST initializer.
30486         (FP_INHIBIT_RESULTS): Define.
30487         (___Q_simulate_exceptions): Update declaration.
30488         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30489         formatting.
30490         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30491         as unused and give dummy FP_RND_NEAREST initializer.
30492         (__Qp_handle_exceptions): Update declaration.
30493         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30494         formatting.
30495
30496 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30497
30498         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30499         the temporary FPU control word.
30500         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30501         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30502         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30503         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30504         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30505         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30506         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30507         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30508         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30509         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30510         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30511
30512 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30513
30514         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30515         fields.
30516
30517 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30518
30519         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30520         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30521         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30522         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30523         Likewise.
30524         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30525         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30526         Likewise.
30527
30528 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30529
30530         * po/h.po: Update from translation team.
30531
30532 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30533
30534         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30535
30536         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30537         handling of denormals.
30538         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30539         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30540         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30541         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30542         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30543         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30544         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30545         Likewise.
30546
30547 2012-05-26  Marek Polacek  <polacek@redhat.com>
30548
30549         [BZ #14152]
30550         * math/libm-test.inc (fma_test): Don't always expect underflow
30551         exception.
30552
30553 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30554
30555         [BZ #12416]
30556         * elf/tst-execstack.c: Include stackinfo.h.
30557         (do_test): Adjust test case to ensure that pthread_getattr_np
30558         behaviour remains the same after marking stack executable.
30559
30560 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30561
30562         * sysdeps/unix/sysv/linux/kernel-features.h
30563         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30564         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30565         kernel-features.h.
30566         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30567         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30568         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30569         kernel-features.h.
30570         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30571         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30572
30573 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30574
30575         * configure.in: Define the default includes to being none.
30576         * configure: Regenerated.
30577
30578 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30579
30580         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30581         * sysdeps/x86_64/setjmp.S: Likewise.
30582         * sysdeps/i386/bsd-setjmp.S: Likewise.
30583         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30584         * sysdeps/i386/setjmp.S: Likewise.
30585         * sysdeps/i386/__longjmp.S: Likewise.
30586         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30587         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30588
30589         * include/stap-probe.h: New file.
30590         * configure.in: Handle --enable-systemtap.
30591         * configure: Regenerated.
30592         * config.h.in (USE_STAP_PROBE): New #undef.
30593         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30594         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30595         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30596
30597 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30598
30599         [BZ #13717]
30600         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30601         to 2.4.0 where earlier.
30602         * sysdeps/unix/sysv/linux/configure: Regenerated.
30603         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30604         <kernel-features.h>.
30605         [__ASSUME_32BITUIDS]: Make code unconditional.
30606         [!__ASSUME_32BITUIDS]: Remove conditional code.
30607         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30608         <kernel-features.h>.
30609         [__ASSUME_32BITUIDS]: Make code unconditional.
30610         [!__ASSUME_32BITUIDS]: Remove conditional code.
30611         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30612         [__ASSUME_32BITUIDS]: Make code unconditional.
30613         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30614         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
30647         <kernel-features.h>.
30648         [__ASSUME_32BITUIDS]: Make code unconditional.
30649         [!__ASSUME_32BITUIDS]: Remove conditional code.
30650         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30651         <kernel-features.h>.
30652         [__ASSUME_32BITUIDS]: Make code unconditional.
30653         [!__ASSUME_32BITUIDS]: Remove conditional code.
30654         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30655         <kernel-features.h>.
30656         [__NR_setresgid] (__setresgid): Do not declare.
30657         [__ASSUME_32BITUIDS]: Make code unconditional.
30658         [!__ASSUME_32BITUIDS]: Remove conditional code.
30659         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30660         <kernel-features.h>.
30661         [__NR_setresuid] (__setresuid): Do not declare.
30662         [__ASSUME_32BITUIDS]: Make code unconditional.
30663         [!__ASSUME_32BITUIDS]: Remove conditional code.
30664         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
30697         <kernel-features.h>.
30698         [__ASSUME_32BITUIDS]: Make code unconditional.
30699         [!__ASSUME_32BITUIDS]: Remove conditional code.
30700         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30701         <kernel-features.h>.
30702         [__ASSUME_32BITUIDS]: Make code unconditional.
30703         [!__ASSUME_32BITUIDS]: Remove conditional code.
30704         * sysdeps/unix/sysv/linux/kernel-features.h
30705         (__ASSUME_SETRESUID_SYSCALL): Remove.
30706         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30707         (__ASSUME_32BITUIDS): Likewise.
30708         (__ASSUME_LDT_WORKS): Likewise.
30709         (__ASSUME_O_DIRECTORY): Likewise.
30710         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30711         architecture but not kernel version.
30712         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30713         (__ASSUME_MMAP2_SYSCALL): Likewise.
30714         (__ASSUME_STAT64_SYSCALL): Likewise.
30715         (__ASSUME_IPC64): Likewise.
30716         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30717         <kernel-features.h>.
30718         [__ASSUME_32BITUIDS]: Make code unconditional.
30719         [!__ASSUME_32BITUIDS]: Remove conditional code.
30720         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30721         <kernel-features.h>.
30722         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30723         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30724         132096]: Remove conditional code.
30725         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30726         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30727         <kernel-features.h>.
30728         [__ASSUME_32BITUIDS]: Make code unconditional.
30729         [!__ASSUME_32BITUIDS]: Remove conditional code.
30730         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30731         <kernel-features.h>.
30732         [__ASSUME_32BITUIDS]: Make code unconditional.
30733         [!__ASSUME_32BITUIDS]: Remove conditional code.
30734         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30735         <kernel-features.h>.
30736         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30737         unconditional.
30738         (__setresgid): Do not declare.
30739         [__ASSUME_32BITUIDS]: Make code unconditional.
30740         [!__ASSUME_32BITUIDS]: Remove conditional code.
30741         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30742         <kernel-features.h>.
30743         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30744         unconditional.
30745         (__setresuid): Do not declare.
30746         [__ASSUME_32BITUIDS]: Make code unconditional.
30747         [!__ASSUME_32BITUIDS]: Remove conditional code.
30748         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30749         <kernel-features.h>.
30750         [__ASSUME_32BITUIDS]: Make code unconditional.
30751         [!__ASSUME_32BITUIDS]: Remove conditional code.
30752         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30753         <kernel-features.h>.
30754         [__ASSUME_32BITUIDS]: Make code unconditional.
30755         [!__ASSUME_32BITUIDS]: Remove conditional code.
30756
30757 2012-05-25  Richard Henderson  <rth@twiddle.net>
30758
30759         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30760         dl_hwcap to ifunc resolver.
30761         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30762         elf_ifunc_invoke.
30763         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30764         dl_hwcap to ifunc resolver.
30765         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30766
30767 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30768
30769         [BZ #14153]
30770         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30771         for |x| <= 2**-26, not 2**-57.
30772         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30773         exception.
30774
30775 2012-05-24  Jeff Law  <law@redhat.com>
30776
30777         * stdio-common/Makefile (tests): Add bug25.
30778         * stdio-common/bug25.c: New test.
30779
30780 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30781
30782         [BZ #13576]
30783         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30784         multiple of MALLOC_ALIGNMENT in size.
30785         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30786
30787 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30788
30789         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30790         Require >= 256.
30791         (FILENAME_MAX): Use macro-int-constant.
30792         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30793         (_IOFBF): Use macro-int-constant.
30794         (_IOLBF): Likewise.
30795         (_IONBF): Likewise.
30796         (SEEK_CUR): Likewise.
30797         (SEEK_END): Likewise.
30798         (SEEK_SET): Likewise.
30799         (TMP_MAX): Likewise.
30800         (EOF): Use macro-int-constant.  Require < 0.
30801         (NULL): Use macro-constant.  Require == 0.
30802         (stdin): Require type to be FILE *.
30803         (stdout): Likewise.
30804         (stderr): Likewise.
30805         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30806         macro-int-constant.
30807         (EXIT_SUCCESS): Likewise.
30808         (NULL): Use macro-constant.  Require == 0.
30809         (RAND_MAX): Use macro-int-constant.
30810         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30811         [C99-based standards] (strtof): Require function.
30812         [C99-based standards] (strtold): Likewise.
30813         [C99-based standards] (strtoll): Likewise.
30814         [C99-based standards] (strtoull): Likewise.
30815         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30816         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30817         [ISO || ISO99 || ISO11] (math.h): Likewise.
30818         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30819         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30820         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30821
30822 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30823
30824         [BZ #14132]
30825         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30826         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30827         * intl/dgettext.c (DCGETTEXT): Likewise.
30828         * intl/gettext.c (DCGETTEXT): Likewise.
30829         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30830         * posix/regex_internal.h (gettext): Likewise.
30831         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30832         Remove declaration.
30833         * include/argz.h (__argz_count_internal)
30834         (__argz_stringify_internal): Remove declaration.
30835         (__argz_count, __argz_stringify): Declare hidden proto.
30836         * intl/dcgettext.c: Remove use of INTDEF.
30837         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30838         * string/argz-stringify.c: Likewise.
30839         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30840         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30841         Declare hidden proto.
30842         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30843         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30844         Declare hidden proto.
30845         * include/stdio.h (__asprintf_internal): Don't declare.
30846         (__asprintf): Don't define as macro.  Declare hidden proto.
30847         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30848         (__fsetlocking): Declare hidden proto.
30849         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30850         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30851         hidden proto.
30852         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30853         (_IO_setlinebuf): Remove use of INTUSE.
30854         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30855         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30856         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30857         Remove declaration.
30858         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30859         (_IO_do_flush): Remove use of INTUSE.
30860         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30861         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30862         (_IO_adjust_column, _IO_least_wmarker)
30863         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30864         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30865         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30866         (_IO_default_doallocate, _IO_wdefault_doallocate)
30867         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30868         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30869         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30870         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30871         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30872         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30873         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30874         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30875         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30876         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30877         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30878         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30879         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30880         proto.
30881         (_IO_flush_all_internal, _IO_adjust_column_internal)
30882         (_IO_default_uflow_internal, _IO_default_finish_internal)
30883         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30884         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30885         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30886         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30887         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30888         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30889         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30890         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30891         (_IO_file_close_internal, _IO_file_close_it_internal)
30892         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30893         (_IO_file_init_internal, _IO_file_attach_internal)
30894         (_IO_file_fopen_internal, _IO_file_read_internal)
30895         (_IO_file_sync_internal, _IO_file_seek_internal)
30896         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30897         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30898         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30899         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30900         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30901         (_IO_list_all_internal, _IO_link_in_internal)
30902         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30903         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30904         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30905         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30906         (_IO_do_write_internal, _IO_padn_internal)
30907         (_IO_getline_info_internal, _IO_getline_internal)
30908         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30909         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30910         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30911         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30912         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30913         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30914         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30915         with libc_hidden_ver, remove use of INTUSE.
30916         * libio/genops.c: Likewise.
30917         * libio/freopen.c: Likewise.
30918         * libio/freopen64.c: Likewise.
30919         * libio/iofclose.c: Likewise.
30920         * libio/iofdopen.c: Likewise.
30921         * libio/iofflush.c: Likewise.
30922         * libio/iofflush_u.c: Likewise.
30923         * libio/iofgets.c: Likewise.
30924         * libio/iofgets_u.c: Likewise.
30925         * libio/iofopen.c: Likewise.
30926         * libio/iofopncook.c: Likewise.
30927         * libio/iofread.c: Likewise.
30928         * libio/iofread_u.c: Likewise.
30929         * libio/ioftell.c: Likewise.
30930         * libio/iofwrite.c: Likewise.
30931         * libio/iogetline.c: Likewise.
30932         * libio/iogets.c: Likewise.
30933         * libio/iogetwline.c: Likewise.
30934         * libio/iopadn.c: Likewise.
30935         * libio/iopopen.c: Likewise.
30936         * libio/ioseekoff.c: Likewise.
30937         * libio/ioseekpos.c: Likewise.
30938         * libio/iosetbuffer.c: Likewise.
30939         * libio/iosetvbuf.c: Likewise.
30940         * libio/ioungetc.c: Likewise.
30941         * libio/ioungetwc.c: Likewise.
30942         * libio/iovdprintf.c: Likewise.
30943         * libio/iovsprintf.c: Likewise.
30944         * libio/iovsscanf.c: Likewise.
30945         * libio/memstream.c: Likewise.
30946         * libio/obprintf.c: Likewise.
30947         * libio/oldfileops.c: Likewise.
30948         * libio/oldiofclose.c: Likewise.
30949         * libio/oldiofdopen.c: Likewise.
30950         * libio/oldiofopen.c: Likewise.
30951         * libio/oldiopopen.c: Likewise.
30952         * libio/oldstdfiles.c: Likewise.
30953         * libio/putc.c: Likewise.
30954         * libio/setbuf.c: Likewise.
30955         * libio/setlinebuf.c: Likewise.
30956         * libio/stdfiles.c: Likewise.
30957         * libio/strops.c: Likewise.
30958         * libio/vasprintf.c: Likewise.
30959         * libio/vscanf.c: Likewise.
30960         * libio/vsnprintf.c: Likewise.
30961         * libio/vswprintf.c: Likewise.
30962         * libio/wfiledoalloc.c: Likewise.
30963         * libio/wfileops.c: Likewise.
30964         * libio/wgenops.c: Likewise.
30965         * libio/wmemstream.c: Likewise.
30966         * libio/wstrops.c: Likewise.
30967         * libio/__fpurge.c: Likewise.
30968         * libio/__fsetlocking.c: Likewise.
30969         * assert/assert.c: Likewise.
30970         * debug/fgets_chk.c: Likewise.
30971         * debug/fgets_u_chk.c: Likewise.
30972         * debug/fread_chk.c: Likewise.
30973         * debug/fread_u_chk.c: Likewise.
30974         * debug/gets_chk.c: Likewise.
30975         * debug/obprintf_chk.c: Likewise.
30976         * debug/vasprintf_chk.c: Likewise.
30977         * debug/vdprintf_chk.c: Likewise.
30978         * debug/vsnprintf_chk.c: Likewise.
30979         * debug/vsprintf_chk.c: Likewise.
30980         * malloc/mtrace.c: Likewise.
30981         * misc/error.c: Likewise.
30982         * misc/syslog.c: Likewise.
30983         * stdio-common/asprintf.c: Likewise.
30984         * stdio-common/fxprintf.c: Likewise.
30985         * stdio-common/getw.c: Likewise.
30986         * stdio-common/isoc99_fscanf.c: Likewise.
30987         * stdio-common/isoc99_scanf.c: Likewise.
30988         * stdio-common/isoc99_vfscanf.c: Likewise.
30989         * stdio-common/isoc99_vscanf.c: Likewise.
30990         * stdio-common/isoc99_vsscanf.c: Likewise.
30991         * stdio-common/printf-prs.c: Likewise.
30992         * stdio-common/printf_fp.c: Likewise.
30993         * stdio-common/printf_fphex.c: Likewise.
30994         * stdio-common/printf_size.c: Likewise.
30995         * stdio-common/putw.c: Likewise.
30996         * stdio-common/scanf.c: Likewise.
30997         * stdio-common/sprintf.c: Likewise.
30998         * stdio-common/tmpfile.c: Likewise.
30999         * stdio-common/vfprintf.c: Likewise.
31000         * stdio-common/vfscanf.c: Likewise.
31001         * stdlib/strfmon_l.c: Likewise.
31002         * sunrpc/openchild.c: Likewise.
31003         * sunrpc/xdr_stdio.c: Likewise.
31004         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31005         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31006
31007 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31008
31009         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31010
31011         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31012         in the third column, to generate for the shared library an IFUNC
31013         that uses _dl_vdso_vsym.
31014         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31015         * Makeconfig (object-suffixes-noshared): New variable.
31016
31017         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31018         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31019         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31020         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31021
31022         [BZ #14132]
31023         * include/sys/time.h (__gettimeofday): Remove macro.
31024         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31025         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31026         Remove INTDEF.
31027         (__gettimeofday): Add libc_hidden_def.
31028         (gettimeofday): Add libc_hidden_weak.
31029         * sysdeps/mach/gettimeofday.c: Likewise.
31030         * sysdeps/posix/gettimeofday.c: Likewise.
31031         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31032         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31033         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31034         (__gettimeofday_internal): Remove strong_alias.
31035         (__gettimeofday): Add libc_hidden_def.
31036         (gettimeofday): Add libc_hidden_weak.
31037         * sysdeps/unix/syscalls.list (gettimeofday):
31038         Remove __gettimeofday_internal alias.
31039
31040 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31041             H.J. Lu  <hongjiu.lu@intel.com>
31042
31043         [BZ #12495]
31044         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31045         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31046         (largebin_index_32_big): New.
31047         (largebin_index): Use it for 16-byte alignment.
31048         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31049         correction with front_misalign.
31050
31051 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31052
31053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31055         Likewise.
31056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31057         Likewise.
31058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31059         Likewise.
31060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31061         Likewise.
31062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31063         Likewise.
31064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31065         Likewise.
31066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31067         Likewise.
31068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31069         Likewise.
31070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31071         Likewise.
31072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31073         Likewise.
31074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31075         Likewise.
31076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31077         Likewise.
31078
31079         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31080         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31081
31082 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31083
31084         [BZ #10846]
31085         [BZ #14036]
31086         * math/libm-test.inc (exp_test): Add test from bug 14036.
31087         (pow_test): Add test from bug 10846.
31088
31089         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31090         and other flags.
31091         (special_function): Do not include flags in test name.
31092         (parse_args): Likewise.
31093         * sysdeps/i386/fpu/libm-test-ulps: Update.
31094         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31095         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31096         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31098
31099         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31100         exceptions.
31101         * math/libm-test.inc ("Philosophy"): Update comment about
31102         exception testing.
31103         (UNDERFLOW_EXCEPTION): New macro.
31104         (UNDERFLOW_EXCEPTION_OK): Likewise.
31105         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31106         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31107         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31108         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31109         (INVALID_EXCEPTION_OK): Update value.
31110         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31111         (OVERFLOW_EXCEPTION_OK): Likewise.
31112         (IGNORE_ZERO_INF_SIGN): Likewise.
31113         (test_exceptions): Handle underflow exceptions.
31114         (acos_test): Update for underflow exception expectations.
31115         (cexp_test): Likewise.
31116         (clog_test): Likewise.
31117         (clog10_test): Likewise.
31118         (csqrt_test): Likewise.
31119         (ctan_test): Likewise.
31120         (ctanh_test): Likewise.
31121         (exp_test): Likewise.
31122         (exp10_test): Likewise.
31123         (exp2_test): Likewise.
31124         (expm1_test): Likewise.
31125         (fma_test): Likewise.
31126         (j0_test): Likewise.
31127         (jn_test): Likewise.
31128         (nexttoward_test): Likewise.
31129         (pow_test): Likewise.
31130         (scalbn_test): Likewise.
31131         (scalbln_test): Likewise.
31132         (tan_test): Likewise.
31133         (y1_test): Likewise.
31134         * sysdeps/i386/fpu/libm-test-ulps: Update.
31135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31136
31137 2012-05-23  David S. Miller  <davem@davemloft.net>
31138
31139         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31140         (__libc_sigaction): Remove unused local variables.
31141
31142 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31143
31144         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31145
31146 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31147
31148         mktime: avoid signed integer overflow
31149         * time/mktime.c (__mktime_internal): Do not mishandle the case
31150         where diff == INT_MIN.
31151
31152         mktime: simplify computation of average
31153         * time/mktime.c (ranged_convert): Use new time_t_avg function
31154         instead of rolling our own (probably-slower) code.
31155
31156         mktime: do not assume signed right shift propagates sign bit
31157         * time/mktime.c (isdst_differ): New static function.
31158         (__mktime_internal): No need to normalize tm_isdst now.
31159         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31160         tm_isdst values.
31161
31162         mktime: merge another wrapv change from gnulib
31163         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31164         from some compilers.
31165
31166         mktime: remove incorrect attempt at unusual arithmetics
31167         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31168         The code didn't really work on such machines anyway.
31169         (TYPE_MINIMUM): Assume two's complement.
31170         (twos_complement_arithmetic): Verify that long_int and time_t
31171         are two's complement (or unsigned, in the latter case).
31172
31173         mktime: check signed shifts on long_int and time_t, too
31174         * time/mktime.c (SHR): Check that shifts work as desired
31175         on the types long_int and time_t too, as SHR is used on
31176         such types.
31177
31178         mktime: do not assume 'long' is wide enough
31179         * time/mktime.c (verify): Move decl up.
31180         (long_int): New type.
31181         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31182         to remove assumption in the code that 'long' is wide enough to
31183         store year values.  This assumption is not true on x32 and on
31184         some non-glibc platforms.
31185
31186         mktime: merge wrapv change from gnulib
31187         * time/mktime.c (WRAPV): New macro.
31188         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31189         (guess_time_tm, __mktime_internal): Do not assume that signed
31190         integer overflow wraps around; modern compilers generate code
31191         where this assumption is no longer valid.
31192
31193 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31194
31195         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31196         Replace "jmp L(pseudo_end)" with "ret".
31197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31198         Likewise.
31199
31200 2012-05-23  Andreas Jaeger  <aj@suse.de>
31201
31202         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31203         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31204
31205 2012-05-23  Andreas Jaeger  <aj@suse.de>
31206             Maximilian Attems  <max@stro.at>
31207
31208         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31209         New macros.
31210
31211 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31212
31213         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31214         code so that pseudo_end is just ret and the stack pointer is
31215         correct also for static library in error case.
31216
31217 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31218
31219         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31220         move to syscalls.list.
31221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31225
31226         * manual/install.texi (Running make install): Do not mention Linux
31227         kernel version for which pt_chown is not needed.
31228         (Linux): Do not mention problems with nscd with 2.0 kernels.
31229         * INSTALL: Regenerated.
31230
31231 2012-05-23  Andreas Jaeger  <aj@suse.de>
31232
31233         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31234         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31235         macro.
31236         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31237         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31238         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31239         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31240         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31241         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31242         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31243         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31244         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31245         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31246         * sysdeps/unix/sysv/linux/bits/in.h
31247         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31248
31249 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31250
31251         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31252         (PREPARE_VERSION): Just use assert instead, it will be elided
31253         under [NDEBUG] anyway.
31254
31255 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31256
31257         * sysdeps/unix/sysv/linux/Makefile: Include
31258         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31259         (sysdep_routines): Remove sysctl.
31260         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31261         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31262         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31263         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31264         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31265
31266 2012-05-22  Andreas Jaeger  <aj@suse.de>
31267
31268         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31269         that pseudo_end is just ret and the stack pointer is correct also
31270         for static library in error case.
31271
31272 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31273
31274         [BZ #14122]
31275         * nss/nsswitch.c (defconfig_entries): New variable.
31276         (__nss_database_lookup): Don't leak defconfig entries.
31277         (nss_parse_service_list): Don't leak on error paths.
31278         (free_database_entries): New function.
31279         (free_defconfig): New function.
31280         (free_mem): Move common code to free_database_entries.
31281
31282 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31283
31284         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31285         Add arch_prctl.
31286         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31287
31288         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31289         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31290         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31291         New macro.
31292         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31293         (INTERNAL_SYSCALL_TYPES): Likewise.
31294         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31295         (LOAD_REGS_TYPES_[1-6]): Likewise.
31296         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31297         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31298
31299 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31300
31301         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31302         copysignl for GLIBC_2_0.
31303         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31304         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31305         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31306         logbl for GLIBC_2_0.
31307         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31308         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31309
31310 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31311
31312         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31313         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31314
31315         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31316         Use "neg %eax".
31317
31318         * time/mktime.c: Update copyright years.
31319
31320 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31321
31322         mktime: merge comment-quoting-style change from gnulib
31323         * time/mktime.c: Quote 'like this' in comments.
31324         The GNU coding standards suggest that we no longer quote `like this',
31325         as "`" and "'" are typically rendered asymmetrically nowadays.
31326         The typical gnulib style is to quote 'like this' when quoting
31327         code, and "like this" when quoting English.
31328
31329         * time/mktime.c (compile-command): Add "-I.".
31330
31331         mktime: merge mktime-internal.h change from gnulib
31332         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31333
31334         mktime: merge time_r change from gnulib
31335         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31336
31337         mktime: merge DEBUG change from gnulib
31338         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31339         case system <time.h> has a #define.
31340
31341         mktime: merge <sys/types.h> change from gnulib
31342         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31343         since <time.t> is now guaranteed to define time_t.
31344
31345         mktime: merge HAVE_CONFIG_H change from gnulib
31346         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31347
31348 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31349
31350         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31351         Use "neg %eax".
31352
31353         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31354         __rlim_t cast.
31355         (struct rusage): Use anonymous union to pad each field to
31356         __syscall_slong_t.
31357
31358 2012-05-21  David S. Miller  <davem@davemloft.net>
31359
31360         * Makefules (o-iterator): Remove .s cases.
31361         (compile-command.s): Delete.
31362         (COMPILE.s): Delete.
31363         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31364
31365 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31366
31367         * configure.in (libc_cv_predef_stack_protector): Only consider
31368         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31369         * configure: Regenerated.
31370
31371 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31372
31373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31374         New macro.  Use R*LP on int and pointer.
31375         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31376         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31377         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31378         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31379
31380         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31381         [__WORDSIZE_TIME64_COMPAT32] instead of
31382         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31383         (struct utmp): Likewise.
31384         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31385         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31386         Renamed to ...
31387         (__WORDSIZE_TIME64_COMPAT32): This.
31388         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31389         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31390         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31391         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31392         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31393         (__WORDSIZE_TIME64_COMPAT32): New macro.
31394
31395 2012-05-21  Andreas Jaeger  <aj@suse.de>
31396
31397         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31398         only if [SHARED]. Add prototype for __wcschr_ia32.
31399
31400 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31401
31402         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31403         of %rbp unmolested in the jmp_buf while mangling the low bits.
31404         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31405         unmolested high bits of %rbp while demangling the low bits.
31406         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31407
31408 2012-05-21  Andreas Jaeger  <aj@suse.de>
31409
31410         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31411         * sunrpc/svc_simple.c: Use it for registerrpc.
31412         * sunrpc/xcrypt.c: Use it for passwd2des.
31413
31414         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31415
31416 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31417
31418         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31419         Don't define if [__SYSCALL_WORDSIZE != 32].
31420         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31421         New macro.
31422
31423 2012-05-21  Bruno Haible  <bruno@clisp.org>
31424             Andreas Jaeger  <aj@suse.de>
31425
31426         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31427         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31428         inptr and inend for must_buffer_ch.
31429         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31430         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31431         * stdio-common/Makefile (tests): Remove bug15.
31432         (bug15-ENV): Remove macro.
31433         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31434         anymore.
31435
31436 2012-05-19  Andreas Jaeger  <aj@suse.de>
31437             Roland McGrath  <roland@hack.frob.com>
31438
31439         * manual/contrib.texi: Completely rewritten. It contains now an
31440         alphabetical list of contributors and their contributions.
31441
31442 2012-05-21  Richard Henderson  <rth@twiddle.net>
31443
31444         * misc/getauxval.c (__getauxval): Use unsigned long int.
31445         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31446         (getauxval): Use unsigned long int.
31447
31448 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31449
31450         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31451
31452 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31453
31454         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31455         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31456         __alignof__ (long double).
31457
31458 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31459
31460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31461
31462 2012-05-20  Richard Henderson  <rth@twiddle.net>
31463
31464         * misc/getauxval.c: New file.
31465         * misc/sys/auxv.h: New file.
31466         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31467         (routines): Add getauxval.
31468         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31469         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31470         * elf/dl-sysdep.c (_dl_auxv): Remove.
31471         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31472         * elf/dl-support.c (_dl_auxv): New variable.
31473         (_dl_aux_init): Initialize it.
31474         * manual/startup.texi (Auxiliary Vector): New node.
31475         * sysdeps/generic/bits/hwcap.h: New file.
31476         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31477         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31478         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31479         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31480         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31481         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31483         Update.
31484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31487         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31492
31493 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31494
31495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31496
31497 2012-05-19  David S. Miller  <davem@davemloft.net>
31498
31499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31500
31501 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31502
31503         [BZ #14123]
31504         * math/s_ccosh.c: Include <float.h>
31505         (__ccosh): Avoid internal overflow calculating sinh and cosh
31506         values before multiplying by sin and cos values.
31507         * math/s_ccoshf.c: Likewise.
31508         * math/s_ccoshl.c: Likewise.
31509         * math/s_csin.c: Likewise.
31510         * math/s_csinf.c: Likewise.
31511         * math/s_csinl.c: Likewise.
31512         * math/s_csinh.c: Likewise.
31513         * math/s_csinhf.c: Likewise.
31514         * math/s_csinhl.c: Likewise.
31515         * math/libm-test.inc (ccos_test): Add more tests.
31516         (ccosh_test): Likewise.
31517         (csin_test): Likewise.
31518         (csinh_test): Likewise.
31519         * sysdeps/i386/fpu/libm-test-ulps: Update.
31520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31521
31522 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31523
31524         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31525         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31526
31527         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31528
31529 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31530
31531         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31532         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31533         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31534         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31535         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31536         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31537         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31538         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31539         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31540         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31541         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31542         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31543         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31544         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31545         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31546         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31547         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31548         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31549         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31550         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31551         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31552         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31553         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31554         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31555         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31556         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31557         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31558         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31559         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31560         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31561         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31562
31563 2012-05-18  Andreas Jaeger  <aj@suse.de>
31564
31565         * csu/.gitignore: Delete.
31566
31567 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31568
31569         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31570         (timex): Use __syscall_slong_t.
31571
31572 2012-05-18  Andreas Jaeger  <aj@suse.de>
31573             Carlos O'Donell  <carlos_odonell@mentor.com>
31574
31575         * manual/install.texi (Configuring and compiling): Update
31576         description about files modified in the source directory.
31577         * INSTALL: Regenerated.
31578
31579 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31580
31581         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31582         value.  Use "or" to set return value to -1.
31583         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31584         negate return value.
31585
31586 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31587
31588         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31589         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31590         failure if the compiler has Graphite support disabled.
31591         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31592         Likewise.
31593         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31594         (CFLAGS-memmove.c): Likewise.
31595         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31596         Likewise.
31597
31598 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31599
31600         * sysdeps/x86_64/x32/_itoa.h: New file.
31601
31602         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31603         getdents system call only if kernel and user dirents have the
31604         same d_ino and d_off.
31605
31606         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31607         LLONG_MAX != LONG_MAX.
31608         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31609         (_fitoa_word): Likewise.
31610
31611         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31612         years.
31613         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31614         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31615         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31616
31617         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31618         include <bits/wordsize.h>.  Check __x86_64__ instead of
31619         __WORDSIZE.
31620         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31621         if __x86_64__ is defined.  Use anonymous union on fpstate.
31622
31623         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31624         anonymous union.
31625
31626 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31627
31628         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31629         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31630         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31631         Refer to _rtld_local_ro instead of _rtld_global_ro.
31632         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31633         Likewise.
31634         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31635         Likewise.
31636         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31637         Likewise.
31638         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31639         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31640         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31641
31642         * sysdeps/powerpc/powerpc32/dl-machine.c
31643         (__elf_machine_runtime_setup) [PROF]: Don't reference
31644         _dl_prof_resolve.
31645
31646 2012-05-18  Andreas Jaeger  <aj@suse.de>
31647
31648         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31649         function only available for GCCs before 3.4 since GCC 3.4
31650         introduced a builtin.
31651         (lrint): Likewise.
31652         (llrintf): Likewise.
31653         (llrint): Likewise.
31654         (fmaxf): Likewise.
31655         (fmax): Likewise.
31656         (fminf): Likewise.
31657         (fmin): Likewise.
31658         (rint): Likewise.
31659         (rintf): Likewise.
31660         (nearbyint): Likewise.
31661         (nearbyintf): Likewise.
31662         (ceil): Likewise.
31663         (ceilf): Likewise.
31664         (floor): Likewise.
31665         (floorf): Likewise.
31666
31667 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31668
31669         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31670         on both fields and cast pointer to __syscall_ulong_t.
31671
31672         * bits/types.h (__fsword_t): New type.
31673         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31674         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31675         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31676         (__FSWORD_T_TYPE): Likewise.
31677         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31678         (__FSWORD_T_TYPE): Likewise.
31679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31680         (__FSWORD_T_TYPE): Likewise.
31681         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31682         (__FSWORD_T_TYPE): Likewise.
31683         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31684         __SWORD_TYPE with __fsword_t.
31685         (statfs64): Likewise.
31686
31687 2012-05-17  David S. Miller  <davem@davemloft.net>
31688
31689         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31690
31691 2012-05-17  Andreas Jaeger  <aj@suse.de>
31692
31693         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31694         warning.
31695
31696 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31697
31698         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31699
31700 2012-05-17  Andreas Jaeger  <aj@suse.de>
31701
31702         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31703         when it is used.
31704
31705 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31706
31707         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31708
31709 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31710
31711         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31712         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31713
31714 2012-05-17  Andreas Jaeger  <aj@suse.de>
31715             Carlos O'Donell  <carlos_odonell@mentor.com>
31716
31717         [BZ #14059]
31718         * sysdeps/x86_64/multiarch/init-arch.h
31719         (bit_YMM_Usable): Rename to...
31720         (bit_AVX_Usable): ... this.
31721         (bit_FMA4_Usable): New macro.
31722         (bit_XMM_state): New macro.
31723         (bit_YMM_state): New macro.
31724         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31725         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31726         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31727         (CPUID_OSXSAVE): New macro.
31728         (CPUID_AVX): New macro.
31729         (CPUID_FMA4): New macro.
31730         (index_YMM_Usable): Rename to...
31731         (index_AVX_Usable): ... this.
31732         (HAS_AVX): Use HAS_ARCH_FEATURE.
31733         (HAS_FMA4): Likewise.
31734         (HAS_YMM_USABLE): Remove.
31735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31736         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31737         are present.
31738         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31739         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31740         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31741         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31742         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31743
31744 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31745
31746         * math/libm-test.c: Support platforms without multiple rounding modes.
31747         * math/bug-nextafter.c: Support platforms without FP exceptions.
31748         * math/bug-nexttoward.c: Likewise.
31749         * math/test-fenv.c: Likewise.
31750         * math/test-misc.c: Likewise.
31751         * stdlib/bug-getcontext.c: Likewise.
31752
31753 2012-05-17  Andreas Jaeger  <aj@suse.de>
31754
31755         * manual/examples/search.c (critter_cmp): Change signature to
31756         avoid warnings.
31757         * manual/string.texi (Collation Functions): Likewise.
31758
31759 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31760
31761         * bits/types.h: Fold copyright years.
31762         * bits/typesizes.h: Likewise.
31763         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31764         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31765         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31767         * time/time.h: Likewise.
31768
31769 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31770
31771         [BZ #208]
31772         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31773         in instead of returning them.  Return void.
31774         (__libc_mallinfo): Accumulate over all arenas.
31775         (__malloc_stats): Adjust for change in int_mallinfo interface.
31776
31777 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31778
31779         [BZ #10375]
31780         * configure.in (NM): Add AC_CHECK_TOOL for it.
31781         (libc_extra_cflags): New substituted variable.
31782         Check for -fstack-protector being used implicitly.
31783         * configure: Regenerated.
31784         * config.make.in (config-extra-cflags): New variable,
31785         gets @libc_extra_cflags@.
31786         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31787
31788         [BZ #10375]
31789         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31790         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31791         * configure: Regenerated.
31792         * config.make.in (CPPUNDEFS): New substituted variable.
31793         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31794         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31795         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31796
31797 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31798
31799         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31800         (mq_attr): Use __syscall_slong_t.
31801
31802 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31803
31804         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31805         Check __x86_64__ instead of __WORDSIZE.
31806         (_STAT_VER_LINUX): Likewise.
31807         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31808         __syscall_ulong_t and __syscall_slong_t.
31809         (stat64): Likewise.
31810
31811 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31812
31813         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31814
31815 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31816
31817         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31818
31819 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31820
31821         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31822         __syscall_ulong_t.
31823
31824         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31825         include <bits/wordsize.h>.  Check __x86_64__ instead of
31826         __WORDSIZE.
31827         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31828         defined.
31829         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31830
31831         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31832         include <bits/wordsize.h>.  Check __x86_64__ instead of
31833         __WORDSIZE.
31834         (user_regs_struct): Use "__extension__ unsigned long long"
31835         instead of "unsigned long" if __x86_64__ is defined.
31836         (user): Likewise.  Pad after pointer field if __ILP32__ is
31837         defined.
31838
31839 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31840
31841         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31842         versions 5 to 9.
31843         * configure: Regenerated.
31844         * manual/install.texi (texinfo): Increase version requirement to
31845         4.5 or later.
31846         * INSTALL: Regenerated.
31847
31848         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31849
31850 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31851
31852         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31853
31854         * sysdeps/x86_64/x32/ffs.c: New file.
31855
31856         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31857         __syscall_ulong_t.
31858         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31859         defined.  Use __syscall_ulong_t.
31860         (shminfo): Use __syscall_ulong_t.
31861         (shm_info): Likewise.
31862
31863         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31864         __syscall_ulong_t.
31865
31866         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31867         <bits/wordsize.h>.
31868         (msgqnum_t): Use __syscall_ulong_t.
31869         (msglen_t): Likewise.
31870         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31871         __syscall_ulong_t.
31872
31873         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31874         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31875
31876         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31877
31878         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31879         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31880
31881         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31882         __syscall_slong_t.
31883
31884         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31885         include <bits/wordsize.h>.  Check __x86_64__ instead of
31886         __WORDSIZE.
31887
31888         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31889         "unsigned long long int" if __x86_64__ is defined.
31890         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31891
31892         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31893         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31894         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31895
31896         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31897         <stdint.h>.
31898         (GET_PC): Cast to uintptr_t first.
31899         (GET_FRAME): Likewise.
31900         (GET_STACK): Likewise.
31901
31902         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31903         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31904         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31905         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31906         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31907         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31908         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31909         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31910         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31911         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31912         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31913         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31914         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31915         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31916         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31917         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31918         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31919         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31920         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31921         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31922         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31923         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31924         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31925         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31926         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31927         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31928         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31929         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31930         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31931
31932 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31933
31934         * Makerules (+depfiles): Also collect depfiles from .oS in
31935         $(extra-objs).
31936         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31937         .oS, $(libnldbl-routines)).
31938
31939         * Makerules (native-compile-mkdep-flags): Define.
31940         * sunrpc/Makefile (extra-objs): Add $(addprefix
31941         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31942         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31943         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31944         calling $(make-target-directory).
31945
31946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31947
31948         * bits/types.h (__snseconds_t): Removed.
31949         * time/time.h (struct timespec): Replace __snseconds_t with
31950         __syscall_slong_t.
31951         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31952         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31953         Likewise.
31954         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31955         (__SNSECONDS_T_TYPE): Likewise.
31956         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31957         (__SNSECONDS_T_TYPE): Likewise.
31958         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31959         (__SNSECONDS_T_TYPE): Likewise.
31960
31961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31962
31963         * sysdeps/mach/hurd/bits/typesizes.h
31964         (__SYSCALL_SLONG_TYPE): New macro.
31965         (__SYSCALL_ULONG_TYPE): Likewise.
31966
31967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31968
31969         * bits/types.h (__syscall_slong_t): New type.
31970         (__syscall_ulong_t): Likewise.
31971
31972         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31973         (__SYSCALL_ULONG_TYPE): Likewise.
31974         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31975         (__SYSCALL_SLONG_TYPE): Likewise.
31976         (__SYSCALL_ULONG_TYPE): Likewise.
31977         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31978         (__SYSCALL_SLONG_TYPE): Likewise.
31979         (__SYSCALL_ULONG_TYPE): Likewise.
31980         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31981         (__SYSCALL_SLONG_TYPE): Likewise.
31982         (__SYSCALL_ULONG_TYPE): Likewise.
31983
31984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31985
31986         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31987         Add sigaltstack-offsets.sym.
31988         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31989         <sigaltstack-offsets.h>.
31990         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31991         longjmp_msg pointer.
31992         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31993         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31994         signal stack.
31995         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31996
31997 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31998
31999         * elf/stackguard-macros.h: Remove file.
32000         * sysdeps/generic/stackguard-macros.h: New file.
32001         * sysdeps/i386/stackguard-macros.h: Likewise.
32002         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32003         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32004         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32005         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32006         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32007         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32008         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32009         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32010         <elf/stackguard-macros.h>.
32011
32012         [BZ #14109]
32013         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32014         __aligned__ in attribute.
32015         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32016         (gregset_t): Likewise.
32017
32018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32019
32020         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32021         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32022         * sysdeps/x86_64/x32/Implies-after: New file.
32023
32024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32025
32026         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32027         and access return value for _dl_profile_fixup.  Use R10_LP to
32028         load frame size.
32029
32030 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32031
32032         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32033
32034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32035
32036         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32037         * sysdeps/x86_64/x32/sysdep.h: New file.
32038
32039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32040
32041         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32042         * sysdeps/x86_64/setjmp.S: Likewise.
32043
32044 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32045
32046         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32047         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32048         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32049         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32050         remove unused global constant.
32051
32052 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32053
32054         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32055         include of <not-cancel.h>.
32056
32057 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32058
32059         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32060
32061 2012-05-15  Jeff Law  <law@redhat.com>
32062             Andreas Jaeger  <aj@suse.de>
32063
32064         [BZ #13594]
32065         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32066         out from...
32067         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32068         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32069         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32070         code changing __hst_map_handle.map.
32071
32072 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32073
32074         * configure.in (sysnames): Look for Implies-before and Implies-after
32075         files.
32076         * configure: Regenerated.
32077
32078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32079
32080         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32081         8-byte data alignment with LP_SIZE alignment.
32082
32083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32084
32085         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32086         into R10_LP.
32087
32088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32089
32090         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32091
32092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32093
32094         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32095         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32096         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32097         Likewise.
32098         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32099
32100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32101
32102         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32103         (stackinfo_sub_sp): Likewise.
32104
32105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32106
32107         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32108         RAX_LP.
32109
32110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32111
32112         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32113         into R*_LP.
32114
32115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32116
32117         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32118         sizes into R*_LP.
32119
32120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32121
32122         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32123
32124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32125
32126         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32127         into R11_LP and load __x86_64_shared_cache_size_half into
32128         R8_LP.
32129
32130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32131
32132         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32133         R8_LP.
32134
32135 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32136
32137         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32138         logb for POWER7.
32139         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32140         logbf for POWER7.
32141         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32142         logbl for POWER7.
32143         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32144         powerpc32/power7/fpu/s_logb.c via #include.
32145         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32146         powerpc32/power7/fpu/s_logbf.c via #include.
32147         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32148         powerpc32/power7/fpu/s_logbl.c via #include.
32149
32150 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32151
32152         * README.libm: Remove file.
32153
32154 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32155
32156         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32157         count for x32.  Use R*_LP and omit operand-size suffix.
32158
32159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32160
32161         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32162         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32163         * sysdeps/x86_64/x32/shlib-versions: New file.
32164
32165 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32166
32167         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32168         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32169         Use _dl_fatal_printf instead.
32170
32171 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32172
32173         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32174         set if not set by the user.  Do not allow for being unset.
32175         * sysdeps/unix/sysv/linux/configure: Regenerated.
32176
32177 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32178
32179         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32180         the `q' suffix from lea and replace .quad with ASM_ADDR.
32181
32182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32183
32184         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32185         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32186         instead of $17.
32187         (PTR_DEMANGLE): Likewise.
32188
32189 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32190
32191         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32192         (LP_OP): Likewise.
32193         (ASM_ADDR): Likewise.
32194         (RAX_LP): Likewise.
32195         (RBP_LP): Likewise.
32196         (RBX_LP): Likewise.
32197         (RCX_LP): Likewise.
32198         (RDI_LP): Likewise.
32199         (RSI_LP): Likewise.
32200         (RSP_LP): Likewise.
32201         (R8_LP): Likewise.
32202         (R9_LP): Likewise.
32203         (R10_LP): Likewise.
32204         (R10_LP): Likewise.
32205         (R11_LP): Likewise.
32206         (R12_LP): Likewise.
32207         (R13_LP): Likewise.
32208         (R14_LP): Likewise.
32209         (R15_LP): Likewise.
32210
32211 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32212
32213         * sysdeps/x86_64/x32/dl-machine.h: New file.
32214
32215 2012-05-14  Andreas Jaeger  <aj@suse.de>
32216
32217         * manual/Makefile (subdir): Remove export of subdir.
32218         (all): Remove target.
32219         (.PHONY): Remove all from list.
32220         (mkinstalldirs): Remove.
32221         (.PHONY): Remove installdirs from list.
32222         ($(inst_infodir)/libc.info): Use make-target-directory.
32223         (installdirs): Remove.
32224         (subdir_%): Remove.
32225         (glibc-targets): Remove.
32226         (lib): Remove.
32227         (stubs): Remove.
32228         ($(objpfx)stubs ../po/manual.pot): Remove.
32229         ($(objpfx)stamp%): Remove.
32230         (make-target-directory): Remove.
32231         (subdir_install): Remove.
32232         (routines): Remove.
32233         (aux): Remove.
32234         (sources): Remove.
32235         (objects): Remove.
32236         (headers): Remove.
32237
32238         [BZ #13750]
32239         * manual/.gitignore: Remove, it's not needed anymore.
32240         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32241         all files in it.
32242         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32243         directory.
32244         (texis): Renamed to $(objpfx)texis.
32245         (texis-path): New, contains path to generated files.
32246         (chapters.%): Use texis-path for complete path, add extra argument
32247         libc-texinfo.sh.
32248         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32249         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32250         (summary,texi, stamp-summary): Use complete path of
32251         files. Generate files in build dir.
32252         (dir-add.texi): Build in build dir.
32253         (libm-err.texi,stamp-libm-err): Likewise.
32254         (version.texi, stamp-version): Likewise.
32255         (.%c.texi): Likewise.
32256         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32257         (mostlyclean): Remove target.
32258         (realclean): Remove target.
32259         (generated): Add new variable with contents from mostlyclean and
32260         realclean, remove entries duplicated in common-mostlyclean, add
32261         stamp-libm-err and stamp-version.
32262         (generated-dirs): Add libc directory.
32263         ($(inst_infodir)/libc.info): Install files from build dir.
32264
32265         * manual/install.texi (Configuring and compiling): Adjust since
32266         the info files are not part of the tar ball anymore.
32267
32268 2012-05-14  Andreas Jaeger  <aj@suse.de>
32269
32270         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32271         variable.
32272
32273 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32274
32275         [BZ #13717]
32276         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32277         to 2.2.0 where earlier.
32278         * sysdeps/unix/sysv/linux/configure: Regenerated.
32279         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32280         Remove conditional code.
32281         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32282         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32283         Remove conditional code.
32284         [!__NR_lchown]: Likewise.
32285         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32286         [__NR_lchown]: Likewise.
32287         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32288         comment referencing __ASSUME_LCHOWN_SYSCALL.
32289         * sysdeps/unix/sysv/linux/i386/sigaction.c
32290         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32291         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32292         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32293         Remove conditional code.
32294         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32295         (__protocol_available): Remove #if 0 code.
32296         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32297         conditional code.
32298         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32299         * sysdeps/unix/sysv/linux/kernel-features.h
32300         (__ASSUME_GETCWD_SYSCALL): Don't define.
32301         (__ASSUME_REALTIME_SIGNALS): Likewise.
32302         (__ASSUME_PREAD_SYSCALL): Likewise.
32303         (__ASSUME_PWRITE_SYSCALL): Likewise.
32304         (__ASSUME_POLL_SYSCALL): Likewise.
32305         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32306         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32307         non-SPARC.
32308         (__ASSUME_SIOCGIFNAME): Don't define.
32309         (__ASSUME_MSG_NOSIGNAL): Likewise.
32310         (__ASSUME_SENDFILE): Define unconditionally.
32311         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32312         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32313         conditional code.
32314         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32315         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32316         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32317         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32318         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32319         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32320         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32322         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32323         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32325         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32326         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32328         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32329         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32331         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32332         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32334         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32335         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32337         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32338         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32340         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32341         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32343         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32344         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32345         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32346         Remove conditional code.
32347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32348         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32349         Remove conditional code.
32350         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32351         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32352         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32353         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32354         Remove conditional code.
32355         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32356         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32357         Remove conditional code.
32358         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32359         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32360         Remove conditional code.
32361         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32362         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32363         Remove conditional code.
32364         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32365         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32366         Remove conditional code.
32367         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32368         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32369         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32370         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32371         * sysdeps/unix/sysv/linux/sigaction.c
32372         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32373         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32374         * sysdeps/unix/sysv/linux/sigpending.c
32375         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32376         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32377         * sysdeps/unix/sysv/linux/sigprocmask.c
32378         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32379         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32380         * sysdeps/unix/sysv/linux/sigsuspend.c
32381         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32382         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32383         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32384         (__libc_missing_rt_sigs): Remove.
32385         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32386         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32387         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32388         Remove conditional code.
32389         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32390         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32391         return 1.
32392         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32393         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32394         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32395         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32396
32397 2012-05-14  Andreas Jaeger  <aj@suse.de>
32398
32399         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32400         it's not used in glibc.
32401         (__coshm1): Likewise.
32402         (__acosh1p): Likewise.
32403         (__sgn): Likewise.
32404
32405         * manual/string.texi (Copying and Concatenation): Add missing
32406         variable in concat example.
32407         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32408
32409 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32410
32411         [BZ #14103]
32412         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32413         __builtin_clzl with __builtin_clzll.
32414
32415 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32416
32417         [BZ #14104]
32418         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32419         libc_freeres_ptr.
32420
32421 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32422
32423         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32424         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32425         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32426         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32427
32428 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32429
32430         * NEWS: Update ia64 info.
32431
32432 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32433
32434         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32435         used as bcopy.
32436
32437 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32438
32439         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32440         * sysdeps/unix/syscalls.list (dup3): Likewise.
32441         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32442         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32443
32444 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32445
32446         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32447         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32448
32449 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32450
32451         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32452         thread pointer.
32453         (TLS_IE): Use mov/add instead of movq/addq to load thread
32454         pointer.
32455         (TLS_GD_PREFIX): New.
32456         (TLS_GD): Use it.
32457
32458 2012-05-11  David S. Miller  <davem@davemloft.net>
32459
32460         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32461         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32462         (_FPU_SETCW): Likewise.
32463
32464 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32465
32466         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32467         is 32-byte aligned.
32468
32469 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32470
32471         [BZ #11837]
32472         * iconvdata/gb18030.c: Update tables.
32473         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32474         characters specially.
32475         (BODY for TO_LOOP): Add encoding of missing ranges.
32476
32477 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32478
32479         [BZ #13673]
32480         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32481         * sysdeps/mach/hurd/dup3.c: Likewise.
32482         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32483         * sysdeps/powerpc/memmove.c:: Likewise.
32484
32485 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32486
32487         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32488         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32489
32490 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32491
32492         * elf/elf.h (R_X86_64_RELATIVE64): New.
32493         (R_X86_64_NUM): Updated.
32494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32495         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32496         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32497         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32498         tst-quad1pie tst-quad2pie
32499         (modules-names): Add tst-quadmod1 tst-quadmod2.
32500         ($(objpfx)tst-quad1): New dependency.
32501         ($(objpfx)tst-quad2): Likewise.
32502         ($(objpfx)tst-quad1pie): Likewise.
32503         ($(objpfx)tst-quad2pie): Likewise.
32504         * sysdeps/x86_64/tst-quad1.c: New file.
32505         * sysdeps/x86_64/tst-quad1pie.c: New file.
32506         * sysdeps/x86_64/tst-quad2.c: Likewise.
32507         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32508         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32509         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32510         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32511         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32512
32513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32514
32515         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32516         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32517         * streams/stropts.h (t_scalar_t): Define type.
32518
32519         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32520         (_PATH_PRESERVE): Set to "/var/lib".
32521         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32522
32523         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32524         instead of int.
32525
32526         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32527         if __dir_mkfile succeeded.
32528
32529         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32530         checking for _hurd_dtablesize.  Unlock it right after having
32531         finished _hurd_dtable allocation.
32532
32533 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32534
32535         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32536         * sysdeps/mach/hurd/configure: Regenerated.
32537         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32538         special-casing to...
32539         * sysdeps/gnu/configure.in: ... this new file.
32540         * sysdeps/unix/sysv/linux/configure: Regenerated.
32541         * sysdeps/gnu/configure: New generated file.
32542
32543         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32544         for Linux: use nsec instead of usec, as well as:
32545         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32546         members of type struct timespec.
32547         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32548         New macros.
32549         (struct stat64): Likewise.
32550         (_STATBUF_ST_NSEC): New macro.
32551         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32552
32553         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32554         __strtoul_internal rather than strtoul.
32555
32556 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32557
32558         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32559         and reject them.
32560
32561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32562
32563         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32564         which preserves existing values.
32565         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32566
32567 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32568
32569         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32570         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32571         greater than FD_SETSIZE.
32572
32573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32574
32575         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32576         allocated, call __vm_protect to finish enabling the existing space, and
32577         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32578         allocate the remainder.
32579
32580 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32581
32582         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32583         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32584
32585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32586
32587         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32588         sysdeps/mach/hurd/readlink.c.
32589
32590         * posix/tst-sysconf.c (posix_options): Only use
32591         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32592         _POSIX_SYNCHRONIZED_IO when they are defined
32593         * sysdeps/mach/hurd/bits/posix_opt.h:
32594         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32595         (_XOPEN_REALTIME): Undefine macro.
32596         (_XOPEN_REALTIME_THREADS): Undefine macro.
32597         (_XOPEN_SHM): Undefine macro.
32598         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32599         macro to -1.
32600         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32601         macro to -1.
32602         (_POSIX_ASYNC_IO): Undefine macro.
32603         (_POSIX_PRIORITIZED_IO): Undefine macro.
32604         (_POSIX_SPIN_LOCKS): Define macro to -1.
32605
32606         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32607         SA_NODEFER, SA_RESETHAND.
32608         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32609         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32610         F_DUPFD_CLOEXEC.
32611
32612 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32613
32614         * elf/Makefile (pldd-modules): Define unconditionally.
32615
32616 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32617
32618         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32619
32620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32621
32622         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32623         Return ENOENT when name is empty.
32624         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32625
32626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32627
32628         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32629
32630         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32631
32632 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32633
32634         Fix mlock in all cases except non-readable pages.
32635         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32636         instead of VM_PROT_ALL as parameter to __vm_wire function.
32637
32638         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32639         (__mkdir): When path is `/', just fail with EEXIST.
32640         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32641
32642 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32643
32644         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32645         <sys/uio.h> (for writev).
32646         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32647         and <sys/param.h> (for MIN).
32648
32649 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32650
32651         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32652         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32653         if interrupted.
32654
32655 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32656
32657         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32658         Depend on against $(link-rpcuserlibs).
32659
32660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32661
32662         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32663         (__libc_stack_end): Do not use attribute_relro.
32664         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32665         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32666         to libthread-provided value.
32667         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32668         attribute_relro.
32669
32670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32671
32672         [BZ #3748]
32673         * bits/libc-lock.h (__libc_once_get): New macro.
32674         * sysdeps/mach/bits/libc-lock.h: Likewise.
32675         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32676         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32677         instead of using implementation details.
32678
32679         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32680         * libio/freopen.c: Likewise.
32681         * libio/freopen64.c: Likewise.
32682         * misc/syslog.c: Likewise.
32683         * nscd/connections.c: Likewise.
32684         * nscd/netgroupcache.c: Likewise.
32685         * sysdeps/posix/getcwd.c: Likewise.
32686
32687 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32688
32689         * math/w_ilogbf.c: Add #include <limits.h>.
32690
32691 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32692
32693         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32694         path instead of returning without unlocking.
32695
32696         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32697         immediate-write ioctls.
32698         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32699
32700 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32701
32702         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32703         __builtin_frame_address instead of making assumptions about the
32704         location of the return address relative to DATA.  Force early load of
32705         the return address.
32706         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32707         __builtin_frame_address.
32708
32709         dup3 for GNU Hurd.
32710         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32711         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32712         implement dup3 and do some further code clean-ups.
32713         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32714         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32715
32716 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32717
32718         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32719
32720         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32721         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32722         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32723         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32724         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32725         d->port.lock.
32726
32727         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32728         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32729         when handler == SIG_ERR, not when handler != SIG_ERR.
32730
32731 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32732
32733         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32734         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32735         definitions.
32736
32737         accept4 for GNU Hurd.
32738         * include/sys/socket.h (__libc_accept4): New prototype.
32739         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32740         to implement __libc_accept4.
32741         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32742         __libc_accept4.
32743         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32744
32745         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32746         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32747         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32748         signal-defines.sym.
32749
32750 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32751
32752         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32753
32754 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32755
32756         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32757         assertion on O_CLOEXEC flag.
32758         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32759         * hurd/intern-fd.c: Likewise.
32760         * hurd/port2fd.c: Likewise.
32761
32762 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32763
32764         [BZ #3906]
32765         * bits/in.h (IPV6_PKTINFO): Define new macro.
32766         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32767
32768 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32769
32770         [BZ #13954]
32771         [BZ #13955]
32772         [BZ #13956]
32773         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32774         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32775         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32776         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32777         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32778         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32779         * math/libm-test.inc (logb_test) : Additional logb tests.
32780
32781 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32782             Andreas Jaeger  <aj@suse.de>
32783
32784         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32785         * configure: Regenerated.
32786         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32787         * config.make.in (link-obsolete-rpc): New substituted variable.
32788         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32789         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32790         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32791         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32792         so that libc.a contains the symbols.
32793         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32794         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32795         * sunrpc/auth_none.c: Likewise.
32796         * sunrpc/auth_unix.c: Likewise.
32797         * sunrpc/authdes_prot.c: Likewise.
32798         * sunrpc/authuxprot.c: Likewise.
32799         * sunrpc/clnt_gen.c: Likewise.
32800         * sunrpc/clnt_perr.c: Likewise.
32801         * sunrpc/clnt_raw.c: Likewise.
32802         * sunrpc/clnt_simp.c: Likewise.
32803         * sunrpc/clnt_tcp.c: Likewise.
32804         * sunrpc/clnt_udp.c: Likewise.
32805         * sunrpc/clnt_unix.c: Likewise.
32806         * sunrpc/des_crypt.c: Likewise.
32807         * sunrpc/des_soft.c: Likewise.
32808         * sunrpc/get_myaddr.c: Likewise.
32809         * sunrpc/key_call.c: Likewise.
32810         * sunrpc/key_prot.c: Likewise.
32811         * sunrpc/netname.c: Likewise.
32812         * sunrpc/pm_getmaps.c: Likewise.
32813         * sunrpc/pm_getport.c: Likewise.
32814         * sunrpc/pmap_clnt.c: Likewise.
32815         * sunrpc/pmap_prot.c: Likewise.
32816         * sunrpc/pmap_prot2.c: Likewise.
32817         * sunrpc/pmap_rmt.c: Likewise.
32818         * sunrpc/publickey.c: Likewise.
32819         * sunrpc/rpc_cmsg.c: Likewise.
32820         * sunrpc/rpc_common.c: Likewise.
32821         * sunrpc/rpc_dtable.c: Likewise.
32822         * sunrpc/rpc_prot.c: Likewise.
32823         * sunrpc/rpc_thread.c: Likewise.
32824         * sunrpc/rtime.c: Likewise.
32825         * sunrpc/svc.c: Likewise.
32826         * sunrpc/svc_auth.c: Likewise.
32827         * sunrpc/svc_raw.c: Likewise.
32828         * sunrpc/svc_run.c: Likewise.
32829         * sunrpc/svc_tcp.c: Likewise.
32830         * sunrpc/svc_udp.c: Likewise.
32831         * sunrpc/svc_unix.c: Likewise.
32832         * sunrpc/svcauth_des.c: Likewise.
32833         * sunrpc/xcrypt.c: Likewise.
32834         * sunrpc/xdr.c: Likewise.
32835         * sunrpc/xdr_array.c: Likewise.
32836         * sunrpc/xdr_float.c: Likewise.
32837         * sunrpc/xdr_intXX_t.c: Likewise.
32838         * sunrpc/xdr_mem.c: Likewise.
32839         * sunrpc/xdr_rec.c: Likewise.
32840         * sunrpc/xdr_ref.c: Likewise.
32841         * sunrpc/xdr_sizeof.c: Likewise.
32842         * sunrpc/xdr_stdio.c: Likewise.
32843
32844 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32845
32846         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32847         change.  Update copyright years.
32848
32849 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32850
32851         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32852
32853 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32854             Joseph Myers  <joseph@codesourcery.com>
32855             Paul Pluzhnikov  <ppluzhnikov@google.com>
32856
32857         [BZ #14012]
32858         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32859         requiring rpcgen.
32860         [cross-compiling] (extra-libs): Likewise.
32861         [cross-compiling] (extra-libs-others): Likewise.
32862         [cross-compiling] (librpcsvc-routines): Likewise.
32863         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32864         [cross-compiling] (omit-deps): Likewise.
32865         (sunrpc-CPPFLAGS): New variable.
32866         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32867         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32868         (cross-rpcgen-objs): New variable.
32869         (extra-objs): Append $(cross-rpcgen-objs).
32870         ($(cross-rpcgen-objs)): New rule.
32871         ($(objpfx)cross-rpcgen): Likewise.
32872         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32873         comment.
32874         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32875         ($(objpfx)x%.stmp): Likewise.
32876         * sunrpc/proto.h [IS_IN_build] (_): Define.
32877         [IS_IN_build] (_libc_intl_domainname): Likewise.
32878
32879 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32880
32881         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32882         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32883         and R_X86_64_TPOFF64.
32884
32885 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32886
32887         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32888         sysdeps/unix/sysv/syscalls.list.
32889         (stime): Likewise.
32890         (utime): Likewise.
32891         * sysdeps/unix/sysv/syscalls.list: Remove file.
32892
32893 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32894
32895         [BZ #3440]
32896         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32897         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32898         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32899         (__LC_IDENTIFICATION): Make these macros useful in #if
32900         expressions, as required by C99.
32901
32902 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32903
32904         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32905         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32906         after this.
32907
32908 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32909
32910         * stdlib/longlong.h: Updated from GCC.
32911
32912 2012-05-09  Andreas Jaeger  <aj@suse.de>
32913
32914         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32915         default is first entry.
32916         (run_mode): Set type.
32917         (main): Remove informal message about syslog.
32918         (options): Fix typo.
32919
32920         [BZ #14053]
32921         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32922         to asm.
32923         (lrint): Likewise.
32924         (llrintf): Likewise.
32925         (llrint): Likewise.
32926         (rint): Likewise.
32927         (rintf): Likewise.
32928         (nearbyint): Likewise.
32929         (nearbyintf): Likewise.
32930
32931 2012-05-09  Andreas Jaeger  <aj@suse.de>
32932             Pedro Alves  <palves@redhat.com>
32933
32934         * nscd/nscd.c (run_mode): Use enum.
32935         (main): Cleanup coding style issue.
32936
32937 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32938             Andreas Jaeger  <aj@suse.de>
32939
32940         * nscd/nscd.c (go_background): Replaced with...
32941         (run_mode): ... this.
32942         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32943         (options): Add -F --foreground.
32944         (main): Implement it.
32945         (parse_opt): Parse it.
32946
32947 2012-05-09  Andreas Jaeger  <aj@suse.de>
32948
32949         [BZ #14083]
32950         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32951         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32952         -Wconversion warning.
32953         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32954         Likewise.
32955
32956 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32957
32958         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32959         == 0.
32960         (LC_ALL): Use macro-int-constant.
32961         (LC_COLLATE): Likewise.
32962         (LC_CTYPE): Likewise.
32963         (LC_MESSAGES): Likewise.
32964         (LC_MONETARY): Likewise.
32965         (LC_NUMERIC): Likewise.
32966         (LC_TIME): Likewise.
32967         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32968         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32969         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32970         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32971         Specify type.
32972         [C99-based standards] (float_t): Expect type.
32973         [C99-based standards] (double_t): Expect type.
32974         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32975         type.
32976         [C99-based standards] (HUGE_VALL): Likewise.
32977         [C99-based standards] (INFINITY): Likewise.
32978         [C99-based standards] (NAN): Likewise.
32979         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32980         [C99-based standards] (FP_NAN): Likewise.
32981         [C99-based standards] (FP_NORMAL): Likewise.
32982         [C99-based standards] (FP_SUBNORMAL): Likewise.
32983         [C99-based standards] (FP_ZERO): Likewise.
32984         [C99-based standards] (FP_FAST_FMA): Use
32985         optional-macro-int-constant.  Specify type.  Require == 1.
32986         [C99-based standards] (FP_FAST_FMAF): Likewise.
32987         [C99-based standards] (FP_FAST_FMAL): Likewise.
32988         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32989         [C99-based standards] (FP_ILOGBNAN): Likewise.
32990         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32991         Specify type.
32992         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32993         [C99-based standards] (math_errhandling): Specify type.
32994         [ISO99 || ISO11] (signgam): Do not allow.
32995         [non-C99-based standards] (copysignf): Do not allow.
32996         [non-C99-based standards] (exp2f): Likewise.
32997         [non-C99-based standards] (log2f): Likewise.
32998         [non-C99-based standards] (modff): Allow.
32999         [non-C99-based standards] (erff): Do not allow.
33000         [non-C99-based standards] (erfcf): Likewise.
33001         [non-C99-based standards] (gammaf): Likewise.
33002         [non-C99-based standards] (hypotf): Likewise.
33003         [non-C99-based standards] (j0f): Likewise.
33004         [non-C99-based standards] (j1f): Likewise.
33005         [non-C99-based standards] (jnf): Likewise.
33006         [non-C99-based standards] (lgammaf): Likewise.
33007         [non-C99-based standards] (tgammaf): Likewise.
33008         [non-C99-based standards] (y0f): Likewise.
33009         [non-C99-based standards] (y1f): Likewise.
33010         [non-C99-based standards] (ynf): Likewise.
33011         [non-C99-based standards] (isnanf): Likewise.
33012         [non-C99-based standards] (acoshf): Likewise.
33013         [non-C99-based standards] (asinhf): Likewise.
33014         [non-C99-based standards] (atanhf): Likewise.
33015         [non-C99-based standards] (cbrtf): Likewise.
33016         [non-C99-based standards] (expm1f): Likewise.
33017         [non-C99-based standards] (ilogbf): Likewise.
33018         [non-C99-based standards] (log1pf): Likewise.
33019         [non-C99-based standards] (logbf): Likewise.
33020         [non-C99-based standards] (nextafterf): Likewise.
33021         [non-C99-based standards] (remainderf): Likewise.
33022         [non-C99-based standards] (rintf): Likewise.
33023         [non-C99-based standards] (scalbf): Likewise.
33024         [non-C99-based standards] (copysignl): Likewise.
33025         [non-C99-based standards] (exp2l): Likewise.
33026         [non-C99-based standards] (log2l): Likewise.
33027         [non-C99-based standards] (modfl): Allow.
33028         [non-C99-based standards] (erfl): Do not allow.
33029         [non-C99-based standards] (erfcl): Likewise.
33030         [non-C99-based standards] (gammal): Likewise.
33031         [non-C99-based standards] (hypotl): Likewise.
33032         [non-C99-based standards] (j0l): Likewise.
33033         [non-C99-based standards] (j1l): Likewise.
33034         [non-C99-based standards] (jnl): Likewise.
33035         [non-C99-based standards] (lgammal): Likewise.
33036         [non-C99-based standards] (tgammal): Likewise.
33037         [non-C99-based standards] (y0l): Likewise.
33038         [non-C99-based standards] (y1l): Likewise.
33039         [non-C99-based standards] (ynl): Likewise.
33040         [non-C99-based standards] (isnanl): Likewise.
33041         [non-C99-based standards] (acoshl): Likewise.
33042         [non-C99-based standards] (asinhl): Likewise.
33043         [non-C99-based standards] (atanhl): Likewise.
33044         [non-C99-based standards] (cbrtl): Likewise.
33045         [non-C99-based standards] (expm1l): Likewise.
33046         [non-C99-based standards] (ilogbl): Likewise.
33047         [non-C99-based standards] (log1pl): Likewise.
33048         [non-C99-based standards] (logbl): Likewise.
33049         [non-C99-based standards] (nextafterl): Likewise.
33050         [non-C99-based standards] (remainderl): Likewise.
33051         [non-C99-based standards] (rintl): Likewise.
33052         [non-C99-based standards] (scalbl): Likewise.
33053         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33054         [non-C99-based standards] (FP_*): Do not allow.
33055         [C99-based standards] (FP_*): Change to
33056         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33057         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33058         allow.
33059         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33060         (SIG_ERR): Likewise.
33061         [X/Open-based standards] (SIG_HOLD): Likewise.
33062         (SIG_IGN): Likewise.
33063         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33064         positive value.
33065         (SIGFPE): Likewise.
33066         (SIGILL): Likewise.
33067         (SIGINT): Likewise.
33068         (SIGSEGV): Likewise.
33069         (SIGTER): Likewise.
33070         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33071         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33072         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33073         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33074         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33075         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33076         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33077         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33078         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33079         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33080         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33081         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33082         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33083         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33084         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33085         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33086         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33087         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33088         [X/Open-based standards] (SIGTRAP): Likewise.
33089         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33090         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33091         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33092         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33093         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33094         allow.
33095
33096 2012-05-08  Ian Wienand  <ianw@vmware.com>
33097
33098         [BZ #14080]
33099         * time/tzset.c (__tzset_parse_tz): Update default rules for
33100         daylight time changes in the Energy Policy Act of 2005.
33101
33102 2012-05-09  Andreas Jaeger  <aj@suse.de>
33103
33104         [BZ #13983]
33105         * elf/ldconfig.c (parse_conf): Change string to make clear that
33106         ldconfig only issued a warning if ld.so.conf does not exist.
33107
33108 2012-05-08  David S. Miller  <davem@davemloft.net>
33109
33110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33111         movxtod instead of popping the value on the stack.
33112
33113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33114
33115 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33116
33117         * config.h.in: Add HAVE_ARM_PCS_VFP.
33118
33119 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33120
33121         [BZ #13979]
33122         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33123         checking but the checks are disabled for any reason.
33124
33125 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33126
33127         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33128         and ELF64_R_TYPE with ELFW(R_TYPE).
33129
33130 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33131
33132         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33133         (ulimit): Likewise.
33134
33135         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33136         (settimeofday): Likewise.
33137
33138 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33139
33140         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33141         a struct th_u2 inside the union, and move tu_block/tu_code into
33142         a new th_u3 union of tu_block/tu_code inside of that.  Move
33143         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33144         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33145         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33146         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33147         (th_stuff): Change to th_u1.tu_stuff.
33148         (th_data): Define.
33149         (th_msg): Change to th_u1.th_u2.tu_data.
33150
33151 2012-05-07  David S. Miller  <davem@davemloft.net>
33152
33153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33154
33155         [BZ #14074]
33156         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33157         (SETUP_PIC_REG): Use it.
33158         (SETUP_PIC_REG_LEAF): Use it.
33159
33160 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33161
33162         [BZ #13885]
33163         [BZ #13923]
33164         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33165         USE_AS_EXPM1L.
33166         (EXPL_FINITE): Likewise.
33167         (FLDLOG): Likewise.
33168         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33169         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33170         e_expl.S.
33171         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33172         USE_AS_EXPM1L.
33173         (EXPL_FINITE): Likewise.
33174         (FLDLOG): Likewise.
33175         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33176         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33177         e_expl.S.
33178         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33179         test of -max_value argument for long double.
33180         * sysdeps/i386/fpu/libm-test-ulps: Update.
33181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33182
33183 2012-05-06  David S. Miller  <davem@davemloft.net>
33184
33185         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33186         quad soft-float symbols whose references which are compiler
33187         generated.
33188         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33189
33190 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33191
33192         [BZ #13884]
33193         [BZ #13914]
33194         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33195         USE_AS_EXP10L.
33196         (EXPL_FINITE): Likewise.
33197         (FLDLOG): Likewise.
33198         (c0): Likewise.
33199         (c1): Likewise.
33200         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33201         Adjust comments for base varying.
33202         (__expl_finite): Change alias to EXPL_FINITE.
33203         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33204         e_expl.S.
33205         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33206         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33207         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33208         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33209         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33210         USE_AS_EXP10L.
33211         (EXPL_FINITE): Likewise.
33212         (FLDLOG): Likewise.
33213         (c0): Likewise.
33214         (c1): Likewise.
33215         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33216         Adjust comments for base varying.
33217         (__expl_finite): Change alias to EXPL_FINITE.
33218         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33219         tests for bugs.
33220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33221
33222         [BZ #14064]
33223         * math/libm-test.inc (check_float_internal): Correct ulp
33224         calculation for subnormal expected results.
33225
33226 2012-05-06  Andreas Jaeger  <aj@suse.de>
33227
33228         * Makeconfig (+math-flags): New, set to -frounding-math.
33229         (+cflags): Add +math-flags so that all of glibc gets compiled with
33230         it.
33231
33232         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33233
33234 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33235
33236         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33237         Disable one test.
33238
33239         [BZ #13787]
33240         [BZ #13922]
33241         [BZ #14036]
33242         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33243         (__ieee754_expl): Allow for and saturate large arguments.
33244         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33245         (u_threshold): Likewise.
33246         (__exp): Call __ieee754_exp before checking for overflow and
33247         underflow.
33248         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33249         (u_threshold): Likewise.
33250         (__expf): Call __ieee754_expf before checking for overflow and
33251         underflow.
33252         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33253         (u_threshold): Likewise.
33254         (__expl): Call __ieee754_expl before checking for overflow and
33255         underflow.
33256         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33257         (__ieee754_expl): Allow for and saturate large arguments.
33258         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33259         missing overflow exception on overflow.
33260         (expm1_test): Do not allow missing overflow exception on overflow.
33261
33262         * sysdeps/i386/fpu/e_expl.c: Move to ...
33263         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33264         rather than using inline asm.
33265         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33266         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33267         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33268
33269         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33270         (nice): Likewise.
33271         (poll): Likewise.
33272         (signal): Likewise.
33273         (time): Likewise.
33274         (times): Likewise.
33275
33276 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33277
33278         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33279         sysdeps/unix/common/syscalls.list.
33280         (fchmod): Likewise.
33281         (fchown): Likewise.
33282         (ftruncate): Likewise.
33283         (getrusage): Likewise.
33284         (gettimeofday): Likewise.
33285         (setpgid): Likewise.
33286         (setregid): Likewise.
33287         (setreuid): Likewise.
33288         (sigaction): Likewise.
33289         (truncate): Likewise.
33290         (vhangup): Likewise.
33291         * sysdeps/unix/common/syscalls.list: Remove file.
33292         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33293         * sysdeps/unix/sysv/linux/Implies: Likewise.
33294
33295 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33296
33297         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33299         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33300         Moved to ...
33301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33302         Here.
33303         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33304         to ...
33305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33306         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33307         to ...
33308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33309         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33310         to ...
33311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33312         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33313         to ...
33314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33315         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33316         to ...
33317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33318         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33319         to ...
33320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33321         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33322         to ...
33323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33324         Here.
33325         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33326         to ...
33327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33328         Here.
33329         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33330         to ...
33331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33332         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33333         Moved to ...
33334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33335         Here.
33336         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33337         to ...
33338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33339
33340 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33341
33342         * sysdeps/unix/common/bits/dirent.h: Remove file.
33343         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33344
33345         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33346         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33347         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33348         * sysdeps/unix/bsd/isatty.c: Likewise.
33349         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33350         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33351         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33352
33353 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33354
33355         [BZ #13563]
33356         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33357         long double comparison inaccuracies.
33358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33360
33361 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33362
33363         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33364         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33365
33366 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33367
33368         [BZ #14049]
33369         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33370         nonzero digits before rounding a hex value.
33371         * stdlib/tst-strtod.c (tests): Add another test.
33372
33373 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33374
33375         * sysdeps/s390/fpu/libm-test-ulps: Update.
33376
33377 2012-05-03  Andreas Jaeger  <aj@suse.de>
33378
33379         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33380         does not get optimized out.
33381         (malloc_opt_barrier): New.
33382
33383 2012-05-03  Andreas Jaeger  <aj@suse.de>
33384             Roland McGrath  <roland@hack.frob.com>
33385
33386         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33387         intermediate file deletion.
33388         (generated): Add .symlist files.
33389
33390 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33391
33392         [BZ #13775]
33393         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33394         Redirect under this condition.
33395         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33396         [__USE_GNU] (__dprintf_chk): Not under this condition.
33397         [__USE_GNU] (__vdprintf_chk): Likewise.
33398         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33399         under this condition.
33400         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33401         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33402         [__USE_XOPEN2K8] (vdprintf): Likewise.
33403         [__USE_GNU] (__dprintf_chk): Not under this condition.
33404         [__USE_GNU] (__vdprintf_chk): Likewise.
33405         [__USE_GNU] (dprintf): Likewise.
33406         [__USE_GNU] (vdprintf): Likewise.
33407
33408 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33409
33410         * elf/Makefile (common-generated): Set this instead of generated for
33411         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33412         $(all-built-dso)-derived lists.
33413
33414 2012-05-03  Andreas Jaeger  <aj@suse.de>
33415
33416         * sysdeps/i386/fpu/libm-test-ulps: Update.
33417
33418         * FAQ: Removed.
33419         * FAQ.in: Likewise.
33420         * scripts/gen-FAQ.pl: Likewise.
33421         * manual/install.texi (Installation): Point to online location of
33422         FAQ.
33423         * Makefile (files-for-dist): Remove FAQ.
33424         (FAQ): Remove.
33425
33426 2012-05-02  Allan McRae  <allan@archlinux.org>
33427
33428         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33429         (LDFLAGS-reldepmod5.so): Likewise.
33430         (LDFLAGS-reldep6mod1.so): Likewise.
33431         (LDFLAGS-reldep6mod4.so): Likewise.
33432         (LDFLAGS-reldep8mod3.so): Likewise.
33433         (LDFLAGS-unload4mod1.so): Likewise.
33434         (LDFLAGS-unload4mod2.so): Likewise.
33435         (LDFLAGS-tst-initorder): Likewise.
33436         (LDFLAGS-tst-initordera2.so): Likewise.
33437         (LDFLAGS-tst-initordera3.so): Likewise.
33438         (LDFLAGS-tst-initordera4.so): Likewise.
33439         (LDFLAGS-tst-initorderb2.so): Likewise.
33440         (LDFLAGS-noload): Likewise.
33441         (LDFLAGS-next): Likewise.
33442         (LDFLAGS-order2mod1.so): Likewise.
33443         (LDFLAGS-order2mod2.so): Likewise.
33444         (LDFLAGS-tst-initorder2): Likewise.
33445         (LDFLAGS-tst-initorder2a.so): Likewise.
33446         (LDFLAGS-tst-initorder2b.so): Likewise.
33447         (LDFLAGS-tst-initorder2c.so): Likewise.
33448         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33449
33450 2012-05-02  David S. Miller  <davem@davemloft.net>
33451
33452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33453
33454 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33455
33456         [BZ #14055]
33457         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33458
33459 2012-05-02  Andreas Jaeger  <aj@suse.de>
33460
33461         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33462         since we manipulate rounding mode.
33463         (CPPFLAGS-test-idouble.c): Likewise.
33464         (CPPFLAGS-test-ifloat.c): Likewise.
33465         (CFLAGS-test-ldouble.c): Likewise.
33466         (CFLAGS-test-double.c): Likewise.
33467         (CFLAGS-test-float.c): Likewise.
33468         (CFLAGS-test-misc.c): Likewise.
33469         (CFLAGS-test-test-fenv.c): Likewise.
33470
33471 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33472
33473         [BZ #2550]
33474         [BZ #2570]
33475         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33476         comparisons to determine direction to adjust input.
33477
33478 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33479
33480         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33481         output to the target.
33482
33483         * scripts/localplt.awk: New file.
33484         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33485         (check-localplt-CFLAGS): Variable removed.
33486         ($(all-built-dso:=.jmprel)): New static pattern rule.
33487         (generated): Add those targets.
33488         (localplt-built-dso): New variable.
33489         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33490
33491         * elf/check-localplt.c: File removed.
33492
33493         * scripts/check-execstack.awk: New file.
33494         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33495         (check-execstack-CFLAGS): Variable removed.
33496         ($(objpfx)check-execstack.h): Target removed.
33497         ($(objpfx)execstack-default): New target.
33498         (generated): Add that instead of check-execstack.h.
33499         ($(all-built-dso:=.phdr)): New static pattern rule.
33500         (generated): Add those targets.
33501         * elf/check-execstack.c: File removed.
33502
33503         * scripts/check-textrel.awk: New file.
33504         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33505         (check-textrel-CFLAGS): Variable removed.
33506         (all-built-dso): Use := to define.o
33507         ($(all-built-dso:=.dyn)): New static pattern rule.
33508         (generated): Add those targets.
33509         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33510         * config.make.in (READELF): New substituted variable.
33511         * elf/check-textrel.c: File removed.
33512
33513 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33514
33515         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33516         allow.
33517         * conform/data/ctype.h-data [C99-based standards] (isblank):
33518         Expect function.
33519         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33520         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33521         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33522         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33523         Specify type.  Require positive value.
33524         (EILSEQ): Likewise.
33525         (ERANGE): Likewise.
33526         [ISO || POSIX] (EILSEQ): Do not expect.
33527         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33528         Specify type.  Require positive value.
33529         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33530         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33531         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33532         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33533         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33534         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33535         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33536         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33537         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33538         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33539         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33540         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33541         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33542         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33543         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33544         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33545         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33546         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33547         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33548         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33549         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33550         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33551         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33552         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33553         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33554         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33555         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33556         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33557         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33558         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33559         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33560         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33561         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33562         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33563         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33564         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33565         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33566         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33567         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33568         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33569         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33570         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33571         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33572         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33573         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33574         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33575         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33576         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33577         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33578         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33579         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33580         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33581         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33582         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33583         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33584         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33585         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33586         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33587         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33588         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33589         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33590         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33591         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33592         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33593         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33594         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33595         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33596         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33597         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33598         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33599         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33600         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33601         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33602         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33603         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33604         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33605         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33606         Require >= 2.
33607         (FLT_ROUNDS): Expect as macro, not constant.
33608         (FLT_MANT_DIG): Use macro-int-constant.
33609         (DBL_MANT_DIG): Likewise.
33610         (LDBL_MANT_DIG): Likewise.
33611         (FLT_DIG): Likewise.
33612         (DBL_DIG): Likewise.
33613         (LDBL_DIG): Likewise.
33614         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33615         (DBL_MIN_EXP): Likewise.
33616         (LDBL_MIN_EXP): Likewise.
33617         (FLT_MAX_EXP): Use macro-int-constant.
33618         (DBL_MAX_EXP): Likewise.
33619         (LDBL_MAX_EXP): Likewise.
33620         (FLT_MAX_10_EXP): Likewise.
33621         (DBL_MAX_10_EXP): Likewise.
33622         (LDBL_MAX_10_EXP): Likewise.
33623         (FLT_MAX): Use macro-constant.
33624         (DBL_MAX): Likewise.
33625         (LDBL_MAX): Likewise.
33626         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33627         (DBL_EPSILON): Likewise.
33628         (LDBL_EPSILON): Likewise.
33629         (FLT_MIN): Likewise.
33630         (DBL_MIN): Likewise.
33631         (LDBL_MIN): Likewise.
33632         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33633         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33634         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33635         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33636         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33637         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33638         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33639         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33640         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33641         [ISO11] (FLT_TRUE_MIN): Likewise.
33642         [ISO11] (LDBL_TRUE_MIN): Likewise.
33643         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33644         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33645         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33646         (SCHAR_MAX): Likewise.
33647         (UCHAR_MAX): Likewise.
33648         (CHAR_MIN): Likewise.
33649         (CHAR_MAX): Likewise.
33650         (MB_LEN_MAX): Use macro-int-constant.
33651         (SHRT_MIN): Use macro-int-constant.  Specify type.
33652         (SHRT_MAX): Likewise.
33653         (USHRT_MAX): Likewise.
33654         (INT_MAX): Likewise.
33655         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33656         bound negative.
33657         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33658         bound with "U".
33659         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33660         bound with "L".
33661         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33662         bound negative.  Suffix upper bound with "L".
33663         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33664         bound with "UL".
33665         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33666         Specify type.
33667         [C99-based standards] (LLONG_MAX): Likewise.
33668         [C99-based standards] (ULLONG_MAX): Likewise.
33669         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33670         == 0.
33671         [ISO11] (max_align_t): Require type.
33672         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33673
33674         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33675         from $CFLAGS, without defining away __attribute__ calls.
33676         (checknamespace): Use $CFLAGS_namespace.
33677
33678         * conform/conformtest.pl (@keywords): Only include C99 keywords
33679         for standards based on C99 or C11.
33680
33681         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33682         Disable tests.
33683         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33684         UNIX98]: Likewise.
33685
33686         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33687         usability of symbols in #if.
33688
33689         * conform/conformtest.pl: If macro or constant types start
33690         "promoted:", expect the symbol to be of the following type
33691         promoted by the integer promotions.
33692
33693         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33694         in one place.  Also handle "macro-constant".
33695
33696         * conform/conformtest.pl: Only accept expected macro values with
33697         "==".  Parse all "macro" lines in one place.
33698         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33699
33700         * conform/conformtest.pl: Handle braced types on "constant" lines
33701         instead of handling "typed-constant".
33702         * conform/data/signal.h-data: Use "constant" instead of
33703         "typed-constant".
33704
33705         * conform/conformtest.pl: Handle "optional-" at start of lines in
33706         one place rather than duplicating several cases.  Handle each
33707         format of "macro" line with initial "optional-".
33708
33709         * conform/conformtest.pl: Only accept expected constant or
33710         optional-constant values with "==".  Parse all "constant" lines in
33711         one place.  Parse all "optional-constant" lines in one place.
33712         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33713         * conform/data/fmtmsg.h-data: Likewise.
33714         * conform/data/netinet/in.h-data: Likewise.
33715         * conform/data/tar.h-data: Likewise.
33716         * conform/data/limits.h-data: Use "==" form on "constant" and
33717         "optional-constant" lines.
33718
33719         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33720         Use -std=c99 for XOPEN2K.
33721         (@knownproblems): Remove.
33722         (newtoken): Don't check %isknown.
33723
33724         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33725         Do not expect macro.
33726         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33727         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33728         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33729         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33730         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33731         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33732         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33733         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33734         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33735         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33736         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33737         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33738         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33739         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33740         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33741         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33742         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33743         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33744         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33745         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33746         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33747         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33748         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33749         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33750         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33751         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33752         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33753         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33754         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33755         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33756         [XPG3] (acosh): Likewise.
33757         [XPG3] (asinh): Likewise.
33758         [XPG3] (atanh): Likewise.
33759         [XPG3] (cbrt): Likewise.
33760         [XPG3] (expm1): Likewise.
33761         [XPG3] (ilogb): Likewise.
33762         [XPG3] (log1p): Likewise.
33763         [XPG3] (logb): Likewise.
33764         [XPG3] (nextafter): Likewise.
33765         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33766         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33767         [XPG3] (remainder): Likewise.
33768         [XPG3] (rint): Likewise.
33769         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33770         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33771         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33772         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33773         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33774         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33775         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33776         [UNIX98 || XOPEN2K] (scalb): Expect.
33777         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33778         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33779         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33780         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33781         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33782         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33783         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33784         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33785         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33786         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33787         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33788         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33789         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33790         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33791         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33792         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33793         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33794         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33795         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33796         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33799         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33800         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33805         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33806         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33807         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33808         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33809         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33810         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33823         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33824         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33825         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33826         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33827         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33828         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33829         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33830         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33831         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33832         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33833         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33834         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33835         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33836         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33837         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33838         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33839         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33840         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33841         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33842         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33843         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33844         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33845         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33846         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33847         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33848         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33849         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33850         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33851         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33852         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33853         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33854         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33855         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33856         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33857         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33858         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33859         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33860         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33861         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33862         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33863         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33864         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33865         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33866         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33867         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33868         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33869         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33870         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33871         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33872         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33873         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33874         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33875         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33876         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33877         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33878         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33879         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33880         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33881         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33882         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33883         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33884         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33885         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33886         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33887         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33888         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33889         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33890         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33891         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33892         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33893         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33894         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33895         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33896         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33897         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33898         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33899         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33900         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33901         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33902         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33903         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33904         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33905         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33906         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33907         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33908         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33909         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33910         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33911         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33912         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33913         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33914
33915         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33916         _XOPEN_SOURCE_EXTENDED for XPG4.
33917
33918         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33919
33920         * Makeconfig (localtime): Remove variable.
33921         (inst_localtime-file): Likewise.
33922
33923 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33924
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33926         Update.
33927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33928         Update.
33929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33930         Update.
33931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33932         Update.
33933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33934         Update.
33935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33936         Update.
33937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33938         Update.
33939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33940         Update.
33941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33942         Update.
33943
33944 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33945
33946         [BZ #2550]
33947         [BZ #2570]
33948         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33949         comparisons to determine direction to adjust input.
33950         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33951         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33952         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33953         Likewise.
33954         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33955         Likewise.
33956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33957         Likewise.
33958         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33959         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33960         Likewise.
33961         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33962         Likewise.
33963         * math/libm-test.inc (nexttoward_test): Add more tests.
33964
33965 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33966
33967         [BZ #14040]
33968         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33969         in version GLIBC_2.1, not GLIBC_2.0.
33970         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33971         Likewise.
33972
33973 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33974
33975         [BZ #13942]
33976         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33977         (1 - x) * (1 + x).
33978         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33979         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33980         * math/libm-test.inc (acos_test): Add more tests.
33981         (asin_test): Likewise.
33982         * sysdeps/i386/fpu/libm-test-ulps: Update.
33983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33984
33985         [BZ #14034]
33986         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33987         of square root.
33988         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33989         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33990         * math/libm-test.inc (acos_test_tonearest): New function.
33991         (acos_test_towardzero): Likewise.
33992         (acos_test_downward): Likewise.
33993         (acos_test_upward): Likewise.
33994         (asin_test_tonearest): Likewise.
33995         (asin_test_towardzero): Likewise.
33996         (asin_test_downward): Likewise.
33997         (asin_test_upward): Likewise.
33998         (main): Call the new functions.
33999         * sysdeps/i386/fpu/libm-test-ulps: Update.
34000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34001
34002         [BZ #13884]
34003         [BZ #13924]
34004         * math/e_exp10.c: Include <float.h>.
34005         (__ieee754_exp10): Handle underflow here rather than multiplying
34006         large negative argument by M_LN10.
34007         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34008         of __ieee754_expf.
34009         * math/e_exp10l.c: Include <float.h>.
34010         (__ieee754_exp10l): Handle underflow here rather than multiplying
34011         large negative argument by M_LN10l.
34012         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34013         spurious overflow exception on underflow.
34014
34015 2012-04-29  Marek Polacek  <polacek@redhat.com>
34016
34017         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34018         (__fortify_function): New macro.
34019         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34020         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34021         __extern_always_inline.
34022         * libio/bits/stdio2.h: Likewise.
34023         * libio/bits/stdio.h: Likewise.
34024         * string/string.h: Likewise.
34025         * string/bits/string3.h: Likewise.
34026         * include/stdio.h: Likewise.
34027         * stdlib/bits/stdlib.h: Likewise.
34028         * stdlib/stdlib.h: Likewise.
34029         * rt/bits/mqueue2.h: Likewise.
34030         * rt/mqueue.h: Likewise.
34031         * posix/bits/unistd.h: Likewise.
34032         * posix/unistd.h: Likewise.
34033         * io/bits/poll2.h: Likewise.
34034         * io/bits/fcntl2.h: Likewise.
34035         * io/fcntl.h: Likewise.
34036         * io/sys/poll.h: Likewise.
34037         * misc/bits/syslog.h: Likewise.
34038         * misc/bits/syslog-ldbl.h: Likewise.
34039         * misc/sys/syslog.h: Likewise.
34040         * socket/bits/socket2.h: Likewise.
34041         * socket/sys/socket.h: Likewise.
34042         * debug/tst-chk1.c: Likewise.
34043         * wcsmbs/bits/wchar2.h: Likewise.
34044         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34045         * wcsmbs/wchar.h: Likewise.
34046
34047 2012-04-29  Andreas Jaeger  <aj@suse.de>
34048
34049         * Makerules (tests): Remove enable-check-abi protection.
34050         (check-abi-warn): Remove.
34051         (check-abi-%): Remove check-abi-warn usage.
34052
34053         * configure.in: Remove check-abi configure option.
34054         * configure: Regenerated.
34055         * config.make.in (enable-check-abi): Remove.
34056
34057 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34058
34059         [BZ #14033]
34060         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34061         double functions to double *_finite functions.
34062
34063         [BZ #13941]
34064         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34065         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34066         LDBL_MIN_EXP.
34067         * stdio-common/Makefile (tests): Add tst-sprintf3.
34068         * stdio-common/tst-sprintf3.c: New file.
34069
34070         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34071         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34072
34073 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34074
34075         * conform/conformtest.pl: Remove duplicate typed-constant
34076         handling.
34077
34078 2012-04-28  David S. Miller  <davem@davemloft.net>
34079
34080         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34081         (check-abi-%): Remove AWK script prerequisite and explicit
34082         abilist directory.
34083         (check-abi): Rewrite to just diff the symlist with the abilist.
34084         (config-tls, config-abi-config): Delete, no longer used.
34085         (update-abi-%): Remove AWK script and explicit abilist directory.
34086         (update-abi): Rewrite to simply compare and conditionally copy the
34087         symlist and the sysdep abilist file.  Remove update-abi-config
34088         checks.
34089         * abilist/ld.abilist: Remove.
34090         * abilist/libBrokenLocale.abilist: Remove.
34091         * abilist/libanl.abilist: Remove.
34092         * abilist/libcrypt.abilist: Remove.
34093         * abilist/libdl.abilist: Remove.
34094         * abilist/librt.abilist: Remove.
34095         * abilist/libthread_db.abilist: Remove.
34096         * abilist/libutil.abilist: Remove.
34097         * scripts/extract-abilist.awk: Remove.
34098         * scripts/merge-abilist.awk: Remove.
34099         * sysdeps/generic/libcidn.abilist: New file.
34100         * sysdeps/generic/libnss_compat.abilist: New file.
34101         * sysdeps/generic/libnss_db.abilist: New file.
34102         * sysdeps/generic/libnss_dns.abilist: New file.
34103         * sysdeps/generic/libnss_files.abilist: New file.
34104         * sysdeps/generic/libnss_hesiod.abilist: New file.
34105         * sysdeps/generic/libnss_nis.abilist: New file.
34106         * sysdeps/generic/libnss_nisplus.abilist: New file.
34107         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34108         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34109         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34110         file.
34111         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34112         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34113         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34114         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34115         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34116         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34117         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34118         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34119         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34120         file.
34121         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34122         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34123         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34124         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34125         file.
34126         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34127         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34128         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34129         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34130         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34131         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34132         file.
34133         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34134         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34135         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34136         file.
34137         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34139         New file.
34140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34141         New file.
34142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34143         New file.
34144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34145         New file.
34146         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34147         New file.
34148         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34149         New file.
34150         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34151         New file.
34152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34153         New file.
34154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34155         New file.
34156         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34157         New file.
34158         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34159         New file.
34160         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34161         New file.
34162         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34163         New file.
34164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34165         file.
34166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34167         New file.
34168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34169         New file.
34170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34171         file.
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34173         New file.
34174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34175         New file.
34176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34177         file.
34178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34179         New file.
34180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34181         New file.
34182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34183         New file.
34184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34185         New file.
34186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34187         New file.
34188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34189         New file.
34190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34192         file.
34193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34194         New file.
34195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34196         file.
34197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34198         file.
34199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34200         file.
34201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34202         file.
34203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34204         file.
34205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34206         New file.
34207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34208         file.
34209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34210         file.
34211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34212         New file.
34213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34214         file.
34215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34217         file.
34218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34219         New file.
34220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34221         file.
34222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34223         file.
34224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34225         file.
34226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34227         file.
34228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34229         file.
34230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34231         New file.
34232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34233         file.
34234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34235         file.
34236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34237         New file.
34238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34239         file.
34240         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34241         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34242         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34243         file.
34244         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34245         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34246         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34247         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34248         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34249         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34250         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34251         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34252         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34253         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34256         file.
34257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34258         New file.
34259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34260         file.
34261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34262         file.
34263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34264         file.
34265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34266         file.
34267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34268         file.
34269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34270         New file.
34271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34272         New file.
34273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34274         file.
34275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34276         New file.
34277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34278         file.
34279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34281         file.
34282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34283         New file.
34284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34285         file.
34286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34287         file.
34288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34289         file.
34290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34291         file.
34292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34293         file.
34294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34295         New file.
34296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34297         New file.
34298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34299         file.
34300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34301         New file.
34302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34303         file.
34304
34305 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34306
34307         * conform/conformtest.pl: Fix typo in handling typed-constant from
34308         allow-header.
34309
34310 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34311
34312         * README: Cut down references to pre-2.6 Linux kernels and
34313         Linuxthreads.  Update lists of configurations in libc and ports
34314         and sort alphabetically.  Say "or newer" with Linux kernel version
34315         requirements.
34316
34317         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34318
34319 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34320
34321         [BZ #887]
34322         * math/libm-test.inc (logb_test_downward): New test to expose
34323         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34324         rounding mode.
34325
34326 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34327
34328         [BZ #14027]
34329         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34330         to be done.
34331         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34332         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34333
34334 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34335
34336         * sysdeps/unix/i386/brk.S: Remove file.
34337         * sysdeps/unix/i386/dl-brk.S: Likewise.
34338         * sysdeps/unix/i386/pipe.S: Likewise.
34339         * sysdeps/unix/i386/sigreturn.S: Likewise.
34340         * sysdeps/unix/i386/syscall.S: Likewise.
34341         * sysdeps/unix/i386/vfork.S: Likewise.
34342         * sysdeps/unix/i386/wait.S: Likewise.
34343
34344         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34345         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34346
34347         * configure.in (arm*-none*): Do not allow without
34348         --enable-hacker-mode.
34349         (netbsd*): Remove case setting base_os.
34350         (386bsd*): Likewise.
34351         (freebsd*): Likewise.
34352         (bsdi*): Likewise.
34353         (osf*): Likewise.
34354         (sunos*): Likewise.
34355         (ultrix*): Likewise.
34356         (newsos*): Likewise.
34357         (dynix*): Likewise.
34358         (*bsd*): Likewise.
34359         (sysv*): Likewise.
34360         (isc*): Likewise.
34361         (esix*): Likewise.
34362         (sco*): Likewise.
34363         (minix*): Likewise.
34364         (irix4*): Likewise.
34365         (irix6*): Likewise.
34366         (solaris[2-9]*): Likewise.
34367         (none): Likewise.
34368         * configure: Regenerated.
34369
34370 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34371
34372         [BZ #11521]
34373         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34374         overflow or cancellation in calculating denominator.
34375         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34376         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34377         down expression to avoid unexpected rounding in newer GCCs.
34378         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34379
34380 2012-04-26  David S. Miller  <davem@davemloft.net>
34381
34382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34383         long-double compat symbols.
34384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34397
34398 2012-04-25  David S. Miller  <davem@davemloft.net>
34399
34400         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34401         HWCAP_* values only after the memory barriers have been defined.
34402         (atomic_full_barrier): Define.
34403         (atomic_read_barrier): Define.
34404         (atomic_write_barrier): Define.
34405
34406 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34407
34408         * shlib-versions: Add libgcc_s version information.
34409         * sysdeps/generic/libgcc_s.h: Remove.
34410         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34411         libgcc_s.h.
34412         * sysdeps/gnu/unwind-resume.c: Likewise.
34413         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34414
34415 2012-04-25  David S. Miller  <davem@davemloft.net>
34416
34417         * sysdeps/unix/sparc/brk.S: Delete.
34418         * sysdeps/unix/sparc/dl-brk.S: Delete.
34419         * sysdeps/unix/sparc/pipe.S: Delete.
34420         * sysdeps/unix/sparc/sysdep.S: Delete.
34421         * sysdeps/unix/sparc/sysdep.h: Delete.
34422         * sysdeps/unix/sparc/vfork.S: Delete.
34423         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34424         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34425         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34426         (ret_ERRVAL, r0, r1, MOVE): Define.
34427         (JUMPTARGET): Remove.
34428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34429         sysdeps/unix/sparc/sysdep.h
34430         (ENTRY, END): Remove.
34431         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34432
34433 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34434
34435         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34436         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34437         -DIS_IN_build.
34438
34439         * timezone/README: Update upstream location and email address for
34440         tzcode and tzdata.
34441         * timezone/zdump.c: Update from tzcode 2012b.
34442         * timezone/zic.c: Likewise.
34443
34444         * configure.in (libc_cv_as_needed): Remove test.
34445         * configure: Regenerated.
34446         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34447         conditional definition.
34448         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34449         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34450         * config.make.in (have-as-needed): Remove variable.
34451
34452 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34453             Paul Pluzhnikov  <ppluzhnikov@google.com>
34454
34455         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34456         strings correctly.
34457
34458 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34459
34460         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34461         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34462         * sysdeps/sh/strlen.S: Likewise.
34463
34464 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34465
34466         * sysdeps/unix/fork.S: Remove file.
34467         * sysdeps/unix/i386/fork.S: Likewise.
34468         * sysdeps/unix/sparc/fork.S: Likewise.
34469
34470         * sysdeps/unix/system.c: Remove file.
34471         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34472
34473         * sysdeps/unix/getegid.S: Remove file.
34474         * sysdeps/unix/geteuid.S: Likewise.
34475
34476 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34477
34478         * scripts/check-localplt.awk: New file.
34479         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34480         of diff.
34481         * scripts/data/localplt-generic.data: Add a comment.
34482
34483         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34484         NODE when __dir_mkfile failed.
34485         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34486         Reported by Ludovic Courtès <ludo@gnu.org>.
34487
34488 2012-04-24  Andreas Jaeger  <aj@suse.de>
34489
34490         * Makerules (common-clean): Also remove gen-as-const-headers
34491         files.
34492
34493 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34494
34495         * Makerules (native-compile): Do not change working directory for
34496         build.  Use $(OUTPUT_OPTION) in command.
34497         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34498
34499 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34500
34501         [BZ #13886]
34502         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34503         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34504         * math/libm-test.inc (floor_test): Add more tests.
34505         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34506
34507 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34508
34509         * sysdeps/unix/getdents.c: Remove file.
34510         * sysdeps/unix/sysv/getdents.c: Likewise.
34511         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34512
34513         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34514         sysdeps/unix/mman/syscalls.list.
34515         (mmap): Likewise.
34516         (mprotect): Likewise.
34517         (msync): Likewise.
34518         (munmap): Likewise.
34519         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34520         * sysdeps/unix/mman/syscalls.list: Remove.
34521         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34522
34523         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34524         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34525         * configure: Regenerated.
34526         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34527         $(libgcc_s_suffix).
34528         * config.make.in (libgcc_s_suffix): Remove variable.
34529
34530 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34531
34532         * sysdeps/unix/sysv/gethostname.c: Move to ...
34533         * sysdeps/posix/gethostname.c: ... here.
34534
34535         * sysdeps/unix/execve.S: Remove file.
34536
34537         * sysdeps/unix/_exit.S: Remove file.
34538
34539 2012-04-23  Andreas Jaeger  <aj@suse.de>
34540
34541         [BZ #13739]
34542         * manual/Makefile: Remove make dist support, there's no
34543         need for a stand-alone documentation tar ball.
34544         (TEXI2DVI): Define always, it's not in Makeconfig.
34545         (dist): Removed.
34546         (tar-it): Removed.
34547         (edition): Removed.
34548         (glibc-doc-$(edition).tar): Removed
34549         (%.Z): Removed.
34550         (%.gz): Removed.
34551         (%.uu): Removed.
34552         (ETAGS): Remove, it's in Makeconfig.
34553         (move-if-change): Remove, it's in Makeconfig.
34554
34555 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34556
34557         [BZ #13970]
34558         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34559         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34560         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34561         (strtod_l, strtof_l, strtold_l): Remove __wur.
34562         It is not necessarily an error to ignore strtol's return value.
34563         One can reliably look at the stored endptr to decide whether
34564         the number had valid syntax.
34565
34566 2012-04-21  Andreas Jaeger  <aj@suse.de>
34567
34568         [BZ #13739]
34569         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34570
34571 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34572
34573         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34574         * sysdeps/unix/sysv/Versions: Remove file.
34575
34576 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34577
34578         [BZ #13927]
34579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34580
34581 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34582
34583         [BZ #7064]
34584         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34585         version from __vm86.
34586
34587 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34588
34589         * sysdeps/unix/common/lxstat.c: Remove file.
34590         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34591
34592         * sysdeps/unix/sysv/Makefile: Remove file.
34593
34594         * sysdeps/unix/sysv/direct.h: Remove file.
34595
34596         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34597         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34598         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34599         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34600         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34601         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34602         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34603
34604         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34605
34606         * sysdeps/unix/xmknod.c: Remove file.
34607         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34608
34609         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34610
34611         * sysdeps/unix/sysv/i386/time.S: Remove file.
34612
34613         * sysdeps/unix/fxstat.c: Remove file.
34614         * sysdeps/unix/xstat.c: Likewise.
34615         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34616
34617         * sysdeps/unix/sysv/sigaction.c: Remove file.
34618
34619         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34620         (sysdep_headers): Remove variable.
34621         [termio.h not in sysdep_headers] (generated): Likewise.
34622         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34623         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34624         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34625         * sysdeps/unix/sysv/tcflow.c: Likewise.
34626         * sysdeps/unix/sysv/tcflush.c: Likewise.
34627         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34628         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34629         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34630         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34631         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34632
34633         * sysdeps/unix/siglist.c: Remove file.
34634
34635         * sysdeps/unix/getppid.S: Remove file.
34636
34637         * sysdeps/unix/mkdir.c: Remove file.
34638         * sysdeps/unix/rmdir.c: Likewise.
34639
34640 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34641
34642         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34643         ERR_MAX value.
34644         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34645         errlist-compat value.
34646
34647 2012-04-18  David S. Miller  <davem@davemloft.net>
34648
34649         * sysdeps/generic/memcopy.h (reg_char): Delete.
34650         * debug/strcat_chk.c: Use char, not reg_char.
34651         * debug/strcpy_chk.c: Likewise.
34652         * debug/strncat_chk.c: Likewise.
34653         * debug/strncpy_chk.c: Likewise.
34654         * string/memchr.c: Likewise.
34655         * string/memrchr.c: Likewise.
34656         * string/rawmemchr.c: Likewise.
34657         * string/strcat.c: Likewise.
34658         * string/strchr.c: Likewise.
34659         * string/strchrnul.c: Likewise.
34660         * string/strcmp.c: Likewise.
34661         * string/strcpy.c: Likewise.
34662         * string/strncat.c: Likewise.
34663         * string/strncmp.c: Likewise.
34664         * string/strncpy.c: Likewise.
34665
34666 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34667
34668         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34669         __builtin_memcopy is called when src and dest ranges are known to not
34670         overlap.
34671
34672 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34673
34674         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34675         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34676         fwd_align_merge macro call.
34677         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34678         bwd_align_merge macro call.
34679         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34680
34681 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34682
34683         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34684         bwd_align_merge macros.
34685         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34686         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34687         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34688
34689 2012-04-18  David S. Miller  <davem@davemloft.net>
34690
34691         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34692
34693 2012-04-18  Andreas Jaeger  <aj@suse.de>
34694
34695         [BZ# 6794]
34696         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34697         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34698         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34699
34700         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34701         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34702         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34703
34704         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34705         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34706         Adjust for changed ldbl-128 files.
34707
34708         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34709         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34710         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34711
34712 2012-04-17  David S. Miller  <davem@davemloft.net>
34713
34714         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34715
34716 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34717
34718         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34719         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34720         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34721         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34722         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34723         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34724
34725 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34726
34727         [BZ #6794]
34728         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34729         * math/libm-test.inc: Add ilogb errno and exception tests.
34730         * math/w_ilogb.c: New file: ilogb wrapper.
34731         * math/w_ilogbf.c: New file: ilogbf wrapper.
34732         * math/w_ilogbl.c: New file: ilogbl wrapper.
34733         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34734         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34735         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34736         exception being thrown with 0.0 as argument.
34737         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34738         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34739         exception being thrown with 0.0 as argument.
34740         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34741         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34742         exception being thrown with 0.0 as argument.
34743         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34744         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34745         exception being thrown with 0.0 as argument.
34746         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34747         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34748         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34749         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34750         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34751         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34752         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34753         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34754         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34755
34756 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34757
34758         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34759         with altivec.
34760
34761 2012-04-16  Marek Polacek  <polacek@redhat.com>
34762
34763         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34764
34765 2012-04-16  Marek Polacek  <polacek@redhat.com>
34766
34767         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34768         operands of fdivp instruction.
34769
34770 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34771
34772         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34773         * elf/tst-auditmod3b.c: Likewise.
34774         * elf/tst-auditmod4b.c: Likewise.
34775         * elf/tst-auditmod5b.c: Likewise.
34776         * elf/tst-auditmod6b.c: Likewise.
34777         * elf/tst-auditmod6c.c: Likewise.
34778         * elf/tst-auditmod7b.c: Likewise.
34779         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34780         * sysdeps/x86_64/preconfigure.in: Likewise.
34781         * sysdeps/x86_64/preconfigure: Regenerated.
34782
34783 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34784
34785         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34786         __ILP32__.
34787
34788 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34789
34790         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34791         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34792
34793 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34794
34795         [BZ #13973]
34796         * locale/iso-639.def: Fix gl language name. Spotted by
34797         Yaron Shahrabani.
34798
34799 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34800
34801         [BZ #2074]
34802         * libio/libio.h (__io_write_fn): Update comment.
34803
34804 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34805
34806         [BZ #2074]
34807         * stdio.texi (Hook Functions): The user provided writer function
34808         is not allowed to return -1.
34809
34810 2012-04-11  David S. Miller  <davem@davemloft.net>
34811
34812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34813
34814 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34815
34816         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34817         Add a leading slash to rtkaio.
34818
34819 2012-04-11  Jim Meyering  <meyering@redhat.com>
34820
34821         [BZ #11959]
34822         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34823         It is not necessarily an error to ignore fwrite's return
34824         value.  One can reliably use ferror to test for errors after
34825         the fact.
34826
34827 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34828
34829         * bits/types.h (__snseconds_t): New type.
34830         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34831
34832         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34834         (__SNSECONDS_T_TYPE): Likewise.
34835         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34836         (__SNSECONDS_T_TYPE): Likewise.
34837         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34838         (__SNSECONDS_T_TYPE): Likewise.
34839
34840 2012-04-10  Andreas Jaeger  <aj@suse.de>
34841
34842         [BZ #2636]
34843         * manual/time.texi (Processor Time): Return type of times is
34844         elapsed real time since an arbitrary point in the past.
34845         (CPU Time): Move CLK_TCK from here...
34846         (Processor Time): ...to here.  Correct description.
34847         * manual/conf.texi (Constants for Sysconf): Correct description of
34848         _SC_CLK_TCK.
34849
34850 2012-04-10  David S. Miller  <davem@davemloft.net>
34851
34852         [BZ #13967]
34853         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34854         where the is a gap between DT_REL(A) and DT_JMPREL.
34855
34856 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34857
34858         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34859         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34860         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34861
34862 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34863
34864         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34865         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34866         (dl_main): Handle --inhibit-cache.
34867         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34868         _dl_inhibit_cache.
34869         * elf/dl-load.c (_dl_map_object): Use it.
34870         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34871
34872 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34873
34874         [BZ #13872]
34875         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34876         (__ieee754_powl): Saturate large exponents rather than testing for
34877         overflow of y*log2(x).
34878         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34879         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34880         exceptions.
34881
34882         [BZ #11521]
34883         * math/s_ctan.c: Include <float.h>.
34884         (__ctan): Avoid internal overflow or cancellation in calculating
34885         denominator.
34886         * math/s_ctanf.c: Likewise.
34887         * math/s_ctanl.c: Likewise.
34888         * math/s_ctanh.c: Likewise.
34889         * math/s_ctanhf.c: Likewise.
34890         * math/s_ctanhl.c: Likewise.
34891         * math/libm-test.inc (ctan_test): Add more tests.
34892         (ctanh_test): Likewise.
34893         * sysdeps/i386/fpu/libm-test-ulps: Update.
34894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34895
34896 2012-04-09  Andreas Jaeger  <aj@suse.de>
34897
34898         [BZ #6894]
34899         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34900         is an optional BSD extension.
34901
34902         [BZ #10254]
34903         * manual/stdio.texi (Opening Streams): Document additional fopen
34904         parameters.
34905
34906 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34907
34908         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34909         %eax without telling the compiler.
34910
34911 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34912
34913         [BZ # 13963]
34914         * manual/install.texi: Use sourceware.org.
34915
34916 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34917
34918         [BZ #13873]
34919         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34920         (__ieee754_pow): Generate overflow and underflow using huge*huge
34921         and tiny*tiny rather than just returning constant infinity or zero
34922         for large exponents.
34923         * math/libm-test.inc (pow_test): Require overflow exceptions for
34924         applicable cases of large exponents.
34925
34926         [BZ #706]
34927         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34928         (__ieee754_pow): Use iterative multiplication algorithm only for
34929         integer exponents with absolute value below 1024.  Check for odd
34930         integer exponents when using algorithm for real exponents.
34931         * math/libm-test.inc (pow_test): Add more tests.
34932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34933
34934 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34935
34936         [BZ #13705]
34937         * math/libm-test.inc (exp_test): Do not allow overflow exception
34938         on underflow test.
34939
34940 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34941
34942         [BZ #13705]
34943         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34944         instead of __kernel_standard_f.
34945
34946 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34947
34948         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34949         * sysdeps/x86_64/memset_chk.S: Likewise.
34950
34951 2012-04-08  Andreas Jaeger  <aj@suse.de>
34952
34953         [BZ #10153]
34954         * manual/startup.texi (Environment Access): Describe return value
34955         for putenv and setenv.
34956
34957         [BZ #6895]
34958         * manual/filesys.texi (Directory Entries): Add description for
34959         DT_LNK.
34960
34961         [BZ #6890]
34962         * manual/filesys.texi (Directory Entries): Clarify that it's file
34963         system not operating system in the description of DT_UNKNOWN.
34964
34965         [BZ #6578]
34966         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34967
34968 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34969
34970         [BZ #6649]
34971         * manual/llio.texi (Opening and Closing Files): Add cross
34972         reference to explain mode argument.
34973
34974 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34975
34976         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34977         * sysdeps/x86_64/memset_chk.S: Likewise.
34978
34979 2012-04-07  David S. Miller  <davem@davemloft.net>
34980
34981         * elf/elf.h (R_SPARC_WDISP10): Define.
34982         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34983         R_SPARC_SIZE32.
34984         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34985         R_SPARC_SIZE64 and R_SPARC_H34.
34986
34987 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34988
34989         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34990         conditions and remove no longer applicable assertion.
34991
34992 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34993
34994         * bits/byteswap.h: Include <features.h>.
34995         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34996         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34997
34998 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34999
35000         * bits/byteswap.h (__bswap_16): Removed.
35001         Include <bits/byteswap-16.h> to get __bswap_16.
35002         * sysdeps/i386/bits/byteswap.h: Likewise.
35003         * sysdeps/s390/bits/byteswap.h: Likewise.
35004         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35005         * bits/byteswap-16.h: New file.
35006         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35007         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35008         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35009         * string/Makefile (headers): Add bits/byteswap-16.h.
35010
35011 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35012
35013         [BZ #13895]
35014         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35015         extra indirection.
35016         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35017         * nss/tst-nss-static.c: New.
35018
35019 2012-04-06  Robert Millan  <rmh@gnu.org>
35020
35021         [BZ #6486]
35022         * manual/llio.texi (File Position Primitive): lseek
35023         refers to WHENCE when it really means OFFSET.
35024
35025 2012-04-06  Andreas Jaeger  <aj@suse.de>
35026
35027         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35028         strncmp declarations.
35029
35030         * abilist/libc.abilist: Add __poll and __ppoll.
35031
35032 2012-04-05  David S. Miller  <davem@davemloft.net>
35033
35034         * scripts/check-local-headers.sh: Accept a host triplet in the
35035         path matched by the exclude regexp.
35036
35037         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35038         definition.
35039         * sysdeps/powerpc/powerpc32/dl-machine.h
35040         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35041         * sysdeps/s390/s390-32/dl-machine.h
35042         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35043         * sysdeps/sparc/sparc32/dl-machine.h
35044         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35045         * sysdeps/sparc/sparc64/dl-machine.h
35046         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35047
35048         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35049         lazy binding.
35050         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35051         undefined symbol errors.
35052
35053         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35054         DT_NEEDED entries.
35055
35056 2012-04-05  Michael Matz  <matz@suse.de>
35057
35058         [BZ #13592]
35059         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35060
35061 2012-04-05  Andreas Jaeger  <aj@suse.de>
35062
35063         [BZ #13908]
35064         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35065         comment.
35066
35067 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35068
35069         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35070         which ROUND is no valid rounding mode.
35071
35072 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35073
35074         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35075         read again.
35076         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35077
35078 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35079
35080         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35081         an exception using FPU order intentionally.
35082
35083 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35084
35085         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35086         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35087         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35088         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35089
35090 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35091
35092         [BZ #12340]
35093         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35094         EINVAL when BUFLEN is too smal.
35095
35096 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35097
35098         [BZ #13553]
35099         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35100         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35101
35102 2012-04-03  Andreas Jaeger  <aj@suse.de>
35103
35104         [BZ #13938]
35105         * manual/setjmp.texi (System V contexts): Fix sentence.
35106
35107         [BZ #13926]
35108         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35109         New macro for this case.
35110         [!__GNUC__] (__bswap_64): New inline function for this case.
35111         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35112         * bits/byteswap.h: Likewise.
35113         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35114         ull, guard with __GLIBC_HAVE_LONG_LONG.
35115
35116         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35117         __GLIBC_HAVE_LONG_LONG.
35118
35119         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35120         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35121
35122 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35123
35124         [BZ #13691]
35125         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35126         inptr and inend, rather than using last_ch.
35127
35128 2012-04-02  David S. Miller  <davem@davemloft.net>
35129
35130         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35131         * stdio-common/printf-parse.h (read_int): Change return type to
35132         'int', return -1 on INT_MAX overflow.
35133         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35134         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35135         overflows INT_MAX.  Check for overflow of in-format-string precision
35136         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35137         SIZE_MAX not INT_MAX for integer overflow test.
35138         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35139         skip the construct in the format string but do not record anything.
35140         * stdio-common/bug22.c: Adjust to test both width/prevision
35141         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35142         explicitly for proper errno values.
35143
35144 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35145
35146         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35147         CHAR_MAX.
35148         * string/test-strcmp.c [! WIDE]: Likewise.
35149         * time/tst-mktime2.c: Likewise for INT_MAX.
35150         * string/test-string.h: #include <sys/param.h> for MIN.
35151
35152         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35153         * sysdeps/i386/init-first.c (init): Likewise.
35154         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35155         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35156         * sysdeps/sh/init-first.c (init): Likewise.
35157
35158 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35159
35160         * po/ru.po: Update from translation team.
35161         * po/vi.po: Likewise.
35162
35163 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35164
35165         * resolv/nss_dns/dns-host.c: Merge copyright years.
35166
35167 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35168
35169         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35170         Optimize memcpy with prefetch if
35171         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35172         src, dst pointers have unequal 16 byte alignments.
35173
35174 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35175
35176         [BZ #13928]
35177         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35178         from a CNAME entry and return the minimum ttl for the query.
35179         (gaih_getanswer_slice): Likewise.
35180
35181 2012-03-30  Jeff Law  <law@redhat.com>
35182
35183         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35184         due to long keys.
35185         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35186         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35187
35188         * resolv/nss_dns/dns-host.c: Update copyright year.
35189
35190 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35191
35192         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35193         requests to save a system call.  Fix check that all bytes are sent.
35194
35195         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35196         comments for sendmmsg.
35197
35198 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35199
35200         [BZ #13691]
35201         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35202         with only 1 character between 0x0041 and 0x01b0.
35203         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35204         * wcsmbs/tst-mbsnrtowcs.c: New file.
35205
35206 2012-03-29  David S. Miller  <davem@davemloft.net>
35207
35208         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35209         small copies by hand.
35210
35211 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35212
35213         [BZ #13761]
35214         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35215         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35216         group memberships.
35217
35218 2012-03-28  David S. Miller  <davem@davemloft.net>
35219
35220         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35221         that branches into memcpy.
35222         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35223         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35224         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35225         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35226         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35227         bits.
35228         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35229         implementation too.
35230         * sysdeps/sparc/mempcpy.S: New file.
35231
35232         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35233         the IFUNC routine in the libc case.
35234         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35235
35236         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35237         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35238         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35239         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35240         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35241         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35242         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35243         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35244
35245         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35246         loop to 256 bytes instead of 64 bytes and fix test signedness.
35247
35248         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35249         * sysdeps/sparc/sparc32/Makefile: rather than here...
35250         * sysdeps/sparc/sparc64/Makefile: and here.
35251
35252 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35253
35254         * malloc/mallocbug.c: Avoid warnings about unused variables.
35255
35256 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35257
35258         [BZ #13760]
35259         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35260         in the right place. Discard and retry query if response is
35261         larger than input buffer size.
35262
35263 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35264
35265         [BZ #369]
35266         [BZ #2678]
35267         [BZ #3866]
35268         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35269         x for large integer exponent.
35270         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35271         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35272         sign of result as needed afterwards.
35273         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35274         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35275         result for underflowing pow the same as for overflow.
35276         (__kernel_standard_l): Handle powl overflow and underflow here
35277         rather than calling __kernel_standard.
35278         * math/libm-test.inc (pow_test): Add more tests.
35279
35280         [BZ #3868]
35281         [BZ #13879]
35282         [BZ #13910]
35283         [BZ #13911]
35284         [BZ #13912]
35285         [BZ #13913]
35286         [BZ #13915]
35287         [BZ #13916]
35288         [BZ #13917]
35289         [BZ #13918]
35290         [BZ #13919]
35291         [BZ #13920]
35292         [BZ #13921]
35293         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35294         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35295         (__kernel_standard_l): New function.
35296         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35297         __kernel_standard.
35298         * math/w_acosl.c (__acosl): Likewise.
35299         * math/w_asinl.c (__asinl): Likewise.
35300         * math/w_atan2l.c (__atan2l): Likewise.
35301         * math/w_atanhl.c (__atanhl): Likewise.
35302         * math/w_coshl.c (__coshl): Likewise.
35303         * math/w_exp10l.c (__exp10l): Likewise.
35304         * math/w_exp2l.c (__exp2l): Likewise.
35305         * math/w_fmodl.c (__fmodl): Likewise.
35306         * math/w_hypotl.c (__hypotl): Likewise.
35307         * math/w_j0l.c (__j0l, __y0l): Likewise.
35308         * math/w_j1l.c (__j1l, __y1l): Likewise.
35309         * math/w_jnl.c (__jnl, __ynl): Likewise.
35310         * math/w_lgammal.c (__lgammal): Likewise.
35311         * math/w_log10l.c (__log10l): Likewise.
35312         * math/w_log2l.c (__log2l): Likewise.
35313         * math/w_logl.c (__logl): Likewise.
35314         * math/w_powl.c (__powl): Likewise.
35315         * math/w_remainderl.c (__remainderl): Likewise.
35316         * math/w_scalbl.c (sysv_scalbl): Likewise.
35317         * math/w_sinhl.c (__sinhl): Likewise.
35318         * math/w_sqrtl.c (__sqrtl): Likewise.
35319         * math/w_tgammal.c (__tgammal): Likewise.
35320         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35321         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35322         * math/libm-test.inc (acos_test): Add more tests.
35323         (acosh_test): Likewise.
35324         (asin_test): Likewise.
35325         (atanh_test): Likewise.
35326         (exp_test): Likewise.
35327         (exp10_test): Likewise.
35328         (exp2_test): Likewise.
35329         (expm1_test): Likewise.
35330         (lgamma_test): Likewise.
35331         (log_test): Likewise.
35332         (log10_test): Likewise.
35333         (log1p_test): Likewise.
35334         (log2_test): Likewise.
35335         (pow_test): Do not allow some spurious overflow exceptions.
35336         (sqrt_test): Add more tests.
35337         (tgamma_test): Likewise.
35338         (y0_test): Likewise.
35339         (y1_test): Likewise.
35340         (yn_test): Likewise.
35341
35342 2012-03-27  Anton Blanchard  <anton@samba.org>
35343
35344         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35345         MAP_HUGETLB.
35346         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35347         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35348         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35349
35350 2012-03-27  David S. Miller  <davem@davemloft.net>
35351
35352         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35353
35354         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35355         have-as-vis3 check.
35356
35357 2012-03-27  Andreas Jaeger  <aj@suse.de>
35358
35359         * sysdeps/x86_64/elf/configure.in: Moved to ...
35360         * sysdeps/x86_64/configure.in: ... here.
35361         * sysdeps/x86_64/elf/start.S: Moved to ...
35362         * sysdeps/x86_64/start.S: ... here.
35363         * sysdeps/x86_64/elf/configure: Delete.
35364
35365         * sysdeps/x86_64/configure.in: Merge contents from
35366         sysdeps/i386/configure.in (without i686 check).
35367
35368         * sysdeps/i386/elf/Versions: Merge into ...
35369         * sysdeps/i386/Versions: ... this.
35370         * sysdeps/i386/elf/Versions: Delete file.
35371         * sysdeps/i386/elf/start.S: Moved to ...
35372         * sysdeps/i386/start.S: ...here.
35373         * sysdeps/i386/elf/configure.in: Merge into...
35374         * sysdeps/i386/configure.in: ...here.
35375         * sysdeps/i386/elf/configure.in: Delete file.
35376         * sysdeps/i386/elf/configure: Delete file.
35377
35378         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35379         * debug/backtracesyms.c: ... here.
35380         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35381         * debug/backtracesymsfd.c: ... here.
35382         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35383         * sysdeps/generic/ifunc-sel.h: ... here.
35384
35385         * sysdeps/unix/i386/start.c: Delete file.
35386         * sysdeps/unix/sparc/start.c: Delete file.
35387         * sysdeps/unix/start.c: Delete file.
35388
35389         * sysdeps/sh/elf/configure.in: Moved to ...
35390         * sysdeps/sh/configure.in: ... here.
35391         * sysdeps/sh/elf/start.S: Moved to ...
35392         * sysdeps/sh/start.S: ... here.
35393         * sysdeps/sh/elf/configure: Delete file.
35394
35395         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35396         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35397         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35398         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35399         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35400         * sysdeps/powerpc/powerpc64/start.S: here.
35401         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35402         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35403         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35404         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35405         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35406
35407         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35408         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35409         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35410         * sysdeps/powerpc/powerpc32/start.S: ... here.
35411         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35412         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35413         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35414
35415         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35416         * sysdeps/powerpc/ifunc-sel.h: ... here.
35417         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35418         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35419
35420         * sysdeps/sparc/elf/configure.in: Moved to ...
35421         * sysdeps/sparc/configure.in: ... here.
35422         * sysdeps/sparc/elf/configure: Delete file.
35423         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35424         * sysdeps/sparc/sparc32/start.S: ... here.
35425         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35426         * sysdeps/sparc/sparc64/start.S: ... here.
35427         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35428         * sysdeps/sparc/sparc32/Makefile: ... this.
35429         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35430         * sysdeps/sparc/sparc64/Makefile: ... this.
35431
35432         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35433         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35434         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35435         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35436         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35437         * sysdeps/s390/s390-32/setjmp.S: ... here.
35438         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35439         * sysdeps/s390/s390-32/configure.in: ... here.
35440         * sysdeps/s390/s390-32/elf/configure: Delete file.
35441         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35442         * sysdeps/s390/s390-32/start.S: ... here.
35443
35444         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35445         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35446         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35447         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35448         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35449         * sysdeps/s390/s390-64/setjmp.S: ... here.
35450         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35451         * sysdeps/s390/s390-64/configure.in: ... here
35452         * sysdeps/s390/s390-64/elf/configure: Delete file.
35453         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35454         * sysdeps/s390/s390-64/start.S: ... here.
35455         * sysdeps/s390/s390-64/elf/configure: Delete.
35456
35457         * configure.in: Remove support for elf directories in sysdeps.
35458
35459         * configure: Regenerated.
35460         * sysdeps/i386/configure: Regenerated.
35461         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35462         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35463         * sysdeps/s390/s390-32/configure: Regenerated.
35464         * sysdeps/s390/s390-64/configure: Regenerated.
35465         * sysdeps/sh/configure: Regenerated.
35466         * sysdeps/sparc/configure: Regenerated.
35467         * sysdeps/x86_64/configure: Regenerated.
35468
35469 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35470
35471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35472
35473         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35474         denormal result into account.
35475
35476 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35477
35478         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35479         Reported by Allan McRae <allan@archlinux.org>.
35480
35481 2012-03-23  Jeff Law  <law@redhat.com>
35482
35483         * nss/getnssent.c (__nss_getent): Fix typo.
35484
35485 2012-03-23  David S. Miller  <davem@davemloft.net>
35486
35487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35488
35489 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35490
35491         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35492         to pad to uint64_t for each field.
35493         (dl_tls_index): Replace unsigned long with uint64_t.
35494
35495 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35496         Paul Pluzhnikov  <ppluzhnikov@google.com>
35497
35498         [BZ #6528]
35499         * grp/Makefile (otherlibs): Don't set it.
35500         * inet/Makefile (otherlibs): Likewise.
35501         * login/Makefile (otherlibs): Likewise.
35502         * nscd/Makefile (otherlibs): Likewise.
35503         * posix/Makefile (otherlibs): Likewise.
35504         * pwd/Makefile (otherlibs): Likewise.
35505         * rt/Makefile (otherlibs): Likewise.
35506         * sunrpc/Makefile (otherlibs): Likewise.
35507         * nss/Makefile (otherlibs): Likewise.
35508         Add libnss_files to routines and static-only-routines.
35509         ($(objpfx)getent): Remove rule.
35510         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35511         static-only-routines.
35512
35513 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35514
35515         [BZ #13892]
35516         * math/s_cexp.c: Include <float.h>.
35517         (__cexp): Handle exp result overflowing not necessarily
35518         overflowing both real and imaginary parts of result.
35519         * math/s_cexpf.c: Likewise.
35520         * math/s_cexpl.c: Likewise.
35521         * math/libm-test.inc (cexp_test): Add more tests.
35522         * sysdeps/i386/fpu/libm-test-ulps: Update.
35523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35524
35525 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35526
35527         * include/link.h (ELFW): New macro.
35528         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35529         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35530
35531 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35532
35533         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35534         with uint64_t.
35535
35536 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35537
35538         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35539         declaration.
35540         (struct La_x32_retval): Likewise.
35541
35542 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35543
35544         * sysdeps/x86_64/preconfigure.in: New file.
35545         * sysdeps/x86_64/preconfigure: New generated file.
35546
35547 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35548
35549         [BZ #13824]
35550         * math/e_exp2l.c: Include <float.h>.
35551         (__ieee754_exp2l): Handle overflow and underflow cases
35552         separately.  Only pass fractional part of argument to
35553         __ieee754_expl.
35554         * math/libm-test.inc (exp2_test): Add more tests.
35555
35556         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35557         negating x to take absolute value.
35558         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35559         Likewise.
35560         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35561         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35562         Likewise.
35563         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35564         computing low part if x was negated.
35565         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35566
35567 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35568
35569         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35570         la_x32_gnu_pltexit.
35571         (pltexit): Cast int_retval to ptrdiff_t.
35572         * elf/tst-auditmod3b.c: Likewise.
35573         * elf/tst-auditmod4b.c: Likewise.
35574         * elf/tst-auditmod5b.c: Likewise.
35575         * elf/tst-auditmod6b.c: Likewise.
35576         * elf/tst-auditmod6c.c: Likewise.
35577         * elf/tst-auditmod7b.c: Likewise.
35578
35579         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35580         and x32_gnu_pltexit.
35581
35582         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35583         __ELF_NATIVE_CLASS.
35584         (La_x32_regs): New macro.
35585         (La_x32_retval): Likewise.
35586         (la_x32_gnu_pltenter): New function prototype.
35587         (la_x32_gnu_pltexit): Likewise.
35588
35589 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35590
35591         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35592         exponent.
35593
35594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35595
35596         * configure.in (libc_cv_cc_nofma): Check for option to disable
35597         generation of FMA instructions.
35598         * configure: Regenerate.
35599         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35600         * sysdeps/ieee754/dbl-64/Makefile: New file.
35601         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35602         Remove brandred-fma4.
35603         (CFLAGS-brandred-fma4.c): Remove.
35604         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35605         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35606         define.
35607         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35608         define.
35609
35610 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35611
35612         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35613         LLONG_MAX != LONG_MAX.
35614         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35615         (_fitoa_word): Likewise.
35616         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35617         LLONG_MAX != LONG_MAX.
35618         * stdio-common/_itowa.h: Include <_itoa.h>.
35619         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35620         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35621         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35622         only if not defined.
35623         (_ITOA_WORD_TYPE): Likewise.
35624         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35625         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35626
35627 2012-03-21  David S. Miller  <davem@davemloft.net>
35628
35629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35630
35631 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35632
35633         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35634         of x86_64 when setting libc_cv_slibdir, libdir and
35635         libc_cv_localedir.
35636         * sysdeps/unix/sysv/linux/configure: Regenerated.
35637
35638 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35639
35640         * manual/lang.texi (Old Varargs): Remove section.
35641         (How Variadic): Update menu.
35642         (va_start): Do not mention varargs.h.
35643
35644 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35645             Joseph Myers  <joseph@codesourcery.com>
35646
35647         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35648         link test.
35649         * configure: Regenerated.
35650
35651 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35652
35653         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35654         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35655         conformtest.pl
35656
35657 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35658
35659         * NOTES: Remove.
35660         * Makefile (files-for-dist): Remove NOTES.
35661         (NOTES): Remove rule.
35662         * README: Don't refer to NOTES.
35663         * manual/creature.texi: Don't include macros.texi.
35664         * manual/intro.texi (creature.texi): Remove comment referring to
35665         NOTES.
35666
35667         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35668         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35669         * configure: Regenerated.
35670         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35671         LIBC_TRY_CC_OPTION.
35672         (libc_cv_as_i686): Likewise.
35673         (libc_cv_cc_avx): Likewise.
35674         (libc_cv_cc_sse2avx): Likewise.
35675         (libc_cv_cc_fma4): Likewise.
35676         (libc_cv_cc_novzeroupper): Likewise.
35677         * sysdeps/i386/configure: Regenerated.
35678
35679         [BZ #13883]
35680         * sysdeps/i386/fpu/s_cexp.S: Remove.
35681         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35682         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35683         * math/libm-test.inc (cexp_test): Add more tests.
35684         * sysdeps/i386/fpu/libm-test-ulps: Update.
35685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35686
35687 2012-03-21  Allan McRae  <allan@archlinux.org>
35688
35689         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35690
35691 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35692
35693         [BZ #13871]
35694         * math/w_exp2.c: Do not include <float.h>.
35695         (o_threshold, u_threshold): Remove.
35696         (__exp2): Calculate result before checking finiteness and calling
35697         __kernel_standard.
35698         * math/w_exp2f.c: Likewise.
35699         * math/w_exp2l.c: Likewise.
35700         * math/libm-test.inc (exp2_test): Require overflow exception for
35701         1e6 input.
35702
35703         [BZ #3866]
35704         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35705         range of signed 64-bit integers before using fistpll.  Remove
35706         checks for whether integers fit in mantissa bits.
35707         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35708         the range of signed 32-bit integers before using fistpl.  Remove
35709         checks for whether integers fit in mantissa bits.
35710         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35711         (__ieee754_powl): Test for y outside the range of signed 64-bit
35712         integers before using fistpll.  Reduce 64-bit values to 63-bit
35713         ones as needed.
35714         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35715         divide-by-zero is raised for zero to large negative powers.
35716         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35717         (__ieee754_powl): Test for y outside the range of signed 64-bit
35718         integers before using fistpll.  Reduce 64-bit values to 63-bit
35719         ones as needed.
35720         * math/libm-test.inc (pow_test): Add more tests.
35721
35722 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35723
35724         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35725         <stdio-common/_itoa.h>.
35726         * debug/segfault.c: Likewise.
35727         * elf/dl-cache.c: Likewise.
35728         * elf/dl-minimal.c: Likewise.
35729         * elf/dl-misc.c: Likewise.
35730         * elf/dl-sysdep.c: Likewise.
35731         * elf/dl-version.c: Likewise.
35732         * elf/rtld.c: Likewise.
35733         * hurd/hurdsock.c: Likewise.
35734         * hurd/lookup-retry.c: Likewise.
35735         * malloc/malloc.c: Likewise.
35736         * malloc/mtrace.c: Likewise.
35737         * nscd/nscd_getgr_r.c: Likewise.
35738         * nscd/nscd_getpw_r.c: Likewise.
35739         * nscd/nscd_getserv_r.c: Likewise.
35740         * posix/getopt_init.c: Likewise.
35741         * posix/wordexp.c: Likewise.
35742         * stdio-common/_itoa.c: Likewise.
35743         * stdio-common/printf_fphex.c: Likewise.
35744         * stdio-common/vfprintf.c: Likewise.
35745         * string/_strerror.c: Likewise.
35746         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35747         * sysdeps/i386/i686/hp-timing.h: Likewise.
35748         * sysdeps/mach/_strerror.c: Likewise.
35749         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35750         * sysdeps/mach/hurd/sethostid.c: Likewise.
35751         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35752         * sysdeps/mach/xpg-strerror.c: Likewise.
35753         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35754         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35755         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35756         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35757         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35758         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35759         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35760         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35761         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35762         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35763         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35764         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35765         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35766         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35767         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35768         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35769         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35770         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35771         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35772         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35773         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35774
35775         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35776
35777         * stdio-common/_itoa.h: Moved to ...
35778         * sysdeps/generic/_itoa.h: Here.
35779
35780         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35781
35782         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35783         instead of "_itoa.h" and "_itowa.h".
35784         * stdio-common/vfprintf.: Likewise.
35785
35786 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35787
35788         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35789         <bits/wordsize.h>.
35790         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35791         (__signbit): Likwise.
35792         (llrintf): Likwise.
35793         (llrint): Likwise.
35794
35795 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35796
35797         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35798         __WORDSIZE != 64.
35799
35800 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35801
35802         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35803         OVERFLOW_EXCEPTION_OK.
35804         * math/libm-test.inc ("Philosophy"): Update comment about
35805         exception testing.
35806         (OVERFLOW_EXCEPTION): Define.
35807         (OVERFLOW_EXCEPTION_OK): Likewise.
35808         (INVALID_EXCEPTION_OK): Renumber.
35809         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35810         (IGNORE_ZERO_INF_SIGN): Likewise.
35811         (test_exceptions): Handle FE_OVERFLOW.
35812         (exp10_test): Expect overflow exceptions.
35813         (exp2_test): Likewise.
35814         (expm1_test): Likewise.
35815         (nextafter_test): Likewise.
35816         (pow_test): Likewise.
35817         (scalbn_test): Likewise.
35818         (scalbln_test): Likewise.
35819
35820 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35821
35822         * sysdeps/x86_64/bits/atomic.h
35823         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35824         64bit integer.
35825         (atomic_exchange_acq): Likewise.
35826         (__arch_exchange_and_add_body): Likewise.
35827         (__arch_add_body): Likewise.
35828         (atomic_add_negative): Likewise.
35829         (atomic_add_zero): Likewise.
35830
35831 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35832
35833         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35834         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35835
35836 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35837
35838         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35839         Check __x86_64__ instead of __WORDSIZE.
35840
35841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35842
35843         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35844
35845 2012-03-19  David S. Miller  <davem@davemloft.net>
35846
35847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35848
35849         * sysdeps/sparc/fpu/fenv_private.h: New file.
35850         * sysdeps/sparc/fpu/math_private.h: Use it.
35851         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35852         Remove.
35853         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35854         (libc_feholdexcept_setroundl): Remove.
35855         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35856         Remove.
35857         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35858         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35859
35860 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35861
35862         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35863         int64_t instead of long int.
35864         (INSERT_WORDS64): Likwise.
35865
35866 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35867
35868         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35869         _Unwind_GetCFA return to _Unwind_Ptr first.
35870
35871 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35872
35873         [BZ #13629]
35874         * math/s_clog.c: Include <float.h>.
35875         (__clog): Scale large or subnormal inputs.
35876         * math/s_clogf.c: Likewise.
35877         * math/s_clogl.c: Likewise.
35878         * math/s_clog10.c: Include <float.h>.
35879         (M_LOG10_2): Define.
35880         (__clog10): Scale large or subnormal inputs.
35881         * math/s_clog10f.c: Likewise.
35882         * math/s_clog10l.c: Likewise.
35883         * math/libm-test.inc (clog_test): Add more tests.
35884         (clog10_test): Likewise.
35885         * sysdeps/i386/fpu/libm-test-ulps: Update.
35886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35887
35888         [BZ #11451]
35889         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35890         x and y.
35891         * math/libm-test.inc (atan2_test): Add another test.
35892
35893         * Makerules (common-objdir-compile): Remove.
35894         * sysdeps/unix/Makefile (config-generated): Do not add
35895         $(unix-generated) to variable.
35896         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35897         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35898         Remove rule.
35899         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35900         Likewise.
35901         [generic bits/local_lim.h] (before-compile): Do not append to
35902         variable.
35903         [generic bits/local_lim.h] (common-generated): Likewise.
35904         [generic sys/param.h] (before-compile): Do not append to variable.
35905         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35906         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35907         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35908         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35909         include.
35910         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35911         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35912         [generic sys/param.h] ($(addprefix
35913         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35914         [generic sys/param.h] (common-generated): Do not append to
35915         variable.
35916         [generic sys/param.h] (sysdep_headers): Likewise.
35917         [generic bits/errno.h] (before-compile): Do not append to
35918         variable.
35919         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35920         rule.
35921         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35922         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35923         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35924         [generic bits/errno.h] (common-generated): Do not append to
35925         variable.
35926         [generic bits/ioctls.h] (before-compile): Do not append to
35927         variable.
35928         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35929         rule.
35930         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35931         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35932         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35933         rule.
35934         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35935         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35936         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35937         [generic bits/ioctls.h] (common-generated): Do not append to
35938         variable.
35939         [generic sys/syscall.h] (syscall.h): Remove variable.
35940         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35941         rule.
35942         [generic sys/syscall.h] (before-compile): Do not append to
35943         variable.
35944         [generic sys/syscall.h] (common-generated): Likewise.
35945         * sysdeps/unix/errnos-tmpl.c: Remove file.
35946         * sysdeps/unix/errnos.awk: Likewise.
35947         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35948         * sysdeps/unix/ioctls.awk: Likewise.
35949         * sysdeps/unix/mk-local_lim.c: Likewise.
35950         * sysdeps/unix/snarf-ioctls: Likewise.
35951
35952 2012-03-19  Richard Henderson  <rth@twiddle.net>
35953
35954         * sysdeps/i386/fpu/fenv_private.h: New file.
35955         * sysdeps/i386/fpu/math_private.h: Use it.
35956         (math_opt_barrier, math_force_eval): Remove.
35957         (libc_feholdexcept_setround_53bit): Remove.
35958         (libc_feupdateenv_53bit): Remove.
35959         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35960         (math_opt_barrier, math_force_eval): Remove.
35961         (libc_feholdexcept): Remove.
35962         (libc_feholdexcept_setround): Remove.
35963         (libc_fetestexcept, libc_fesetenv): Remove.
35964         (libc_feupdateenv_test): Remove.
35965         (libc_feupdateenv, libc_feholdsetround): Remove.
35966         (libc_feresetround): Remove.
35967
35968         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35969         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35970
35971         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35972         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35973         (libc_feupdateenv_testl): New.
35974         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35975         (libc_feupdateenv_testf): New.
35976         (libc_feupdateenv): Use libc_feupdateenv_test.
35977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35978         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35979
35980         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35981         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35982         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35983         (libc_feresetround_noex): New.
35984         (libc_feresetround_noexf): New.
35985         (libc_feresetround_noexl): New.
35986         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35987         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35988         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35989         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35990         SET_RESTORE_ROUND.
35991         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35992         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35993         (__cos): Likewise.
35994         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35995         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35996         SET_RESTORE_ROUND_NOEX.
35997         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35998         SET_RESTORE_ROUND_NOEXF.
35999         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36000         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36001         (libc_feholdsetroundf): New.
36002         (libc_feresetround, libc_feresetroundf): New.
36003
36004         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36005         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36006         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36007
36008         * sysdeps/generic/math_private.h: Include <fenv.h>.
36009         (default_libc_feholdexcept): New.
36010         (default_libc_feholdexcept_setround): New.
36011         (default_libc_fesetenv, default_libc_feupdateenv): New.
36012         (libc_feholdexcept): Only define if undefined.
36013         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36014         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36015         (libc_feholdexcept_setroundl): Likewise.
36016         (libc_feholdexcept_setround_53bit): Likewise.
36017         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36018         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36019         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36020         (libc_feupdateenv_53bit): Likewise.
36021         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36022         (libc_feholdexcept): Convert from macro to inline function.
36023         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36024         (libc_fesetenv, libc_feupdateenv): Likewise.
36025
36026         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36027         not previously defined.
36028         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36029         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36030         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36031         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36032         * sysdeps/ieee754/flt-32/math_private.h: New file.
36033         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36034         math_private.h below SET_FLOAT_WORD.
36035         (__isnan, __isinf_ns, __finite): Remove.
36036         (__isnanf, __isinf_nsf, __finitef): Remove.
36037
36038 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36039
36040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36041
36042 2012-03-17  David S. Miller  <davem@davemloft.net>
36043
36044         [BZ #6471]
36045         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36046         for 2.16.
36047
36048 2012-03-16  David S. Miller  <davem@davemloft.net>
36049
36050         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36051         warnings.
36052
36053         [BZ #6471]
36054         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36055         properly.
36056         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36057         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36058         sysdep_routines when subdir is sysvipc.
36059         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36060         __getshmlba helper.
36061
36062         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36063
36064 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36065
36066         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36067         [__LP64__].
36068
36069 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36070
36071         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36072         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36073         (__lround): Renamed to ...
36074         (__llround): This.  Replace long int with long long int.
36075         Define lround functions as aliases of llround functions.
36076         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36077
36078 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36079
36080         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36081         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36082         adresses to uintptr_t.  Replace "long int" and "unsigned long
36083         int" with "greg_t" on va_arg.
36084
36085 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36086
36087         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36088         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36089
36090         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36091         Move e_machine check before EI_CLASS check.  Handle x32
36092         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36093         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36094         SKIP_EM_IA_64 and include
36095         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36096
36097         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36098         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36099         (add_system_dir): New macro.
36100
36101         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36102         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36103
36104 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36105
36106         [BZ #2551]
36107         [BZ #2552]
36108         [BZ #2553]
36109         [BZ #2554]
36110         [BZ #2562]
36111         [BZ #2563]
36112         [BZ #2565]
36113         [BZ #2566]
36114         [BZ #2576]
36115         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36116         (y0): Likewise.
36117         * math/w_j0f.c (j0f): Likewise.
36118         (y0f): Likewise.
36119         * math/w_j0l.c (__j0l): Likewise.
36120         (__y0l): Likewise.
36121         * math/w_j1.c (j1): Likewise.
36122         (y1): Likewise.
36123         * math/w_j1f.c (j1f): Likewise.
36124         (y1f): Likewise.
36125         * math/w_j1l.c (__j1l): Likewise.
36126         (__y1l): Likewise.
36127         * math/w_jn.c (jn): Likewise.
36128         (yn): Likewise.
36129         * math/w_jnf.c (jnf): Likewise.
36130         (ynf): Likewise.
36131         * math/w_jnl.c (__jnl): Likewise.
36132         (__ynl): Likewise.
36133         * math/libm-test.inc (j0_test): Add more tests.
36134         (j1_test): Likewise.
36135         (jn_test): Likewise.  Add trailing semicolon to existing test.
36136         (y0_test): Likewise.
36137         (y1_test): Likewise.
36138         * sysdeps/i386/fpu/libm-test-ulps: Update.
36139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36140
36141         [BZ #13851]
36142         [BZ #13854]
36143         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36144         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36145         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36146         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36147         (__tanl): Set errno for infinite argument.
36148         * sysdeps/i386/fpu/mptan.c: Remove.
36149         * sysdeps/i386/fpu/s_tan.S: Likewise.
36150         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36151         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36152         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36153         * math/libm-test.inc (tan_test): Add more tests and enable more
36154         tests for double and long double.
36155         * sysdeps/i386/fpu/libm-test-ulps: Update.
36156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36157
36158 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36159
36160         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36161         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36162
36163 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36164
36165         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36166         * configure.in: Use it for both main tree and add-ons.
36167         * configure: Regenerated.
36168
36169 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36170
36171         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36172
36173 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36174
36175         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36176         in comment.
36177
36178         [BZ #13851]
36179         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36180         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36181         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36182         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36183         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36184         infinite argument.
36185         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36186         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36187         != 0 for prec == 2.
36188         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36189         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36190         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36191         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36192         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36193         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36194         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36195         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36196         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36197         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36198         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36199         * math/libm-test.inc (cos_test): Add more tests and enable more
36200         tests for long double.
36201         (sin_test): Likewise.
36202         (sincos_test): Likewise.
36203         * sysdeps/i386/fpu/libm-test-ulps: Update.
36204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36205
36206 2012-03-16  David S. Miller  <davem@davemloft.net>
36207
36208         * sysdeps/sparc/fpu/math_private.h: New file.
36209
36210 2012-03-15  David S. Miller  <davem@davemloft.net>
36211
36212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36213         file.
36214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36216         file.
36217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36218         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36222         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36223         sysdep routines.
36224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36225
36226         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36227         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36228
36229         * sysdeps/sparc/sparc-ifunc.h: New file.
36230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36231         sparc-ifunc.h
36232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36234         Likewise.
36235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36236         Likewise.
36237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36241         Likewise.
36242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36247         Likewise.
36248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36249         Likewise.
36250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36256         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36257         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36264         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36268         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36269         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36270         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36271         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36272         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36273         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36274
36275 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36276
36277         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36278         scaling.
36279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36280
36281 2012-03-15  Andreas Jaeger  <aj@suse.de>
36282
36283         [BZ #13852]
36284         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36285         ieee754/flt-32 implementation for sin, cos and sincos.
36286         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36287         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36288         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36289         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36290         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36291         ieee754/flt-32 implementation for tan.
36292
36293         * math/libm-test.inc (cos_test): Enable some large input tests for
36294         float as well
36295         (sin_test): Likewise.
36296         (sincos_test): Likewise.
36297         (tan_test): Add tests for large input.
36298
36299         * sysdeps/i386/fpu/libm-test-ulps: Update.
36300
36301 2012-03-15  Andreas Jaeger  <aj@suse.de>
36302
36303         [BZ #13658]
36304         * math/libm-test.inc (cos_test): Add more test cases.
36305         (sin_test): Likewise.
36306         (sincos_test): Likewise.
36307
36308 2012-03-15  Andreas Jaeger  <aj@suse.de>
36309
36310         [BZ #13837]
36311         * math/libm-test.inc (cos_test): Add a test case for large input
36312         value.
36313         (sin_test): Likewise.
36314         (sincos_test): Likewise.
36315
36316 2012-03-15  Andreas Jaeger  <aj@suse.de>
36317             Joseph Myers  <joseph@codesourcery.com>
36318
36319         [BZ #13658]
36320         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36321         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36322         * sysdeps/i386/fpu/branred.c: Likewise.
36323         * sysdeps/i386/fpu/dosincos.c: Likewise.
36324         * sysdeps/i386/fpu/mpa.c: Likewise.
36325         * sysdeps/i386/fpu/s_cos.S: Likewise.
36326         * sysdeps/i386/fpu/s_sin.S: Likewise.
36327         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36328         * sysdeps/i386/fpu/sincos32.c: Likewise.
36329
36330         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36331         Define.
36332         (libc_feupdateenv_53bit): Define.
36333         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36334         Define.
36335         (libc_feupdateenv_53bit): Define.
36336
36337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36338         53 bit (without extend i386 double precision).
36339
36340         * math/libm-test.inc (sincos_test): Add tests for large input.
36341         (sin): Likewise.
36342         (cos): Likewise.
36343
36344         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36345
36346 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36347
36348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36349
36350 2012-03-15  David S. Miller  <davem@davemloft.net>
36351
36352         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36353         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36354         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36355         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36362         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36363         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36368         file.
36369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36371         file.
36372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36374         file.
36375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36377         file.
36378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36379         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36380         fmin/fmax sysdep routines.
36381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36382
36383 2012-03-14  David S. Miller  <davem@davemloft.net>
36384
36385         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36386         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36387         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36388         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36389         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36390         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36391         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36392         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36394         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36397         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36398         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36399         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36400         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36401         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36402         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36403         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36404         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36405         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36406         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36407         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36408         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36409         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36410         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36411         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36412         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36413         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36414         routines.
36415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36416         file.
36417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36419         file.
36420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36422         file.
36423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36425         file.
36426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36428         file.
36429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36431         file.
36432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36433         file.
36434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36435         file.
36436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36437         file.
36438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36439         New file.
36440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36441         file.
36442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36443         file.
36444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36446         file.
36447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36449         file.
36450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36452         file.
36453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36455         VIS3 routines.
36456
36457         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36458         New file.
36459
36460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36461
36462         * sysdeps/sparc/configure.in: New file.
36463         * sysdeps/sparc/configure: Generate.
36464         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36465         * configure: Regenerate.
36466         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36467         * config.make.in (have-as-vis3): New.
36468         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36469         available use -Av9d instead of -Av9a.
36470         * sysdeps/sparc/sparc64/Makefile: Likewise.
36471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36473         New file.
36474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36475         file.
36476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36477         New file.
36478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36479         file.
36480         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36481         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36482         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36483         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36484         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36485
36486         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36487         fzeros/fnegs to load 0x80000000 into a float register instead of
36488         using the stack.
36489         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36490
36491 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36492
36493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36494         bits/syscall.h.
36495         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36496         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36497         ($(inst_includedir)/bits/syscall.h): Remove rule.
36498         ($(objpfx)bits/syscall.d): Include instead of
36499         $(objpfx)syscall-list.d.
36500         (generated): Change syscall-list.h and syscall-list.d to
36501         bits/syscall.h and bits/syscall.d.
36502
36503 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36504
36505         [BZ #13846]
36506         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36507
36508 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36509
36510         [BZ #13841]
36511         * math/s_csqrt.c: Include <float.h>.
36512         (__csqrt): Scale large or subnormal inputs.
36513         * math/s_csqrtf.c: Likewise.
36514         * math/s_csqrtl.c: Likewise.
36515         * math/libm-test.inc (csqrt_test): Add more tests.
36516         * sysdeps/i386/fpu/libm-test-ulps: Update.
36517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36518
36519         [BZ #13840]
36520         * math/libm-test.inc (hypot_test): Add more tests.
36521
36522 2012-03-13  David S. Miller  <davem@davemloft.net>
36523
36524         [BZ #13840]
36525         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36526         double-precision for the calculation instead of scaling.
36527
36528 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36529
36530         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36531         manipulate bits before adding and subtracting TWO52[sx].
36532         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36533         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36534         Likewise.
36535         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36536
36537 2012-03-13  David S. Miller  <davem@davemloft.net>
36538
36539         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36540         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36541         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36542         rtld-global-offsets.h
36543         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36544
36545         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36546         large parameters.
36547
36548         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36549
36550         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36551         'err' in the ifdef scope in which it is actually used.
36552
36553         * nss/nss_db/db-init.c: Include string.h
36554
36555 2012-03-12  David S. Miller  <davem@davemloft.net>
36556
36557         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36558         masking out of the most significant byte of random value used.
36559         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36560         Fix coding style in previous change.
36561
36562         * sysdeps/unix/sysv/linux/kernel-features.h
36563         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36564         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36565         expression.
36566         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36567         later.
36568
36569 2012-03-11  David S. Miller  <davem@davemloft.net>
36570
36571         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36572         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36573         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36574         for 'resultvar' otherwise things get truncated on 64-bit.
36575
36576         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36577         Fix masking out of the most significant byte of random value used.
36578
36579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36580
36581 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36582
36583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36584
36585 2012-03-09  David S. Miller  <davem@davemloft.net>
36586
36587         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36588         variables with appropriate CPP guards.
36589         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36590         from the frame pointer, not the stack pointer.  Correct layout
36591         comments.  Fix test on resulting framesize and the management of
36592         the outregs buffer for pltexit.  Preserve floating point return
36593         values across _dl_call_pltexit call.
36594         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36595         framesize and the management of the outregs buffer for pltexit.
36596         Preserve floating point return values across _dl_call_pltexit
36597         call.
36598         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36599         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36600         (la_sparc64_gnu_pltexit): New functions.
36601         (print_exit): Fix format string for return register value.
36602
36603 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36604
36605         * sunrpc/Makefile (others): Add rpcgen.
36606         ($(objpfx)rpcgen): Remove special build rule and dependency on
36607         libc.
36608         * sunrpc/rpcgen.c: New file.
36609
36610 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36611
36612         [BZ #13673]
36613         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36614         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36615         * sysdeps/i386/crti.S: Likewise.
36616         * sysdeps/i386/crtn.S: Likewise.
36617         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36618         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36619         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36620         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36621         * sysdeps/sh/crti.S: Likewise.
36622         * sysdeps/sh/crtn.S: Likewise.
36623         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36624
36625         [BZ #13673]
36626         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36627         with URL.
36628         * locale/programs/locfile-kw.gperf: Likewise.
36629         * locale/programs/charmap-kw.h: Regenerated.
36630         * locale/programs/locfile-kw.h: Likewise.
36631
36632         [BZ #13673]
36633         * intl/plural.y: Replace FSF snail mail address with URL.
36634         * intl/plural.c: Regenerated.
36635
36636 2012-03-09  Richard Henderson  <rth@twiddle.net>
36637
36638         * include/math_private.h: Remove file.
36639         * math/math_private.h: Move file ...
36640         * sysdeps/generic/math_private.h: ... here.
36641
36642         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36643         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36644         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36645
36646         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36647         and <math_private.h>.
36648         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36649         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36650         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36651         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36652         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36653         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36654         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36655         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36656         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36657         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36659         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36660         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36661         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36662         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36663         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36664         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36665         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36666         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36667         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36668         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36669         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36670         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36672         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36673         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36674         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36675         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36676         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36677         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36678         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36679         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36680         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36681         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36682         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36683         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36684         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36685         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36686         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36687         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36688         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36689         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36690         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36691         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36692         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36693         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36694         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36695         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36696         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36697         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36698         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36699         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36700         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36701         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36702         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36703         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36704         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36705         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36706         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36707         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36708         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36709         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36710         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36711         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36712         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36713         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36714         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36715         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36716         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36717         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36718         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36719         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36720         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36721         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36722         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36723         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36724         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36725         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36726         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36727         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36728         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36729         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36730         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36731         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36732         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36733         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36734         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36735         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36736         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36737         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36738         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36739         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36740         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36741         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36742         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36743         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36744         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36745         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36746         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36747         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36748         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36749         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36750         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36751         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36752         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36753         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36754         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36755         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36756         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36757         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36758         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36759         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36760         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36761         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36762         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36763         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36764         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36765         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36766         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36767         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36768         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36769         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36770         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36771         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36772         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36773         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36774         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36775         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36776         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36777         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36778         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36779         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36780         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36781         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36782         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36783         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36784         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36785         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36786         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36787         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36788         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36789         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36790         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36791         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36792         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36793         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36794         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36795         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36796         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36797         * sysdeps/ieee754/k_standard.c: Likewise.
36798         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36799         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36800         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36801         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36802         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36803         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36805         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36806         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36807         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36808         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36809         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36810         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36811         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36812         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36813         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36814         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36815         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36816         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36817         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36818         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36819         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36820         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36821         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36822         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36823         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36824         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36825         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36826         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36827         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36828         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36829         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36830         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36831         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36832         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36833         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36834         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36835         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36836         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36837         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36838         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36839         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36840         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36841         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36842         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36843         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36844         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36845         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36846         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36847         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36848         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36849         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36850         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36851         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36852         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36853         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36854         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36855         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36856         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36857         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36859         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36860         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36861         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36862         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36863         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36864         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36865         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36867         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36869         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36870         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36871         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36872         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36873         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36874         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36875         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36876         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36877         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36878         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36879         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36880         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36881         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36882         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36883         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36884         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36885         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36886         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36888         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36889         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36890         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36891         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36892         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36893         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36894         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36895         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36896         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36897         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36898         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36899         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36900         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36901         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36902         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36903         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36904         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36905         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36906         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36907         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36908         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36909         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36910         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36911         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36912         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36913         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36914         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36915         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36916         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36917         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36918         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36919         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36920         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36921         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36922         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36923         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36925         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36930         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36931         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36932         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36933         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36934         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36935         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36936         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36938         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36939         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36940         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36941         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36942         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36943         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36944         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36945         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36946         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36947         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36948         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36949         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36950         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36951         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36952         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36953         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36954         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36955         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36956         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36957         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36958         * sysdeps/ieee754/s_lib_version.c: Likewise.
36959         * sysdeps/ieee754/s_matherr.c: Likewise.
36960         * sysdeps/ieee754/s_signgam.c: Likewise.
36961         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36962         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36963         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36964         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36965         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36966         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36967         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36968         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36969         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36970         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36971         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36972         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36973         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36974         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36975         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36976         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36977         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36978         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36979         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36980         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36981         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36982
36983 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36984
36985         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36986         * sunrpc/rpc_main.c: Likewise.
36987         * sunrpc/rpc_svcout.c: Likewise.
36988
36989 2012-03-09  David S. Miller  <davem@davemloft.net>
36990
36991         * include/math_private.h: New file.
36992
36993 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36994
36995         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36996         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36997         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36998         from <bits/socket_type.h>.
36999         (enum __socket_type): Don't define here.
37000         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37002         bits/socket_type.h.
37003
37004         [BZ #13566]
37005         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37006         checking __USE_GNU.
37007
37008         * Makerules ($(inst_includedir)/%.h): New rule.
37009         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37010         (install-others): Remove variable setting.
37011         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37012
37013 2012-03-08  Richard Henderson  <rth@twiddle.net>
37014
37015         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37016         from macro to inline function; merge with the
37017         !__LIBC_INTERNAL_MATH_INLINES version.
37018         (__ieee754_sqrtf): Likewise.
37019
37020         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37021         to inline function.
37022         (__rintf, __floor, __floorf): Likewise.
37023
37024         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37025         macro to inline function.
37026         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37027
37028         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37029         not <math/math_private.h>.
37030
37031 2012-03-08  David S. Miller  <davem@davemloft.net>
37032
37033         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37034         copyright year.
37035         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37036
37037 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37038
37039         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37040         normalization.
37041         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37042         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37043
37044 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37045
37046         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37047         be defined individually, they must be defined as a block.  Define
37048         S for printing a string instead of hidint the different by using a
37049         macro for adding the 'l'.
37050         * stdio-common/tst-fphex-wide.c: Adjust.
37051
37052 2012-03-07  Marek Polacek  <polacek@redhat.com>
37053
37054         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37055
37056 2012-03-08  Marek Polacek  <polacek@redhat.com>
37057
37058         [BZ #13806]
37059         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37060         * stdio-common/tst-fphex.c: Define a few macros to make the
37061         test reusable.  Use them.
37062         * stdio-common/tst-fphex-wide.c: New file.
37063
37064 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37065
37066         [BZ #6911]
37067         * manual/macros.texi (gnusystems): New macro.
37068         (nongnusystems): Likewise.
37069         (gnulinuxhurdsystems): Likewise.
37070         (gnuhurdsystems): Likewise..
37071         (gnulinuxsystems): Likewise.
37072         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37073         variants of the GNU system, not "GNU system".
37074         * manual/conf.texi: Likewise.
37075         * manual/errno.texi: Likewise.  Update example of errno macro
37076         expansion.
37077         * manual/filesys.texi: Likewise.
37078         (getumask): Document as specific to GNU/Hurd.
37079         * manual/install.texi: Likewise.  Reword some references to
37080         GNU/Linux.
37081         * manual/intro.texi: Likewise.
37082         * manual/io.texi: Likewise.
37083         (File Name Portability): Detail which constraints are inapplicable
37084         to all GNU systems and which are only inapplicable to GNU/Hurd.
37085         * manual/job.texi: Likewise.
37086         * manual/llio.texi: Likewise.
37087         (O_NOCTTY): Document as present on GNU/Linux.
37088         * manual/maint.texi: Likewise.
37089         * manual/memory.texi: Likewise.
37090         * manual/pattern.texi: Likewise.
37091         * manual/pipe.texi: Likewise.
37092         * manual/process.texi: Likewise.
37093         * manual/resource.texi: Likewise.
37094         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37095         child on GNU/Hurd.
37096         * manual/setjmp.texi: Likewise.
37097         * manual/signal.texi: Likewise.
37098         * manual/startup.texi: Likewise.
37099         * manual/stdio.texi: Likewise.
37100         * manual/terminal.texi: Likewise.
37101         (ONLCR): Document as POSIX.
37102         (OXTABS): Document availability on GNU/Linux as XTABS.
37103         (ONOEOT): Document availability separately from other bits.
37104         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37105         * manual/time.texi: Likewise.
37106         * manual/users.texi: Likewise.
37107         * INSTALL: Regenerated.
37108         * sysdeps/gnu/errlist.c: Regenerated.
37109
37110         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37111         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37112         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37113         puts.
37114         * configure: Regenerated.
37115
37116 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37117
37118         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37119         default includes instead of AC_HEADER_CHECK.
37120         * sysdeps/i386/configure: Regenerated.
37121
37122         [BZ #10716]
37123         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37124         * math/s_cacoshf.c (__cacoshf): Likewise.
37125         * math/s_cacoshl.c (__cacoshl): Likewise.
37126         * math/s_casinh.c (__casinh): Set signs of result from argument.
37127         * math/s_casinhf.c (__casinhf): Likewise.
37128         * math/s_casinhl.c (__casinhl): Likewise.
37129         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37130         (casinh_test): Add more tests.
37131         * sysdeps/i386/fpu/libm-test-ulps: Update.
37132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37133
37134 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37135
37136         * po/zh_TW.po: Update from translation team.
37137
37138         * login/Makefile (distribute): Remove variable.
37139         * catgets/Makefile: Likewise.
37140         * mach/Makefile: Likewise.
37141         * malloc/Makefile: Likewise.
37142         * misc/Makefile: Likewise.
37143         * iconv/Makefile: Likewise.
37144         * nscd/Makefile: Likewise.
37145         * hurd/Makefile: Likewise.
37146         * manual/Makefile: Likewise.
37147         * locale/Makefile: Likewise.
37148         * intl/Makefile: Likewise.
37149         * conform/Makefile: Likewise.
37150         * nss/Makefile: Likewise.
37151         * time/Makefile: Likewise.
37152         * soft-fp/Makefile: Likewise.
37153         * dirent/Makefile: Likewise.
37154         * gmon/Makefile: Likewise.
37155         * po/Makefile: Likewise.
37156         * rt/Makefile: Likewise.
37157         * socket/Makefile: Likewise.
37158         * math/Makefile: Likewise.
37159         * signal/Makefile: Likewise.
37160         * debug/Makefile: Likewise.
37161         * elf/Makefile: Likewise.
37162         * timezone/Makefile: Likewise.
37163         * stdlib/Makefile: Likewise.
37164         * iconvdata/Makefile: Likewise.
37165         * sunrpc/Makefile: Likewise.
37166         * io/Makefile: Likewise.
37167         * argp/Makefile: Likewise.
37168         * inet/Makefile: Likewise.
37169         * hesiod/Makefile: Likewise.
37170         * grp/Makefile: Likewise.
37171         * csu/Makefile: Likewise.
37172         * wctype/Makefile: Likewise.
37173         * crypt/Makefile: Likewise.
37174         * libio/Makefile: Likewise.
37175         * string/Makefile: Likewise.
37176         * nis/Makefile: Likewise.
37177         * resolv/Makefile: Likewise.
37178         * stdio-common/Makefile: Likewise.
37179         * wcsmbs/Makefile: Likewise.
37180         * dlfcn/Makefile: Likewise.
37181         * posix/Makefile: Likewise.
37182
37183         [BZ #6959]
37184         * timezone/Makefile: Don't install timezone files, just the programs
37185         and scripts.
37186
37187 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37188
37189         * nss/databases.def: Add missing gshadow entry.
37190
37191         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37192
37193 2012-03-06  Marek Polacek  <polacek@redhat.com>
37194
37195         [BZ #13726]
37196         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37197         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37198         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37199         * stdio-common/tst-long-dbl-fphex.c: New file.
37200
37201 2012-03-06  David S. Miller  <davem@davemloft.net>
37202
37203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37204         (set_obp_int): New function.
37205         (get_obp_int): New function.
37206         (__get_clockfreq_via_dev_openprom): Likewise.
37207         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37208         Avoid unused variable warnings on 'val' and use builtin_expect.
37209         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37210         __builtin_expect.
37211         (INLINE_CLONE_SYSCALL): Likewise.
37212
37213 2012-03-05  David S. Miller  <davem@davemloft.net>
37214
37215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37216
37217 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37218
37219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37220
37221         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37222         only for |x| >= 40.
37223         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37224
37225 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37226
37227         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37228         Replace gettimeofday with __vdso_gettimeofday.
37229
37230         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37231         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37232         __vdso_clock_gettime and __vdso_getcpu.
37233
37234         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37235         time with __vdso_time.
37236
37237 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37238
37239         * manual/lang.texi (size_t): Note types to which size_t may be
37240         equivalent with the GNU C Library, but do not describe when
37241         differences between them are significant.
37242
37243 2012-03-05  Andreas Jaeger  <aj@suse.de>
37244
37245         * sysdeps/i386/fpu/libm-test-ulps: Update.
37246
37247 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37248
37249         [BZ #3976]
37250         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37251         (__ieee754_pow): Save and restore rounding mode and use
37252         round-to-nearest for main computations.
37253         * math/libm-test.inc (pow_test_tonearest): New function.
37254         (pow_test_towardzero): Likewise.
37255         (pow_test_downward): Likewise.
37256         (pow_test_upward): Likewise.
37257         (main): Call the new functions.
37258         * sysdeps/i386/fpu/libm-test-ulps: Update.
37259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37260
37261         [BZ #3976]
37262         * math/libm-test.inc (cosh_test_tonearest): New function.
37263         (cosh_test_towardzero): Likewise.
37264         (cosh_test_downward): Likewise.
37265         (cosh_test_upward): Likewise.
37266         (sinh_test_tonearest): Likewise.
37267         (sinh_test_towardzero): Likewise.
37268         (sinh_test_downward): Likewise.
37269         (sinh_test_upward): Likewise.
37270         (main): Call the new functions.
37271         * sysdeps/i386/fpu/libm-test-ulps: Update.
37272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37273
37274 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37275
37276         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37277         default stack guard is set in last bytes.
37278         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37279
37280 2012-03-05  Kees Cook  <keescook@chromium.org>
37281
37282         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37283
37284         [BZ #13656]
37285         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37286         possibly allocate from heap instead of stack.
37287         * stdio-common/bug-vfprintf-nargs.c: New file.
37288         * stdio-common/Makefile (tests): Add nargs overflow test.
37289
37290 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37291
37292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37293
37294 2012-03-03  Marek Polacek  <polacek@redhat.com>
37295
37296         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37297         * math/math_private.h: Likewise.
37298         * stdlib/tst-strtod.c: Likewise.
37299         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37300         * sysdeps/x86_64/bits/atomic.h: Likewise.
37301
37302 2012-03-02  David S. Miller  <davem@davemloft.net>
37303
37304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37308         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37309         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37310         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37311         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37312
37313 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37314
37315         [BZ #13792]
37316         * manual/examples/README: New file, says the example source files
37317         can be used under GPL>=2.
37318         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37319         line containing just "*/".
37320         * manual/examples/add.c: Add copyright header (GPL>=2).
37321         * manual/examples/argp-ex1.c: Likewise.
37322         * manual/examples/argp-ex2.c: Likewise.
37323         * manual/examples/argp-ex3.c: Likewise.
37324         * manual/examples/argp-ex4.c: Likewise.
37325         * manual/examples/atexit.c: Likewise.
37326         * manual/examples/db.c: Likewise.
37327         * manual/examples/dir.c: Likewise.
37328         * manual/examples/dir2.c: Likewise.
37329         * manual/examples/execinfo.c: Likewise.
37330         * manual/examples/filecli.c: Likewise.
37331         * manual/examples/filesrv.c: Likewise.
37332         * manual/examples/fmtmsgexpl.c: Likewise.
37333         * manual/examples/genpass.c: Likewise.
37334         * manual/examples/inetcli.c: Likewise.
37335         * manual/examples/inetsrv.c: Likewise.
37336         * manual/examples/isockad.c: Likewise.
37337         * manual/examples/longopt.c: Likewise.
37338         * manual/examples/memopen.c: Likewise.
37339         * manual/examples/memstrm.c: Likewise.
37340         * manual/examples/mkfsock.c: Likewise.
37341         * manual/examples/mkisock.c: Likewise.
37342         * manual/examples/mygetpass.c: Likewise.
37343         * manual/examples/pipe.c: Likewise.
37344         * manual/examples/popen.c: Likewise.
37345         * manual/examples/rprintf.c: Likewise.
37346         * manual/examples/search.c: Likewise.
37347         * manual/examples/select.c: Likewise.
37348         * manual/examples/setjmp.c: Likewise.
37349         * manual/examples/sigh1.c: Likewise.
37350         * manual/examples/sigusr.c: Likewise.
37351         * manual/examples/stpcpy.c: Likewise.
37352         * manual/examples/strdupa.c: Likewise.
37353         * manual/examples/strftim.c: Likewise.
37354         * manual/examples/strncat.c: Likewise.
37355         * manual/examples/subopt.c: Likewise.
37356         * manual/examples/swapcontext.c: Likewise.
37357         * manual/examples/termios.c: Likewise.
37358         * manual/examples/testopt.c: Likewise.
37359         * manual/examples/testpass.c: Likewise.
37360         * manual/examples/timeval_subtract.c: Likewise.
37361
37362         [BZ #13792]
37363         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37364         function to ...
37365         * manual/timeval_subtract.c.texi: ... here, new file.
37366
37367 2012-03-02  David S. Miller  <davem@davemloft.net>
37368
37369         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37370
37371 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37372
37373         [BZ #3976]
37374         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37375         (__sin): Save and restore rounding mode and use round-to-nearest
37376         for all computations.
37377         (__cos): Save and restore rounding mode and use round-to-nearest
37378         for all computations.
37379         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37380         <fenv.h>.
37381         (tan): Save and restore rounding mode and use round-to-nearest for
37382         all computations.
37383         * math/libm-test.inc (cos_test_tonearest): New function.
37384         (cos_test_towardzero): Likewise.
37385         (cos_test_downward): Likewise.
37386         (cos_test_upward): Likewise.
37387         (sin_test_tonearest): Likewise.
37388         (sin_test_towardzero): Likewise.
37389         (sin_test_downward): Likewise.
37390         (sin_test_upward): Likewise.
37391         (tan_test_tonearest): Likewise.
37392         (tan_test_towardzero): Likewise.
37393         (tan_test_downward): Likewise.
37394         (tan_test_upward): Likewise.
37395         (main): Call the new functions.
37396         * sysdeps/i386/fpu/libm-test-ulps: Update.
37397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37398
37399         [BZ #10135]
37400         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37401         small n, then large n, before computing and testing k+n.
37402         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37403         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37404         Likewise.
37405         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37406         Likewise.
37407         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37408         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37409         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37410         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37411         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37412         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37413         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37414         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37415         * math/libm-test.inc (scalbn_test): Add more tests.
37416         (scalbln_test): Likewise.
37417
37418         * manual/filesys.texi (mode_t): Describe constraints on size and
37419         signedness, not exact equivalence to a particular type.
37420         (ino_t): Likewise.
37421         (ino64_t): Likewise.
37422         (dev_t): Likewise.
37423         (nlink_t): Likewise.
37424         (blkcnt_t): Likewise.
37425         (blkcnt64_t): Likewise.
37426         * manual/llio.texi (off_t): Likewise.
37427
37428         [BZ #3976]
37429         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37430         (__ieee754_exp): Save and restore rounding mode and use
37431         round-to-nearest for all computations.
37432         * math/libm-test.inc (exp_test_tonearest): New function.
37433         (exp_test_towardzero): Likewise.
37434         (exp_test_downward): Likewise.
37435         (exp_test_upward): Likewise.
37436         (main): Call the new functions.
37437         * sysdeps/i386/fpu/libm-test-ulps: Update.
37438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37439
37440 2012-03-01  Chris Demetriou  <cgd@google.com>
37441
37442         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37443         have predictable order.
37444
37445 2012-03-01  David S. Miller  <davem@davemloft.net>
37446
37447         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37448
37449         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37450         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37451         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37452         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37453
37454         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37455         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37456         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37458         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37459         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37460         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37461         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37462         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37463
37464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37465
37466         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37467         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37468         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37469
37470         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37471         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37472         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37473         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37474         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37475         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37476         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37477         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37478         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37479         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37480         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37481         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37483         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37484         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37485         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37486         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37487         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37488         * sysdeps/sparc/elf/configure: Regenerated.
37489
37490 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37491
37492         * configure.in (AS, LD): Require binutils 2.20 or later.
37493         * configure: Regenerated.
37494         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37495         as required minimum version.
37496         * INSTALL: Regenerated.
37497
37498         [BZ #2541]
37499         [BZ #4108]
37500         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37501         before squaring exponent.
37502         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37503         bottom long double and 27 bits of top long double before squaring
37504         exponent.
37505         * math/libm-test.inc (erfc_test): Add more tests.
37506         * sysdeps/i386/fpu/libm-test-ulps: Update.
37507         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37509
37510 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37511
37512         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37513         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37514         containing bit-fields.
37515         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37516         * soft-fp/single.h (_FP_UNION_S): Likewise.
37517         * soft-fp/double.h (_FP_UNION_D): Likewise.
37518
37519 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37520
37521         [BZ #13786]
37522         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37523         not include ../strcmp.S.
37524         [USE_AS_STRNCASECMP_L]: Likewise.
37525         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37526         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37527         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37528         (__strncasecmp_l_ia32): Define as alias to
37529         __strncasecmp_l_nonascii.
37530
37531         [BZ #5794]
37532         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37533         * sysdeps/i386/fpu/libm-test-ulps: Update.
37534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37535
37536         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37538
37539 2012-02-29  Jeff Law  <law@redhat.com>
37540
37541         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37542         out of bounds read.
37543
37544 2012-02-29  Marek Polacek  <polacek@redhat.com>
37545
37546         [BZ #13706]
37547         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37548         * elf/Makefile: Add rules to run tst-unused-dep.out.
37549
37550 2012-02-28  David S. Miller  <davem@davemloft.net>
37551
37552         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37553         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37554         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37555         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37556         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37557         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37558
37559 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37560
37561         * math/libm-test.inc (llround_test): Move one test from
37562         lround_test.  Use TEST_f_L in moved test.
37563         (lround_test): Move misplaced test to llround_test.  Add testcase
37564         from bug 2561.
37565
37566 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37567
37568         * sysdeps/x86_64/fpu/e_expf.S: New file.
37569         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37570
37571 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37572
37573         [BZ #13637]
37574         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37575         of remain_len that may cause incomplete multi-byte character and
37576         false match.
37577         * posix/bug-regex33.c: New file.
37578         * posix/Makefile (tests): Add bug-regex33.
37579
37580 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37581
37582         * manual/macros.texi: New file.
37583         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37584         * manual/libc.texinfo: Include macros.texi.
37585         * manual/creatute.texi: Likewise.
37586         * manual/install.texi: Likewise.
37587         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37588         @glibcadj{} in references to the GNU C Library.
37589         * manual/charset.texi: Likewise.
37590         * manual/conf.texi: Likewise.
37591         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37592         when not using those macros.
37593         * manual/creature.texi: Likewise.
37594         * manual/crypt.texi: Likewise.
37595         * manual/errno.texi: Likewise.
37596         * manual/filesys.texi: Likewise.
37597         * manual/header.texi: Likewise.
37598         * manual/install.texi: Likewise.
37599         * manual/intro.texi: Likewise.
37600         * manual/io.texi: Likewise.
37601         * manual/job.texi: Likewise.
37602         * manual/lang.texi: Likewise.
37603         * manual/libc.texiinfo: Likewise.
37604         * manual/llio.texi: Likewise.
37605         * manual/locale.texi: Likewise.
37606         * manual/maint.texi: Likewise.
37607         * manual/math.texi: Likewise.
37608         * manual/memory.texi: Likewise.
37609         * manual/message.texi: Likewise.
37610         * manual/nss.texi: Likewise.
37611         * manual/pattern.texi: Likewise.
37612         * manual/process.texi: Likewise.
37613         * manual/resource.texi: Likewise.
37614         * manual/search.texi: Likewise.
37615         * manual/setjmp.texi: Likewise.
37616         * manual/signal.texi: Likewise.
37617         * manual/socket.texi: Likewise.
37618         * manual/startup.texi: Likewise.
37619         * manual/stdio.texi: Likewise.
37620         * manual/string.texi: Likewise.
37621         * manual/sysinfo.texi: Likewise.
37622         * manual/syslog.texi: Likewise.
37623         * manual/terminal.texi: Likewise.
37624         * manual/time.texi: Likewise.
37625         * manual/users.texi: Likewise.
37626         * INSTALL: Regenerated.
37627         * NOTES: Regenerated.
37628         * sysdeps/gnu/errlist.c: Regenerated.
37629
37630 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37631
37632         * include/dirent.h: Include <dirstream.h> before
37633         <dirent/dirent.h>.
37634
37635 2012-02-28  David S. Miller  <davem@davemloft.net>
37636
37637         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37638         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37639         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37640         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37641
37642 2012-02-27  David S. Miller  <davem@davemloft.net>
37643
37644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37646         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37647         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37648
37649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37650         frame pointer instead of stack pointer relative arg slot.
37651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37652         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37653         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37654
37655 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37656
37657         [BZ #3992]
37658         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37659
37660 2012-02-27  David S. Miller  <davem@davemloft.net>
37661
37662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37666         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37667         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37668         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37669         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37670
37671 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37672
37673         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37674         later.  Allow versions 5-9.
37675         * configure: Regenerated.
37676         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37677         required minimum version and 4.6 as recommended version.  Do not
37678         mention bugs in GCC 2.7 and 2.8.
37679         * INSTALL: Regenerated.
37680
37681 2012-02-27  David S. Miller  <davem@davemloft.net>
37682
37683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37687         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37688         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37689         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37690         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37691
37692         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37693         manipulate bits before adding and subtracting TWO112[sx].
37694         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37695
37696 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37697
37698         [BZ #13775]
37699         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37700         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37701         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37702         being in POSIX, because they are in 1003.1-2008.
37703
37704         * rt/tst-aio.c: Include <fcntl.h>.
37705         * rt/tst-aio7.c: Likewise.
37706         * rt/tst-aio64.c: Likewise.
37707
37708         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37709
37710 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37711
37712         * manual/install.texi (--with-headers): Describe headers as
37713         interface headers, not private headers.
37714         (Specific advice for GNU/Linux systems): Describe use of headers
37715         from "make headers_install", not private headers from older
37716         kernels.
37717         * INSTALL: Regenerated.
37718         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37719         Change to 2.6.19.
37720         * sysdeps/unix/sysv/linux/configure: Regenerated.
37721
37722         * manual/llio.texi (fclean): Remove documentation.
37723
37724         * manual/Makefile (libc-texi-generated): New variable.  Include
37725         version.texi.
37726         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37727         $(libc-texi-generated), not duplicated list of files.
37728         (version.texi, stamp-version): New rules.
37729         (realclean): Remove $(libc-texi-generated), not individual files
37730         from that list.  Do not remove dir-add.texinfo.
37731         * manual/libc.texinfo: Comment out uses of edition numbers and
37732         references to printed manual.  Remove last-updated dates.
37733         (EDITION): Comment out.
37734         (ISBN): Likewise.
37735         (VERSION, UPDATED): Remove.
37736         (version.texi): Include.
37737
37738 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37739
37740         * sysdeps/posix/spawni.c: Include <signal.h>.
37741         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37742         * sysdeps/pthread/aio_fsync.c: Likewise.
37743
37744 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37745
37746         * conform/Makefile (tests): Run only when not cross-compiling and
37747         when fast-check is not defined.
37748
37749         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37750         * conform/data/limits.h-data: Fixes for POSIX2008.
37751         * conform/run-conformtest.sh: Run all tests.
37752         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37753         headers.
37754         * include/bits/dlfcn.h: Likewise.
37755         * include/langinfo.h: Likewise.
37756         * include/monetary.h: Likewise.
37757         * include/sys/poll.h: Likewise.
37758
37759         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37760         for __USE_GNU.
37761         * posix/spawn.h: Define __need_sigset_t.
37762         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37763         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37764         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37765         to get sigevent_t only.
37766         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37767         only for __USE_GNU.
37768         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37769         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37770         process_vm_writev only for __USE_GNU.
37771         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37772
37773         * conform/Makefile: For now ignore errors from run-conformtest.
37774         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37775         POSIX to avoid namespace pollution.  Don't prepend headers.
37776         * conform/data/aio.h-data: Fixes for POSIX testing.
37777         * conform/data/fcntl.h-data: Likewise.
37778         * conform/data/glob.h-data: Likewise.
37779         * conform/data/grp.h-data: Likewise.
37780         * conform/data/pthread.h-data: Likewise.
37781         * conform/data/pwd.h-data: Likewise.
37782         * conform/data/signal.h-data: Likewise.
37783         * conform/data/spawn.h-data: Likewise.
37784         * conform/data/stdio.h-data: Likewise.
37785         * conform/data/stdlib.h-data: Likewise.
37786         * conform/data/stropts.h-data: Likewise.
37787         * conform/data/sys/mman.h-data: Likewise.
37788         * conform/data/sys/stat.h-data: Likewise.
37789         * conform/data/sys/types.h-data: Likewise.
37790         * conform/data/sys/wait.h-data: Likewise.
37791         * conform/data/time.h-data: Likewise.
37792         * conform/data/unistd.h-data: Likewise.
37793         * conform/data/utime.h-data: Likewise.
37794
37795         * io/sys/stat.h: fchmod was always in POSIX.
37796         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37797         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37798         * rt/aio.h: Define __need_timespec before including <time.h>.
37799         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37800         struct.  Add forward declaration of pthread_attr_t and use it in
37801         sigevent.
37802         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37803         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37804         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37805         always remove CLK_TCK definition.
37806
37807 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37808
37809         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37810
37811 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37812
37813         * conform/run-conformtest.sh: New file.
37814         * conform/Makefile: Run run-conformtest for tests.
37815         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37816         support.
37817
37818         * conform/data/uchar.h-data: New file.
37819         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37820         * conform/data/arpa/inet.h-data: Likewise.
37821         * conform/data/assert.h-data: Likewise.
37822         * conform/data/complex.h-data: Likewise.
37823         * conform/data/cpio.h-data: Likewise.
37824         * conform/data/ctype.h-data: Likewise.
37825         * conform/data/dirent.h-data: Likewise.
37826         * conform/data/dlfcn.h-data: Likewise.
37827         * conform/data/errno.h-data: Likewise.
37828         * conform/data/fcntl.h-data: Likewise.
37829         * conform/data/float.h-data: Likewise.
37830         * conform/data/fmtmsg.h-data: Likewise.
37831         * conform/data/fnmatch.h-data: Likewise.
37832         * conform/data/ftw.h-data: Likewise.
37833         * conform/data/glob.h-data: Likewise.
37834         * conform/data/grp.h-data: Likewise.
37835         * conform/data/iconv.h-data: Likewise.
37836         * conform/data/inttypes.h-data: Likewise.
37837         * conform/data/langinfo.h-data: Likewise.
37838         * conform/data/libgen.h-data: Likewise.
37839         * conform/data/limits.h-data: Likewise.
37840         * conform/data/locale.h-data: Likewise.
37841         * conform/data/math.h-data: Likewise.
37842         * conform/data/monetary.h-data: Likewise.
37843         * conform/data/mqueue.h-data: Likewise.
37844         * conform/data/ndbm.h-data: Likewise.
37845         * conform/data/net/if.h-data: Likewise.
37846         * conform/data/netdb.h-data: Likewise.
37847         * conform/data/netinet/in.h-data: Likewise.
37848         * conform/data/nl_types.h-data: Likewise.
37849         * conform/data/poll.h-data: Likewise.
37850         * conform/data/pthread.h-data: Likewise.
37851         * conform/data/pwd.h-data: Likewise.
37852         * conform/data/regex.h-data: Likewise.
37853         * conform/data/sched.h-data: Likewise.
37854         * conform/data/search.h-data: Likewise.
37855         * conform/data/semaphore.h-data: Likewise.
37856         * conform/data/setjmp.h-data: Likewise.
37857         * conform/data/signal.h-data: Likewise.
37858         * conform/data/spawn.h-data: Likewise.
37859         * conform/data/stdarg.h-data: Likewise.
37860         * conform/data/stdio.h-data: Likewise.
37861         * conform/data/stdlib.h-data: Likewise.
37862         * conform/data/string.h-data: Likewise.
37863         * conform/data/strings.h-data: Likewise.
37864         * conform/data/stropts.h-data: Likewise.
37865         * conform/data/sys/ipc.h-data: Likewise.
37866         * conform/data/sys/mman.h-data: Likewise.
37867         * conform/data/sys/msg.h-data: Likewise.
37868         * conform/data/sys/resource.h-data: Likewise.
37869         * conform/data/sys/select.h-data: Likewise.
37870         * conform/data/sys/sem.h-data: Likewise.
37871         * conform/data/sys/shm.h-data: Likewise.
37872         * conform/data/sys/socket.h-data: Likewise.
37873         * conform/data/sys/stat.h-data: Likewise.
37874         * conform/data/sys/statvfs.h-data: Likewise.
37875         * conform/data/sys/time.h-data: Likewise.
37876         * conform/data/sys/timeb.h-data: Likewise.
37877         * conform/data/sys/times.h-data: Likewise.
37878         * conform/data/sys/types.h-data: Likewise.
37879         * conform/data/sys/uio.h-data: Likewise.
37880         * conform/data/sys/un.h-data: Likewise.
37881         * conform/data/sys/utsname.h-data: Likewise.
37882         * conform/data/sys/wait.h-data: Likewise.
37883         * conform/data/syslog.h-data: Likewise.
37884         * conform/data/tar.h-data: Likewise.
37885         * conform/data/termios.h-data: Likewise.
37886         * conform/data/utime.h-data: Likewise.
37887         * conform/data/utmpx.h-data: Likewise.
37888         * conform/data/varargs.h-data: Likewise.
37889         * conform/data/wchar.h-data: Likewise.
37890         * conform/data/wctype.h-data: Likewise.
37891         * conform/data/wordexp.h-data: Likewise.
37892
37893         * include/stropts.h: New file.
37894         * include/uchar.h: New file.
37895         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37896         * include/assert.h: Likewise.
37897         * include/ctype.h: Likewise.
37898         * include/dirent.h: Likewise.
37899         * include/dlfcn.h: Likewise.
37900         * include/fcntl.h: Likewise.
37901         * include/fnmatch.h: Likewise.
37902         * include/glob.h: Likewise.
37903         * include/grp.h: Likewise.
37904         * include/libio.h: Likewise.
37905         * include/locale.h: Likewise.
37906         * include/math.h: Likewise.
37907         * include/net/if.h: Likewise.
37908         * include/netdb.h: Likewise.
37909         * include/netinet/in.h: Likewise.
37910         * include/pthread.h: Likewise.
37911         * include/pwd.h: Likewise.
37912         * include/regex.h: Likewise.
37913         * include/sched.h: Likewise.
37914         * include/search.h: Likewise.
37915         * include/setjmp.h: Likewise.
37916         * include/signal.h: Likewise.
37917         * include/stdio.h: Likewise.
37918         * include/stdlib.h: Likewise.
37919         * include/string.h: Likewise.
37920         * include/sys/cdefs.h: Likewise.
37921         * include/sys/mman.h: Likewise.
37922         * include/sys/msg.h: Likewise.
37923         * include/sys/resource.h: Likewise.
37924         * include/sys/select.h: Likewise.
37925         * include/sys/socket.h: Likewise.
37926         * include/sys/stat.h: Likewise.
37927         * include/sys/statvfs.h: Likewise.
37928         * include/sys/time.h: Likewise.
37929         * include/sys/times.h: Likewise.
37930         * include/sys/uio.h: Likewise.
37931         * include/sys/utsname.h: Likewise.
37932         * include/sys/wait.h: Likewise.
37933         * include/termios.h: Likewise.
37934         * include/time.h: Likewise.
37935         * include/ulimit.h: Likewise.
37936         * include/unistd.h: Likewise.
37937         * include/utime.h: Likewise.
37938         * include/wchar.h: Likewise.
37939         * include/wctype.h: Likewise.
37940         * include/wordexp.h: Likewise.
37941
37942         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37943
37944         * time/time.h: TIME_UTC must be a macro.
37945         Make timespec_get available for ISO C11 only as well.
37946
37947 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37948
37949         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37950         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37951
37952 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37953
37954         * configure.in: Use -o not -a in test for unsupported multi-arch.
37955
37956 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37957
37958         * manual/texinfo.tex: Update to version 2012-01-19.16.
37959
37960 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37961
37962         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37963
37964 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37965
37966         [BZ #13738]
37967         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37968         * manual/fdl-1.3.texi: New file.
37969         * manual/fdl-1.1.texi: File removed.
37970
37971         [BZ #13738]
37972         * manual/libc.texinfo (FDL_VERSION): New @set.
37973         Use it for mention of FDL in cover text.
37974         (Documentation License): Use it in @include file name.
37975
37976 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37977             Roland McGrath  <roland@hack.frob.com>
37978
37979         [BZ #5461]
37980         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37981         (not LONG_LONG_MAX and LONG_LONG_MIN.
37982         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37983         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37984         name.
37985         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37986
37987 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37988
37989         [BZ #2547]
37990         [BZ #11365]
37991         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37992         manipulate bits before adding and subtracting TWO23[sx].
37993         * math/libm-test.inc (nearbyint_test): Add more tests.
37994
37995 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37996
37997         [BZ #2548]
37998         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37999         bits before adding and subtracting TWO23[sx].
38000         * math/libm-test.inc (rint_test): Add more tests.
38001         (rint_test_tonearest): Likewise.
38002         (rint_test_towardzero): Likewise.
38003         (rint_test_downward): Likewise.
38004         (rint_test_upward: Likewise.
38005
38006 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38007
38008         [BZ #10110]
38009         * include/stdc-predef.h: New file.  Extracted from features.h.
38010         * include/features.h: Include stdc-predef.h.
38011         * Makefile (headers): Add stdc-predef.h.
38012         * CONFORMANCE (Compiler limitations): Update.
38013
38014 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38015
38016         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38017
38018 2012-02-21  David S. Miller  <davem@davemloft.net>
38019
38020         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38021         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38022
38023 2012-02-20  David S. Miller  <davem@davemloft.net>
38024
38025         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38026         using a normal save/restore sequence, rather than allocating a
38027         dummy stack frame just to store a frame pointer and restore.
38028         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38029
38030 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38031
38032         * manual/install.texi: Fix stray word in line-wrapped comment.
38033
38034 2012-02-20  David S. Miller  <davem@davemloft.net>
38035
38036         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38037         both binutils and gcc support GOTDATA.
38038
38039         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38040         "rd %pc" in the PIC register setup sequences.
38041
38042         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38043         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38044         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38045         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38046         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38047         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38048         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38049         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38050         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38051         (SYSCALL_ERROR_HANDLER): Likewise.
38052         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38053         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38054         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38055         (SYSCALL_ERROR_HANDLER): Likewise.
38056
38057         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38058         (HAVE_GCC_GOTDATA): New.
38059         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38060         relocation support in both binutils and gcc.
38061         * sysdeps/sparc/elf/configure: Regenerate.
38062
38063         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38064         * sysdeps/sparc/sparc32/elf/configure: Delete.
38065         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38066         * sysdeps/sparc/sparc64/elf/configure: Delete.
38067         * sysdeps/sparc/elf/configure.in: New file.
38068         * sysdeps/sparc/elf/configure: Generate.
38069
38070         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38071         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38072         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38073         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38074         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38075
38076 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38077
38078         * manual/install.texi: Do not mention specific glibc version
38079         numbers.
38080         * manual/libc.texinfo (VERSION, UPDATED): Update.
38081         (@copying): Use @copyright{} and range of years.
38082
38083 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38084
38085         [BZ #13695]
38086         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38087         [crti.S not in sysdirs] (generated): Do not append.
38088         [crti.S not in sysdirs] (omit-deps): Likewise.
38089         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38090         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38091         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38092         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38093         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38094         Likewise.
38095         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38096         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38097         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38098         * csu/defs.awk: Remove file.
38099         * sysdeps/generic/initfini.c: Likewise.
38100         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38101         variable.
38102         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38103         Likewise.
38104
38105 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38106
38107         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38108         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38109         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38110         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38111         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38112         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38113         <bits/epoll.h>.
38114         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38115         (__EPOLL_PACKED): Define to empty if not defined by
38116         <bits/epoll.h>.
38117         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38118         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38119         bits/epoll.h.
38120
38121 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38122
38123         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38124         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38125         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38126         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38127         <bits/timerfd.h>.
38128         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38129         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38130         bits/timerfd.h.
38131
38132 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38133
38134         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38135         in C locale.
38136         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38137         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38138         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38140
38141 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38142
38143         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38144         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38145
38146 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38147
38148         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38149         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38150         defined.
38151         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38152         Likewise.
38153         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38154         entry for 2.16.
38155
38156 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38157
38158         * math/w_acos.c: Use non-signaling floating-point comparisons.
38159         * math/w_acosf.c: Likewise.
38160         * math/w_acosh.c: Likewise.
38161         * math/w_acoshf.c: Likewise.
38162         * math/w_acoshl.c: Likewise.
38163         * math/w_acosl.c: Likewise.
38164         * math/w_asin.c: Likewise.
38165         * math/w_asinf.c: Likewise.
38166         * math/w_asinl.c: Likewise.
38167         * math/w_atanh.c: Likewise.
38168         * math/w_atanhf.c: Likewise.
38169         * math/w_atanhl.c: Likewise.
38170         * math/w_exp2.c: Likewise.
38171         * math/w_exp2f.c: Likewise.
38172         * math/w_exp2l.c: Likewise.
38173         * math/w_j0.c: Likewise.
38174         * math/w_j0f.c: Likewise.
38175         * math/w_j0l.c: Likewise.
38176         * math/w_j1.c: Likewise.
38177         * math/w_j1f.c: Likewise.
38178         * math/w_j1l.c: Likewise.
38179         * math/w_jn.c: Likewise.
38180         * math/w_jnf.c: Likewise.
38181         * math/w_log.c: Likewise.
38182         * math/w_log10.c: Likewise.
38183         * math/w_log10f.c: Likewise.
38184         * math/w_log10l.c: Likewise.
38185         * math/w_log2.c: Likewise.
38186         * math/w_log2f.c: Likewise.
38187         * math/w_log2l.c: Likewise.
38188         * math/w_logf.c: Likewise.
38189         * math/w_logl.c: Likewise.
38190         * math/w_sqrt.c: Likewise.
38191         * math/w_sqrtf.c: Likewise.
38192         * math/w_sqrtl.c: Likewise.
38193         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38194         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38195         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38196         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38197         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38198
38199 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38200
38201         [BZ #9739]
38202         * manual/string.texi (strnlen): Use correct parameter name in
38203         equivalent expression.
38204
38205 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38206
38207         [BZ #11174]
38208         * manual/users.texi (seteuid): Consistently use neweuid for
38209         argument name.
38210
38211 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38212
38213         [BZ #13704]
38214         * manual/nss.texi (Services in the NSS configuration): Correct
38215         list of services in example configuration file.
38216
38217 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38218
38219         [BZ #11322]
38220         * manual/arith.texi: Remove statements about negative zero
38221         behaving identically to zero.
38222
38223 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38224
38225         [BZ #5993]
38226         * manual/install.texi: Do not document upgrading from libc5.
38227
38228 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38229
38230         [BZ #4596]
38231         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38232
38233 2012-02-18  David S. Miller  <davem@davemloft.net>
38234
38235         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38236         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38237         %o7 across the call.
38238         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38239         instead.
38240         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38241         SETUP_PIC_REG_LEAF.
38242         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38243         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38244         * sysdeps/sparc/crtn.S: Likewise.
38245
38246 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38247
38248         * aout/Makefile: Remove.
38249
38250 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38251
38252         [BZ #13058]
38253         * manual/examples/argp-ex1.c (main): Format definition in GNU
38254         style.
38255         * manual/examples/argp-ex2.c (main): Likewise.
38256         * manual/examples/argp-ex3.c (main): Likewise.
38257         * manual/examples/argp-ex4.c (main): Likewise.
38258         * manual/examples/longopt.c (main): Use new-style prototype
38259         definition.
38260         * manual/examples/strncat.c (main): Specify return type and use
38261         (void) for arguments.
38262         * manual/examples/subopt.c (main): Use char **argv argument.
38263
38264 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38265
38266         [BZ #5077]
38267         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38268         rounding modes.
38269
38270 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38271
38272         [BZ #6907]
38273         * manual/string.texi (strchr): Change when strchrnul is
38274         recommended.
38275
38276 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38277
38278         [BZ #174]
38279         * manual/locale.texi (setlocale): Document LOCPATH.
38280
38281 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38282
38283         [BZ #10210]
38284         * manual/process.texi (execle): Move @dots{} before last argument.
38285
38286 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38287
38288         [BZ #12047]
38289         * manual/charset.texi (Generic Charset Conversion): Fix typo
38290         (LC_TYPE -> LC_CTYPE).
38291
38292 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38293
38294         [BZ #5805]
38295         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38296         (scalbnf): Likewise.
38297         (scalbnl): Likewise.
38298         (scalbln): Likewise.
38299         (scalblnf): Likewise.
38300         (scalblnl): Likewise.
38301         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38302         (vwarnx): Likewise.
38303         (verr): Likewise.
38304         (verrx): Likewise.
38305         * manual/filesys.texi (telldir): Use braces around return type.
38306         * manual/llio.texi (mmap): Add space after comma.
38307         (mmap64): Likewise.
38308         * manual/math.texi (jn): Use @var{} on parameter names.
38309         (jnf): Likewise.
38310         (jnl): Likewise.
38311         (yn): Likewise.
38312         (ynf): Likewise.
38313         (ynl): Likewise.
38314         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38315         line.
38316         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38317         "...".
38318         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38319         (sched_get_priority_max): Likewise.
38320         * manual/signal.texi (sigvec): Add space after comma.
38321         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38322         names.
38323         (if_indextoname): Likewise.
38324         (if_freenameindex): Likewise.
38325         (sendto): Use ',' instead of '.' in prototype.
38326         * manual/startup.texi (syscall): Use @dots{} instead of literal
38327         "...".
38328         * manual/stdio.texi (__fpending): Separate initial words of
38329         paragraph from @deftypefun line.
38330         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38331         "...".
38332         (vsyslog): Use @var{} on parameter names.
38333         * manual/terminal.texi (stty): Use @var{} on parameter names.
38334         * manual/users.texi (getutmp): Use @var{} on parameter names.
38335         (getutmpx): Likewise.
38336
38337 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38338
38339         [BZ #6884]
38340         * manual/stdio.texi (fopen): Fix typos in description of
38341         ",ccs=STRING".
38342
38343 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38344
38345         [BZ #4026]
38346         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38347         get clock_id definition.
38348
38349 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38350
38351         [BZ #4822]
38352         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38353         (madvise): Cast every argument to void on its own.
38354
38355 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38356
38357         [BZ #9902]
38358         * manual/startup.texi (Exit Status): Fix typo.
38359
38360 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38361
38362         [BZ #10140]
38363         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38364         * manual/examples/argp-ex2.c: Likewise.
38365         * manual/examples/argp-ex3.c: Likewise.
38366
38367 2012-02-16  Richard Henderson  <rth@redhat.com>
38368
38369         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38370         * sysdeps/s390/s390-32/initfini.c: Remove.
38371         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38372         * sysdeps/s390/s390-64/initfini.c: Remove.
38373
38374 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38375
38376         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38377         compiler output for sysdeps/generic/initfini.c.
38378         * sysdeps/sh/elf/initfini.c: Remove file.
38379
38380 2012-02-16  David S. Miller  <davem@davemloft.net>
38381
38382         [BZ #11494]
38383         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38384
38385         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38386         * sysdeps/sparc/crti.S: New file.
38387         * sysdeps/sparc/crtn.S: New file.
38388         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38389         * sysdeps/sparc/sparc64/Makefile: Likewise.
38390
38391 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38392
38393         [BZ #3335]
38394         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38395
38396 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38397
38398         [BZ #4822]
38399         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38400
38401         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38402         (write, read, close): Likewise.
38403         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38404
38405 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38406
38407         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38408         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38409         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38410         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38411         <bits/signalfd.h>.
38412         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38414         bits/signalfd.h.
38415
38416 2012-02-14  Marek Polacek  <polacek@redhat.com>
38417
38418         * sysdeps/x86_64/crti.S: New file.
38419         * sysdeps/x86_64/crtn.S: New file.
38420         * sysdeps/x86_64/elf/initfini.c: Remove file.
38421
38422 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38423
38424         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38425         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38426         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38427         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38428         <bits/inotify.h>.
38429         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38430         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38431         bits/inotify.h.
38432
38433 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38434
38435         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38436         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38437         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38438         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38439         <bits/eventfd.h>.
38440         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38441         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38442         bits/eventfd.h.
38443
38444 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38445
38446         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38447         __feraiseexcept instead of feraiseexcept.
38448
38449         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38450         nanosleep invocations.
38451         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38452         strings, and add error checking for a nanosleep invocations.
38453
38454 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38455
38456         Replace FSF snail mail address with URLs, as per GNU coding standards.
38457         Most of the snail mail addresses were wrong anyway, and omitting
38458         them makes the source code easier to maintain.  Almost all of the
38459         changes are to license notices and to locale LC_IDENTIFICATION
38460         addresses, except for this one:
38461         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38462         not its snail mail address.
38463
38464 2012-02-09  Richard Henderson  <rth@twiddle.net>
38465
38466         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38467         of kernel-features.h.
38468
38469         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38470
38471 2012-02-08  Marek Polacek  <polacek@redhat.com>
38472
38473         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38474         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38475         * sysdeps/gnu/_G_config.h: Likewise.
38476         * sysdeps/generic/_G_config.h: Likewise.
38477
38478 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38479
38480         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38481         tests.
38482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38483
38484         * sysdeps/powerpc/powerpc32/crti.S: New file.
38485         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38486         * sysdeps/powerpc/powerpc64/crti.S: New file.
38487         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38488
38489         * Makeconfig (have-initfini): Don't set.
38490         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38491         * configure.in (nopic_initfini): Don't substitute.
38492         * config.h.in (HAVE_INITFINI): Don't #undef.
38493         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38494         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38495
38496 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38497
38498         Support crti.S and crtn.S provided directly by architectures.
38499         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38500         [crti.S in sysdirs] (omit-deps): Likewise.
38501         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38502         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38503         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38504         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38505         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38506         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38507         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38508         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38509         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38510         compiler output for sysdeps/generic/initfini.c.
38511         * sysdeps/i386/elf/Makefile: Remove file.
38512         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38513
38514 2012-02-07  Marek Polacek  <polacek@redhat.com>
38515
38516         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38517         * sysdeps/gnu/_G_config.h: Likewise.
38518         * sysdeps/mach/hurd/_G_config.h: Likewise.
38519
38520 2012-02-07  Marek Polacek  <polacek@redhat.com>
38521
38522         * math/Makefile (tests): Add tst-CMPLX2.
38523         * math/tst-CMPLX2.c: New file.
38524
38525 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38526
38527         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38528
38529         * math/libm-test.inc (jn_test): Add missing L suffix.
38530
38531 2012-02-06  Marek Polacek  <polacek@redhat.com>
38532
38533         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38534         * sysdeps/i386/fpu/e_powf.S: Likewise.
38535         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38536         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38537         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38538         * sysdeps/i386/fpu/e_pow.S: Likewise.
38539         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38540         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38541         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38542         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38543         * sysdeps/i386/fpu/e_log2.S: Likewise.
38544         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38545         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38546         * sysdeps/i386/fpu/e_powl.S: Likewise.
38547         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38548         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38549         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38550         * sysdeps/i386/fpu/e_logl.S: Likewise.
38551         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38552         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38553         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38554         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38555         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38556         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38557         * sysdeps/i386/fpu/e_log.S: Likewise.
38558         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38559         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38560         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38561         * sysdeps/i386/fpu/e_logf.S: Likewise.
38562         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38563         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38564         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38565         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38566         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38567         * sysdeps/i386/fpu/e_log10.S: Likewise.
38568         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38569         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38570         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38571         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38572         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38573         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38574         * sysdeps/i386/asm-syntax.h: Likewise.
38575         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38576         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38577         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38578         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38579         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38580         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38581         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38582         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38583         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38584         * sysdeps/powerpc/sysdep.h: Likewise.
38585         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38586         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38587
38588 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38589
38590         [BZ #411]
38591         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38592
38593 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38594
38595         * sysdeps/i386/sysdep.h: Include <features.h>.
38596         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38597         version.
38598
38599 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38600
38601         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38602         Define.
38603         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38604         LOAD_PIC_REG_STR.
38605
38606 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38607
38608         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38609         (SETUP_PIC_REG): Use GET_PC_THUNK.
38610         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38611         macro.
38612
38613 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38614
38615         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38616         for non-PIC compilation.
38617         (SETUP_PIC_REG): Add .p2align directive.
38618         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38619         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38620         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38621         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38622         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38623         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38624         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38625         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38626         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38627         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38628         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38629         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38630         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38631         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38632         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38633         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38634         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38635         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38636         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38637         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38638         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38639         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38640         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38641         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38642         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38643         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38644         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38645         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38646         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38647         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38648         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38649         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38650         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38651         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38652         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38653         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38654         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38655         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38656         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38657         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38658         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38659
38660 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38661
38662         * math/tst-CMPLX.c: Include <stdio.h>.
38663
38664 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38665
38666         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38667         float.
38668         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38669         * sysdeps/sparc/bits/mathdef.h: Likewise.
38670
38671 2012-01-31  Marek Polacek  <polacek@redhat.com>
38672
38673         * libio/libio.h: Don't define _PARAMS.
38674         * locale/programs/config.h: Don't define PARAMS.
38675         * stdlib/strtol_l.c: Likewise.
38676         (__strtol_l): Remove PARAMS from the prototype.
38677
38678 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38679
38680         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38681         names.  Just use the correct names.  Remove unnecessary wrapper
38682         functions.
38683         * malloc/arena.c: Likewise.
38684         * malloc/hooks.c: Likewise.
38685
38686         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38687         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38688         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38689
38690 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38691
38692         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38693         into tail calls.
38694         (update_get_addr): New function.
38695         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38696         GET_ADDR_MODULE parameter.
38697
38698 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38699
38700         * crypt/cert.c: Remove __STDC__ conditionals.
38701         * crypt/crypt-entry.c: Likewise.
38702         * crypt/crypt_util.c: Likewise.
38703         * libio/filedoalloc.c: Likewise.
38704         * libio/fileops.c: Likewise.
38705         * libio/genops.c: Likewise.
38706         * libio/iofclose.c: Likewise.
38707         * libio/iofdopen.c: Likewise.
38708         * libio/iofopen.c: Likewise.
38709         * libio/iofopen64.c: Likewise.
38710         * libio/iogetdelim.c: Likewise.
38711         * libio/iopopen.c: Likewise.
38712         * libio/obprintf.c: Likewise.
38713         * libio/oldfileops.c: Likewise.
38714         * libio/oldiofclose.c: Likewise.
38715         * libio/oldiofdopen.c: Likewise.
38716         * libio/oldiofopen.c: Likewise.
38717         * libio/oldiopopen.c: Likewise.
38718         * libio/wfiledoalloc.c: Likewise.
38719         * libio/wgenops.c: Likewise.
38720         * locale/programs/xmalloc.c: Likewise.
38721         * misc/syslog.c: Likewise.
38722         * stdio-common/xbug.c: Likewise.
38723         * string/memchr.c: Likewise.
38724         * string/memcmp.c: Likewise.
38725         * string/memrchr.c: Likewise.
38726         * string/rawmemchr.c: Likewise.
38727         * sysdeps/posix/getcwd.c: Likewise.
38728         * time/strftime_l.c: Likewise.
38729
38730 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38731
38732         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38733         * config.make.in (config-cflags-sse2avx): Define.
38734         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38735         Fix typo.
38736
38737 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38738
38739         * scripts/config.guess: Update from upstream config git repository.
38740         * scripts/config.sub: Likewise.
38741
38742 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38743
38744         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38745         (EM_NUM): Update.
38746         (R_TILEPRO_*, R_TILEGX_*): New macros.
38747
38748         * scripts/firstversions.awk: Fix bug in version range handling.
38749
38750         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38751
38752         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38753
38754         * include/sys/epoll.h: New file.
38755         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38756         libc_hidden_def.
38757
38758 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38759
38760         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38761         Avoid unnecessary __WORDSIZE == 64 test.
38762         (fmaxf): Use VEX format if possible.
38763         (fmax): Likewise.
38764         (fminf): Likewise.
38765         (fmin): Likewise.
38766
38767         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38768         * math/math_private.h: Remove libc_fegetround* and
38769         libc_fesetround*.
38770         * sysdeps/i386/configure.in: Check for -msse2avx.
38771         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38772         also if SSE2AVX is defined.
38773         Remove libc_fegetround* and libc_fesetround*.
38774         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38775         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38776         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38777         of HAS_YMM_USABLE.
38778         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38779         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38780         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38781         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38782         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38783
38784         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38785
38786 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38787
38788         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38789         size is not set.
38790         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38791
38792 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38793
38794         [BZ #13618]
38795         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38796         relocation.
38797         * Makeconfig (libm): Define.
38798         * elf/Makefile: Add rules to build and run tst-relsort1.
38799         * elf/tst-relsort1.c: New file.
38800         * elf/tst-relsort1mod1.c: New file.
38801         * elf/tst-relsort1mod2.c: New file.
38802
38803 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38804
38805         * math/s_ldexp.c: Remove __STDC__ conditionals.
38806         * math/s_ldexpf.c: Likewise.
38807         * math/s_ldexpl.c: Likewise.
38808         * math/s_nextafter.c: Likewise.
38809         * math/s_nexttowardf.c: Likewise.
38810         * math/s_significand.c: Likewise.
38811         * math/s_significandf.c: Likewise.
38812         * math/s_significandl.c: Likewise.
38813         * math/w_jnl.c: Likewise.
38814         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38815         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38816         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38817         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38818         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38819         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38820         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38821         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38822         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38823         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38824         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38825         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38826         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38827         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38828         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38829         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38830         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38831         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38832         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38833         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38834         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38835         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38836         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38837         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38838         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38839         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38840         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38841         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38842         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38843         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38844         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38845         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38846         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38847         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38848         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38849         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38850         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38851         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38852         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38853         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38854         * sysdeps/ieee754/k_standard.c: Likewise.
38855         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38856         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38857         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38858         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38859         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38860         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38861         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38862         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38863         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38864         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38865         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38866         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38867         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38868         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38869         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38870         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38871         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38872         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38873         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38874         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38875         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38881         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38882         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38883         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38884         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38888         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38889         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38890         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38892         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38894         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38899         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38902         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38903         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38904         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38905         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38907         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38908         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38909         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38913         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38914         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38916         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38919         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38921         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38922         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38926         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38928         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38929         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38930         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38931         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38934         * sysdeps/ieee754/s_matherr.c: Likewise.
38935         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38936         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38937         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38938         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38939
38940 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38941
38942         * crypt/md5.h: Remove __STDC__ conditionals.
38943         * libio/libioP.h: Likewise.
38944         * locale/programs/config.h: Likewise.
38945         * sysdeps/generic/sysdep.h: Likewise.
38946         * sysdeps/i386/asm-syntax.h: Likewise.
38947         * sysdeps/s390/asm-syntax.h: Likewise.
38948         * sysdeps/unix/sysdep.h: Likewise.
38949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38951
38952 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38953
38954         * libio/libio.h: Remove __STDC__ conditionals.
38955         * malloc/obstack.h: Likewise.
38956         * math/complex.h: Likewise.
38957         * math/math.h: Likewise.
38958         * sysdeps/generic/_G_config.h: Likewise.
38959         * sysdeps/gnu/_G_config.h: Likewise.
38960         * sysdeps/mach/hurd/_G_config.h: Likewise.
38961         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38962         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38963         * sysdeps/sparc/bits/mathdef.h: Likewise.
38964
38965 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38966
38967         [BZ #13583]
38968         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38969         Clean up HAS_* macros.
38970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38971         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38972         possible.
38973         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38974         HAS_AVX.
38975         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38976         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38977         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38978         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38979         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38980
38981 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38982
38983         * elf/tst-unique3.cc (gets): Remove declaration.
38984         * elf/tst-unique3lib.cc (gets): Likewise.
38985         * elf/tst-unique3lib2.cc (gets): Likewise.
38986         * elf/tst-unique4.cc (gets): Likewise.
38987
38988 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38989
38990         * include/stdio.h: Add C++ protection.  Add gets declarations and
38991         definitions.
38992         * debug/tst-chk1.c: Don't declare gets here.
38993         * stdio-common/tst-gets.c: Likewise.
38994
38995 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38996
38997         * posix/glob: Remove directory.
38998
38999 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39000
39001         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39002
39003 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39004
39005         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39006         of the non-standard EPFNOSUPPORT.
39007
39008 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39009
39010         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39011         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39012         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39013
39014 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39015
39016         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39017
39018 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39019
39020         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39021         transient errors.
39022         * nscd/grpcache.c (cache_addgr): Likewise.
39023         * nscd/hstcache.c (cache_addhst): Likewise.
39024         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39025         * nscd/pwdcache.c (cache_addpw): Likewise.
39026         * nscd/servicescache.c (cache_addserv): Likewise.
39027
39028 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39029
39030         * malloc/malloc.c: Various cleanups.
39031         * malloc/hooks.c: Likewise.
39032
39033         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39034         * stdlib/bug-fmtmsg1.c: New file.
39035
39036         * stdlib/fmtmsg.c (init): Add missing unlock.
39037         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39038
39039 2012-01-12  Marek Polacek  <polacek@redhat.com>
39040
39041         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39042         and _GNU_SOURCE.
39043
39044 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39045
39046         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39047         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39048         macro to ensure uniqueness of label name.
39049         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39050         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39051
39052 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39053
39054         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39055
39056         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39057         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39058         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39059         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39060
39061 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39062
39063         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39064
39065         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39066         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39067         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39068
39069         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39070
39071         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39072         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39073         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39074         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39075
39076         * math/bits/math-finite.h: Add ldexp support.
39077
39078 2012-01-10  Marek Polacek  <polacek@redhat.com>
39079
39080         * locale/programs/localedef.h (show_archive_content): Add noreturn
39081         attribute.
39082
39083 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39084
39085         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39086
39087 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39088
39089         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39090
39091         * io/Makefile (headers): Add bits/poll2.h.
39092
39093 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39094
39095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39096         typo #include statement.
39097
39098 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39099
39100         * include/sys/cdefs.h: Define __attribute_alloc_size.
39101         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39102         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39103         * elf/pldd.c: Likewise.
39104         * iconv/iconv_charmap.c: Likewise.
39105         * iconv/iconvconfig.c: Likewise.
39106         * iconv/strtab.c: Likewise.
39107         * locale/programs/locale.c: Likewise.
39108         * locale/programs/localedef.h: Likewise.
39109         * locale/programs/simple-hash.c: Likewise.
39110         * nscd/nscd.h: Likewise.
39111         * nss/makedb.c: Likewise.
39112         * sysdeps/generic/ldconfig.h: Likewise.
39113         * locale/programs/localedef.c: Remove xmalloc prototype.
39114         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39115
39116 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39117
39118         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39119         appropriate.
39120
39121 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39122
39123         * math/Makefile (tests): Add tst-CMPLX.
39124         * math/tst-CMPLX.c: New file.
39125
39126         * math/complex.h (CMPLXL): Fix typo.
39127
39128         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39129         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39130         GLIBC_2.16.
39131         * debug/tst-chk1.c: Add poll and ppoll tests.
39132         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39133         * include/sys/poll.h: Add hidden proto for ppoll.
39134         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39135         * sysdeps/mach/hurd/ppoll.c: Likewise.
39136         * io/ppoll.c: Likewise.
39137         * debug/poll_chk.c: New file.
39138         * debug/ppoll_chk.c: New file.
39139         * include/bits/poll2.h: New file.
39140         * io/bits/poll2.h: New file.
39141
39142         [BZ #1350]
39143         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39144
39145         * configure.in: static is always set to yes.  Remove.
39146         * config.make.in: Don't set build-static.
39147         * Makeconfig: Remove use of build-static.
39148         * dlfcn/Makefile: Likewise.
39149         * elf/Makefile: Likewise.
39150         * math/Makefile: Likewise.
39151         * misc/Makefile: Likewise.
39152         * nptl/Makefile: Likewise.
39153         * sysdeps/mach/hurd/Makefile: Likewise.
39154
39155         * configure.in: PWD_P is not used anymore.
39156         * config.make.in: Remove PWD_P entry.
39157
39158         * configure.in: Remove last remnants of RANLIB.
39159         No need to check for signed size_t anymore.
39160         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39161         and IA-64.
39162         Remove __builtin_expect test because we require at least gcc 3.4.
39163         * aclocal.m4: Likewise.
39164
39165         * wcsmbs/mbrtoc16.c: Implement using towc function.
39166         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39167         * wcsmbs/wcsmbsload.c: Likewise.
39168         * iconv/gconv_simple.c: Likewise.
39169         * iconv/gconv_int.h: Likewise.
39170         * iconv/gconv_builtin.h: Likewise.
39171         * iconv/iconv_prog.c: Remove CHAR16 handling.
39172
39173         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39174
39175         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39176
39177         * configure.in: Remove --with-elf and --enable-bounded options.
39178         Dont set base_machine for ia64.  More non-ELF conditions removed.
39179         Remove testing and setting of leading underscore information.
39180         * config.make.in (build-bounded): Set to no.
39181         * config.h.in: Remove NO_UNDERSCORES entry.
39182         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39183         them.
39184         * csu/start.c: Remove !NO_UNDERSCORE code.
39185         * locale/localeinfo.h: Likewise.
39186         * sysdeps/generic/machine-gmon.h: Likewise.
39187         * sysdeps/generic/sysdep.h: Likewise.
39188         * sysdeps/i386/sysdep.h: Likewise.
39189         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39190         * sysdeps/mach/sysdep.h: Likewise.
39191         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39192         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39193         * sysdeps/sh/sysdep.h: Likewise.
39194         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39195         * sysdeps/unix/i386/sysdep.S: Likewise.
39196         * sysdeps/unix/sparc/start.c: Likewise.
39197         * sysdeps/unix/sparc/sysdep.S: Likewise.
39198         * sysdeps/unix/sparc/sysdep.h: Likewise.
39199         * sysdeps/unix/start.c: Likewise.
39200         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39201         * sysdeps/x86_64/sysdep.h: Likewise.
39202
39203 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39204
39205         [BZ #13553]
39206         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39207         for non-gcc.
39208         * argp/argp-fmtstream.h: Use const instead __const.
39209         * argp/argp.h: Likewise.
39210         * assert/assert.h: Likewise.
39211         * bits/fenv.h: Likewise.
39212         * bits/sched.h: Likewise.
39213         * bits/sigset.h: Likewise.
39214         * bits/sigthread.h: Likewise.
39215         * catgets/nl_types.h: Likewise.
39216         * conform/data/pthread.h-data: Likewise.
39217         * crypt/crypt-private.h: Likewise.
39218         * crypt/crypt.h: Likewise.
39219         * crypt/crypt_util.c: Likewise.
39220         * ctype/ctype.h: Likewise.
39221         * debug/execinfo.h: Likewise.
39222         * debug/mbsnrtowcs_chk.c: Likewise.
39223         * debug/mbsrtowcs_chk.c: Likewise.
39224         * debug/wcsnrtombs_chk.c: Likewise.
39225         * debug/wcsrtombs_chk.c: Likewise.
39226         * debug/wcstombs_chk.c: Likewise.
39227         * dirent/dirent.h: Likewise.
39228         * dlfcn/dlfcn.h: Likewise.
39229         * elf/neededtest4.c: Likewise.
39230         * grp/grp.h: Likewise.
39231         * gshadow/gshadow.h: Likewise.
39232         * iconv/gconv.h: Likewise.
39233         * iconv/gconv_int.h: Likewise.
39234         * iconv/gconv_simple.c: Likewise.
39235         * iconv/iconv.h: Likewise.
39236         * iconv/loop.c: Likewise.
39237         * iconv/skeleton.c: Likewise.
39238         * include/aio.h: Likewise.
39239         * include/aliases.h: Likewise.
39240         * include/argz.h: Likewise.
39241         * include/arpa/inet.h: Likewise.
39242         * include/assert.h: Likewise.
39243         * include/dirent.h: Likewise.
39244         * include/dlfcn.h: Likewise.
39245         * include/execinfo.h: Likewise.
39246         * include/fcntl.h: Likewise.
39247         * include/fenv.h: Likewise.
39248         * include/glob.h: Likewise.
39249         * include/grp.h: Likewise.
39250         * include/libintl.h: Likewise.
39251         * include/mntent.h: Likewise.
39252         * include/netdb.h: Likewise.
39253         * include/pwd.h: Likewise.
39254         * include/rpc/netdb.h: Likewise.
39255         * include/sched.h: Likewise.
39256         * include/search.h: Likewise.
39257         * include/shadow.h: Likewise.
39258         * include/signal.h: Likewise.
39259         * include/stdio.h: Likewise.
39260         * include/stdlib.h: Likewise.
39261         * include/string.h: Likewise.
39262         * include/sys/socket.h: Likewise.
39263         * include/sys/stat.h: Likewise.
39264         * include/sys/statfs.h: Likewise.
39265         * include/sys/statvfs.h: Likewise.
39266         * include/sys/syslog.h: Likewise.
39267         * include/sys/time.h: Likewise.
39268         * include/sys/uio.h: Likewise.
39269         * include/time.h: Likewise.
39270         * include/unistd.h: Likewise.
39271         * include/utmp.h: Likewise.
39272         * include/wchar.h: Likewise.
39273         * include/wctype.h: Likewise.
39274         * inet/aliases.h: Likewise.
39275         * inet/arpa/inet.h: Likewise.
39276         * inet/netinet/ether.h: Likewise.
39277         * inet/netinet/in.h: Likewise.
39278         * intl/libintl.h: Likewise.
39279         * io/bits/fcntl2.h: Likewise.
39280         * io/fcntl.h: Likewise.
39281         * io/ftw.h: Likewise.
39282         * io/sys/poll.h: Likewise.
39283         * io/sys/stat.h: Likewise.
39284         * io/sys/statfs.h: Likewise.
39285         * io/sys/statvfs.h: Likewise.
39286         * io/utime.h: Likewise.
39287         * libio/bits/stdio.h: Likewise.
39288         * libio/bits/stdio2.h: Likewise.
39289         * libio/libio.h: Likewise.
39290         * libio/libioP.h: Likewise.
39291         * libio/stdio.h: Likewise.
39292         * locale/lc-ctype.c: Likewise.
39293         * locale/locale.h: Likewise.
39294         * login/utmp.h: Likewise.
39295         * malloc/arena.c: Likewise.
39296         * malloc/malloc.c: Likewise.
39297         * malloc/malloc.h: Likewise.
39298         * malloc/mcheck.c: Likewise.
39299         * malloc/mtrace.c: Likewise.
39300         * math/bits/mathcalls.h: Likewise.
39301         * math/fenv.h: Likewise.
39302         * math/math_private.h: Likewise.
39303         * misc/bits/error.h: Likewise.
39304         * misc/bits/syslog.h: Likewise.
39305         * misc/err.h: Likewise.
39306         * misc/error.h: Likewise.
39307         * misc/fstab.h: Likewise.
39308         * misc/mntent.h: Likewise.
39309         * misc/regexp.h: Likewise.
39310         * misc/search.h: Likewise.
39311         * misc/sgtty.h: Likewise.
39312         * misc/sys/mman.h: Likewise.
39313         * misc/sys/syslog.h: Likewise.
39314         * misc/sys/uio.h: Likewise.
39315         * misc/sys/xattr.h: Likewise.
39316         * misc/ttyent.h: Likewise.
39317         * nis/rpcsvc/ypclnt.h: Likewise.
39318         * nss/nss.h: Likewise.
39319         * posix/bits/unistd.h: Likewise.
39320         * posix/fnmatch.h: Likewise.
39321         * posix/glob.h: Likewise.
39322         * posix/sched.h: Likewise.
39323         * posix/spawn.h: Likewise.
39324         * posix/sys/wait.h: Likewise.
39325         * posix/unistd.h: Likewise.
39326         * posix/wordexp.h: Likewise.
39327         * pwd/pwd.h: Likewise.
39328         * resolv/netdb.h: Likewise.
39329         * resource/sys/resource.h: Likewise.
39330         * rt/aio.h: Likewise.
39331         * rt/bits/mqueue2.h: Likewise.
39332         * rt/mqueue.h: Likewise.
39333         * shadow/shadow.h: Likewise.
39334         * signal/signal.h: Likewise.
39335         * socket/send.c: Likewise.
39336         * socket/sendto.c: Likewise.
39337         * socket/sys/socket.h: Likewise.
39338         * stdio-common/printf.h: Likewise.
39339         * stdlib/bits/stdlib.h: Likewise.
39340         * stdlib/fmtmsg.h: Likewise.
39341         * stdlib/monetary.h: Likewise.
39342         * stdlib/stdlib.h: Likewise.
39343         * stdlib/ucontext.h: Likewise.
39344         * streams/stropts.h: Likewise.
39345         * string/argz.h: Likewise.
39346         * string/bits/string2.h: Likewise.
39347         * string/string.h: Likewise.
39348         * string/strings.h: Likewise.
39349         * sunrpc/rpc/auth.h: Likewise.
39350         * sunrpc/rpc/auth_des.h: Likewise.
39351         * sunrpc/rpc/clnt.h: Likewise.
39352         * sunrpc/rpc/netdb.h: Likewise.
39353         * sunrpc/rpc/pmap_clnt.h: Likewise.
39354         * sunrpc/rpc/xdr.h: Likewise.
39355         * sysdeps/generic/inttypes.h: Likewise.
39356         * sysdeps/generic/net/if.h: Likewise.
39357         * sysdeps/generic/sys/swap.h: Likewise.
39358         * sysdeps/gnu/net/if.h: Likewise.
39359         * sysdeps/gnu/utmpx.h: Likewise.
39360         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39361         * sysdeps/i386/i486/bits/string.h: Likewise.
39362         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39363         * sysdeps/s390/bits/string.h: Likewise.
39364         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39365         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39366         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39367         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39368         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39369         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39370         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39371         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39372         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39373         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39374         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39375         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39376         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39377         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39378         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39379         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39380         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39381         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39382         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39383         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39384         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39385         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39386         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39387         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39388         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39389         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39390         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39391         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39392         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39393         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39394         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39395         * sysvipc/sys/ipc.h: Likewise.
39396         * sysvipc/sys/msg.h: Likewise.
39397         * sysvipc/sys/sem.h: Likewise.
39398         * sysvipc/sys/shm.h: Likewise.
39399         * termios/termios.h: Likewise.
39400         * time/sys/time.h: Likewise.
39401         * time/time.h: Likewise.
39402         * wcsmbs/bits/wchar2.h: Likewise.
39403         * wcsmbs/uchar.h: Likewise.
39404         * wcsmbs/wchar.h: Likewise.
39405         * wctype/wctype.h: Likewise.
39406
39407         [BZ #13551]
39408         * Makeconfig: Remove all but ELF support including AIX support.
39409         * Makerules: Likewise.
39410         * config.h.in: Likewise.
39411         * config.make.in: Likewise.
39412         * configure: Likewise.
39413         * configure.in: Likewise.
39414         * csu/Makefile: Likewise.
39415         * csu/version.c: Likewise.
39416         * debug/Makefile: Likewise.
39417         * dlfcn/Makefile: Likewise.
39418         * elf/Makefile: Likewise.
39419         * extra-lib.mk: Likewise.
39420         * iconv/Makefile: Likewise.
39421         * include/libc-symbols.h: Likewise.
39422         * include/shlib-compat.h: Likewise.
39423         * resolv/Makefile: Likewise.
39424         * resolv/res_libc.c: Likewise.
39425         * rt/Makefile: Likewise.
39426         * sysdeps/i386/asm-syntax.h: Likewise.
39427         * sysdeps/i386/sysdep.h: Likewise.
39428         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39429         * sysdeps/mach/sysdep.h: Likewise.
39430         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39431         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39432         * sysdeps/s390/asm-syntax.h: Likewise.
39433         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39434         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39435         * sysdeps/sh/sysdep.h: Likewise.
39436         * sysdeps/unix/sparc/sysdep.h: Likewise.
39437         * sysdeps/wordsize-32/divdi3.c: Likewise.
39438         * sysdeps/x86_64/sysdep.h: Likewise.
39439
39440         * argp/Versions: Remove _argp_unlock_xxx.
39441
39442         [BZ #13559]
39443         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39444         * abilist/libBrokenLocale.abilist: Likewise.
39445         * abilist/libanl.abilist: Likewise.
39446         * abilist/libc.abilist: Likewise.
39447         * abilist/libcrypt.abilist: Likewise.
39448         * abilist/libdl.abilist: Likewise.
39449         * abilist/libm.abilist: Likewise.
39450         * abilist/libnsl.abilist: Likewise.
39451         * abilist/libpthread.abilist: Likewise.
39452         * abilist/libresolv.abilist: Likewise.
39453         * abilist/librt.abilist: Likewise.
39454         * abilist/libthread_db.abilist: Likewise.
39455         * abilist/libutil.abilist: Likewise.
39456         * abilist/libnss_db.abilist: New file.
39457
39458         * scripts/abilist.awk: Add support for indirect functions.
39459
39460         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39461
39462         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39463
39464         * shlib-versions: Remove entries for ports architectures.
39465
39466         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39467         files in ports.
39468         * elf/stackguard-macros.h: Remove support for IA-64.
39469         * elf/tst-auditmod1.c: Likewise.
39470         * sysdeps/generic/ldsodefs.h: Likewise.
39471
39472         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39473         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39474         configure files.
39475
39476         [BZ #13552]
39477         * configure.in: Remove --enable-omitfp support.
39478         * FAQ.in: Adjust.
39479         * config.make.in: Likewise.
39480         * Makeconfig: Likewise.
39481         * manual/install.texi: Likewise.
39482
39483         In case anyone cares, the IA-64 architecture could move to ports.
39484         * sysdeps/ia64/*: Removed.
39485         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39486         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39487
39488         [BZ #13555]
39489         * configure.in: Remove entries for unsupported architectures.
39490
39491         [BZ #13533]
39492         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39493         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39494         routines.
39495         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39496         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39497         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39498         fall back to using wcrtomb.
39499         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39500         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39501         renaming.
39502         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39503         * wcsmbs/tst-c16c32-1.c: New file.
39504
39505         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39506         local variable.
39507
39508         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39509
39510         * elf/tst-unique3.cc: Add explicit declaration of gets.
39511         * elf/tst-unique3lib.cc: Likewise.
39512         * elf/tst-unique3lib2.cc: Likewise.
39513         * elf/tst-unique4.cc: Likewise.
39514
39515         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39516
39517 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39518
39519         [BZ #13566]
39520         * assert/assert.h (static_assert): Don't define for C++.
39521         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39522         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39523
39524 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39525
39526         * iconv/loop.c (single loop): Fix assertion in storing of
39527         remaining bytes.
39528
39529         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39530
39531 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39532
39533         * posix/getconf.c: Update copyright year.
39534         * nss/getent.c: Likewise.
39535         * nss/makedb.c: Likewise.
39536         * iconv/iconvconfig.c: Likewise.
39537         * iconv/iconv_prog.c: Likewise.
39538         * elf/ldconfig.c: Likewise.
39539         * elf/pldd.c: Likewise.
39540         * elf/sotruss.ksh: Likewise.
39541         * catgets/gencat.c: Likewise.
39542         * csu/version.c: Likewise.
39543         * elf/ldd.bash.in: Likewise.
39544         * elf/sprof.c (print_version): Likewise.
39545         * locale/programs/locale.c: Likewise.
39546         * locale/programs/localedef.c: Likewise.
39547         * login/programs/pt_chown.c: Likewise.
39548         * nscd/nscd.c (print_version): Likewise.
39549         * debug/xtrace.sh: Likewise.
39550         * malloc/memusage.sh: Likewise.
39551         * malloc/mtrace.pl: Likewise.
39552         * debug/catchsegv.sh: Likewise.
39553
39554 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39555
39556         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39557         pure attribute.
39558
39559 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39560
39561         [BZ #13533]
39562         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39563         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39564         transformations.
39565         * iconv/gconv_int.h: Likewise.
39566         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39567         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39568         from libc for GLIBC_2.16.
39569         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39570         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39571         * wcsmbs/uchar.h: Really define mbstate_t.
39572         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39573         * wcsmbs/c16rtomb.c: New file.
39574         * wcsmbs/mbrtoc16.c: New file.
39575         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39576         for C/POSIX locale.
39577         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39578         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39579
39580         * wcsmbs/wchar.h: Add missing __restrict.
39581
39582 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39583
39584         [BZ #13532]
39585         * time/Makefile (routines): Add timespec_get.
39586         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39587         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39588         timespec for ISO C11.
39589         * time/timespec_get.c: New file.
39590         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39591         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39592
39593         [BZ #13531]
39594         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39595         * stdlib/stdlib.h: Declare aligned_alloc.
39596         * Versions.def: Add GLIBC_2.16 for libc.
39597         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39598
39599         [BZ 13527]
39600         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39601         ISO C11.
39602
39603         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39604         code.
39605
39606         [BZ #13528]
39607         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39608
39609         [BZ #13529]
39610         * assert/assert.h (static_assert): Define.
39611
39612         * version.h: Update for 2.16 development version.
39613
39614         [BZ #13526]
39615         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39616         _ISOC11_SOURCE.
39617
39618         * version.h (RELEASE): Bump for 2.15 release.
39619         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39620
39621         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39622         Patch by Marek Polacek <mpolacek@redhat.com>.
39623
39624         * bits/byteswap.h: Protect long long constants with __extension__.
39625         * sysdeps/i386/bits/byteswap.h: Likewise.
39626         * sysdeps/ia64/bits/byteswap.h: Likewise.
39627         * sysdeps/s390/bits/byteswap.h: Likewise.
39628         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39629
39630 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39631
39632         [BZ #13540]
39633         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39634         destination buffer.
39635         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39636
39637 2011-12-23  Marek Polacek  <polacek@redhat.com>
39638
39639         * elf/dl-addr.c (determine_info): Add inline keyword.
39640         * elf/tst-auditmod4b.c (check_avx): Likewise.
39641         * elf/tst-auditmod6b.c (check_avx): Likewise.
39642         * elf/tst-auditmod6c.c (check_avx): Likewise.
39643         * elf/tst-auditmod7b.c (check_avx): Likewise.
39644
39645 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39646
39647         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39648         !__SSE_MATH__.
39649
39650 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39651
39652         [BZ #13540]
39653         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39654         processing for last bytes.
39655
39656 2011-08-06  Bruno Haible  <bruno@clisp.org>
39657
39658         [BZ #13061]
39659         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39660         U+0385, not to U+1FEE.
39661
39662         [BZ #13062]
39663         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39664         entry for U+00A5 U+0301.
39665
39666 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39667
39668         [BZ #13166]
39669         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39670         buffer for the output is too small.
39671
39672         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39673         optimization.
39674
39675         [BZ #13185]
39676         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39677         SSE flags if possible.
39678
39679 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39680
39681         [BZ #13540]
39682         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39683         processing for last bytes.
39684
39685 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39686
39687         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39688         (syscall-list-default-options, syscall-list-default-condition)
39689         (syscall-list-includes): Define.
39690         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39691         list of ABIs and options and #if conditions for each ABI.  Do not
39692         handle common syscalls between ABIs specially.
39693         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39694         Remove.
39695         (syscall-list-variants, syscall-list-32bit-options)
39696         (syscall-list-32bit-condition, syscall-list-64bit-options)
39697         (syscall-list-64bit-condition): Define.
39698         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39699         (syscall-list-variants, syscall-list-32bit-options)
39700         (syscall-list-32bit-condition, syscall-list-64bit-options)
39701         (syscall-list-64bit-condition): Define.
39702         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39703         Remove.
39704         (syscall-list-variants, syscall-list-32bit-options)
39705         (syscall-list-32bit-condition, syscall-list-64bit-options)
39706         (syscall-list-64bit-condition): Define.
39707         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39708         Remove.
39709         (syscall-list-variants, syscall-list-32bit-options)
39710         (syscall-list-32bit-condition, syscall-list-64bit-options)
39711         (syscall-list-64bit-condition): Define.
39712
39713 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39714
39715         * locale/iso-639.def: Add brx entry.
39716
39717         [BZ #13328]
39718         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39719         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39720
39721         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39722         __feraiseexcept_renamed.
39723
39724 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39725
39726         [BZ #13538]
39727         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39728         EPOLLET with unsigned values.
39729         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39730         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39731
39732         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39733         to large cancellation.
39734         * math/s_cacoshf.c: Likewise.
39735         * math/s_cacoshl.c: Likewise.
39736
39737 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39738
39739         [BZ #13305]
39740         [BZ #12786]
39741         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39742         * math/s_cacoshf.c: Likewise.
39743         * math/s_cacoshl.c: Likewise.
39744
39745 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39746
39747         [BZ #13439]
39748         * iconv/gconv.h: Define __GCONV_SWAP.
39749         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39750         * iconvdata/utf-16.c: Likewise.
39751         * iconvdata/utf-32.c: Likewise.
39752
39753 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39754
39755         [BZ #13524]
39756         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39757         numerator after shifting it by one limb.
39758
39759 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39760
39761         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39762         under [__USE_EXTERN_INLINES].
39763
39764 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39765
39766         [BZ #13446]
39767         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39768
39769 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39770
39771         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39772         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39773         optimized code.
39774         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39775         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39776         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39777         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39778         for strncasecmp/strncasecmp_l compilation.
39779         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39780         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39781
39782 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39783
39784         [BZ #13484]
39785         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39786         of __asm__.
39787
39788 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39789
39790         [BZ #13506]
39791         * time/tzfile.c (__tzfile_read): Check values from file header.
39792
39793 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39794
39795         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39796         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39797         * powerpc/powerpc32/dl-start.S: Likewise.
39798         * powerpc/powerpc32/elf/start.S: Likewise.
39799         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39800         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39801         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39802         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39803         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39804         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39805         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39806         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39807         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39808         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39809         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39810         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39811         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39812         * powerpc/powerpc32/memset.S: Likewise.
39813         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39814         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39815         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39816         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39817         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39818         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39819         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39820         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39821         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39822         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39823         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39824         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39825         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39826
39827 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39828
39829         * math/libm-test.inc: Added more nearbyint tests.
39830         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39831         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39832         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39833         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39834
39835 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39836
39837         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39838         FD_CLOEXEC.
39839
39840 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39841
39842         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39843         Add wcscpy-ssse3 wcscpy-c.
39844         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39845         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39846         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39847         * sysdeps/x86_64/wcschr.S: New file.
39848         * sysdeps/x86_64/wcsrchr.S: New file.
39849         * string/test-strcmp.c: Remove checking of wcscmp function for
39850         wrong alignments.
39851         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39852         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39853         wcsrchr-sse2 wcsrchr-c.
39854         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39855         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39856         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39857         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39858         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39859         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39860         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39861         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39862         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39863         * wcsmbc/wcschr.c (WCSCHR): New macro.
39864
39865 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39866
39867         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39868         * wcsmbs/test-wcsrchr.c: New file.
39869         * string/test-strrchr.c: Add wcsrchr support.
39870         (WIDE): New macro.
39871         * wcsmbs/test-wcscpy.c: New file.
39872         * string/test-strcpy.c: Add wcscpy support.
39873         (WIDE): New macro.
39874
39875 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39876
39877         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39878         the inner loop.
39879
39880 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39881
39882         [BZ #13472]
39883         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39884
39885 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39886
39887         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39888         Minor optimizations.
39889
39890         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39891         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39892         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39893
39894 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39895
39896         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39897         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39898         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39899         for gcc to avoid warnings.
39900         * inet/Makefile (tests): Add tst-checks.
39901         * inet/tst-checks.c: New file.
39902
39903         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39904         warning.
39905
39906         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39907         __wmemcmp_sse2.
39908
39909         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39910         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39911
39912         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39913
39914 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39915
39916         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39917         problem.
39918
39919         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39920
39921 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39922
39923         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39924         conditional on GCC version.
39925         (__arch_compare_and_exchange_val_8_acq)
39926         (__arch_compare_and_exchange_val_16_acq)
39927         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39928         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39929         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39930
39931 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39932
39933         * sysdeps/sh/backtrace.c: New file.
39934
39935 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39936
39937         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39938         parenthesis.
39939
39940 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39941
39942         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39943         falling back to utime.
39944
39945 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39946
39947         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39948         expectations for float.
39949
39950 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39951
39952         * locale/weight.h (findidx): Add parameter len.
39953         * locale/weightwc.h (findidx): Likewise.
39954         * posix/fnmatch_loop.c (FCT): Adjust caller.
39955         * posix/regcomp.c (build_equiv_class): Likewise.
39956         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39957         * posix/regexec.c (check_node_accept_bytes): Likewise.
39958         * string/strcoll_l.c (STRCOLL): Likewise.
39959         * string/strxfrm_l.c (STRXFRM): Likewise.
39960
39961 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39962
39963         * Makefile.in: Remove CVSOPT handling.
39964         * configure.in: Remove use of AC_REVISION.
39965         * iconvdata/Makefile (distribute): No need to filter out CVS.
39966         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39967         handling.
39968
39969 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39970
39971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39972         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39973         [USE_AS_STRNCASECMP_L]: Likewise.
39974         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39975         NO_TLS_DIRECT_SEG_REFS.
39976         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39977         Fix argument offsets for non-PIC.
39978         [USE_AS_STRNCASECMP_L]: Likewise.
39979         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39980         NO_TLS_DIRECT_SEG_REFS.
39981
39982 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39983
39984         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39985         O_CLOEXEC.
39986         * locale/loadlocale.c (_nl_load_locale): Likewise.
39987
39988 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39989
39990         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39991         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39992         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39993         (SYSCALL_GETTIME): Set errno on error.
39994
39995         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39996         count references to noai6ai_cached.
39997
39998 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39999
40000         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40001
40002         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40003         FD_CLOEXEC for /proc/self/maps.
40004
40005         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40006         FD_CLOEXEC for /proc/meminfo.
40007
40008         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40009         gai.conf.
40010
40011         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40012         FD_CLOEXEC for given file.
40013
40014         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40015
40016         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40017         FD_CLOEXEC for /etc/hosts.
40018         (_gethtent): Likewise.
40019
40020         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40021
40022         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40023         cancellation and set FD_CLOEXEC for /etc/netgroup.
40024
40025         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40026         reading /etc/publickey.
40027
40028         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40029         allow cancellation when reading /etc/group.
40030
40031         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40032         cancellation.
40033         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40034
40035         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40036         when using data file.
40037
40038         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40039
40040         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40041         (write_nis_obj): Use "c" and "e" in fopen.
40042
40043         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40044
40045         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40046
40047         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40048
40049         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40050
40051         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40052         locale.alias.
40053
40054         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40055
40056         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40057
40058         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40059
40060         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40061         file parsing and set FD_CLOEXEC.
40062
40063 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40064
40065         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40066
40067 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40068
40069         * malloc/arena.c (arena_get2): Don't call reused_arena when
40070         _int_new_arena failed.
40071
40072 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40073
40074         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40075         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40076         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40077         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40078         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40079         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40080         to compile strcasecmp and strncasecmp.
40081         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40082         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40083
40084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40085
40086 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40087
40088         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40089         locale-defines.sym to gen-as-const-headers.
40090         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40091         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40092         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40093         to compile strcasecmp and strncasecmp.
40094         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40095         strcasecmp_l and strncasecmp_l.
40096         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40097         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40098         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40099         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40100         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40101         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40102         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40103         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40104         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40105         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40106         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40107
40108 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40109
40110         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40111         result of SYSDEP_GETTIME_CPU to retval.
40112         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40113         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40114
40115         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40116         variable.
40117
40118         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40119         mantissa words.
40120         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40121
40122         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40123         from unused variable.
40124
40125         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40126         DWARF definitions.
40127         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40128         for assembling.
40129
40130         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40131         over namespaces.
40132
40133         * sunrpc/rpc_prot.c (rejected): Fix case value.
40134
40135         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40136         unsigned long long int to avoid warnings in shift.
40137
40138         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40139         of use of trans.
40140         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40141         variable tmp.
40142
40143         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40144         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40145         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40146
40147         * nis/nis_table.c (nis_list): Use variable of correct type for
40148         result of __follow_path call.
40149
40150 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40151
40152         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40153         of math functions ceil, trunc, floor, round, and sqrt, when
40154         avaliable on the platform.
40155         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40156         name clash.
40157         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40158         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40159         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40160
40161 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40162
40163         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40164         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40165
40166 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40167
40168         * include/unistd.h: Fix __readlink return type.
40169         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40170
40171 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40172
40173         * stdlib/ucontext.h: Undo last change for makecontext.
40174
40175 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40176
40177         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40178
40179         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40180         * setjmp/setjmp.h: Mark functions as non-leaf.
40181         * setjmp/bits/setjmp2.h: Likewise.
40182         * stdlib/ucontext.h: Likewise.
40183
40184 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40185
40186         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40187         (reused_arena): Don't check arena limit.
40188         (arena_get2): Atomically check arena limit.
40189
40190 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40191
40192         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40193         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40194
40195         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40196         instructions.
40197
40198 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40199
40200         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40201         handler when locking.
40202
40203         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40204         Fix size of allocated buffer.
40205
40206 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40207
40208         [BZ #10103]
40209         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40210         declarations for long double functions.
40211         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40212
40213         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40214
40215 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40216
40217         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40218         installed.
40219
40220         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40221         is disabled.
40222
40223 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40224
40225         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40226
40227 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40228
40229         * include/alloca.h (stackinfo_alloca_round): Define.
40230         (extend_alloca): Use it.
40231         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40232         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40233         here.
40234
40235         * scripts/check-local-headers.sh: Ignore libaudit.h.
40236
40237         * nscd/Makefile (extra-objs): Make recursively expanded.
40238
40239 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40240
40241         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40242         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40243
40244         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40245         * posix/tst-rfc3484-2.c: Likewise.
40246         * posix/tst-rfc3484-3.c: Likewise.
40247
40248         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40249         process_vm_writev.
40250         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40251         process_vm_writev.
40252         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40253         process_vm_writev from libc using GLIBC_2.15 version.
40254
40255         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40256
40257 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40258
40259         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40260         stack usage.
40261
40262 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40263
40264         [BZ #13367]
40265         * nss/getent.c (initgroups_keys): Show error message in case no group
40266         names are given.
40267
40268         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40269         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40270         __bump_nl_timestamp.
40271         * nscd/connections (nscd_init): When host database is served open
40272         netlink socket and request notification about configuration changes.
40273         (main_loop_poll): Track netlink file descriptor and bump timestamp
40274         in case data becomes available.
40275         (main_loop_epoll): Likewise.
40276         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40277         (database_pers_head): Add extra_data fileds.
40278         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40279         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40280         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40281         Adjust caller.
40282         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40283         in6ai data, call __free_in6ai.
40284         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40285         Add -DHAVE_NETLINK.
40286         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40287         interface information.  Reuse previous data if netlink timestamp
40288         is not changed.
40289         (__bump_nl_timestamp): New function.
40290         (__free_in6ai): New function.
40291
40292 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40293
40294         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40295         close_not_cancel_no_status here.
40296         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40297
40298 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40299
40300         [BZ #13276]
40301         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40302         return value.
40303
40304         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40305         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40306         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40307
40308 2011-07-03  Andreas Jaeger  <aj@suse.de>
40309
40310         [BZ #10709]
40311         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40312         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40313         * math/libm-test.inc (sin_test): Add test case.
40314
40315 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40316
40317         [BZ #13337]
40318         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40319         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40320
40321         * elf/chroot_canon.c (chroot_canon): Cleanups.
40322
40323         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40324
40325         [BZ #13335]
40326         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40327         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40328
40329         * string/test-strchr.c: Make usable for strchrnul testing.
40330         * string/test-strchrnul.c: New file.
40331         * string/Makefile (strop-tests): Add strchrnul.
40332
40333         * po/it.po: Update from translation team.
40334         * po/es.po: Likewise.
40335
40336 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40337
40338         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40339         the three constants needed as parameters.  Drop the others.
40340         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40341         __m128i_strloadu_tolower.
40342         Create and initialize variable zero and use it in all the places
40343         where _mm_setzero_si128 was used.
40344
40345         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40346         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40347         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40348         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40349         anymore.
40350         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40351         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40352         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40353         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40354         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40355         __mpranred, __mptan.
40356         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40357         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40358         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40359         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40360         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40361         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40362         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40363         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40364         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40365
40366 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40367
40368         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40369         redefine if SHARED.
40370         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40371
40372         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40373         wide char related routines to wcsmbs subdir.
40374
40375 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40376
40377         [BZ #13344]
40378         * misc/sys/cdefs.h (__THROWNL): Define.
40379         * posix/unistd.h: Use __THREADNL instead of __THREAD
40380         for memory synchronization functions.
40381
40382 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40383
40384         [BZ #13349]
40385         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40386         doesn't exist.
40387         * manual/stdio.texi (Obstack Streams): Node removed.
40388
40389 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40390
40391         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40392         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40393         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40394
40395         * math/math_private.h (math_force_eval): Allow non-addressable
40396         arguments.
40397         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40398
40399 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40400
40401         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40402         file is not needed.
40403
40404         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40405         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40406         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40407         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40408         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40409         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40410         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40411         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40412         Add AVX variants.
40413         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40414         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40415         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40416         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40417         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40418         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40419         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40420         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40421         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40422         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40423         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40424         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40425         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40426         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40427         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40428         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40429         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40430         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40431         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40432
40433         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40434         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40435
40436         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40437         place.  Use VEX encoding when compiling for AVX.
40438
40439 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40440
40441         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40442         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40443
40444         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40445
40446 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40447
40448         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40449         useless if() expression.
40450         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40455         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40459         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40460         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40461         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40462         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40463         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40464         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40465         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40466         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40467         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40468         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40469
40470         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40471
40472 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40473
40474         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40475         condition.
40476         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40477
40478 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40479
40480         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40481         .text section.  Avoid duplicate constants.
40482         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40483         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40484         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40485         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40486         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40489         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40490         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40491         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40492         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40493         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40494         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40495         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40496         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40497         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40498         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40499         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40500         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40501         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40502         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40503         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40504         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40505         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40506         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40507         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40508         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40509         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40510         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40511         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40512         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40513         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40514         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40515         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40516         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40517         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40518         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40519         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40520         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40521         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40522         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40523         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40524         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40525         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40526         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40527
40528 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40529
40530         * sysdeps/x86_64/dla.h: Move to ...
40531         * sysdeps/x86_64/fpu/dla.h: ...here.
40532         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40533         situations.  Use __builtin_fma only for gcc 4.6 and up.
40534
40535         * config.make.in: Add have-mfma4 entry.
40536         * configure.in: Substitute libc_cv_cc_fma4.
40537         * math/Makefile (dbl-only-routines): Add sincostab.
40538         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40539         Use __sincostab not sincos.
40540         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40541         name is a macro.
40542         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40543         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40544         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40545         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40546         using __copysign.
40547         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40548         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40549         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40550         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40551         and __inv.
40552         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40553         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40554         __copysign.
40555         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40556         define aliases when function name is a macro.
40557         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40558         sysdeps/ieee754/dbl-64/sincos.tbl.
40559         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40560         fma4-enabled routines.
40561         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40562         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40563         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40564         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40565         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40566         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40567         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40568         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40569         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40570         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40571         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40572         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40573         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40574         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40575         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40576         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40577         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40578         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40579         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40580         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40581         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40582         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40583         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40584         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40585         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40586         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40587         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40588         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40589         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40590         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40591
40592         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40593         rename.
40594         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40595         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40596         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40599         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40600         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40601         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40602
40603 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40604
40605         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40606
40607 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40608
40609         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40610
40611         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40612         prediction.
40613         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40614
40615         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40616         Remove unused variable magic_bits.
40617         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40618
40619         * string/strnlen.c: Define and use STRNLEN macro.
40620         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40621         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40622         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40623         * wcsmbs/wcslen.c: Define and use WCSLEN.
40624         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40625         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40626         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40627         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40628         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40629         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40630         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40631
40632 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40633
40634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40635         strnlen-sse2-no-bsf.
40636         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40637         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40638         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40639         Add strnlen support.
40640         (USE_AS_STRNLEN): New macro.
40641         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40642         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40643         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40644         * sysdeps/x86_64/wcslen.S: New file.
40645
40646 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40647
40648         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40649         XMM-moves are used for copying on small sizes.
40650
40651 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40652
40653         * wcsmbs/Makefile (strop-tests): Add wcschr.
40654         * wcsmbs/test-wcschr.c: New file.
40655         * string/test-strchr.c: Update.
40656         Add wcschr support.
40657         (WIDE): New macro.
40658
40659 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40660
40661         * wcsmbs/Makefile (strop-tests): Add wcslen.
40662         * wcsmbs/test-wcslen.c: New file.
40663         * string/test-strlen.c: Update.
40664         Add wcslen support.
40665         (WIDE): New macro.
40666
40667 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40668
40669         * po/it.po: Update from translation team.
40670
40671 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40672
40673         * sysdeps/x86_64/wcscmp.S: Update.
40674         Fix wrong comparison semantics.
40675         wcscmp shall use signed comparison not unsigned.
40676         Don't use substraction to avoid overflow bug.
40677         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40678         * wcsmbc/wcscmp.c: Likewise.
40679         * string/test-strcmp.c: Likewise.
40680         Add new tests to check cases with negative values.
40681
40682 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40683
40684         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40685         * sysdeps/x86_64/dla.h: ...here.  New file.
40686         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40687         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40688         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40690         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40691         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40692         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40693         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40694         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40695
40696 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40697
40698         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40699         __ynl_finite aliases.
40700
40701 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40702
40703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40704
40705         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40706         define DLA_FMA.
40707         [DLA_FMA] (EMULV): Use DLA_FMA.
40708         [DLA_FMA] (MUL12): Use EMULV.
40709         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40710         that are not needed.
40711         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40712         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40713         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40714         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40715         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40716         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40717         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40718
40719 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40720
40721         * math/s_nan.c: Undef __nan.
40722         * math/s_nanf.c: Undef __nanf.
40723         * math/s_nanl.c: Undef __nanl.
40724         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40725         "math_private.h".
40726
40727 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40728
40729         * math/s_catan.c: Add branch predictions.
40730         * math/s_catanf.c: Likewise.
40731         * math/s_catanh.c: Likewise.
40732         * math/s_catanhf.c: Likewise.
40733         * math/s_catanhl.c: Likewise.
40734         * math/s_catanl.c: Likewise.
40735         * math/s_cexp.c: Likewise.
40736         * math/s_cexpf.c: Likewise.
40737         * math/s_cexpl.c: Likewise.
40738         * math/s_clog.c: Likewise.
40739         * math/s_clog10.c: Likewise.
40740         * math/s_clog10f.c: Likewise.
40741         * math/s_clog10l.c: Likewise.
40742         * math/s_clogf.c: Likewise.
40743         * math/s_clogl.c: Likewise.
40744         * math/s_csqrt.c: Likewise.
40745         * math/s_csqrtf.c: Likewise.
40746         * math/s_csqrtl.c: Likewise.
40747         * math/s_ctanf.c: Likewise.
40748         * math/s_ctanh.c: Likewise.
40749         * math/s_ctanhf.c: Likewise.
40750         * math/s_ctanhl.c: Likewise.
40751         * math/s_ctanl.c: Likewise.
40752
40753         * math/math_private.h: Define __nan, __nanf, __nanl.
40754         * math/s_cacosh.c: Include <math_private.h>.
40755         * math/s_cacoshl.c: Likewise.
40756         * math/s_casinh.c: Likewise.
40757         * math/s_casinhf.c: Likewise.
40758         * math/s_casinhl.c: Likewise.
40759         * math/s_ccos.c: Rely entire on ccosh.
40760         * math/s_ccosf.c: Rely entire on ccoshf.
40761         * math/s_ccosl.c: Rely entirely on ccoshl.
40762         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40763         Remove tests for FE_INVALID.
40764         * math/s_ccoshf.c: Likewise.
40765         * math/s_ccoshl.c: Likewise.
40766         * math/s_csin.c: Likewise.
40767         * math/s_csinf.c: Likewise.
40768         * math/s_csinh.c Likewise.
40769         * math/s_csinhf.c: Likewise.
40770         * math/s_csinhl.c: Likewise.
40771         * math/s_csinl.c: Likewise.
40772         * math/s_ctan.c: Likewise.
40773         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40774         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40775         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40776
40777 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40778
40779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40780         compilation problems.
40781
40782         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40783         __builtin_expect.
40784
40785 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40786
40787         * sysdeps/i386/configure.in: Test for -mfma4 option.
40788         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40789         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40790         COMMON_CPUID_INDEX_80000001.
40791         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40792         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40793         use it if FMA3 is not supported.
40794         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40795
40796         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40797         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40798
40799 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40800
40801         [BZ #12892]
40802         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40803         it would create a cycle with a link time dependency.
40804
40805 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40806
40807         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40808         instruction.
40809         * string/Makefile (strop-tests): Add rawmemchr.
40810         * string/test-rawmemchr.c: New file.
40811
40812         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40813         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40814         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40815         when compiling str{,n}casecmp and when AVX is available.  Hook up
40816         new optimized code in initializers.
40817
40818 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40819
40820         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40821         __feraiseexcept instead of feraiseexcept.
40822
40823 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40824
40825         * math/math_private.h: Define defaults for libc_fetestexcept and
40826         libc_feupdateenv.
40827         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40828         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40829         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40830         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40831         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40832         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40833         libc_fetestexcept and libc_feupdateenv.
40834
40835         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40836         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40837         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40838         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40839         libc_feholdexcept_setround.
40840
40841         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40842         Add s_nearbyint-c and s_nearbyintf-c.
40843         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40844         nearbyintf inlines.
40845         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40846         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40847         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40848         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40849
40850         * math/math_private.h: Define defaults for libc_fegetround,
40851         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40852         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40853         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40854         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40855         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40856         standard functions.
40857         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40858         Remove comments and hacks for old compiler versions.
40859         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40860         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40861         libc_feholdexceptl.
40862
40863 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40864
40865         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40866         (__feraiseexcept_renamed): Add __NTH.
40867         (feraiseexcept): Add __NTH.  Rename local variables to fix
40868         namespace violations.
40869
40870 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40871
40872         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40873
40874         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40875
40876         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40877         recently added interfaces.
40878         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40879
40880         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40881         about macro parameter expansion.
40882
40883         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40884         __NO_MATH_INLINES is defined.  Cleanups.
40885
40886         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40887         and __floorf is target has SSE4.1.
40888         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40889         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40890         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40891         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40892
40893         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40894         name.
40895         (floorf): Likewise.
40896
40897         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40898
40899 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40900
40901         * misc/sys/cdefs.h: Fix last change.
40902
40903         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40904         database lookup.
40905
40906 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40907
40908         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40909
40910         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40911         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40912         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40913         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40914         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40915         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40916         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40917         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40918         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40919         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40920         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40921         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40922         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40923         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40924         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40925         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40926         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40927         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40928         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40929         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40930         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40931         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40932
40933         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40934         ceil, ceilf, floor, floorf.
40935
40936         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40937         Perform IRELATIVE relocations last.
40938
40939         * elf/do-rel.h: Add another parameter nrelative, replacing the
40940         local variable with the same name.  Change name of the function
40941         to end in Rel or Rela (uppercase).
40942         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40943         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40944         elf_dynamic_do_##reloc function.
40945
40946 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40947
40948         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40949         is sufficient, at least on modern CPUs.
40950
40951         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40952
40953         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40954         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40955
40956         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40957         __expl_finite.
40958         * math/bits/math-finite.h: Add entries for exp.
40959         * math/e_expl.c: Add __*_finite alias.
40960         * sysdeps/i386/fpu/e_exp.S: Likewise.
40961         * sysdeps/i386/fpu/e_expf.S: Likewise.
40962         * sysdeps/i386/fpu/e_expl.c: Likewise.
40963         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40964         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40965         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40966         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40967         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40968         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40969         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40970
40971         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40972         is sufficient, at least on modern CPUs.
40973
40974         * ctype/ctype-info.c (__ctype_init): Define.
40975         * include/ctype.h (__ctype_init): Declare.
40976         (__ctype_b_loc): The variable is always initialized.
40977         (__ctype_toupper_loc): Likewise.
40978         (__ctype_tolower_loc): Likewise.
40979         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40980         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40981
40982 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40983
40984         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40985
40986         * configure.in: Also look in $cxxmachine/include for C++ system
40987         headers.
40988
40989 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40990
40991         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40992         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40993         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40994         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40995         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40996         (USE_AS_WMEMCMP): New macro.
40997         Fixing indents.
40998         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40999         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41000         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41001         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41002         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41003         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41004         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41005         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41006         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41007         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41008         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41009         (USE_AS_WMEMCMP): New macro.
41010         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41011         * sysdeps/string/test-memcmp.c: Update.
41012         Fix simple_wmemcmp.
41013         Add new tests.
41014         * wcsmbs/wmemcmp.c: Update.
41015         (WMEMCMP): New macro.
41016         Fix overflow bug.
41017
41018 2011-10-12  Andreas Jaeger  <aj@suse.de>
41019
41020         [BZ #13268]
41021         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41022
41023 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41024
41025         * libio/iofwide.c (do_length): Avoid warning.
41026
41027         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41028
41029 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41030
41031         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41032
41033         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41034         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41035         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41036         * sysdeps/i386/i686/fpu/e_log.S: New file.
41037         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41038         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41039
41040         * ctype/ctype.h: Add support for inlined isXXX functions when
41041         compiling C++ code.
41042
41043 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41044
41045         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41046
41047         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41048
41049 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41050
41051         [BZ #13291]
41052         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41053
41054 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41055
41056         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41057         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41058         feraiseexcept.
41059
41060         * sysdeps/x86_64/memrchr.S: Check for zero size.
41061
41062         * string/stratcliff.c: Add memrchr tests.
41063
41064 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41065
41066         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41067         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41068         rawmemchr-sse2 rawmemchr-sse2-bsf.
41069         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41070         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41071         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41072         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41073         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41074         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41075         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41076         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41077         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41078         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41079         * string/memrchr.c (MEMRCHR): New macro.
41080
41081 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41082
41083         Add integration with gcc's -ffinite-math-only and optimize wrapper
41084         functions in libm.
41085         * Versions.def: Define GLIBC_2.15 version for libm.
41086         * math/Makefile (headers): Add bits/math-finite.h.
41087         * math/bits/math-finite.h: New file.
41088         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41089         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41090         * math/e_acoshl.c: Add __*_finite alias.
41091         * math/e_acosl.c: Likewise.
41092         * math/e_asinl.c: Likewise.
41093         * math/e_atan2l.c: Likewise.
41094         * math/e_atanhl.c: Likewise.
41095         * math/e_coshl.c: Likewise.
41096         * math/e_exp10.c: Likewise.
41097         * math/e_exp10f.c: Likewise.
41098         * math/e_exp10l.c: Likewise.
41099         * math/e_exp2l.c: Likewise.
41100         * math/e_fmodl.c: Likewise.
41101         * math/e_gammal_r.c: Likewise.
41102         * math/e_hypotl.c: Likewise.
41103         * math/e_j0l.c: Likewise.
41104         * math/e_j1l.c: Likewise.
41105         * math/e_jnl.c: Likewise.
41106         * math/e_lgammal_r.c: Likewise.
41107         * math/e_log10l.c: Likewise.
41108         * math/e_log2l.c: Likewise.
41109         * math/e_logl.c: Likewise.
41110         * math/e_powl.c: Likewise.
41111         * math/e_sinhl.c: Likewise.
41112         * math/e_sqrtl.c: Likewise.
41113         * math/e_scalb.c: Completely rewritten and optimized.
41114         * math/e_scalbf.c: Likewise.
41115         * math/e_scalbl.c: Likewise.
41116         * math/w_acos.c: Likewise.
41117         * math/w_acosf.c: Likewise.
41118         * math/w_acosl.c: Likewise.
41119         * math/w_acosh.c: Likewise.
41120         * math/w_acoshf.c: Likewise.
41121         * math/w_acoshl.c: Likewise.
41122         * math/w_asin.c: Likewise.
41123         * math/w_asinf.c: Likewise.
41124         * math/w_asinl.c: Likewise.
41125         * math/w_atan2.c: Likewise.
41126         * math/w_atan2f.c: Likewise.
41127         * math/w_atan2l.c: Likewise.
41128         * math/w_atanh.c: Likewise.
41129         * math/w_atanhf.c: Likewise.
41130         * math/w_atanhl.c: Likewise.
41131         * math/w_exp10.c: Likewise.
41132         * math/w_exp10f.c: Likewise.
41133         * math/w_exp10l.c: Likewise.
41134         * math/w_fmod.c: Likewise.
41135         * math/w_fmodf.c: Likewise.
41136         * math/w_fmodl.c: Likewise.
41137         * math/w_j0.c: Likewise.
41138         * math/w_j0f.c: Likewise.
41139         * math/w_j0l.c: Likewise.
41140         * math/w_j1.c: Likewise.
41141         * math/w_j1f.c: Likewise.
41142         * math/w_j1l.c: Likewise.
41143         * math/w_jn.c: Likewise.
41144         * math/w_jnf.c: Likewise.
41145         * math/w_log.c: Likewise.
41146         * math/w_logf.c: Likewise.
41147         * math/w_logl.c: Likewise.
41148         * math/w_log10.c: Likewise.
41149         * math/w_log10f.c: Likewise.
41150         * math/w_log10l.c: Likewise.
41151         * math/w_log2.c: Likewise.
41152         * math/w_log2f.c: Likewise.
41153         * math/w_log2l.c: Likewise.
41154         * math/w_pow.c: Likewise.
41155         * math/w_powf.c: Likewise.
41156         * math/w_powl.c: Likewise.
41157         * math/w_remainder.c: Likewise.
41158         * math/w_remainderf.c: Likewise.
41159         * math/w_remainderl.c: Likewise.
41160         * math/w_scalb.c: Likewise.
41161         * math/w_scalbf.c: Likewise.
41162         * math/w_scalbl.c: Likewise.
41163         * math/w_sqrt.c: Likewise.
41164         * math/w_sqrtf.c: Likewise.
41165         * math/w_sqrtl.c: Likewise.
41166         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41167         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41168         used.
41169         * math/math_private.h: Declare __kernel_standard_f.
41170         * math/w_cosh.c: Remove cruft and optimize a bit.
41171         * math/w_coshf.c: Likewise.
41172         * math/w_coshl.c: Likewise.
41173         * math/w_exp2.c: Likewise.
41174         * math/w_exp2f.c: Likewise.
41175         * math/w_exp2l.c: Likewise.
41176         * math/w_hypot.c: Likewise.
41177         * math/w_hypotf.c: Likewise.
41178         * math/w_hypotl.c: Likewise.
41179         * math/w_lgamma.c: Likewise.
41180         * math/w_lgamma_r.c: Likewise.
41181         * math/w_lgammaf.c: Likewise.
41182         * math/w_lgammaf_r.c: Likewise.
41183         * math/w_lgammal.c: Likewise.
41184         * math/w_lgammal_r.c: Likewise.
41185         * math/w_sinh.c: Likewise.
41186         * math/w_sinhf.c: Likewise.
41187         * math/w_sinhl.c: Likewise.
41188         * math/w_tgamma.c: Likewise.
41189         * math/w_tgammaf.c: Likewise.
41190         * math/w_tgammal.c: Likewise.
41191         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41192         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41193         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41194         Minor optimizations.  Pretty printing.  Remove cruft.
41195         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41196         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41197         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41198         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41199         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41200         * sysdeps/i386/fpu/e_asin.S: Likewise.
41201         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41202         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41203         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41204         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41205         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41206         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41207         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41208         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41209         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41210         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41211         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41212         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41213         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41214         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41215         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41216         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41217         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41218         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41219         * sysdeps/i386/fpu/e_log.S: Likewise.
41220         * sysdeps/i386/fpu/e_log10.S: Likewise.
41221         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41222         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41223         * sysdeps/i386/fpu/e_log2.S: Likewise.
41224         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41225         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41226         * sysdeps/i386/fpu/e_logf.S: Likewise.
41227         * sysdeps/i386/fpu/e_logl.S: Likewise.
41228         * sysdeps/i386/fpu/e_pow.S: Likewise.
41229         * sysdeps/i386/fpu/e_powf.S: Likewise.
41230         * sysdeps/i386/fpu/e_powl.S: Likewise.
41231         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41232         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41233         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41234         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41235         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41236         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41237         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41238         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41239         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41240         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41241         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41242         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41243         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41244         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41245         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41246         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41247         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41248         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41249         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41250         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41251         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41252         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41253         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41254         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41255         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41256         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41257         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41258         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41259         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41260         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41261         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41262         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41263         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41264         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41265         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41266         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41267         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41268         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41269         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41270         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41271         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41272         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41273         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41274         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41275         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41276         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41277         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41278         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41279         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41280         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41281         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41282         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41283         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41284         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41285         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41286         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41287         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41288         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41289         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41290         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41291         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41292         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41293         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41294         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41295         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41296         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41297         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41298         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41299         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41300         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41301         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41302         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41303         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41304         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41305         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41306         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41307         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41308         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41309         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41310         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41311         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41312         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41313         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41314         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41315         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41316         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41317         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41318         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41319         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41320         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41321         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41322         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41323         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41324         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41325         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41326         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41327         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41328         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41329         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41330         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41331         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41332         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41333         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41334         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41335         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41336         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41337         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41338         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41339         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41340         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41341         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41342         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41343         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41344         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41345         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41346         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41347         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41348         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41349         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41350         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41351         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41352         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41353         (__isnanf): Likewise.
41354         (__isinf_ns): Likewise.
41355         (__isinf_nsf): Likewise.
41356         (__finite): Likewise.
41357         (__finitef): Likewise.
41358         (__ieee754_sqrt): Define as macro.
41359         (__ieee754_sqrtf): Define as macro.
41360         (__ieee754_sqrtl): Define as macro.
41361         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41362         inlined copy.
41363         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41364         __FINITE_MATH_ONLY__ consistent.
41365         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41366
41367 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41368
41369         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41370         of rawmemchr.
41371
41372         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41373
41374 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41375
41376         * po/ja.po: Update from translation team.
41377
41378 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41379
41380         * locale/programs/locarchive.c (prepare_address_space): New function.
41381         (create_archive, enlarge_archive, open_archive): Use it.
41382
41383         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41384         inside [SHARED], where it is used.
41385
41386         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41387
41388         * nss/getent.c (netgroup_keys): Remove unused variable.
41389         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41390
41391 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41392
41393         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41394         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41395         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41396         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41397         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41398         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41399         * math/Makefile (libm-calls): Add s_isinf_ns.
41400         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41401         * math/multc3.c: Likewise.
41402         * math/s_casin.c: Likewise.
41403         * math/s_casinf.c: Likewise.
41404         * math/s_casinl.c: Likewise.
41405         * math/s_ccos.c: Likewise.
41406         * math/s_ccosf.c: Likewise.
41407         * math/s_ccosl.c: Likewise.
41408         * math/s_ctan.c: Likewise.
41409         * math/s_ctanf.c: Likewise.
41410         * math/s_ctanh.c: Likewise.
41411         * math/s_ctanhf.c: Likewise.
41412         * math/s_ctanhl.c: Likewise.
41413         * math/s_ctanl.c: Likewise.
41414         * math/w_fmod.c: Likewise.
41415         * math/w_fmodf.c: Likewise.
41416         * math/w_fmodl.c: Likewise.
41417         * math/w_remainder.c: Likewise.
41418         * math/w_remainderf.c: Likewise.
41419         * math/w_remainderl.c: Likewise.
41420         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41421         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41422         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41423         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41424         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41425         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41426         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41427         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41428
41429         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41430         of the number.
41431         * stdio-common/printf_fphex.c: Likewise.
41432         * stdio-common/printf_size.c: Likewise.
41433
41434         * math/e_exp10.c: Include math_private.h using <...> not "...".
41435         * math/e_exp10f.c: Likewise.
41436         * math/e_exp10l.c: Likewise.
41437         * math/e_exp2l.c: Likewise.
41438         * math/e_j0l.c: Likewise.
41439         * math/e_j1l.c: Likewise.
41440         * math/e_jnl.c: Likewise.
41441         * math/e_lgammal_r.c: Likewise.
41442         * math/e_rem_pio2l.c: Likewise.
41443         * math/e_scalb.c: Likewise.
41444         * math/e_scalbf.c: Likewise.
41445         * math/e_scalbl.c: Likewise.
41446         * math/k_cosl.c: Likewise.
41447         * math/k_sinl.c: Likewise.
41448         * math/k_tanl.c: Likewise.
41449         * math/s_cacoshf.c: Likewise.
41450         * math/s_catan.c: Likewise.
41451         * math/s_catanf.c: Likewise.
41452         * math/s_catanh.c: Likewise.
41453         * math/s_catanhf.c: Likewise.
41454         * math/s_catanhl.c: Likewise.
41455         * math/s_catanl.c: Likewise.
41456         * math/s_ccosh.c: Likewise.
41457         * math/s_ccoshf.c: Likewise.
41458         * math/s_ccoshl.c: Likewise.
41459         * math/s_cexp.c: Likewise.
41460         * math/s_cexpf.c: Likewise.
41461         * math/s_cexpl.c: Likewise.
41462         * math/s_clog.c: Likewise.
41463         * math/s_clog10.c: Likewise.
41464         * math/s_clog10f.c: Likewise.
41465         * math/s_clog10l.c: Likewise.
41466         * math/s_clogf.c: Likewise.
41467         * math/s_clogl.c: Likewise.
41468         * math/s_csin.c: Likewise.
41469         * math/s_csinf.c: Likewise.
41470         * math/s_csinh.c: Likewise.
41471         * math/s_csinhf.c: Likewise.
41472         * math/s_csinhl.c: Likewise.
41473         * math/s_csinl.c: Likewise.
41474         * math/s_csqrt.c: Likewise.
41475         * math/s_csqrtf.c: Likewise.
41476         * math/s_csqrtl.c: Likewise.
41477         * math/s_ctan.c: Likewise.
41478         * math/s_ctanf.c: Likewise.
41479         * math/s_ctanh.c: Likewise.
41480         * math/s_ctanhf.c: Likewise.
41481         * math/s_ctanhl.c: Likewise.
41482         * math/s_ctanl.c: Likewise.
41483         * math/s_ldexp.c: Likewise.
41484         * math/s_ldexpf.c: Likewise.
41485         * math/s_ldexpl.c: Likewise.
41486         * math/s_significand.c: Likewise.
41487         * math/s_significandf.c: Likewise.
41488         * math/s_significandl.c: Likewise.
41489         * math/w_acos.c: Likewise.
41490         * math/w_acosf.c: Likewise.
41491         * math/w_acosh.c: Likewise.
41492         * math/w_acoshf.c: Likewise.
41493         * math/w_acoshl.c: Likewise.
41494         * math/w_acosl.c: Likewise.
41495         * math/w_asin.c: Likewise.
41496         * math/w_asinf.c: Likewise.
41497         * math/w_asinl.c: Likewise.
41498         * math/w_atan2.c: Likewise.
41499         * math/w_atan2f.c: Likewise.
41500         * math/w_atan2l.c: Likewise.
41501         * math/w_atanh.c: Likewise.
41502         * math/w_atanhf.c: Likewise.
41503         * math/w_atanhl.c: Likewise.
41504         * math/w_cosh.c: Likewise.
41505         * math/w_coshf.c: Likewise.
41506         * math/w_coshl.c: Likewise.
41507         * math/w_dremf.c: Likewise.
41508         * math/w_exp10.c: Likewise.
41509         * math/w_exp10f.c: Likewise.
41510         * math/w_exp10l.c: Likewise.
41511         * math/w_exp2.c: Likewise.
41512         * math/w_exp2f.c: Likewise.
41513         * math/w_fmod.c: Likewise.
41514         * math/w_fmodf.c: Likewise.
41515         * math/w_fmodl.c: Likewise.
41516         * math/w_hypot.c: Likewise.
41517         * math/w_hypotf.c: Likewise.
41518         * math/w_hypotl.c: Likewise.
41519         * math/w_j0.c: Likewise.
41520         * math/w_j0f.c: Likewise.
41521         * math/w_j0l.c: Likewise.
41522         * math/w_j1.c: Likewise.
41523         * math/w_j1f.c: Likewise.
41524         * math/w_j1l.c: Likewise.
41525         * math/w_jn.c: Likewise.
41526         * math/w_jnf.c: Likewise.
41527         * math/w_jnl.c: Likewise.
41528         * math/w_lgamma.c: Likewise.
41529         * math/w_lgamma_r.c: Likewise.
41530         * math/w_lgammaf.c: Likewise.
41531         * math/w_lgammaf_r.c: Likewise.
41532         * math/w_lgammal.c: Likewise.
41533         * math/w_lgammal_r.c: Likewise.
41534         * math/w_log.c: Likewise.
41535         * math/w_log10.c: Likewise.
41536         * math/w_log10f.c: Likewise.
41537         * math/w_log10l.c: Likewise.
41538         * math/w_log2.c: Likewise.
41539         * math/w_log2f.c: Likewise.
41540         * math/w_log2l.c: Likewise.
41541         * math/w_logf.c: Likewise.
41542         * math/w_logl.c: Likewise.
41543         * math/w_pow.c: Likewise.
41544         * math/w_powf.c: Likewise.
41545         * math/w_powl.c: Likewise.
41546         * math/w_remainder.c: Likewise.
41547         * math/w_remainderf.c: Likewise.
41548         * math/w_remainderl.c: Likewise.
41549         * math/w_scalb.c: Likewise.
41550         * math/w_scalbf.c: Likewise.
41551         * math/w_scalbl.c: Likewise.
41552         * math/w_sinh.c: Likewise.
41553         * math/w_sinhf.c: Likewise.
41554         * math/w_sinhl.c: Likewise.
41555         * math/w_sqrt.c: Likewise.
41556         * math/w_sqrtf.c: Likewise.
41557         * math/w_sqrtl.c: Likewise.
41558         * math/w_tgamma.c: Likewise.
41559         * math/w_tgammaf.c: Likewise.
41560         * math/w_tgammal.c: Likewise.
41561
41562         * po/ja.po: Update from translation team.
41563
41564 2011-09-29  Andreas Jaeger  <aj@suse.de>
41565
41566         [BZ #13179]
41567         * sunrpc/netname.c (netname2host): Fix logic.
41568
41569         [BZ #6779]
41570         [BZ #6783]
41571         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41572         correctly.
41573         * math/w_remainder.c (__remainder): Likewise.
41574         * math/w_remainderf.c (__remainderf): Likewise.
41575         * math/libm-test.inc (remainder_test): Add test cases.
41576
41577 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41578
41579         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41580         sdiv_qrnnd.
41581
41582 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41583
41584         * string/test-memcmp.c: Avoid unncessary #defines.
41585         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41586
41587 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41588
41589         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41590         Use new sse2 version for core i3 - i7 as it's faster
41591         than sse42 version.
41592         (bit_Prefer_PMINUB_for_stringop): New.
41593         * sysdeps/x86_64/rawmemchr.S: Update.
41594         Replace with faster SSE2 version.
41595         * sysdeps/x86_64/memrchr.S: New file.
41596         * sysdeps/x86_64/memchr.S: Update.
41597         Replace with faster SSE2 version.
41598
41599 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41600
41601         * elf/dl-load.c (lose): Add cast to avoid warning.
41602
41603 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41604
41605         * po/ca.po: Update from translation team.
41606
41607         * inet/getnetgrent_r.c: Hook up nscd.
41608         * nscd/Makefile (routines): Add nscd_netgroup.
41609         (nscd-modules): Add netgroupcache.
41610         (CFLAGS-netgroupcache.c): Define.
41611         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41612         (cache_search): Add const to second parameter.
41613         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41614         INNETGR.
41615         (dbs): Add netgrdb entry.
41616         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41617         (verify_persistent_db): Handle netgrdb.
41618         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41619         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41620         GETFDNETGR.
41621         (netgroup_response_header): Define.
41622         (innetgroup_response_header): Define.
41623         (datahead): Add netgroup_response_header and innetgroup_response_header
41624         elements.
41625         * nscd/nscd.conf: Add entries for netgroup cache.
41626         * nscd/nscd.h (dbtype): Add netgrdb.
41627         (_PATH_NSCD_NETGROUP_DB): Define.
41628         (netgroup_iov_disabled): Declare.
41629         (xmalloc, xcalloc, xrealloc): Move declarations here.
41630         (cache_search): Adjust prototype.
41631         Add netgroup-related prototypes.
41632         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41633         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41634         (__nscd_innetgr): Declare.
41635         * nscd/selinux.c (perms): Use access_vector_t as element type and
41636         add netgroup-related initializers.
41637         * nscd/netgroupcache.c: New file.
41638         * nscd/nscd_netgroup.c: New file.
41639         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41640         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41641         For four parameters use innetgr.
41642         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41643         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41644         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41645         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41646
41647         * nscd/connections.c (register_traced_file): Don't register file
41648         for disabled databases.
41649
41650 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41651
41652         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41653
41654         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41655         from tree and freeing node.
41656
41657 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41658
41659         * nss/nsswitch.c (__nss_database_lookup): Handle
41660         nss_parse_service_list out of memory case.
41661
41662 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41663
41664         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41665         out of memory case.
41666
41667 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41668
41669         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41670         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41671         pass it down.
41672         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41673         elf_machine_rela, elf_machine_lazy_rel.
41674         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41675         (ELF_DYNAMIC_DO_REL): Likewise.
41676         (ELF_DYNAMIC_DO_RELA): Likewise.
41677         (ELF_DYNAMIC_RELOCATE): Likewise.
41678         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41679         to ELF_DYNAMIC_DO_REL.
41680         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41681         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41682         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41683         elf_machine_rela.
41684         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41685         skip_ifunc, don't call ifunc function if non-zero.
41686         (elf_machine_rela): Likewise.
41687         (elf_machine_lazy_rel): Likewise.
41688         (elf_machine_lazy_rela): Likewise.
41689         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41690         (elf_machine_lazy_rel): Likewise.
41691         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41692         Likewise.
41693         (elf_machine_lazy_rel): Likewise.
41694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41695         Likewise.
41696         (elf_machine_lazy_rel): Likewise.
41697         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41698         (elf_machine_lazy_rel): Likewise.
41699         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41700         (elf_machine_lazy_rel): Likewise.
41701         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41702         (elf_machine_lazy_rel): Likewise.
41703         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41704         (elf_machine_lazy_rel): Likewise.
41705         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41706         (elf_machine_lazy_rel): Likewise.
41707         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41708         (elf_machine_lazy_rel): Likewise.
41709
41710 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41711
41712         * nss/nss_files/files-init.c (_nss_files_init): Use static
41713         initialization for all the *_traced_file variables.
41714
41715 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41716
41717         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41718
41719 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41720
41721         [BZ #13226]
41722         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41723
41724 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41725
41726         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41727         Reread the line before reparsing it.
41728
41729 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41730
41731         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41732
41733 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41734             Maxim Kuvyrkov  <maxim@codesourcery.com>
41735             Joseph Myers  <joseph@codesourcery.com>
41736
41737         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41738         if needed for __stack_chk_guard.
41739
41740 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41741
41742         * sysdeps/posix/spawni.c (script_execute): Always define it.
41743         It will be optimized away if unused.
41744         (maybe_script_execute): New function.
41745         (__spawni): Call it.
41746
41747         * Makerules: Don't include tls.make.
41748         (config-tls): Always set to thread.
41749         * tls.make.c: File removed.
41750
41751 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41752
41753         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41754         * config.make.in (CPPFLAGS-config): New substituted variable.
41755
41756 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41757
41758         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41759
41760         [BZ #13192]
41761         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41762         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41763
41764 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41765
41766         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41767         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41768         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41769         (CALL_FAIL): Likewise.
41770         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41771         (CALL_FAIL): Macro removed.
41772         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41773
41774 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41775
41776         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41777         for __FINITE_MATH_ONLY__ == 1.
41778
41779 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41780
41781         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41782         __ieee754_sqrt instead of sqrt.
41783         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41784         __ieee754_sqrtf instead of sqrtf.
41785         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41786         __floorf instead of floorf.
41787         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41788         __floorf, __truncf instead of floorf, truncf.
41789
41790 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41791
41792         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41793
41794         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41795         __extern_always_inline.
41796         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41797         32-bit.
41798
41799 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41800
41801         * elf/rtld.c (dl_main): Also relocate in dependency order when
41802         doing symbol dependency testing.
41803
41804 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41805
41806         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41807         Always define `refsym'.
41808
41809 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41810
41811         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41812         (__FD_ELT): Renamed from __FDELT.
41813         * misc/bits/select2.h (__FD_ELT): Likewise.
41814         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41815         __FD_MASK instead of __FDELT, __FDMASK.
41816         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41817         Likewise.
41818         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41819         Likewise.
41820
41821         * elf/Makefile (gen-ldd): Fix pattern.
41822
41823         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41824         (init_tls): Likewise.
41825
41826 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41827
41828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41829
41830 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41831
41832         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41833         `struct cmsghdr *' instead of `void *'.
41834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41835         Likewise.
41836
41837 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41838
41839         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41840         if non-absolute.
41841         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41842         ldd_rewrite_script.
41843
41844 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41845
41846         * configure.in: Remove --with-tls option.
41847         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41848         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41849         out in case it is missing.
41850         * sysdeps/ia64/elf/configure.in: Likewise.
41851         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41852         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41853         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41854         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41855         * sysdeps/sh/elf/configure.in: Likewise.
41856         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41857         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41858         * sysdeps/x86_64/elf/configure.in: Likewise.
41859         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41860         * sysdeps/mach/hurd/tls.h: Likewise.
41861
41862         [BZ #13067]
41863         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41864
41865         [BZ #13090]
41866         * configure.in: Fix use of AC_INIT.
41867
41868         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41869
41870 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41871
41872         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41873         __set_errno.
41874         * malloc/hooks.c: Likewise.
41875
41876         [BZ #11929]
41877         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41878         variables statically.
41879         (narenas): Initialize.
41880         (list_lock): Initialize.
41881         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41882         initializtion of main_arena and list_lock.  Small cleanups.
41883         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41884         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41885         Add initializers to main_arena and mp_.
41886         (malloc_state): Remove pagesize member.  Change all users to use
41887         GLRO(dl_pagesize).
41888
41889         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41890         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41891         is always initialized.
41892
41893         * malloc/malloc.c: Removed unused configurations and dead code.
41894         * malloc/arena.c: Likewise.
41895         * malloc/hooks.c: Likewise.
41896         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41897
41898         * include/tls.h: Removed.  USE___THREAD must always be defined.
41899         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41900         * elf/dl-libc.c: Likewise.
41901         * elf/dl-tsd.c: Likewise.
41902         * include/errno.h: Likewise.
41903         * include/netdb.h: Likewise.
41904         * include/resolv.h: Likewise.
41905         * inet/herrno-loc.c: Likewise.
41906         * inet/herrno.c: Likewise.
41907         * malloc/arena.c: Likewise.
41908         * malloc/hooks.c: Likewise.
41909         * malloc/malloc.c: Likewise.
41910         * resolv/res-state.c: Likewise.
41911         * resolv/res_libc.c: Likewise.
41912         * sysdeps/i386/dl-machine.h: Likewise.
41913         * sysdeps/ia64/dl-machine.h: Likewise.
41914         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41915         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41916         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41917         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41918         * sysdeps/sh/dl-machine.h: Likewise.
41919         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41920         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41921         * sysdeps/unix/i386/sysdep.S: Likewise.
41922         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41923         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41924         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41926         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41927         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41928         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41932         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41933         * sysdeps/x86_64/dl-machine.h: Likewise.
41934         * tls.make.c: Likewise.
41935
41936         * configure.in: Remove --with-__thread option.  Make tests for
41937         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41938         tls_model attribute fail if no support is available.  Remove
41939         USE_IN_LIBIO.
41940         * Makeconfig: Adjust for dropped configure option.  All features are
41941         now mandatory.
41942         * Makerules: Likewise.
41943         * Versions.def: Likewise.
41944         * argp/argp-fmtstream.c: Likewise.
41945         * argp/argp-fmtstream.h: Likewise.
41946         * argp/argp-help.c: Likewise.
41947         * assert/assert.c: Likewise.
41948         * config.h.in: Likewise.
41949         * config.make.in: Likewise.
41950         * configure: Likewise.
41951         * configure.in: Likewise.
41952         * csu/Versions: Likewise.
41953         * csu/init.c: Likewise.
41954         * elf/tst-audit2.c: Likewise.
41955         * elf/tst-tls10.c: Likewise.
41956         * elf/tst-tls10.h: Likewise.
41957         * elf/tst-tls11.c: Likewise.
41958         * elf/tst-tls12.c: Likewise.
41959         * elf/tst-tls14.c: Likewise.
41960         * elf/tst-tlsmod11.c: Likewise.
41961         * elf/tst-tlsmod12.c: Likewise.
41962         * elf/tst-tlsmod13.c: Likewise.
41963         * elf/tst-tlsmod13a.c: Likewise.
41964         * elf/tst-tlsmod14a.c: Likewise.
41965         * elf/tst-tlsmod15b.c: Likewise.
41966         * elf/tst-tlsmod16a.c: Likewise.
41967         * elf/tst-tlsmod16b.c: Likewise.
41968         * elf/tst-tlsmod7.c: Likewise.
41969         * elf/tst-tlsmod8.c: Likewise.
41970         * elf/tst-tlsmod9.c: Likewise.
41971         * gmon/gmon.c: Likewise.
41972         * grp/fgetgrent_r.c: Likewise.
41973         * grp/putgrent.c: Likewise.
41974         * hurd/fopenport.c: Likewise.
41975         * include/libc-symbols.h: Likewise.
41976         * include/tls.h: Likewise.
41977         * intl/gettextP.h: Likewise.
41978         * intl/loadinfo.h: Likewise.
41979         * locale/global-locale.c: Likewise.
41980         * locale/localeinfo.h: Likewise.
41981         * mach/devstream.c: Likewise.
41982         * malloc/arena.c: Likewise.
41983         * malloc/set-freeres.c: Likewise.
41984         * misc/err.c: Likewise.
41985         * misc/getttyent.c: Likewise.
41986         * misc/mntent_r.c: Likewise.
41987         * posix/getopt.c: Likewise.
41988         * posix/wordexp.c: Likewise.
41989         * pwd/fgetpwent_r.c: Likewise.
41990         * resolv/Versions: Likewise.
41991         * resolv/res_hconf.c: Likewise.
41992         * shadow/fgetspent_r.c: Likewise.
41993         * shadow/putspent.c: Likewise.
41994         * stdio-common/printf_fphex.c: Likewise.
41995         * stdio-common/tmpfile.c: Likewise.
41996         * stdlib/abort.c: Likewise.
41997         * stdlib/fmtmsg.c: Likewise.
41998         * sunrpc/auth_unix.c: Likewise.
41999         * sunrpc/clnt_perr.c: Likewise.
42000         * sunrpc/clnt_tcp.c: Likewise.
42001         * sunrpc/clnt_udp.c: Likewise.
42002         * sunrpc/clnt_unix.c: Likewise.
42003         * sunrpc/openchild.c: Likewise.
42004         * sunrpc/svc_simple.c: Likewise.
42005         * sunrpc/svc_tcp.c: Likewise.
42006         * sunrpc/svc_udp.c: Likewise.
42007         * sunrpc/svc_unix.c: Likewise.
42008         * sunrpc/xdr.c: Likewise.
42009         * sunrpc/xdr_array.c: Likewise.
42010         * sunrpc/xdr_rec.c: Likewise.
42011         * sunrpc/xdr_ref.c: Likewise.
42012         * sunrpc/xdr_stdio.c: Likewise.
42013
42014 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42015
42016         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42017
42018 2011-07-03  Andreas Jaeger  <aj@suse.de>
42019
42020         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42021         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42022         regenerate with gen-libm-tests.pl.
42023
42024 2010-05-12  Petr Baudis  <pasky@suse.cz>
42025
42026         [BZ #11589]
42027         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42028         around j0() zero points by switching to j1().
42029         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42030         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42032         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42033
42034 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42035
42036         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42037         instead of 0.
42038         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42039         instead of 0.
42040         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42041         Patch in part by Pavel Roskin <proski@gnu.org>.
42042
42043         [BZ #13138]
42044         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42045         realloc.
42046         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42047         Free memory block if necessary.
42048
42049         [BZ #12847]
42050         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42051         be NULL.  Don't lock in this case.
42052
42053 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42054
42055         * elf/elf.h (ELFOSABI_GNU): New macro.
42056         (ELFOSABI_LINUX): Define to that.
42057
42058 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42059
42060         * string/strncat.c (strncat): Undef the symbol in case it has been
42061         defined in bits/string.h.
42062
42063 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42064
42065         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42066
42067         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42068         link map.
42069
42070 2011-08-17  Andreas Jaeger  <aj@suse.de>
42071
42072         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42073
42074 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42075             Ian Lance Taylor  <iant@google.com>
42076
42077         * math/libm-test.inc (lround_test): New testcase.
42078         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42079
42080 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42081
42082         * Makefile: Remove support for automatic cvs check-ins.
42083         * Makerules: Likewise.
42084         * config.make.in: Likewise.
42085         * configure.in: Likewise.
42086         * intl/Makefile: Likewise.
42087         * locale/Makefile: Likewise.
42088         * po/Makefile: Likewise.
42089         * posix/Makefile: Likewise.
42090         * sysdeps/gnu/Makefile: Likewise.
42091         * sysdeps/mach/hurd/Makefile: Likewise.
42092         * sysdeps/sparc/sparc32/Makefile: Likewise.
42093
42094         [BZ #13118]
42095         * posix/Makefile (bug-regex32-ENV): Define.
42096         Patch by John Stanley <jpsinthemix@verizon.net>.
42097
42098         * misc/Makefile (headers): Add bits/select2.h.
42099         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42100         * misc/bits/select2.h: New file.
42101         * include/bits/select2.h: New file.
42102         * debug/Makefile (routines): Add fdelt_chk.
42103         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42104         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42105         FD_ISSET.
42106         * debug/fdelt_chk.c: New file.
42107
42108         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42109         * wcsmbs/test-wmemcmp.c: Likewise.
42110         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42111         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42112
42113 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42114
42115         * string/Makefile (strop-tests): Add memcmp.
42116         * string/test-wmemcmp.c: New file.
42117         * string/test-memcmp.c: Add wmemcmp support.
42118
42119 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42120
42121         [BZ #13153]
42122         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42123         2011-07-19 change.
42124
42125         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42126         garbage value in a __mach_port_mod_refs call in the cases of the
42127         task-self and thread-self ports.
42128
42129 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42130
42131         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42132
42133 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42134
42135         * elf/dl-load.c (lose): Check for non-null L.
42136
42137 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42138
42139         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42140
42141         * elf/dl-libc.c (dlerror_run): Pass back error code from
42142         dl_catch_error.
42143
42144         [BZ #13123]
42145         * elf/dl-load.c (lose): Free l_origin if it is valid.
42146
42147         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42148         names.
42149         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42150         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42151         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42152         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42153         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42154         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42155
42156 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42157
42158         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42159         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42160         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42161         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42162         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42163         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42164         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42165         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42166         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42167         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42168
42169 2011-08-15  Alan Modra  <amodra@gmail.com>
42170
42171         [BZ #13092]
42172         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42173         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42174         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42175         ppc_mcount to static-only-routines.
42176         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42177         __mcount_internal.
42178         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42179         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42180
42181 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42182
42183         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42184         for finite and infinity parameters.
42185
42186 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42187
42188         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42189         and add nop instructions for throughput optimization.
42190         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42191
42192 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42193
42194         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42195         aligned copy for power7 with vector-scalar instructions.
42196         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42197
42198 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42199
42200         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42201         AVX check.
42202
42203 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42204
42205         [BZ #13144]
42206         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42207         last change.
42208
42209 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42210
42211         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42212         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42213         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42214         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42215         clock_gettime.
42216
42217 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42218
42219         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42220         Forgot to demangle the pointer.
42221
42222         * sysdeps/i386/sysdep.h: Define atom_text_section.
42223         * sysdeps/x86_64/sysdep.h: Likewise.
42224         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42225         section with atom_text_section.
42226         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42227         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42228         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42229         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42230         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42231
42232         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42233         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42234         already be defined.  Change to take two parameters and don't assign
42235         result to variable.  Adjust all users.
42236         Define INTERNAL_GETTIME if not already defined.
42237         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42238         call.
42239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42240         HAVE_CLOCK_GETTIME_VSYSCALL.
42241         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42242
42243         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42244         gettimeofday vsyscall, just use time.
42245
42246 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42247
42248         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42249         <errno.h>.
42250
42251 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42252
42253         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42254         syscall on x86-64.
42255         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42256         syscall.
42257         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42258         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42259         syscall if possible.
42260
42261 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42262
42263         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42264         e_ident.  Don't pass to find_mapsXX.
42265         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42266
42267 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42268
42269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42270         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42271         * sysdeps/x86_64/multiarch/strchr.S: Update.
42272         Check bit_slow_BSF bit.
42273         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42274         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42275         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42276
42277 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42278
42279         [BZ #13134]
42280         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42281         before glibc 2.15.
42282         (tryshell): Define.
42283         (__spawni): Change last parameter to be flag.  Test
42284         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42285         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42286         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42287         * posix/spawni.c: Likewise.
42288         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42289         * posix/spawnp.c: Likewise.  Change normal version to use
42290         SPAWN_XFLAGS_USE_PATH.
42291         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42292         SPAWN_XFLAGS_TRY_SHELL.
42293
42294         [BZ #13150]
42295         * posix/glob.h: Remove gcc 1.x support.
42296
42297         [BZ #13068]
42298         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42299
42300 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42301
42302         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42303         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42304         strrchr-sse2-bsf
42305         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42306         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42307         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42308         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42309         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42310         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42311
42312 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42313
42314         * sysdeps/x86_64/wcscmp.S: New file.
42315
42316         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42317         wcscmp-c wcscmp-sse2
42318         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42319         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42320         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42321         * wcsmbs/wcscmp.c: Allow renaming.
42322
42323 2011-09-05  David S. Miller  <davem@davemloft.net>
42324
42325         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42326         stack slot, rather than the struct return pointer slot.
42327         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42328         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42330         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42331
42332 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42333
42334         * po/ja.po: Update from translation team.
42335
42336         [BZ #13144]
42337         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42338         kernel in 64-bit binaries.
42339
42340 2011-09-01  David S. Miller  <davem@davemloft.net>
42341
42342         * elf/elf.h (HWCAP_SPARC_*): Move to..
42343         * sysdeps/sparc/sysdep.h: this new file and add new values.
42344         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42345         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42346         _DL_HWCAP_COUNT to 24.
42347         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42348         entries.
42349         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42350         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42351         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42353         instead of magic constants.
42354         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42355
42356 2011-08-31  David S. Miller  <davem@davemloft.net>
42357
42358         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42359         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42360         Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
42366         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42367         (PSEUDO): Reimplement to do errno handling inline.
42368         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42369         (SYSCALL_ERROR_HANDLER): New macro.
42370         (__SYSCALL_STRING): Do not do errno handling in asm.
42371         (__CLONE_SYSCALL_STRING): Delete.
42372         (__INTERNAL_SYSCALL_STRING): Delete.
42373         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42374         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42375         i386.
42376         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42377         (inline_syscall*): Add 'err' argument.
42378         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42379         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42380         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42381         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42382
42383         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42384         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42385
42386 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42387
42388         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42389
42390 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42391
42392         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42393         directive.
42394
42395 2011-08-24  David S. Miller  <davem@davemloft.net>
42396
42397         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42398
42399 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42400
42401         * elf/Makefile: Add rules to build and run unload8 test.
42402         * elf/unload8.c: New file.
42403         * elf/unload8mod1.c: New file.
42404         * elf/unload8mod1x.c: New file.
42405         * elf/unload8mod2.c: New file.
42406         * elf/unload8mod3.c: New file.
42407
42408         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42409         it wasn't used.
42410
42411 2011-08-23  David S. Miller  <davem@davemloft.net>
42412
42413         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42414         subtract stack bias.
42415         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42416         %sp not %fp in calculations.
42417         (_JMPBUF_UNWINDS_ADJ): Likewise.
42418
42419         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42420         (aio_suspend): Call it to force an exception region around the
42421         AIO_MISC_WAIT() invocation.
42422
42423 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42424
42425         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42426         backslash.
42427
42428 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42429
42430         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42431         protection macro.
42432         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42433         and <dl-machine.h>.
42434         (Elf64_FuncDesc): Remove.
42435
42436 2011-08-22  David S. Miller  <davem@davemloft.net>
42437
42438         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42439         sigaltstack check, add missing cfi directives.
42440         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42441         missing cfi directives, and sigaltstack handling.
42442
42443 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42444
42445         [BZ #11724]
42446         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42447         object is seen twice.
42448         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42449
42450         * elf/Makefile (distribute): Add tst-initorder2.c.
42451         (tests): Add tst-initorder2.
42452         (modules-names): Add tst-initorder2a tst-initorder2b
42453         tst-initorder2c tst-initorder2d.  Add rules to build them.
42454         ($(objpfx)tst-initorder2.out): New rule.
42455         * elf/tst-initorder2.c: New file.
42456         * elf/tst-initorder2.exp: New file.
42457
42458 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42459
42460         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42461
42462         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42463         dependencies back to end of function.
42464
42465         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42466         $(elfobjdir)/ld.so.
42467
42468 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42469
42470         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42471         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42472         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42473         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42474         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42475         of __vdso_gettimeofday.
42476         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42477         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42478         attribute_hidden.
42479         (_libc_vdso_platform_setup): Remove initialization of
42480         __vdso_gettimeofday and __vdso_time.
42481
42482 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42483
42484         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42485         and fgetc_unlocked.
42486         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42487         getc_unlocked.
42488
42489         * elf/dl-open.c (add_to_global): Report additions to the global scope
42490         for LD_DEBUG=scopes.
42491         (dl_open_worker): Also print scope of newly loaded dependencies.
42492         (_dl_show_scope): Indicate if there is no scope.
42493
42494         [BZ #13114]
42495         * stdio-common/Makefile (tests): Add bug24.
42496         * stdio-common/bug24.c: New file.
42497
42498 2011-08-19  Andreas Jaeger  <aj@suse.de>
42499
42500         [BZ #13114]
42501         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42502         non-existant file when using close-on-exec mode.
42503
42504 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42505
42506         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42507         the very first instruction.
42508
42509         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42510         the CFI state in the end.
42511         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42512         inclusion of dl-trampoline.h.
42513         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42514
42515 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42516
42517         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42518         expectations for long double.
42519
42520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42521         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42522
42523 2011-08-14  David S. Miller  <davem@davemloft.net>
42524
42525         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42526         artificual limit depends upon the system page size.
42527
42528 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42529
42530         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42531         * resolv/Makefile: Define CFLAGS-libresolv.
42532
42533 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42534
42535         * nss/makedb.c (compute_tables): Make variables used in nested
42536         function static.
42537
42538 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42539
42540         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42541         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42542         if buffer was too small.
42543
42544         * elf/pldd.c (main): Attach to all threads in the process.
42545         Rewrite /proc handling to use *at functions.
42546
42547 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42548
42549         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42550         specifies first scope to show.
42551         (dl_open_worker): Update callers.  Move printing scope of new
42552         object to before the relocation.
42553         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42554         * sysdeps/generic/ldsodefs.h: Update declaration.
42555
42556         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42557         string for the scope number.
42558
42559 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42560
42561         * nscd/servicescache.c (cache_addserv): Make sure written is always
42562         initialized.
42563
42564 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42565
42566         * sysdeps/i386/i486/bits/atomic.h
42567         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42568         statement expression, so as to suppress "set but not used" warning.
42569         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42570
42571         * string/strncat.c (STRNCAT): Use prototype definition.
42572
42573         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42574         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42575         -Iprograms here.
42576         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42577         (localedef-modules): Add localedef.
42578         (locale-modules): Add locale.
42579
42580         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42581         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42582         to avoid a warning.
42583
42584 2011-08-14  David S. Miller  <davem@davemloft.net>
42585
42586         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42587         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42588
42589 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42590
42591         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42592         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42593         * elf/rtld.c (dl_main): Set l_name of vDSO.
42594         Call _dl_show_scope when DL_DEBUG_SCOPES.
42595         (process_dl_debug): Recognize scopes flag and also set it for all.
42596         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42597         Declare _dl_show_scope.
42598
42599         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42600         (do_dlopen): Pass caller_dlopen to dl_open.
42601         (__libc_dlopen_mode): Initialize caller_dlopen.
42602
42603         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42604         of libc.  Make tolower call locale-independent.  Optimize a bit by
42605         using isdigit instead of isalnum.
42606         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42607
42608 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42609
42610         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42611         was a dependency or dynamically loaded.
42612
42613 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42614
42615         * intl/l10nflist.c: Allow architecture-specific pop function.
42616         * sysdeps/x86_64/l10nflist.c: New file.
42617
42618         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42619         classification.
42620
42621 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42622
42623         * include/dirent.h: Add libc_hidden_proto for scandirat and
42624         scandirat64.  Don't declare __scandirat64.
42625         * dirent/scandirat.c: Add libc_hidden_def.
42626         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42627         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42628
42629 2011-08-10  David S. Miller  <davem@davemloft.net>
42630
42631         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42632         enum.
42633         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42635         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42636
42637 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42638
42639         * Versions.def [libc]: Add GLIBC_2.15.
42640         * dirent/Makefile (routines): Add scandirat and scandirat64.
42641         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42642         GLIBC_2.15.
42643         * dirent/dirent.h: Declare scandirat and scandirat64.
42644         * dirent/scandirat.c: New file.
42645         * dirent/scandirat64.c: New file.
42646         * sysdeps/wordsize-64/scandirat.c: New file.
42647         * sysdeps/wordsize-64/scandirat64.c: New file.
42648         * dirent/opendir.c: Define opendirat.
42649         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42650         using scandirat.
42651         * dirent/scandir64.c: Adjust for scandir.c change.
42652         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42653         __scandirat64, and __scandir_cancel_handler.
42654         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42655         additional parameter and use openat instead of open (outside of ld.so).
42656         Add new __opendir as wrapper around __opendirat.
42657         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42658         here without requiring old scandirat implementation.
42659
42660 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42661
42662         * dirent/scandir.c (cancel_handler): Renamed to
42663         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42664         defined.  Adjust users.
42665         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42666         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42667
42668 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42669
42670         * string/test-string.h (IMPL): Use __STRING to expand name and then
42671         stringify it.
42672
42673         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42674         of cleanups.
42675
42676 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42677
42678         * string/Makefile: Update.
42679         (strop-tests): Append strncat.
42680         * string/test-wcscmp.c: New file.
42681         New comprehensive test for wcscmp.
42682         * string/test-strcmp.c: Update.
42683         (WIDE): New define.
42684
42685 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42686
42687         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42688         line.
42689
42690 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42691
42692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42693         encoding to ACE if AI_IDN.
42694
42695 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42696
42697         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42698         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42699
42700 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42701
42702         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42703         Fix overflow bug in strncat.
42704         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42705
42706         * string/test-strncat.c: Update.
42707         Add new tests for checking overflow bugs.
42708
42709 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42710
42711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42712         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42713         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42714         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42715         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42716         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42717         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42718         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42719         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42720
42721         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42722         (USE_AS_STRCAT): Define.
42723         Add strcat and strncat support.
42724         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42725
42726 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42727
42728         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42729         __n bigger than INT_MAX+1.
42730         (__strncmp_g): Likewise.
42731
42732 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42733
42734         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42735         * libio/stido.h: Likewise.
42736
42737         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42738         (AF_NFC): Define.
42739         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42740         (AF_NFC): Define.
42741
42742         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42743         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42744         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42745         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42746         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42747
42748         [BZ #13021]
42749         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42750         installed.
42751
42752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42753         typo.
42754         (_dl_x86_64_save_sse): Likewise.
42755
42756 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42757
42758         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42759         OSXSAVE.
42760         (_dl_x86_64_save_sse): Likewise.
42761
42762         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42763
42764         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42765
42766 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42767
42768         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42769         change.
42770         (_dl_x86_64_save_sse): Use correct AVX check.
42771
42772 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42773
42774         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42775         bug in strncpy/strncat.
42776         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42777
42778 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42779
42780         * string/tester.c (test_strcat): Add tests for different alignments
42781         of source and destination.
42782         (test_strncat): Likewise.
42783
42784 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42785
42786         [BZ #12852]
42787         * posix/glob.c (glob): Check passed in values before using them in
42788         expressions to avoid some overflows.
42789         (glob_in_dir): Likewise.
42790
42791         [BZ #13007]
42792         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42793         check for AVX enablement so that we don't crash with old kernels and
42794         new hardware.
42795         * elf/tst-audit4.c: Add same checks here.
42796         * elf/tst-audit6.c: Likewise.
42797
42798         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42799
42800 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42801
42802         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42803
42804 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42805
42806         * po/cs.po: Update from translation team.
42807         * po/bg.po: Likewise.
42808
42809 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42810
42811         * misc/sys/cdefs.h: Add support for const attribute.
42812         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42813         to gnu_dev_{major,minor,makedev} functions.
42814
42815 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42816
42817         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42818
42819 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42820
42821         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42822         strlen results.
42823
42824 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42825
42826         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42827         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42828         register in order to avoid conflicts with the soft frame pointer
42829         being held in r11 when necessary.
42830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42831         (INTERNAL_VSYSCALL_NCS): Likewise.
42832
42833 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42834
42835         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42836         * elf/dl-fini.c (_dl_fini): Adjust caller.
42837         * elf/dl-close.c (_dl_close_worker): Likewise.
42838         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42839
42840 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42841
42842         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42843         "aux_cache->nlibs < 0".
42844
42845         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42846         in the reload-count case.
42847
42848 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42849
42850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42851         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42852         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42853         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42854         * sysdeps/x86_64/multiarch/strcat.S: New file.
42855         * sysdeps/x86_64/multiarch/strncat.S: New file.
42856         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42857         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42858         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42859         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42860         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42861         (USE_AS_STRCAT): Define.
42862         Add strcat and strncat support.
42863         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42864         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42865         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42866         * string/strncat.c: Update.
42867         (USE_AS_STRNCAT): Define.
42868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42869         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42870         and i7.
42871         * sysdeps/x86_64/multiarch/init-arch.h
42872         (bit_Prefer_PMINUB_for_stringop): New.
42873         (index_Prefer_PMINUB_for_stringop): Likewise.
42874         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42875         bit_Prefer_PMINUB_for_stringop.
42876
42877 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42878
42879         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42880         buffer64.
42881         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42882         of casting of buffer.
42883         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42884         buffer32 and buffer64.
42885         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42886         writes instead of casting of buffer.
42887         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42888         buffer32.
42889         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42890         casting of buffer.
42891
42892 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42893
42894         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42895
42896 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42897
42898         * nscd/nscd.c (termination_handler): Don't do anything for a database
42899         if it has not yet been initialized.
42900
42901 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42902
42903         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42904
42905 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42906
42907         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42908
42909 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42910
42911         * po/nl.po: Update from translation team.
42912         * po/sv.po: Likewise.
42913
42914 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42915
42916         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42917         now disallowed by GCC.
42918
42919         * configure.in (use-default-link): Default to yes if a test -shared
42920         link meets our qualifications.
42921         * configure: Regenerated.
42922
42923         * config.make.in (output-format): New variable.
42924         * configure.in: Check for ld --print-output-format support.
42925         * configure: Regenerated.
42926         * Makerules ($(common-objpfx)format.lds)
42927         [$(output-format) != unknown]: Just use $(output-format),
42928         instead of the linker-script munging.
42929
42930 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42931
42932         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42933         of $(common-objpfx)shlib.lds.
42934         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42935
42936         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42937         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42938
42939         * configure.in (-z relro check): Adjust test code to add a large
42940         writable data section after it.
42941         * configure: Regenerated.
42942
42943 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42944
42945         * configure.in (-z relro check): Fix test code to make the variable
42946         truly const.
42947         * configure: Regenerated.
42948
42949 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42950
42951         * nscd/nscd.h (struct traced_file): Define.
42952         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42953         elements.  Add traced_files.
42954         (inotify_fd): Declare.
42955         (register_traced_file): Declare.
42956         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42957         (inotify_fd): Export.
42958         (resolv_conf_descr): Remove.
42959         (nscd_init): Move inotify descriptor creation to main.
42960         Don't register files for notification here.
42961         (register_traced_file): New function.
42962         (invalidate_cache): Don't use reset_res to determine whether to call
42963         res_init, go through the list of registered files.
42964         (main_loop_poll): The inotify descriptors are now stored in the
42965         structures for the traced files.
42966         (main_loop_epoll): Likewise
42967         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42968         to __nss_disable_nscd.
42969         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42970         for a database anymore.  Check the records for all the registered
42971         files instead.
42972         * nss/Makefile (libnss_files-routines): Add files-init.
42973         (libnss_db-routines): Add db-init.
42974         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42975         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42976         * nss/nss_db/db-init.c: New file.
42977         * nss/nss_files/files-init.c: New file.
42978         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42979         __nss_lookup_function.
42980         (__nss_lookup_function): Call nss_load_library.
42981         (nss_load_all_libraries): New function.
42982         (__nss_disable_nscd): Take parameter with callback function for files
42983         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42984         used for the cached services.
42985         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42986         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42987         options for features to all the files in nscd.
42988
42989         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42990
42991 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42992
42993         * csu/elf-init.c (__libc_csu_init): Comment typo.
42994
42995 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42996
42997         * po/pl.po: Update from translation team.
42998         * po/ja.po: Likewise.
42999         * po/ru.po: Likewise.
43000         * po/ko.po: Likewise.
43001         * po/fr.po: Likewise.
43002
43003 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43004
43005         * configure.in (.ctors/.dtors header and trailer check):
43006         Use an empirical test on a built program.
43007         * configure: Regenerated.
43008
43009         * configure.in (-z relro check): Use an empirical test on a built DSO.
43010         Detect, but do not require, on ia64.
43011         * configure: Regenerated.
43012
43013         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43014         Update tests that use readelf to use $READELF instead.
43015         * configure: Regenerated.
43016
43017 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43018
43019         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43020         if the result is not used.
43021
43022 2011-07-05  Andreas Jaeger  <aj@suse.de>
43023
43024         [BZ#9696]
43025         * stdlib/tst-strtod.c: Add testcase.
43026
43027 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43028
43029         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43030         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43031         The latter has a higher limit.  Take additional parameter to pass to
43032         the new function.
43033         (__pathconf): Pass file to __statfs_link_max.
43034         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43035         __statfs_link_max.
43036         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43037         __statfs_link_max.
43038
43039         [BZ #12868]
43040         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43041         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43042         Handle Lustre.
43043         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43044         (__statfs_filesize_max): Likewise.
43045         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43046
43047 2011-07-05  Andreas Jaeger  <aj@suse.de>
43048
43049         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43050
43051 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43052
43053         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43054         `status' variable.
43055         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43056         Likewise.
43057
43058 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43059
43060         * Makefile (strop-tests): Add strncat.
43061         * string/test-strncat.c: New file.
43062
43063 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43064
43065         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43066
43067 2011-06-21  Andreas Jaeger  <aj@suse.de>
43068
43069         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43070         Copy rule from iconvdata/Makefile.
43071
43072 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43073
43074         [BZ #12922]
43075         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43076         but no long options are defined, just return 'W'.
43077
43078 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43079
43080         [BZ #9696]
43081         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43082
43083 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43084
43085         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43086         netgroups to read.
43087         (innetgr): Likewise.
43088
43089 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43090
43091         * config.make.in (install_root): Default to $(DESTDIR).
43092
43093 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43094
43095         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43096
43097 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43098
43099         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43100
43101         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43102         containing directory rather than embedding absolute directory names.
43103
43104         * scripts/check-local-headers.sh: Rewritten using awk.
43105         Match by word, not by line.  Print error messages for matches.
43106         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43107
43108         * Makerules [shlib-lds-flags empty]:
43109         ($(common-objpfx)libc_pic.opts): New target.
43110         ($(common-objpfx)libc_pic.os.clean): New target.
43111         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43112
43113         * config.make.in (OBJCOPY): New variable.
43114         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43115         * configure: Regenerated.
43116
43117         * config.make.in (use-default-link): New variable.
43118         * configure.in (use_default_link): Grok --with-default-link to set it.
43119         * configure: Regenerated.
43120         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43121         (shlib-lds, shlib-lds-flags): Define to empty.
43122
43123         * Makerules (shlib-lds): New variable.
43124         (shlib-lds-flags): New variable.
43125         (build-shlib, build-moduile, build-module-asneeded): Use it.
43126         ($(common-objpfx)libc.so): Use $(shlib-lds).
43127         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43128         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43129
43130         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43131         DT_FLAGS/DT_FLAGS_1 with zero flags.
43132
43133         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43134         linker script munging.
43135
43136 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43137
43138         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43139         as 128-bit value.
43140         * crypt/sha512.c (sha512_process_block): Perform total addition using
43141         128-bit if possible.
43142         (__sha512_finish_ctx): Likewise.
43143         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43144         as 64-bit value.
43145         * crypt/sha256.c (SWAP64): Define.
43146         (sha256_process_block): Perform total addition using 64-bit if
43147         possible.
43148         (__sha256_finish_ctx): Likewise.
43149
43150 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43151
43152         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43153         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43154         * nscd/hstcache.c (cache_addhst): Likewise.
43155         * nscd/grpcache.c (cache_addgr): Likewise.
43156         * nscd/aicache.c (addhstaiX): Likewise
43157         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43158
43159 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43160
43161         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43162         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43163         * nscd/hstcache.c (cache_addhst): Likewise.
43164         * nscd/grpcache.c (cache_addgr): Likewise.
43165         * nscd/aicache.c (addhstaiX): Likewise
43166
43167 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43168
43169         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43170         domain only when needed.
43171
43172 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43173
43174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43175         is always restored.
43176
43177 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43178
43179         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43180         are re-adding the entry.
43181         * nscd/servicescache.c (cache_addserv): Likewise.
43182
43183 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43184
43185         * sysdeps/generic/dl-irel.h: fix protection against multiple
43186         inclusions.
43187         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43188
43189 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43190
43191         [BZ #12935]
43192         * malloc/memusage.sh: Fix quoting in message.
43193         * debug/xtrace.sh: Likewise.
43194
43195         * configure.in: Remove support for --experimental-malloc option, make
43196         it the default.
43197         * config.make.in: Likewise.
43198         * malloc/Makefile: Likewise.
43199
43200 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43201
43202         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43203         two-byte characters.
43204
43205 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43206
43207         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43208         AC_CACHE_CHECK invocation.
43209         * configure: Regenerated.
43210
43211         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43212
43213 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43214
43215         [BZ #12350]
43216         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43217         bit from old_res_options.
43218
43219         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43220
43221         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43222         value type for setfct.
43223
43224 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43225
43226         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43227         __gettimeofday instead of gettimeofday.
43228
43229 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43230
43231         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43232
43233 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43234
43235         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43236
43237         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43238         info.
43239
43240 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43241
43242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43243         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43244         strcpy-sse2-unaligned strncpy-sse2-unaligned
43245         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43246         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43247         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43248         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43249         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43250         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43251         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43252         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43253         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43254         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43255         (STRCPY): Support SSE2 and SSSE3 versions.
43256
43257 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43258
43259         [BZ #12874]
43260         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43261         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43262         kernels which artificially limit size of requests.
43263
43264 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43265
43266         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43267         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43268         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43269         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43270         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43271         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43272         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43273         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43274         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43275         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43276         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43277         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43278         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43279         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43280         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43282         Enable unaligned load optimization for Intel Core i3, i5 and i7
43283         processors.
43284         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43285         Define.
43286         (index_Fast_Unaligned_Load): Define.
43287         (HAS_FAST_UNALIGNED_LOAD): Define.
43288
43289 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43290
43291         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43292
43293 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43294
43295         [BZ #12907]
43296         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43297         until it is clear that the information is realy needed.
43298         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43299
43300 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43301
43302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43303
43304 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43305
43306         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43307         /sys/devices/system/cpu/online if it is usable.
43308
43309         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43310         reading the information from the /proc filesystem to once a second.
43311
43312 2011-06-21  Andreas Jaeger  <aj@suse.de>
43313
43314         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43315         NULL after inclusion of kernel headers.
43316
43317 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43318
43319         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43320         calls to internal_setent.
43321
43322         [BZ #12885]
43323         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43324         addresses using gethostbyname4_r ignore IPv4 addresses.
43325
43326         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43327         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43328
43329         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43330
43331 2011-06-20  David S. Miller  <davem@davemloft.net>
43332
43333         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43334         inclusions.
43335         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43336
43337         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43338         (elf_irel): Use it.
43339         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43340         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43341         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43342         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43343         * sysdeps/x86_64/dl-irel.h: Likewise.
43344
43345         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43346         * elf/dl-sym.c: Likewise.
43347
43348 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43349
43350         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43351         need to dereference resplen2.
43352
43353 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43354
43355         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43356
43357 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43358
43359         * Makeconfig: Define vardbdir and inst_vardbdir.
43360         * nss/Makefile: Add rules to install db-Makefile.
43361
43362         * nss/nss_db/db-XXX.c: Cleanup.
43363
43364         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43365         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43366         GLIBC_PRIVATE.
43367         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43368         * nss/makedb.c: Implement -g option to specify that value strings
43369         are generated and should not be added to table iterated over for
43370         get*ent calls.
43371         * nss/nss_db/db-initgroups.c: New file.
43372
43373         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43374         interface.
43375
43376         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43377         (internal_getgrouplist): Adjust to name change.
43378         Update use_initgroups_entry if this is not the first call.
43379         * nss/databases.def: Add initgroups entry.
43380
43381         * nss/makedb.c (compute_tables): Check result of multiple hash table
43382         sizes to minimize maximum chain length.
43383
43384 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43385
43386         * Versions.def: Add entry for libnss_db.
43387         * shlib-versions: Likewise.
43388         * nss/Makefile: Add rules to build libnss_db.
43389         * nss/Versions: Add libnss_db information.  Organize libnss_files
43390         entries better.
43391         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43392         makedb progra.  Some minor improvements to generate smaller files.
43393         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43394         here from...
43395         * nss/makedb.c: ...here.
43396         Improve database format to be smaller and require less memory at
43397         runtime.
43398         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43399         db anymore.
43400         * nss/nss_db/db-netgrp.c: Likewise.
43401         * nss/nss_db/db-open.c: Likewise.
43402         * nss/nss_files/flies-XXX.x: Adjust comments.
43403         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43404         * nss/nss_files/files-grp.c: Likewise.
43405         * nss/nss_files/files-hosts.c: Likewise.
43406         * nss/nss_files/files-network.c: Likewise.
43407         * nss/nss_files/files-proto.c: Likewise.
43408         * nss/nss_files/files-pwd.c: Likewise.
43409         * nss/nss_files/files-rpc.c: Likewise.
43410         * nss/nss_files/files-service.c: Likewise.
43411         * nss/nss_files/files-sgrp.c: Likewise.
43412         * nss/nss_files/files-spwd.c: Likewise.
43413         * nss/nss_db/db-alias.c: Removed.
43414         * nss/nss_db/dummy-db.h: Removed.
43415
43416 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43417
43418         * nss/makedb.c: Rewritten to not use database library.
43419         * nss/Makefile: Update to build new makedb program.
43420
43421 2011-06-14  Andreas Jaeger  <aj@suse.de>
43422
43423         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43424         memset declaration.
43425
43426 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43427
43428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43429         tmpbuf.
43430
43431 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43432
43433         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43434         * elf/Makefile ($(objpfx)ld.so): Likewise.
43435
43436         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43437         Don't list ld.so twice in dependencies.
43438
43439         * posix/bug-regex31.c: Include <stdlib.h>.
43440
43441         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43442
43443         * nis/nss_compat/compat-spwd.c
43444         (getspent_next_nss_netgr): Remove unused variable.
43445         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43446
43447         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43448         nonmembers" output to use the right array.
43449
43450         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43451
43452         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43453
43454         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43455         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43456         * catgets/gencat.c (read_input_file): Likewise.
43457         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43458
43459         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43460         variable definition inside #if's controlling its use.
43461
43462         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43463
43464         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43465
43466         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43467
43468         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43469         unreachable code.
43470
43471         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43472
43473         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43474         * configure: Regenerated.
43475
43476         * Makerules: Revert last change.
43477         * elf/Makefile: Likewise.
43478
43479 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43480
43481         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43482         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43483         (reloc-link): Likewise.
43484
43485 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43486
43487         * elf/Makefile: Add rules to build pldd.
43488         * elf/pldd.c: New file.
43489         * elf/pldd-xx.c: New file.
43490
43491 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43492
43493         * version.h: Update for 2.15 development version.
43494
43495 2011-06-07  David S. Miller  <davem@davemloft.net>
43496
43497         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43498         ifuncs.
43499         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43500         elf_machine_lazy_rel): Likewise.
43501         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43502         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43503         elf_machine_lazy_rel): Likewise.
43504         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43505         dl_hwcap via passed in argument.
43506         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43507         Likewise.
43508
43509 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43510
43511         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43512
43513 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43514
43515         [BZ #12849]
43516         * manual/fdl-1.1.texi: New file, verbatim from:
43517         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43518         * manual/lgpl-2.1.texi: New file, verbatim from:
43519         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43520         * manual/Makefile (licenses): New variable, list those new file names.
43521         (texis): Use it.
43522         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43523
43524         * manual/fdl.texi: File removed.
43525         * manual/lesser.texi: File removed.
43526         * manual/libc.texinfo (Copying, Documentation License):
43527         Use new @include file names, put @appendix directive before @include.
43528
43529 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43530
43531         [BZ #12841]
43532         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43533         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43534         (mq_open): Add __NTH.
43535
43536 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43537
43538         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43539         Assume Intel Core i3/i5/i7 processor if AVX is available.
43540
43541 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43542
43543         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43544         typo.
43545
43546 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43547
43548         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43549         memory.  Use alloca_account.  Fix memory leak when retrying.
43550
43551 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43552
43553         * version.h (RELEASE): Bump for 2.14 release.
43554         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43555
43556         * config.make.in (RANLIB): Remove entry.
43557
43558 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43559
43560         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43561         (libc.pot): Work around missing support for .ksh extension in xgettext.
43562
43563         [BZ #12684]
43564         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43565         if both request failed.
43566         (send_dg): In case of server errors clear resplen or *resplen2.
43567
43568         [BZ #12454]
43569         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43570         when there are multiple maps.
43571         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43572         (_dl_fini): Remove test here.
43573
43574         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43575
43576 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43577
43578         [BZ #12350]
43579         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43580         bit from old_res_options.
43581         (gaih_inet): Likewise.
43582
43583         [BZ #11099]
43584         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43585         as signed.
43586
43587         * resolv/res_init.c (res_setoptions): Make the code more compact.
43588
43589         [BZ #11558]
43590         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43591         set RES_USEVC.
43592
43593         [BZ #11634]
43594         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43595
43596         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43597
43598         [BZ #11781]
43599         * malloc/malloc.h: Declare malloc hook variables as volatile.
43600
43601         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43602         in last patch.
43603
43604         [BZ #11799]
43605         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43606         raise in the comment.
43607         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43608         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43609         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43610
43611 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43612
43613         [BZ #12811]
43614         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43615         grow the buffers more if it already has to be sufficient.
43616         (build_wcs_upper_buffer): Likewise.
43617         * posix/regexec.c (check_matching): Likewise.
43618         (clean_state_log_if_needed): Likewise.
43619         (extend_buffers): Don't enlarge buffers beyond size of the input
43620         buffer.
43621         Patches mostly by Emil Wojak <emil@wojak.eu>.
43622         * posix/bug-regex32.c: New file.
43623         * posix/Makefile (tests): Add bug-regex32.
43624
43625         * locale/findlocale.c (_nl_find_locale): Return right away if
43626         _nl_explode_name failed.
43627         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43628
43629         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43630
43631         * debug/xtrace.sh: Unify messages.
43632         * malloc/memusage.sh: Likewise.
43633
43634         [BZ #12813]
43635         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43636         time symbol from vDSO.  Substitute with vsyscall if not available.
43637         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43638         __vdso_time.
43639
43640         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43641         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43642         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43643         Add sendmmsg and internal_sendmmsg.
43644         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43645         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43646         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43647
43648         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43649         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43650         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43651
43652 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43653
43654         [BZ #12813]
43655         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43656         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43657         available.
43658         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43659         __vdso_getcpu.
43660
43661         [BZ #12814]
43662         * iconvdata/Makefile (tests): Add bug-iconv9.
43663         * iconvdata/bug-iconv9.c: New file.
43664
43665 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43666
43667         [BZ #12814]
43668         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43669
43670 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43671
43672         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43673         (struct user_regs_struct): Change intcs field back to cs.
43674
43675 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43676
43677         * po/ja.po: Update from translation team.
43678
43679 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43680
43681         [BZ #12795]
43682         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43683         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43684
43685 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43686
43687         * stdlib/longlong.h: Update from GCC.
43688
43689 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43690
43691         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43692         parameter name.
43693         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43694         Add parameter name.
43695         (__sysconf): Pass it down.
43696
43697 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43698
43699         [BZ #12671]
43700         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43701         some situations.
43702         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43703         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43704         add in in __libc_use_alloca calls.  Adjust callers.
43705         (glob): Use malloc in some situations.
43706
43707         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43708         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43709         pltexit.
43710
43711 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43712
43713         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43714         and CLOCK_BOOTTIME_ALARM.
43715
43716         [BZ #12782]
43717         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43718         is returned.
43719
43720         * string/_strerror.c (__strerror_r): Print negative errors as signed
43721         numbers.
43722
43723         [BZ #12777]
43724         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43725         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43726         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43727
43728         * configure.in: Fix typo in redirection and correct removal of test
43729         files in two cases.
43730
43731         [BZ #12788]
43732         * locale/setlocale.c (new_composite_name): Fix test to check for
43733         identical name of all categories.
43734
43735         [BZ #12792]
43736         * libio/filedoalloc.c (local_isatty): New function.
43737         (_IO_file_doallocate): Use local_isatty.
43738         * stdio-common/perror.c (perror): In case a new stream is used
43739         forward the stream error.
43740         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43741         error flag.
43742
43743 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43744
43745         [BZ #11869]
43746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43747         alloca.
43748         * include/alloca.h (extend_alloca_account): Define.
43749
43750         [BZ #11857]
43751         * posix/regex.h: Fix comments with documentation of user-accessible
43752         fields after compilation and describe correct free'ing of pattern
43753         after re_compile_pattern.
43754         Patch by Reuben Thomas <rrt@sc3d.org>.
43755
43756 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43757
43758         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43759         and -mno-altivec to prevent the compiler from using Altivec and/or
43760         VSX instructions when the corresponding registers are not available.
43761
43762 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43763
43764         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43765
43766 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43767
43768         * libio/freopen.c (freopen): Use __dup2, not dup2.
43769         * libio/freopen64.c (freopen64): Likewise.
43770
43771 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43772
43773         [BZ #12775]
43774         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43775         * math/Makefile (tests): Add test-powl.
43776         (CFLAGS-test-powl.c): Define.
43777         * math/test-powl.c: New file.
43778
43779 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43780
43781         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43782
43783 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43784
43785         [BZ #11837]
43786         * iconvdata/gb18030.c: Update to GB18020-2005.
43787
43788 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43789
43790         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43791         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43792         Patch by Aharon Robbins <arnold@skeeve.com>.
43793
43794         [BZ #11892]
43795         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43796         on the stack.
43797
43798         [BZ #11895]
43799         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43800         through underflows.
43801
43802         [BZ #12766]
43803         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43804         point to strings before performing equality test for error_one_per_line
43805         mode.
43806
43807         [BZ #11697]
43808         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43809
43810         [BZ #11820]
43811         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43812         (struct user_fpregs_struct): Avoid __uint*_t types.
43813
43814         [BZ #6420]
43815         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43816         symbol info.  Use it instead of calling _dl_addr locally.
43817         (lock_and_info): New function.
43818         (tr_freehook): Call lock_and_info and pass symbol info as additional
43819         parameter to tr_where.
43820         (tr_mallochook): Likewise.
43821         (tr_reallochook): Likewise.
43822         (tr_memalignhook): Likewise.
43823
43824         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43825         used and couldn't be at all thread-safe.
43826
43827 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43828
43829         * libio/freopen.c (freopen): Don't close old file descriptor
43830         before the new one is opened.  Instead dup the new file descriptor
43831         to the old one after the new stream is created.
43832         * libio/freopen64.c (freopen64): Likewise.
43833         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43834         * libio/fileops.c (_IO_new_file_close_it): Handle new
43835         _IO_FLAGS2_NOCLOSE flag.
43836         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43837         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43838         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43839         _IO_FLAGS2_NOCLOSE flag.
43840         * include/unistd.h: Add hidden_proto for dup3.
43841         Define __have_dup3.
43842         * io/dup3.c: Define hidden symbol.
43843         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43844
43845         [BZ #7101]
43846         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43847         when an incomplete long option is used.
43848         * posix/tst-getopt_long1.c: New file.
43849         * posix/Makefile (tests): Add tst-getopt_long1.
43850
43851         [BZ #10138]
43852         * scripts/config.guess: Update from autoconf-2.68.
43853         * scripts/config.sub: Likewise.
43854
43855         [BZ #10157]
43856         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43857         tests into ...
43858         (has_cpuclock): ...this.  New function.
43859         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43860         macro here based on has_cpuclock code.
43861
43862         [BZ #10149]
43863         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43864         First byte (not low byte) is now always NUL.
43865         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43866
43867         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43868         Use non-cancelable interfaces.
43869
43870         [BZ #9809]
43871         * locale/iso-639.def: Add entry for Sorani.
43872
43873         [BZ #11901]
43874         * include/stdlib.h: Move include protection to the right place.
43875         Define abort_msg_s.  Declare __abort_msg with it.
43876         * stdlib/abort.c (__abort_msg): Adjust type.
43877         * assert/assert.c (__assert_fail_base): New function.  Majority
43878         of code from __assert_fail.  Allocate memory for __abort_msg with
43879         mmap.
43880         (__assert_fail): Now call __assert_fail_base.
43881         * assert/assert-perr.c: Remove bulk of implementation.  Use
43882         __assert_fail_base.
43883         * include/assert.hL Declare __assert_fail_base.
43884         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43885         mmap.
43886         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43887
43888 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43889
43890         [BZ #11952]
43891         [BZ #12453]
43892         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43893         until all modules are registered in the DTV.
43894         * elf/Makefile: Add rules to build and run tst-tls19.
43895         * elf/tst-tls19.c: New file.
43896         * elf/tst-tls19mod1.c: New file.
43897         * elf/tst-tls19mod2.c: New file.
43898         * elf/tst-tls19mod3.c: New file.
43899         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43900
43901         [BZ #12083]
43902         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43903         correctly.
43904
43905         [BZ #12601]
43906         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43907         two-byte sequence errors.
43908         * iconvdata/Makefile (tests): Add bug-iconv8.
43909         * iconvdata/bug-iconv8.c: New file.
43910
43911         [BZ #12626]
43912         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43913         buf2 definition.
43914
43915         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43916
43917         [BZ #12432]
43918         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43919         (dummy_getcfa): New function.
43920         (init): Get _Unwind_GetCFA address, use dummy if not found.
43921         (backtrace_helper): In recursion check, also check whether CFA changes.
43922         (__backtrace): Completely initialize arg.
43923
43924         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43925         storing incomplete byte sequence in state object.  Avoid testing for
43926         guaranteed too small input if we know there is enough data available.
43927
43928 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43929
43930         * Makeconfig (+link-pie): Indent.
43931         * Rules (binaries-pie): Define if $(have-fpie) and
43932         $(build-shared).
43933         (binaries-shared): Also filter out $(binaries-pie).
43934         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43935         * nscd/Makefile (others-pie): Add nscd.
43936         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43937         ($(objpfx)nscd): Remove command override.
43938         * login/Makefile (others-pie): Add pt_chown.
43939         ($(objpfx)pt_chown): Remove command override.
43940         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43941         remove command overrides.
43942
43943 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43944
43945         * libio/tst_putwc.c: Fix error messages.
43946
43947         [BZ #12724]
43948         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43949         currently writing and seek to current position when not.
43950         * libio/Makefile (tests): Add bug-fclose1.
43951         * libio/bug-fclose1.c: New file.
43952
43953 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43954
43955         [BZ #12511]
43956         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43957         don't set DF_1_NODELETE here.
43958         (do_lookup_x): When entering new entry test for copy relocation
43959         and if necessary set DF_1_NODELETE flag.
43960         * elf/tst-unique4.cc: New file.
43961         * elf/tst-unique4.h: New file.
43962         * elf/tst-unique4lib.cc: New file.
43963         * elf/Makefile: Add rules to build and run tst-unique4.
43964         Patch by Piotr Bury <pbury@goahead.com>.
43965
43966 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43967
43968         [BZ #12052]
43969         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43970
43971         [BZ #12625]
43972         * misc/mntent_r.c (addmntent): Flush the stream after the output
43973
43974         [BZ #12393]
43975         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43976         (is_trusted_path_normalize): Skip initial colon.  Append slash
43977         to empty buffer.  Duplicate is_trusted_path code but allow
43978         constructed patch to be prefix.
43979         (is_dst): Allow $ORIGIN followed by /.
43980         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43981         Correct testing of result of is_trusted_path_normalize
43982         (decompose_rpath): Fix warning.
43983
43984 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43985
43986         [BZ #11257]
43987         * grp/initgroups.c (internal_getgrouplist): When we found the service
43988         list through the initgroups entry in nsswitch.conf do not always
43989         continue on a successful lookup.  Don't always use the
43990         __nss_group_database value if it is set.
43991         * nss/nsswitch.conf (initgroups): Change action for successful db
43992         lookup to continue for compatibility.
43993
43994 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43995
43996         [BZ #11532]
43997         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43998         and CP774 modules.
43999         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44000         and CP774 modules.
44001         * iconvdata/tst-tables.sh: Likewise.
44002         * iconvdata/cp770.c: New file.
44003         * iconvdata/cp771.c: New file.
44004         * iconvdata/cp772.c: New file.
44005         * iconvdata/cp773.c: New file.
44006         * iconvdata/cp774.c: New file.
44007         * iconvdata/testdata/CP770: New file.
44008         * iconvdata/testdata/CP770..UTF8: New file.
44009         * iconvdata/testdata/CP771: New file.
44010         * iconvdata/testdata/CP771..UTF8: New file.
44011         * iconvdata/testdata/CP772: New file.
44012         * iconvdata/testdata/CP772..UTF8: New file.
44013         * iconvdata/testdata/CP773: New file.
44014         * iconvdata/testdata/CP773..UTF8: New file.
44015         * iconvdata/testdata/CP774: New file.
44016         * iconvdata/testdata/CP774..UTF8: New file.
44017
44018         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44019         END CHARMAP line.
44020         * iconvdata/gen-8bit-gap.sh: Likewise.
44021         * iconvdata/gen-8bit.sh: Likewise.
44022
44023         * locale/iso-639.def: Add ary entry.
44024
44025         [BZ #11258]
44026         * locale/C-translit.h.in: Add U20A1 transliteration.
44027
44028         [BZ #12178]
44029         * locale/iso-639.def: Add wae entry.
44030         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44031
44032         [BZ #12545]
44033         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44034         for n.
44035
44036         [BZ #12711]
44037         * locale/C-translit.h.in: Add entry for U20B9.
44038         Patch by pravin.d.s@gmail.com.
44039
44040 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44041
44042         [BZ #12713]
44043         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44044         ENAMETOOLONG use generic getcwd.
44045         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44046         in rtld.  Use *stat64.
44047         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44048         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44049         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44050         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44051         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44052         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44053         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44054         __fstatat64 macros.
44055         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44056         * dirent/rewinddir.c: Add libc_hidden_def.
44057         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44058         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44059
44060         * include/dirent.h (__alloc_dir): Add flags parameter.
44061         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44062         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44063         __alloc_dir.
44064         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44065         from fdopendir if O_CLOEXEC is already set.
44066
44067 2011-03-15  Alan Modra  <amodra@gmail.com>
44068
44069         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44070         l_tls_firstbyte_offset non-zero.  Save padding offset in
44071         l_tls_firstbyte_offset for later use.
44072         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44073         freeing static tls block.
44074
44075 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44076
44077         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44078         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44079         being defined by the kernel headers.
44080
44081 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44082
44083         [BZ #12734]
44084         * resolv/resolv.h: Define RES_NOTLDQUERY.
44085         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44086         no-tld-query and set RES_NOTLDQUERY.
44087         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44088         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44089         modern BIND to search name as TLD unless forbidden.
44090
44091 2011-05-07  Petr Baudis  <pasky@suse.cz>
44092             Ulrich Drepper  <drepper@gmail.com>
44093
44094         [BZ #12393]
44095         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44096         (is_trusted_path): ...to here.
44097         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44098         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44099         using is_trusted_path_normalize() in setuid scripts.
44100
44101 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44102
44103         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44104         __BEGIN/__END_DECLS.
44105
44106 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44107
44108         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44109         NSS_STATUS_NOTFOUND if no record was found.
44110
44111 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44112
44113         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44114         (headers-not-in-tirpc): Remove rpc/netdb.h
44115         * resolv/netdb.h: Revert last change.
44116
44117 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44118
44119         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44120         circular dependency between libgcc.a and libc.a.
44121
44122 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44123
44124         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44125         * nis/Makefile: Don't install rpcsvc/*.
44126         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44127         instead of <rpc/types.h>.
44128         (MAXHOSTNAMELEN): Define.
44129
44130 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44131
44132         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44133
44134 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44135
44136         [BZ #12714]
44137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44138         gethostbyname4_r when IPv6 results are possible.
44139
44140 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44141
44142         [BZ #12723]
44143         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44144         _PC_PIPE_BUF handling.
44145
44146 2011-04-30  Bruno Haible  <bruno@clisp.org>
44147
44148         [BZ #12717]
44149         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44150         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44151         to 'int'.
44152         * inet/getnameinfo.c (getnameinfo): Likewise.
44153
44154 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44155
44156         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44157         to groups setting in database lookup.
44158         * nss/nsswitch.conf: Add initgroups entry.
44159
44160 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44161
44162         [BZ #12685]
44163         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44164         mode string.
44165         Patch by Eric Blake <eblake@redhat.com>.
44166
44167 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44168
44169         * sunrpc/Makefile (need-export-routines): Add svc_run.
44170         (routines): Remove svc_run.
44171         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44172         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44173         * sunrpc/svc_run.c (svc_run): Likewise.
44174         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44175
44176 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44177
44178         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44179         problem in reallocation in last patch.
44180
44181 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44182
44183         * sunrpc/Makefile: Move inclusion of Rules.
44184
44185 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44186
44187         * nss/nss_files/files-initgroups.c: New file.
44188         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44189         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44190         _nss_files_initgroups_dyn.
44191
44192 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44193
44194         * elf/elf.h (R_ARM_IRELATIVE): Define.
44195
44196 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44197
44198         * po/ru.po: Update from translation team.
44199
44200 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44201
44202         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44203         dependencies.
44204
44205 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44206
44207         [BZ #12653]
44208         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44209         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44210         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44211         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44212         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44213
44214 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44215
44216         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44217         differing bytes.
44218         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44219         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44220         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44221
44222 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44223
44224         [BZ #12420]
44225         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44226         storing it.
44227         * stdlib/bug-getcontext.c: New file.
44228         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44229
44230 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44231
44232         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44233         instructions into .machine "z9-109".
44234         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44235         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44236
44237 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44238
44239         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44240         between environment variables and auxiliary vector.
44241
44242 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44243
44244         * Makefile: Add rules to build linkobj/libc.so.
44245         * include/libc-symbols.h: Define libc_hidden_nolink.
44246         * include/rpc/auth.h: Mark functions which are to be hidden.
44247         * include/rpc/auth_des.h: Likewise.
44248         * include/rpc/auth_unix.h: Likewise.
44249         * include/rpc/clnt.h: Likewise.
44250         * include/rpc/des_crypt.h: Likewise.
44251         * include/rpc/key_prot.h: Likewise.
44252         * include/rpc/pmap_clnt.h: Likewise.
44253         * include/rpc/pmap_prot.h: Likewise.
44254         * include/rpc/pmap_rmt.h: Likewise.
44255         * include/rpc/rpc_msg.h: Likewise.
44256         * include/rpc/svc.h: Likewise.
44257         * include/rpc/svc_auth.h: Likewise.
44258         * include/rpc/xdr.h: Likewise.
44259         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44260         * nss/Makefile: Likewise.
44261         * sunrpc/Makefile: Don't install headers.  Build library with normal
44262         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44263         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44264         for the compat linking library.  Remove use of INTDEF/INTUSE.
44265         * sunrpc/auth_none.c: Likewise.
44266         * sunrpc/auth_unix.c: Likewise.
44267         * sunrpc/authdes_prot.c: Likewise.
44268         * sunrpc/authuxprot.c: Likewise.
44269         * sunrpc/clnt_gen.c: Likewise.
44270         * sunrpc/clnt_perr.c: Likewise.
44271         * sunrpc/clnt_raw.c: Likewise.
44272         * sunrpc/clnt_simp.c: Likewise.
44273         * sunrpc/clnt_tcp.c: Likewise.
44274         * sunrpc/clnt_udp.c: Likewise.
44275         * sunrpc/clnt_unix.c: Likewise.
44276         * sunrpc/des_crypt.c: Likewise.
44277         * sunrpc/des_soft.c: Likewise.
44278         * sunrpc/get_myaddr.c: Likewise.
44279         * sunrpc/key_call.c: Likewise.
44280         * sunrpc/key_prot.c: Likewise.
44281         * sunrpc/netname.c: Likewise.
44282         * sunrpc/pm_getmaps.c: Likewise.
44283         * sunrpc/pm_getport.c: Likewise.
44284         * sunrpc/pmap_clnt.c: Likewise.
44285         * sunrpc/pmap_prot.c: Likewise.
44286         * sunrpc/pmap_prot2.c: Likewise.
44287         * sunrpc/pmap_rmt.c: Likewise.
44288         * sunrpc/publickey.c: Likewise.
44289         * sunrpc/rpc_cmsg.c: Likewise.
44290         * sunrpc/rpc_common.c: Likewise.
44291         * sunrpc/rpc_dtable.c: Likewise.
44292         * sunrpc/rpc_prot.c: Likewise.
44293         * sunrpc/rpc_thread.c: Likewise.
44294         * sunrpc/rtime.c: Likewise.
44295         * sunrpc/svc.c: Likewise.
44296         * sunrpc/svc_auth.c: Likewise.
44297         * sunrpc/svc_authux.c: Likewise.
44298         * sunrpc/svc_raw.c: Likewise.
44299         * sunrpc/svc_run.c: Likewise.
44300         * sunrpc/svc_simple.c: Likewise.
44301         * sunrpc/svc_tcp.c: Likewise.
44302         * sunrpc/svc_udp.c: Likewise.
44303         * sunrpc/svc_unix.c: Likewise.
44304         * sunrpc/svcauth_des.c: Likewise.
44305         * sunrpc/xcrypt.c: Likewise.
44306         * sunrpc/xdr.c: Likewise.
44307         * sunrpc/xdr_array.c: Likewise.
44308         * sunrpc/xdr_float.c: Likewise.
44309         * sunrpc/xdr_intXX_t.c: Likewise.
44310         * sunrpc/xdr_mem.c: Likewise.
44311         * sunrpc/xdr_rec.c: Likewise.
44312         * sunrpc/xdr_ref.c: Likewise.
44313         * sunrpc/xdr_sizeof.c: Likewise.
44314         * sunrpc/xdr_stdio.c: Likewise.
44315
44316 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44317
44318         [BZ #12650]
44319         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44320         * sysdeps/ia64/dl-tls.h: Likewise.
44321         * sysdeps/powerpc/dl-tls.h: Likewise.
44322         * sysdeps/s390/dl-tls.h: Likewise.
44323         * sysdeps/sh/dl-tls.h: Likewise.
44324         * sysdeps/sparc/dl-tls.h: Likewise.
44325         * sysdeps/x86_64/dl-tls.h: Likewise.
44326         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44327
44328 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44329
44330         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44331         rpath element also skip the following colon.
44332         (expand_dynamic_string_token): Add is_path parameter and pass
44333         down to DL_DST_REQUIRED and _dl_dst_substitute.
44334         (decompose_rpath): Call expand_dynamic_string_token with
44335         non-zero is_path.  Ignore empty rpaths.
44336         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44337         with zero is_path.
44338
44339 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44340
44341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44342         Make cancelable.
44343
44344 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44345
44346         [BZ #12655]
44347         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44348         Patch by Filipe David Manana <fdmanana@apache.org>.
44349
44350 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44351
44352         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44353         Maintain aligned stack.
44354         (CHECK_RSP): Remove unused macro.
44355
44356 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44357
44358         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44359         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44360
44361 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44362
44363         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44364
44365         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44366
44367 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44368
44369         [BZ #12518]
44370         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44371         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44372         * sysdeps/x86_64/memmove.c: New file.
44373         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44374         (memcpy): Renamed to ...
44375         (__new_memcpy): This.
44376         (memcpy): Provide GLIBC_2_14 memcpy.
44377         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44378         (memcpy): Provide GLIBC_2_2_5 memcpy.
44379
44380 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44381
44382         [BZ #12631]
44383         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44384
44385 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44386
44387         * misc/syncfs.c: New file.
44388         * misc/Makefile (routines): Add syncfs.
44389         * posix/unistd.h: Declare syncfs.
44390         * sysdeps/unix/syscalls.list: Add syncfs.
44391
44392 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44393
44394         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44395         open_by_handle_at.
44396         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44397         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44398         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44399         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44400         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44401         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44402         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44403
44404 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44405
44406         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44407         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44408         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44409         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44410         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44411         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44412         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44413
44414         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44415         sync_file_range.c with -fexceptions.
44416         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44417         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44418         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44419         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44420         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44421         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44423         sync_file_range as cancellation point
44424         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44425         now a wrapper around __call_sync_file_range with cancellation handling.
44426         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44427         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44428         function name to __call_sync_file_range.
44429         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44430         Add call_sync_file_range.
44431
44432 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44433
44434         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44435         bits/timex.h.
44436
44437 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44438
44439         * iconv/iconv.h: Fix typo in comment.
44440         * io/fcntl.h: Likewise.
44441         * libio/stdio.h: Likewise.
44442         * posix/spawn.h: Likewise.
44443         * posix/unistd.h: Likewise.
44444         * stdlib/stdlib.h: Likewise.
44445         * time/time.h: Likewise.
44446         * wcsmbs/wchar.h: Likewise.
44447
44448         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44449         open_by_handle): Add.
44450         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44451         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44452         Augment a few comments.
44453         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44454         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44455         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44457         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44458         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44459         open_by_handle.
44460
44461         * io/fcntl.h (AT_EMPTY_PATH): Define.
44462
44463 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44464
44465         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44466         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44467         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44468         to...
44469         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44470         * Versions.def: Add GLIBC_2.14.
44471         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44472         Export.
44473
44474 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44475
44476         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44477         round counter.
44478         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44479
44480 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44481
44482         [BZ #12597]
44483         * string/test-strncmp.c (do_page_test): New function.
44484         (check2): Likewise.
44485         (test_main): Call check2.
44486         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44487
44488 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44489
44490         [BZ #12587]
44491         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44492         Handle cache information in CPU leaf 4.
44493         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44494
44495 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44496
44497         [BZ #12583]
44498         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44499         character representation.
44500         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44501
44502 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44503
44504         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44505         END(__isnan) to END(__isnanf) to match function entry point/label
44506         EALIGN(__isnanf,...).
44507
44508 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44509
44510         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44511
44512 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44513
44514         [BZ #12510]
44515         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44516         copy from the symbol referenced in the relocation to initialize the
44517         used variable.
44518         Patch by Piotr Bury <pbury@goahead.com>.
44519         * elf/Makefile: Add rules to build and tst-unique3.
44520         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44521         * elf/tst-unique3.cc: New file.
44522         * elf/tst-unique3.h: New file.
44523         * elf/tst-unique3lib.cc: New file.
44524         * elf/tst-unique3lib2.cc: New file.
44525
44526         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44527
44528 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44529
44530         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44531         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44532         to _start.
44533
44534 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44535
44536         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44537         to-be-loaded object along a path to loader is ld.so.
44538
44539 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44540             Ulrich Drepper  <drepper@gmail.com>
44541
44542         * sysdeps/x86_64/memset.S: After aligning destination, code
44543         branches to different locations depending on the value of
44544         misalignment, when multiarch is enabled. Fix this.
44545
44546 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44547
44548         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44549         Set _x86_64_preferred_memory_instruction for AMD processsors.
44550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44551         Set bit_Prefer_SSE_for_memop for AMD processors.
44552
44553 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44554
44555         * libio/fmemopen.c (fmemopen): Optimize a bit.
44556
44557 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44558
44559         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44560
44561 2011-03-03  Roland McGrath  <roland@redhat.com>
44562
44563         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44564
44565 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44566
44567         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44568         __bzero_ultra1 instead of __memset_ultra1.
44569
44570 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44571             Ulrich Drepper  <drepper@gmail.com>
44572
44573         [BZ #12509]
44574         * include/link.h (struct link_map): Add l_orig_initfini.
44575         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44576         returning unsuccessfully.
44577         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44578         close of a file loaded at startup, restore the original l_initfini
44579         list.
44580         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44581         list, store the pointer.
44582         * elf/Makefile ($(objpfx)noload-mem): New rule.
44583         (noload-ENV): Define.
44584         (tests): Add $(objpfx)noload-mem.
44585         * elf/noload.c: Include <memcheck.h>.
44586         (main): Call mtrace.  Close all opened handles.
44587
44588 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44589
44590         [BZ #12454]
44591         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44592         dependencies are missing.
44593
44594 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44595
44596         Fix __if_freereq crash: Unlike the generic version which uses free,
44597         Hurd needs munmap.
44598         * sysdeps/mach/hurd/ifreq.h: New file.
44599
44600 2011-01-27  Petr Baudis  <pasky@suse.cz>
44601             Ulrich Drepper  <drepper@gmail.com>
44602
44603         [BZ 12445]#
44604         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44605         to extend_alloca().
44606         * stdio-common/bug23.c: New file.
44607         * stdio-common/Makefile (tests): Add bug23.
44608
44609 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44610             Ulrich Drepper  <drepper@gmail.com>
44611
44612         [BZ #12489]
44613         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44614         before performing relro protection.  At old place add assertion
44615         to make sure nothing changed.
44616
44617 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44618             Glauber de Oliveira Costa  <glommer@gmail.com>
44619
44620         * elf/elf.h: Add new ARM TLS relocs.
44621
44622 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44623
44624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44625         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44626         cast from r3.
44627         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44628         'tests' variable.
44629         * sysdeps/wordsize-64/tst-writev.c: New file.
44630
44631 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44632
44633         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44634         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44635         insns in _dl_start to prevent a TOC reference before relocs are
44636         resolved.
44637
44638 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44639
44640         [BZ #12469]
44641         * Makeconfig: Remove RANLIB definition.
44642         * Makerules: Don't use RANLIB.
44643         * aclocal.m4: Remove ranlib test.
44644         * configure.in: No need to check for ranlib.
44645         * elf/rtld-Rules: Don't use RANLIB.
44646
44647 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44648
44649         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44650         protection macro.
44651         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44652         inclusion protection macro.
44653
44654         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44655         SIGRTMIN and SIGRTMAX and print information in that case only when
44656         SIGRTMIN is defined.
44657
44658 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44659
44660         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44661         arginfo fn returning -1.
44662
44663         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44664         and thousands string is zero terminated.
44665
44666 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44667
44668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44669         sysdeps/unix/sysv/linux/bits/socket.h.
44670
44671 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44672
44673         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44674         (__CPU_COUNT): Remove old macros.
44675         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44676         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44677         (__CPU_ALLOC, __CPU_FREE): Add macros.
44678         (__sched_cpualloc, __sched_cpufree): Add declarations.
44679
44680 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44681
44682         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44683         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44684         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44685         (readdhstai): Return value of addhstaiX call.
44686         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44687         (addgrbyX): Return value returned by cache_addgr.
44688         (readdgrbyname): Return value returned by addgrbyX.
44689         (readdgrbygid): Likewise.
44690         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44691         (addpwbyX): Return value returned by cache_addpw.
44692         (readdpwbyname): Return value returned by addhstbyX.
44693         (readdpwbyuid): Likewise.
44694         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44695         (addservbyX): Return value returned by cache_addserv.
44696         (readdservbyname): Return value returned by addservbyX:
44697         (readdservbyport): Likewise.
44698         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44699         (addhstbyX): Return value returned by cache_addhst.
44700         (readdhstbyname): Return value returned by addhstbyX.
44701         (readdhstbyaddr): Likewise.
44702         (readdhstbynamev6): Likewise.
44703         (readdhstbyaddrv6): Likewise.
44704         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44705         (readdinitgroups): Return value returned by addinitgroupsX.
44706         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44707         (prune_cache): Keep track of timeout value of re-added entries.
44708         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44709         * nscd/nscd.h: Adjust prototypes of readd* functions.
44710
44711 2011-02-04  Roland McGrath  <roland@redhat.com>
44712
44713         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44714         (nis_stats): Likewise.
44715         * nis/nis_modify.c (nis_modify): Likewise.
44716         * nis/nis_remove.c (nis_remove): Likewise.
44717         * nis/nis_add.c (nis_add): Likewise.
44718
44719         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44720
44721         * posix/fnmatch_loop.c: Add some consts.
44722
44723         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44724
44725 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44726
44727         [BZ #12460]
44728         * config.make.in (config-cflags-novzeroupper): Define.
44729         * configure.in: Substitute libc_cv_cc_novzeroupper.
44730         * elf/Makefile (AVX-CFLAGS): Define.
44731         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44732         (CFLAGS-tst-auditmod4a.c): Likewise.
44733         (CFLAGS-tst-auditmod4b.c): Likewise.
44734         (CFLAGS-tst-auditmod6b.c): Likewise.
44735         (CFLAGS-tst-auditmod6c.c): Likewise.
44736         (CFLAGS-tst-auditmod7b.c): Likewise.
44737         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44738
44739 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44740
44741         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44742         function to the callback.
44743         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44744
44745 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44746
44747         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44748         of errno.
44749
44750 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44751
44752         [BZ #11724]
44753         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44754         of constructors.
44755         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44756         of destructors.
44757         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44758
44759         [BZ #11724]
44760         * elf/Makefile: Add rules to build and run new test.
44761         * elf/tst-initorder.c: New file.
44762         * elf/tst-initorder.exp: New file.
44763         * elf/tst-initordera1.c: New file.
44764         * elf/tst-initordera2.c: New file.
44765         * elf/tst-initordera3.c: New file.
44766         * elf/tst-initordera4.c: New file.
44767         * elf/tst-initorderb1.c: New file.
44768         * elf/tst-initorderb2.c: New file.
44769         * elf/tst-order-a1.c: New file.
44770         * elf/tst-order-a2.c: New file.
44771         * elf/tst-order-a3.c: New file.
44772         * elf/tst-order-a4.c: New file.
44773         * elf/tst-order-b1.c: New file.
44774         * elf/tst-order-b2.c: New file.
44775         * elf/tst-order-main.c: New file.
44776         New test case by George Gensure <werkt0@gmail.com>.
44777
44778 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44779
44780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44781         decoding ACE if AI_CANONIDN.
44782
44783 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44784
44785         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44786
44787 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44788
44789         * version.h (RELEASE): Bump for 2.13 release.
44790         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44791
44792         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44793
44794         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44795         MADV_NOHUGEPAGE.
44796         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44797         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44798         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44799         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44800         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44801         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44802
44803         * posix/getconf.c: Update copyright year.
44804         * catgets/gencat.c: Likewise.
44805         * csu/version.c: Likewise.
44806         * debug/catchsegv.sh: Likewise.
44807         * debug/xtrace.sh: Likewise.
44808         * elf/ldconfig.c: Likewise.
44809         * elf/ldd.bash.in: Likewise.
44810         * elf/sprof.c (print_version): Likewise.
44811         * iconv/iconv_prog.c: Likewise.
44812         * iconv/iconvconfig.c: Likewise.
44813         * locale/programs/locale.c: Likewise.
44814         * locale/programs/localedef.c: Likewise.
44815         * malloc/memusage.sh: Likewise.
44816         * malloc/mtrace.pl: Likewise.
44817         * nscd/nscd.c (print_version): Likewise.
44818         * nss/getent.c: Likewise.
44819
44820         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44821         PF_CAIF, and PF_ALG.
44822         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44823
44824 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44825
44826         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44827         (modules-names): Use them.
44828         (ifunc-test-modules, ifunc-pie-tests): Define.
44829         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44830         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44831         (test-extras): Likewise.
44832         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44833         $(compile-command.c).
44834         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44835         (all-built-dso): Define.
44836         (check-textrel.out, check-execstack.out): Depend on it.
44837
44838         * configure.in: Don't override --enable-multi-arch.
44839
44840 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44841
44842         [BZ #6812]
44843         * nscd/hstcache.c (tryagain): Define.
44844         (cache_addhst): Return tryagain not notfound for temporary errors.
44845         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44846         failed.
44847
44848 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44849
44850         [BZ #10563]
44851         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44852         to make the syscall.
44853         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44854
44855         [BZ #12378]
44856         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44857         and fall back to matching as normal character if the string ends before
44858         the matching ']' is found.  This is what POSIX requires.
44859         * posix/testfnm.c: Adjust test result.
44860         * posix/globtest.sh: Adjust test result.  Add new test.
44861         * posix/tst-fnmatch.input: Likewise.
44862         * posix/tst-fnmatch2.c: Add new test.
44863
44864 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44865
44866         * elf/Makefile (check-execstack): Revert last change.  Depend on
44867         check-execstack.h.
44868         (check-execstack.h): New target.
44869         (generated): Add check-execstack.h.
44870         * elf/check-execstack.c: Include "check-execstack.h".
44871         (main): Revert last change.
44872         (handle_file): Return zero if GNU_STACK is absent and
44873         DEFAULT_STACK_PERMS doesn't include PF_X.
44874
44875 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44876
44877         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44878         in child fails because the descriptor is already closed.
44879         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44880         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44881         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44882
44883         [BZ #12397]
44884         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44885         syscall.
44886
44887         [BZ #10484]
44888         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44889         temporary buffer used to handle multi lookups locally.
44890         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44891
44892 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44893
44894         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44895         loader is ld.so.
44896
44897 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44898
44899         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44900         alignment for SSE2.
44901
44902 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44903
44904         [BZ #12394]
44905         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44906         characters.  When rounding increased number of integer digits recompute
44907         number of groups.
44908         * stdio-common/tst-grouping.c: New file.
44909         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44910
44911 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44912
44913         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44914         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44915
44916         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44917         void.
44918         * bits/select.h: Likewise.
44919
44920 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44921
44922         * po/ja.po: Update from translation team.
44923
44924 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44925
44926         [BZ #11155]
44927         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44928         implementation just like for lxstat, fxstatat, et al.
44929
44930 2010-12-27  Jim Meyering  <meyering@redhat.com>
44931
44932         [BZ #12348]
44933         * posix/regexec.c (build_trtable): Return failure indication upon
44934         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44935
44936 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44937
44938         [BZ #12201]
44939         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44940         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44941         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44942         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44943
44944         [BZ #12207]
44945         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44946
44947         [BZ #12204]
44948         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44949         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44950
44951 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44952
44953         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44954         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44955         script has SORT_BY_INIT_PRIORITY.
44956         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44957         NO_CTORS_DTORS_SECTIONS is defined.
44958         * elf/soinit.c: Likewise.
44959         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44960         NO_CTORS_DTORS_SECTIONS is defined.
44961         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44962         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44963         * sysdeps/sh/init-first.c: Likewise.
44964         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44965
44966 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44967
44968         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44969         always use the slow path.
44970
44971 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44972
44973         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44974         similar rule which adds the sysdep directories to the header search in
44975         order to pick up the correct platform stackinfo.h.
44976         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44977         perform test if it is, otherwise return successfully without testing.
44978         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44979         DEFAULT_STACK_PERMS define in stackinfo.h.
44980         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44981         defined in stackinfo.h.
44982         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44983         DEFAULT_STACK_PERMS defined in stackinfo.h.
44984         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44985         * sysdeps/ia64/stackinfo.h: Likewise.
44986         * sysdeps/s390/stackinfo.h: Likewise.
44987         * sysdeps/sh/stackinfo.h: Likewise.
44988         * sysdeps/sparc/stackinfo.h: Likewise.
44989         * sysdeps/x86_64/stackinfo.h: Likewise.
44990         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44991         PF_X for powerpc64.  Retain PF_X for powerpc32.
44992
44993 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44994
44995         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44996         accurately.
44997         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44998         GETDENTS_64BIT_ALIGNED.
44999
45000 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45001
45002         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45003
45004 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45005
45006         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45007         _GNU_SOURCE.
45008
45009         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45010         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45011         Remove __restrict.
45012         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45013         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45014
45015 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45016
45017         [BZ #11655]
45018         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45019         are initialized.
45020
45021 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45022
45023         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45024
45025 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45026
45027         * po/it.po: Update from translation team.
45028
45029 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45030
45031         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45032         unused codes.
45033
45034 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45035
45036         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45037
45038 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45039
45040         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45041         specially.
45042         (gaih_getanswer_slice): Likewise.
45043
45044 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45045
45046         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45047
45048 2010-05-31  Petr Baudis  <pasky@suse.cz>
45049
45050         [BZ #11149]
45051         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45052         silently even in the chroot mode.
45053
45054 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45055
45056         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45057         last patch a bit.  Pretty printing
45058
45059 2010-05-31  Petr Baudis <pasky@suse.cz>
45060
45061         [BZ #10085]
45062         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45063         initialization of skip_initgroups_dyn.
45064
45065 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45066
45067         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45068         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45069
45070 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45071
45072         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45073
45074 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45075
45076         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45077         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45078         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45079         ($(objpfx)tst-fnmatch-mem): New rule.
45080         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45081         * posix/tst-fnmatch.c (main): Call mtrace.
45082
45083 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45084
45085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45086         Support Intel processor model 6 and model 0x2c.
45087
45088 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45089
45090         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45091           signed comparison.
45092
45093 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45094
45095         [BZ #12205]
45096         * string/test-strncasecmp.c (check_result): New function.
45097         (do_one_test): Use it.
45098         (check1): New function.
45099         (test_main): Use it.
45100         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45101         Support strcasecmp and strncasecmp.
45102
45103 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45104
45105         [BZ #12194]
45106         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45107         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45108
45109 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45110
45111         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45112         IFUNC support.
45113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45114         memset-x86-64.
45115         * sysdeps/x86_64/multiarch/bzero.S: New file.
45116         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45117         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45118         * sysdeps/x86_64/multiarch/memset.S: New file.
45119         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45121         Set bit_Prefer_SSE_for_memop for Intel processors.
45122         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45123         Define.
45124         (index_Prefer_SSE_for_memop): Define.
45125         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45126
45127 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45128
45129         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45130         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45131
45132 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45133
45134         [BZ #12191]
45135         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45136         (__x86_64_raw_data_cache_size_half): Likewise.
45137         (__x86_64_raw_shared_cache_size): Likewise.
45138         (__x86_64_raw_shared_cache_size_half): Likewise.
45139
45140         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45141         (__x86_64_raw_data_cache_size_half): Likewise.
45142         (__x86_64_raw_shared_cache_size): Likewise.
45143         (__x86_64_raw_shared_cache_size_half): Likewise.
45144         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45145         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45146         and __x86_64_raw_shared_cache_size_half.  Round
45147         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45148         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45149         to multiple of 256 bytes.
45150
45151 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45152
45153         [BZ #12167]
45154         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45155         of inacessible symlinks.  Verify result of symlink before returning it.
45156         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45157         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45158
45159 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45160
45161         * math/math.h (isinf): Fix typo in comment.
45162
45163 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45164
45165         * po/da.po: Update from translation team.
45166
45167 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45168
45169         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45170         is added to the list.
45171
45172 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45173             Ulrich Drepper  <drepper@gmail.com>
45174
45175         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45176         the global list here.  Move code to...
45177         (_dl_add_to_namespace_list): ...here.  New function.
45178         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45179         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45180         * elf/dl-load.c (lose): Don't remove the element from the list.
45181         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45182         (_dl_map_object): Likewise.
45183
45184 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45185
45186         [BZ #12159]
45187         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45188         into all bytes of SSE register.
45189         Patch by Richard Li <richardpku@gmail.com>.
45190
45191 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45192
45193         [BZ #12140]
45194         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45195         perturbing.
45196
45197 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45198
45199         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45200         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45201         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45202         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45204         submachine.
45205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45206
45207 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45208
45209         * include/dlfcn.h (__RTLD_SECURE): Define.
45210         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45211         mode & __RTLD_SECURE instead.
45212         (open_path): Rename preloaded parameter to secure.
45213         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45214         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45215         * elf/dl-deps.c (openaux): Likewise.
45216         * elf/rtld.c (struct map_args): Remove is_preloaded.
45217         (map_doit): Don't use it.
45218         (dl_main): Likewise.
45219         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45220         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45221
45222 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45223
45224         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45225         (sysd-rules-targets): Remove duplicates.
45226         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45227         rtld-%.$o dependency.
45228
45229 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45230
45231         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45232         _dl_map_object do it.
45233
45234 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45235
45236         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45237         fast fma builtins, define the macros in the C99 standard.
45238         (FP_FAST_FMAF): Likewise.
45239         (FP_FAST_FMAL): Likewise.
45240         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45241
45242         * bits/mathdef.h: Update copyright year.
45243         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45244
45245 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45246
45247         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45248         builtins, define the macros in the C99 standard.
45249         (FP_FAST_FMAF): Likewise.
45250         (FP_FAST_FMAL): Likewise.
45251         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45252         multiply/add.
45253         (FP_FAST_FMAF): Likewise.
45254
45255 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45256
45257         [BZ #3268]
45258         * math/libm-test.inc (fma_test): Some new testcases.
45259         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45260         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45261         y and infinite z.  Do multiplication by C already in long double.
45262         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45264         y and infinite z.  Do bitwise or of inexact bit into u.d.
45265         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45266         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45267         * sysdeps/i386/fpu/s_fma.S: Removed.
45268         * sysdeps/i386/fpu/s_fmal.S: Removed.
45269
45270 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45271
45272         [BZ #3268]
45273         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45275         computation is not scheduled after fetestexcept.  Fix value
45276         of minimum denormal long double.
45277
45278 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45279
45280         [BZ #3268]
45281         * math/libm-test.inc (fma_test): Add some more tests.
45282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45283         correctly.
45284
45285 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45286
45287         * scripts/data/localplt-s390-linux-gnu.data: New file.
45288         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45289
45290 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45291
45292         [BZ #3268]
45293         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45294         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45295         instead of dbl-64.
45296         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45297         inlines.
45298         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45299         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45300         if one of x and y is very large and the other is subnormal.
45301         * sysdeps/s390/fpu/s_fmaf.c: New file.
45302         * sysdeps/s390/fpu/s_fma.c: New file.
45303         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45304         * sysdeps/powerpc/fpu/s_fma.S: New file.
45305         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45306         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45307         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45308
45309 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45310
45311         [BZ #3268]
45312         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45313         fma tests.
45314         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45315         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45316         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45317         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45318         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45319         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45320         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45321
45322 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45323
45324         [BZ #12078]
45325         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45326         * posix/bug-regex31.input: Add test case.
45327
45328 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45329
45330         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45331         * posix/bug-regex31.input: New file.
45332
45333         [BZ #12078]
45334         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45335         (parse_sub_exp): Fix last change, use postorder.
45336
45337         * posix/bug-regex31.c: New file.
45338         * posix/Makefile: Add rules to build and run bug-regex31.
45339
45340         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45341
45342         [BZ #12078]
45343         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45344
45345         [BZ #12108]
45346         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45347         to have entries in sys_siglist.
45348
45349         [BZ #12093]
45350         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45351         be NULL.
45352
45353 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45354
45355         [BZ #3268]
45356         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45357         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45358         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45359         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45360         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45361         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45362         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45363         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45364         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45365         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45366         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45367         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45368         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45369         * math/ftestexcept.c (fetestexcept): Likewise.
45370         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45371         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45372         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45373         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45374         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45375         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45376         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45377
45378 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45379
45380         [BZ #12107]
45381         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45382         newline.
45383
45384 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45385
45386         * string/bug-strstr1.c: New file.
45387         * string/Makefile: Add rules to build and run bug-strstr1.
45388
45389 2010-10-05  Eric Blake  <eblake@redhat.com>
45390
45391         [BZ #12092]
45392         * string/str-two-way.h (two_way_long_needle): Always clear memory
45393         when skipping input due to the shift table.
45394
45395 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45396
45397         [BZ #12005]
45398         * malloc/mcheck.c: Handle large requests.
45399
45400         [BZ #12077]
45401         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45402         for strncmp and strncasecmp.
45403         * string/stratcliff.c: Add tests for strcmp and strncmp.
45404         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45405
45406 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45407
45408         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45409         __set_fpscr.
45410
45411 2010-09-30  Andreas Jaeger  <aj@suse.de>
45412
45413         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45414         (CGROUP_SUPER_MAGIC): Define.
45415         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45416         Handle btrfs and cgroup file systems.
45417         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45418         Likewise.
45419
45420 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45421
45422         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45423         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45424
45425 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45426
45427         [BZ #12067]
45428         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45429         trying to locate the ELF header.
45430
45431 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45432
45433         [BZ #11611]
45434         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45435         Mask out sign-bit copies when constructing f_fsid.
45436
45437 2010-09-24  Petr Baudis <pasky@suse.cz>
45438
45439         * debug/stack_chk_fail_local.c: Add missing licence exception.
45440         * debug/warning-nop.c: Likewise.
45441
45442 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45443
45444         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45445         implementing getdents64 using getdents syscall, set d_type if
45446         __ASSUME_GETDENTS32_D_TYPE.
45447
45448 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45449
45450         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45451         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45452
45453 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45454
45455         [BZ #12037]
45456         * posix/unistd.h: Undo change of feature selection for ftruncate from
45457         2010-01-11.
45458
45459 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45460
45461         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45462         detection.
45463
45464 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45465
45466         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45467         fanotify_mark.
45468         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45469
45470 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45471
45472         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45473         variables after CHECK_SP call.
45474         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45475
45476 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45477             Ulrich Drepper  <drepper@redhat.com>
45478
45479         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45480         re-relocationg ld.so.
45481         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45482         _dl_init_paths call.
45483         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45484         here anymore.
45485
45486 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45487
45488         * resolv/res_init.c (__res_vinit): Count the default server we added.
45489
45490 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45491             Ulrich Drepper  <drepper@redhat.com>
45492
45493         [BZ #11968]
45494         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45495         (____longjmp_chk): Use %ebx for saving value across system call.
45496         Add unwind info.
45497
45498 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45499
45500         * manual/Makefile: Don't mix pattern rules with normal rules.
45501
45502 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45503
45504         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45505         operation.
45506         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45507         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45508         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45509         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45510         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45511         Likewise.
45512
45513 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45514
45515         [BZ #11979]
45516         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45517         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45518
45519 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45520
45521         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45522         * sysdeps/x86_64/addmul_1.S: Likewise.
45523         * sysdeps/x86_64/lshift.S: Likewise.
45524         * sysdeps/x86_64/mul_1.S: Likewise.
45525         * sysdeps/x86_64/rshift.S: Likewise.
45526         * sysdeps/x86_64/sub_n.S: Likewise.
45527         * sysdeps/x86_64/submul_1.S: Likewise.
45528
45529 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45530
45531         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45532         Define __sched_param instead of SCHED_* and sched_param when
45533         <bits/sched.h> is included with __need_schedparam defined.
45534         * bits/sched.h [__need_schedparam]
45535         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45536         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45537         (__defined_schedparam): Define to 1.
45538         (__sched_param): New structure, identical to sched_param.
45539         (__need_schedparam): Undefine.
45540
45541 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45542
45543         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45544         (epoll_create1): Declare.
45545
45546         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45547
45548 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45549
45550         [BZ #7066]
45551         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45552         shifting retval into place.
45553
45554 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45555
45556         * nis/rpcsvc/nis.h: Update copyright notice.
45557         * nis/rpcsvc/nis.x: Likewise.
45558         * nis/rpcsvc/nis_callback.h: Likewise.
45559         * nis/rpcsvc/nis_callback.x: Likewise.
45560         * nis/rpcsvc/nis_object.x: Likewise.
45561         * nis/rpcsvc/nis_tags.h: Likewise.
45562         * nis/rpcsvc/yp.h: Likewise.
45563         * nis/rpcsvc/yp.x: Likewise.
45564         * nis/rpcsvc/ypupd.h: Likewise.
45565         * nis/yp_xdr.c: Likewise.
45566         * nis/ypupdate_xdr.c: Likewise.
45567
45568         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45569         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45570         (pmap_getport): Use __libc_rpc_getport.
45571         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45572         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45573         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45574
45575 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45576
45577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45578         fanotify_mark.
45579
45580 2010-08-27  Roland McGrath  <roland@redhat.com>
45581
45582         * sysdeps/i386/i686/multiarch/Makefile
45583         (CFLAGS-varshift.c): New variable.
45584
45585 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45586
45587         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45588         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45589
45590         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45591
45592         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45593
45594 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45595
45596         * sysdeps/x86_64/strlen.S: Unroll the loop.
45597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45598         strlen-sse2 strlen-sse2-bsf.
45599         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45600         __strlen_no_bsf if bit_Slow_BSF is set.
45601         (__strlen_sse42): Removed.
45602         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45603         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45604
45605 2010-08-25  Roland McGrath  <roland@redhat.com>
45606
45607         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45608         * sysdeps/x86_64/multiarch/varshift.c: New file.
45609         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45610         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45611         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45612         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45613
45614 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45615
45616         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45617         strlen-sse2 strlen-sse2-bsf.
45618         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45619         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45620         (__strlen_sse2): Removed.
45621         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45622         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45624         bit_Slow_BSF for Atom.
45625         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45626         (index_Slow_BSF): Define.
45627         (HAS_SLOW_BSF): Define.
45628
45629 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45630
45631         [BZ #10851]
45632         * resolv/res_init.c (__res_vinit): When no server address at all
45633         is given default to loopback.
45634
45635 2010-08-24  Roland McGrath  <roland@redhat.com>
45636
45637         * configure.in: Remove config-name.h generation.
45638         * configure: Regenerated.
45639         * config-name.in: File removed.
45640         * scripts/config-uname.sh: New file.
45641         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45642         ($(objdir)config-name.h): New target.
45643
45644         * sunrpc/rpc_parse.h: Avoid nested comment.
45645
45646 2010-08-24  Richard Henderson  <rth@redhat.com>
45647             Ulrich Drepper  <drepper@redhat.com>
45648             H.J. Lu  <hongjiu.lu@intel.com>
45649
45650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45651         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45652         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45653         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45654         _mm_alignr_epi8 with _mm_loadu_si128.
45655         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45656         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45657         (__m128i_shift_right): Removed.
45658         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45659         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45660         * sysdeps/x86_64/multiarch/varshift.h: New file.
45661         * sysdeps/x86_64/multiarch/varshift.S: New file.
45662
45663 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45664
45665         * configure.in: Move assembler checks to before sysdep dir checking.
45666
45667 2010-08-20  Petr Baudis  <pasky@suse.cz>
45668
45669         * LICENSES: Sync the sunrpc license.
45670
45671 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45672
45673         * sunrpc/auth_des.c: Update copyright notice once again.
45674         * sunrpc/auth_none.c: Likewise.
45675         * sunrpc/auth_unix.c: Likewise.
45676         * sunrpc/authdes_prot.c: Likewise.
45677         * sunrpc/authuxprot.c: Likewise.
45678         * sunrpc/bindrsvprt.c: Likewise.
45679         * sunrpc/clnt_gen.c: Likewise.
45680         * sunrpc/clnt_perr.c: Likewise.
45681         * sunrpc/clnt_raw.c: Likewise.
45682         * sunrpc/clnt_simp.c: Likewise.
45683         * sunrpc/clnt_tcp.c: Likewise.
45684         * sunrpc/clnt_udp.c: Likewise.
45685         * sunrpc/clnt_unix.c: Likewise.
45686         * sunrpc/des_crypt.c: Likewise.
45687         * sunrpc/des_soft.c: Likewise.
45688         * sunrpc/get_myaddr.c: Likewise.
45689         * sunrpc/getrpcport.c: Likewise.
45690         * sunrpc/key_call.c: Likewise.
45691         * sunrpc/key_prot.c: Likewise.
45692         * sunrpc/openchild.c: Likewise.
45693         * sunrpc/pm_getmaps.c: Likewise.
45694         * sunrpc/pm_getport.c: Likewise.
45695         * sunrpc/pmap_clnt.c: Likewise.
45696         * sunrpc/pmap_prot.c: Likewise.
45697         * sunrpc/pmap_prot2.c: Likewise.
45698         * sunrpc/pmap_rmt.c: Likewise.
45699         * sunrpc/rpc/auth.h: Likewise.
45700         * sunrpc/rpc/auth_unix.h: Likewise.
45701         * sunrpc/rpc/clnt.h: Likewise.
45702         * sunrpc/rpc/des_crypt.h: Likewise.
45703         * sunrpc/rpc/key_prot.h: Likewise.
45704         * sunrpc/rpc/netdb.h: Likewise.
45705         * sunrpc/rpc/pmap_clnt.h: Likewise.
45706         * sunrpc/rpc/pmap_prot.h: Likewise.
45707         * sunrpc/rpc/pmap_rmt.h: Likewise.
45708         * sunrpc/rpc/rpc.h: Likewise.
45709         * sunrpc/rpc/rpc_des.h: Likewise.
45710         * sunrpc/rpc/rpc_msg.h: Likewise.
45711         * sunrpc/rpc/svc.h: Likewise.
45712         * sunrpc/rpc/svc_auth.h: Likewise.
45713         * sunrpc/rpc/types.h: Likewise.
45714         * sunrpc/rpc/xdr.h: Likewise.
45715         * sunrpc/rpc_clntout.c: Likewise.
45716         * sunrpc/rpc_cmsg.c: Likewise.
45717         * sunrpc/rpc_common.c: Likewise.
45718         * sunrpc/rpc_cout.c: Likewise.
45719         * sunrpc/rpc_dtable.c: Likewise.
45720         * sunrpc/rpc_hout.c: Likewise.
45721         * sunrpc/rpc_main.c: Likewise.
45722         * sunrpc/rpc_parse.c: Likewise.
45723         * sunrpc/rpc_parse.h: Likewise.
45724         * sunrpc/rpc_prot.c: Likewise.
45725         * sunrpc/rpc_sample.c: Likewise.
45726         * sunrpc/rpc_scan.c: Likewise.
45727         * sunrpc/rpc_scan.h: Likewise.
45728         * sunrpc/rpc_svcout.c: Likewise.
45729         * sunrpc/rpc_tblout.c: Likewise.
45730         * sunrpc/rpc_util.c: Likewise.
45731         * sunrpc/rpc_util.h: Likewise.
45732         * sunrpc/rpcinfo.c: Likewise.
45733         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45734         * sunrpc/rpcsvc/key_prot.x: Likewise.
45735         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45736         * sunrpc/rpcsvc/mount.x: Likewise.
45737         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45738         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45739         * sunrpc/rpcsvc/rex.x: Likewise.
45740         * sunrpc/rpcsvc/rstat.x: Likewise.
45741         * sunrpc/rpcsvc/rusers.x: Likewise.
45742         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45743         * sunrpc/rpcsvc/spray.x: Likewise.
45744         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45745         * sunrpc/rtime.c: Likewise.
45746         * sunrpc/svc.c: Likewise.
45747         * sunrpc/svc_auth.c: Likewise.
45748         * sunrpc/svc_authux.c: Likewise.
45749         * sunrpc/svc_raw.c: Likewise.
45750         * sunrpc/svc_run.c: Likewise.
45751         * sunrpc/svc_simple.c: Likewise.
45752         * sunrpc/svc_tcp.c: Likewise.
45753         * sunrpc/svc_udp.c: Likewise.
45754         * sunrpc/svc_unix.c: Likewise.
45755         * sunrpc/svcauth_des.c: Likewise.
45756         * sunrpc/xcrypt.c: Likewise.
45757         * sunrpc/xdr.c: Likewise.
45758         * sunrpc/xdr_array.c: Likewise.
45759         * sunrpc/xdr_float.c: Likewise.
45760         * sunrpc/xdr_mem.c: Likewise.
45761         * sunrpc/xdr_rec.c: Likewise.
45762         * sunrpc/xdr_ref.c: Likewise.
45763         * sunrpc/xdr_sizeof.c: Likewise.
45764         * sunrpc/xdr_stdio.c: Likewise.
45765
45766         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45767         handling.
45768
45769 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45770
45771         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45772
45773 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45774
45775         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45776         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45777         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45778         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45779         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45780         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45781         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45782         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45783         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45784         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45785         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45786         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45787         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45788         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45789
45790 2010-07-26  Anton Blanchard  <anton@samba.org>
45791
45792         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45793         * malloc/arena.c (heap_trim): Likewise.
45794
45795 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45796
45797         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45798         here.  Not...
45799         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45800         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45801
45802 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45803
45804         * sysdeps/i386/elf/Makefile: New file.
45805
45806 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45807
45808         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45809         from fanotify_init.
45810         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45811         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45812
45813 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45814
45815         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45816         of strncasecmp_l.
45817         * sysdeps/multiarch/strcmp.S: Likewise.
45818
45819 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45820
45821         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45822         strncase_l-nonascii.
45823         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45824         Add strncase_l-ssse3.
45825         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45826         * sysdeps/x86_64/strcmp.S: Likewise.
45827         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45828         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45829         * sysdeps/x86_64/strncase.S: New file.
45830         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45831         * sysdeps/x86_64/strncase_l.S: New file.
45832         * string/Makefile (strop-tests): Add strncasecmp.
45833         * string/test-strncasecmp.c: New file.
45834
45835         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45836         warning.
45837
45838         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45839         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45840
45841 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45842
45843         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45844
45845 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45846
45847         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45848         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45849         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45850
45851 2010-05-01  Alan Modra  <amodra@gmail.com>
45852
45853         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45854         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45855         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45856         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45857         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45858         tidying.  Don't tail-call __sigjmp_save for static lib.
45859         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45860         save location.
45861         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45862         (CALL_MCOUNT): Add eh info, and nop after bl.
45863         (TAIL_CALL_SYSCALL_ERROR): New macro.
45864         (PSEUDO_RET): Use it.
45865         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45866         Correct save location of integer regs and cr.
45867         (_dl_profile_resolve): Correct cr save location.  Delete nops
45868         after bl when SHARED.  Reduce cfi size a little by better
45869         placement of cfi directives.
45870         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45871         make a stack frame.  Instead use parm save area as a temp.
45872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45873         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45875         Don't make a stack frame for parent, use parm save area.
45876         Increase child stack frame to 112 bytes.  Don't save unused reg,
45877         and adjust reg usage.  Set up cfi on error recovery and
45878         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45880         (__makecontext): Add dummy nop after jump to exit.
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45882         Use correct parm save area and cr save, reduce stack frame.
45883         Correct cfi for possible PSEUDO_RET frame setup.
45884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45885         Branch to local label emitted by PSEUDO_RET rather than
45886         __syscall_error.
45887
45888 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45889
45890         [BZ #11904]
45891         * locale/programs/locale.c (print_assignment): New function.
45892         (show_locale_vars): Use it.
45893
45894 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45895
45896         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45897         field.
45898         (struct statfs64): Likewise.
45899         (_STATFS_F_FLAGS): Define.
45900         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45901         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45902         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45903         (ST_VALID): Define locally.
45904         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45905         __statvfs_getflags, use the provided value.
45906         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45907         __ASSUME_STATFS_F_FLAGS.
45908
45909         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45910
45911         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45912         Add sys/fanotify.h.
45913         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45914         fanotify_mask for GLIBC_2.13.
45915         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45916         fanotify_init and fanotify_mark.
45917         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45918         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45919
45920         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45921         Add prlimit.
45922         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45923         prlimit64 for GLIBC_2.13.
45924         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45925         prlimit64.
45926         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45927         syscall.
45928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45929         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45930         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45931         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45932         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45933         add prlimit alias.
45934         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45935
45936         [BZ #11903]
45937         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45938         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45939
45940         * nss/Makefile: Add rules to build and run tst-nss-test1.
45941         * shlib-versions: Add entry for libnss_test1.
45942         * nss/nss_test1.c: New file.
45943         * nss/tst-nss-test1.c: New file.
45944
45945         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45946         (__nss_configure_lookup): Set appropriate entry in
45947         __nss_configure_lookup to true.
45948         * nss/nsswitch.h: Define enum with indeces of databases in
45949         databases and __nss_database_custom arrays.  Declare
45950         __nss_database_custom.
45951         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45952         to avoid using nscd when custom rules are installed.
45953         * nss/getXXbyYY_r.c: Likewise.
45954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45955
45956         * nss/nss_files/files-parse.c: Whitespace fixes.
45957
45958 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45959
45960         [BZ #11883]
45961         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45962         * posix/fnmatch_loop.c: Likewise.
45963
45964 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45965
45966         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45967         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45968         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45969         * Versions.def [GLIBC_2.13]: Add.
45970
45971 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45972
45973         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45974         Also fail if tpwd after pwuid call is NULL.
45975
45976 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45977
45978         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45979         when converting to ms.
45980
45981 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45982
45983         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45984         EOPNOTSUPP errors with ENOTTY.
45985         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45986         EOPNOTSUPP errors with ENOTTY.
45987
45988 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45989
45990         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45991         Add strcasecmp_l-ssse3.
45992         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45993         strcasecmp.
45994         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45995         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45996         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45997
45998 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45999
46000         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46001
46002         * string/Makefile (strop-tests): Add strcasecmp.
46003         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46004         strcasecmp_l-nonascii.
46005         (gen-as-const-headers): Add locale-defines.sym.
46006         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46007         * sysdeps/x86_64/strcasecmp.S: New file.
46008         * sysdeps/x86_64/strcasecmp_l.S: New file.
46009         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46010         * sysdeps/x86_64/locale-defines.sym: New file.
46011         * string/test-strcasecmp.c: New file.
46012
46013         * string/test-strcasestr.c: Test both ends of the range of characters.
46014         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46015
46016 2010-07-29  Roland McGrath  <roland@redhat.com>
46017
46018         [BZ #11856]
46019         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46020
46021 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46022
46023         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46024         for ld.so.
46025
46026 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46027
46028         * manual/memory.texi (Malloc Tunable Parameters): Document
46029         M_PERTURB.
46030
46031 2010-07-26  Roland McGrath  <roland@redhat.com>
46032
46033         [BZ #11840]
46034         * configure.in (-fgnu89-inline check): Set and substitute
46035         gnu89_inline, not libc_cv_gnu89_inline.
46036         * configure: Regenerated.
46037         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46038
46039 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46040
46041         * string/test-strnlen.c: New file.
46042         * string/Makefile (strop-tests): Add strnlen.
46043         * string/tester.c (test_strnlen): Add a few more test cases.
46044         * string/tst-strlen.c: Better error reporting.
46045
46046         * sysdeps/x86_64/strnlen.S: New file.
46047
46048 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46049
46050         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46051         lower-latency instructions.
46052
46053 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46054
46055         * string/test-strcasestr.c: New file.
46056         * string/test-strstr.c: New file.
46057         * string/Makefile (strop-tests): Add strstr and strcasestr.
46058         * string/str-two-way.h: Don't undefine MAX.
46059         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46060
46061 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46062
46063         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46064         strcasestr-nonascii.
46065         (CFLAGS-strcasestr-nonascii.c): Define.
46066         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46067         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46068         Remove unused attribute.
46069
46070 2010-07-20  Roland McGrath  <roland@redhat.com>
46071
46072         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46073         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46074         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46075         like LD_HWCAP_MASK can disable hwcaps.
46076
46077 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46078
46079         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46080
46081 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46082
46083         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46084         call in strcasestr.
46085         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46086         __strcasestr_sse42_nonascii.
46087         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46088         strcasestr-nonascii.c.
46089         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46090
46091 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46092
46093         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46094         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46095         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46096         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46097
46098 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46099
46100         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46101         fcntl.
46102
46103 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46104
46105         [BZ #11577]
46106         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46107         dl_signal_cerror.
46108
46109 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46110
46111         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46112         _PC_PIPE_BUF using F_GETPIPE_SZ.
46113
46114 2010-07-05  Roland McGrath  <roland@redhat.com>
46115
46116         * manual/arith.texi (Rounding Functions): Fix rint description
46117         implicit in round description.
46118
46119 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46120
46121         * elf/Makefile: Fix linking for a few tests to make recent linker
46122         happy.
46123
46124 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46125
46126         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46127         $(common-objpfx)libc_nonshared.a.
46128
46129 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46130
46131         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46132         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46133         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46134         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46135         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46136         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46137         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46138         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46153         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46154         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46155         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46156         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46157         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46158         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46159         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46160         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46161         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46162         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46163         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46164         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46179
46180 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46181
46182         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46183         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46184         * string/memmove.c (memmove): Renamed to ...
46185         (MEMMOVE): ...this.  Default to memmove.
46186         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46187         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46188         (END_CHK): Define.
46189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46190         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46191         mempcpy-ssse3-back memmove-ssse3-back.
46192         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46193         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46194         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46195         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46196         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46197         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46198         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46199         * sysdeps/x86_64/multiarch/memmove.c: New file.
46200         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46201         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46202         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46203         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46204         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46205         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46206         Define.
46207         (index_Fast_Copy_Backward): Define.
46208         (HAS_ARCH_FEATURE): Define.
46209         (HAS_FAST_REP_STRING): Define.
46210         (HAS_FAST_COPY_BACKWARD): Define.
46211
46212 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46213
46214         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46215         Restore proper fallback handling.
46216
46217 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46218
46219         [BZ #11701]
46220         * posix/group_member.c (__group_member): Correct checking loop.
46221
46222         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46223         OOM in getpwuid_r correctly.  Return error number when the caller
46224         should return, otherwise -1.
46225         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46226         call returning > 0 value.
46227         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46228
46229 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46230
46231         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46232         libc_nonshared.a from targets in modules-names.
46233
46234 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46235
46236         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46237         requires it.
46238
46239 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46240
46241         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46242         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46243         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46244         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46245
46246 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46247
46248         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46249
46250 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46251
46252         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46253         and F_GETPIPE_SZ.
46254         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46255         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46256         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46257         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46258         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46259         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46260
46261 2010-06-14  Roland McGrath  <roland@redhat.com>
46262
46263         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46264
46265 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46266
46267         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46268         __REDIRECT followed by __THROW.
46269         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46270         * posix/getopt.h (getopt): Likewise.
46271
46272 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46273
46274         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46275         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46276         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46277         in AT_FLAGS.
46278         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46279         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46280
46281 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46282
46283         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46284
46285 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46286
46287         [BZ #11640]
46288         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46289         Properly check family and model.
46290
46291 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46292
46293         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46294
46295 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46296
46297         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46298
46299 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46300
46301         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46302         symbol reference.
46303
46304 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46305
46306         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46307         symbol reference.
46308
46309 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46310
46311         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46312         and internal_recvmmsg.
46313         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46314         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46315         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46316         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46317
46318         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46319         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46320         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46321
46322 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46323
46324         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46325
46326 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46327
46328         POWER7 optimizations.
46329         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46330         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46331
46332 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46333
46334         * version.h: Update for 2.13 development version.
46335
46336 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46337
46338         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46339         exceptions.  Return 0.
46340
46341 2010-05-07  Roland McGrath  <roland@redhat.com>
46342
46343         * elf/ldconfig.c (main): Add a const.
46344
46345 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46346
46347         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46348         (args_options): Add no-idn option.
46349         (ahosts_keys_int): Add idn_flags to ai_flags.
46350         (parse_option): Handle 'i' option to clear idn_flags.
46351
46352         * malloc/malloc.c (_int_free): Possible race in the most recently
46353         added check.  Only act on the data if no current modification
46354         happened.
46355
46356 See ChangeLog.17 for earlier changes.