Pass $TIMEOUTFACTOR to tests also in cross testing
[glibc.git] / ChangeLog
blob2eba950a42d6a5c6e3d01ebcb64ab15f8c42a120
1 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4         $TIMEOUTFACTOR.
6 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8         [BZ #17058]
9         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10         non-executed part of the test.
12 2014-06-16  Andreas Schwab  <schwab@suse.de>
14         * string/bits/string2.h (strdup, strndup): Update feature guard.
16 2014-06-14  David S. Miller  <davem@davemloft.net>
18         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
23         that was previously under [RESET_PID].
24         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30         (__libc_vfork): New strong alias.
31         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35         * sysdeps/generic/elide.h: New file.
37 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39         * Makefile (installed-headers): Adjust path of pthread.h header.
41 2014-06-13  Roland McGrath  <roland@hack.frob.com>
43         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
45         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
46         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48         * nptl/sysdeps/s390/Makefile: Moved ...
49         * sysdeps/s390/nptl/Makefile: ... here.
50         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
51         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
52         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
53         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
54         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
55         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
56         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
57         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
58         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
59         * sysdeps/s390/nptl/pthreaddef.h: ... here.
60         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
61         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
62         * nptl/sysdeps/s390/tls.h: Moved ...
63         * sysdeps/s390/nptl/tls.h: ... here.
65         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
66         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
68 2014-06-13  David S. Miller  <davem@davemloft.net>
70         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
71         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
72         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
73         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
74         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
75         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
76         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
77         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
78         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
79         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
80         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
81         Remove RESET_PID cpp guards.
82         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
83         Remove RESET_PID cpp guards.
84         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
86 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
88         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
89         __sp to uintptr_t.
91 2014-06-13  Andi Kleen  <ak@linux.intel.com>
93         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
94         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
95         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
96         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
97         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
98         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
99         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
100         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
101         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
102         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
103         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
104         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
105         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
106         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
107         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
108         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
109         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
110         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
111         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
112         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
114 2014-06-13  Andi Kleen  <ak@linux.intel.com>
116         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
117         (pthread_rwlock_rdlock): Add elision.
118         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
119         (pthread_rwlock_wrlock): Add elision.
120         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
121         (pthread_rwlock_trywrlock): Add elision.
122         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
123         (pthread_rwlock_tryrdlock): Add elision.
124         * nptl/pthread_rwlock_unlock.c: Include elide.h.
125         (pthread_rwlock_tryrdlock): Add elision unlock.
126         * nptl/sysdeps/pthread/pthread.h:
127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
128         (PTHREAD_RWLOCK_INITIALIZER,
129         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
130         Handle new elision field.
131         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
132         * sysdeps/arm/nptl/bits/pthreadtypes.h
133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
134         * sysdeps/sh/nptl/bits/pthreadtypes.h
135         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
136         * sysdeps/tile/nptl/bits/pthreadtypes.h
137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
138         * sysdeps/a/nptl/bits/pthreadtypes.h
139         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
140         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
142         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
144         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
145         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
146         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
148         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
149         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
150         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
151         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
152         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
153         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
154         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
155         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
156         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
157         (elision_init): Set try_xbegin to zero when no RTM.
158         * sysdeps/x86/nptl/bits/pthreadtypes.h
159         (pthread_rwlock_t): Change __pad1 to __rwelision.
160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
162 2014-06-13  Andi Kleen  <ak@linux.intel.com>
164         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
165         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
166         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
167         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
169 2014-06-13  Meador Inge  <meadori@codesourcery.com>
171         [BZ #16996]
172         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
173         that the cached result has been set before returning it.
175 2014-06-12  Roland McGrath  <roland@hack.frob.com>
177         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
178         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
179         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
180         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
181         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
182         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
184         * nptl/sysdeps/sparc/Makefile: Moved ...
185         * sysdeps/sparc/nptl/Makefile: ... here.
186         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
187         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
188         * nptl/sysdeps/sparc/tls.h: Moved ...
189         * sysdeps/sparc/nptl/tls.h: ... here.
190         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
191         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
192         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
193         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
194         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
195         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
196         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
197         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
198         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
199         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
200         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
201         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
202         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
203         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
204         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
205         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
206         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
208         Update #include.
209         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
211         Update #include.
212         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
214         Update #include.
215         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
216         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
217         Update #include.
219         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
221         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
222         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
224         * sysdeps/pthread/posix-timer.h: Include <list.h>.
225         (struct list_links): Type removed.
226         (struct thread_node, struct timer_node): Replace struct list_links
227         with struct list_head.
228         (list_unlink_ip): Likewise.
229         * sysdeps/pthread/timer_routines.c
230         (timer_free_list, thread_free_list, thread_active_list): Likewise.
231         (list_append, list_insbefore): Likewise.
232         (list_init): Function removed.
233         (thread_init, init_module): Use INIT_LIST_HEAD instead.
234         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
235         * sysdeps/pthread/Makefile: ... here, new file.
237         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
238         * sysdeps/nptl/Implies: ... here.
239         * sysdeps/unix/sysv/linux/Implies: Add nptl.
240         * nptl/sysdeps/pthread/list.h: Moved ...
241         * include/list.h: ... here.
242         * nptl/sysdeps/pthread/createthread.c: Moved ...
243         * nptl/createthread.c: ... here.
244         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
245         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
246         * nptl/pt-longjmp.c: ... here.
247         * nptl/sysdeps/pthread/Makefile: Moved ...
248         * sysdeps/nptl/Makefile: ... here.
249         * nptl/sysdeps/pthread/Subdirs: Moved ...
250         * sysdeps/nptl/Subdirs: ... here.
251         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
252         * sysdeps/nptl/aio_misc.h: ... here.
253         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
254         * sysdeps/nptl/bits/libc-lock.h: ... here.
255         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
256         * sysdeps/nptl/bits/libc-lockP.h: ... here.
257         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
258         * sysdeps/nptl/bits/stdio-lock.h: ... here.
259         * nptl/sysdeps/pthread/configure: Moved ...
260         * sysdeps/nptl/configure: ... here.
261         * nptl/sysdeps/pthread/configure.ac: Moved ...
262         * sysdeps/nptl/configure.ac: ... here.
263         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
264         * sysdeps/nptl/gai_misc.h: ... here.
265         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
266         * sysdeps/nptl/librt-cancellation.c: ... here.
267         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
268         * sysdeps/nptl/malloc-machine.h: ... here.
269         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
270         * sysdeps/nptl/pthread-functions.h: ... here.
271         * nptl/sysdeps/pthread/pthread.h: Moved ...
272         * sysdeps/nptl/pthread.h: ... here.
273         * nptl/sysdeps/pthread/setxid.h: Moved ...
274         * sysdeps/nptl/setxid.h: ... here.
275         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
276         * sysdeps/nptl/sigfillset.c: ... here.
277         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
278         * sysdeps/nptl/tcb-offsets.h: ... here.
279         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
280         * sysdeps/nptl/tst-mqueue8x.c: ... here.
281         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
282         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
283         * nptl/sysdeps/pthread/allocalim.h: Moved ...
284         * sysdeps/pthread/allocalim.h: ... here.
285         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
286         * sysdeps/pthread/bits/sigthread.h: ... here.
287         * nptl/sysdeps/pthread/flockfile.c: Moved ...
288         * sysdeps/pthread/flockfile.c: ... here.
289         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
290         * sysdeps/pthread/ftrylockfile.c: ... here.
291         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
292         * sysdeps/pthread/funlockfile.c: ... here.
293         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
294         * sysdeps/pthread/posix-timer.h: ... here.
295         * nptl/sysdeps/pthread/timer_create.c: Moved ...
296         * sysdeps/pthread/timer_create.c: ... here.
297         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
298         * sysdeps/pthread/timer_delete.c: ... here.
299         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
300         * sysdeps/pthread/timer_getoverr.c: ... here.
301         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
302         * sysdeps/pthread/timer_gettime.c: ... here.
303         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
304         * sysdeps/pthread/timer_routines.c: ... here.
305         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
306         * sysdeps/pthread/timer_settime.c: ... here.
307         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
308         * sysdeps/pthread/tst-timer.c: ... here.
309         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
310         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
312         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
313         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
315         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
316         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
317         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
318         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
319         Update #include target.
320         * nptl/sysdeps/i386/i686/Makefile: Moved ...
321         * sysdeps/i386/i686/nptl/Makefile: ... here.
322         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
323         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
324         Update #include target.
325         * nptl/sysdeps/i386/i686/tls.h: Moved ...
326         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
327         * nptl/sysdeps/i386/Makefile: Moved ...
328         * sysdeps/i386/nptl/Makefile: ... here.
329         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
330         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
331         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
332         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
333         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
334         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
335         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
336         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
337         * sysdeps/i386/nptl/pthreaddef.h: ... here.
338         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
339         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
340         * nptl/sysdeps/i386/tls.h: Moved ...
341         * sysdeps/i386/nptl/tls.h: ... here.
343         * sysdeps/sh/Makefile [$(subdir) = csu]
344         (gen-as-const-headers): Add tcb-offsets.sym.
345         * nptl/sysdeps/sh/Makefile: File removed.
346         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
347         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
348         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
349         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
350         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
351         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
352         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
353         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
354         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
355         * sysdeps/sh/nptl/pthreaddef.h: ... here.
356         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
357         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
358         * nptl/sysdeps/sh/tls.h: Moved ...
359         * sysdeps/sh/nptl/tls.h: ... here.
360         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
361         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
362         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
363         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
364         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
365         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
366         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
367         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
368         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
369         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
370         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
371         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
372         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
373         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
374         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
375         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
377         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
378         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
379         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
380         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
381         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
382         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
385         Moved ...
386         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
387         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
388         Moved ...
389         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
390         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
391         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
392         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
393         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
394         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
395         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
396         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
397         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
398         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
399         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
400         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
401         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
402         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
403         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
404         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
405         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
406         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
407         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
409 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
411         * posix/spawn_faction_addopen.c: Include string.h.
413 2014-06-11  Roland McGrath  <roland@hack.frob.com>
415         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
416         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
417         * nptl/sysdeps/x86_64/Makefile: Moved ...
418         * sysdeps/x86_64/nptl/Makefile: ... here.
419         * nptl/sysdeps/x86_64/configure: Moved ...
420         * sysdeps/x86_64/nptl/configure: ... here.
421         * nptl/sysdeps/x86_64/configure.ac: Moved ...
422         * sysdeps/x86_64/nptl/configure.ac: ... here.
423         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
424         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
425         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
426         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
427         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
428         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
429         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
430         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
431         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
432         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
433         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
434         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
435         * nptl/sysdeps/x86_64/tls.h: Moved ...
436         * sysdeps/x86_64/nptl/tls.h: ... here.
437         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
438         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
439         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
440         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
442         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
444 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
448 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
450         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
451         type.
452         [POSIX] (off_t): Likewise.
453         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
454         [POSIX] (S_ISBLK): Require macro.
455         [POSIX] (S_ISCHR): Likewise.
456         [POSIX] (S_ISDIR): Likewise.
457         [POSIX] (S_ISFIFO): Likewise.
458         [POSIX] (S_ISREG): Likewise.
459         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
460         optional-macro.
461         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
462         type.
463         [POSIX] (time_t): Likewise.
464         [POSIX] (timer_t): Likewise.
466 2014-06-11  Florian Weimer  <fweimer@redhat.com>
468         [BZ #17048]
469         * posix/spawn_int.h (struct __spawn_action): Make the path string
470         non-const to support deallocation.
471         * posix/spawn_faction_addopen.c
472         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
473         * posix/spawn_faction_destroy.c
474         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
475         path in all spawn_do_open actions.
476         * posix/tst-spawn.c (do_test): Exercise the copy operation in
477         posix_spawn_file_actions_addopen.
479 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
481         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
482         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
483         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
484         conditional code always true.
485         (__libc_vfork): New alias.
487 2014-06-11  Roland McGrath  <roland@hack.frob.com>
489         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
490         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
492         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
494         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
495         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
497         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
498         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
500         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
501         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
503 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
505         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
506         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
507         multiarch strcmp for PPC64.
508         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
509         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
511         multiarch optimizations.
512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
513         (__libc_ifunc_impl_list): Likewise.
515 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
517         * benchtests/scripts/validate_benchout.py: New script.
518         * benchtests/Makefile (bench-func): Call it.
519         * benchtests/scripts/benchout.schema.json: New file.
521 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
523         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
524         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
525         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
526         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
527         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
528         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
529         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
530         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
531         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
532         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
533         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
534         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
535         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
536         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
537         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
538         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
540         Moved ...
541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
542         ... here.
543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
544         Moved ...
545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
547         Moved ...
548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
549         ... here.
550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
551         Moved ...
552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
553         ... here.
554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
555         Moved ...
556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
558         Moved ...
559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
560         ... here.
561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
562         Moved ...
563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
564         ... here.
565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
566         Moved ...
567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
569         Moved ...
570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
571         ... here.
572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
573         Moved ...
574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
575         ... here.
576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
577         Moved ...
578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
579         ... here.
580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
581         Moved ...
582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
584         Moved ...
585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
586         ... here.
587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
588         Moved ...
589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
590         ... here.
591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
592         Moved ...
593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
594         ... here.
595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
596         Moved ...
597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
599         Moved ...
600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
601         ... here.
602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
603         Moved ...
604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
605         ... here.
606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
607         Moved ...
608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
610         Moved ...
611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
612         ... here.
613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
614         Moved ...
615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
617         Moved ...
618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
620         Moved ...
621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
622         ... here.
623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
624         Moved ...
625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
626         ... here.
627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
628         Moved ...
629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
630         ... here.
631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
632         Moved ...
633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
635         Moved ...
636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
637         ... here.
638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
639         Moved ...
640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
641         ... here.
642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
643         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
645         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
647         Moved ...
648         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
649         ... here.
650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
651         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
652         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
653         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
654         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
655         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
656         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
657         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
658         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
659         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
661         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
663         Moved ...
664         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
666         Moved ...
667         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
668         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
669         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
670         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
671         Moved ...
672         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
673         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
674         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
675         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
676         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
677         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
678         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
680 2014-06-10  Wilco  <wdijkstr@arm.com>
682         * math/test-fenv-return.c: New file.
683         * math/Makefile: Add new test test-fenv-return.
685 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
687         [BZ #17042]
688         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
689         when x - 1 is zero.
690         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
691         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
692         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
693         0.0L for an argument of 1.0L.
694         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
695         Likewise.
696         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
697         value when x - 1 is zero.
698         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
699         * sysdeps/i386/fpu/libm-test-ulps: Update.
700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
702 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
704         [BZ #15119]
705         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
707 2014-06-09  Roland McGrath  <roland@hack.frob.com>
709         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
710         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
712 2014-06-09  Roland McGrath  <roland@hack.frob.com>
714         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
715         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
717         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
718         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
720         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
721         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
723         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
724         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
726         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
727         if not already defined.
728         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
729         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
730         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
731         (TLS_INIT_TP): Use it.
732         (TLS_DEFINE_INIT_TP): New macro.
733         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
735 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
737         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
738         constant.
739         [POSIX] (IXANY): Likewise.
740         [POSIX] (OLCUC): Likewise.
741         [POSIX || POSIX2008] (CBAUD): Do not allow.
742         [POSIX || POSIX2008] (DEFECHO): Likewise.
743         [POSIX || POSIX2008] (ECHOCTL): Likewise.
744         [POSIX || POSIX2008] (ECHOKE): Likewise.
745         [POSIX || POSIX2008] (ECHOPRT): Likewise.
746         [POSIX || POSIX2008] (EXTA): Likewise.
747         [POSIX || POSIX2008] (EXTB): Likewise.
748         [POSIX || POSIX2008] (FLUSHO): Likewise.
749         [POSIX || POSIX2008] (LOBLK): Likewise.
750         [POSIX || POSIX2008] (PENDIN): Likewise.
751         [POSIX || POSIX2008] (SWTCH): Likewise.
752         [POSIX || POSIX2008] (VDISCARD): Likewise.
753         [POSIX || POSIX2008] (VDSUSP): Likewise.
754         [POSIX || POSIX2008] (VLNEXT): Likewise.
755         [POSIX || POSIX2008] (VREPRINT): Likewise.
756         [POSIX || POSIX2008] (VSTATUS): Likewise.
757         [POSIX || POSIX2008] (VWERASE): Likewise.
758         (B*): Change to B[0123456789]*.
759         * conform/data/time.h-data [POSIX || UNIX98]
760         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
761         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
762         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
763         [POSIX] (tm_*): Do not allow.
765 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
767         * Makefile (install): Don't set LANGUAGE.
768         * Makefile.in (install): Likewise.
769         * assert/Makefile (test-assert-ENV): Remove variable.
770         (test-assert-perr-ENV): Likewise.
771         * elf/Makefile (neededtest4-ENV): Likewise.
772         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
773         [$(cross-compiling) = no]: Don't set LANGUAGE.
774         * io/ftwtest-sh (LANG): Remove variable.
775         * libio/Makefile (tst-widetext-ENV): Likewise.
776         * manual/install.texi (Running make install): Don't refer to
777         environment settings for make install.
778         * INSTALL: Regenerated.
779         * nptl/tst-tls6.sh: Don't set LANG.
780         * posix/globtest.sh (LANG): Remove variable.
781         * string/Makefile (tester-ENV): Likewise.
782         (inl-tester-ENV): Likewise.
783         (noinl-tester-ENV): Likewise.
784         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
785         [$(cross-compiling) = no]: Don't set LANGUAGE.
786         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
787         without explicit environment settings.
789 2014-06-06  Roland McGrath  <roland@hack.frob.com>
791         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
792         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
793         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
794         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
796 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
798         * crypt/crypt-private.h [DOS]: Add some includes taken from the
799         other files in the crypt directory.
800         * crypt/crypt.c: Remove duplicate includes.
801         * crypt/crypt-entry.c: Likewise.
802         * crypt/crypt_util.c: Likewise.
804 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
806         * Makeconfig (run-program-env): New variable.
807         (run-program-prefix-before-env): Likewise.
808         (run-program-prefix-after-env): Likewise.
809         (run-program-prefix): Define in terms of new variables.
810         (built-program-cmd-before-env): New variable.
811         (built-program-cmd-after-env): Likewise.
812         (built-program-cmd): Define in terms of new variables.
813         (test-program-prefix-before-env): New variable.
814         (test-program-prefix-after-env): Likewise.
815         (test-program-prefix): Define in terms of new variables.
816         (test-program-cmd-before-env): New variable.
817         (test-program-cmd-after-env): Likewise.
818         (test-program-cmd): Define in terms of new variables.
819         * Rules (make-test-out): Use $(run-program-env).
820         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
821         (help): Do not mention environment variables.  Mention
822         --timeoutfactor option.
823         (timeoutfactor): New variable.
824         (blacklist_exports): Remove function.
825         (exports): Remove variable.
826         (command): Do not include ${exports}.
827         * manual/install.texi (Configuring and compiling): Do not mention
828         test wrappers preserving environment variables.  Mention that last
829         assignment to a variable must take precedence.
830         * INSTALL: Regenerated.
831         * benchtests/Makefile (run-bench): Use $(run-program-env).
832         * catgets/Makefile ($(objpfx)test1.cat): Use
833         $(built-program-cmd-before-env), $(run-program-env) and
834         $(built-program-cmd-after-env).
835         ($(objpfx)test2.cat): Do not specify environment variables
836         explicitly.
837         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
838         $(run-program-env) and $(built-program-cmd-after-env).
839         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
840         $(run-program-env) and $(test-program-cmd-after-env).
841         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
842         explicitly.
843         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
844         run_program_env and test_program_cmd_after_env arguments.
845         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
846         * elf/tst-pathopt.sh: Use run_program_env argument.
847         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
848         $(test-wrapper-env) and $(run-program-env).
849         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
850         run_program_env arguments.
851         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
852         * intl/Makefile ($(objpfx)tst-gettext.out): Use
853         $(test-program-prefix-before-env), $(run-program-env) and
854         $(test-program-prefix-after-env).
855         ($(objpfx)tst-gettext2.out): Likewise.
856         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
857         run_program_env and test_program_prefix_after_env arguments.
858         * intl/tst-gettext2.sh: Likewise.
859         * intl/tst-gettext4.sh: Do not set environment variables
860         explicitly.
861         * intl/tst-gettext6.sh: Likewise.
862         * intl/tst-translit.sh: Likewise.
863         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
864         $(test-program-prefix-before-env), $(run-program-env) and
865         $(test-program-prefix-after-env).
866         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
867         run_program_env and test_program_prefix_after_env arguments.
868         * math/Makefile (run-regen-ulps): Use $(run-program-env).
869         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
870         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
871         explicitly with each use of ${test_wrapper_env}.
872         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
873         $(test-program-prefix-before-env), $(run-program-env) and
874         $(test-program-prefix-after-env).
875         * posix/tst-getconf.sh: Do not set environment variables
876         explicitly.
877         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
878         run_program_env and test_program_prefix_after_env arguments.
879         * stdio-common/tst-printf.sh: Do not set environment variables
880         explicitly.
881         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
882         $(test-program-prefix-before-env), $(run-program-env) and
883         $(test-program-prefix-after-env).
884         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
885         run_program_env and test_program_prefix_after_env arguments.
886         Split $test calls into $test_pre and $test.
887         * timezone/Makefile (build-testdata): Use
888         $(built-program-cmd-before-env), $(run-program-env) and
889         $(built-program-cmd-after-env).
891 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
893         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
894         strlen for non SHARED builds.
896 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
898         * nptl/allocatestack.c (check_list): Inlined function...
899         (__reclaim_stacks): ... here.
901 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
903         [BZ #15698]
904         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
905         memory overrun.
907 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
909         * Rules (make-test-out): Include
910         LOCPATH=$(common-objpfx)localedata in default environment.
911         * debug/Makefile (tst-chk1-ENV): Remove variable.
912         (tst-chk2-ENV): Likewise.
913         (tst-chk3-ENV): Likewise.
914         (tst-chk4-ENV): Likewise.
915         (tst-chk5-ENV): Likewise.
916         (tst-chk6-ENV): Likewise.
917         (tst-lfschk1-ENV): Likewise.
918         (tst-lfschk2-ENV): Likewise.
919         (tst-lfschk3-ENV): Likewise.
920         (tst-lfschk4-ENV): Likewise.
921         (tst-lfschk5-ENV): Likewise.
922         (tst-lfschk6-ENV): Likewise.
923         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
924         (tst-iconv7-ENV): Likewise.
925         * intl/Makefile (LOCPATH-ENV): Likewise.
926         (tst-codeset-ENV): Likewise.
927         (tst-gettext3-ENV): Likewise.
928         (tst-gettext5-ENV): Likewise.
929         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
930         (tst-fopenloc-ENV): Likewise.
931         (tst-fgetws-ENV): Remove variable.
932         (tst-ungetwc1-ENV): Likewise.
933         (tst-ungetwc2-ENV): Likewise.
934         (bug-ungetwc2-ENV): Likewise.
935         (tst-swscanf-ENV): Likewise.
936         (bug-ftell-ENV): Likewise.
937         (tst-fgetwc-ENV): Likewise.
938         (tst-fseek-ENV): Likewise.
939         (tst-ftell-partial-wide-ENV): Likewise.
940         (tst-ftell-active-handler-ENV): Likewise.
941         (tst-ftell-append-ENV): Likewise.
942         * posix/Makefile (tst-fnmatch-ENV): Likewise.
943         (tst-regexloc-ENV): Likewise.
944         (bug-regex1-ENV): Likewise.
945         (tst-regex-ENV): Likewise.
946         (tst-regex2-ENV): Likewise.
947         (bug-regex5-ENV): Likewise.
948         (bug-regex6-ENV): Likewise.
949         (bug-regex17-ENV): Likewise.
950         (bug-regex18-ENV): Likewise.
951         (bug-regex19-ENV): Likewise.
952         (bug-regex20-ENV): Likewise.
953         (bug-regex22-ENV): Likewise.
954         (bug-regex23-ENV): Likewise.
955         (bug-regex25-ENV): Likewise.
956         (bug-regex26-ENV): Likewise.
957         (bug-regex30-ENV): Likewise.
958         (bug-regex32-ENV): Likewise.
959         (bug-regex33-ENV): Likewise.
960         (bug-regex34-ENV): Likewise.
961         (bug-regex35-ENV): Likewise.
962         (tst-rxspencer-ENV): Likewise.
963         (tst-rxspencer-no-utf8-ENV): Likewise.
964         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
965         (tst-sscanf-ENV): Likewise.
966         (tst-swprintf-ENV): Likewise.
967         (tst-swscanf-ENV): Likewise.
968         (test-vfprintf-ENV): Likewise.
969         (scanf13-ENV): Likewise.
970         (bug14-ENV): Likewise.
971         (tst-grouping-ENV): Likewise.
972         * stdlib/Makefile (tst-strtod-ENV): Likewise.
973         (tst-strtod3-ENV): Likewise.
974         (tst-strtod4-ENV): Likewise.
975         (tst-strtod5-ENV): Likewise.
976         (testmb2-ENV): Likewise./
977         * string/Makefile (tst-strxfrm-ENV): Likewise.
978         (tst-strxfrm2-ENV): Likewise.
979         (bug-strcoll1-ENV): Likewise.
980         (test-strcasecmp-ENV): Likewise.
981         (test-strncasecmp-ENV): Likewise.
982         * time/Makefile (tst-strptime-ENV): Likewise.
983         (tst-ftime_l-ENV): Likewise.
984         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
985         (tst-mbrtowc-ENV): Likewise.
986         (tst-wcrtomb-ENV): Likewise.
987         (tst-mbrtowc2-ENV): Likewise.
988         (tst-c16c32-1-ENV): Likewise.
989         (tst-mbsnrtowcs-ENV): Likewise.
991 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
993         * manual/resource.texi (How to get information about the memory
994         subsystem?): Fix typo.
995         Reported by Peon de la Parra Ivan <peon@keba.com>
997 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
999         [BZ #16882]
1000         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1001         (pthread_spin_lock): Branch out of spin loop to proper location.
1002         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1003         (pthread_spin_lock): Likewise.
1005         * nptl/tst-spin4.c: New test.
1006         * nptl/Makefile (tests): Add tst-spin4.
1008 2014-06-03  Andreas Schwab  <schwab@suse.de>
1010         [BZ #15946]
1011         * resolv/res_send.c (send_dg): Reload file descriptor after
1012         calling reopen.
1014 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1016         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1018 2014-06-03  Richard Henderson  <rth@redhat.com>
1020         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1021         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1022         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1023         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1024         in the SAVE_PID block.
1025         (__libc_vfork): New alias.
1026         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1028         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1029         child in registers, not on the stack.  Remove RESET_PID conditionals.
1030         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1032 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1034         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1036 2014-06-03  Wilco  <wdijkstr@arm.com>
1038         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1039         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1040         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1041         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1042         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1043         Likewise.
1045 2014-06-03  Wilco  <wdijkstr@arm.com>
1047         * sysdeps/aarch64/fpu/math_private.h
1048         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1049         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1050         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1051         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1052         Fix declarations.
1054 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1056         * crypt/crypt-private.h: Include ufc-crypt.h.
1057         (__b64_from_24bit): Declare extern.
1058         * crypt/crypt_util.c(__b64_from_24bit): New function.
1059         (b64t): New static const variable.
1060         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1061         (b64t): Remove variable.
1062         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1063         * crypt/sha256-crypt.c: Include crypt-private.h.
1064         (b64t): Remove variable.
1065         (__sha256_crypt_r): Remove b64_from_24bit and replace
1066         with __b64_from_24bit.
1067         * crypt/sha512-crypt.c: Likewise.
1069 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1071         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1072         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1073         Label the code __libc_vfork rather than __vfork.
1074         [!NOT_IN_libc] (vfork): Define as weak alias.
1075         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1076         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1077         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1079 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1081         * malloc/malloc.c (malloc_info): Fix format specifier for
1082         n_mmaps.
1084 2014-06-02  Wilco  <wdijkstr@arm.com>
1086         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1087         FPCR write.
1089 2014-06-02  Wilco  <wdijkstr@arm.com>
1091         [BZ #17009]
1092         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1093         Rewrite to reduce FPCR/FPSR accesses.
1095 2014-06-01  David S. Miller  <davem@davemloft.net>
1097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1099 2014-05-31  David S. Miller  <davem@davemloft.net>
1101         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1102         to occur in round to nearest mode when |x| >= 2.0
1104 2014-05-30  Richard Henderson  <rth@twiddle.net>
1106         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1107         (PSEUDO_RET_NOERRNO): Remove.
1108         (ret): Don't redefine.
1109         (ret_NOERRNO): Define in terms of ret.
1110         (ret_ERRVAL): Likewise.
1112         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1113         use of PSEUDO_RET; perform the error check directly.
1115 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1117         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1118         with __int128_t.
1120 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1122         * malloc/malloc (malloc_info): Fix formatting.
1124 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1125             Roland McGrath  <roland@hack.frob.com>
1127         * malloc/malloc (malloc_info): Also print mmapped statistics.
1129 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1131         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1132         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1134 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1136         * malloc/malloc.c (malloc_info): Inline mi_arena.
1138 2014-05-29  Richard Henderson  <rth@twiddle.net>
1140         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1141         Remove comma before expanding ASM_ARGS_##nr.
1142         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1143         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1144         of ASM_ARGS_##nr.
1145         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1146         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1147         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1148         (ASM_ARGS_1): Add leading comma.
1150         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1151         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1152         to __errno_location.
1153         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1154         Remove the expected plt for __errno_location.
1156         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1157         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1158         call to __read_tp.
1160         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1161         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1162         it and break it down.
1163         (DOCARGS_0, DOCARGS_1): Do nothing.
1164         (DOCARGS_2): Update to store into the new stack frame.
1165         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1166         (UNDOCARGS_1): Update to restore from the new stack frame.
1167         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1168         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1170         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1171         (SINGLE_THREAD_P): New parameter for result regno.
1172         (PSEUDO): Update to match; use cbz instead of beq.
1174         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1175         Use ENTRY to define the _nocancel entry point.  Share the syscall
1176         and syscall error check paths with the cancel path.
1177         (PSEUDO_END): New.
1179         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1180         whitespace; tabs before and after asm mnemonics.
1182 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1184         [BZ #15132]
1185         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1186         Call fstat64 or stat64 internally, depending on arguments passed.
1187         Replace stat buffer argument with file descriptor argument.
1188         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1189         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1190         Pass fd to __internal_statvfs instead of calling fstat64.
1191         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1192         Pass fd to __internal_statvfs64 instead of calling fstat64.
1193         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1194         Pass -1 to __internal_statvfs instead of calling stat64.
1195         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1196         Pass -1 to __internal_statvfs64 instead of calling stat64.
1198 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1200         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1201         that was previously under [RESET_PID].
1202         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1204         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1205         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1207 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1209         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1211         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1212         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1214 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1216         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1218 2014-05-27  Andreas Schwab  <schwab@suse.de>
1220         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1221         TLS_INIT_TP macro.
1222         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1223         * elf/rtld.c (init_tls, dl_main): Likewise.
1224         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1225         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1226         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1227         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1228         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1229         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1230         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1231         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1232         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1233         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1234         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1235         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1236         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1237         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1238         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1239         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1240         * sysdeps/generic/tls.h: Update description.
1242 2014-05-27  Will Newton  <will.newton@linaro.org>
1244         [BZ #16990]
1245         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1246         and restore r2 rather than just restoring.
1248 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1250         [BZ #16724]
1251         * libio/tst-ftell-append.c: New test case.
1252         * libio/Makefile (tests): Add test case.
1253         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1254         append mode.
1255         * libio/wfileops.c (do_ftell_wide): Likewise.
1257 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1261         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1262         ...
1263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1265         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1266         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1267         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1268         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1269         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1270         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1272         Moved ...
1273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1275         Moved ...
1276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1277         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1278         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1279         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1280         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1281         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1282         ...
1283         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1284         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1285         Moved ...
1286         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1287         here.
1288         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1289         ...
1290         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1291         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1292         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1294         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1295         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1296         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1297         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1300         merge into ...
1301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1303         ...
1304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1305         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1306         ...
1307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1309         Moved ...
1310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1311         here.
1312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1313         Moved ...
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1315         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1316         Moved ...
1317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1320         conditional [RESET_PID].
1321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1322         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1323         removed.
1324         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1325         removed.
1327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1328         <tcb-offsets.h>.
1329         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1330         (__libc_vfork): New strong alias.
1331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1332         removed.
1333         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1334         Removed.
1336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1337         <tcb-offsets.h>.
1338         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1339         (__libc_vfork): New strong alias.
1340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1341         removed.
1342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1343         removed.
1345 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1347         * malloc/malloc.c (mi_arena): New function.
1348         (malloc_info): Remove nested function mi_arena. Call non-nosted
1349         function mi_arena.
1351 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1353         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1354         by insrwi.
1355         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1356         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1357         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1358         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1359         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1360         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1361         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1363 2014-05-26  Andreas Schwab  <schwab@suse.de>
1365         [BZ #16984]
1366         * locale/programs/repertoire.c (repertoire_read): Add slash
1367         between I18NPATH element and file name.
1368         * locale/programs/locfile.c (locfile_read): Likewise.
1370 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1372         * nptl/pthread_mutexattr_settype.c
1373         (__pthread_mutexattr_settype):
1374         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1376 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1378         * nptl/tst-mutex5 (do_test):
1379         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1381 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1383         * benchtests/README: Document 'init' directive.
1384         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1385         BENCH_INIT.
1386         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1387         (parse_file): Recognize 'init' directive.
1389 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1391         [BZ #16796]
1392         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1393         alignment of struct pthread.
1395 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1397         [BZ #16878]
1398         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1399         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1400         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1401         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1403 2014-05-25  Richard Henderson  <rth@twiddle.net>
1405         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1406         (SINGLE_THREAD_P_PIC): Remove.
1407         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1408         (SINGLE_THREAD_P_PIC): Remove.
1410         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1411         branch to syscall error ...
1412         (PSEUDO): ... here.
1413         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1414         from __local_syscall_error to .Lsyscall_error.
1415         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1416         (SYSCALL_ERROR): Update label name.
1418         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1419         Do not use DOARGS/UNDOARGS.
1420         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1421         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1422         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1423         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1424         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1427         block comment.
1429         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1430         define if !NOT_IN_libc.
1431         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1432         define with non-default symbol versions.
1434 2014-05-23  Richard Henderson  <rth@twiddle.net>
1436         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1437         (vfork, __vfork): Define via compat_symbol.
1439         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1440         [!HAVE_IFUNC] (vfork_compat): Remove.
1441         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1443 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1445         [BZ #16978]
1446         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1447         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1448         variable.
1450 2014-05-23  Richard Henderson  <rth@twiddle.net>
1452         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1453         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1454         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1455         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1457         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1458         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1459         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1460         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1461         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1462         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1463         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1464         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1465         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1466         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1467         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1468         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1469         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1470         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1471         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1472         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1473         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1474         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1475         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1476         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1477         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1478         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1479         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1480         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1481         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1482         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1483         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1484         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1485         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1486         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1487         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1488         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1489         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1490         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1491         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1492         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1493         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1494         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1495         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1496         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1497         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1498         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1499         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1500         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1501         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1502         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1503         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1504         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1505         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1506         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1507         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1508         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1509         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1510         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1511         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1512         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1514         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1515         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1516         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1517         before exiting on error.
1518         (__libc_vfork): New strong alias.
1519         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1520         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1522         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1523         that was previously under [RESET_PID].
1524         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1526         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1528 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1530         [BZ #16977]
1531         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1532         value when x - 1 is zero.
1533         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1534         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1535         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1536         0.0L for an argument of 1.0L.
1537         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1538         Likewise.
1539         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1540         value when x - 1 is zero.
1541         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1542         * sysdeps/i386/fpu/libm-test-ulps: Update.
1543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1545 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1547         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1548         alphasort and versionsort.
1550 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1552         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1553         macro.
1554         [copysignf]: Likewise.
1556 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1558         * crypt/md5-crypt.c: Fix formatting.
1560 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1562         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1563         (b64_from_24bit): New function.
1565 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1567         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1568         libc_hidden_builtin_def to ifunc.
1569         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1570         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1572 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1574         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1575         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1577 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1579         * nscd/Depend (linuxthreads): Remove.
1580         (nptl): Add.
1581         * resolv/Depend (linuxthreads): Remove.
1582         * rt/Depend (linuxthreads): Remove.
1584         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1585         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1586         $(common-objpfx)elf/.
1587         (link-libc-before-gnulib): Likewise.
1588         (elfobjdir): Remove variable.
1589         * Makefile (install): Use $(elf-objpfx) instead of
1590         $(common-objpfx)elf/.
1591         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1592         $(elfobjdir)/.
1593         (link-libc-deps): Likewise.
1594         ($(common-objpfx)libc.so): Likewise.
1595         ($(common-objpfx)linkobj/libc.so): Likewise.
1596         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1597         instead of $(common-objpfx)elf/.
1598         (symbolic-link-list): Likewise.
1599         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1600         [$(cross-compiling) = no]: Likewise.
1601         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1602         $(elfobjdir)/.
1603         (static-gnulib-arch): Likewise.
1604         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1605         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1606         $(common-objpfx)elf/.
1608 2014-05-21  Richard Henderson  <rth@redhat.com>
1610         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1611         (SINGLE_THREAD_P): Use the correct width load.  Fold
1612         into the ldr offset.
1614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1615         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1617 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1619         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1620         (libgcc_s_resume): Use __attribute_used__.
1621         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1622         Likewise.
1624 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1626         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1627         optimization when used with float constants.
1629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1631 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1633         [BZ #16915]
1634         * locale/nl_langinfo_l.c: Make direct reference to every
1635         _nl_current_CATEGORY symbol.
1636         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1637         (tests-static): Add tst-langinfo-static.
1638         (tests-special): Add tst-langinfo-static.out.
1639         ($(objpfx)tst-langinfo.out): Redirect output.
1640         ($(objpfx)tst-langinfo-static.out): New.
1641         * localedata/tst-langinfo.sh: Send output to stdout.
1642         * localedata/tst-langinfo-static.c: New file.
1644         [BZ #16965]
1645         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1646         when the shift amount is modulo the limb size.
1648 2014-05-20  Richard Henderson  <rth@redhat.com>
1650         [BZ #16967]
1651         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1652         Change type of sa_flags from unsigned int to int.
1654         [BZ #16966]
1655         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1657         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1659 2014-05-20  Will Newton  <will.newton@linaro.org>
1661         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1662         Test the return value of the system call in the nocancel case.
1664 2014-05-20  Will Newton  <will.newton@linaro.org>
1665             Yvan Roux  <yvan.roux@linaro.org>
1667         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1668         #include of asm/ptrace.h.
1669         (PTRACE_GET_THREAD_AREA): Remove #undef.
1670         (PTRACE_GETHBPREGS): Likewise.
1671         (PTRACE_SETHBPREGS): Likewise.
1672         (struct user_regs_struct): New structure.
1673         (struct user_fpsimd_struct): New structure.
1674         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1675         #include of asm/ptrace.h and second #include of sys/user.h.
1676         (PTRACE_GET_THREAD_AREA): Remove #undef.
1677         (PTRACE_GETHBPREGS): Likewise.
1678         (PTRACE_SETHBPREGS): Likewise.
1679         (ELF_NGREG): Use new struct user_regs_struct.
1680         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1682 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1684         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1685         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1687 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1689         [BZ #16958]
1690         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1691         membar to avoid block loads/stores to overlap previous stores.
1693 2014-05-17  Richard Henderson  <rth@redhat.com>
1695         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1696         Create the __##syscall_name##_nocancel entry point.
1697         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1698         Remove; let the sysdep-cancel.h code create it.
1700 2014-05-17  David S. Miller  <davem@davemloft.net>
1702         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1703         Protect with __USE_GNU.
1704         (TIOCSET_TEMPT): Likewise.
1705         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1706         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1707         these are already provided in bits/ioctl-types.h
1709 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1711         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1712         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1714         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1715         Use wait4 regardless of [__NR_waitpid].
1717 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1719         PR libgcc/60166
1720         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1721         (_FP_NANSIGN_Q): Set the quiet bit.
1723 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1725         * benchtests/Makefile
1726         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1727         not $(common-objpfx)math/libm.so.
1728         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1729         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1730         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1731         $(common-objpfx)dlfcn/libdl.so.
1732         ($(objpfx)tst-audit8): Depend on $(libm), not
1733         $(common-objpfx)math/libm.so.
1734         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1735         not $(common-objpfx)dlfcn/libdl.so.
1736         * math/Makefile
1737         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1738         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1739         [$(build-shared) = yes].
1740         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1741         $(common-objpfx)nptl/libpthread.so.
1742         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1743         $(common-objpfx)math/libm.so$(libm.so-version) or
1744         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1745         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1746         $(common-objpfx)dlfcn/libdl.so.
1747         * setjmp/Makefile (link-libm): Remove variable.
1748         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1749         * stdio-common/Makefile (link-libm): Remove variable.
1750         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1751         * stdlib/Makefile (link-libm): Remove variable.
1752         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1753         ($(objpfx)tst-strtod-round): Likewise.
1754         ($(objpfx)tst-tininess): Likewise.
1755         ($(objpfx)tst-strtod-underflow): Likewise.
1756         ($(objpfx)tst-strtod6): Likewise.
1757         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1758         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1759         $(common-objpfx)dlfcn/libdl.so.
1761 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1763         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1764         BSD terminal modes definitions.
1766 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1768         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1769         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1771         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1772         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1773         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1774         Don't do #include_next.
1775         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1776         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1777         Don't do #include_next.
1778         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1779         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1780         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1781         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1783 2014-05-16  Allan McRae  <allan@archlinux.org>
1785         * po/sv.po: Update Swedish translation from translation project.
1787         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1788         in sed expression.
1790 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1792         [BZ #16917]
1793         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1794         errno if the TIOCGPTN ioctl fails with an error different than
1795         EINVAL.
1796         * login/tst-ptsname.c: New file.
1797         * login/Makefile (tests): Add tst-ptsname.
1799         [BZ #16943]
1800         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1801         and prlimit64.
1803 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1805         [BZ #16849]
1806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1807         herrno to return EAI_AGAIN.
1809 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1811         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1812         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1813         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1814         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1815         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1816         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1817         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1818         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1819         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1820         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1821         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1822         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1823         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1824         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1825         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1826         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1827         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1828         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1829         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1830         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1831         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1832         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1833         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1834         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1835         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1836         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1837         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1838         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1839         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1840         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1842         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1844         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1846         Moved ...
1847         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1849         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1851         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1853         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1855         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1857         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1859         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1861         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1863         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1865         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1867         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1869         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1871         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1873         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1875         Moved ...
1876         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1878         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1880         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1882         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1884         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1886         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1888         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1890         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1892         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1894         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1896         Moved ...
1897         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1899         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1901         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1902         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1903         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1904         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1905         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1906         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1907         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1908         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1909         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1910         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1911         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1912         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1913         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1914         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1915         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1916         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1917         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1918         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1919         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1920         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1921         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1922         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1923         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1924         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1925         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1926         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1927         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1928         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1929         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1930         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1931         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1933         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1934         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1936         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1937         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1938         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1939         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1940         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1941         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1942         Moved ...
1943         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1944         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1945         Moved ...
1946         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1947         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1948         Moved ...
1949         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1950         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1951         Moved ...
1952         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1953         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1954         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1955         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1956         Moved ...
1957         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1958         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1959         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1960         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1961         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1962         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1963         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1964         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1965         Moved ...
1966         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1967         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1968         Moved ...
1969         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1970         ... here.
1971         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1972         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1973         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1974         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1975         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1976         Moved ...
1977         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1978         ... here.
1979         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1980         Moved ...
1981         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1982         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1983         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1984         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1985         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1986         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1987         Moved ...
1988         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1989         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1990         Moved ...
1991         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1992         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1993         Moved ...
1994         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1995         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1996         Moved ...
1997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1998         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1999         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2000         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2001         Moved ...
2002         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2003         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2004         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2005         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2006         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2007         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2008         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2009         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2010         Moved ...
2011         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2012         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2013         Moved ...
2014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2015         ... here.
2016         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2017         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2018         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2019         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2020         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2021         Moved ...
2022         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2023         ... here.
2024         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2025         Moved ...
2026         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2027         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2028         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2029         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2030         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2031         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2032         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2033         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2034         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2035         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2036         Moved ...
2037         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2038         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2039         Moved ...
2040         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2041         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2042         Moved ...
2043         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2044         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2045         Moved ...
2046         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2047         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2048         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2049         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2050         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2051         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2052         Moved ...
2053         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2054         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2055         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2056         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2057         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2058         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2059         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2061         Moved ...
2062         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2063         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2064         Moved ...
2065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2066         ... here.
2067         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2068         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2069         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2070         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2071         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2072         Moved ...
2073         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2074         ... here.
2075         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2076         Moved ...
2077         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2078         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2079         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2080         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2081         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2082         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2083         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2084         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2085         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2086         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2087         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2089         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2090         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2092         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2093         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2095         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2096         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2097         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2098         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2099         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2100         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2101         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2102         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2103         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2104         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2105         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2106         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2107         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2108         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2109         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2111         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2113         Moved ...
2114         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2115         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2116         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2117         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2118         Moved ...
2119         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2120         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2121         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2122         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2123         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2125         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2127         Moved ...
2128         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2129         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2130         Moved ...
2131         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2132         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2133         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2134         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2135         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2137         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2138         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2139         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2140         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2141         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2142         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2143         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2144         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2145         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2146         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2147         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2149         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2150         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2151         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2152         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2153         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2155         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2156         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2157         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2158         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2159         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2160         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2161         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2162         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2163         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2164         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2166         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2167         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2169         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2170         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2171         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2172         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2173         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2174         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2175         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2176         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2177         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2178         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2179         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2180         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2181         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2182         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2184         Update #include.
2185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2186         Likewise.
2187         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2188         Likewise.
2189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2190         Likewise.
2191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2192         Likewise.
2193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2194         Likewise.
2195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2196         Likewise.
2197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2198         Likewise.
2199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2200         Likewise.
2201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2202         Likewise.
2203         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2204         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2205         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2208         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2209         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2210         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2211         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2212         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2213         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2214         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2215         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2216         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2217         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2219         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2220         that was previously under [RESET_PID].
2221         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2222         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2223         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2225         * sysdeps/i386/nptl/Implies: New file.
2226         * sysdeps/x86_64/nptl/Implies: New file.
2227         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2228         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2229         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2230         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2232         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2233         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2234         (__libc_vfork): New strong alias.
2235         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2236         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2238         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2239         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2240         (__libc_vfork): New strong alias.
2241         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2242         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2244         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2245         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2246         (__libc_vfork): New strong alias.
2247         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2248         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2249         * nptl/pt-vfork.c: New file.
2250         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2251         (libpthread: GLIBC_2.20): New version set (empty).
2253 2014-05-14  Will Newton  <will.newton@linaro.org>
2255         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2256         rather than #if.
2258 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2260         [BZ #16564]
2261         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2262         arguments with exponent 65 or above.
2263         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2264         arguments 0x1p113L or above.
2265         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2266         to arguments 0x1p107L or above.
2267         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2268         positive arguments with exponent 65 or above.
2269         * math/auto-libm-test-in: Add more tests of log1p.
2270         * math/auto-libm-test-out: Regenerated.
2272         [BZ #16928]
2273         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2274         non-finite arguments is +0.
2275         * math/s_cacosf.c (__cacosf): Likewise.
2276         * math/s_cacosl.c (__cacosl): Likewise.
2277         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2278         * sysdeps/i386/fpu/libm-test-ulps: Update.
2279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2281         [BZ #16927]
2282         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2283         value.
2284         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2285         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2286         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2287         for explicit high bit of mantissa when testing for argument equal
2288         to 1.
2289         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2290         * sysdeps/i386/fpu/libm-test-ulps: Update.
2291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2293         [BZ #16516]
2294         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2295         (__erf): Scale by 16 instead of 8 in potentially underflowing
2296         case.  Ensure exception if result actually underflows.
2297         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2298         (__erff): Scale by 16 instead of 8 in potentially underflowing
2299         case.  Ensure exception if result actually underflows.
2300         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2301         (efx8): Remove variable.
2302         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2303         case.  Ensure exception if result actually underflows.
2304         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2305         (efx8): Remove variable.
2306         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2307         case.  Ensure exception if result actually underflows.
2308         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2309         (efx8): Remove variable.
2310         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2311         case.  Ensure exception if result actually underflows.
2312         * math/auto-libm-test-in: Add more tests of erf.
2313         * math/auto-libm-test-out: Regenerated.
2315 2014-05-14  Andreas Schwab  <schwab@suse.de>
2317         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2318         Remove code conditionalized on USE___THREAD.
2320         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2321         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2322         not definedness.
2324 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2326         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2327         Define unconditionally.
2328         (__ASSUME_O_CLOEXEC): Likewise.
2329         (__ASSUME_SOCK_CLOEXEC): Likewise.
2330         (__ASSUME_IN_NONBLOCK): Likewise.
2331         (__ASSUME_PIPE2): Likewise.
2332         (__ASSUME_EVENTFD2): Likewise.
2333         (__ASSUME_SIGNALFD4): Likewise.
2334         (__ASSUME_DUP3): Likewise.
2335         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2336         (__ASSUME_DUP3): Do not define.
2337         (__ASSUME_EVENTFD2): Likewise.
2338         (__ASSUME_IN_NONBLOCK): Likewise.
2339         (__ASSUME_O_CLOEXEC): Likewise.
2340         (__ASSUME_PIPE2): Likewise.
2341         (__ASSUME_SIGNALFD4): Likewise.
2342         (__ASSUME_SOCK_CLOEXEC): Likewise.
2343         (__ASSUME_UTIMES): Undefine.
2344         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2345         (__ASSUME_UTIMES): Do not define.
2346         (__ASSUME_O_CLOEXEC): Likewise.
2347         (__ASSUME_SOCK_CLOEXEC): Likewise.
2348         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2349         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2350         0x020621].
2351         (__ASSUME_PIPE2): Likewise.
2352         (__ASSUME_EVENTFD2): Likewise.
2353         (__ASSUME_SIGNALFD4): Likewise.
2354         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2355         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2356         Do not define.
2357         (__ASSUME_EVENTFD2): Likewise.
2358         (__ASSUME_SIGNALFD4): Likewise.
2359         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2360         (__ASSUME_32BITUIDS): Likewise.
2361         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2362         (__ASSUME_IPC64): Likewise.
2363         (__ASSUME_ST_INO_64_BIT): Likewise.
2364         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2365         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2366         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2367         (__ASSUME_UTIMES): Do not define.
2368         (__ASSUME_PSELECT): Likewise.
2369         (__ASSUME_PPOLL): Likewise.
2370         (__ASSUME_O_CLOEXEC): Likewise.
2371         (__ASSUME_SOCK_CLOEXEC): Likewise.
2372         (__ASSUME_IN_NONBLOCK): Likewise.
2373         (__ASSUME_PIPE2): Likewise.
2374         (__ASSUME_EVENTFD2): Likewise.
2375         (__ASSUME_SIGNALFD4): Likewise.
2376         (__ASSUME_DUP3): Likewise.
2377         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2378         (__ASSUME_UTIMES): Likewise.
2379         (__ASSUME_O_CLOEXEC): Likewise.
2380         (__ASSUME_SOCK_CLOEXEC): Likewise.
2381         (__ASSUME_IN_NONBLOCK): Likewise.
2382         (__ASSUME_PIPE2): Likewise.
2383         (__ASSUME_EVENTFD2): Likewise.
2384         (__ASSUME_SIGNALFD4): Likewise.
2385         (__ASSUME_DUP3): Likewise.
2386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2387         (__ASSUME_UTIMES): Likewise.
2388         (__ASSUME_O_CLOEXEC): Likewise.
2389         (__ASSUME_SOCK_CLOEXEC): Likewise.
2390         (__ASSUME_IN_NONBLOCK): Likewise.
2391         (__ASSUME_PIPE2): Likewise.
2392         (__ASSUME_EVENTFD2): Likewise.
2393         (__ASSUME_SIGNALFD4): Likewise.
2394         (__ASSUME_DUP3): Likewise.
2395         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2396         Likewise.
2397         (__ASSUME_UTIMES): Likewise.
2398         (__ASSUME_EVENTFD2): Likewise.
2399         (__ASSUME_SIGNALFD4): Likewise.
2400         * sysdeps/unix/sysv/linux/tile/kernel-features.h
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         (__ASSUME_UTIMES): Undefine.
2410         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2411         feclearexcept.  Remove symbol versioning code.
2412         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2413         symbol versioning code.
2414         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2415         symbol versioning code.
2416         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2417         feupdateenv.  Remove symbol versioning code.
2418         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2419         fegetexceptflag.  Remove symbol versioning code.
2420         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2421         fesetexceptflag.  Remove symbol versioning code.
2422         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2423         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2424         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2425         (__posix_fadvise64_l32): Remove prototype.
2426         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2427         code.
2429 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2431         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2432         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2433         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2434         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2436 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2438         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2439         current working directory
2441 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2443         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2444         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2445         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2446         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2447         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2448         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2449         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2450         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2451         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2452         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2453         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2454         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2455         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2456         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2457         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2458         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2459         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2460         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2461         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2462         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2463         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2464         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2465         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2466         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2467         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2468         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2469         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2470         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2471         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2472         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2473         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2474         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2475         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2476         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2477         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2478         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2479         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2480         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2481         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2482         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2483         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2484         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2486         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2487         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2489         * sysdeps/unix/sysv/linux/arm/Makefile
2490         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2491         Add rt-aeabi_unwind_cpp_pr1.
2492         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2493         Add nptl-aeabi_unwind_cpp_pr1.
2494         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2495         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2496         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2497         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2498         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2499         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2501         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2502         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2503         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2504         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2506         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2507         Deconditionalize the code that was previously under [RESET_PID].
2508         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2510         * sysdeps/generic/exit-thread.h: New file.
2511         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2512         * include/unistd.h (__exit_thread): Remove declaration.
2513         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2514         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2515         * csu/libc-start.c: Include <exit-thread.h>.
2516         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2517         * nptl/pthread_create.c: Include <exit-thread.h>.
2518         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2519         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2520         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2521         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2522         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2523         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2524         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2525         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2526         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2527         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2528         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2529         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2530         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2531         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2532         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2533         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2534         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2536 2014-05-13  Andreas Schwab  <schwab@suse.de>
2538         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2540 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2542         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2543         (__ASSUME_UTIMES): Do not condition on kernel version.
2544         (__ASSUME_PSELECT): Define unconditionally.
2545         (__ASSUME_PPOLL): Likewise.
2546         (__ASSUME_ATFCTS): Likewise.
2547         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2548         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2549         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2550         (__ASSUME_UTIMENSAT): Define unconditionally.
2551         (__ASSUME_PRIVATE_FUTEX): Likewise.
2552         (__ASSUME_FALLOCATE): Likewise.
2553         (__ASSUME_O_CLOEXEC): Likewise.
2554         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2555         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2556         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2557         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2558         (__ASSUME_IN_NONBLOCK): Likewise.
2559         (__ASSUME_PIPE2): Likewise.
2560         (__ASSUME_EVENTFD2): Likewise.
2561         (__ASSUME_SIGNALFD4): Likewise.
2562         (__ASSUME_DUP3): Likewise.
2563         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2564         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2565         (__ASSUME_AT_RANDOM): Likewise.
2566         (__ASSUME_PREADV): Likewise.
2567         (__ASSUME_PWRITEV): Likewise.
2568         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2569         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2570         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2571         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2572         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2573         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2574         (__ASSUME_O_CLOEXEC): Define unconditionally.
2575         (__ASSUME_PSELECT): Do not undefine conditionally.
2576         (__ASSUME_PPOLL): Likewise.
2577         (__ASSUME_ATFCTS): Likewise.
2578         (__ASSUME_SET_ROBUST_LIST): Likewise.
2579         (__ASSUME_UTIMENSAT): Likewise.
2580         (__ASSUME_FDATASYNC): Define unconditionally.
2581         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2582         (__ASSUME_SIGFRAME_V2): Likewise.
2583         )__ASSUME_EVENTFD2): Likewise.
2584         (__ASSUME_SIGNALFD4): Likewise.
2585         (__ASSUME_PSELECT): Do not undefine conditionally.
2586         (__ASSUME_PPOLL): Likewise.
2587         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2588         (__ASSUME_PSELECT): Define unconditionally.
2589         (__ASSUME_PPOLL): Likewise.
2590         (__ASSUME_O_CLOEXEC): Likewise.
2591         (__ASSUME_SOCK_CLOEXEC): Likewise.
2592         (__ASSUME_IN_NONBLOCK): Likewise.
2593         (__ASSUME_PIPE2): Likewise.
2594         (__ASSUME_EVENTFD2): Likewise.
2595         (__ASSUME_SIGNALFD4): Likewise.
2596         (__ASSUME_DUP3): Likewise.
2597         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2598         (__ASSUME_O_CLOEXEC): Likewise.
2599         (__ASSUME_SOCK_CLOEXEC): Likewise.
2600         (__ASSUME_IN_NONBLOCK): Likewise.
2601         (__ASSUME_PIPE2): Likewise.
2602         (__ASSUME_EVENTFD2): Likewise.
2603         (__ASSUME_SIGNALFD4): Likewise.
2604         (__ASSUME_DUP3): Likewise.
2605         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2606         (__ASSUME_EVENTFD2): Likewise.
2607         (__ASSUME_SIGNALFD4): Likewise.
2608         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2610 2014-05-12  Andreas Schwab  <schwab@suse.de>
2612         [BZ #16932]
2613         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2614         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2615         than maximum RPC packet size.
2616         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2617         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2618         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2619         (_nss_nis_getservbyport_r): Likewise.
2621 2014-05-12  Will Newton  <will.newton@linaro.org>
2623         * malloc/Makefile (tests): Add tst-mallopt.
2624         * malloc/tst-mallopt.c: New file.
2626 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2628         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2629         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2631 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2633         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2634         (tst-tlsmod6.so): Likewise.
2636 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2638         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2640 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2642         [BZ #16064]
2643         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2644         and <dl-procinfo.h>.
2645         (__fegetenv): Save SSE state in envp->__eip if supported.
2646         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2647         envp->__eip if supported.
2648         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2649         and <dl-procinfo.h>.
2650         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2651         __data_offset and __data_selector in environment to 0.  Set SSE
2652         state if supported.
2653         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2654         test-fenv-sse.
2655         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2656         -mfpmath=sse.
2657         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2659 2014-05-09  Will Newton  <will.newton@linaro.org>
2661         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2662         and libc_relro_required for ARM.
2663         * sysdeps/arm/preconfigure: Regenerate.
2665 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2666             Stefan Liebler  <stli@linux.vnet.ibm.com>
2668         * config.make.in (enable-lock-elision): New Makefile variable.
2669         * configure.ac: Likewise.
2670         * configure: Regenerate.
2671         * sysdeps/s390/configure.ac:
2672         Add check for gcc transactions support.
2673         * sysdeps/s390/configure: Regenerate.
2674         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2675         Build elision files if enabled.
2676         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2677         Add lock elision support for s390.
2678         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2679         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2680         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2681         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2682         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2683         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2685         Likewise.
2686         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2687         Likewise.
2688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2689         Likewise.
2690         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2691         Likewise.
2692         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2693         (__lll_timedlock_elision, __lll_lock_elision)
2694         (__lll_unlock_elision, __lll_trylock_elision)
2695         (lll_timedlock_elision, lll_lock_elision)
2696         (lll_unlock_elision, lll_trylock_elision): Add.
2697         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2698         (pthread_mutex_t): Add lock elision support for s390.
2700 2014-05-14  Wilco  <wdijkstr@arm.com>
2702         * sysdeps/arm/fclrexcpt.c: Cleanup.
2703         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2704         * sysdeps/arm/feenablxcpt.c: Cleanup.
2705         * sysdeps/arm/fegetenv.c: Cleanup.
2706         * sysdeps/arm/fegetexcept.c: Cleanup.
2707         * sysdeps/arm/fegetround.c: Cleanup.
2708         * sysdeps/arm/feholdexcpt.c: Cleanup.
2709         * sysdeps/arm/fesetenv.c: Cleanup.
2710         * sysdeps/arm/fesetround.c: Cleanup.
2711         * sysdeps/arm/feupdateenv.c: Cleanup.
2712         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2713         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2714         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2715         * sysdeps/arm/ftestexcept.c: Cleanup.
2716         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2717         * sysdeps/arm/setfpucw.c: Cleanup.
2719 2014-05-09  Will Newton  <will.newton@linaro.org>
2721         * sysdeps/arm/armv7/strcmp.S: New file.
2722         * NEWS: Mention addition of ARMv7 optimized strcmp.
2724 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2726         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2727         look for %.ac rather than %.in.
2729         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2730         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2731         * sysdeps/mach/hurd/configure: Regenerated.
2732         * sysdeps/unix/sysv/linux/configure: Regenerated.
2734         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2736 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2738         [BZ# 16922]
2739         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2740         (LONG_SUB): Ditto.
2741         (PTR_SUB): Ditto.
2743 2014-05-07  Andreas Schwab  <schwab@suse.de>
2745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2746         when skipping over non-matching result from nscd.
2748 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2750         [BZ #16876]
2751         * nptl/sockperf.c (client): Check socket return value.
2753         [BZ #16877]
2754         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2755         nscd security class.
2757 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2759         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2760         * sysdeps/arm/unwind.h: ... here.
2762 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2764         [BZ# 16916]
2765         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2766         Define.
2768 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2770         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2771         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2772         multiarch strncpy for PPC64.
2773         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2774         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2776         multiarch optimizations.
2777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2778         (__libc_ifunc_impl_list): Likewise.
2779         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2780         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2781         multiarch stpncpy for PPC64.
2782         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2783         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2785 2014-05-06  Andreas Schwab  <schwab@suse.de>
2787         [BZ #16912]
2788         * gmon/mcount.c (_MCOUNT_DECL): Use
2789         atomic_compare_and_exchange_bool_acq instead of
2790         catomic_compare_and_exchange_bool_acq.
2792 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2794         * elf/Makefile (others, install-bin): Remove pldd.
2795         (pldd-modules): Variable removed.
2796         ($(objpfx)pldd): Target removed.
2797         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2798         (others, install-bin): Append pldd here.
2799         ($(objpfx)pldd): New target.
2801         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2802         to 0, so the first #if test emitted later doesn't see it undefined.
2803         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2804         * sysdeps/gnu/errlist.c: Regenerated.
2806 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2808         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2809         [libc_hidden_builtin_def]: Define to empty value.
2810         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2811         [libc_hidden_builtin_def]: Likewise.
2812         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2813         [libc_hidden_builtin_def]: Likewise.
2814         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2815         [libc_hidden_builtin_def]: Likewise.
2816         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2817         __redirect_memcpy and define ifunc as default hidden symbol.
2818         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2819         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2821 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2823         * locale/iso-4217.def: Reintroduce XDR currency.
2825 2014-05-04  Allan McRae  <allan@archlinux.org>
2827         * po/eo.po: Update Esperanto translation from translation project.
2829 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2831         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2832         and FEATURE_INDEX_MAX to 1.
2833         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2835 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2837         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2838         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2839         * iconvdata/big5.c (ONE_DIRECTION): Define.
2840         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2841         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2842         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2843         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2844         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2845         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2846         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2847         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2848         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2849         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2850         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2851         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2852         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2853         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2854         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2855         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2856         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2857         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2858         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2859         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2860         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2861         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2862         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2863         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2864         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2865         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2866         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2867         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2868         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2869         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2870         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2871         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2872         * iconvdata/johab.c (ONE_DIRECTION): Define.
2873         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2874         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2875         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2876         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2877         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2878         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2879         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2880         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2881         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2882         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2884 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2886         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2887         (_IO_JUMPS_OFFSET): Define to 0.
2889         * nptl/sysdeps/pthread/bits/libc-lock.h
2890         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2891         (__libc_lock_define_initialized_recursive): Always define using
2892         initializer.  Modern compilers treat uninitialized (implicit zero) and
2893         explicit zero initializers the same (i.e. put the datum in bss).
2895 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2897         * nscd/nscd-client.h: Include <string.h>.
2899 2014-05-01  David S. Miller  <davem@davemloft.net>
2901         [BZ #16885]
2902         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2903         multiple zero bytes exist at the end of a string.
2904         Reported by Aurelien Jarno <aurelien@aurel32.net>
2906         * string/test-strcmp.c (check): Add explicit test for situations where
2907         there are multiple zero bytes after the first.
2909 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2911         [BZ #16890]
2912         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2913         when compiling wprintf.
2914         * stdio-common/tstdiomisc.c (t3): New function.
2915         (main): Call it.
2917 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2919         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2920         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2921         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2922         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2924 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2926         * stdlib/longlong.h: Updated from GCC.
2928 2014-05-01  Will Newton  <will.newton@linaro.org>
2929             Bernard Ogden  <bernie.ogden@linaro.org>
2931         * NEWS: Update fixed bug list.
2933         [BZ #15119]
2934         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2936 2014-04-30  David S. Miller  <davem@davemloft.net>
2938         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2939         (libc_feholdexcept_setround_sparc_ctx): New function.
2940         (libc_fesetenv_sparc_ctx): Likewise.
2941         (libc_feupdateenv_sparc_ctx): Likewise.
2942         (libc_feholdsetround_sparc_ctx): Likewise.
2943         (libc_feholdexcept_setround_ctx): Define.
2944         (libc_feholdexcept_setroundf_ctx): Likewise.
2945         (libc_feholdexcept_setroundl_ctx): Likewise.
2946         (libc_fesetenv_ctx): Likewise.
2947         (libc_fesetenvf_ctx): Likewise.
2948         (libc_fesetenvl_ctx): Likewise.
2949         (libc_feupdateenv_ctx): Likewise.
2950         (libc_feupdateenvf_ctx): Likewise.
2951         (libc_feupdateenvl_ctx): Likewise.
2952         (libc_feresetround_ctx): Likewise.
2953         (libc_feresetroundf_ctx): Likewise.
2954         (libc_feresetroundl_ctx): Likewise.
2955         (libc_feholdsetround_ctx): Likewise.
2956         (libc_feholdsetroundf_ctx): Likewise.
2957         (libc_feholdsetroundl_ctx): Likewise.
2959         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2960         with __USE_GNU instead of XOPEN cpp guards.
2962         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2963         0.
2965         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2966         with XOPEN cpp guards.
2968 2014-04-30  Julian Brown  <julian@codesourcery.com>
2970         [BZ #16888]
2971         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2972         handling.
2974 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
2976         [BZ #9894]
2977         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2978         Change to 2.6.32.
2979         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2980         * sysdeps/unix/sysv/linux/configure: Regenerated.
2981         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2982         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2983         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2984         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2985         * README: Update reference to required Linux kernel version.
2986         * manual/install.texi (Linux): Update reference to required Linux
2987         kernel headers version.
2988         * INSTALL: Regenerated.
2990         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2991         header inclusion.
2992         [POSIX] (limits.h): Likewise.
2993         [POSIX] (math.h): Likewise.
2994         [POSIX] (sys/wait.h): Likewise.
2995         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2996         function.
2997         [POSIX] (stddef.h): Do not allow header inclusion.
2999 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3001         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3003 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3005         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3006         Return immediately after lll_futex_wake.
3008 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3010         [BZ #16791]
3011         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3012         structure.
3013         (datahead_init_pos): Call datahead_init_common early.
3014         (datahead_init_neg): Likewise.
3016         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3017         datahead_init_neg): New functions.
3018         * nscd/aicache.c (addhstaiX): Use them.
3019         * nscd/grpcache.c (cache_addgr): Likewise.
3020         * nscd/hstcache.c (cache_addhst): Likewise.
3021         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3022         * nscd/netgroupcache.c (do_notfound): Likewise.
3023         (addgetnetgrentX): Likewise.
3024         (addinnetgrX): Likewise.
3025         * nscd/pwdcache.c (cache_addpw): Likewise.
3026         * nscd/servicescache.c (cache_addserv): Likewise.
3028 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3029             Atsushi Onoe  <atsushi@onoe.org>
3031         [BZ #14308]
3032         [BZ #12994]
3033         [BZ #13651]
3034         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3035         one response is valid.
3036         * resolv/res_send.c (send_dg): Check for validity of other
3037         response if the current response is a referral.
3039 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3041         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3043 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3045         [BZ #16823]
3046         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3047         Always divide by positive zero when computing -Inf result.
3048         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3049         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3051 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3053         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3054         FPSCR if value do not change.
3055         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3056         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3057         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3058         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3059         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3060         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3061         function.
3063 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3065         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3066         * sysdeps/unix/sysv/linux/hppa: Move directory from
3067         ports/systeps/unix/sysv/linux/hppa.
3068         * README: Update listing for hppa-*-linux-gnu.
3070 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3072         [BZ #16754]
3073         * manual/stdio.texi (Hook functions): Fix types of stream hook
3074         functions.
3075         [BZ #16854]
3076         * socket/sys/socket.h: Fix typo in comment.
3078 2014-04-28  Wilco  <wdijkstr@arm.com>
3080         * sysdeps/arm/fenv_private.h: New file.
3081         * sysdeps/arm/math_private.h: New file.
3082         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3084 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3086         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3087         with __int128_t.
3088         (La_x86_64_retval): Likewise.
3090 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3092         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3093         fpsr if value didn't change.
3094         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3095         to fpcr if value didn't change.
3096         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3097         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3098         fpsr or fpcr if value didn't change.
3099         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3100         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3101         fpcr if value didn't change.
3102         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3103         to fpsr if value didn't change.
3105 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3107         * nptl/tst-sem3.c: Use test-skeleton.c
3108         (main): Rename to do_test.  Use return instead of
3109         exit.
3110         * nptl/tst-sem4.c: Use test-skeleton.c
3111         (main): Rename to do_test.
3113 2014-04-22  David S. Miller  <davem@davemloft.net>
3115         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3116         (struct sigaction): New struct member __glibc_reserved0, change
3117         type of sa_flags to int.
3119 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3121         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3122         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3124 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3126         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3127         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3129 2014-04-22  Will Newton  <will.newton@linaro.org>
3130             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3132         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3133         (__longjmp): Add longjmp and longjmp_target SystemTap
3134         probes.
3135         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3136         (__sigsetjmp): Add setjmp SystemTap probe.
3138 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3140         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3141         match manual order.
3143 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3145         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3147         * sysdeps/powerpc/fpu/fenv_private.h
3148         (libc_feholdexcept_setroundl_ctx): Define to
3149         libc_feholdexcept_setround_ppc_ctx.
3150         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3151         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3152         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3153         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3155 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3157         * sysdeps/aarch64/math-tests.h: New file.
3159 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3161         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3162         New.
3163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3164         Check and set bit_AVX2_Usable.
3165         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3166         macro.
3167         (bit_AVX2): Likewise.
3168         (index_AVX2_Usable): Likewise.
3169         (CPUID_AVX2): Likewise.
3170         (HAS_AVX2): Likewise.
3172 2014-04-17  Will Newton  <will.newton@linaro.org>
3174         * manual/setjmp.texi (System V contexts): Add note that
3175         calling setcontext on a context created by a call to a
3176         signal handler is undefined.  Update text to note that
3177         setcontext from a signal handler is possible but not
3178         recommended.
3180         [BZ #16629]
3181         * stdlib/tst-setcontext.c: Include signal.h.
3182         (main): Check that the signal stack before and
3183         after swapcontext is the same.
3185         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3186         Re-implement to restore registers in user code and avoid
3187         rt_sigreturn system call.
3189 2014-04-17  Wilco  <wdijkstr@arm.com>
3191         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3192         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3193         * math/test-fenv.c: Skip exception trap tests on targets which only
3194         support non-stop mode.
3196 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3197             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3199         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3200         (libc_feholdsetround_aarch64_ctx)
3201         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3202         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3203         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3204         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3205         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3206         (libc_feresetround_noexl_ctx): Define.
3208 2014-04-16  Richard Henderson  <rth@redhat.com>
3210         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3212         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3213         unwind tables.
3215         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3216         const from the non-libc, non-ldso copy.
3218         * sysdeps/alpha/libm-test-ulps: Regenerate.
3220 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3221             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3223         * sysdeps/aarch64/fpu/math_private.h: New file.
3225 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3227         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3229 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3231         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3232         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3234         Intel MPX bound registers before _dl_profile_fixup.
3235         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3236         registers after _dl_profile_fixup.  Save and restore bound
3237         registers bnd0/bnd1 when calling _dl_call_pltexit.
3238         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3239         (LR_BND_OFFSET): Likewise.
3240         (LRV_BND0_OFFSET): Likewise.
3241         (LRV_BND1_OFFSET): Likewise.
3243 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3245         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3246         to...
3247         * sysdeps/mach/hurd/i386/tls.h: ... here.
3248         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3249         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3250         fields.
3252 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3254         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3256 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3258         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3260 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3262         [BZ #14770]
3263         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3264         * sysdeps/s390/configure: Regenerate.
3266         [BZ #16824]
3267         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3268         Set round-to-nearest internally to reduce error accumulation.
3270 2014-04-16  Alan Modra  <amodra@gmail.com>
3272         [BZ #16740]
3273         [BZ #16619]
3274         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3275         * math/libm-test.inc (frexp_test_data): Add tests.
3276         * NEWS: Update fixed bug list.
3278 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3280         * benchtests/Makefile: Depend on libraries in build directory.
3281         (bench-math): Separate out math tests.
3282         (bench-pthread): Separate out pthread tests.
3283         (bench): Include math and pthread tests.
3285 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3287         [BZ #16831]
3288         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3289         _dl_debug_initialize.
3291         * configure.ac: Remove SELinux header check.
3292         * configure: Regenerate.
3293         * nscd/selinux.c (perms): Array of const char* to permission names.
3294         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3295         default policy. Call string_to_security_class and string_to_av_perm to
3296         translate strings. Enforce default policy and call avs_has_perm with
3297         results of translated strings.
3299 2014-04-13  David S. Miller  <davem@davemloft.net>
3301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3303 2014-04-12  Allan McRae  <allan@archlinux.org>
3305         [BZ #16838]
3306         * manual/string.texi (Collation Functions): Fix qsort argument
3307         order in example.
3308         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3310 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3312         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3313         Make the test a no-op if there are no exceptions defined.
3315 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3317         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3318         enable-hardcoded-path-in-tests
3320 2014-04-11  Will Newton  <will.newton@linaro.org>
3322         * benchtests/Makefile (extra-objs): Add json-lib.o.
3323         (bench-func): Tidy up JSON output.
3324         * benchtests/bench-skeleton.c: Include json-lib.h.
3325         (main): Use JSON library functions to do output of
3326         benchmark results.
3327         * benchtests/bench-timing-type.c (main): Output the
3328         timing type simply, leaving formatting to the user.
3329         * benchtests/json-lib.c: New file.
3330         * benchtests/json-lib.h: Likewise.
3332 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3334         [BZ #15215]
3335         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3336         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3337         memory barriers.  Add comments.
3338         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3339         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3340         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3341         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3342         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3343         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3345 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3347         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3348         * sysdeps/s390/s390-64/configure.ac: ... this ...
3349         * sysdeps/s390/configure.ac: ... to here.
3350         * sysdeps/s390/s390-32/configure: Delete file.
3351         * sysdeps/s390/s390-64/configure: Delete file.
3352         * sysdeps/s390/configure: Regenerate.
3354 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3356         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3358 2014-04-11  Will Newton  <will.newton@linaro.org>
3360         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3361         to zero if it is not defined elsewhere.  (mtrim): Test
3362         the value of MALLOC_DEBUG with #if rather than #ifdef.
3364 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3366         * benchtests/pthread_once-inputs: New file.
3367         * benchtests/pthread_once-source.c: New file.
3368         * benchtests/README: Update documentation.
3370 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3371             H.J. Lu  <hongjiu.lu@intel.com>
3373         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3374         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3375         * sysdeps/x86_64/configure: Regenerated.
3376         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3377         macro.
3378         (REGISTER_SAVE_RAX): Likewise.
3379         (REGISTER_SAVE_RCX): Likewise.
3380         (REGISTER_SAVE_RDX): Likewise.
3381         (REGISTER_SAVE_RSI): Likewise.
3382         (REGISTER_SAVE_RDI): Likewise.
3383         (REGISTER_SAVE_R8): Likewise.
3384         (REGISTER_SAVE_R9): Likewise.
3385         (REGISTER_SAVE_BND0): Likewise.
3386         (REGISTER_SAVE_BND1): Likewise.
3387         (REGISTER_SAVE_BND2): Likewise.
3388         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3389         bound registers when calling _dl_fixup.
3391 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3393         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3394         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3395         of its definition.
3396         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3397         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3398         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3399         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3400         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3401         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3402         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3404 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3406         [BZ #15514]
3407         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3408         pathconf(_PC_NAME_MAX).
3410 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3412         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3413         Remove macro usage.
3414         (__PTHREAD_SPINS): Move definition to ...
3415         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3416         (__PTHREAD_SPINS): ... here.
3417         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3418         (__PTHREAD_SPIN): Likewise.
3419         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3420         (__PTHREAD_SPIN): Likewise.
3421         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3422         (__PTHREAD_SPIN): Likewise.
3423         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3424         (__PTHREAD_SPIN): Likewise.
3425         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3426         (__PTHREAD_SPIN): Likewise.
3427         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3428         (__PTHREAD_SPIN): Likewise.
3429         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3430         (__PTHREAD_SPIN): Likewise.
3431         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3432         (__PTHREAD_SPIN): Likewise.
3433         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3434         (__PTHREAD_SPIN): Likewise.
3435         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3436         (__PTHREAD_SPIN): Likewise.
3437         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3438         (__PTHREAD_SPIN): Likewise.
3439         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3440         (__PTHREAD_SPIN): Likewise.
3442         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3443         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3444         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3445         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3446         imply folder.
3447         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3448         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3449         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3450         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3451         correct imply path.
3452         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3453         strlen symbol for non multi-arch builds.
3454         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3455         missing hidden_def and weak_alias.
3457 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3459         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3461 2014-04-07  Will Newton  <will.newton@linaro.org>
3463         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3464         and contents.  [!_LIBC] Remove #ifndef and contents.
3465         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3466         * string/memccpy.c (__memccpy): Use ANSI prototype.
3467         * string/memfrob.c (memfrob): Likewise.
3468         * string/strcoll.c (STRCOLL): Likewise.
3469         * string/strlen.c (strlen): Likewise.
3470         * string/strtok.c (STRTOK): Likewise.
3471         * string/strcat.c: Remove unused #include of memcopy.h.
3472         (strcat): Use ANSI prototype.
3473         * string/strchr.c: Remove unused #include of memcopy.h.
3474         (strchr): Use ANSI prototype.
3475         * string/strcmp.c: Remove unused #include of memcopy.h.
3476         (strcmp): Use ANSI prototype.
3477         * string/strcpy.c: Remove unused #include of memcopy.h.
3478         (strcpy): Use ANSI prototype.
3480 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3482         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3483         * config.make.in (config-extra-cppflags): Set it from
3484         libc_extra_cppflags.
3485         * configure.ac (libc_extra_cflags): Make it accumulate over
3486         configure fragments.
3487         (libc_extra_cppflags): New flag.
3488         * configure. Regenerate.
3489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3490         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3491         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3494         [BZ #16815]
3495         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3496         result for FE_DOWNWARD rounding mode.
3497         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3498         Likewise.
3499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3501 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3503         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3504         in function argument name.
3506 2014-04-03  David Svoboda  <svoboda@cert.org>
3508         [BZ #5666]
3509         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3510         explicitly.
3512 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3514         * elf/dl-unmap-segments.h: New file.
3515         * sysdeps/generic/ldsodefs.h
3516         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3517         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3518         * elf/dl-fptr.c: Likewise.
3519         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3520         * sysdeps/aarch64/tlsdesc.c: Likewise.
3521         * sysdeps/arm/tlsdesc.c: Likewise.
3522         * sysdeps/i386/tlsdesc.c: Likewise.
3523         * sysdeps/tile/dl-runtime.c: Likewise.
3524         * sysdeps/x86_64/tlsdesc.c: Likewise.
3525         * elf/dl-load.h: New file.
3526         * elf/dl-load.c: Include it.
3527         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3528         Macros moved to dl-load.h.
3529         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3530         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3531         Use _dl_unmap_segments in place of __munmap.
3532         Break out segment-mapping loop into ...
3533         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3535 2014-04-03  Will Newton  <will.newton@linaro.org>
3537         * elf/dl-lookup.c (do_lookup_x): Remove comment
3538         referring to nested function and move variable
3539         declarations down to before first use.
3541 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3543         [BZ #16799]
3544         [BZ #16800]
3545         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3546         with 0 numerator.
3547         * math/s_catanf.c (__catanf): Likewise.
3548         * math/s_catanh.c (__catanh): Likewise.
3549         * math/s_catanhf.c (__catanhf): Likewise.
3550         * math/s_catanhl.c (__catanhl): Likewise.
3551         * math/s_catanl.c (__catanl): Likewise.
3552         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3553         by positive zero when computing -Inf result.
3554         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3555         (catanh_test): Likewise.
3556         * sysdeps/i386/fpu/libm-test-ulps: Update.
3557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3559         [BZ #16789]
3560         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3561         instead of using underflowing value in computing result.
3562         * math/s_clog10.c (__clog10): Likewise.
3563         * math/s_clog10f.c (__clog10f): Likewise.
3564         * math/s_clog10l.c (__clog10l): Likewise.
3565         * math/s_clogf.c (__clogf): Likewise.
3566         * math/s_clogl.c (__clogl): Likewise.
3567         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3568         (clog10_test): Likewise.
3569         * sysdeps/i386/fpu/libm-test-ulps: Update.
3570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3572 2014-04-02  Alan Modra  <amodra@gmail.com>
3574         [BZ #16739]
3575         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3576         output when value is near a power of two.  Use int64_t for lx and
3577         remove casts.  Use decimal rather than hex exponent constants.
3578         Don't use long double multiplication when double will suffice.
3579         * math/libm-test.inc (nextafter_test_data): Add tests.
3580         * NEWS: Add 16739 and 16786 to bug list.
3582         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3584         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3586 2014-04-01  Will Newton  <will.newton@linaro.org>
3588         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3589         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3591 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3593         [BZ #13347]
3594         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3595         * nptl/tst-setuid2.c: New file.
3596         * nptl/Makefile (xtests): Add tst-setuid2.
3598 2014-04-01  Alan Modra  <amodra@gmail.com>
3600         [BZ #16786]
3601         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3603 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3605         [BZ #6803]
3606         [BZ #6804]
3607         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3608         set errno as appropriate.
3609         * math/w_scalbf.c (__scalbf): Likewise.
3610         * math/w_scalbl.c (__scalbl): Likewise.
3611         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3612         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3613         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3614         Add more NaN tests.
3616         [BZ #16349]
3617         * math/w_atan2.c: Include <errno.h>.
3618         (__atan2): Set errno for result underflowing to zero.
3619         * math/w_atan2f.c: Include <errno.h>.
3620         (__atan2f): Set errno for result underflowing to zero.
3621         * math/w_atan2l.c: Include <errno.h>.
3622         (__atan2l): Set errno for result underflowing to zero.
3623         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3624         tests.
3625         * math/auto-libm-test-out: Regenerated.
3627 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3629         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3630         Encode instruction correctly in little endian.
3631         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3632         Likewise.
3633         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3634         Likewise.
3635         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3636         Likewise.
3637         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3638         Likewise.
3640 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3642         [BZ #9894]
3643         * sysdeps/unix/sysv/linux/kernel-features.h
3644         [__sparc__ && !__arch64__ && !__sparc_v9__]
3645         (__ASSUME_SET_ROBUST_LIST): Do not define.
3646         [__sparc__ && !__arch64__ && !__sparc_v9__]
3647         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3648         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3649         Likewise.
3650         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3651         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3652         (__ASSUME_REQUEUE_PI): Likewise.
3653         (__ASSUME_SET_ROBUST_LIST): Likewise.
3654         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3655         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3656         Undefine.
3657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3658         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3659         Likewise.
3660         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3661         Likewise.
3662         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3663         Likewise.
3664         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3665         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3666         Undefine.
3667         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3668         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3669         Likewise.
3671         [BZ #16648]
3672         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3673         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3674         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3676 2014-03-31  Will Newton  <will.newton@linaro.org>
3678         * benchtests/Makefile (bench): Add ffs and ffsll to list
3679         of tests.
3680         * benchtests/ffs-inputs: New file.
3681         * benchtests/ffsll-inputs: Likewise.
3683 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3685         [BZ #16770]
3686         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3687         too large before casting to int.
3688         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3689         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3690         * math/libm-test.inc (scalb_test_data): Add more tests.
3692 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3694         * benchtests/Makefile (DETAILED_OPT): New make option.
3695         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3696         set.
3697         * benchtests/bench-skeleton.c: Include stdbool.h.
3698         (main): Store and print timings per input.
3699         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3700         member to each argument value.
3701         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3702         (_print_arg_data): Initialize per-input timing to 0.
3704         * benchtests/Makefile (timing-type): New binary.
3705         (bench-clean): Also remove bench-timing-type.
3706         (bench): New target for timing-type.
3707         (bench-func): Print output in JSON format.
3708         * benchtests/bench-skeleton.c (main): Print output in JSON
3709         format.
3710         * benchtests/bench-timing-type.c: New file.
3711         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3712         (TIMING_PRINT_STATS): Remove.
3713         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3714         name separately.
3716         * benchtests/bench-modf.c: Remove.
3717         * benchtests/modf-inputs: New inputs file.
3719 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3721         [BZ #16362]
3722         * math/s_clog10.c (M_PI_LOG10E): New macro.
3723         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3724         imaginary parts are 0.
3725         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3726         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3727         imaginary parts are 0.
3728         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3729         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3730         imaginary parts are 0.
3731         * math/libm-test.inc (clog10_test_data): Update expected results
3732         for when real and imaginary parts are 0.
3734 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3736         * elf/dl-load.c: Finish conversion of __builtin_expect into
3737         __glibc_{un}likely.
3739 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3741         [BZ #16348]
3742         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3743         1+x for argument with exponent below -67.
3744         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3745         Likewise.
3746         * math/auto-libm-test-in: Add more tests of exp.
3747         * math/auto-libm-test-out: Regenerated.
3749 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3751         [BZ #16759]
3752         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3753         (nscd_getnetgrent): Use it.
3755         [BZ #16760]
3756         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3757         of stpcpy.
3759 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3761         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3762         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3763         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3764         (lll_robust_unlock): Remove out of line section. Use cfi
3765         intrinsics.
3766         (LLL_STUB_UNWIND_INFO*): Remove.
3767         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3768         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3769         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3770         (lll_robust_unlock): Remove out of line section. Use cfi
3771         intrinsics.
3772         (LLL_STUB_UNWIND_INFO*): Remove.
3774 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3776         [BZ #16758]
3777         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3778         blank values.
3780 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3782         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3784 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3786         [BZ #16198]
3787         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3788         fnstenv.
3789         * math/test-fenv-preserve.c: New file.
3790         * math/Makefile (tests): Add test-fenv-preserve.
3792 2014-03-26  Will Newton <will.newton@linaro.org>
3794         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3796 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3798         * scripts/versionlist.awk: Partition the version sets and emit all
3799         GLIBC_* (sorted) before all others (sorted).
3801 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3803         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3804         GLIBC_2.2.5 version.
3806 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3808         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3809         calls.
3811         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3812         previous change.
3814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3816 2014-03-25  Andreas Schwab  <schwab@suse.de>
3818         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3819         label to be used after in6ailist is initialized.
3821 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3823         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3824         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3826 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3828         [BZ #16357]
3829         [BZ #16599]
3830         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3831         min_plus_half.
3832         (fp_formats): Update initializers.
3833         (init_fp_formats): Initialize new field.
3834         (output_for_one_input_case): Allow underflow for results up to
3835         min_plus_half.
3836         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3837         * math/auto-libm-test-in: Don't mark some underflows from asin and
3838         atanh as spurious.
3839         * math/auto-libm-test-out: Regenerated.
3840         * sysdeps/i386/fpu/libm-test-ulps: Update.
3841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3843 2014-03-25  Andreas Schwab  <schwab@suse.de>
3845         * libio/Makefile (tst-ftell-partial-wide-ENV)
3846         (tst-ftell-active-handler-ENV): Define.
3848 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3850         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3852 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3854         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3856 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3858         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3859         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3860         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3862 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3864         [BZ #16634]
3865         * elf/dl-load.c (open_verify): Add mode parameter.
3866         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3867         (open_path): Change from boolean 'secure' to complete flag 'mode'
3868         (_dl_map_object): Adjust.
3869         * elf/Makefile (tests): Add tst-dlopen-aout.
3870         * elf/tst-dlopen-aout.c: New test.
3872 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3874         [BZ #16714]
3875         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3876         (struct stat): Rename member pad0 to __glibc_reserved0.
3878         [BZ #16712]
3879         * sysdeps/s390/s390-32/bits/wordsize.h
3880         (__WORDSIZE32_SIZE_ULONG): New define.
3881         * sysdeps/s390/s390-64/bits/wordsize.h
3882         (__WORDSIZE32_SIZE_ULONG): Likewise.
3883         * sysdeps/generic/stdint.h (SIZE_MAX):
3884         Define as UL if __WORDSIZE32_SIZE_ULONG.
3886         [BZ #16713]
3887         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3888         (__glibc_reserved0): New variable.
3889         (sa_flags): Change type to int.
3891         * posix/Makefile (before-compile): Use += before-compile instead
3892         of a :=.
3894         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3895         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3897 2014-03-20  Andreas Schwab  <schwab@suse.de>
3899         [BZ #16743]
3900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3901         non-matching result from nscd.
3903 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3905         * scripts/bench.py: Moved to ...
3906         * benchtests/scripts/bench.py: ... here.
3907         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3909 2014-03-24  Andreas Schwab  <schwab@suse.de>
3911         [BZ #16002]
3912         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3913         alloca_account and account alloca use for struct in6ailist.
3915 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3917         [BZ #16284]
3918         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3919         rounding mode to recompute results that overflow to infinity or
3920         underflow to zero.
3921         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3922         bug 16284.
3923         * math/auto-libm-test-out: Regenerated.
3924         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3925         (ccosh_test): Likewise.
3926         (csin_test_data): Use plus_oflow.
3927         (csin_test): Use ALL_RM_TEST.
3928         (csinh_test_data): Use plus_oflow.
3929         (csinh_test): Use ALL_RM_TEST.
3930         * sysdeps/i386/fpu/libm-test-ulps: Update.
3931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3933 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
3935         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3936         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3937         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3939         [BZ #16731]
3940         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3941         when x - 1 is zero.
3942         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3943         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3944         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3945         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3946         argument is 1.
3947         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3948         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3949         zero.
3950         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3951         * sysdeps/i386/fpu/libm-test-ulps: Update.
3952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3954 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3956         * scripts/bench.pl: Remove file.
3957         * scripts/bench.py: New benchmark script.
3958         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3959         * benchtests/README: Mention python dependency.
3960         * scripts/pylintrc: New file.
3961         * scripts/pylint: New file.
3963         * bits/mathdef.h: Use #ifdef instead of #if.
3964         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3965         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3966         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3967         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3968         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3969         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3971 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3972             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3974         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3976         and strpbrk-ppc64 objects.
3977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3978         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3979         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3980         multiarch strpbrk for POWER7.
3981         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3982         multiarch strpbrk for PPC64.
3983         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3984         ifunc selector.
3985         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3986         strpbrk for POWER7.
3988 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3990         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3991         (atan_test): Likewise.
3992         (atanh_test_data): Use NO_TEST_INLINE for two tests.
3993         (atanh_test): Use ALL_RM_TEST.
3994         (atan2_test_data): Likewise.
3995         (cabs_test): Likewise.
3996         (cacosh_test): Likewise.
3997         (carg_test): Likewise.
3998         (casin_test): Likewise.
3999         (casinh_test): Likewise.
4000         (cbrt_test): Likewise.
4001         (csqrt_test): Likewise.
4002         (erf_test): Likewise.
4003         (erfc_test): Likewise.
4004         (pow10_test): Likewise.
4005         (exp2_test): Likewise.
4006         (hypot_test): Likewise.
4007         (j0_test): Likewise.
4008         (j1_test): Likewise.
4009         (lgamma_test): Likewise.
4010         (gamma_test): Likewise.
4011         (sincos_test): Likewise.
4012         (tanh_test): Likewise.
4013         (y0_test): Likewise.
4014         (y1_test): Likewise.
4015         * sysdeps/i386/fpu/libm-test-ulps: Update.
4016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4018 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4020         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4022         and strcspn-ppc64 objects.
4023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4024         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4025         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4026         multiarch strcspn for POWER7.
4027         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4028         multiarch strcspn for PPC64.
4029         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4030         ifunc selector.
4031         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4032         strcspn for POWER7.
4034 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4036         * math/gen-libm-test.pl (generate_testfile): Expect only function
4037         name as argument to AUTO_TESTS_* and pass results for all rounding
4038         modes to parse_args.
4039         (parse_auto_input): Separate inputs of automatic tests from
4040         outputs before storing in %auto_tests.
4041         * math/libm-test.inc (acos_test_data): Update call to
4042         AUTO_TESTS_f_f.
4043         (acos_test): Use ALL_RM_TEST.
4044         (acos_tonearest_test_data): Remove.
4045         (acos_test_tonearest): Likewise.
4046         (acos_towardzero_test_data): Likewise.
4047         (acos_test_towardzero): Likewise.
4048         (acos_downward_test_data): Likewise.
4049         (acos_test_downward): Likewise.
4050         (acos_upward_test_data): Likewise.
4051         (acos_test_upward): Likewise.
4052         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4053         (asin_test_data): Likewise.
4054         (asin_test): Use ALL_RM_TEST.
4055         (asin_tonearest_test_data): Remove.
4056         (asin_test_tonearest): Likewise.
4057         (asin_towardzero_test_data): Likewise.
4058         (asin_test_towardzero): Likewise.
4059         (asin_downward_test_data): Likewise.
4060         (asin_test_downward): Likewise.
4061         (asin_upward_test_data): Likewise.
4062         (asin_test_upward): Likewise.
4063         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4064         (atan_test_data): Likewise.
4065         (atanh_test_data): Likewise.
4066         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4067         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4068         (carg_test_data): Likewise.
4069         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4070         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4071         (ccosh_test_data): Likewise.
4072         (cexp_test_data): Likewise.
4073         (clog_test_data): Likewise.
4074         (clog10_test_data): Likewise.
4075         (cos_test_data): Update call to AUTO_TESTS_f_f.
4076         (cos_test): Use ALL_RM_TEST.
4077         (cos_tonearest_test_data): Remove.
4078         (cos_test_tonearest): Likewise.
4079         (cos_towardzero_test_data): Likewise.
4080         (cos_test_towardzero): Likewise.
4081         (cos_downward_test_data): Likewise.
4082         (cos_test_downward): Likewise.
4083         (cos_upward_test_data): Likewise.
4084         (cos_test_upward): Likewise.
4085         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4086         (cosh_test): Use ALL_RM_TEST.
4087         (cosh_tonearest_test_data): Remove.
4088         (cosh_test_tonearest): Likewise.
4089         (cosh_towardzero_test_data): Likewise.
4090         (cosh_test_towardzero): Likewise.
4091         (cosh_downward_test_data): Likewise.
4092         (cosh_test_downward): Likewise.
4093         (cosh_upward_test_data): Likewise.
4094         (cosh_test_upward): Likewise.
4095         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4096         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4097         (ctan_test_data): Likewise.
4098         (ctan_test): Use ALL_RM_TEST.
4099         (ctan_tonearest_test_data): Remove.
4100         (ctan_test_tonearest): Likewise.
4101         (ctan_towardzero_test_data): Likewise.
4102         (ctan_test_towardzero): Likewise.
4103         (ctan_downward_test_data): Likewise.
4104         (ctan_test_downward): Likewise.
4105         (ctan_upward_test_data): Likewise.
4106         (ctan_test_upward): Likewise.
4107         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4108         (ctanh_test): Use ALL_RM_TEST.
4109         (ctanh_tonearest_test_data): Remove.
4110         (ctanh_test_tonearest): Likewise.
4111         (ctanh_towardzero_test_data): Likewise.
4112         (ctanh_test_towardzero): Likewise.
4113         (ctanh_downward_test_data): Likewise.
4114         (ctanh_test_downward): Likewise.
4115         (ctanh_upward_test_data): Likewise.
4116         (ctanh_test_upward): Likewise.
4117         (erf_test_data): Update call to AUTO_TESTS_f_f.
4118         (erfc_test_data): Likewise.
4119         (exp_test_data): Likewise.
4120         (exp_test): Use ALL_RM_TEST.
4121         (exp_tonearest_test_data): Remove.
4122         (exp_test_tonearest): Likewise.
4123         (exp_towardzero_test_data): Likewise.
4124         (exp_test_towardzero): Likewise.
4125         (exp_downward_test_data): Likewise.
4126         (exp_test_downward): Likewise.
4127         (exp_upward_test_data): Likewise.
4128         (exp_test_upward): Likewise.
4129         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4130         (exp10_test): Use ALL_RM_TEST.
4131         (exp10_tonearest_test_data): Remove.
4132         (exp10_test_tonearest): Likewise.
4133         (exp10_towardzero_test_data): Likewise.
4134         (exp10_test_towardzero): Likewise.
4135         (exp10_downward_test_data): Likewise.
4136         (exp10_test_downward): Likewise.
4137         (exp10_upward_test_data): Likewise.
4138         (exp10_test_upward): Likewise.
4139         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4140         (expm1_test_data): Likewise.
4141         (expm1_test): Use ALL_RM_TEST.
4142         (expm1_tonearest_test_data): Remove.
4143         (expm1_test_tonearest): Likewise.
4144         (expm1_towardzero_test_data): Likewise.
4145         (expm1_test_towardzero): Likewise.
4146         (expm1_downward_test_data): Likewise.
4147         (expm1_test_downward): Likewise.
4148         (expm1_upward_test_data): Likewise.
4149         (expm1_test_upward): Likewise.
4150         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4151         (fma_test): Use ALL_RM_TEST.
4152         (fma_towardzero_test_data): Remove.
4153         (fma_test_towardzero): Likewise.
4154         (fma_downward_test_data): Likewise.
4155         (fma_test_downward): Likewise.
4156         (fma_upward_test_data): Likewise.
4157         (fma_test_upward): Likewise.
4158         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4159         (j0_test_data): Update call to AUTO_TESTS_f_f.
4160         (j1_test_data): Likewise.
4161         (jn_test_data): Update call to AUTO_TESTS_if_f.
4162         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4163         (log_test_data): Update call to AUTO_TESTS_f_f.
4164         (log10_test_data): Likewise.
4165         (log1p_test_data): Likewise.
4166         (log2_test_data): Likewise.
4167         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4168         (pow_tonearest_test_data): Likewise.
4169         (sin_test_data): Update call to AUTO_TESTS_f_f.
4170         (sin_test): Use ALL_RM_TEST.
4171         (sin_tonearest_test_data): Remove.
4172         (sin_test_tonearest): Likewise.
4173         (sin_towardzero_test_data): Likewise.
4174         (sin_test_towardzero): Likewise.
4175         (sin_downward_test_data): Likewise.
4176         (sin_test_downward): Likewise.
4177         (sin_upward_test_data): Likewise.
4178         (sin_test_upward): Likewise.
4179         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4180         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4181         (sinh_test): Use ALL_RM_TEST.
4182         (sinh_tonearest_test_data): Remove.
4183         (sinh_test_tonearest): Likewise.
4184         (sinh_towardzero_test_data): Likewise.
4185         (sinh_test_towardzero): Likewise.
4186         (sinh_downward_test_data): Likewise.
4187         (sinh_test_downward): Likewise.
4188         (sinh_upward_test_data): Likewise.
4189         (sinh_test_upward): Likewise.
4190         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4191         (sqrt_test): Use ALL_RM_TEST.
4192         (sqrt_tonearest_test_data): Remove.
4193         (sqrt_test_tonearest): Likewise.
4194         (sqrt_towardzero_test_data): Likewise.
4195         (sqrt_test_towardzero): Likewise.
4196         (sqrt_downward_test_data): Likewise.
4197         (sqrt_test_downward): Likewise.
4198         (sqrt_upward_test_data): Likewise.
4199         (sqrt_test_upward): Likewise.
4200         (tan_test_data): Update call to AUTO_TESTS_f_f.
4201         (tan_test): Use ALL_RM_TEST.
4202         (tan_tonearest_test_data): Remove.
4203         (tan_test_tonearest): Likewise.
4204         (tan_towardzero_test_data): Likewise.
4205         (tan_test_towardzero): Likewise.
4206         (tan_downward_test_data): Likewise.
4207         (tan_test_downward): Likewise.
4208         (tan_upward_test_data): Likewise.
4209         (tan_test_upward): Likewise.
4210         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4211         (tgamma_test_data): Likewise.
4212         (y0_test_data): Likewise.
4213         (y1_test_data): Likewise.
4214         (yn_test_data): Update call to AUTO_TESTS_if_f.
4215         (main): Do not call removed functions.
4217 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4219         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4220         (ldexp_test_data): Remove.
4221         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4222         scalbn_test_data.
4223         (scalb_test): Use ALL_RM_TEST.
4225 2014-03-19  Andreas Schwab  <schwab@suse.de>
4227         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4229 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4231         [BZ #16649]
4232         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4233         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4234         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4235         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4236         (__ASSUME_PREADV): Undefine.
4237         (__ASSUME_PWRITEV): Likewise.
4239 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4241         * bits/mman-linux.h: Add comment about non-Linux use.
4242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4243         bits/mman-linux.h resting place.
4245         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4246         * bits/mman-linux.h: ... here.
4248 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4250         * conform/conformtest.pl: Add standard definition when calling C
4251         preprocessor on data files.
4252         (checknamespace): Remove unused variable.
4254 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4256         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4257         minus_oflow, plus_uflow and minus_uflow in expected results.
4258         * math/libm-test.inc (scalbn_test_data): Add more tests of
4259         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4260         minus_uflow.
4261         (scalbn_test): Use ALL_RM_TEST.
4262         (scalbln_test_data): Add more tests of negative arguments.  Use
4263         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4264         (scalbln_test): Use ALL_RM_TEST.
4266 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4268         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4270 2014-03-18  Will Newton  <will.newton@linaro.org>
4272         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4273         inaccurate comment.
4275 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4277         * Makerules [!subdir] (check-abi): Exit with error status if a
4278         test failed.
4280 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4282         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4283         for rint.  Include results for all rounding modes.
4284         (nearbyint_test): Use ALL_RM_TEST.
4285         (rint_test_data): Include all tests used for nearbyint.
4287 2014-03-17  Will Newton  <will.newton@linaro.org>
4289         * nptl/sysdeps/pthread/pthread.h: Revert previous
4290         change.
4292         * sysdeps/generic/ldsodefs.h: Revert previous
4293         change.
4295         * libio/genops.c: Revert previous change.
4296         * libio/libioP.h: Likewise.
4297         * stdio-common/vfprintf.c: Likewise.
4299         * sysdeps/generic/math_private.h: Revert previous
4300         change.
4302         * sysdeps/generic/math_private.h: Check whether
4303         HAVE_RM_CTX is defined with #ifdef rather
4304         than #if.
4306         * argp/argp-fmtstream.h: Check whether
4307         __STRICT_ANSI__ is defined with #ifdef rather
4308         than #if.
4309         * argp/argp.h: Likewise.
4311         * libio/genops.c: Check whether
4312         _IO_JUMPS_OFFSET is defined with #ifdef rather
4313         than #if.
4314         * libio/libioP.h: Likewise.
4315         * stdio-common/vfprintf.c: Likewise.
4317         * sysdeps/generic/ldsodefs.h: Check whether
4318         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4319         than #if.
4321         * nptl/sysdeps/pthread/pthread.h: Check
4322         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4323         its value.
4325 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4327         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4328         setting O_APPEND.
4329         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4330         test case.
4332         [BZ #16680]
4333         * libio/fileops.c (_IO_file_open): Seek to end of file but
4334         don't cache the offset.
4335         (get_file_offset): Remove function.
4336         (do_ftell): Use cached offset when available.
4337         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4338         don't cache the offset.
4339         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4340         case.
4341         (do_one_test): Call it.
4342         (do_ftell_test): Fix up expected old offset for a+ mode.
4343         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4344         available.
4346         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4347         up test status with function return status.
4348         (do_write_test): Likewise.
4349         (do_append_test): Likewise.
4351         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4352         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4353         Remove.
4355 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4357         * math/gen-libm-test.pl (parse_args): Handle results specified for
4358         each rounding mode separately.
4359         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4360         tests and results from lrint_tonearest_test_data,
4361         lrint_towardzero_test_data, lrint_downward_test_data and
4362         lrint_upward_test_data.
4363         (lrint_test): Use ALL_RM_TEST.
4364         (lrint_tonearest_test_data): Remove.
4365         (lrint_test_tonearest): Likewise.
4366         (lrint_towardzero_test_data): Likewise.
4367         (lrint_test_towardzero): Likewise.
4368         (lrint_downward_test_data): Likewise.
4369         (lrint_test_downward): Likewise.
4370         (lrint_upward_test_data): Likewise.
4371         (lrint_test_upward): Likewise.
4372         (llrint_test_data): Merge in per-rounding-mode tests and results
4373         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4374         llrint_downward_test_data and llrint_upward_test_data.
4375         (llrint_test): Use ALL_RM_TEST.
4376         (llrint_tonearest_test_data): Remove.
4377         (llrint_test_tonearest): Likewise.
4378         (llrint_towardzero_test_data): Likewise.
4379         (llrint_test_towardzero): Likewise.
4380         (llrint_downward_test_data): Likewise.
4381         (llrint_test_downward): Likewise.
4382         (llrint_upward_test_data): Likewise.
4383         (llrint_test_upward): Likewise.
4384         (rint_test_data): Merge in per-rounding-mode tests and results
4385         from rint_tonearest_test_data, rint_towardzero_test_data,
4386         rint_downward_test_data and rint_upward_test_data.  Add
4387         per-rounding-mode results for tests not in those arrays.
4388         (rint_test): Use ALL_RM_TEST.
4389         (rint_tonearest_test_data): Remove.
4390         (rint_test_tonearest): Likewise.
4391         (rint_towardzero_test_data): Likewise.
4392         (rint_test_towardzero): Likewise.
4393         (rint_downward_test_data): Likewise.
4394         (rint_test_downward): Likewise.
4395         (rint_upward_test_data): Likewise.
4396         (rint_test_upward): Likewise.
4397         (main): Don't call removed functions.
4399 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4401         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4402         "Compiled on ..." crapola.  It is anti-useful.
4404 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4406         * scripts/evaluate-test.sh: Handle fourth argument to determine
4407         whether test run should stop on failure.
4408         * Makeconfig (stop-on-test-failure): New variable.
4409         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4410         $(stop-on-test-failure).
4411         * Makefile (tests): Give a summary of results from testing and
4412         exit with failure status if they include an ERROR or FAIL.
4413         (xtests): Likewise.
4414         * manual/install.texi (Configuring and compiling): Mention
4415         stop-on-test-failure=y.
4416         * INSTALL: Regenerated.
4418 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4420         * scripts/versionlist.awk: New file.
4421         * Makerules [$(build-shared) = yes]
4422         (postclean-generated): Add Versions.def, not Versions.def.v and
4423         Versions.def.v.i.
4424         ($(common-objpfx)Versions.def.v.i): Target removed.
4425         ($(common-objpfx)Versions.def): New target.
4426         ($(common-objpfx)Versions.all): Depend on that rather that
4427         $(common-objpfx)Versions.def.v.
4428         * Versions.def: File removed.
4430         * Makeconfig (+gccwarn): Add -Wundef.
4431         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4432         a dl-sysdep.h breaking its contract.
4433         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4434         * include/stackinfo.h: New file.
4435         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4436         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4437         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4438         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4439         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4440         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4441         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4442         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4443         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4444         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4445         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4446         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4447         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4448         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4449         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4451 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4453         [BZ #16707]
4454         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4455         implementation.
4456         * math/libm-test.inc (round_test_data): Add more tests.
4458         [BZ #16706]
4459         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4460         implementation.
4461         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4463         [BZ #16701]
4464         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4465         implementation.
4466         * math/libm-test.inc (ceil_test_data): Add more tests.
4468         * math/libm-test.inc (trunc_test_data): Add more tests related to
4469         BZ#16414.
4471 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4473         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4474         with #if rather than #ifdef.
4475         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4477 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4479         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4480         first.  Disable AVX-512 GCC support if assembler doesn't support
4481         it.
4482         * sysdeps/x86_64/configure: Regenerated.
4484 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4486         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4487         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4488         (__old_pthread_attr_setstack): Likewise.
4489         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4490         [!_STACK_GROWS_DOWN]: Likewise.
4492 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4494         * config.make.in (have-bash2): Delete.
4495         * configure.ac (libc_cv_have_bash2): Delete.
4496         * configure: Regenerate.
4497         * elf/Makefile (common-ldd-rewrite): Rename to ...
4498         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4499         (sh-ldd-rewrite): Delete.
4500         (bash-ldd-rewrite): Delete.
4501         (have-bash2): Delete checks.
4502         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4503         ldd-rewrite.
4505         * config.make.in (have-ksh): Delete.
4506         (KSH): Delete.
4507         * configure.ac (libc_cv_have_ksh): Delete.
4508         * configure: Regenerate.
4510         * elf/Makefile: Delete $(have-ksh) check.
4511         ($(objpfx)sotruss): Change KSH to BASH.
4512         * elf/sotruss.ksh: Rename to ...
4513         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4514         function style to match POSIX.  Drop ksh vim mode setting.
4516         * manual/time.texi (Specifying the Time Zone with TZ): Change
4517         Tuesday to Thursday.
4519         * debug/tst-longjmp_chk2.c: Update header comment.
4520         (stackoverflow_handler): Add comment.  Call assert on pass value.
4522 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4524         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4525         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4526         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4527         (La_x86_64_vector): Add zmm.
4528         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4529         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4530         ($(objpfx)tst-audit10): New target.
4531         ($(objpfx)tst-audit10.out): Likewise.
4532         (tst-audit10-ENV): New.
4533         (AVX512-CFLAGS): Likewise.
4534         (CFLAGS-tst-audit10.c): Likewise.
4535         (CFLAGS-tst-auditmod10a.c): Likewise.
4536         (CFLAGS-tst-auditmod10b.c): Likewise.
4537         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4538         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4539         * sysdeps/x86_64/configure: Regenerated.
4540         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4541         AVX-512 zmm register support.
4542         (_dl_x86_64_save_sse): Likewise.
4543         (_dl_x86_64_restore_sse): Likewise.
4544         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4545         size vector registers.
4546         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4547         (ZMM_SIZE): Likewise.
4548         * sysdeps/x86_64/tst-audit10.c: New file.
4549         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4550         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4552 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4554         * configure.ac (HAVE_EHDR_START): New check.
4555         * configure: Regenerated.
4556         * config.h.in (HAVE_EHDR_START): New #undef.
4557         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4558         assuming the lowest-addressed segment maps the start of the file.
4560 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4562         * INSTALL: Regenerated.
4564 2014-03-13  Will Newton  <will.newton@linaro.org>
4566         * manual/setjmp.texi (System V contexts): Improve
4567         clarity and grammar of documentation.
4569 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4571         [BZ #16381]
4572         * elf/Makefile (tests): Add tst-pie2.
4573         (tests-pie): Add tst-pie2.
4574         * elf/tst-pie2.c: New file.
4575         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4576         for ET_EXEC.
4577         * elf/rtld.c (map_doit): Load executable as lt_executable.
4578         (dl_main): Likewise.
4580 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4582         [BZ #16642]
4583         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4584         (__ASSUME_PSELECT): Undefine.
4586 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4588         [BZ #16689]
4589         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4590         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4591         static build.
4592         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4593         selector for static builds.
4595 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4597         [BZ #16695]
4598         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4599         key in the buffer.
4601 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4603         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4604         IFUNC selector for static builds.
4606 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4608         * sysdeps/mips/math_private.h [__mips_hard_float]
4609         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4610         libc_feresetround_mips_ctx.
4611         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4612         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4613         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4615         [BZ #16677]
4616         * math/s_nextafter.c (__nextafter): Do not return value from
4617         overflowing computation.
4618         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4619         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4620         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4621         Likewise.
4622         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4623         Likewise.
4624         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4625         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4627 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4629         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4630         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4631         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4632         the new mov targetting sp.
4634 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4636         [BZ #16683]
4637         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4638         Define it for static builds as well.
4639         (NO_BZERO_IMPL): Likewise.
4641 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4643         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4644         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4645         multiarch strspn for PPC64.
4646         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4647         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4649         (__libc_ifunc_impl_list): Likewise.
4650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4651         multiarch optimizations
4652         * string/strspn.c (strspn): Using macro to redefine symbol name.
4654 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4655             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4657         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4658         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4659         multiarch strncat for PPC64.
4660         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4661         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4663         (__libc_ifunc_impl_list): Likewise.
4664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4665         multiarch optimizations
4667 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4669         [BZ #16639]
4670         * nscd/nscd.service: Make service type forking.
4672 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4674         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4675         sign in non default rounding modes.
4676         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4678 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4680         * math/libm-test.inc (ALL_RM_TEST): New macro.
4681         (ceil_test): Use ALL_RM_TEST.
4682         (cimag_test): Likewise.
4683         (conj_test): Likewise.
4684         (copysign_test): Likewise.
4685         (cproj_test): Likewise.
4686         (creal_test): Likewise.
4687         (fabs_test): Likewise.
4688         (floor_test): Likewise.
4689         (fmax_test): Likewise.
4690         (fmin_test): Likewise.
4691         (fmod_test): Likewise.
4692         (fpclassify_test): Likewise.
4693         (frexp_test): Likewise.
4694         (ilogb_test): Likewise.
4695         (isfinite_test): Likewise.
4696         (finite_test): Likewise.
4697         (isgreater_test): Likewise.
4698         (isgreaterequal_test): Likewise.
4699         (isinf_test): Likewise.
4700         (isless_test): Likewise.
4701         (islessequal_test): Likewise.
4702         (islessgreater_test): Likewise.
4703         (isnan_test): Likewise.
4704         (isnormal_test): Likewise.
4705         (issignaling_test): Likewise.
4706         (isunordered_test): Likewise.
4707         (logb_test): Likewise.
4708         (logb_downward_test_data): Remove.
4709         (logb_test_downward): Likewise.
4710         (lround_test): Use ALL_RM_TEST.
4711         (llround_test): Likewise.
4712         (modf_test): Likewise.
4713         (nexttoward_test): Likewise.
4714         (remainder_test): Likewise.
4715         (drem_test): Likewise.
4716         (remainder_tonearest_test_data): Likewise.
4717         (remainder_test_tonearest): Likewise.
4718         (drem_test_tonearest): Likewise.
4719         (remainder_towardzero_test_data): Likewise.
4720         (remainder_test_towardzero): Likewise.
4721         (drem_test_towardzero): Likewise.
4722         (remainder_downward_test_data): Likewise.
4723         (remainder_test_downward): Likewise.
4724         (drem_test_downward): Likewise.
4725         (remainder_upward_test_data): Likewise.
4726         (remainder_test_upward): Likewise.
4727         (drem_test_upward): Likewise.
4728         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4729         (round_test): Use ALL_RM_TEST.
4730         (signbit_test): Likewise.
4731         (trunc_test): Likewise.
4732         (significand_test): Likewise.
4733         (main): Don't call removed functions.
4735 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4737         [BZ #16674]
4738         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4739         || __USE_XOPEN2K8].
4740         (ILL_ILLOPN): Likewise.
4741         (ILL_ILLADR): Likewise.
4742         (ILL_ILLTRP): Likewise.
4743         (ILL_PRVOPC): Likewise.
4744         (ILL_PRVREG): Likewise.
4745         (ILL_COPROC): Likewise.
4746         (ILL_BADSTK): Likewise.
4747         (FPE_INTDIV): Likewise.
4748         (FPE_INTOVF): Likewise.
4749         (FPE_FLTDIV): Likewise.
4750         (FPE_FLTOVF): Likewise.
4751         (FPE_FLTUND): Likewise.
4752         (FPE_FLTRES): Likewise.
4753         (FPE_FLTINV): Likewise.
4754         (FPE_FLTSUB): Likewise.
4755         (SEGV_MAPERR): Likewise.
4756         (SEGV_ACCERR): Likewise.
4757         (BUS_ADRALN): Likewise.
4758         (BUS_ADRERR): Likewise.
4759         (BUS_OBJERR): Likewise.
4760         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4761         (TRAP_TRACE): Likewise.
4762         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4763         __USE_XOPEN2K8].
4764         (CLD_KILLED): Likewise.
4765         (CLD_DUMPED): Likewise.
4766         (CLD_TRAPPED): Likewise.
4767         (CLD_STOPPED): Likewise.
4768         (CLD_CONTINUED): Likewise.
4769         (POLL_IN): Likewise.
4770         (POLL_OUT): Likewise.
4771         (POLL_MSG): Likewise.
4772         (POLL_ERR): Likewise.
4773         (POLL_PRI): Likewise.
4774         (POLL_HUP): Likewise.
4775         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4776         Likewise.
4777         (ILL_ILLOPN): Likewise.
4778         (ILL_ILLADR): Likewise.
4779         (ILL_ILLTRP): Likewise.
4780         (ILL_PRVOPC): Likewise.
4781         (ILL_PRVREG): Likewise.
4782         (ILL_COPROC): Likewise.
4783         (ILL_BADSTK): Likewise.
4784         (FPE_INTDIV): Likewise.
4785         (FPE_INTOVF): Likewise.
4786         (FPE_FLTDIV): Likewise.
4787         (FPE_FLTOVF): Likewise.
4788         (FPE_FLTUND): Likewise.
4789         (FPE_FLTRES): Likewise.
4790         (FPE_FLTINV): Likewise.
4791         (FPE_FLTSUB): Likewise.
4792         (SEGV_MAPERR): Likewise.
4793         (SEGV_ACCERR): Likewise.
4794         (BUS_ADRALN): Likewise.
4795         (BUS_ADRERR): Likewise.
4796         (BUS_OBJERR): Likewise.
4797         (BUS_MCEERR_AR): Likewise.
4798         (BUS_MCEERR_AO): Likewise.
4799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4800         (TRAP_TRACE): Likewise.
4801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4802         __USE_XOPEN2K8].
4803         (CLD_KILLED): Likewise.
4804         (CLD_DUMPED): Likewise.
4805         (CLD_TRAPPED): Likewise.
4806         (CLD_STOPPED): Likewise.
4807         (CLD_CONTINUED): Likewise.
4808         (POLL_IN): Likewise.
4809         (POLL_OUT): Likewise.
4810         (POLL_MSG): Likewise.
4811         (POLL_ERR): Likewise.
4812         (POLL_PRI): Likewise.
4813         (POLL_HUP): Likewise.
4814         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4815         (ILL_ILLOPN): Likewise.
4816         (ILL_ILLADR): Likewise.
4817         (ILL_ILLTRP): Likewise.
4818         (ILL_PRVOPC): Likewise.
4819         (ILL_PRVREG): Likewise.
4820         (ILL_COPROC): Likewise.
4821         (ILL_BADSTK): Likewise.
4822         (FPE_INTDIV): Likewise.
4823         (FPE_INTOVF): Likewise.
4824         (FPE_FLTDIV): Likewise.
4825         (FPE_FLTOVF): Likewise.
4826         (FPE_FLTUND): Likewise.
4827         (FPE_FLTRES): Likewise.
4828         (FPE_FLTINV): Likewise.
4829         (FPE_FLTSUB): Likewise.
4830         (SEGV_MAPERR): Likewise.
4831         (SEGV_ACCERR): Likewise.
4832         (BUS_ADRALN): Likewise.
4833         (BUS_ADRERR): Likewise.
4834         (BUS_OBJERR): Likewise.
4835         (BUS_MCEERR_AR): Likewise.
4836         (BUS_MCEERR_AO): Likewise.
4837         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4838         (TRAP_TRACE): Likewise.
4839         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4840         __USE_XOPEN2K8].
4841         (CLD_KILLED): Likewise.
4842         (CLD_DUMPED): Likewise.
4843         (CLD_TRAPPED): Likewise.
4844         (CLD_STOPPED): Likewise.
4845         (CLD_CONTINUED): Likewise.
4846         (POLL_IN): Likewise.
4847         (POLL_OUT): Likewise.
4848         (POLL_MSG): Likewise.
4849         (POLL_ERR): Likewise.
4850         (POLL_PRI): Likewise.
4851         (POLL_HUP): Likewise.
4852         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4853         Likewise.
4854         (ILL_ILLOPN): Likewise.
4855         (ILL_ILLADR): Likewise.
4856         (ILL_ILLTRP): Likewise.
4857         (ILL_PRVOPC): Likewise.
4858         (ILL_PRVREG): Likewise.
4859         (ILL_COPROC): Likewise.
4860         (ILL_BADSTK): Likewise.
4861         (ILL_BADIADDR): Likewise.
4862         (ILL_BREAK): Likewise.
4863         (FPE_INTDIV): Likewise.
4864         (FPE_INTOVF): Likewise.
4865         (FPE_FLTDIV): Likewise.
4866         (FPE_FLTOVF): Likewise.
4867         (FPE_FLTUND): Likewise.
4868         (FPE_FLTRES): Likewise.
4869         (FPE_FLTINV): Likewise.
4870         (FPE_FLTSUB): Likewise.
4871         (FPE_DECOVF): Likewise.
4872         (FPE_DECDIV): Likewise.
4873         (FPE_DECERR): Likewise.
4874         (FPE_INVASC): Likewise.
4875         (FPE_INVDEC): Likewise.
4876         (SEGV_MAPERR): Likewise.
4877         (SEGV_ACCERR): Likewise.
4878         (SEGV_PSTKOVF): Likewise.
4879         (BUS_ADRALN): Likewise.
4880         (BUS_ADRERR): Likewise.
4881         (BUS_OBJERR): Likewise.
4882         (BUS_MCEERR_AR): Likewise.
4883         (BUS_MCEERR_AO): Likewise.
4884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4885         (TRAP_TRACE): Likewise.
4886         (TRAP_BRANCH): Likewise.
4887         (TRAP_HWBKPT): Likewise.
4888         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4889         __USE_XOPEN2K8].
4890         (CLD_KILLED): Likewise.
4891         (CLD_DUMPED): Likewise.
4892         (CLD_TRAPPED): Likewise.
4893         (CLD_STOPPED): Likewise.
4894         (CLD_CONTINUED): Likewise.
4895         (POLL_IN): Likewise.
4896         (POLL_OUT): Likewise.
4897         (POLL_MSG): Likewise.
4898         (POLL_ERR): Likewise.
4899         (POLL_PRI): Likewise.
4900         (POLL_HUP): Likewise.
4901         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4902         (ILL_ILLOPN): Likewise.
4903         (ILL_ILLADR): Likewise.
4904         (ILL_ILLTRP): Likewise.
4905         (ILL_PRVOPC): Likewise.
4906         (ILL_PRVREG): Likewise.
4907         (ILL_COPROC): Likewise.
4908         (ILL_BADSTK): Likewise.
4909         (FPE_INTDIV): Likewise.
4910         (FPE_INTOVF): Likewise.
4911         (FPE_FLTDIV): Likewise.
4912         (FPE_FLTOVF): Likewise.
4913         (FPE_FLTUND): Likewise.
4914         (FPE_FLTRES): Likewise.
4915         (FPE_FLTINV): Likewise.
4916         (FPE_FLTSUB): Likewise.
4917         (SEGV_MAPERR): Likewise.
4918         (SEGV_ACCERR): Likewise.
4919         (BUS_ADRALN): Likewise.
4920         (BUS_ADRERR): Likewise.
4921         (BUS_OBJERR): Likewise.
4922         (BUS_MCEERR_AR): Likewise.
4923         (BUS_MCEERR_AO): Likewise.
4924         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4925         (TRAP_TRACE): Likewise.
4926         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4927         __USE_XOPEN2K8].
4928         (CLD_KILLED): Likewise.
4929         (CLD_DUMPED): Likewise.
4930         (CLD_TRAPPED): Likewise.
4931         (CLD_STOPPED): Likewise.
4932         (CLD_CONTINUED): Likewise.
4933         (POLL_IN): Likewise.
4934         (POLL_OUT): Likewise.
4935         (POLL_MSG): Likewise.
4936         (POLL_ERR): Likewise.
4937         (POLL_PRI): Likewise.
4938         (POLL_HUP): Likewise.
4939         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4940         (ILL_ILLOPN): Likewise.
4941         (ILL_ILLADR): Likewise.
4942         (ILL_ILLTRP): Likewise.
4943         (ILL_PRVOPC): Likewise.
4944         (ILL_PRVREG): Likewise.
4945         (ILL_COPROC): Likewise.
4946         (ILL_BADSTK): Likewise.
4947         (FPE_INTDIV): Likewise.
4948         (FPE_INTOVF): Likewise.
4949         (FPE_FLTDIV): Likewise.
4950         (FPE_FLTOVF): Likewise.
4951         (FPE_FLTUND): Likewise.
4952         (FPE_FLTRES): Likewise.
4953         (FPE_FLTINV): Likewise.
4954         (FPE_FLTSUB): Likewise.
4955         (SEGV_MAPERR): Likewise.
4956         (SEGV_ACCERR): Likewise.
4957         (BUS_ADRALN): Likewise.
4958         (BUS_ADRERR): Likewise.
4959         (BUS_OBJERR): Likewise.
4960         (BUS_MCEERR_AR): Likewise.
4961         (BUS_MCEERR_AO): Likewise.
4962         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4963         (TRAP_TRACE): Likewise.
4964         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4965         __USE_XOPEN2K8].
4966         (CLD_KILLED): Likewise.
4967         (CLD_DUMPED): Likewise.
4968         (CLD_TRAPPED): Likewise.
4969         (CLD_STOPPED): Likewise.
4970         (CLD_CONTINUED): Likewise.
4971         (POLL_IN): Likewise.
4972         (POLL_OUT): Likewise.
4973         (POLL_MSG): Likewise.
4974         (POLL_ERR): Likewise.
4975         (POLL_PRI): Likewise.
4976         (POLL_HUP): Likewise.
4977         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4978         (ILL_ILLOPN): Likewise.
4979         (ILL_ILLADR): Likewise.
4980         (ILL_ILLTRP): Likewise.
4981         (ILL_PRVOPC): Likewise.
4982         (ILL_PRVREG): Likewise.
4983         (ILL_COPROC): Likewise.
4984         (ILL_BADSTK): Likewise.
4985         (FPE_INTDIV): Likewise.
4986         (FPE_INTOVF): Likewise.
4987         (FPE_FLTDIV): Likewise.
4988         (FPE_FLTOVF): Likewise.
4989         (FPE_FLTUND): Likewise.
4990         (FPE_FLTRES): Likewise.
4991         (FPE_FLTINV): Likewise.
4992         (FPE_FLTSUB): Likewise.
4993         (SEGV_MAPERR): Likewise.
4994         (SEGV_ACCERR): Likewise.
4995         (BUS_ADRALN): Likewise.
4996         (BUS_ADRERR): Likewise.
4997         (BUS_OBJERR): Likewise.
4998         (BUS_MCEERR_AR): Likewise.
4999         (BUS_MCEERR_AO): Likewise.
5000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5001         (TRAP_TRACE): Likewise.
5002         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5003         __USE_XOPEN2K8].
5004         (CLD_KILLED): Likewise.
5005         (CLD_DUMPED): Likewise.
5006         (CLD_TRAPPED): Likewise.
5007         (CLD_STOPPED): Likewise.
5008         (CLD_CONTINUED): Likewise.
5009         (POLL_IN): Likewise.
5010         (POLL_OUT): Likewise.
5011         (POLL_MSG): Likewise.
5012         (POLL_ERR): Likewise.
5013         (POLL_PRI): Likewise.
5014         (POLL_HUP): Likewise.
5015         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5016         (ILL_ILLOPN): Likewise.
5017         (ILL_ILLADR): Likewise.
5018         (ILL_ILLTRP): Likewise.
5019         (ILL_PRVOPC): Likewise.
5020         (ILL_PRVREG): Likewise.
5021         (ILL_COPROC): Likewise.
5022         (ILL_BADSTK): Likewise.
5023         (ILL_DBLFLT): Likewise.
5024         (ILL_HARDWALL): Likewise.
5025         (FPE_INTDIV): Likewise.
5026         (FPE_INTOVF): Likewise.
5027         (FPE_FLTDIV): Likewise.
5028         (FPE_FLTOVF): Likewise.
5029         (FPE_FLTUND): Likewise.
5030         (FPE_FLTRES): Likewise.
5031         (FPE_FLTINV): Likewise.
5032         (FPE_FLTSUB): Likewise.
5033         (SEGV_MAPERR): Likewise.
5034         (SEGV_ACCERR): Likewise.
5035         (BUS_ADRALN): Likewise.
5036         (BUS_ADRERR): Likewise.
5037         (BUS_OBJERR): Likewise.
5038         (BUS_MCEERR_AR): Likewise.
5039         (BUS_MCEERR_AO): Likewise.
5040         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5041         (TRAP_TRACE): Likewise.
5042         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5043         __USE_XOPEN2K8].
5044         (CLD_KILLED): Likewise.
5045         (CLD_DUMPED): Likewise.
5046         (CLD_TRAPPED): Likewise.
5047         (CLD_STOPPED): Likewise.
5048         (CLD_CONTINUED): Likewise.
5049         (POLL_IN): Likewise.
5050         (POLL_OUT): Likewise.
5051         (POLL_MSG): Likewise.
5052         (POLL_ERR): Likewise.
5053         (POLL_PRI): Likewise.
5054         (POLL_HUP): Likewise.
5055         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5056         (ILL_ILLOPN): Likewise.
5057         (ILL_ILLADR): Likewise.
5058         (ILL_ILLTRP): Likewise.
5059         (ILL_PRVOPC): Likewise.
5060         (ILL_PRVREG): Likewise.
5061         (ILL_COPROC): Likewise.
5062         (ILL_BADSTK): Likewise.
5063         (FPE_INTDIV): Likewise.
5064         (FPE_INTOVF): Likewise.
5065         (FPE_FLTDIV): Likewise.
5066         (FPE_FLTOVF): Likewise.
5067         (FPE_FLTUND): Likewise.
5068         (FPE_FLTRES): Likewise.
5069         (FPE_FLTINV): Likewise.
5070         (FPE_FLTSUB): Likewise.
5071         (SEGV_MAPERR): Likewise.
5072         (SEGV_ACCERR): Likewise.
5073         (BUS_ADRALN): Likewise.
5074         (BUS_ADRERR): Likewise.
5075         (BUS_OBJERR): Likewise.
5076         (BUS_MCEERR_AR): Likewise.
5077         (BUS_MCEERR_AO): Likewise.
5078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5079         (TRAP_TRACE): Likewise.
5080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5081         __USE_XOPEN2K8].
5082         (CLD_KILLED): Likewise.
5083         (CLD_DUMPED): Likewise.
5084         (CLD_TRAPPED): Likewise.
5085         (CLD_STOPPED): Likewise.
5086         (CLD_CONTINUED): Likewise.
5087         (POLL_IN): Likewise.
5088         (POLL_OUT): Likewise.
5089         (POLL_MSG): Likewise.
5090         (POLL_ERR): Likewise.
5091         (POLL_PRI): Likewise.
5092         (POLL_HUP): Likewise.
5093         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5094         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5096         [BZ #16670]
5097         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5098         before #include of <time.h>.
5099         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5100         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5101         (test-xfail-UNIX98/sched.h/conform): Likewise.
5103 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5105         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5106         error absence of trapping exception support.
5107         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5109 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5111         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5112         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5113         * timezone/Makefile (testdata): Move definition above include of
5114         Rules.
5115         (test-zones): New variable.
5116         (tests-special): Add zone files.
5117         (build-testdata): Use $(evaluate-test).
5119         * elf/Makefile (tests-special): Rename tests to end with .out.
5120         ($(objpfx)noload-mem): Likewise.
5121         ($(objpfx)tst-leaks1-mem): Likewise.
5122         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5123         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5124         $(objpfx)test-iconvconfig.out.
5125         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5126         set -e inside subshell and redirect output to file.
5127         * iconvdata/Makefile (generated): Rename tests to end with .out.
5128         Correct type.
5129         (tests-special): Rename tests to end with .out.
5130         ($(objpfx)mtrace-tst-loading): Likewise.
5131         * intl/Makefile (generated): Likewise.
5132         (tests-special): Likewise.
5133         ($(objpfx)mtrace-tst-gettext): Likewise.
5134         * misc/Makefile (generated): Likewise.
5135         (tests-special): Likewise.
5136         ($(objpfx)tst-error1-mem): Likewise.
5137         * nptl/Makefile (tests-special): Likewise.
5138         ($(objpfx)tst-stack3-mem): Likewise.
5139         (generated): Likewise.
5140         * posix/Makefile (generated): Likewise.
5141         (tests-special): Likewise.
5142         (xtests-special): Likewise.
5143         ($(objpfx)tst-fnmatch-mem): Likewise.
5144         ($(objpfx)bug-regex2-mem): Likewise.
5145         ($(objpfx)bug-regex14-mem): Likewise.
5146         ($(objpfx)bug-regex21-mem): Likewise.
5147         ($(objpfx)bug-regex31-mem): Likewise.
5148         ($(objpfx)tst-vfork3-mem): Likewise.
5149         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5150         ($(objpfx)tst-pcre-mem): Likewise.
5151         ($(objpfx)tst-boost-mem): Likewise.
5152         ($(objpfx)bug-ga2-mem): Likewise.
5153         ($(objpfx)bug-glob2-mem): Likewise.
5154         * resolv/Makefile (generate): Likewise.
5155         (tests-special): Likewise.
5156         (xtests-special): Likewise.
5157         (generated): Likewise.
5158         ($(objpfx)mtrace-tst-leaks): Likewise.
5159         ($(objpfx)mtrace-tst-leaks2): Likewise.
5161         * scripts/merge-test-results.sh: New file.
5162         * Makefile (tests-special-notdir): New variable.
5163         (tests): Run merge-test-results.sh.
5164         (xtests): Likewise.
5165         * Rules (tests-special-notdir): New variable.
5166         (xtests-special-notdir): Likewise.
5167         (tests): Run merge-test-results.sh
5168         (xtests): Likewise.
5170         * Makeconfig (test-xfail-name): New variable.
5171         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5172         compute variable name for expected failures.
5173         * conform/Makefile (conformtest-headers-data): New variable.
5174         (conformtest-standards): Likewise.
5175         (conformtest-headers-ISO): Likewise.
5176         (conformtest-headers-ISO99): Likewise.
5177         (conformtest-headers-ISO11): Likewise.
5178         (conformtest-headers-POSIX): Likewise.
5179         (conformtest-headers-XPG3): Likewise.
5180         (conformtest-headers-XPG4): Likewise.
5181         (conformtest-headers-UNIX98): Likewise.
5182         (conformtest-headers-XOPEN2K): Likewise.
5183         (conformtest-headers-POSIX2008): Likewise.
5184         (conformtest-headers-XOPEN2K8): Likewise.
5185         (conformtest-header-list-base): Likewise.
5186         (conformtest-header-list-tests): Likewise.
5187         (conformtest-header-base): Likewise.
5188         (conformtest-header-tests): Likewise.
5189         (tests-special): Add $(conformtest-header-list-tests).  If
5190         [$(fast-check) && !$(cross-compiling)], add
5191         $(conformtest-header-tests) instead of
5192         $(objpfx)run-conformtest.out.
5193         (generated): Add $(conformtest-header-list-base).  If
5194         [$(fast-check) && !$(cross-compiling)], add
5195         $(conformtest-header-base).  Remove previous setting.
5196         ($(conformtest-header-list-tests)): New target.
5197         (test-xfail-run-conformtest): Remove variable.
5198         ($(objpfx)run-conformtest.out): Remove target.
5199         (test-xfail-ISO11/complex.h/conform): New variable.
5200         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5201         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5202         (test-xfail-XPG3/varargs.h/conform): Likewise.
5203         (test-xfail-XPG4/varargs.h/conform): Likewise.
5204         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5205         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5206         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5207         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5208         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5209         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5210         (test-xfail-XPG3/ftw.h/conform): Likewise.
5211         (test-xfail-XPG3/grp.h/conform): Likewise.
5212         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5213         (test-xfail-XPG3/limits.h/conform): Likewise.
5214         (test-xfail-XPG3/pwd.h/conform): Likewise.
5215         (test-xfail-XPG3/search.h/conform): Likewise.
5216         (test-xfail-XPG3/signal.h/conform): Likewise.
5217         (test-xfail-XPG3/stdio.h/conform): Likewise.
5218         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5219         (test-xfail-XPG3/string.h/conform): Likewise.
5220         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5221         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5222         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5223         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5224         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5225         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5226         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5227         (test-xfail-XPG3/termios.h/conform): Likewise.
5228         (test-xfail-XPG3/time.h/conform): Likewise.
5229         (test-xfail-XPG3/unistd.h/conform): Likewise.
5230         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5231         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5232         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5233         (test-xfail-XPG4/netdb.h/conform): Likewise.
5234         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5235         (test-xfail-XPG4/signal.h/conform): Likewise.
5236         (test-xfail-XPG4/stdio.h/conform): Likewise.
5237         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5238         (test-xfail-XPG4/stropts.h/conform): Likewise.
5239         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5240         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5241         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5242         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5243         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5244         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5245         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5246         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5247         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5248         (test-xfail-XPG4/termios.h/conform): Likewise.
5249         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5250         (test-xfail-XPG4/unistd.h/conform): Likewise.
5251         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5252         (test-xfail-POSIX/sched.h/conform): Likewise.
5253         (test-xfail-POSIX/signal.h/conform): Likewise.
5254         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5255         (test-xfail-POSIX/tar.h/conform): Likewise.
5256         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5257         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5258         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5259         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5260         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5261         (test-xfail-UNIX98/sched.h/conform): Likewise.
5262         (test-xfail-UNIX98/signal.h/conform): Likewise.
5263         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5264         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5265         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5266         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5267         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5268         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5269         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5270         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5271         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5272         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5273         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5274         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5275         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5276         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5277         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5278         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5279         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5280         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5281         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5282         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5283         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5284         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5285         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5286         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5287         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5288         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5289         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5290         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5291         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5292         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5293         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5294         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5295         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5296         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5297         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5298         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5299         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5300         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5301         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5302         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5303         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5304         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5305         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5306         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5307         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5308         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5309         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5310         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5311         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5312         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5313         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5314         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5315         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5316         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5317         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5318         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5319         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5320         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5321         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5322         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5323         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5324         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5325         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5326         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5327         (conformtest-cc-flags): Likewise.
5328         ($(conformtest-header-tests): New target.
5329         * conform/check-header-lists.sh: New file.
5330         * conform/run-conformtest.sh: Remove.
5332         * conform/conformtest.pl: Allow ' and \ in values given for
5333         constants.
5334         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5335         inclusion.
5336         [POSIX] (sys/types.h): Likewise.
5337         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5338         inclusion.
5339         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5340         inclusion.
5341         * conform/data/signal.h-data (SIGIO): Remove expectation.
5342         [XPG3] (SIGBUS): Do not expect.
5343         [POSIX || XPG3] (SIGPOLL): Likewise.
5344         [POSIX || XPG3] (SIGPROF): Likewise.
5345         [POSIX || XPG3] (SIGSYS): Likewise.
5346         [XPG3] (SIGTRAP): Likewise.
5347         [POSIX || XPG3] (SIGURG): Likewise.
5348         [POSIX || XPG3] (SIGVTALRM): Likewise.
5349         [POSIX || XPG3] (SIGXCPU): Likewise.
5350         [POSIX || XPG3] (SIGXFSZ): Likewise.
5351         [POSIX] (SA_SIGINFO): Expect.
5352         [XPG3] (siginfo_t): Do not expect type or contents.
5353         [POSIX] (si_pid): Do not expect element.
5354         [POSIX] (si_uid): Likewise.
5355         [POSIX] (si_addr): Likewise.
5356         [POSIX] (si_status): Likewise.
5357         [POSIX] (si_band): Likewise.
5358         [XPG4] (si_value): Likewise.
5359         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5360         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5361         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5362         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5363         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5364         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5365         [POSIX || XPG3] (ILL_COPROC): Likewise.
5366         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5367         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5368         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5369         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5370         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5371         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5372         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5373         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5374         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5375         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5376         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5377         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5378         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5379         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5380         [POSIX || XPG3] (CLD_EXITED): Likewise.
5381         [POSIX || XPG3] (CLD_KILLED): Likewise.
5382         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5383         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5384         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5385         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5386         [POSIX || XPG3] (POLL_IN): Likewise.
5387         [POSIX || XPG3] (POLL_OUT): Likewise.
5388         [POSIX || XPG3] (POLL_MSG): Likewise.
5389         [POSIX || XPG3] (POLL_ERR): Likewise.
5390         [POSIX || XPG3] (POLL_PRI): Likewise.
5391         [POSIX || XPG3] (POLL_HUP): Likewise.
5392         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5393         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5394         (SIG*): Do not allow.
5395         [XPG3] (si_*): Likewise.
5396         [XPG3] (SI_*): Likewise.
5397         [XPG3 || XPG4] (sigev_*): Likewise.
5398         [XPG3 || XPG4] (SIGEV_*): Likewise.
5399         [XPG3 || XPG4] (sival_*): Likewise.
5400         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5401         [POSIX || XPG3] (BUS_*): Likewise.
5402         [POSIX || XPG3] (CLD_*): Likewise.
5403         [POSIX || XPG3] (FPE_*): Likewise.
5404         [POSIX || XPG3] (ILL_*): Likewise.
5405         [POSIX || XPG3] (POLL_*): Likewise.
5406         [POSIX || XPG3] (SEGV_*): Likewise.
5407         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5408         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5409         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5410         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5411         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5412         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5413         Specify type and value.
5414         (TVERSLEN): Likewise.
5415         (REGTYPE): Likewise.
5416         (AREGTYPE): Likewise.
5417         (LNKTYPE): Likewise.
5418         (SYMTYPE): Likewise.
5419         (CHRTYPE): Likewise.
5420         (BLKTYPE): Likewise.
5421         (DIRTYPE): Likewise.
5422         (FIFOTYPE): Likewise.
5423         (CONTTYPE): Likewise.
5424         (TSUID): Likewise.
5425         (TSGID): Likewise.
5426         (TSVTX): Likewise.
5427         (TUREAD): Likewise.
5428         (TUWRITE): Likewise.
5429         (TUEXEC): Likewise.
5430         (TGREAD): Likewise.
5431         (TGWRITE): Likewise.
5432         (TGEXEC): Likewise.
5433         (TOREAD): Likewise.
5434         (TOWRITE): Likewise.
5435         (TOEXEC): Likewise.
5436         [POSIX] (TSVTX): Expect constant.
5438 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5440         * Makefile (tests): Change dependencies to ....
5441         (tests-special): ... additions to this variable.
5442         (tests): Depend on $(tests-special).
5443         * Makerules (check-abi-list): New variable.
5444         (check-abi): Depend on $(check-abi-list).
5445         [$(subdir) = elf] (tests-special): Add
5446         $(objpfx)check-abi-libc.out.
5447         [$(build-shared) = yes && subdir] (tests-special): Add
5448         $(check-abi-list).
5449         [$(build-shared) = yes && subdir] (tests): Do not depend on
5450         check-abi.
5451         * Rules (tests): Depend on $(tests-special).
5452         (xtests): Depend on $(xtests-special).
5453         * catgets/Makefile (tests): Change dependencies to ....
5454         (tests-special): ... additions to this variable.
5455         * conform/Makefile (tests): Change dependencies to ....
5456         (tests-special): ... additions to this variable.
5457         * elf/Makefile (tests): Change dependencies to ....
5458         (tests-special): ... additions to this variable.
5459         * grp/Makefile (tests): Change dependencies to ....
5460         (tests-special): ... additions to this variable.
5461         * iconv/Makefile (xtests): Change dependencies to ....
5462         (xtests-special): ... additions to this variable.
5463         * iconvdata/Makefile (tests): Change dependencies to ....
5464         (tests-special): ... additions to this variable.
5465         * intl/Makefile (tests): Change dependencies to ....
5466         (tests-special): ... additions to this variable.  Also add
5467         $(objpfx)tst-gettext.out.
5468         * io/Makefile (tests): Change dependencies to ....
5469         (tests-special): ... additions to this variable.
5470         * libio/Makefile (tests): Change dependencies to ....
5471         (tests-special): ... additions to this variable.
5472         * malloc/Makefile (tests): Change dependencies to ....
5473         (tests-special): ... additions to this variable.
5474         * misc/Makefile (tests): Change dependencies to ....
5475         (tests-special): ... additions to this variable.
5476         * nptl/Makefile (tests): Change dependencies to ....
5477         (tests-special): ... additions to this variable.
5478         * nptl_db/Makefile (tests): Change dependencies to ....
5479         (tests-special): ... additions to this variable.
5480         * posix/Makefile (tests): Change dependencies to ....
5481         (tests-special): ... additions to this variable.
5482         (xtests): Change dependencies to ....
5483         (xtests-special): ... additions to this variable.
5484         * resolv/Makefile (tests): Change dependencies to ....
5485         (tests-special): ... additions to this variable.
5486         (xtests): Change dependencies to ....
5487         (xtests-special): ... additions to this variable.
5488         * stdio-common/Makefile (tests): Change dependencies to ....
5489         (tests-special): ... additions to this variable.
5490         (do-tst-unbputc): Remove target.
5491         (do-tst-printf): Likewise.
5492         * stdlib/Makefile (tests): Change dependencies to ....
5493         (tests-special): ... additions to this variable.
5494         * string/Makefile (tests): Change dependencies to ....
5495         (tests-special): ... additions to this variable.
5496         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5497         (tests-special): ... additions to this variable.
5499         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5500         whole file.
5501         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5502         whole file.
5503         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5504         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5506         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5507         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5508         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5509         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5510         * conform/data/libgen.h-data [XPG3]: Likewise.
5511         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5512         * conform/data/ndbm.h-data [XPG3]: Likewise.
5513         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5514         * conform/data/netdb.h-data [XPG3]: Likewise.
5515         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5516         * conform/data/poll.h-data [XPG3]: Likewise.
5517         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5518         * conform/data/strings.h-data [XPG3]: Likewise.
5519         * conform/data/stropts.h-data [XPG3]: Likewise.
5520         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5521         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5522         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5523         Likewise.
5524         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5525         * conform/data/sys/time.h-data [XPG3]: Likewise.
5526         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5527         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5528         * conform/data/sys/un.h-data [XPG3]: Likewise.
5529         * conform/data/syslog.h-data [XPG3]: Likewise.
5530         * conform/data/ucontext.h-data [XPG3]: Likewise.
5531         * conform/data/utmpx.h-data [XPG3]: Likewise.
5532         * conform/data/varargs.h-data [UNIX98]: Enable file.
5534         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5536         * math/libm-test.inc (struct test_f_f_data): Move expected results
5537         into structure for each rounding mode.
5538         (struct test_ff_f_data): Likewise.
5539         (struct test_ff_f_data_nexttoward): Likewise.
5540         (struct test_fi_f_data): Likewise.
5541         (struct test_fl_f_data): Likewise.
5542         (struct test_if_f_data): Likewise.
5543         (struct test_fff_f_data): Likewise.
5544         (struct test_c_f_data): Likewise.
5545         (struct test_f_f1_data): Likewise.
5546         (struct test_fF_f1_data): Likewise.
5547         (struct test_ffI_f1_data): Likewise.
5548         (struct test_c_c_data): Likewise.
5549         (struct test_cc_c_data): Likewise.
5550         (struct test_f_i_data): Likewise.
5551         (struct test_ff_i_data): Likewise.
5552         (struct test_f_l_data): Likewise.
5553         (struct test_f_L_data): Likewise.
5554         (struct test_fFF_11_data): Likewise.
5555         (RM_): New macro.
5556         (RM_FE_DOWNWARD): Likewise.
5557         (RM_FE_TONEAREST): Likewise.
5558         (RM_FE_TOWARDZERO): Likewise.
5559         (RM_FE_UPWARD): Likewise.
5560         (RUN_TEST_LOOP_f_f): Update references to expected results.
5561         (RUN_TEST_LOOP_2_f): Likewise.
5562         (RUN_TEST_LOOP_fff_f): Likewise.
5563         (RUN_TEST_LOOP_c_f): Likewise.
5564         (RUN_TEST_LOOP_f_f1): Likewise.
5565         (RUN_TEST_LOOP_fF_f1): Likewise.
5566         (RUN_TEST_LOOP_fI_f1): Likewise.
5567         (RUN_TEST_LOOP_ffI_f1): Likewise.
5568         (RUN_TEST_LOOP_c_c): Likewise.
5569         (RUN_TEST_LOOP_cc_c): Likewise.
5570         (RUN_TEST_LOOP_f_i): Likewise.
5571         (RUN_TEST_LOOP_f_i_tg): Likewise.
5572         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5573         (RUN_TEST_LOOP_f_b): Likewise.
5574         (RUN_TEST_LOOP_f_b_tg): Likewise.
5575         (RUN_TEST_LOOP_f_l): Likewise.
5576         (RUN_TEST_LOOP_f_L): Likewise.
5577         (RUN_TEST_LOOP_fFF_11): Likewise.
5578         * math/gen-libm-test.pl (parse_args): Output four copies of
5579         expected results for each test.
5581         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5582         (__ASSUME_UTIMES): Remove.
5583         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5584         (__ASSUME_UTIMES): Likewise.
5586         * math/gen-auto-libm-tests.c: Update comment on output format.
5587         (output_for_one_input_case): Generate before-rounding and
5588         after-rounding information as conditions on output flags not
5589         floating-point format.
5590         * math/auto-libm-test-out: Regenerated.
5591         * math/gen-libm-test.pl (cond_value): New function.
5592         (or_cond_value): Use cond_value.
5593         (generate_testfile): Handle conditional exceptions.
5595 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5597         * math/libm-test.inc (max_valid_error): New variable.
5598         (init_max_error): Take new argument specifying whether function
5599         results are exactly determined.  Set max_valid_error and bound
5600         other variables for errors based on this argument.
5601         (set_max_error): Do not record results above max_valid_error.
5602         (check_float_internal): Only accept errors of up to 0.5ulps if
5603         also at most max_valid_error.
5604         (START): Take new argument EXACT and pass it to init_max_error.
5605         (acos_test): Update call to START.
5606         (acos_test_tonearest): Likewise.
5607         (acos_test_towardzero): Likewise.
5608         (acos_test_downward): Likewise.
5609         (acos_test_upward): Likewise.
5610         (acosh_test): Likewise.
5611         (asin_test): Likewise.
5612         (asin_test_tonearest): Likewise.
5613         (asin_test_towardzero): Likewise.
5614         (asin_test_downward): Likewise.
5615         (asin_test_upward): Likewise.
5616         (asinh_test): Likewise.
5617         (atan_test): Likewise.
5618         (atanh_test): Likewise.
5619         (atan2_test): Likewise.
5620         (cabs_test): Likewise.
5621         (cacos_test): Likewise.
5622         (cacosh_test): Likewise.
5623         (carg_test): Likewise.
5624         (casin_test): Likewise.
5625         (casinh_test): Likewise.
5626         (catan_test): Likewise.
5627         (catanh_test): Likewise.
5628         (cbrt_test): Likewise.
5629         (ccos_test): Likewise.
5630         (ccosh_test): Likewise.
5631         (ceil_test): Likewise.
5632         (cexp_test): Likewise.
5633         (cimag_test): Likewise.
5634         (clog_test): Likewise.
5635         (clog10_test): Likewise.
5636         (conj_test): Likewise.
5637         (copysign_test): Likewise.
5638         (cos_test): Likewise.
5639         (cos_test_tonearest): Likewise.
5640         (cos_test_towardzero): Likewise.
5641         (cos_test_downward): Likewise.
5642         (cos_test_upward): Likewise.
5643         (cosh_test): Likewise.
5644         (cosh_test_tonearest): Likewise.
5645         (cosh_test_towardzero): Likewise.
5646         (cosh_test_downward): Likewise.
5647         (cosh_test_upward): Likewise.
5648         (cpow_test): Likewise.
5649         (cproj_test): Likewise.
5650         (creal_test): Likewise.
5651         (csin_test): Likewise.
5652         (csinh_test): Likewise.
5653         (csqrt_test): Likewise.
5654         (ctan_test): Likewise.
5655         (ctan_test_tonearest): Likewise.
5656         (ctan_test_towardzero): Likewise.
5657         (ctan_test_downward): Likewise.
5658         (ctan_test_upward): Likewise.
5659         (ctanh_test): Likewise.
5660         (ctanh_test_tonearest): Likewise.
5661         (ctanh_test_towardzero): Likewise.
5662         (ctanh_test_downward): Likewise.
5663         (ctanh_test_upward): Likewise.
5664         (erf_test): Likewise.
5665         (erfc_test): Likewise.
5666         (exp_test): Likewise.
5667         (exp_test_tonearest): Likewise.
5668         (exp_test_towardzero): Likewise.
5669         (exp_test_downward): Likewise.
5670         (exp_test_upward): Likewise.
5671         (exp10_test): Likewise.
5672         (exp10_test_tonearest): Likewise.
5673         (exp10_test_towardzero): Likewise.
5674         (exp10_test_downward): Likewise.
5675         (exp10_test_upward): Likewise.
5676         (pow10_test): Likewise.
5677         (exp2_test): Likewise.
5678         (expm1_test): Likewise.
5679         (expm1_test_tonearest): Likewise.
5680         (expm1_test_towardzero): Likewise.
5681         (expm1_test_downward): Likewise.
5682         (expm1_test_upward): Likewise.
5683         (fabs_test): Likewise.
5684         (fdim_test): Likewise.
5685         (floor_test): Likewise.
5686         (fma_test): Likewise.
5687         (fma_test_towardzero): Likewise.
5688         (fma_test_downward): Likewise.
5689         (fma_test_upward): Likewise.
5690         (fmax_test): Likewise.
5691         (fmin_test): Likewise.
5692         (fmod_test): Likewise.
5693         (fpclassify_test): Likewise.
5694         (frexp_test): Likewise.
5695         (hypot_test): Likewise.
5696         (ilogb_test): Likewise.
5697         (isfinite_test): Likewise.
5698         (finite_test): Likewise.
5699         (isgreater_test): Likewise.
5700         (isgreaterequal_test): Likewise.
5701         (isinf_test): Likewise.
5702         (isless_test): Likewise.
5703         (islessequal_test): Likewise.
5704         (islessgreater_test): Likewise.
5705         (isnan_test): Likewise.
5706         (isnormal_test): Likewise.
5707         (issignaling_test): Likewise.
5708         (isunordered_test): Likewise.
5709         (j0_test): Likewise.
5710         (j1_test): Likewise.
5711         (jn_test): Likewise.
5712         (ldexp_test): Likewise.
5713         (lgamma_test): Likewise.
5714         (gamma_test): Likewise.
5715         (lrint_test): Likewise.
5716         (lrint_test_tonearest): Likewise.
5717         (lrint_test_towardzero): Likewise.
5718         (lrint_test_downward): Likewise.
5719         (lrint_test_upward): Likewise.
5720         (llrint_test): Likewise.
5721         (llrint_test_tonearest): Likewise.
5722         (llrint_test_towardzero): Likewise.
5723         (llrint_test_downward): Likewise.
5724         (llrint_test_upward): Likewise.
5725         (log_test): Likewise.
5726         (log10_test): Likewise.
5727         (log1p_test): Likewise.
5728         (log2_test): Likewise.
5729         (logb_test): Likewise.
5730         (logb_test_downward): Likewise.
5731         (lround_test): Likewise.
5732         (llround_test): Likewise.
5733         (modf_test): Likewise.
5734         (nearbyint_test): Likewise.
5735         (nextafter_test): Likewise.
5736         (nexttoward_test): Likewise.
5737         (pow_test): Likewise.
5738         (pow_test_tonearest): Likewise.
5739         (pow_test_towardzero): Likewise.
5740         (pow_test_downward): Likewise.
5741         (pow_test_upward): Likewise.
5742         (remainder_test): Likewise.
5743         (drem_test): Likewise.
5744         (remainder_test_tonearest): Likewise.
5745         (drem_test_tonearest): Likewise.
5746         (remainder_test_towardzero): Likewise.
5747         (drem_test_towardzero): Likewise.
5748         (remainder_test_downward): Likewise.
5749         (drem_test_downward): Likewise.
5750         (remainder_test_upward): Likewise.
5751         (drem_test_upward): Likewise.
5752         (remquo_test): Likewise.
5753         (rint_test): Likewise.
5754         (rint_test_tonearest): Likewise.
5755         (rint_test_towardzero): Likewise.
5756         (rint_test_downward): Likewise.
5757         (rint_test_upward): Likewise.
5758         (round_test): Likewise.
5759         (scalb_test): Likewise.
5760         (scalbn_test): Likewise.
5761         (scalbln_test): Likewise.
5762         (signbit_test): Likewise.
5763         (sin_test): Likewise.
5764         (sin_test_tonearest): Likewise.
5765         (sin_test_towardzero): Likewise.
5766         (sin_test_downward): Likewise.
5767         (sin_test_upward): Likewise.
5768         (sincos_test): Likewise.
5769         (sinh_test): Likewise.
5770         (sinh_test_tonearest): Likewise.
5771         (sinh_test_towardzero): Likewise.
5772         (sinh_test_downward): Likewise.
5773         (sinh_test_upward): Likewise.
5774         (sqrt_test): Likewise.
5775         (sqrt_test_tonearest): Likewise.
5776         (sqrt_test_towardzero): Likewise.
5777         (sqrt_test_downward): Likewise.
5778         (sqrt_test_upward): Likewise.
5779         (tan_test): Likewise.
5780         (tan_test_tonearest): Likewise.
5781         (tan_test_towardzero): Likewise.
5782         (tan_test_downward): Likewise.
5783         (tan_test_upward): Likewise.
5784         (tanh_test): Likewise.
5785         (tgamma_test): Likewise.
5786         (trunc_test): Likewise.
5787         (y0_test): Likewise.
5788         (y1_test): Likewise.
5789         (yn_test): Likewise.
5790         (significand_test): Likewise.
5792         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5793         individual tests in comment.
5794         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5795         (prev_max_error): New variable.
5796         (prev_real_max_error): Likewise.
5797         (prev_imag_max_error): Likewise.
5798         (compare_ulp_data): Don't refer to test names in comment.
5799         (find_test_ulps): Remove function.
5800         (find_function_ulps): Likewise.
5801         (find_complex_function_ulps): Likewise.
5802         (init_max_error): Take function name as argument.  Look up ulps
5803         for that function.
5804         (print_ulps): Remove function.
5805         (print_max_error): Use prev_max_error instead of calling
5806         find_function_ulps.
5807         (print_complex_max_error): Use prev_real_max_error and
5808         prev_imag_max_error instead of calling find_complex_function_ulps.
5809         (check_float_internal): Take max_ulp parameter instead of calling
5810         find_test_ulps.  Don't call print_ulps.
5811         (check_float): Update call to check_float_internal.
5812         (check_complex): Update calls to check_float_internal.
5813         (START): Pass argument to init_max_error.
5814         * math/gen-libm-test.pl (%results): Don't include "kind"
5815         information.
5816         (parse_ulps): Don't handle ulps of individual tests.
5817         (print_ulps_file): Likewise.
5818         (output_ulps): Likewise.
5819         * math/README.libm-test: Update.
5820         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5821         individual tests.
5822         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5823         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5824         * sysdeps/arm/libm-test-ulps: Likewise.
5825         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5826         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5827         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5828         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5829         * sysdeps/microblaze/libm-test-ulps: Likewise.
5830         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5831         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5832         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5833         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5834         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5835         * sysdeps/sh/libm-test-ulps: Likewise.
5836         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5837         * sysdeps/tile/libm-test-ulps: Likewise.
5838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5840 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5842         * math/libm-test.inc (print_complex_max_error): Check separately
5843         whether real and imaginary errors are within allowed range and
5844         pass 0 to print_complex_function_ulps instead of value within
5845         allowed range.
5847 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5849         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5850         formatting.
5851         (get_handles_fopen): Likewise.
5852         (do_write_test): Likewise.
5854         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5856         * libio/fileops.c (do_ftell): Use cached offset when
5857         available.
5858         * libio/iofwide.c (do_ftell_wide): Likewise.
5859         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5860         _IO_file_attach.
5861         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5863         [BZ #16532]
5864         * libio/libioP.h (get_file_offset): New function.
5865         * libio/fileops.c (get_file_offset): Likewise.
5866         (do_ftell): Likewise.
5867         (_IO_new_file_seekoff): Split out ftell logic.
5868         * libio/wfileops.c (do_ftell_wide): Likewise.
5869         (_IO_wfile_seekoff): Split out ftell logic.
5870         * libio/tst-ftell-active-handler.c: New test case.
5871         * libio/Makefile (tests): Add it.
5873 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5875         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5876         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5878 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5880         [BZ #16639]
5881         * nscd/connections.c (nscd_init): Call do_exit.
5882         (start_threads): Call do_exit and notify_parent.
5883         (begin_drop_privileges): Call do_exit.
5884         (finish_drop_privileges): Likewise.
5885         * nscd/selinux.c (preserve_capabilities): Likewise.
5886         (install_real_capabilities): Likewise.
5887         (nscd_selinux_enabled): Likewise.
5888         (avc_create_thread): Likewise.
5889         (avc_alloc_lock): Likewise.
5890         (nscd_avc_init): Likewise.
5891         * nscd/nscd.c (parent_fd): New static variable.
5892         (main): Create a pipe between parent and child processes.
5893         Skip closing parent_fd.
5894         (monitor_child): New function.
5895         (do_exit): Likewise.
5896         (notify_parent): Likewise.
5897         * nscd/nscd.h (notify_parent): Likewise.
5898         (do_exit): Likewise.
5900 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5902         * malloc/malloc.c (__libc_calloc): Revert last change.
5904 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5908 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5910         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5912         implementation.
5913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5914         (__libc_ifunc_impl_list): Likewise.
5915         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5916         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5917         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5918         * string/strrchr.c: Define STRRCHR.
5920 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5922         * benchtest/bench-strtok.c (simple_strtok): Delete.
5923         (strtok_string): Use as benchmark.
5924         * string/strtok (STRTOK): New macro.
5926 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
5928         * manual/threads.texi: Add header and standard comments to all
5929         functions.
5931         * elf/dl-lookup.c (check_match): New function.
5932         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5933         (do_lookup_x): Remove nested function check_match. Use non-nested
5934         function check_match.
5936 2014-02-28  Roland McGrath  <roland@hack.frob.com>
5938         * csu/Makefile (generated, before-compile): Use += rather than =.
5939         * catgets/Makefile (generated, generated-dirs): Likewise.
5940         * debug/Makefile (generated): Likewise.
5941         * dlfcn/Makefile (generated): Likewise.
5942         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5943         * iconvdata/Makefile (before-compile, generated): Likewise.
5944         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5945         * libio/Makefile (generated): Likewise.
5946         * malloc/Makefile (generated): Likewise.
5947         * manual/Makefile (generated, generated-dirs): Likewise.
5948         * misc/Makefile (generated): Likewise.
5949         * posix/Makefile (generated): Likewise.
5950         * resolv/Makefile (generated): Likewise.
5951         * sunrpc/Makefile (generated, generated-dirs): Likewise.
5952         * timezone/Makefile (generated, generated-dirs): Likewise.
5954         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5956 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5959         power8 implementation.
5960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5961         file: POWER8 llround ifunc implementation.
5962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5963         (__lllround): Add POWER8 implementation.
5964         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5965         POWER8 llround implementation.
5967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5968         power8 implementation.
5969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5970         file: POWER8 llrint ifunc implementation.
5971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5972         Add POWER8 implementation.
5973         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5974         POWER8 llrint implementation.
5976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5977         power8 implementation.
5978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5979         file: POWER8 finite ifunc implementation.
5980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5981         Add POWER8 implementation.
5982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5983         Likewise.
5984         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5985         POWER8 finite implementation.
5986         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5989         power8 implementation.
5990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5991         file: POWER8 isinf ifunc implementation.
5992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5993         POWER8 implementation.
5994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5995         Likewise.
5996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5997         isinf implementation.
5998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6000         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6001         (INIT_ARCH): Add hwcap2 initialization.
6002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6003         power8 implementation.
6004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6005         file: POWER8 isnan ifunc implementation.
6006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6007         POWER8 implementation.
6008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6009         Likewise.
6010         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6011         isnan implementation.
6012         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6014 2014-02-27  Joey Ye  <joey.ye@arm.com>
6016         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6017         (_FP_NANFRAC_Q): Set to zero.
6019 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6021         [BZ #16623]
6022         * math/auto-libm-test-in: New test inputs.
6023         * math/auto-libm-test-out: Regenerate.
6024         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6025         and DA.
6026         (__cos): Likewise.
6027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6029 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6031         * scripts/evaluate-test.sh: Take new argument indicating whether
6032         failure is expected.
6033         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6034         indicating whether failure is expected.
6035         * conform/Makefile (test-xfail-run-conformtest): New variable.
6036         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6037         level.
6038         * posix/Makefile (test-xfail-annexc): New variable.
6039         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6041 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6043         * argp/Makefile: Include Makeconfig immediately after defining
6044         subdir.
6045         * assert/Makefile: Likewise.
6046         * benchtests/Makefile: Likewise.
6047         * catgets/Makefile: Likewise.
6048         * conform/Makefile: Likewise.
6049         * crypt/Makefile: Likewise.
6050         * csu/Makefile: Likewise.
6051         (all): Remove target.
6052         * ctype/Makefile: Include Makeconfig immediately after defining
6053         subdir.
6054         * debug/Makefile: Likewise.
6055         * dirent/Makefile: Likewise.
6056         * dlfcn/Makefile: Likewise.
6057         * gmon/Makefile: Likewise.
6058         * gnulib/Makefile: Likewise.
6059         * grp/Makefile: Likewise.
6060         * gshadow/Makefile: Likewise.
6061         * hesiod/Makefile: Likewise.
6062         * hurd/Makefile: Likewise.
6063         (all): Remove target.
6064         * iconvdata/Makefile: Include Makeconfig immediately after
6065         defining subdir.
6066         * inet/Makefile: Likewise.
6067         * intl/Makefile: Likewise.
6068         * io/Makefile: Likewise.
6069         * libio/Makefile: Likewise.
6070         (all): Remove target.
6071         * locale/Makefile: Include Makeconfig immediately after defining
6072         subdir.
6073         * login/Makefile: Likewise.
6074         * mach/Makefile: Likewise.
6075         (all): Remove target.
6076         * malloc/Makefile: Include Makeconfig immediately after defining
6077         subdir.
6078         (all): Remove target.
6079         * manual/Makefile: Include Makeconfig immediately after defining
6080         subdir.
6081         * math/Makefile: Likewise.
6082         * misc/Makefile: Likewise.
6083         * nis/Makefile: Likewise.
6084         * nss/Makefile: Likewise.
6085         * po/Makefile: Likewise.
6086         (all): Remove target.
6087         * posix/Makefile: Include Makeconfig immediately after defining
6088         subdir.
6089         * pwd/Makefile: Likewise.
6090         * resolv/Makefile: Likewise.
6091         * resource/Makefile: Likewise.
6092         * rt/Makefile: Likewise.
6093         * setjmp/Makefile: Likewise.
6094         * shadow/Makefile: Likewise.
6095         * signal/Makefile: Likewise.
6096         * socket/Makefile: Likewise.
6097         * soft-fp/Makefile: Likewise.
6098         * stdio-common/Makefile: Likewise.
6099         * stdlib/Makefile: Likewise.
6100         * streams/Makefile: Likewise.
6101         * string/Makefile: Likewise.
6102         * sunrpc/Makefile: Likewise.
6103         (all): Remove target.
6104         * sysvipc/Makefile: Include Makeconfig immediately after defining
6105         subdir.
6106         * termios/Makefile: Likewise.
6107         * time/Makefile: Likewise.
6108         * timezone/Makefile: Likewise.
6109         (all): Remove target.
6110         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6111         subdir.
6112         * wctype/Makefile: Likewise.
6114 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6116         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6117         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6118         (libc_feholdexcept_setround_mips): Ditto.
6119         (libc_feholdsetround): New.
6120         (libc_feholdsetroundf): New.
6121         (libc_feholdsetroundl): New.
6122         (libc_feupdateenv_test_mips): New.
6123         (libc_feupdateenv_test): New.
6124         (libc_feupdateenv_testf): New.
6125         (libc_feupdateenv_testl): New.
6126         (libc_feresetround): New.
6127         (libc_feresetroundf): New.
6128         (libc_feresetroundl): New.
6129         (libc_fetestexcept_mips): New.
6130         (libc_fetestexcept): New.
6131         (libc_fetestexceptf): New.
6132         (libc_fetestexceptl): New.
6133         (HAVE_RM_CTX): New.
6134         (libc_feholdexcept_setround_mips_ctx): New.
6135         (libc_feholdexcept_setround_ctx): New.
6136         (libc_feholdexcept_setroundf_ctx): New.
6137         (libc_feholdexcept_setroundl_ctx): New.
6138         (libc_fesetenv_mips_ctx): New.
6139         (libc_fesetenv_ctx): New.
6140         (libc_fesetenv_ctxf): New.
6141         (libc_fesetenv_ctxl): New.
6142         (libc_feupdateenv_mips_ctx): New.
6143         (libc_feupdateenv_ctx): New.
6144         (libc_feupdateenvf_ctx): New.
6145         (libc_feupdateenvl_ctx): New.
6146         (libc_feholdsetround_mips_ctx): New.
6147         (libc_feholdsetround_ctx): New.
6148         (libc_feholdsetroundf_ctx): New.
6149         (libc_feholdsetroundl_ctx): New.
6150         (libc_feresetround_mips_ctx): New.
6151         (libc_feresetround_ctx): New.
6152         (libc_feresetroundf_ctx): New.
6153         (libc_feresetroundl_ctx): New.
6155 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6157         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6159         * manual/ipc.texi: New file.
6160         * manual/Makefile (chapters): Add ipc.
6161         * manual/job.texi: Add "Inter-Process Communication" to next.
6162         * manual/process.texi: Add "Inter-Process Communication" to prev.
6164 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6168 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6170         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6172         * manual/arith.texi: Fix spaces after sentences.
6173         * manual/charset.texi: Likewise.
6174         * manual/errno.texi: Likewise.
6175         * manual/install.texi: Likewise.
6176         * manual/llio.texi: Likewise.
6177         * manual/locale.texi: Likewise.
6178         * manual/maint.texi: Likewise.
6179         * manual/math.texi: Likewise.
6180         * manual/memory.texi: Likewise.
6181         * manual/message.texi: Likewise.
6182         * manual/probes.texi: Likewise.
6183         * manual/resource.texi: Likewise.
6184         * manual/signal.texi: Likewise.
6185         * manual/socket.texi: Likewise.
6186         * manual/stdio.texi: Likewise.
6187         * manual/string.texi: Likewise.
6188         * manual/time.texi: Likewise.
6189         * manual/users.texi: Likewise.
6191 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6193         [BZ #16632]
6194         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6195         _DEFAULT_SOURCE is defined.
6197 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6198             Carlos O'Donell  <carlos@redhat.com>
6200         [BZ #16613]
6201         * elf/dl-tls.c (_dl_count_modids): New function.
6202         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6203         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6204         audit library and increment generation counter.
6205         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6206         * elf/tst-audit9.c: New file.
6207         * elf/tst-auditmod9a.c: New file.
6208         * elf/tst-auditmod9b.c: New file.
6209         * elf/Makefile: Add rules to build and run tst-audit9.
6211 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6213         [BZ #15347]
6214         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6216 2014-02-25  Will Newton  <will.newton@linaro.org>
6218         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6219         (__longjmp): Restore sp and lr before restoring callee
6220         saved registers.  Add longjmp and longjmp_target
6221         SystemTap probe point.
6222         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6223         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6224         Define to zero to match jmpbuf layout.
6225         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6226         (__sigsetjmp): Save sp and lr before saving callee
6227         saved registers.  Add setjmp SystemTap probe point.
6229 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6231         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6233 2014-02-24  Andreas Schwab  <schwab@suse.de>
6235         [BZ #15804]
6236         * elf/pldd.c (wait_for_ptrace_stop): New function.
6237         (main): Call it after attaching.
6239 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6241         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6242         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6243         Versions files is now verboten.
6244         * hurd/Versions (libc: GLIBC_2.0):
6245         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6246         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6247         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6248         * mach/Versions: Likewise.
6250         * csu/Versions: Remove unused %include.
6251         * resolv/Versions: Likewise.
6253 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6255         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6256         ($(objpfx)check-local-headers.out): Likewise.
6257         ($(objpfx)begin-end-check.out): Likewise.
6258         * Makerules (check-abi-%.out): Likewise.
6259         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6260         ($(objpfx)test2.cat): Likewise.
6261         ($(objpfx)de/libc.cat): Likewise.
6262         ($(objpfx)test-gencat.out): Likewise.
6263         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6264         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6265         ($(objpfx)noload-mem): Likewise.
6266         ($(objpfx)tst-pathopt.out): Likewise.
6267         ($(objpfx)tst-rtld-load-self.out): Likewise.
6268         ($(objpfx)tst-array1-cmp.out): Likewise.
6269         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6270         ($(objpfx)tst-array2-cmp.out): Likewise.
6271         ($(objpfx)tst-array3-cmp.out): Likewise.
6272         ($(objpfx)tst-array4-cmp.out): Likewise.
6273         ($(objpfx)tst-array5-cmp.out): Likewise.
6274         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6275         ($(objpfx)check-textrel.out): Likewise.
6276         ($(objpfx)check-execstack.out): Likewise.
6277         ($(objpfx)check-localplt.out): Likewise.
6278         ($(objpfx)order2-cmp.out): Likewise.
6279         ($(objpfx)tst-leaks1-mem): Likewise.
6280         ($(objpfx)tst-leaks1-static-mem): Likewise.
6281         ($(objpfx)tst-initorder-cmp.out): Likewise.
6282         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6283         ($(objpfx)tst-unused-dep.out): Likewise.
6284         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6285         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6286         * iconv/Makefile (test-iconvconfig): Likewise.
6287         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6288         ($(objpfx)iconv-test.out): Likewise.
6289         ($(objpfx)tst-tables.out): Likewise.
6290         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6291         ($(objpfx)tst-gettext.out): Likewise.
6292         ($(objpfx)tst-translit.out): Likewise.
6293         ($(objpfx)tst-gettext2.out): Likewise.
6294         ($(objpfx)tst-gettext4.out): Likewise.
6295         ($(objpfx)tst-gettext6.out): Likewise.
6296         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6297         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6298         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6299         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6300         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6301         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6302         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6303         ($(objpfx)wordexp-tst.out): Likewise.
6304         ($(objpfx)annexc.out): Likewise.
6305         ($(objpfx)tst-fnmatch-mem): Likewise.
6306         ($(objpfx)bug-regex2-mem): Likewise.
6307         ($(objpfx)bug-regex14-mem): Likewise.
6308         ($(objpfx)bug-regex21-mem): Likewise.
6309         ($(objpfx)bug-regex31-mem): Likewise.
6310         ($(objpfx)tst-vfork3-mem): Likewise.
6311         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6312         ($(objpfx)tst-pcre-mem): Likewise.
6313         ($(objpfx)tst-boost-mem): Likewise.
6314         ($(objpfx)tst-getconf.out): Likewise.
6315         ($(objpfx)bug-ga2-mem): Likewise.
6316         ($(objpfx)bug-glob2-mem): Likewise.
6317         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6318         ($(objpfx)mtrace-tst-leaks2): Likewise.
6319         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6320         ($(objpfx)tst-printf.out): Likewise.
6321         ($(objpfx)tst-setvbuf1.out): Likewise.
6322         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6323         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6324         ($(objpfx)tst-fmtmsg.out): Likewise.
6325         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6326         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6328         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6329         * bits/sigaction.h [__USE_MISC]: Likewise.
6330         * bits/waitstatus.h: Update #endif comments.
6331         * ctype/ctype.h: Likewise.
6332         * dirent/dirent.h: Likewise.
6333         [__USE_MISC]: Remove redundant conditionals.
6334         * grp/grp.h: Update #endif comments.
6335         [__USE_GNU]: Remove redundant conditionals.
6336         [__USE_MISC]: Likewise.
6337         * inet/netinet/in.h [__USE_GNU]: Likewise.
6338         * io/sys/stat.h [__USE_MISC]: Likewise.
6339         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6340         * libio/bits/stdio.h: Update #endif comments.
6341         [__USE_MISC]: Remove redundant conditionals.
6342         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6343         * libio/stdio.h: Update #endif comments.
6344         [__USE_MISC]: Remove redundant conditionals.
6345         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6346         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6347         * math/math.h: Update #else and #endif comments.
6348         [__USE_MISC]: Remove redundant conditionals.
6349         * misc/sys/uio.h: Update #endif comments.
6350         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6351         * posix/glob.h [__USE_MISC]: Likewise.
6352         * posix/sys/types.h: Update #endif comments.
6353         [__USE_MISC]: Remove redundant conditionals.
6354         * posix/sys/wait.h: Update #endif comments.
6355         [__USE_MISC]: Remove redundant conditionals.
6356         * posix/unistd.h: Update #endif comments.
6357         [__USE_MISC]: Remove redundant conditionals.
6358         * pwd/pwd.h [__USE_GNU]: Likewise.
6359         [__USE_MISC]: Likewise.
6360         * resolv/netdb.h [__USE_GNU]: Likewise.
6361         * signal/signal.h: Update #endif comments.
6362         [__USE_MISC]: Remove redundant conditionals.
6363         * stdlib/stdlib.h: Update #else and #endif comments.
6364         [__USE_MISC]: Remove redundant conditionals.
6365         [__USE_GNU]: Likewise.
6366         * string/bits/string2.h [__USE_MISC]: Likewise.
6367         * string/string.h: Update #endif comments.
6368         [__USE_MISC]: Remove redundant conditionals.
6369         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6370         Likewise.
6371         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6372         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6373         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6374         Likewise.
6375         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6376         Likewise.
6377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6378         comments.
6379         [__USE_MISC]: Remove redundant conditionals.
6380         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6381         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6382         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6383         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6384         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6385         Likewise.
6386         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6387         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6388         Likewise.
6389         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6390         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6391         Likewise.
6392         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6393         Likewise.
6394         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6395         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6396         Likewise.
6397         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6398         Likewise.
6399         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6400         * sysdeps/x86/bits/string.h: Update #endif comments.
6401         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6402         conditionals.
6403         * time/sys/time.h: Update #endif comments.
6404         * time/time.h: Likewise.
6405         [__USE_MISC]: Remove redundant conditionals.
6407 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6409         [BZ #16600]
6410         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6412 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6414         * Versions.def (librt): Add GLIBC_2.17.
6416 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6418         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6419         synonym for _SYS_AUXV_H to allow direct inclusion.
6420         * sysdeps/sparc/bits/hwcap.h: Likewise.
6421         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6422         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6423         * sysdeps/sparc/sysdep.h: Likewise.
6425 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6427         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6429 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6431         * benchtests/bench-strrchr.c: Print length instead of position.
6433 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6435         [BZ #16611]
6436         * sysdeps/unix/sysv/linux/kernel-features.h
6437         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6438         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6439         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6440         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6441         Likewise.
6442         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6443         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6444         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6445         (__ASSUME_SENDMMSG): Define instead of using previous
6446         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6447         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6448         (__ASSUME_SENDMMSG_SYSCALL): Define.
6449         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6450         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6451         Likewise.
6452         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6453         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6454         Likewise.
6455         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6456         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6457         Likewise.
6458         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6459         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6460         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6461         [__ASSUME_SENDMMSG]: Change conditionals to
6462         [__ASSUME_SENDMMSG_SOCKETCALL].
6463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6464         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6465         Define.
6466         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6467         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6468         Likewise.
6469         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6470         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6471         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6472         [!__ASSUME_SENDMMSG]: Change conditional to
6473         [!__ASSUME_SENDMMSG_SOCKETCALL].
6474         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6475         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6476         Define.
6478         [BZ #16610]
6479         * sysdeps/unix/sysv/linux/kernel-features.h
6480         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6481         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6482         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6483         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6484         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6485         [__i386__ || __sparc__]
6486         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6487         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6488         (__ASSUME_RECVMMSG): Define instead of using previous
6489         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6490         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6491         (__ASSUME_RECVMMSG_SYSCALL): Define.
6492         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6493         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6494         Likewise.
6495         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6497         Likewise.
6498         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6499         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6500         Likewise.
6501         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6502         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6503         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6504         [__ASSUME_RECVMMSG]: Change condition to
6505         [__ASSUME_RECVMMSG_SOCKETCALL].
6506         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6507         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6508         Define.
6509         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6510         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6511         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6512         Likewise.
6513         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6514         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6515         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6516         [!__ASSUME_RECVMMSG]: Change condition to
6517         [!__ASSUME_RECVMMSG_SOCKETCALL].
6518         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6519         (__ASSUME_RECVMMSG_SYSCALL): Define.
6521         [BZ #16609]
6522         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6523         __powerpc__ || __s390__ || __sh__ || __sparc__]
6524         (__ASSUME_SOCKETCALL): Define.
6525         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6526         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6527         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6528         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6529         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6530         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6531         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6532         (__ASSUME_ACCEPT4): Define instead of using previous
6533         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6534         __powerpc__ || __sparc__ || __s390__)] condition.
6535         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6536         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6537         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6538         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6539         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6540         [!__ASSUME_ACCEPT4]: Change condition to
6541         [!__ASSUME_ACCEPT4_SOCKETCALL].
6542         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6543         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6544         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6545         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6546         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6547         __ASSUME_ACCEPT4_SYSCALL.
6548         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6549         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6550         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6551         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6552         __ASSUME_ACCEPT4_SYSCALL.
6553         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6554         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6555         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6556         [__ASSUME_ACCEPT4]: Change condition to
6557         [__ASSUME_ACCEPT4_SOCKETCALL].
6558         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6559         (__ASSUME_SOCKETCALL): Define.
6560         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6561         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6562         (__ASSUME_SOCKETCALL): Define.
6563         (__ASSUME_ACCEPT4): Remove.
6564         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6565         Define.
6566         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6567         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6568         Likewise.
6569         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6570         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6572         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6573         macro.
6574         (HWCAP_ARM_LPAE): Likewise.
6575         (HWCAP_ARM_EVTSTRM): Likewise.
6576         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6577         Add vpfd32, lpae and evtstrm.
6578         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6579         Increase to 22.
6581 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6583         * math/auto-libm-test-in: Add tests of clog10.
6584         * math/auto-libm-test-out: Regenerated.
6585         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6586         * sysdeps/i386/fpu/libm-test-ulps: Update.
6587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589 2014-02-18  Andreas Schwab  <schwab@suse.de>
6591         [BZ #16574]
6592         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6593         Store non-zero if the second buffer was newly allocated.
6594         (send_dg): Likewise.
6595         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6596         to send_vc and send_dg.
6597         (res_nsend): Pass NULL for ansp2_malloced.
6598         * resolv/res_query.c (__libc_res_nquery): Add parameter
6599         answerp2_malloced and pass it down to __libc_res_nsend.
6600         (res_nquery): Pass additional NULL to __libc_res_nquery.
6601         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6602         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6603         second answer buffer if answerp2_malloced was set.
6604         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6605         (__libc_res_nquerydomain): Add parameter
6606         answerp2_malloced and pass it down to __libc_res_nquery.
6607         (res_nquerydomain): Pass additional NULL to
6608         __libc_res_nquerydomain.
6609         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6610         additional NULL to __libc_res_nsend and __libc_res_nquery.
6611         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6612         additional NULL to __libc_res_nsearch.
6613         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6614         parameter of __libc_res_nsearch to check for separately allocated
6615         second buffer.
6616         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6617         __libc_res_nquery.
6618         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6619         additional NULL to __libc_res_nquery.
6620         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6621         __libc_res_nsearch.
6622         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6623         * include/resolv.h: Update prototypes of __libc_res_nquery,
6624         __libc_res_nsearch, __libc_res_nsend.
6626 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6628         * math/auto-libm-test-in: Add tests of fma.
6629         * math/auto-libm-test-out: Regenerated.
6630         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6631         (fma_towardzero_test_data): Likewise.
6632         (fma_downward_test_data): Likewise.
6633         (fma_upward_test_data): Likewise.
6634         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6635         mpc_mode.
6636         (rounding_modes): Add values for new field.
6637         (func_calc_method): Add value mpfr_fff_f.
6638         (func_calc_desc): Add mpfr_fff_f union field.
6639         (test_function): Add field exact_args.
6640         (FUNC): Add macro argument EXACT_ARGS.
6641         (FUNC_mpfr_f_f): Update call to FUNC.
6642         (FUNC_mpfr_f_f): Likewise.
6643         (FUNC_mpfr_ff_f): Likewise.
6644         (FUNC_mpfr_if_f): Likewise.
6645         (FUNC_mpc_c_f): Likewise.
6646         (FUNC_mpc_c_c): Likewise.
6647         (test_functions): Add fma.  Update calls to FUNC.
6648         (handle_input_arg): Add argument exact_args.
6649         (add_test): Update call to handle_input_arg.
6650         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6651         (output_for_one_input_case): Update call to calc_generic_results.
6652         Recalculate exact zero results in each rounding mode.
6654         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6655         non-negative before setting low bit.
6656         * math/auto-libm-test-in: Mark one asin test possibly having
6657         spurious underflow.
6658         * math/auto-libm-test-out: Regenerated.
6659         * sysdeps/i386/fpu/libm-test-ulps: Update.
6660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6662 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6664         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6665         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6666         ports/sysdeps/unix/sysv/linux/microblaze.
6667         * README: Add missing listing for microblaze*-*-linux-gnu.
6669 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6671         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6672         * sysdeps/unix/sysv/linux/ia64: Move directory from
6673         ports/sysdeps/unix/sysv/linux/ia64.
6674         * README: Update listing for ia64-*-linux-gnu.
6676 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6677             Joseph Myers  <joseph@codesourcery.com>
6679         * Makeconfig (test-name): New variable.
6680         (evaluate-test): Likewise.
6681         * Makerules (do-test-clean): Remove .test-result files.
6682         (common-mostlyclean): Likewise.
6683         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6684         * scripts/evaluate-test.sh: New file.
6686 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6688         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6689         separate $(objpfx)tst-fopenloc-cmp.out and
6690         $(objpfx)tst-fopenloc-mem.out targets.
6691         (tests): Update dependencies.
6692         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6693         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6694         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6695         (tst-rxspencer-no-utf8-ARGS): New variable.
6696         (tst-rxspencer-no-utf8-ENV): Likewise.
6697         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6698         instead of $(objpfx)tst-rxspencer-mem.
6699         ($(objpfx)tst-rxspencer-mem): Change target to
6700         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6701         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6702         * posix/tst-rxspencer-no-utf8.c: New file.
6704         * elf/Makefile ($(objpfx)order.out): Remove rule.
6705         [$(run-built-tests) = yes] (tests): Depend on
6706         $(objpfx)order-cmp.out.
6707         ($(objpfx)order-cmp.out): New rule.
6708         [$(run-built-tests) = yes] (tests): Depend on
6709         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6710         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6711         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6712         $(objpfx)tst-array5-static-cmp.out.
6713         ($(objpfx)tst-array1.out): Remove rule.
6714         ($(objpfx)tst-array1-cmp.out): New rule.
6715         ($(objpfx)tst-array1-static.out): Remove rule.
6716         ($(objpfx)tst-array1-static-cmp.out): New rule.
6717         ($(objpfx)tst-array2.out): Remove rule.
6718         ($(objpfx)tst-array2-cmp.out): New rule.
6719         ($(objpfx)tst-array3.out): Remove rule.
6720         ($(objpfx)tst-array3-cmp.out): New rule.
6721         ($(objpfx)tst-array4.out): Remove rule.
6722         ($(objpfx)tst-array4-cmp.out): New rule.
6723         ($(objpfx)tst-array5.out): Remove rule.
6724         ($(objpfx)tst-array5-cmp.out): New rule.
6725         ($(objpfx)tst-array5-static.out): Remove rule.
6726         ($(objpfx)tst-array5-static-cmp.out): New rule.
6727         [$(run-built-tests) = yes] (tests): Depend on
6728         $(objpfx)order2-cmp.out.
6729         ($(objpfx)order2.out): Remove rule.
6730         ($(objpfx)order2-cmp.out): New rule.
6731         ($(objpfx)tst-initorder.out): Remove rule.
6732         [$(run-built-tests) = yes] (tests): Depend on
6733         $(objpfx)tst-initorder-cmp.out.
6734         ($(objpfx)tst-initorder-cmp.out): New rule.
6735         ($(objpfx)tst-initorder2.out): Remove rule.
6736         [$(run-built-tests) = yes] (tests): Depend on
6737         $(objpfx)tst-initorder2-cmp.out.
6738         ($(objpfx)tst-initorder2-cmp.out): New rule.
6739         [$(run-built-tests) = yes] (tests): Depend on
6740         $(objpfx)tst-unused-dep-cmp.out.
6741         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6742         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6743         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6744         on $(objpfx)tst-setvbuf1-cmp.out.
6745         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6746         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6747         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6748         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6749         ($(objpfx)tst-svc.out): Remove rule.
6750         ($(objpfx)tst-svc-cmp.out): New rule.
6752 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6754         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6755         * ctype/ctype.h [__USE_MISC]: Likewise.
6756         * dirent/dirent.h [__USE_MISC]: Likewise.
6757         * grp/grp.h [__USE_MISC]: Likewise.
6758         * io/fcntl.h [__USE_MISC]: Likewise.
6759         * io/sys/stat.h [__USE_MISC]: Likewise.
6760         * libio/stdio.h [__USE_MISC]: Likewise.
6761         * posix/unistd.h [__USE_MISC]: Likewise.
6762         * pwd/pwd.h [__USE_MISC]: Likewise.
6763         * stdlib.h [__USE_MISC]: Likewise.
6764         * string/bits/string2.h [__USE_MISC]: Likewise.
6765         * string/string.h [__USE_MISC]: Likewise.
6766         * time/time.h [__USE_MISC]: Likewise.
6768 2014-02-13  Andreas Schwab  <schwab@suse.de>
6770         [BZ #16574]
6771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6772         second answer buffer if it was separately allocated.
6774 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6776         * sysdeps/mips/math-tests.h: Include <features.h>.
6777         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6778         (ROUNDING_TESTS_long_double): Do not define.
6779         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6780         (EXCEPTION_TESTS_long_double): Likewise.
6781         * sysdeps/mips/mips64/libm-test-ulps: Update.
6783         * include/features.h (__USE_BSD): Remove macro definitions.
6784         (__USE_SVID): Likewise.
6785         (_BSD_SOURCE): Likewise.
6786         (_SVID_SOURCE): Likewise.
6787         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6788         from definition of _DEFAULT_SOURCE.
6789         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6790         [_DEFAULT_SOURCE].
6791         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6792         * bits/mman.h [__USE_BSD]: Likewise.
6793         * bits/termios.h [__USE_BSD]: Likewise.
6794         * bits/waitstatus.h [__USE_BSD]: Likewise.
6795         * ctype/ctype.h [__USE_SVID]: Likewise.
6796         * dirent/dirent.h [__USE_BSD]: Likewise.
6797         * grp/grp.h [__USE_SVID]: Likewise.
6798         [__USE_BSD]: Likewise.
6799         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6800         * io/fcntl.h [__USE_BSD]: Likewise.
6801         * io/ftw.h [__USE_BSD]: Likewise.
6802         * io/sys/stat.h [__USE_BSD]: Likewise.
6803         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6804         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6805         * libio/stdio.h [__USE_SVID]: Likewise.
6806         [__USE_BSD]: Likewise.
6807         * math/math.h [__USE_SVID]: Likewise.
6808         [__USE_BSD]: Likewise.
6809         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6810         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6811         * misc/search.h [__USE_SVID]: Likewise.
6812         * misc/sys/mman.h [__USE_BSD]: Likewise.
6813         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6814         * misc/sys/uio.h [__USE_BSD]: Likewise.
6815         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6816         * posix/glob.h [__USE_BSD]: Likewise.
6817         * posix/regex.h [__USE_BSD]: Likewise.
6818         * posix/sys/types.h [__USE_BSD]: Likewise.
6819         [__USE_SVID]: Likewise.
6820         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6821         * posix/sys/wait.h [__USE_BSD]: Likewise.
6822         [__USE_SVID]: Likewise.
6823         * posix/unistd.h [__USE_BSD]: Likewise.
6824         [__USE_SVID]: Likewise.
6825         * pwd/pwd.h [__USE_SVID]: Likewise.
6826         * resolv/netdb.h [__USE_BSD]: Likewise.
6827         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6828         * signal/signal.h [__USE_BSD]: Likewise.
6829         [__USE_SVID]: Likewise.
6830         * socket/sys/socket.h [__USE_BSD]: Likewise.
6831         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6832         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6833         [__USE_SVID]: Likewise.
6834         * string/bits/string2.h [__USE_BSD]: Likewise.
6835         [__USE_SVID]: Likewise.
6836         * string/bits/string3.h [__USE_BSD]: Likewise.
6837         * string/endian.h [__USE_BSD]: Likewise.
6838         * string/string.h [__USE_SVID]: Likewise.
6839         [__USE_BSD]: Likewise.
6840         * string/strings.h [__USE_BSD]: Likewise.
6841         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6842         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6843         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6844         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6845         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6846         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6847         Likewise.
6848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6849         Likewise.
6850         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6851         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6852         Likewise.
6853         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6854         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6855         Likewise.
6856         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6857         Likewise.
6858         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6859         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6860         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6861         Likewise.
6862         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6863         Likewise.
6864         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6865         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6866         * termios/termios.h [__USE_BSD]: Likewise.
6867         * time/sys/time.h [__USE_BSD]: Likewise.
6868         * time/time.h [__USE_BSD]: Likewise.
6869         [__USE_SVID]: Likewise.
6871         * Makefile (subdir_targets): Remove subdir_lint.out.
6873         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6874         (do-tst-printf): Likewise.
6875         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6876         $(objpfx)tst-printf.out.
6878         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6880         * Makerules (check-abi-%): Change target to
6881         $(objpfx)check-abi-%.out.
6882         (check-abi target): Update dependencies.
6883         (check-abi-pattern variable): Redirect output of diff to $@.
6884         (check-abi variable): Likewise.
6885         * elf/Makefile (check-abi): Update dependencies.
6887         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6888         unused.
6889         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6890         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6891         subnormal range.
6892         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6893         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6894         value has largest subnormal exponent.
6895         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6896         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6897         * sysdeps/aarch64/soft-fp/sfp-machine.h
6898         (_FP_TININESS_AFTER_ROUNDING): New macro.
6899         * sysdeps/alpha/soft-fp/sfp-machine.h
6900         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6901         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6902         Likewise.
6903         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6904         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6905         * sysdeps/mips/soft-fp/sfp-machine.h
6906         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6907         * sysdeps/powerpc/soft-fp/sfp-machine.h
6908         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6909         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6910         Likewise.
6911         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6912         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6913         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6914         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6915         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6916         Likewise.
6918 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6920         [BZ #16545]
6921         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6922         model 1.
6924 2014-02-12  Richard Henderson  <rth@redhat.com>
6926         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6927         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6928         * sysdeps/unix/sysv/linux/alpha: Move directory from
6929         ports/sysdeps/unix/sysv/linux/alpha.
6930         * README: Update listing for alpha-*-linux-gnu.
6932 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
6934         * include/features.h: Update comment documenting feature test
6935         macros.
6936         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
6937         _DEFAULT_SOURCE.
6938         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6939         (_SVID_SOURCE): Likewise.
6940         (_DEFAULT_SOURCE): Update description of default features.
6941         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6942         with _GNU_SOURCE.
6943         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6944         (S_ISVTX): Likewise.
6945         * manual/math.texi (Mathematical Constants): Likewise.
6946         * manual/signal.texi (Interrupted Primitives): Likewise.
6947         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6948         * math/test-matherr.c (_SVID_SOURCE): Do not define.
6949         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6950         Don't refer to _SVID_SOURCE in warning text.
6952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6954         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6955         already defined.
6956         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6957         * sysdeps/mips/dl-lookup.c: Remove.
6958         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6960 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6962         [BZ #16447]
6963         * math/auto-libm-test-in: Add testcase for expl.
6964         * math/auto-libm-test-out: Regenerate.
6965         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6966         calculation of unsafe.
6967         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6969 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6971         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6972         * sysdeps/unix/sysv/linux/aarch64: Move directory from
6973         ports/sysdeps/unix/sysv/linux/aarch64.
6974         * README: Update listing for aarch64*-*-linux-gnu.
6976 2014-02-11  Will Newton  <will.newton@linaro.org>
6978         * manual/probes.texi (Mathematical Function Probes): Use
6979         "triggered" instead of "hit".
6981         * manual/probes.texi (Internal Probes): Add documentation
6982         of setjmp, longjmp and longjmp_target probes.
6984         * include/stap-probe.h: Add comment about probe argument
6985         format.
6987         * malloc/mtrace.c (attribute_hidden): Remove unused macro
6988         definition.  (tr_where, tr_freehook, tr_mallochook,
6989         tr_reallochook, tr_memalignhook): Use ANSI protoype.
6991 2014-02-11  David S. Miller  <davem@davemloft.net>
6993         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6994         processing int_tests.
6996 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
6998         * sysdeps/mips: Move directory from ports/sysdeps/mips.
6999         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7000         * sysdeps/unix/sysv/linux/mips: Move directory from
7001         ports/sysdeps/unix/sysv/linux/mips.
7002         * README: Update listing for mips-*-linux-gnu and
7003         mips64-*-linux-gnu.
7005 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7007         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7008         * sysdeps/unix/sysv/linux/m68k: Move directory from
7009         ports/sysdeps/unix/sysv/linux/m68k.
7010         * README: Update listing for m68k-*-linux-gnu.
7012 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7014         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7015         * sysdeps/unix/sysv/linux/generic: Move directory from
7016         ports/sysdeps/unix/sysv/linux/generic.
7017         * sysdeps/unix/sysv/linux/tile: Move directory from
7018         ports/sysdeps/unix/sysv/linux/tile.
7019         * README: Update listing for tile*-*-linux-gnu.
7021 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7023         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7024         __builtin_expect.
7025         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7026         * catgets/open_catalog.c (__open_catalog): Likewise.
7027         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7028         * debug/confstr_chk.c: Likewise.
7029         * debug/fread_chk.c (__fread_chk): Likewise.
7030         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7031         * debug/getgroups_chk.c: Likewise.
7032         * debug/mbsnrtowcs_chk.c: Likewise.
7033         * debug/mbsrtowcs_chk.c: Likewise.
7034         * debug/mbstowcs_chk.c: Likewise.
7035         * debug/memcpy_chk.c: Likewise.
7036         * debug/memmove_chk.c: Likewise.
7037         * debug/mempcpy_chk.c: Likewise.
7038         * debug/memset_chk.c: Likewise.
7039         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7040         * debug/strcat_chk.c (__strcat_chk): Likewise.
7041         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7042         * debug/strncat_chk.c (__strncat_chk): Likewise.
7043         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7044         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7045         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7046         * debug/wcpncpy_chk.c: Likewise.
7047         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7048         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7049         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7050         * debug/wcsncpy_chk.c: Likewise.
7051         * debug/wcsnrtombs_chk.c: Likewise.
7052         * debug/wcsrtombs_chk.c: Likewise.
7053         * debug/wcstombs_chk.c: Likewise.
7054         * debug/wmemcpy_chk.c: Likewise.
7055         * debug/wmemmove_chk.c: Likewise.
7056         * debug/wmempcpy_chk.c: Likewise.
7057         * debug/wmemset_chk.c: Likewise.
7058         * dirent/scandirat.c (SCANDIRAT): Likewise.
7059         * dlfcn/dladdr1.c (dladdr1): Likewise.
7060         * dlfcn/dladdr.c (dladdr): Likewise.
7061         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7062         * dlfcn/dlerror.c (__dlerror): Likewise.
7063         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7064         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7065         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7066         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7067         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7068         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7069         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7070         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7071         Likewise.
7072         * elf/dl-conflict.c: Likewise.
7073         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7074         * elf/dl-dst.h: Likewise.
7075         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7076         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7077         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7078         * elf/dl-init.c (call_init, _dl_init): Likewise.
7079         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7080         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7081         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7082         Likewise.
7083         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7084         Likewise.
7085         * elf/dl-minimal.c (__libc_memalign): Likewise.
7086         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7087         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7088         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7089         * elf/dl-sym.c (do_sym): Likewise.
7090         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7091         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7092         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7093         * elf/dl-writev.h (_dl_writev): Likewise.
7094         * elf/ldconfig.c (search_dir): Likewise.
7095         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7096         (dl_main): Likewise.
7097         * elf/setup-vdso.h (setup_vdso): Likewise.
7098         * grp/compat-initgroups.c (compat_call): Likewise.
7099         * grp/fgetgrent.c (fgetgrent): Likewise.
7100         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7101         * grp/putgrent.c (putgrent): Likewise.
7102         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7103         Likewise.
7104         * hurd/hurdinit.c: Likewise.
7105         * iconvdata/8bit-gap.c (struct): Likewise.
7106         * iconvdata/ansi_x3.110.c : Likewise.
7107         * iconvdata/big5.c : Likewise.
7108         * iconvdata/big5hkscs.c : Likewise.
7109         * iconvdata/cp1255.c: Likewise.
7110         * iconvdata/cp1258.c : Likewise.
7111         * iconvdata/cp932.c : Likewise.
7112         * iconvdata/euc-cn.c: Likewise.
7113         * iconvdata/euc-jisx0213.c : Likewise.
7114         * iconvdata/euc-jp.c: Likewise.
7115         * iconvdata/euc-jp-ms.c : Likewise.
7116         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7117         * iconvdata/gb18030.c : Likewise.
7118         * iconvdata/gbbig5.c (const): Likewise.
7119         * iconvdata/gbgbk.c: Likewise.
7120         * iconvdata/gbk.c : Likewise.
7121         * iconvdata/ibm1364.c : Likewise.
7122         * iconvdata/ibm930.c : Likewise.
7123         * iconvdata/ibm932.c: Likewise.
7124         * iconvdata/ibm933.c : Likewise.
7125         * iconvdata/ibm935.c : Likewise.
7126         * iconvdata/ibm937.c : Likewise.
7127         * iconvdata/ibm939.c : Likewise.
7128         * iconvdata/ibm943.c: Likewise.
7129         * iconvdata/iso_11548-1.c: Likewise.
7130         * iconvdata/iso-2022-cn.c : Likewise.
7131         * iconvdata/iso-2022-cn-ext.c : Likewise.
7132         * iconvdata/iso-2022-jp-3.c: Likewise.
7133         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7134         * iconvdata/iso-2022-kr.c : Likewise.
7135         * iconvdata/iso646.c (gconv_end): Likewise.
7136         * iconvdata/iso_6937-2.c : Likewise.
7137         * iconvdata/iso_6937.c : Likewise.
7138         * iconvdata/iso8859-1.c: Likewise.
7139         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7140         * iconvdata/shift_jisx0213.c : Likewise.
7141         * iconvdata/sjis.c : Likewise.
7142         * iconvdata/t.61.c : Likewise.
7143         * iconvdata/tcvn5712-1.c : Likewise.
7144         * iconvdata/tscii.c: Likewise.
7145         * iconvdata/uhc.c : Likewise.
7146         * iconvdata/unicode.c (gconv_end): Likewise.
7147         * iconvdata/utf-16.c (gconv_end): Likewise.
7148         * iconvdata/utf-32.c (gconv_end): Likewise.
7149         * iconvdata/utf-7.c (base64): Likewise.
7150         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7151         * iconv/gconv_close.c (__gconv_close): Likewise.
7152         * iconv/gconv_open.c (__gconv_open): Likewise.
7153         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7154         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7155         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7156         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7157         (ucs4le_internal_loop_single): Likewise.
7158         * iconv/iconv.c (iconv): Likewise.
7159         * iconv/iconv_close.c: Likewise.
7160         * iconv/loop.c (SINGLE): Likewise.
7161         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7162         * include/atomic.h: Likewise.
7163         * inet/inet6_option.c (option_alloc): Likewise.
7164         * intl/bindtextdom.c (set_binding_values): Likewise.
7165         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7166         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7167         * intl/localealias.c (read_alias_file): Likewise.
7168         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7169         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7170         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7171         * libio/fmemopen.c (fmemopen): Likewise.
7172         * libio/iofgets.c (_IO_fgets): Likewise.
7173         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7174         * libio/iofgetws.c (fgetws): Likewise.
7175         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7176         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7177         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7178         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7179         * locale/findlocale.c (_nl_find_locale): Likewise.
7180         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7181         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7182         Likewise.
7183         * locale/setlocale.c (setlocale): Likewise.
7184         * login/programs/pt_chown.c (main): Likewise.
7185         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7186         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7187         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7188         (mmap, mmap64, mremap, munmap): Likewise.
7189         * math/e_exp2l.c: Likewise.
7190         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7191         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7192         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7193         * math/s_catan.c (__catan): Likewise.
7194         * math/s_catanf.c (__catanf): Likewise.
7195         * math/s_catanh.c (__catanh): Likewise.
7196         * math/s_catanhf.c (__catanhf): Likewise.
7197         * math/s_catanhl.c (__catanhl): Likewise.
7198         * math/s_catanl.c (__catanl): Likewise.
7199         * math/s_ccosh.c (__ccosh): Likewise.
7200         * math/s_ccoshf.c (__ccoshf): Likewise.
7201         * math/s_ccoshl.c (__ccoshl): Likewise.
7202         * math/s_cexp.c (__cexp): Likewise.
7203         * math/s_cexpf.c (__cexpf): Likewise.
7204         * math/s_cexpl.c (__cexpl): Likewise.
7205         * math/s_clog10.c (__clog10): Likewise.
7206         * math/s_clog10f.c (__clog10f): Likewise.
7207         * math/s_clog10l.c (__clog10l): Likewise.
7208         * math/s_clog.c (__clog): Likewise.
7209         * math/s_clogf.c (__clogf): Likewise.
7210         * math/s_clogl.c (__clogl): Likewise.
7211         * math/s_csin.c (__csin): Likewise.
7212         * math/s_csinf.c (__csinf): Likewise.
7213         * math/s_csinh.c (__csinh): Likewise.
7214         * math/s_csinhf.c (__csinhf): Likewise.
7215         * math/s_csinhl.c (__csinhl): Likewise.
7216         * math/s_csinl.c (__csinl): Likewise.
7217         * math/s_csqrt.c (__csqrt): Likewise.
7218         * math/s_csqrtf.c (__csqrtf): Likewise.
7219         * math/s_csqrtl.c (__csqrtl): Likewise.
7220         * math/s_ctan.c (__ctan): Likewise.
7221         * math/s_ctanf.c (__ctanf): Likewise.
7222         * math/s_ctanh.c (__ctanh): Likewise.
7223         * math/s_ctanhf.c (__ctanhf): Likewise.
7224         * math/s_ctanhl.c (__ctanhl): Likewise.
7225         * math/s_ctanl.c (__ctanl): Likewise.
7226         * math/w_pow.c: Likewise.
7227         * math/w_powf.c: Likewise.
7228         * math/w_powl.c: Likewise.
7229         * math/w_scalb.c (sysv_scalb): Likewise.
7230         * math/w_scalbf.c (sysv_scalbf): Likewise.
7231         * math/w_scalbl.c (sysv_scalbl): Likewise.
7232         * misc/error.c (error_tail): Likewise.
7233         * misc/pselect.c (__pselect): Likewise.
7234         * nis/nis_callback.c (__nis_create_callback): Likewise.
7235         * nis/nis_call.c (__nisfind_server): Likewise.
7236         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7237         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7238         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7239         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7240         * nis/nis_lookup.c (nis_lookup): Likewise.
7241         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7242         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7243         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7244         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7245         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7246         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7247         * nis/nss_compat/compat-initgroups.c (add_group)
7248         (internal_getgrent_r): Likewise.
7249         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7250         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7251         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7252         (internal_getspnam_r): Likewise.
7253         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7254         (_nss_nis_getaliasbyname_r): Likewise.
7255         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7256         (_nss_nis_getntohost_r): Likewise.
7257         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7258         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7259         (_nss_nis_getgrgid_r): Likewise.
7260         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7261         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7262         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7263         (_nss_nis_gethostbyname4_r): Likewise.
7264         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7265         (initgroups_netid): Likewise.
7266         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7267         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7268         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7269         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7270         (_nss_nis_getprotobynumber_r): Likewise.
7271         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7272         (_nss_nis_getsecretkey): Likewise.
7273         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7274         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7275         (_nss_nis_getpwuid_r): Likewise.
7276         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7277         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7278         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7279         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7280         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7281         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7282         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7283         Likewise.
7284         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7285         (_nss_nisplus_getntohost_r): Likewise.
7286         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7287         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7288         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7289         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7290         Likewise.
7291         * nis/nss_nisplus/nisplus-initgroups.c
7292         (_nss_nisplus_initgroups_dyn): Likewise.
7293         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7294         (_nss_nisplus_getnetbyaddr_r): Likewise.
7295         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7296         (_nss_nisplus_getprotobynumber_r): Likewise.
7297         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7298         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7299         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7300         Likewise.
7301         * nis/nss_nisplus/nisplus-service.c
7302         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7303         (_nss_nisplus_getservbyport_r): Likewise.
7304         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7305         (_nss_nisplus_getspnam_r): Likewise.
7306         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7307         Likewise.
7308         * nscd/aicache.c (addhstaiX): Likewise.
7309         * nscd/cache.c (cache_search, prune_cache): Likewise.
7310         * nscd/connections.c (register_traced_file, send_ro_fd)
7311         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7312         (main_loop_epoll): Likewise.
7313         * nscd/grpcache.c (addgrbyX): Likewise.
7314         * nscd/hstcache.c (addhstbyX): Likewise.
7315         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7316         * nscd/mem.c (gc, mempool_alloc): Likewise.
7317         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7318         (addinnetgrX): Likewise.
7319         * nscd/nscd-client.h (__nscd_acquire_maplock)
7320         (__nscd_drop_map_ref): Likewise.
7321         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7322         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7323         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7324         Likewise.
7325         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7326         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7327         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7328         (__nscd_get_map_ref): Likewise.
7329         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7330         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7331         Likewise.
7332         * nscd/pwdcache.c (addpwbyX): Likewise.
7333         * nscd/selinux.c (preserve_capabilities): Likewise.
7334         * nscd/servicescache.c (addservbyX): Likewise.
7335         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7336         * posix/fnmatch.c (fnmatch): Likewise.
7337         * posix/getopt.c (_getopt_internal_r): Likewise.
7338         * posix/glob.c (glob, glob_in_dir): Likewise.
7339         * posix/wordexp.c (exec_comm_child): Likewise.
7340         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7341         (getanswer_r, gaih_getanswer_slice): Likewise.
7342         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7343         * resolv/res_init.c: Likewise.
7344         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7345         * resolv/res_query.c (__libc_res_nquery): Likewise.
7346         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7347         Likewise.
7348         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7349         * stdio-common/perror.c (perror): Likewise.
7350         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7351         * stdio-common/tmpnam.c (tmpnam): Likewise.
7352         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7353         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7354         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7355         Likewise.
7356         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7357         * stdlib/putenv.c (putenv): Likewise.
7358         * stdlib/setenv.c (__add_to_environ): Likewise.
7359         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7360         * stdlib/strtol_l.c (INTERNAL): Likewise.
7361         * string/memmem.c (memmem): Likewise.
7362         * string/strerror.c (strerror): Likewise.
7363         * string/strnlen.c (__strnlen): Likewise.
7364         * string/test-memmem.c (simple_memmem): Likewise.
7365         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7366         * sunrpc/pm_getport.c (__get_socket): Likewise.
7367         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7368         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7369         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7370         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7371         Likewise.
7372         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7373         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7374         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7375         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7376         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7377         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7378         Likewise.
7379         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7380         Likewise.
7381         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7382         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7383         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7384         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7385         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7387         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7388         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7389         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7390         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7391         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7392         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7393         Likewise.
7394         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7395         Likewise.
7396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7397         Likewise.
7398         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7400         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7401         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7402         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7403         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7404         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7405         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7406         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7407         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7408         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7410         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7411         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7413         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7414         Likewise.
7415         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7416         Likewise.
7417         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7418         Likewise.
7419         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7420         Likewise.
7421         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7422         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7423         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7424         Likewise.
7425         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7426         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7427         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7428         * sysdeps/posix/sleep.c: Likewise.
7429         * sysdeps/posix/tempname.c: Likewise.
7430         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7431         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7432         Likewise.
7433         * sysdeps/powerpc/powerpc32/dl-machine.h
7434         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7435         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7437         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7438         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7439         Likewise.
7440         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7441         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7442         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7443         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7444         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7445         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7446         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7447         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7448         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7449         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7450         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7451         (elf_machine_lazy_rel): Likewise.
7452         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7454         (elf_machine_lazy_rel): Likewise.
7455         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7456         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7457         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7458         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7459         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7460         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7461         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7462         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7463         Likewise.
7464         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7465         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7466         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7467         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7468         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7469         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7470         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7471         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7472         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7473         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7474         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7475         Likewise.
7476         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7477         (__posix_fallocate64_l64): Likewise.
7478         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7479         (posix_fallocate): Likewise.
7480         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7481         Likewise.
7482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7483         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7484         (getifaddrs_internal): Likewise.
7485         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7486         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7487         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7488         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7489         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7490         (__posix_fallocate64_l64): Likewise.
7491         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7492         Likewise.
7493         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7494         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7495         (__get_clockfreq): Likewise.
7496         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7497         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7498         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7501         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7502         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7503         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7504         Likewise.
7505         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7506         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7507         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7508         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7509         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7510         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7511         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7512         Likewise.
7513         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7514         (posix_fallocate): Likewise.
7515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7516         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7517         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7518         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7519         (elf_machine_rela, elf_machine_rela_relative)
7520         (elf_machine_lazy_rel): Likewise.
7521         * time/asctime.c (asctime_internal): Likewise.
7522         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7523         * time/tzset.c (__tzset_parse_tz): Likewise.
7524         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7525         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7526         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7527         * wcsmbs/wcsmbsload.h: Likewise.
7529         [BZ #15894]
7530         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7532         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7533         (arena_get2): Remove THREAD_STATS conditionals.
7534         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7535         (__malloc_stats, int): Likewise.
7537 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7539         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7540         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7542         * manual/setjmp.texi: Fix typos/grammar errors.
7544         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7545         Only return early when n is <= 0.  Delete unused return statement.
7547         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7548         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7549         * debug/tst-longjmp_chk3.c: New file.
7551         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7552         (test_main): Replace code with set_fortify_handler call.
7553         * debug/test-strcpy_chk.c: Likewise.
7554         * debug/tst-chk1.c: Likewise.
7555         * debug/tst-longjmp_chk.c: Likewise.
7556         * test-skeleton.c: Include fcntl.h & paths.h
7557         (set_fortify_handler): Define.
7559         * debug/tst-longjmp_chk.c: Add header comment and include
7560         ../test-skeleton.c.
7561         (do_test): Mark static.
7562         (TEST_FUNCTION): Define.
7564         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7565         (IP_PMTUDISC_INTERFACE): Likewise.
7566         (IP_MULTICAST_IF): Likewise.
7567         (IP_MULTICAST_TTL): Likewise.
7568         (IP_MULTICAST_LOOP): Likewise.
7569         (IP_ADD_MEMBERSHIP): Likewise.
7570         (IP_DROP_MEMBERSHIP): Likewise.
7571         (IP_UNBLOCK_SOURCE): Likewise.
7572         (IP_BLOCK_SOURCE): Likewise.
7573         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7574         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7575         (IP_MSFILTER): Likewise.
7576         (MCAST_JOIN_GROUP): Likewise.
7577         (MCAST_BLOCK_SOURCE): Likewise.
7578         (MCAST_UNBLOCK_SOURCE): Likewise.
7579         (MCAST_LEAVE_GROUP): Likewise.
7580         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7581         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7582         (MCAST_MSFILTER): Likewise.
7583         (IP_MULTICAST_ALL): Likewise.
7584         (IP_UNICAST_IF): Likewise.
7586         * timezone/Makefile: Delete $(have-ksh) check.
7587         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7588         * timezone/tzselect.ksh: Add +x mode bits.
7590         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7591         (ANON_INODE_FS_MAGIC): Likewise.
7592         (BDEVFS_MAGIC): Likewise.
7593         (BINFMTFS_MAGIC): Likewise.
7594         (BTRFS_TEST_MAGIC): Likewise.
7595         (CRAMFS_MAGIC_WEND): Likewise.
7596         (DEBUGFS_MAGIC): Likewise.
7597         (ECRYPTFS_SUPER_MAGIC): Likewise.
7598         (EXT3_SUPER_MAGIC): Likewise.
7599         (EXT4_SUPER_MAGIC): Likewise.
7600         (FUTEXFS_SUPER_MAGIC): Likewise.
7601         (HOSTFS_SUPER_MAGIC): Likewise.
7602         (HUGETLBFS_MAGIC): Likewise.
7603         (MINIX3_SUPER_MAGIC): Likewise.
7604         (MTD_INODE_FS_MAGIC): Likewise.
7605         (NILFS_SUPER_MAGIC): Likewise.
7606         (OPENPROM_SUPER_MAGIC): Likewise.
7607         (PIPEFS_MAGIC): Likewise.
7608         (PSTOREFS_MAGIC): Likewise.
7609         (QNX6_SUPER_MAGIC): Likewise.
7610         (RAMFS_MAGIC): Likewise.
7611         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7612         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7613         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7614         (SECURITYFS_MAGIC): Likewise.
7615         (SELINUX_MAGIC): Likewise.
7616         (SMACK_MAGIC): Likewise.
7617         (SOCKFS_MAGIC): Likewise.
7618         (SQUASHFS_MAGIC): Likewise.
7619         (STACK_END_MAGIC): Likewise.
7620         (TMPFS_MAGIC): Likewise.
7621         (USBDEVICE_SUPER_MAGIC): Likewise.
7622         (V9FS_MAGIC): Likewise.
7623         (XENFS_SUPER_MAGIC): Likewise.
7624         (CRAMFS_MAGIC): Fix typo in comment.
7625         (EXT2_SUPER_MAGIC): Update comment.
7626         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7628 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7630         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7631         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7632         * sysdeps/unix/sysv/linux/arm: Move directory from
7633         ports/sysdeps/unix/sysv/linux/arm.
7634         * README: Update listing for arm-*-linux-gnueabi.
7636         * README: Remove mention of am33.
7638 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7640         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7641         than the comma operator, to avoid "rhs of comma has no effect"
7642         compiler warnings.
7643         (__sigfillset, __sigandset, __sigorset): Likewise.
7644         * include/signal.h (__sigemptyset): Likewise.
7645         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7647 2014-02-07  Allan McRae  <allan@archlinux.org>
7649         * version.h (RELEASE): Set to "development".
7650         (VERSION): Set to "2.19.90"
7651         * NEWS: Add 2.20 section.
7653 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7655         [BZ #16529]
7656         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7658 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7660         * manual/contrib.texi: Update entry for Carlos O'Donell,
7661         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7663 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7665         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7667         * sysdeps/unix/sysv/linux/kernel-features.h
7668         [__LINUX_KERNEL_VERSION >= 0x020621]
7669         (__ASSUME_PROC_PID_TASK_COMM): Define.
7671 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7673         [BZ #16398]
7674         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7675         conversion when destination buffer does not have enough space.
7676         * libio/tst-ftell-partial-wide.c: New test case.
7677         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7679         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7680         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7681         Leonard and Allan McRae.
7683 2014-02-04  David S. Miller  <davem@davemloft.net>
7685         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7686         32-bit.
7688 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7691         New file
7692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7693         New file
7694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7695         New file.
7696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7697         New file.
7698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7699         New file.
7700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7701         New file.
7702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7703         New file.
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7705         New file.
7706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7707         New file.
7708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7709         New file.
7710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7711         New file.
7712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7713         New file.
7714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7715         New file.
7717 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7719         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7720         * shlib-versions: Likewise.
7722 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7725         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7726         (abilist-pattern): New variable, set to %-le.abilist.
7728         * Makerules (abilist-pattern): New variable.
7729         (vpath): Use $(abilist-pattern) in place of %.abilist.
7730         (check-abi-% pattern rule): Likewise.
7731         (check-abi, update-abi): Likewise.
7733 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7737 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7739         * manual/startup.texi: Add next, previous, and top entries for
7740         the `Program Arguments' and `Environment Variables' nodes.
7742 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7744         * manual/macros.texi: Add comments before MTASC-safety macros.
7746         * manual/users.texi: Document MTASC-safety properties.
7748         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7749         (pthread_getspecific, pthread_setspecific): Format with
7750         @deftypefun, and add @safety note.
7751         * manual/signal.texi: Move comments that analyze the above
7752         functions to their home place.
7754 2014-02-03  Allan McRae  <allan@archlinux.org>
7756         * po/sl.po: Update Slovenian translation from translation project.
7758 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7760         * manual/time.texi (timegm): Add missing blank after @c.
7761         Reported by Joseph Myers <joseph@codesourcery.com>.
7763 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7765         * manual/check-safety.sh: New.
7766         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7768         * manual/terminal.texi: Document MTASC-safety properties.
7770         * manual/filesys.texi: Document MTASC-safety properties.
7772         * manual/errno.texi: Document MTASC-safety properties.
7774         * manual/intro.texi: Document safety identifiers and
7775         conditionals.
7777         * manual/string.texi (wcstok): Fix prototype.
7778         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7780         * manual/time.texi: Document MTASC-safety properties.
7782         * manual/string.texi: Document MTASC-safety properties.
7784         * manual/threads.texi: Document MTASC-safety properties.
7786         * manual/stdio.texi: Document MTASC-safety properties.
7788         * manual/syslog.texi: Document MTASC-safety properties.
7790         * manual/sysinfo.texi: Document MTASC-safety properties.
7792         * manual/startup.texi: Document MTASC-safety properties.
7794         * manual/socket.texi: Document MTASC-safety properties.
7796         * manual/signal.texi: Document MTASC-safety properties.
7798 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7800         * manual/setjmp.texi: Document MTASC-safety properties.
7802         * manual/search.texi: Document MTASC-safety properties.
7804         * manual/resource.texi: Document MTASC-safety properties.
7806         * manual/process.texi: Document MTASC-safety properties.
7808         * manual/platform.texi: Document MTASC-safety properties.
7810         * manual/pipe.texi: Document MTASC-safety properties.
7812         * manual/pattern.texi: Document MTASC-safety properties.
7814         * manual/message.texi: Document MTASC-safety properties.
7816         [BZ #12751]
7817         * manual/memory.texi: Document MTASC-safety properties.
7819         * manual/math.texi: Document MTASC-safety properties.
7821         * manual/locale.texi: Document MTASC-safety properties.
7823         * manual/llio.texi: Document MTASC-safety properties.
7825         * manual/libdl.texi: New.
7827         * manual/lang.texi: Document MTASC-safety properties.
7829         * manual/job.texi: Document MTASC-safety properties.
7831         * manual/getopt.texi: Document MTASC-safety properties.
7833         * manual/ctype.texi: Document MTASC-safety properties.
7835 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7837         [BZ #16046]
7838         * csu/libc-tls.c (static_map): Remove variable.
7839         (__libc_setup_tls): Use main executable's link map for TLS data.
7840         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7841         casing for LM_ID_BASE and GL(dl_nns).
7842         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7843         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7844         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7845         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7846         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7847         member.
7848         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7849         l_phnum members.
7851 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7853         * manual/debug.texi: Document MTASC-safety properties.
7855 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7857         [BZ #16510]
7858         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7859         of __x86_64__ when disabling x87 inline functions.
7861 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7863         * manual/charset.texi: Document MTASC-safety properties.
7865         * manual/crypt.texi: Document MTASC-safety properties.
7867         * manual/conf.texi: Document MTASC-safety properties.
7869         * manual/arith.texi: Document MTASC-safety properties.
7871         * manual/argp.texi: Document MTASC-safety properties.
7873         * manual/macros.texi: Introduce macros to document multi
7874         thread, asynchronous signal and asynchronous cancellation
7875         safety properties.
7876         * manual/intro.texi: Introduce the properties themselves.
7878 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7880         * sysdeps/sh/sh4/Makefile: New file.
7882 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7884         * math/gen-libm-test.pl ($srcdir): New variable.
7885         ($auto_input): Use it.
7887 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7889         [BZ #16506]
7890         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7891         access beyond array bounds when parsing netgroups file.
7893         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7894         the old buffer before realloc.
7896 2014-01-27  Allan McRae  <allan@archlinux.org>
7898         * po/fr.po: Update French translation from translation project.
7900 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7902         * sysdeps/sh/libm-test-ulps: Regenerate.
7904 2014-01-24  David S. Miller  <davem@davemloft.net>
7906         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7908 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7910         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7911         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7913 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7915         [BZ #16474]
7916         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7917         string pointers after reallocation.
7919 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7921         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7922         __SH4A__ instead of __SH_FPU_ANY__.
7924 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7926         * sysdeps/sh/fpu_control.h: New file.
7927         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7928         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7929         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7930         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7931         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7932         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7933         * sysdeps/sh/sys/ucontext.h: Remove.
7934         * sysdeps/sh/sys: Remove directory.
7936 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7938         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7939         s390/sys/ucontext.h.
7940         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7941         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7943 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
7945         [BZ #15605]
7946         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7948 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7950         [BZ#16431]
7951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7952         Adjust the vDSO correctly for internal calls.
7953         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7955 2014-01-20  Allan McRae  <allan@archlinux.org>
7957         * po/ca.po: Update Catalan translation from translation project.
7959 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
7961         * sysdeps/s390/sotruss-lib.c: New file.
7963 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7965         [BZ#16430]
7966         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7967         (__GI___gettimeofday): Alias for a different internal symbol to avoid
7968         local calls issues by not having a PLT stub required for IFUNC calls.
7969         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7971 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
7973         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7974         * math/test-fpucw-static.c: Likewise.
7976 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7978         [BZ #16453]
7979         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7981 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7983         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7984         implementation for powerpc.
7986 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
7988         [BZ #14782]
7989         * sysdeps/posix/system.c (__libc_system): Do not enable
7990         asynchronous cancellation.
7992 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7994         [BZ #16427]
7995         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7996         handling only for numbers special also in the IEEE case.
7998 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8000         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8002 2014-01-11  Allan McRae  <allan@archlinux.org>
8004         * po/bg.po: Update Bulgarian translation from translation project.
8006         * po/de.po: Update German translation from translation project.
8008 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8010         * sysdeps/generic/gcc-compat.h: New file.
8012 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8014         * benchtests/asin-inputs: Correct slow inputs.
8015         * benchtests/acos-inputs: Likewise.
8017 2014-01-10  Allan McRae  <allan@archlinux.org>
8019         * po:sv.po: Update Swedish translation from translation project.
8021         * po/vi.po: Update Vietnamese translation from translation project.
8023         * po/eo.po: Update Esperanto translation from translation project.
8025         * po/cs.po: Update Czech translation from translation project.
8027         * po/nl.po: Update Dutch translation from translation project.
8029         * po/pl.po: Update Polish translation from translation project.
8031         * po/ru.po: Update Russian translation from translation project.
8033         * po/uk.po: Update Ukrainian translation from translation project.
8035 2014-01-08  Brooks Moses  <bmoses@google.com>
8037         * elf/dl-load.c: Fix comment typo.
8039 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8041         * po/header.pot: Rename to...
8042         * po/pot.header: ... this.
8043         * po/Makefile: Use pot.header.
8045 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8046             Maxim Kuvyrkov  <maxim@kugelworks.com>
8048         [BZ #16394]
8049         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8050         SRC and DEST against LEN.
8052 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8054         [BZ #16414]
8055         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8056         implementation.
8057         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8059 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8063 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8065         [BZ #16408]
8066         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8067         for large positive arguments.
8069 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8071         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8073         * math/auto-libm-test-in: Mark various tests with
8074         xfail-rounding:ldbl-128ibm.
8075         * math/auto-libm-test-out: Regenerated.
8077         [BZ #16407]
8078         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8079         Increase overflow threshold.
8081 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8083         [BZ #14286]
8084         * stdio-common/vfprintf.c: Check for integer overflow.
8086 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8088         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8089         the first argument and return value of __tls_get_addr_internal.
8091 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8093         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8094         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8096 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8098         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8099         * sysdeps/s390/rtld-global-offsets.sym: New file.
8100         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8101         GLIBC_2.19 symbol.
8102         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8103         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8104         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8105         ... this.
8106         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8107         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8108         ... this.
8109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8110         Regenerate.
8111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8112         Regenerate.
8113         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8114         halfs of GPRs for high_gprs contexts.
8115         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8116         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8117         field.
8118         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8119         uc_flags field.
8120         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8121         64 bit versions:
8122         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8123         for high GPRs (uc_high_gprs) and for future extensions
8124         (__reserved).
8125         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8126         for future extensions (__reserved).
8127         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8128         64 bit versions:
8129         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8130         SC_HIGHGPRS offset definition.
8131         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8132         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8134         * Versions.def: Add GLIBC_2.19 for libpthread.
8135         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8136         siglongjmp for libpthread with GLIBC_2.19 symver.
8137         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8138         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8139         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8140         * sysdeps/s390/__longjmp.c: New file.
8141         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8142         * sysdeps/s390/longjmp.c: New file.
8143         * sysdeps/s390/setjmp.S: New file.
8144         * sysdeps/s390/sigjmp.S: New file.
8145         * sysdeps/s390/v1-longjmp.c: New file.
8146         * sysdeps/s390/v1-setjmp.h: New file.
8147         * sysdeps/s390/v1-sigjmp.c: New file.
8148         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8149         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8150         GLIBC_2.19 version.
8151         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8152         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8153         versioned symbols for ____longjmp_chk.
8154         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8155         Likewise.
8156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8157         Regenerate.
8158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8159         Regenerate.
8160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8161         Regenerate.
8162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8163         Regenerate.
8164         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8165         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8166         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8167         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8168         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8169         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8170         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8171         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8172         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8173         * sysdeps/s390/rtld-__longjmp.c: New file.
8174         * sysdeps/s390/rtld-setjmp.S: New file.
8176 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8178         [BZ #16400]
8179         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8180         Return -__logl (x) for small positive arguments without evaluating
8181         a polynomial.
8183 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8185         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8186         Rename to ...
8187         (__ptrace_peeksiginfo_args): ... this.
8188         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8190         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8192 2014-01-06  Allan McRae  <allan@archlinux.org>
8194         * inet/netinet/in.h: Fix typo in comment.
8196 2014-01-05  Andreas Jaeger  <aj@suse.de>
8198         * sysdeps/i386/fpu/libm-test-ulps: Update.
8200 2014-01-05  Allan McRae  <allan@archlinux.org>
8202         * po/libc.pot: Regenerated.
8204         * malloc/memusagestat.c: Fix gettext call formatting.
8206 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8208         * nscd/nscd.c: Improve usage() output.
8210 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8212         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8213         * sysdeps/unix/sysv/linux/configure: Regenerated.
8214         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8215         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8217 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8219         [BZ #16390]
8220         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8221         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8223 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8225         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8226         extra tokens at end of #undef directive.
8227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8228         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8229         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8231 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8233         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8235         * math/auto-libm-test-in: Mark various tests with
8236         xfail-rounding:ldbl-128ibm.
8237         * math/auto-libm-test-out: Regenerated.
8239 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8241         [BZ #16386]
8242         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8243         numbers with subnormal high part when calculating exponent.
8245         [BZ #16385]
8246         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8247         fabs.
8249         [BZ #16384]
8250         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8251         M_LN2l.
8252         (__ieee754_acoshl): Use __log1pl not __log1p.
8254 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8256         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8257         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8258         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8259         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8260         (reused_arena, arena_get2): Convert to GNU style.
8261         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8262         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8263         (memalign_check, __malloc_set_state): Likewise.
8264         * malloc/mallocbug.c (main): Likewise.
8265         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8266         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8267         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8268         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8269         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8270         (__posix_memalign, malloc_info): Likewise.
8271         * malloc/malloc.h: Likewise.
8272         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8273         (mallochook, memalignhook, reallochook, mabort): Likewise.
8274         * malloc/mcheck.h: Likewise.
8275         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8276         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8277         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8278         * malloc/morecore.c (__default_morecore): Likewise.
8279         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8280         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8281         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8282         (print_and_abort): Likewise.
8283         * malloc/obstack.h: Likewise.
8284         * malloc/set-freeres.c (__libc_freeres): Likewise.
8285         * malloc/tst-mallocstate.c (main): Likewise.
8286         * malloc/tst-mtrace.c (main): Likewise.
8287         * malloc/tst-realloc.c (do_test): Likewise.
8289 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8291         [BZ #16366]
8292         * nscd/netgroupcache.c (do_notfound): New function.
8293         (addgetnetgrentX): Use it.
8295         [BZ # 16365]
8296         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8297         NSS_STATUS_NOTFOUND.
8299 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8301         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8304 2014-01-01  Allan McRae  <allan@archlinux.org>
8306         * scripts/update-copyrights: Update configure input file suffix.
8308         * NEWS: Update copyright year.
8309         * catgets/gencat.c: Likewise.
8310         * csu/version.c: Likewise.
8311         * debug/catchsegv.sh: Likewise.
8312         * debug/pcprofiledump.c: Likewise.
8313         * debug/xtrace.sh: Likewise.
8314         * elf/ldconfig.c: Likewise.
8315         * elf/ldd.bash.in: Likewise.
8316         * elf/pldd.c: Likewise.
8317         * elf/sotruss.ksh: Likewise.
8318         * elf/sprof.c: Likewise.
8319         * iconv/iconv_prog.c: Likewise.
8320         * iconv/iconvconfig.c: Likewise.
8321         * locale/programs/locale.c: Likewise.
8322         * locale/programs/localedef.c: Likewise.
8323         * login/programs/pt_chown.c: Likewise.
8324         * malloc/memusage.sh: Likewise.
8325         * malloc/memusagestat.c: Likewise.
8326         * malloc/mtrace.pl: Likewise.
8327         * manual/libc.texinfo: Likewise.
8328         * nscd/nscd.c: Likewise.
8329         * nss/getent.c: Likewise.
8330         * nss/makedb.c: Likewise.
8331         * posix/getconf.c: Likewise.
8332         * scripts/test-installation.pl: Likewise.
8334         * All files with FSF copyright notices: Update copyright dates
8335         using scripts/update-copyrights.
8336         * intl/plural.c: Regenerated.
8337         * locale/programs/charmap-kw.h: Likewise.
8338         * locale/programs/locfile-kw.h: Likewise.
8340 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8342         * sysdeps/unix/sysv/linux/configure: Regenerated.
8343         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8344         the linux/fanotify.h header.
8345         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8346         HAVE_LINUX_FANOTIFY_H is defined.
8348 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8350         * benchtests/cos-inputs: New inputs.
8351         * benchtests/sin-inputs: Likewise.
8353         * benchtests/atan-inputs: New inputs. Fix name of multiple
8354         precision fallback inputs.
8356         * benchtests/atanh-inputs: New inputs.
8357         * benchtests/tanh-inputs: Likewise.
8359         * benchtests/acosh-inputs: New inputs.
8360         * benchtests/asinh-inputs: Likewise.
8362         * benchtests/cosh-inputs: New inputs.
8363         * benchtests/sinh-inputs: Likewise.
8365         * benchtests/acos-inputs: Add more inputs.
8366         * benchtests/asin-inputs: Likewise.
8368 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8370         [BZ #16375]
8371         * manual/arith.texi: Fix spelling.
8372         * manual/charset.texi: Likewise.
8373         * manual/errno.texi: Likewise.
8374         * manual/filesys.texi: Likewise.
8375         * manual/lang.texi: Likewise.
8376         * manual/llio.texi: Likewise.
8377         * manual/locale.texi: Likewise.
8378         * manual/message.texi: Likewise.
8379         * manual/resource.texi: Likewise.
8380         * manual/search.texi: Likewise.
8381         * manual/setjmp.texi: Likewise.
8382         * manual/stdio.texi: Likewise.
8383         * manual/string.texi: Likewise.
8384         * manual/sysinfo.texi: Likewise.
8385         * manual/time.texi: Likewise.
8387 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8389         * po/sl.po: New file.
8391 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8393         * .gitignore: Add core/.gdbinit/.gdb_history.
8395 2013-12-27  Allan McRae  <allan@archlinux.org>
8397         [BZ #16369]
8398         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8399         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8401 2013-12-24  Brooks Moses  <bmoses@google.com>
8403         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8404         all compilers that claim C++98 compliance, not just GCC.
8405         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8406         Likewise.
8408 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8410         * NEWS: Restore accidentally deleted bug-fix entries.
8412 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8413             Ondřej Bílka  <neleai@seznam.cz>
8415         [BZ #15073]
8416         * malloc/malloc.c (_int_free): Perform sanity check only if we
8417         have_lock.
8419 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8421         [BZ #12986]
8422         * manual/stdio.texi (String Input Conversions): Clarify that character
8423         classes are not supported.
8425 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8429 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8431         [BZ #16337]
8432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8433         Calculate results for small negative arguments directly rather
8434         than using reflection formula with special underflow handling.
8436         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8437         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8438         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8439         (fchflags): Likewise.
8440         (revoke): Likewise.
8441         (setlogin): Likewise.
8442         (sigaltstack): Likewise.
8443         (wait4): Likewise.
8444         (sigblock): Remove.
8445         (sigsetmask): Likewise.
8446         (wait3): Likewise.
8447         (waitpid): Likewise.
8448         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8449         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8450         file.
8451         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8452         * sysdeps/unix/bsd/Makefile: ... here.
8453         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8454         * sysdeps/unix/bsd/Versions: ... here.
8455         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8456         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8457         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8458         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8459         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8460         * sysdeps/unix/bsd/sigblock.c: ... here.
8461         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8462         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8463         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8464         * sysdeps/unix/bsd/sigvec.c: ... here.
8465         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8466         * sysdeps/unix/bsd/tcdrain.c: ... here.
8467         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8468         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8469         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8470         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8471         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8472         * sysdeps/unix/bsd/wait.c: ... here.
8473         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8474         * sysdeps/unix/bsd/wait3.c: ... here.
8475         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8476         * sysdeps/unix/bsd/waitpid.c: ... here.
8478 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8480         [BZ #16356]
8481         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8482         round-to-nearest for [!USE_AS_EXPM1L].
8483         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8484         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8485         more tests of exp and exp10.  Expect some exp10 tests to miss
8486         exceptions or fail in directed rounding modes.
8487         * math/auto-libm-test-out: Regenerated.
8488         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8489         (exp10_test_tonearest): New function.
8490         (exp10_towardzero_test_data): New array.
8491         (exp10_test_towardzero): New function.
8492         (exp10_downward_test_data): New array.
8493         (exp10_test_downward): New function.
8494         (exp10_upward_test_data): New array.
8495         (exp10_test_upward): New function.
8496         (main): Call the new functions.
8497         * sysdeps/i386/fpu/libm-test-ulps: Update.
8498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8500 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8502         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8503         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8504         * math/auto-libm-test-out: Regenerated.
8505         * math/libm-test.inc (acosh_test_data): Add more tests.
8506         (atanh_test_data): Likewise.
8507         (ceil_test_data): Likewise.
8508         (copysign_test_data): Likewise.
8509         * sysdeps/i386/fpu/libm-test-ulps: Update.
8510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8512         * timezone/checktab.awk: Update from tzcode 2013i.
8513         * timezone/private.h: Likewise.
8514         * timezone/scheck.c: Likewise.
8515         * timezone/tzfile.h: Likewise.
8516         * timezone/tzselect.ksh: Likewise.
8517         * timezone/zdump.c: Likewise.
8518         * timezone/zic.c: Likewise.
8520         * math/auto-libm-test-in: Add tests of cpow.
8521         * math/auto-libm-test-out: Regenerated.
8522         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8523         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8524         mpc_cc_c.
8525         (func_calc_desc): Add mpc_cc_c union field.
8526         (test_functions): Add cpow.
8527         (special_fill_2pi): New function.
8528         (special_real_inputs): Add 2pi.
8529         (calc_generic_results): Handle mpc_cc_c.
8530         * sysdeps/i386/fpu/libm-test-ulps: Update.
8531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8533         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8534         csqrt, ctan and ctanh.
8535         * math/auto-libm-test-out: Regenerated.
8536         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8537         (TEST_COND_x86): Likewise.
8538         (ccos_test_data): Use AUTO_TESTS_c_c.
8539         (ccosh_test_data): Likewise.
8540         (cexp_test_data): Likewise.
8541         (clog_test_data): Likewise.
8542         (csqrt_test_data): Likewise.
8543         (ctan_test_data): Likewise.
8544         (ctan_tonearest_test_data): Likewise.
8545         (ctan_towardzero_test_data): Likewise.
8546         (ctan_downward_test_data): Likewise.
8547         (ctan_upward_test_data): Likewise.
8548         (ctanh_test_data): Likewise.
8549         (ctanh_tonearest_test_data): Likewise.
8550         (ctanh_towardzero_test_data): Likewise.
8551         (ctanh_downward_test_data): Likewise.
8552         (ctanh_upward_test_data): Likewise.
8553         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8554         mpc_c_c.
8555         (func_calc_desc): Add mpc_c_c union field.
8556         (FUNC_mpc_c_c): New macro.
8557         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8558         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8559         ctanh.
8560         (special_fill_min_subnorm_p120): New function.
8561         (special_real_inputs): Add min_subnorm_p120.
8562         (calc_generic_results): Handle mpc_c_c.
8563         * sysdeps/i386/fpu/libm-test-ulps: Update.
8564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8566 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8568         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8569         (do_sin_slow): New functions.
8570         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8571         (cslow2, csloww1, csloww2): Use the new functions.
8573         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8574         Use M to change sign of result instead of X.  Assume X is
8575         positive.
8576         (csloww1): Likewise.
8577         (__sin): Adjust.
8578         (__cos): Adjust.
8580         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8581         arguments A and DA.
8582         (__sin): Adjust.
8583         (__cos): Likewise.
8585         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8586         (__cos): Likewise.
8587         (sloww1): Don't adjust sign of DX.
8588         (csloww1): Likewise.
8589         (sloww2): Use X directly and don't adjust sign of DX.
8590         (csloww2): Likewise.
8592 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8594         * math/auto-libm-test-in: Add tests of cabs and carg.
8595         * math/auto-libm-test-out: Regenerated.
8596         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8597         (carg_test_data): Likewise.
8598         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8599         mpc_c_f.
8600         (func_calc_desc): Add mpc_c_f union field.
8601         (test_functions): Add cabs and carg.
8602         (calc_generic_results): Handle mpc_c_f.
8604         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8605         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8606         as a macro and a compat symbol.
8607         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8608         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8609         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8610         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8611         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8612         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8613         not use .hidden.
8614         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8615         Likewise.
8616         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8617         Likewise.
8618         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8619         Likewise.
8620         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8621         Likewise.
8622         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8623         Likewise.
8624         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8625         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8626         from GLIBC_2.3.2.
8628 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8632 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8634         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8635         trailing whitespace removed.
8636         * scripts/config.guess: Update to version 2013-11-29.
8637         * scripts/config.sub: Update to version 2013-10-01.
8639         * math/auto-libm-test-in: Add tests of sincos.
8640         * math/auto-libm-test-out: Regenerated.
8641         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8643         mpfr_f_11.
8644         (func_calc_desc): Add mpfr_f_11 union field.
8645         (test_functions): Add sincos.
8646         (calc_generic_results): Handle mpfr_f_11.
8647         * sysdeps/i386/fpu/libm-test-ulps: Update.
8648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8650 2013-12-19  Andreas Schwab  <schwab@suse.de>
8652         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8653         CALL_MCOUNT.
8654         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8655         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8656         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8658 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8660         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8661         * sysdeps/i386/fpu/libm-test-ulps: Update.
8662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8664         [BZ #16293]
8665         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8666         round-to-nearest mode when using frndint.
8667         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8668         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8669         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8670         Likewise.
8671         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8672         sinh test to fail.
8673         * math/auto-libm-test-out: Regenerated.
8674         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8675         (TEST_COND_x86): Likewise.
8676         (expm1_tonearest_test_data): New array.
8677         (expm1_test_tonearest): New function.
8678         (expm1_towardzero_test_data): New array.
8679         (expm1_test_towardzero): New function.
8680         (expm1_downward_test_data): New array.
8681         (expm1_test_downward): New function.
8682         (expm1_upward_test_data): New array.
8683         (expm1_test_upward): New function.
8684         (main): Run the new test functions.
8685         * sysdeps/i386/fpu/libm-test-ulps: Update.
8686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8688         * include/features.h: Update comment documenting feature test
8689         macros.  Mention _DEFAULT_SOURCE in comment.
8690         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8691         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8692         _BSD_SOURCE and _SVID_SOURCE.
8693         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8694         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8695         !_SVID_SOURCE]: Likewise.
8696         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8697         (__USE_POSIX_IMPLICITLY): Define.
8698         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8699         (_POSIX_SOURCE): Undefine and redefine.
8700         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8701         (_POSIX_C_SOURCE): Likewise.
8702         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8703         (Feature Test Macros): Update documentation of default features.
8705 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8707         * benchtests/Makefile: Add bench-strtok.
8708         * benchtests/bench-strtok.c: New file: strtok benchtest.
8710 2013-12-19  Allan McRae  <allan@archlinux.org>
8712         * manual/install.texi: Suppress menu for plain text output.
8713         * INSTALL: Regenerated.
8715 2013-12-18  Brooks Moses  <bmoses@google.com>
8717         [BZ #15846]
8718         * misc/getauxval.c: Include errno.h.
8719         (__getauxval): Set errno to ENOENT if the requested type is not
8720         found.
8721         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8722         don't declare with __attribute_const__.
8723         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8724         * manual/startup.texi: Document that getauxval sets errno.
8726 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8728         * math/auto-libm-test-in: Add tests of jn and yn.
8729         * math/auto-libm-test-out: Regenerated.
8730         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8731         (yn_test_data): Likewise.
8732         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8733         mpfr_if_f.
8734         (func_calc_desc): Add mpfr_if_f union field.
8735         (FUNC_mpfr_if_f): New macro.
8736         (test_functions): Add jn and yn.
8737         (calc_generic_results): Assert type of second input for
8738         mpfr_ff_f.  Handle mpfr_if_f.
8739         (output_for_one_input_case): Disable all checking for arguments
8740         fitting floating-point types in case of an integer argument.
8741         * sysdeps/i386/fpu/libm-test-ulps: Update.
8742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8745         Don't expect fegetround reference in libm.so.
8747 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8749         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8750         $(config-cflags-nofma).
8752 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8754         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8755         * math/auto-libm-test-out: Regenerated.
8757         [BZ #16338]
8758         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8759         to determine exponent and adjust argument to have exponent of -1.
8760         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8761         log2.
8762         * math/auto-libm-test-out: Regenerated.
8763         * sysdeps/i386/fpu/libm-test-ulps: Update.
8764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8766 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8768         * manual/probes.texi: Remove cases when per-thread arenas are
8769         disabled.
8771 2013-12-18  Andreas Schwab  <schwab@suse.de>
8773         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8774         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8775         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8776         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8777         * sysdeps/i386/i686/multiarch/Makefile: Update.
8778         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8780 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8782         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8783         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8785 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8787         [BZ #15968]
8788         Support TZ transition times < 00:00:00.
8789         This is needed for version-3 tz-format files; it supports time
8790         stamps past 2037 for America/Godthab (the only entry in the tz
8791         database for which this change is relevant).
8792         * manual/time.texi (TZ Variable): Document transition times
8793         from -167:59:59 through -00:00:01.
8794         * time/tzset.c (tz_rule): Time of day is now signed.
8795         (__tzset_parse_tz): Parse negative time of day.
8797         Document TZ transition times >= 25:00:00.
8798         * manual/time.texi (TZ Variable): Document transition times from
8799         25:00:00 through 167:59:59.  These are already supported, and this
8800         support will help with version-3 tz-format files.
8802         * manual/time.texi (TZ Variable): Modernize North America example
8803         to reflect current (i.e., 2007-and-later) daylight saving rules.
8805         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8807 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8809         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8810         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8811         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8812         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8813         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8814         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8815         * sysdeps/unix/bsd/clock.c: Likewise.
8816         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8817         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8818         * sysdeps/unix/bsd/init-posix.c: Likewise.
8819         * sysdeps/unix/bsd/poll.c: Likewise.
8820         * sysdeps/unix/bsd/ptsname.c: Likewise.
8821         * sysdeps/unix/bsd/seekdir.c: Likewise.
8822         * sysdeps/unix/bsd/setegid.c: Likewise.
8823         * sysdeps/unix/bsd/seteuid.c: Likewise.
8824         * sysdeps/unix/bsd/setgid.c: Likewise.
8825         * sysdeps/unix/bsd/setrgid.c: Likewise.
8826         * sysdeps/unix/bsd/setruid.c: Likewise.
8827         * sysdeps/unix/bsd/setsid.c: Likewise.
8828         * sysdeps/unix/bsd/setuid.c: Likewise.
8829         * sysdeps/unix/bsd/sigaction.c: Likewise.
8830         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8831         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8832         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8833         * sysdeps/unix/bsd/telldir.c: Likewise.
8834         * sysdeps/unix/bsd/times.c: Likewise.
8835         * sysdeps/unix/bsd/usleep.c: Likewise.
8837         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8838         ($(objpfx)libbsd-compat.a): Remove rule.
8840         * include/features.h (__FAVOR_BSD): Do not define.
8841         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8842         features conflicting with POSIX.
8843         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8844         (_BSD_SOURCE): Remove description of not being a subset of other
8845         feature test macros.
8846         * manual/job.texi (getpgrp): Do not document BSD version.
8847         (getpgid): Do not document by reference to BSD getpgrp.
8848         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8849         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8850         * signal/signal.h [__FAVOR_BSD]: Likewise.
8851         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8852         instead of making contents conditional on [__FAVOR_BSD].
8853         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8855 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8859 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8861         [BZ #16314]
8862         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8863         values below 2**-450, not 2**-500.
8864         * math/auto-libm-test-in: Don't allow spurious underflow from
8865         hypot.
8866         * math/auto-libm-test-out: Regenerated.
8868         [BZ #16316]
8869         [BZ #16330]
8870         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8871         values of ha and hb and sort them after adjusting subnormal
8872         arguments.
8873         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8874         Likewise.
8875         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8876         values of ea and eb and sort them after adjusting subnormal
8877         arguments.
8878         * math/auto-libm-test-in: Do not expect some hypot tests of
8879         subnormals to fail.  Add more hypot tests.
8880         * math/auto-libm-test-out: Regenerated.
8882 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8884         [BZ #13304]
8885         * sysdeps/sh/s_fma.c: New file.
8886         * sysdeps/sh/s_fmaf.c: New file.
8887         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8888         version.
8889         * sysdeps/sh/Implies: Add sh/soft-fp.
8891 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8893         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8894         level of indirection to members `objname', `errstring', `malloced'.
8895         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8896         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8897         it as the __longjmp argument (just pass 1 instead).
8898         (_dl_catch_error): Initialize C with argument pointers and address of
8899         volatile local ERRCODE rather than copying values out of C at return.
8901 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8903         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8904         * math/auto-libm-test-out: Regenerated.
8905         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8906         (hypot_test_data): Likewise.
8907         (pow_test_data): Likewise.
8908         (pow_tonearest_test_data): Likewise.
8909         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8910         mpfr_ff_f.
8911         (func_calc_desc): Add mpfr_ff_f union field.
8912         (FUNC_mpfr_ff_f): New macro.
8913         (test_functions): Add atan2, hypot and pow.
8914         (special_fill_min): New function.
8915         (special_fill_minus_min): Likewise.
8916         (special_fill_min_subnorm): Likewise.
8917         (special_fill_minus_min_subnorm): Likewise.
8918         (special_real_inputs): Add min, -min, min_subnorm and
8919         -min_subnorm.
8920         (calc_generic_results): Handle mpfr_ff_f.
8921         * sysdeps/i386/fpu/libm-test-ulps: Update.
8922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8924 2013-12-16  Will Newton  <will.newton@linaro.org>
8926         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8927         (Aligned Memory Blocks): Add documentation for aligned_alloc
8928         and suggest it as an alternative to posix_memalign.
8929         (Hooks for Malloc): Document __memalign_hook is also called
8930         for aligned_alloc.  (Summary of Malloc): Add summary for
8931         aligned alloc.  Document __memalign_hook is also called
8932         for aligned_alloc.
8934 2013-12-16  Will Newton  <will.newton@linaro.org>
8936         * manual/memory.texi (Malloc Examples): Clarify default
8937         alignment documentation.  Suggest posix_memalign rather
8938         than memalign or valloc.
8939         (Aligned Memory Blocks): Remove suggestion to use memalign
8940         or valloc.  Remove obsolete comment about BSD.
8941         Document memalign errno values and mark the function obsolete.
8942         Document posix_memalign returned error codes.  Mark valloc
8943         as obsolete.  (Hooks for Malloc): __memalign_hook is also
8944         called for posix_memalign and valloc.
8945         (Summary of Malloc): Add posix_memalign to function summary.
8946         __memalign_hook is also called for posix_memalign and valloc.
8948 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8950         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8951         TAYLOR_SIN.
8952         (__sin): Adjust.
8953         (__cos): Likewise.
8954         (sloww): Use mynumber union.  Expand ternary operator into
8955         if-else statements.
8956         (cslow): use mynumber union.
8958 2013-12-16  Allan McRae  <allan@archlinux.org>
8960         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8961         * configure: Regenerated.
8963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8965         [BZ #14120]
8966         * configure.ac: Added --enable-maintainer-mode. Check for
8967         autoconf when enabled.
8968         * configure: Regenerated.
8970         * nscd/nscd.service: New file.
8971         * nscd/nscd.tmpfiles: New file.
8973 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
8975         [BZ #12100]
8976         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8977         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8978         * sysdeps/x86_64/multiarch/strstr.c: ... here.
8979         (strstr): Add __strstr_sse2_unaligned ifunc.
8980         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8981         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8982         (strcasestr): Remove __strcasestr_sse42 ifunc.
8983         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8987 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8989         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8990         * sysdeps/sh/bits/fenv.h: ... here.
8991         * sysdeps/sh/sh4/fpu/bits: Remove directory.
8993 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8995         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8998         hypotf multiarch implementations.
8999         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9000         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9001         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9002         multiarch hypot for PPC64.
9003         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9004         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9005         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9006         multiarch hypotf for PPC64.
9008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9009         modff multiarch implementations.
9010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9013         multiarch modf for PPC64.
9014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9017         multiarch modff for PPC64.
9019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9020         and logl multiarch implementations.
9021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9024         multiarch logb for PPC64.
9025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9028         multiarch logb for PPC64.
9029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9032         multiarch logb for PPC64.
9034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9035         isinff multiarch implementation.
9036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9037         file.
9038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9040         multiarch isinf for PPC64.
9041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9042         file.
9043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9044         multiarch isinff for PPC64.
9046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9047         finitef multiarch implementation.
9048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9049         file.
9050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9052         multiarch finite for PPC64.
9053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9054         file.
9055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9056         multiarch finitef for PPC64.
9058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9059         lrint multiarch implementation.
9060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9061         file.
9062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9064         multiarch llrint for PPC64.
9065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9066         multiarch lrint for PPC64.
9068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9069         copysignf multiarch implementation.
9070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9071         file.
9072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9073         file.
9074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9075         multiarch copysign for PPC64.
9076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9077         multiarch copysignf for PPC64.
9079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9080         multiarch implementation.
9081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9082         file.
9083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9084         file.
9085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9086         file.
9087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9088         file.
9089         multiarch llround for PPC64.
9090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9091         multiarch trunc for PPC64.
9092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9093         multiarch truncf for PPC64.
9095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9096         multiarch implementation.
9097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9098         file.
9099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9100         file.
9101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9102         file.
9103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9104         file.
9105         multiarch llround for PPC64.
9106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9107         multiarch round for PPC64.
9108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9109         multiarch roundf for PPC64.
9111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9112         multiarch implementation.
9113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9114         file.
9115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9116         file.
9117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9118         file.
9119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9120         file.
9121         multiarch llround for PPC64.
9122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9123         multiarch floor for PPC64.
9124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9125         multiarch floorf for PPC64.
9127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9128         multiarch implementation.
9129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9130         file.
9131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9132         file.
9133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9134         file.
9135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9136         file.
9137         multiarch llround for PPC64.
9138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9139         multiarch ceil for PPC64.
9140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9141         multiarch ceilf for PPC64.
9143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9144         multiarch implementation.
9145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9146         file.
9147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9148         file.
9149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9150         file.
9151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9152         multiarch llround for PPC64.
9153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9154         multiarch lround for PPC64.
9156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9157         multiarch implementation.
9158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9161         file.
9162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9165         multiarch isnan for PPC64.
9166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9167         multiarch isnanf for PPC64.
9169         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9170         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9171         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9172         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9173         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9176         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9177         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9178         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9179         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9182         multiarch implementations.
9183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9184         (__libc_ifunc_impl_list): Likewise.
9185         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9186         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9187         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9188         multiarch stpcpy for PPC64.
9190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9191         multiarch implementations.
9192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9193         (__libc_ifunc_impl_list): Likewise.
9194         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9195         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9196         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9197         multiarch strcpy for PPC64.
9199         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9200         redefine function name.
9201         (_wordcopy_fwd_dest_aligned): Likewise.
9202         (_wordcopy_bwd_aligned): Likewise.
9203         (_wordcopy_bwd_dest_aligned): Likewise.
9204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9205         multiarch implementations.
9206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9207         (__libc_ifunc_impl_list): Likewise.
9208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9209         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9210         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9211         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9212         multiarch wcscpy for PPC64.
9214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9215         multiarch implementations.
9216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9217         (__libc_ifunc_impl_list): Likewise.
9218         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9220         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9221         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9222         multiarch wcscpy for PPC64.
9224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9225         multiarch implementations.
9226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9227         (__libc_ifunc_impl_list): Likewise.
9228         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9229         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9230         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9231         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9232         multiarch wcsrchr for PPC64.
9234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9235         multiarch implementations.
9236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9237         (__libc_ifunc_impl_list): Likewise.
9238         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9239         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9240         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9241         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9242         multiarch wcschr for PPC64.
9244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9245         multiarch implementations.
9246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9247         (__libc_ifunc_impl_list): Likewise.
9248         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9249         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9250         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9251         multiarch strchrnul for PPC64.
9253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9254         implementations.
9255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9256         (__libc_ifunc_impl_list): Likewise.
9257         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9258         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9259         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9260         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9261         strchr for PPC64.
9263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9264         implementations.
9265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9266         (__libc_ifunc_impl_list): Likewise.
9267         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9268         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9269         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9270         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9271         strncmp for PPC64.
9273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9274         multiarch implementations.
9275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9276         (__libc_ifunc_impl_list): Likewise.
9277         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9278         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9279         strncasecmp for PPC64.
9280         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9281         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9282         multiarch strncasecmp_l for PPC64.
9284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9285         multiarch implementations.
9286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9287         (__libc_ifunc_impl_list): Likewise.
9288         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9289         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9290         multiarch strcasecmp for PPC64.
9291         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9292         file.
9293         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9294         multiarch strcasecmp_l for PPC64.
9296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9297         implementations.
9298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9299         (__libc_ifunc_impl_list): Likewise.
9300         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9301         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9302         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9303         strnlen for PPC64.
9305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9306         implementations.
9307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9308         (__libc_ifunc_impl_list): Likewise.
9309         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9310         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9311         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9312         strlen for PPC64.
9314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9315         implementations.
9316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9317         (__libc_ifunc_impl_list): Likewise.
9318         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9319         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9320         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9321         rawmemrchr for PPC64.
9323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9324         implementation.
9325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9326         (__libc_ifunc_impl_list): Likewise.
9327         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9328         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9329         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9330         memrchr for PPC64.
9332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9333         implementation.
9334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9335         (__libc_ifunc_impl_list): Likewise.
9336         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9337         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9338         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9339         memchr for PPC64.
9341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9342         implementation.
9343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9344         (__libc_ifunc_impl_list): Likewise.
9345         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9346         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9347         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9348         mempcpy for PPC64.
9350         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9351         avoid cretion of __bzero symbol.
9352         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9353         Likewise.
9354         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9355         Likewise.
9356         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9357         Likewise.
9358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9359         multiarch implementations.
9360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9361         (__libc_ifunc_impl_list): Likewise.
9362         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9363         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9365         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9366         bzero for PPC32.
9367         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9368         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9369         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9370         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9371         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9372         memset for PPC64.
9373         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9375         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9377         implementations.
9378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9379         (__libc_ifunc_impl_list): Likewise.
9380         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9381         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9382         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9383         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9384         memcmp for PPC64.
9386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9387         multiarch for POWER/PPC64.
9388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9389         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9390         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9391         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9392         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9394         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9396         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9397         memcpy for PPC64.
9399         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9400         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9401         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9402         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9403         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9404         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9405         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9406         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9407         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9408         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9409         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9410         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9411         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9412         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9413         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9422 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9424         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9426 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9428         * benchtests/Makefile (bench): Add exp2 and log2.
9429         (LDLIBS-bench-exp2): Add -lm.
9430         (LDLIBS-bench-log2): Likewise.
9431         * benchtests/exp2-inputs: New inputs file.
9432         * benchtests/log2-inputs: New inputs file.
9433         * benchtests/log-inputs: Add new inputs.
9434         * benchtests/tan-inputs: Likewise.
9436 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9438         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9439         definition...
9440         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9441         (csloww2): ... from here.
9443         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9444         instead of structures.
9445         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9446         (POLYNOMIAL): Likewise.
9447         (TAYLOR_SLOW): Likewise.
9448         (__sin): Likewise.
9449         (__cos): Likewise.
9450         (slow1): Likewise.
9451         (slow2): Likewise.
9452         (sloww): Likewise.
9453         (sloww1); Likewise.
9454         (sloww2): Likewise.
9455         (bsloww1): Likewise.
9456         (bsloww2): Likewise.
9457         (cslow2): Likewise.
9458         (csloww): Likewise.
9459         (csloww1): Likewise.
9460         (csloww2): Likewise.
9462 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9464         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9465         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9466         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9467         * malloc/hooks.c (realloc_check): Likewise.
9469         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9470         * malloc/arena.c: Remove PER_THREAD conditional.
9471         [!PER_THREAD]: Remove code.
9472         (ptmalloc_unlock_all2): Likewise.
9473         (ptmalloc_init): Likewise.
9474         (_int_new_arena): Likewise.
9475         (arena_get2): Likewise.
9476         * malloc/hooks.c (__malloc_get_state): Likewise.
9477         (__malloc_set_state): Likewise.
9478         * malloc/malloc.c: Likewise.
9479         (struct malloc_state): Likewise.
9480         (struct malloc_par): Likewise.
9481         (__libc_realloc): Likewise.
9482         (__libc_mallopt): Likewise.
9484 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9486         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9488 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9490         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9491         macro to a function.  Check for zero perturb_byte.
9492         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9494         * malloc/malloc.c: (force_reg): Remove.
9495         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9496         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9497         force_reg by atomic_forced_read.
9498         * malloc/arena.c (ptmalloc_init): Likewise.
9499         * malloc/hooks.c (top_check): Likewise.
9501 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9505 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9509 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9511         * math/auto-libm-test-in: Add tests of lgamma.
9512         * math/auto-libm-test-out: Regenerated.
9513         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9514         (M_LOG_2_SQRT_PIl): Likewise.
9515         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9516         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9517         mpfr_f_f1.
9518         (func_calc_desc): Add mpfr_f_f1 union field.
9519         (ARGS1): New macro.
9520         (ARGS2): Likewise.
9521         (ARGS3): Likewise.
9522         (ARGS4): Likewise.
9523         (RET1): Likewise.
9524         (RET2): Likewise.
9525         (CALC): Likewise.
9526         (FUNC): Likewise.
9527         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9528         (test_functions): Add lgamma.
9529         (calc_generic_results): Handle mpfr_f_f1.
9530         * sysdeps/i386/fpu/libm-test-ulps: Update.
9531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9533 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9535         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9536         __mpn_add_n for PowerPC64/POWER7.
9537         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9538         __mpn_sub_n for PowerPC64/POWER7.
9540         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9541         __mpn_addmul_1 for PowerPC64.
9542         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9543         __mpn_submul_1 for PowerPC64.
9544         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9545         for PowerPC64.
9546         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9547         for PowerPC64.
9549 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9551         [BZ #15089]
9552         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9554 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9556         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9558         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9559         add multiarch folders.
9560         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9561         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9562         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9563         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9564         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9565         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9566         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9567         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9568         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9569         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9570         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9579         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9581         New file.
9582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9583         New file.
9584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9585         multiarch __ieee754_hypot for PowerPC32.
9586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9587         New file.
9588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9589         New file.
9590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9591         multiarch __ieee754_hypotf for PowerPC32.
9593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9594         long_double_symbol only if __logbl is defined.
9595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9596         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9598         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9600         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9601         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9602         path for implementation.
9603         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9604         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9606         logb, and logbl multiarch implementations for PowerPC32.
9607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9608         file.
9609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9610         file.
9611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9612         multiarch logb for PowerPC32.
9613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9614         file.
9615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9616         file.
9617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9618         multiarch logbf for PowerPC32.
9619         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9621         file.
9622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9623         multiarch logbl implementation for PowerPC32.
9625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9626         and modff multiarch implementations.
9627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9628         New file.
9629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9630         New file.
9631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9632         multiarch modf for PowerPC32.
9633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9634         New file.
9635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9636         New file.
9637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9638         multiarch modff for PowerPC32.
9640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9641         and lrintf multiarch implementations.
9642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9643         New file.
9644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9645         New file.
9646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9647         multiarch lrint for PowerPC32.
9648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9649         file: multiarch lrintf for PowerPC32.
9651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9652         and lroundf multiarch implementations.
9653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9654         New file.
9655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9656         New file.
9657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9658         New file.
9659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9660         multiarch lround for PowerPC32.
9661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9662         file: multiarch lroundf for PowerPC32.
9664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9665         copysign and copysignf multiarch implementations.
9666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9667         New file.
9668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9669         New file.
9670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9671         file: multiarch copysign for PowerPC32.
9672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9673         file: multiarch copysignf for PowerPC32.
9675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9676         and truncf multiarch implementations.
9677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9678         New file.
9679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9680         file.
9681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9682         multiarch trunc for PowerPC32.
9683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9684         New file.
9685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9686         New file.
9687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9688         multiarch truncf for PowerPC32.
9690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9691         and roundf multiarch implementations.
9692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9693         New file.
9694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9695         file.
9696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9697         multiarch round for PowerPC32.
9698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9699         New file.
9700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9701         New file.
9702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9703         multiarch roundf for PowerPC32.
9705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9706         and floorf multiarch implementations.
9707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9708         New file.
9709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9710         file.
9711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9712         multiarch floor for PowerPC32.
9713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9714         New file.
9715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9716         New file.
9717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9718         multiarch floorf for PowerPC32.
9720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9721         and ceilf multiarch implementations.
9722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9723         New file.
9724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9725         file.
9726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9727         multiarch ceil for PowerPC32.
9728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9729         New file.
9730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9731         file.
9732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9733         multiarch ceilf for PowerPC32.
9735         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9736         is defined.
9737         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9738         FINITEF is defined.
9739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9740         and finitef multiarch implementations.
9741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9742         New file.
9743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9744         file.
9745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9746         multiarch finite for PowerPC32.
9747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9748         New file.
9749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9750         file: multiarch finitef for PowerPC32.
9752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9753         and isinff multiarch implementations.
9754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9755         file.
9756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9757         file.
9758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9759         multiarch isinf for PowerPC32.
9760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9761         New file.
9762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9763         multiarch isinff for PowerPC32.
9765         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9766         alias when __isnan is defined.
9767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9768         and isnanf multiarch implementations.
9769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9770         file.
9771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9772         file.
9773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9774         file.
9775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9776         file.
9777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9778         multiarch isnan for PowerPC32.
9779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9780         New file.
9781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9782         New file.
9783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9784         multiarch isnanf for PowerPC32.
9786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9787         and sqrtf multiarch implementations.
9788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9789         file.
9790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9791         file.
9792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9793         multiarch sqrt for PowerPC32.
9794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9795         file.
9796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9797         file.
9798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9799         multiarch sqrtf for PowerPC32.
9801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9802         and llroundf multiarch implementations.
9803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9804         New file.
9805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9806         New file.
9807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9808         New file.
9809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9810         file: multiarch llround for PowerPC32.
9811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9812         file: multiarch llroundf for PowerPC32.
9814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9815         multiarch PowerPC32 fpu implementations.
9816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9817         New file.
9818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9819         New file.
9820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9821         multiarch llrint for PowerPC32.
9822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9823         New file.
9824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9825         New file.
9826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9827         file.
9829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9831         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9832         file.
9833         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9834         file.
9835         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9836         file.
9837         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9838         multiarch wordcopy for PPC32.
9839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9840         wordcopy objects.
9841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9842         (__libc_ifunc_impl_list): Likewise.
9843         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9844         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9845         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9846         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9847         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9848         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9850         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9852         file.
9853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9854         file.
9855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9856         file.
9857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9858         multiarch wcscpy for PPC32.
9859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9860         multiarch objects.
9861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9862         (__libc_ifunc_impl_list): Likewise.
9863         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9864         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9865         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9866         sysdeps/powerpc/power6/wcscpy.c.
9868         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9870         file.
9871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9872         file.
9873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9874         file.
9875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9876         multiarch wcsrchr for PPC32.
9877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9878         multiarch objects.
9879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9880         (__libc_ifunc_impl_list): Likewise.
9881         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9882         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9883         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9884         sysdeps/powerpc/power6/wcsrchr.c.
9886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9887         file.
9888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9889         file.
9890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9892         multiarch wcschr for PPc32.
9893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9894         multiarch objects.
9895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9896         (__libc_ifunc_impl_list): Likewise.
9897         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9898         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9899         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9900         sysdeps/powerpc/power6/wcschr.c.
9902         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9903         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9904         file.
9905         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9906         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9907         file: multiarch strchr for PPC32.
9908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9909         multiarch objects.
9910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9911         (__libc_ifunc_impl_list): Likewise.
9913         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9914         name.
9915         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9916         file.
9917         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9918         file.
9919         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9920         multiarch strchrnul for PPC32.
9921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9922         multiarch objects.
9923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9924         (__libc_ifunc_impl_list): Likewise.
9926         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9927         file.
9928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9929         multiarch strncasecmp for PPC32.
9930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9931         file.
9932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9933         multiarch strncasecmp_l for PPC32.
9934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9935         strncasecmp multiarch objects.
9936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9937         (__libc_ifunc_impl_list): Likewise.
9939         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9940         file.
9941         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9942         multiarch strncasecmp for PPC32.
9943         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9944         New file.
9945         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9946         multiarch strcasecmp_l for PPC32.
9947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9948         multiarch objects.
9949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9950         (__libc_ifunc_impl_list): Likewise.
9952         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9953         file.
9954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9955         file.
9956         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9957         multiarch strncmp for PPC32.
9958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9959         multiarch objects.
9960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9961         (__libc_ifunc_impl_list): Likewise.
9963         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9964         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9965         file.
9966         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9967         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9969         multiarch objects.
9970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9971         (__libc_ifunc_impl_list): Likewise.
9973         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9974         file.
9975         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9976         file.
9977         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9979         multiarch objects.
9980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9981         (__libc_ifunc_impl_list): Likewise.
9983         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9984         file.
9985         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9986         file.
9987         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9988         multiarch rawmemchr for PPC32.
9989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9990         multiarch objects.
9991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9992         (__libc_ifunc_impl_list): Likewise.
9994         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9995         file.
9996         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9997         file.
9998         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9999         file: memrchr multiarch for PPC32.
10000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10001         multiarch objects.
10002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10003         (__libc_ifunc_impl_list): Likewise.
10005         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10006         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10007         file.
10008         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10009         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10010         multiarch memchr for PPC32.
10011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10012         multiarch objects.
10013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10014         (__libc_ifunc_impl_list): Likewise.
10016         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10017         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10018         file.
10019         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10020         file.
10021         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10022         file: multiarch mempcpy for PPC32.
10023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10024         multiarch objects.
10025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10026         (__libc_ifunc_impl_list): Likewise.
10028         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10029         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10030         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10031         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10032         multiarch bzero for PPC32.
10033         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10034         file.
10035         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10036         file.
10037         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10038         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10039         file: multiarch memset for PPC32.
10040         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10042         memset multiarch objects.
10043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10044         (__libc_ifunc_impl_list): Likewise.
10046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10047         file.
10048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10049         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10050         memcmp for PPC32.
10051         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10053         multiarch objects.
10054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10055         (__libc_ifunc_impl_list): Likewise.
10057         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10060         file.
10061         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10062         file.
10063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10064         file.
10065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10066         multiarch memcpy for PPC32.
10067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10068         multiarch objects.
10069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10070         (__libc_ifunc_impl_list): Likewise.
10072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10073         support multiarch for POWER/PPC32.
10074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10075         Likewise.
10076         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10078         Implies file to make multiarch folder appers before the fpu and
10079         default folder for power4 configuration.
10081 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10083         * scripts/bench.pl: Append volatile keyword to type.
10085 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10087         * sysdeps/sh/sotruss-lib.c: New file.
10088         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10090 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10094 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10096         [BZ #6810]
10097         * math/w_tgamma.c: Include <errno.h>.
10098         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10099         * math/w_tgammaf.c: Include <errno.h>.
10100         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10101         * math/w_tgammal.c: Include <errno.h>.
10102         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10103         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10104         underflow.  Add more tgamma tests.
10105         * math/auto-libm-test-out: Regenerated.
10106         * sysdeps/i386/fpu/libm-test-ulps: Update.
10107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10109         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10110         sin, sinh, tan, tanh, tgamma, y0 and y1.
10111         * math/auto-libm-test-out: Regenerated.
10112         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10113         (TEST_COND_x86): Likewise.
10114         (M_E2l): Remove macro.
10115         (M_E3l): Likewise.
10116         (M_2_SQRT_PIl): Likewise.
10117         (M_SQRT_PIl): Likewise.
10118         (M_1_DIV_El): Likewise.
10119         (log_test_data): Use AUTO_TESTS_f_f.
10120         (log10_test_data): Likewise.
10121         (log1p_test_data): Likewise.
10122         (log2_test_data): Likewise.
10123         (sin_test_data): Likewise.
10124         (sin_tonearest_test_data): Likewise.
10125         (sin_towardzero_test_data): Likewise.
10126         (sin_downward_test_data): Likewise.
10127         (sin_upward_test_data): Likewise.
10128         (sinh_test_data): Likewise.
10129         (sinh_tonearest_test_data): Likewise.
10130         (sinh_towardzero_test_data): Likewise.
10131         (sinh_downward_test_data): Likewise.
10132         (sinh_upward_test_data): Likewise.
10133         (tan_test_data): Likewise.
10134         (tan_tonearest_test_data): Likewise.
10135         (tan_towardzero_test_data): Likewise.
10136         (tan_downward_test_data): Likewise.
10137         (tan_upward_test_data): Likewise.
10138         (tanh_test_data): Likewise.
10139         (tgamma_test_data): Likewise.
10140         (y0_test_data): Likewise.
10141         (y1_test_data): Likewise.
10142         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10143         (special_real_inputs): Add pi/4.
10144         * sysdeps/i386/fpu/libm-test-ulps: Update.
10145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10149         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10150         "longjmp_target" static probes.
10151         (__longjmp): Rename to __longjmp_symbol.
10152         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10153         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10154         on which longjmp to generate.
10155         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10156         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10157         probe.
10158         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10159         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10160         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10161         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10162         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10163         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10165         __longjmp_symbol based on which __longjmp to generate.
10166         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10167         probe.
10168         (setjmp): Rename to setjmp_symbol.
10169         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10170         (_setjmp): Rename to _setjmp_symbol.
10171         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10172         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10173         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10174         which setjmp to generate.
10175         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10176         "longjmp_target" static probes.
10178 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10180         * benchtests/README: Add note about output arguments.
10181         * benchtests/bench-sincos.c: Remove file.
10182         * benchtests/sincos-inputs: New file.
10183         * scripts/bench.pl: Identify output arguments and define
10184         static variables for them.
10186         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10188         [BZ #15941]
10189         * Makefile (INSTALL): Add install-plain.texi as the primary
10190         dependency.
10191         * manual/install-plain.texi: New file.
10192         * manual/install.texi: Include node directive only for
10193         non-plaintext output.
10195 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10197         * stdlib/longlong.h: Update from GCC.
10199         [BZ #6807]
10200         [BZ #15901]
10201         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10202         * math/w_j0f.c (y0f): Likewise.
10203         * math/w_j0l.c (__y0l): Likewise.
10204         * math/w_j1.c (y1): Likewise.
10205         * math/w_j1f.c (y1f): Likewise.
10206         * math/w_j1l.c (__y1l): Likewise
10207         * math/w_jn.c (yn): Likewise.
10208         * math/w_jnf.c (ynf): Likewise.
10209         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10210         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10211         value for Bessel function domain errors outside _SVID_ mode.
10212         Adjust sign of return value for yn (negative integer, 0).
10213         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10214         by zero in return for negative x and set sign appropriately for
10215         negative n.
10216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10218         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10219         expectations in error cases.
10220         (y1_test_data): Likewise.
10221         (yn_test_data): Likewise.
10222         * sysdeps/i386/fpu/libm-test-ulps: Update.
10223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10225 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10227         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10228         "64" to "64-v1".  Add "64-v2".
10229         (abi-64-options): Rename to ...
10230         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10231         (abi-64-condition): Rename to ...
10232         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10233         (abi-64-ld-soname): Rename to ...
10234         (abi-64-v1-ld-soname): ... this.
10235         (abi-64-v2-options): Define.
10236         (abi-64-v2-condition): Likewise.
10237         (abi-64-v2-ld-soname): Likewise.
10238         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10239         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10244 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10245             Alan Modra  <amodra@gmail.com>
10247         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10248         New versions for use with the ELFv2 ABI.
10249         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10250         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10251         declaration.
10252         (struct La_ppc64v2_retval): Likewise.
10253         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10254         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10255         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10256         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10257         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10258         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10259         Do not save or restore CR.
10260         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10261         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10262         return values for ELFv2 ABI.  Fix location of FPR return registers.
10263         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10264         updated values for _CALL_ELF == 2.
10265         (La_regs, La_retval, int_retval): Likewise.
10267 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10269         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10270         (FRAME_MIN_SIZE_PARM): Likewise.
10271         (FRAME_BACKCHAIN): Likewise.
10272         (FRAME_CR_SAVE): Likewise.
10273         (FRAME_LR_SAVE): Likewise.
10274         (FRAME_TOC_SAVE): Likewise.
10275         (FRAME_PARM_SAVE): Likewise.
10276         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10277         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10278         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10279         (call_mcount_parm_offset): New macro.
10280         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10281         (PROF): Use symbolic stack frame offsets.
10282         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10283         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10284         Redefine in terms of FRAME_MIN_SIZE.
10285         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10286         (_dl_profile_resolve): Likewise.  Update comment.
10287         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10288         symbols stack frame offsets.
10289         (__sigsetjmp): Likewise.
10290         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10291         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10292         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10293         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10296         (FRAME_BACKCHAIN): Remove.
10297         (FRAME_CR_SAVE): Likewise.
10298         (FRAME_LR_SAVE): Likewise.
10299         (FRAME_COMPILER_DW): Likewise.
10300         (FRAME_LINKER_DW): Likewise.
10301         (FRAME_TOC_SAVE): Likewise.
10302         (FRAME_PARM_SAVE): Likewise.
10303         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10304         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10305         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10307         (CHECK_SP): Use symbolic stack frame offsets.
10308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10309         zone" instead of caller's parameter save area for temp storage.
10310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10311         Likewise.  Also, use symbolic stack frame offsets.
10312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10313         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10314         our own stack frame instead of the caller's.
10315         (__socket): Use symbolic stack frame offsets.
10317 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10318             Alan Modra  <amodra@gmail.com>
10320         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10321         Define.
10322         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10323         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10324         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10325         New function.
10326         (elf_machine_fixup_plt): Call it.
10327         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10328         reloc arguments.
10329         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10331         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10332         r2 before calling target.
10334 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10335             Alan Modra  <amodra@gmail.com>
10337         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10338         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10339         versions of macros to support ELFv2 ABI.
10340         (LOCALENTRY): New macro.
10341         (ENTRY, EALIGN): Use it.
10342         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10343         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10344         fall through into ENTRY entry point.
10345         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10346         Only define if _CALL_ELF != 2.
10348         (elf_machine_matches_host): Verify ABI version matches.
10349         (RTLD_START): Use LOCALENTRY.
10350         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10351         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10352         (PLT_ENTRY_WORDS): New macro.
10353         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10354         (elf_machine_runtime_setup): Support ELFv2 ABI.
10355         (elf_machine_fixup_plt): Likewise.
10356         (elf_machine_plt_conflict): Likewise.
10357         (resolve_ifunc): Likewise.
10358         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10360         Likewise.
10361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10362         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10364         (makecontext): Support ELFv2 ABI.
10365         * elf/elf.h (EF_PPC64_ABI): Define.
10367 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10369         * sysdeps/powerpc/powerpc64/sysdep.h
10370         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10371         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10372         (ENTRY) [ASSEMBLER]: ... but instead here ...
10373         (EALIGN) [ASSEMBLER]: ... and here.
10374         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10375         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10376         (ENTRY_2) [!ASSEMBLER]: Use it.
10377         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10378         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10379         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10380         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10381         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10383         Use PPC64_LOAD_FUNCPTR.
10385         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10387 2013-12-04  Alan Modra  <amodra@gmail.com>
10389         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10390         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10391         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10392         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10395         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10396         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10397         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10398         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10399         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10401 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10404         (__makecontext): Fix incorrect CFI when backtracing out of
10405         context created via makecontext.
10406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10407         (__setcontext): Fix incorrect CFI during switch to new context.
10408         (__novec_setcontext): Likewise.
10410 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10412         [BZ #4772]
10413         * time/strptime_l.c (__strptime_internal): Allow modifiers
10414         in strptime.
10415         * time/tst-strptime.c (day_tests): Add testcase.
10417 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10419         * scripts/bench.pl: Skip over blank lines.
10421 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10423         [BZ #926]
10424         * manual/time.texi (Calendar Time): Clarify what timezone functions
10425         use.
10427 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10431 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10433         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10434         implementation.
10435         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10436         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10437         * debug/memset_chk.c (__memset_chk): Likewise.
10438         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10439         * debug/strncpy_chk.c: Likewise.
10441 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10443         [BZ #15268]
10444         [BZ #15425]
10445         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10446         (__ieee754_exp): For possibly underflowing results, check size of
10447         result and force underflow exception if required.
10448         * math/auto-libm-test-in: Add more tests of exp.
10449         * math/auto-libm-test-out: Regenerated.
10450         * sysdeps/i386/fpu/libm-test-ulps: Update.
10451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10453         [BZ #16283]
10454         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10455         * math/w_exp2f.c (__exp2f): Likewise.
10456         * math/w_exp2l.c (__exp2l): Likewise.
10457         * math/auto-libm-test-in: Do not allow missing errno on exp2
10458         underflow.
10459         * math/auto-libm-test-out: Regenerated.
10461 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10463         [BZ #16274]
10464         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10465         handle filename validation.
10466         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10467         (do_open): Delete.
10469 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10471         [BZ #6786]
10472         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10473         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10474         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10475         <float.h>.
10476         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10477         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10478         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10479         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10480         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10481         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10482         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10483         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10484         Add more erfc tests.
10485         * math/auto-libm-test-out: Regenerated.
10486         * sysdeps/i386/fpu/libm-test-ulps: Update.
10487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10489         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10490         exp2, expm1, j0 and j1.
10491         * math/auto-libm-test-out: Regenerated.
10492         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10493         (erfc_test_data): Likewise.
10494         (exp_test_data): Likewise.
10495         (exp_tonearest_test_data): Likewise.
10496         (exp_towardzero_test_data): Likewise.
10497         (exp_downward_test_data): Likewise.
10498         (exp_upward_test_data): Likewise.
10499         (exp10_test_data): Likewise.
10500         (exp2_test_data): Likewise.
10501         (expm1_test_data): Likewise.
10502         (j0_test_data): Likewise.
10503         (j1_test_data): Likewise.
10504         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10505         (input_flag_type): Add flag_xfail_rounding.
10506         (input_flags): Add xfail-rounding.
10507         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10508         (output_for_one_input_case): Handle flag_xfail_rounding.
10509         * sysdeps/i386/fpu/libm-test-ulps: Update.
10510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10512 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10514         [BZ #16289]
10515         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10516         division by 0.
10518 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10520         [BZ #16195]
10521         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10522         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10523         (STAP_PROBE0): New macro.
10524         (STAP_PROBE1): Likewise.
10525         (STAP_PROBE2): Likewise.
10526         (STAP_PROBE3): Likewise.
10527         (STAP_PROBE4): Likewise.
10529 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10531         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10533 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10535         * benchtests/Makefile (bench): Add sqrt.
10536         (LDLIBS-bench-sqrt): New.
10537         * benchtests/sqrt-input: New.
10539 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10541         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10542         (GAIH_EAI): Likewise.
10543         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10544         (gaih_inet): Likewise.
10545         (getaddrinfo): Don't use GAIH_EAI.
10547         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10548         (struct gaih): Remove definition.
10550 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10552         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10553         Use HERRNOP directly.
10555 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10559 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10561         * math/gen-auto-libm-tests.c (test_functions): Add more
10562         single-argument functions.
10563         (special_fill_pi_2): New function.
10564         (special_fill_minus_pi_2): Likewise.
10565         (special_fill_pi_6): Likewise.
10566         (special_fill_minus_pi_6): Likewise.
10567         (special_fill_pi_3): Likewise.
10568         (special_fill_2pi_3): Likewise.
10569         (special_fill_e): Likewise.
10570         (special_fill_1_e): Likewise.
10571         (special_fill_e_minus_1): Likewise.
10572         (special_real_inputs): Add more special inputs.
10573         (output_for_one_input_case): Do not require ERANGE on underflow to
10574         zero if round-to-nearest result does not underflow to zero, unless
10575         exact results required.
10576         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10577         atan, atanh, cbrt, cos and cosh.
10578         * math/auto-libm-test-out: Regenerated.
10579         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10580         (acos_tonearest_test_data): Likewise.
10581         (acos_towardzero_test_data): Likewise.
10582         (acos_downward_test_data): Likewise.
10583         (acos_upward_test_data): Likewise.
10584         (acosh_test_data): Likewise.
10585         (asin_test_data): Likewise.
10586         (asin_tonearest_test_data): Likewise.
10587         (asin_towardzero_test_data): Likewise.
10588         (asin_upward_test_data): Likewise.
10589         (asinh_test_data): Likewise.
10590         (atan_test_data): Likewise.
10591         (atanh_test_data): Likewise.
10592         (cbrt_test_data): Likewise.
10593         (cos_test_data): Likewise.
10594         (cos_tonearest_test_data): Likewise.
10595         (cos_towardzero_test_data): Likewise.
10596         (cos_downward_test_data): Likewise.
10597         (cos_upward_test_data): Likewise.
10598         (cosh_test_data): Likewise.
10599         (cosh_tonearest_test_data): Likewise.
10600         (cosh_towardzero_test_data): Likewise.
10601         (cosh_downward_test_data): Likewise.
10602         (cosh_upward_test_data): Likewise.
10603         * sysdeps/i386/fpu/libm-test-ulps: Update.
10604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10606 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10608         [BZ #6787]
10609         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10610         * math/w_exp10f.c (__exp10f): Likewise.
10611         * math/w_exp10l.c (__exp10l): Likewise.
10612         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10613         errno settings in existing tests.
10615         [BZ #14032]
10616         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10617         precision control set to double precision.
10618         * sysdeps/i386/fpu/w_sqrt.c: New file.
10619         * math/auto-libm-test-in: Add more tests.
10620         * math/auto-libm-test-out: Update.
10622         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10623         (sqrt_test_tonearest): New function.
10624         (sqrt_towardzero_test_data): New variable.
10625         (sqrt_test_towardzero): New function.
10626         (sqrt_downward_test_data): New variable.
10627         (sqrt_test_downward): New function.
10628         (sqrt_upward_test_data): New variable.
10629         (sqrt_test_upward): New function.
10630         (main): Call the new functions.
10632         * math/gen-auto-libm-tests.c: New file.
10633         * math/auto-libm-test-in: Likewise.
10634         * math/auto-libm-test-out: New generated file.
10635         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10636         variables.
10637         (%beautify): Add generated representations of zero.
10638         (top level): Set $auto_input and call parse_auto_input.
10639         (beautify): Remove trailing "f" from hex float constants.
10640         (parse_args): Handle XFAIL_TEST.
10641         (convert_condition): New function.
10642         (or_value): Likewise.
10643         (or_cond_value): Likewise.
10644         (generate_testfile): Handle AUTO_TESTS_* lines.
10645         (parse_auto_input): New function.
10646         * math/libm-test.inc (XFAIL_TEST): New macro.
10647         (ERRNO_UNCHANGED): Update value.
10648         (ERRNO_EDOM): Likewise.
10649         (ERRNO_ERANGE): Likewise.
10650         (IGNORE_RESULT): Likewise.
10651         (TEST_COND_flt_32): New macro.
10652         (TEST_COND_dbl_64): Likewise.
10653         (TEST_COND_ldbl_96_intel): Likewise.
10654         (TEST_COND_ldbl_96_m68k): Likewise.
10655         (TEST_COND_ldbl_128): Likewise.
10656         (TEST_COND_ldbl_128ibm): Likewise.
10657         (TEST_COND_long32): Likewise.
10658         (TEST_COND_long64): Likewise.
10659         (TEST_COND_before_rounding): Likewise.
10660         (TEST_COND_after_rounding): Likewise.
10661         (enable_test): Handle XFAIL_TEST flag.
10662         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10663         with finite results.
10664         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10665         auto-libm-test-out.
10667 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10668             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10670         [BZ #16214]
10671         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10672         __tls_get_addr_internal instead of __tls_get_offset in order to
10673         avoid GOT pointer dependency.  Make rtld export
10674         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10675         __tls_get_addr since we are a __tls_get_offset platform.
10676         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10677         GOT pointer being set up before.
10678         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10680 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10682         * manual/math.texi (Errors in Math Functions): Document accuracy
10683         goals.
10685         [BZ #15004]
10686         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10687         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10688         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10689         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10690         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10691         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10692         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10693         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10694         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10695         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10696         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10697         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10698         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10699         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10700         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10701         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10703         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10704         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10705         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10706         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10707         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10708         Likewise.
10709         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10710         Likewise.
10711         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10712         Likewise.
10713         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10714         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10715         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10716         atomic-feupdateenv and flt-rounds.
10717         * sysdeps/powerpc/nofpu/Versions (libc): Add
10718         __atomic_feholdexcept, __atomic_feclearexcept,
10719         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10720         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10721         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10722         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10723         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10724         here.
10725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10726         Update.
10728         * manual/arith.texi (FP Exceptions): Document that exceptions may
10729         not be raised when matherr is used.
10730         (Math Error Reporting): Document overflow in directed rounding
10731         modes.  Document that errno may not be set when finite values are
10732         returned on overflow.  Document intent to set errno on underflow
10733         only for underflow to zero.
10735         [BZ #16271]
10736         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10737         round-to-nearest then adjust result for other rounding modes.
10738         * include/fenv.h (fegetround): Use libm_hidden_proto.
10739         * math/fegetround.c (fegetround): Use libm_hidden_def.
10740         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10741         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10742         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10743         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10744         Likewise.
10745         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10746         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10747         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10748         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10750 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10752         [BZ #16077]
10753         * nss/Versions (libnss_files): Add
10754         _nss_files_gethostbyname3_r.
10755         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10756         New function.
10757         (HOST_DB_LOOKUP): Remove macro.
10758         (_nss_files_gethostbyname_r): Implement function without the
10759         HOST_DB_LOOKUP macro.
10760         (_nss_files_gethostbyname2_r): Likewise.
10762 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10764         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10766 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10768         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10769         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10770         warning.
10772 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10774         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10775         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10776         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10777         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10778         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10779         __fe_nomask_env_priv and attribute_hidden.
10780         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10781         (libc_feupdateenv_test_ppc): Likewise.
10782         (libc_feresetround_ppc): Likewise.
10783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10784         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10785         compat_symbol macro.
10786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10787         (__fe_nomask_env): Likewise.
10788         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10790 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10792         * string/Makefile: Remove ifunc tests.
10793         * string/test-string.h: Define TEST_IFUNC.
10794         * string/test-bcopy-ifunc.c: Remove.
10795         * string/test-bzero-ifunc.c: Likewise.
10796         * string/test-memccpy-ifunc.c: Likewise.
10797         * string/test-memchr-ifunc.c: Likewise.
10798         * string/test-memcmp-ifunc.c: Likewise.
10799         * string/test-memcpy-ifunc.c: Likewise.
10800         * string/test-memmem-ifunc.c: Likewise.
10801         * string/test-memmove-ifunc.c: Likewise.
10802         * string/test-mempcpy-ifunc.c: Likewise.
10803         * string/test-memrchr-ifunc.c: Likewise.
10804         * string/test-memset-ifunc.c: Likewise.
10805         * string/test-rawmemchr-ifunc.c: Likewise.
10806         * string/test-stpcpy-ifunc.c: Likewise.
10807         * string/test-stpncpy-ifunc.c: Likewise.
10808         * string/test-strcasecmp-ifunc.c: Likewise.
10809         * string/test-strcasestr-ifunc.c: Likewise.
10810         * string/test-strcat-ifunc.c: Likewise.
10811         * string/test-strchr-ifunc.c: Likewise.
10812         * string/test-strchrnul-ifunc.c: Likewise.
10813         * string/test-strcmp-ifunc.c: Likewise.
10814         * string/test-strcpy-ifunc.c: Likewise.
10815         * string/test-strcspn-ifunc.c: Likewise.
10816         * string/test-strlen-ifunc.c: Likewise.
10817         * string/test-strncasecmp-ifunc.c: Likewise.
10818         * string/test-strncat-ifunc.c: Likewise.
10819         * string/test-strncmp-ifunc.c: Likewise.
10820         * string/test-strncpy-ifunc.c: Likewise.
10821         * string/test-strnlen-ifunc.c: Likewise.
10822         * string/test-strpbrk-ifunc.c: Likewise.
10823         * string/test-strrchr-ifunc.c: Likewise.
10824         * string/test-strspn-ifunc.c: Likewise.
10825         * string/test-strstr-ifunc.c: Likewise.
10827 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10829         * benchtests/Makefile: Remove ifunc tests.
10830         * benchtests/bench-string.h: Define TEST_IFUNC.
10831         * benchtests/bench-bcopy-ifunc.c: Remove.
10832         * benchtests/bench-bzero-ifunc.c: Likewise.
10833         * benchtests/bench-memccpy-ifunc.c: Likewise.
10834         * benchtests/bench-memchr-ifunc.c: Likewise.
10835         * benchtests/bench-memcmp-ifunc.c: Likewise.
10836         * benchtests/bench-memcpy-ifunc.c: Likewise.
10837         * benchtests/bench-memmem-ifunc.c: Likewise.
10838         * benchtests/bench-memmove-ifunc.c: Likewise.
10839         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10840         * benchtests/bench-memrchr-ifunc.c: Likewise.
10841         * benchtests/bench-memset-ifunc.c: Likewise.
10842         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10843         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10844         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10845         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10846         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10847         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10848         * benchtests/bench-strcat-ifunc.c: Likewise.
10849         * benchtests/bench-strchr-ifunc.c: Likewise.
10850         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10851         * benchtests/bench-strcmp-ifunc.c: Likewise.
10852         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10853         * benchtests/bench-strcpy-ifunc.c: Likewise.
10854         * benchtests/bench-strcspn-ifunc.c: Likewise.
10855         * benchtests/bench-strlen-ifunc.c: Likewise.
10856         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10857         * benchtests/bench-strncat-ifunc.c: Likewise.
10858         * benchtests/bench-strncmp-ifunc.c: Likewise.
10859         * benchtests/bench-strncpy-ifunc.c: Likewise.
10860         * benchtests/bench-strnlen-ifunc.c: Likewise.
10861         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10862         * benchtests/bench-strrchr-ifunc.c: Likewise.
10863         * benchtests/bench-strsep-ifunc.c: Likewise.
10864         * benchtests/bench-strspn-ifunc.c: Likewise.
10865         * benchtests/bench-strstr-ifunc.c: Likewise.
10867 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10869         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10871 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10873         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10874         * rt/aio.h: Likewise.
10875         * sysdeps/gnu/bits/utmp.h: Likewise.
10876         * sysdeps/gnu/bits/utmpx.h: Likewise.
10877         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10878         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10879         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10880         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10881         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10882         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10883         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10884         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10885         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10886         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10887         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10888         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10889         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10891         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10892         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10893         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10894         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10895         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10896         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10897         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10898         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10899         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10900         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10901         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10903         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10904         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10905         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10906         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10907         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10908         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10909         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10910         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10911         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10912         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10913         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10914         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10915         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10916         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10917         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10918         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10920 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10922         [BZ #16245]
10923         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10924         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10926 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
10928         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10929         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10930         Likewise.
10932 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10935         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10936         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10937         (__fesetround): Remove define.
10938         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10939         rounding and exceptions handling.
10940         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10941         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10942         (__fe_nomask_env): Likewise.
10943         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10944         __fegetround instead of fegetround.
10945         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10946         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10948 2013-11-21  Roland McGrath  <roland@hack.frob.com>
10950         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10951         it's there.
10953         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10955 2013-11-21  Meador Inge  <meadori@codesourcery.com>
10957         [BZ #11157]
10958         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10959         (encrypt_r): Likewise.
10960         * malloc/obstack.h (obstack_free): Likewise.
10961         * posix/unistd.h (encrypt): Likewise.
10963 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
10965         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10966         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10967         DL_CALL_DT_FINI() that call the functions directly.
10968         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10969         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10970         * elf/dl-fini.c: Likewise.
10972 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
10974         * malloc/hooks.c (memalign_check): Add alignment rounding.
10975         * malloc/malloc.c (_mid_memalign): New function.
10976         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10977         Implement by calling _mid_memalign.
10978         * manual/probes.texi (Memory Allocation Probes): Remove
10979         memory_valloc_retry and memory_pvalloc_retry.
10981 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10983         * locale/programs/locarchive.c (open_archive): Add const
10984         qualifier to ARCHIVEFNAME and copy default fname to
10985         DEFAULT_FNAME.
10987         [BZ #15601]
10988         * libio/tst-widetext.input: Rename Oriya to Odia.
10989         * locale/iso-639.def: Likewise.
10991         * manual/probes.texi (Mathematical Function Probes): Add
10992         documentation for sin, cos, asin and acos probes.
10993         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10994         (__sin32): Add slowasin probe.
10995         (__cos32): Add slowacos probe.
10996         (__mpsin): Add slowsin probe.
10997         (__mpcos): Add slowcos probe.
10999 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11001         [BZ #15483]
11002         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11003         thread-local __sim_exceptions_thread and global
11004         __sim_exceptions_global.
11005         (__sim_disabled_exceptions): Change to thread-local
11006         __sim_disabled_exceptions_thread and global
11007         __sim_disabled_exceptions_global.
11008         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11009         and global __sim_round_mode_global.
11010         (__simulate_exceptions): Use thread-local floating-point state and
11011         set global state from it as needed.
11012         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11013         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11014         __sim_round_mode_thread.
11015         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11016         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11017         and global __sim_exceptions_global.
11018         (__sim_disabled_exceptions): Change to thread-local
11019         __sim_disabled_exceptions_thread and global
11020         __sim_disabled_exceptions_global.
11021         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11022         and global __sim_round_mode_global.
11023         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11024         (SIM_SET_GLOBAL): Likewise.
11025         * sysdeps/powerpc/soft-fp/sfp-machine.h
11026         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11027         __sim_round_mode_thread.
11028         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11029         __sim_disabled_exceptions_thread.
11030         (__sim_exceptions): Change to __sim_exceptions_thread.
11031         (__sim_disabled_exceptions): Change to
11032         __sim_disabled_exceptions_thread.
11033         (__sim_round_mode): Change to __sim_round_mode_thread.
11034         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11035         thread-local floating-point state and set global state from it as
11036         needed.
11037         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11038         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11039         (__sim_disabled_exceptions): Remove extern declaration.
11040         (feenableexcept): Use thread-local floating-point state and set
11041         global state from it as needed.
11042         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11043         extern declaration.
11044         (__sim_disabled_exceptions): Likewise.
11045         (__sim_round_mode): Likewise.
11046         (__fegetenv): Use thread-local floating-point state.
11047         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11048         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11049         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11050         floating-point state and set global state from it as needed.
11051         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11052         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11053         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11054         Likewise.
11055         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11056         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11057         Likewise.
11058         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11059         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11060         Use __sim_round_mode_thread.
11061         * math/test-fenv-tls.c: New file.
11062         * math/Makefile (tests): Add test-fenv-tls.
11063         ($(objpfx)test-fenv-tls): Depend on
11064         $(common-objpfx)nptl/libpthread.so.
11066 2013-11-19  Andreas Schwab  <schwab@suse.de>
11068         * locale/programs/locale.c (show_info): Decode wordarray elements.
11069         * locale/categories.def (LC_MONETARY): Add element for
11070         _NL_MONETARY_CRNCYSTR.
11071         * locale/C-monetary.c (conversion_rate): New variable.
11072         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11073         element.
11075 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11077         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11078         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11080 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11082         * elf/Makefile (tst-auxv): New test.
11083         * elf/tst-auxv.c: New
11084         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11086 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11088         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11089         (hidden_proto): Caller changed.
11090         (hidden_tls_proto): New macro.
11091         (libc_hidden_tls_proto): Likewise.
11092         (rtld_hidden_tls_proto): Likewise.
11093         (libm_hidden_tls_proto): Likewise.
11094         (libresolv_hidden_tls_proto): Likewise.
11095         (librt_hidden_tls_proto): Likewise.
11096         (libdl_hidden_tls_proto): Likewise.
11097         (libnss_files_hidden_tls_proto): Likewise.
11098         (libnsl_hidden_tls_proto): Likewise.
11099         (libnss_nisplus_hidden_tls_proto): Likewise.
11100         (libutil_hidden_tls_proto): Likewise.
11102 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11104         [BZ #10253]
11105         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11106         (decompose_rpath): Defer expansion to fillin_rpath.
11107         (_dl_init_paths): Pass linkmap to fillin_rpath.
11109 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11111         * benchtests/Makefile: Add strsep.
11112         * benchtests/bench-strsep.c: New file: strsep benchtest.
11113         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11115 2013-11-18  Andreas Schwab  <schwab@suse.de>
11117         * locale/programs/locale.c (show_info) [case byte]: Check for
11118         '\377' instead of '\177'.
11119         * locale/C-monetary.c (not_available): Always use "\377".
11120         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11121         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11122         detect unavailable sign_posn locale elements.
11123         * locale/localeconv.c (__localeconv): For grouping and
11124         mon_grouping handle "\177" and "\377" like no grouping.
11125         (INT_ELEM): New macro.  Use it to set all numeric members.
11126         * locale/programs/ld-monetary.c (monetary_read)
11127         <tok_mon_grouping>: Normalize single -1 to the empty string.
11128         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11129         Likewise.
11131 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11133         [BZ #16055]
11134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11135         when we match (nil).
11136         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11138 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11140         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11141         (NO_TEST_INLINE): Update value.
11142         (ERRNO_UNCHANGED): Likewise.
11143         (ERRNO_EDOM): Likewise.
11144         (ERRNO_ERANGE): Likewise.
11145         (IGNORE_RESULT): Likewise.
11146         (check_float_internal): Check signs of NaN results if
11147         TEST_NAN_SIGN used.
11148         (check_complex): Pass TEST_NAN_SIGN flag through to second
11149         check_float_internal call.
11150         (copysign_test_data): Add tests with quiet NaNs as second
11151         argument.  Use TEST_NAN_SIGN.
11152         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11153         TEST_NAN_SIGN.
11154         (signbit_test_data): Add tests of quiet NaN argument.
11155         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11157         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11158         $ignore_result.
11159         (parse_args): Handle function results specified as IGNORE.
11160         * math/libm-test.inc (IGNORE_RESULT): New macro.
11161         (check_float_internal): Do not check numerical result if flag
11162         IGNORE_RESULT set.
11163         (check_complex): Pass through IGNORE_RESULT to second
11164         check_float_internal call.
11165         (check_int): Do not check numerical result if flag IGNORE_RESULT
11166         set.
11167         (check_long): Likewise.
11168         (check_bool): Likewise.
11169         (check_longlong): Likewise.
11170         (lrint_test_data): Add tests of infinite and NaN arguments.
11171         (lrint_tonearest_test_data): Likewise.
11172         (lrint_towardzero_test_data): Likewise.
11173         (lrint_downward_test_data): Likewise.
11174         (lrint_upward_test_data): Likewise.
11175         (llrint_test_data): Likewise.
11176         (llrint_tonearest_test_data): Likewise.
11177         (llrint_towardzero_test_data): Likewise.
11178         (llrint_downward_test_data): Likewise.
11179         (llrint_upward_test_data): Likewise.
11180         (lround_test_data): Likewise.
11181         (llround_test_data): Likewise.
11183         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11184         (ERRNO_UNCHANGED): Update value.
11185         (ERRNO_EDOM): Likewise.
11186         (ERRNO_ERANGE): Likewise.
11187         (NO_TEST_INLINE_FLOAT): New macro.
11188         (NO_TEST_INLINE_DOUBLE): Likewise.
11189         (enable_test): New function.
11190         (RUN_TEST_f_f): Check enable_test before running test.
11191         (RUN_TEST_2_f): Likewise.
11192         (RUN_TEST_fff_f): Likewise.
11193         (RUN_TEST_c_f): Likewise.
11194         (RUN_TEST_f_f1): Likewise.
11195         (RUN_TEST_fF_f1): Likewise.
11196         (RUN_TEST_fI_f1): Likewise.
11197         (RUN_TEST_ffI_f1): Likewise.
11198         (RUN_TEST_c_c): Likewise.
11199         (RUN_TEST_cc_c): Likewise.
11200         (RUN_TEST_f_i): Likewise.
11201         (RUN_TEST_f_i_tg): Likewise.
11202         (RUN_TEST_ff_i_tg): Likewise.
11203         (RUN_TEST_f_b): Likewise.
11204         (RUN_TEST_f_b_tg): Likewise.
11205         (RUN_TEST_f_l): Likewise.
11206         (RUN_TEST_f_L): Likewise.
11207         (RUN_TEST_fFF_11): Likewise.
11208         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11209         conditionals.
11210         (cosh_test_data): Likewise.
11211         (exp_test_data): Likewise.
11212         (expm1_test_data): Likewise.
11213         (hypot_test_data): Likewise.
11214         (pow_test_data): Likewise.
11215         (sinh_test_data): Likewise.
11216         (tanh_test_data): Likewise.
11217         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11218         flags argument.
11220         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11221         tests with quiet NaN input and output.
11222         (acosh_test_data): Likewise.
11223         (asin_test_data): Likewise.
11224         (asinh_test_data): Likewise.
11225         (atan_test_data): Likewise.
11226         (atanh_test_data): Likewise.
11227         (atan2_test_data): Likewise.
11228         (cbrt_test_data): Likewise.
11229         (cos_test_data): Likewise.
11230         (cosh_test_data): Likewise.
11231         (erf_test_data): Likewise.
11232         (erfc_test_data): Likewise.
11233         (exp_test_data): Likewise.
11234         (exp10_test_data): Likewise.
11235         (exp2_test_data): Likewise.
11236         (expm1_test_data): Likewise.
11237         (hypot_test_data): Likewise.
11238         (j0_test_data): Likewise.
11239         (j1_test_data): Likewise.
11240         (jn_test_data): Likewise.
11241         (lgamma_test_data): Likewise.
11242         (log_test_data): Likewise.
11243         (log10_test_data): Likewise.
11244         (log1p_test_data): Likewise.
11245         (log2_test_data): Likewise.
11246         (pow_test_data): Likewise.
11247         (scalb_test_data): Likewise.
11248         (sin_test_data): Likewise.
11249         (sincos_test_data): Likewise.
11250         (sinh_test_data): Likewise.
11251         (tan_test_data): Likewise.
11252         (tanh_test_data): Likewise.
11253         (tgamma_test_data): Likewise.
11254         (y0_test_data): Likewise.
11255         (y1_test_data): Likewise.
11256         (yn_test_data): Likewise.
11258         [BZ #16167]
11259         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11260         argument being NaN and avoid computations with second argument in
11261         that case.
11262         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11263         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11264         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11266 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11268         * locale/iso-639.def: Add Chitwani Tharu (the).
11270 2013-11-14  Andreas Schwab  <schwab@suse.de>
11272         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11273         word instead of empty string.
11275 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11278         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11280         (__fe_nomask_env): Likewise.
11282 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11284         * benchtests/bench-timing.h: Include time.h.
11286 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11288         [BZ #15997]
11289         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11290         to 3.4.0 for x32.
11291         * sysdeps/unix/sysv/linux/configure: Regenerated.
11293 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11295         [BZ #16151]
11296         * stdlib/strtod_l.c (round_and_return): Do not consider
11297         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11298         exponent one less than half the least subnormal exponent.
11299         * stdlib/test-strtod-round-data: Add more tests.
11300         * stdlib/tst-strtod-round.c (tests): Regenerated.
11302 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11304         [BZ #14143]
11305         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11306         (__fe_mask_env): Likewise.
11307         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11308         libm_hidden_proto and add function prototype.
11309         (__fe_mask_env): Add function prototype.
11310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11311         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11313         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11315         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11317 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11319         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11320         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11322 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11324         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11325         of htab_find_slot().
11327 2013-11-11  David S. Miller  <davem@davemloft.net>
11329         [BZ #16150]
11330         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11331         symbol in the non-vis3 case in static builds.
11332         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11333         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11334         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11335         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11337 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11339         [BZ #387]
11340         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11341         it is empty.
11343 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11345         * benchtests/Makefile: Add bench-strtod.
11346         * benchtests/bench-strtod.c: New file: strtod benchtest
11348 2013-11-11  Andreas Schwab  <schwab@suse.de>
11350         [BZ #16153]
11351         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11352         terminating NUL in key length.
11354 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11356         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11357         Add artificial ODP entry for vDSO symbol for PPC64.
11358         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11359         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11361 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11363         [BZ #15374]
11364         * nss/getent.c (services_keys): Recognize services starting with digit.
11366 2013-11-06  David S. Miller  <davem@davemloft.net>
11368         [BZ #15985]
11369         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11370         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11372 2013-11-06  Will Newton  <will.newton@linaro.org>
11374         * manual/memory.texi (Malloc Examples): Remove register
11375         keyword from examples.
11377 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11379         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11381 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11383         [BZ #6981]
11384         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11385         depending on [__GCC_IEC_559 > 0].
11386         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11387         depending on [__GCC_IEC_559_COMPLEX > 0].
11389 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11391         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11392         to iso-639.def.
11394 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11396         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11398 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11400         [BZ #16112]
11401         * malloc/malloc (malloc_info): Do not handle first bin as
11402         special case.
11404 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11406         * locale/iso-639.def: Add Central Nahuatl (nhn).
11408 2013-11-01  Bruno Haible  <bruno@clisp.org>
11410         [BZ #7003]
11411         * manual/math.texi (BSD Random): Specify range upper bound as
11412         in POSIX.
11414 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11416         * locale/iso-639.def: Add Meadow Mari (mhr).
11418 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11420         [BZ #14752], [BZ #15763]
11421         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11422         Validate name.
11423         * rt/tst_shm.c: Add test for escaping directory.
11425 2013-10-31  Andreas Schwab  <schwab@suse.de>
11427         [BZ #15917]
11428         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11429         followed by 'x' as part of digit sequence.
11430         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11432 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11434         [BZ #16037]
11435         * configure.ac: allow GNU Make 4.0 and greater.
11436         * configure: Regenerated.
11438 2013-10-30  Will Newton  <will.newton@linaro.org>
11440         [BZ #16038]
11441         * malloc/hooks.c (memalign_check): Limit alignment to the
11442         maximum representable power of two.
11443         * malloc/malloc.c (__libc_memalign): Likewise.
11444         * malloc/tst-memalign.c (do_test): Add test for very
11445         large alignment values.
11446         * malloc/tst-posix_memalign.c (do_test): Likewise.
11448 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11450         [BZ #11087]
11451         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11452         (munmap_chunk): Likewise.
11453         (mremap_chunk): Likewise.
11455 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11457         [BZ #15799]
11458         * stdlib/div.c (div): Remove obsolete code.
11459         * stdlib/ldiv.c (ldiv): Likewise.
11460         * stdlib/lldiv.c (lldiv): Likewise.
11462 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11464         [BZ #16071]
11465         * nss/nss_files/files-XXX.c (get_contents_ret): New
11466         enumerator.
11467         (get_contents): New function.
11468         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11470 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11472         * configure.in: Moved to ...
11473         * configure.ac: ... here. Change reference to configure.in
11474         to configure.ac.
11475         * sysdeps/arm/preconfigure.ac: ... here.
11476         configure.in to configure.ac.
11477         * sysdeps/gnu/configure.in: Moved to ...
11478         * sysdeps/gnu/configure.ac: ... here.
11479         * sysdeps/i386/configure.in: Moved to ...
11480         * sysdeps/i386/configure.ac: ... here.
11481         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11482         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11483         * sysdeps/mach/configure.in: Moved to ...
11484         * sysdeps/mach/configure.ac: ... here.
11485         * sysdeps/mach/hurd/configure.in: Moved to ...
11486         * sysdeps/mach/hurd/configure.ac: ... here.
11487         * sysdeps/powerpc/configure.in: Moved to ...
11488         * sysdeps/powerpc/configure.ac: ... here.
11489         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11490         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11491         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11492         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11493         * sysdeps/s390/s390-32/configure.in: Moved to ...
11494         * sysdeps/s390/s390-32/configure.ac: ... here.
11495         * sysdeps/s390/s390-64/configure.in: Moved to ...
11496         * sysdeps/s390/s390-64/configure.ac: ... here.
11497         * sysdeps/sh/configure.in: Moved to ...
11498         * sysdeps/sh/configure.ac: ... here.
11499         * sysdeps/sparc/configure.in: Moved to ...
11500         * sysdeps/sparc/configure.ac: ... here.
11501         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11502         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11503         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11504         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11505         * sysdeps/x86_64/configure.in: Moved to ...
11506         * sysdeps/x86_64/configure.ac: ... here.
11507         * sysdeps/x86_64/preconfigure.in: Moved to ...
11508         * sysdeps/x86_64/preconfigure.ac: ... here.
11509         * aclocal.m4: Change reference to configure.in to configure.ac.
11510         * config.h.in: Likewise.
11511         * manual/install.texi: Likewise.
11512         * manual/maint.texi: Likewise.
11513         * Makefile: Likewise.
11514         * malloc/Makefile: Likewise.
11515         * nscd/Makefile: Likewise.
11516         * Makeconfig: Change reference to configure.in and
11517         preconfigure.in to configure.ac and preconfigure.ac
11518         respectively.
11519         * INSTALL: Regenerated.
11520         * configure: Likewise.
11521         * sysdeps/gnu/configure: Likewise.
11522         * sysdeps/i386/configure: Likewise.
11523         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11524         * sysdeps/mach/configure: Likewise.
11525         * sysdeps/mach/hurd/configure: Likewise.
11526         * sysdeps/powerpc/configure: Likewise.
11527         * sysdeps/powerpc/powerpc32/configure: Likewise.
11528         * sysdeps/powerpc/powerpc64/configure: Likewise.
11529         * sysdeps/s390/s390-32/configure: Likewise.
11530         * sysdeps/s390/s390-64/configure: Likewise.
11531         * sysdeps/sh/configure: Likewise.
11532         * sysdeps/sparc/configure: Likewise.
11533         * sysdeps/unix/sysv/linux/configure: Likewise.
11534         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11535         * sysdeps/x86_64/configure: Likewise.
11536         * sysdeps/x86_64/preconfigure: Likewise.
11538 2013-10-29  Andreas Schwab  <schwab@suse.de>
11540         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11542 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11544         * benchtests/pow-inputs: Add new inputs.
11546         * benchtests/exp-inputs: Add new inputs.
11548         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11549         conditional check for return value.
11550         (__cos32): Likewise.
11552 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11554         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11555         to provide a boost for large inputs with word alignment.
11556         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11557         implementation based on optimized PPC64 strcpy.
11558         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11559         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11560         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11561         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11563 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11565         [BZ #2801]
11566         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11568 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11570         [BZ #14876]
11571         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11572         * time/tst-strptime.c (day_tests): Add testcase.
11574 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11576         [BZ #14029]
11577         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11579 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11581         [BZ #16074]
11582         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11583         MAP_FAILED on error.
11585 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11587         [BZ #16072]
11588         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11589         heap for large requests.
11591 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11593         [BZ #9954]
11594         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11595         result if the result has no associated interface.
11596         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11597         interface for all 127.X.Y.Z addresses.
11599 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11601         * locale/iso-639.def: Add Ligurian (lij)
11603 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11605         [BZ #15825]
11606         * sunrpc/rpc_main.c: Document rpcgen -5.
11608 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11610         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11612 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11614         [BZ #10278]
11615         * posix/glob.c: Match only directories when trailing slash is present.
11616         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11617         (main): Add testcase.
11619 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11621         [BZ #15670]
11622         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11624 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11626         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11627         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11628         AUTH_DES and cindex for FIPS 140-2.
11629         (DES Encryption): Add cindex FIPS 46-3.
11631         * locale/locarchive.h (struct locarhandle): Add fname.
11632         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11633         if an optional argument was specified to --list-archive,
11634         otherwise NULL.
11635         * locale/programs/locarchive.c (show_archive_content): Take new
11636         argument fname and pass it via ah.fname to open_archive.
11637         * locale/programs/localedef.h: Update decl.
11638         (open_archive): If AH->fname is non-null, open that file
11639         rather than the default file name, and don't ignore ENOENT.
11640         (create_archive): Set AH.fname to NULL.
11641         (delete_locales_from_archive): Likewise.
11642         (add_locales_to_archive): Likewise.
11643         * locale/programs/locfile.c (write_all_categories): Likewise.
11645 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11646             Aldy Hernandez  <aldyh@redhat.com>
11648         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11649         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11650         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11651         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11652         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11653         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11654         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11656         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11657         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11658         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11659         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11660         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11661         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11662         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11663         Likewise.
11664         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11665         Likewise.
11666         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11667         Likewise.
11668         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11669         Likewise.
11670         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11671         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11672         Likewise.
11673         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11674         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11675         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11676         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11677         Likewise.
11678         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11679         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11680         * sysdeps/powerpc/preconfigure: Likewise.
11681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11682         Likewise.
11683         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11684         Replace contents of file by #include of <fenv_libc.h>.
11685         * sysdeps/powerpc/soft-fp/sfp-machine.h
11686         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11687         and <sys/prctl.h>.
11688         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11689         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11690         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11695         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11696         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11701         Allow copysignl PLT reference to be missing.
11703 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11704             Joseph Myers  <joseph@codesourcery.com
11706         [BZ #15948]
11707         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11708         single character.
11709         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11711 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11713         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11714         * elf/tst-tls1.c: Likewise.
11715         * elf/tst-tls10.h: Likewise.
11716         * elf/tst-tls14.c: Likewise.
11717         * elf/tst-tls2.c: Likewise.
11718         * elf/tst-tls3.c: Likewise.
11719         * elf/tst-tls4.c: Likewise.
11720         * elf/tst-tls5.c: Likewise.
11721         * elf/tst-tls6.c: Likewise.
11722         * elf/tst-tls7.c: Likewise.
11723         * elf/tst-tls8.c: Likewise.
11724         * elf/tst-tls9.c: Likewise.
11725         * elf/tst-tlsmod1.c: Likewise.
11726         * elf/tst-tlsmod13.c: Likewise.
11727         * elf/tst-tlsmod13a.c: Likewise.
11728         * elf/tst-tlsmod14a.c: Likewise.
11729         * elf/tst-tlsmod16a.c: Likewise.
11730         * elf/tst-tlsmod16b.c: Likewise.
11731         * elf/tst-tlsmod2.c: Likewise.
11732         * elf/tst-tlsmod3.c: Likewise.
11733         * elf/tst-tlsmod4.c: Likewise.
11734         * elf/tst-tlsmod5.c: Likewise.
11735         * elf/tst-tlsmod6.c: Likewise.
11737 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11739         [BZ #12486]
11740         * malloc/malloc.c: remove checks for statistics.
11742 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11744         [BZ #15277]
11745         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11746         * inet/tst-network.c: Add testcase.
11748 2013-10-17  Andreas Schwab  <schwab@suse.de>
11750         [BZ #15218]
11751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11752         to determine canonical name.
11754 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11756         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11757         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11758         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11759         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11761         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11762         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11763         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11764         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11766         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11767         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11768         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11769         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11770         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11771         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11773         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11774         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11775         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11778         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11779         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11780         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11781         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11782         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11783         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11784         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11785         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11786         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11787         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11788         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11789         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11790         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11791         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11792         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11793         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11794         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11795         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11796         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11797         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11798         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11799         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11800         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11801         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11802         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11803         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11804         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11805         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11806         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11807         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11808         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11809         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11811         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11813         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11815 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11817         [BZ #16041]
11818         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11819         make result into a quiet NaN.
11821 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11823         * soft-fp/adddf3.c: Fix horizontal whitespace.
11824         * soft-fp/addsf3.c: Likewise.
11825         * soft-fp/addtf3.c: Likewise.
11826         * soft-fp/divdf3.c: Likewise.
11827         * soft-fp/divsf3.c: Likewise.
11828         * soft-fp/divtf3.c: Likewise.
11829         * soft-fp/double.h: Likewise.
11830         * soft-fp/eqdf2.c: Likewise.
11831         * soft-fp/eqsf2.c: Likewise.
11832         * soft-fp/eqtf2.c: Likewise.
11833         * soft-fp/extenddftf2.c: Likewise.
11834         * soft-fp/extended.h: Likewise.
11835         * soft-fp/extendsfdf2.c: Likewise.
11836         * soft-fp/extendsftf2.c: Likewise.
11837         * soft-fp/extendxftf2.c: Likewise.
11838         * soft-fp/fixdfdi.c: Likewise.
11839         * soft-fp/fixdfsi.c: Likewise.
11840         * soft-fp/fixdfti.c: Likewise.
11841         * soft-fp/fixsfdi.c: Likewise.
11842         * soft-fp/fixsfsi.c: Likewise.
11843         * soft-fp/fixsfti.c: Likewise.
11844         * soft-fp/fixtfdi.c: Likewise.
11845         * soft-fp/fixtfsi.c: Likewise.
11846         * soft-fp/fixtfti.c: Likewise.
11847         * soft-fp/fixunsdfdi.c: Likewise.
11848         * soft-fp/fixunsdfsi.c: Likewise.
11849         * soft-fp/fixunsdfti.c: Likewise.
11850         * soft-fp/fixunssfdi.c: Likewise.
11851         * soft-fp/fixunssfsi.c: Likewise.
11852         * soft-fp/fixunssfti.c: Likewise.
11853         * soft-fp/fixunstfdi.c: Likewise.
11854         * soft-fp/fixunstfsi.c: Likewise.
11855         * soft-fp/fixunstfti.c: Likewise.
11856         * soft-fp/floatdidf.c: Likewise.
11857         * soft-fp/floatdisf.c: Likewise.
11858         * soft-fp/floatditf.c: Likewise.
11859         * soft-fp/floatsidf.c: Likewise.
11860         * soft-fp/floatsisf.c: Likewise.
11861         * soft-fp/floatsitf.c: Likewise.
11862         * soft-fp/floattidf.c: Likewise.
11863         * soft-fp/floattisf.c: Likewise.
11864         * soft-fp/floattitf.c: Likewise.
11865         * soft-fp/floatundidf.c: Likewise.
11866         * soft-fp/floatundisf.c: Likewise.
11867         * soft-fp/floatunditf.c: Likewise.
11868         * soft-fp/floatunsidf.c: Likewise.
11869         * soft-fp/floatunsisf.c: Likewise.
11870         * soft-fp/floatunsitf.c: Likewise.
11871         * soft-fp/floatuntidf.c: Likewise.
11872         * soft-fp/floatuntisf.c: Likewise.
11873         * soft-fp/floatuntitf.c: Likewise.
11874         * soft-fp/fmadf4.c: Likewise.
11875         * soft-fp/fmasf4.c: Likewise.
11876         * soft-fp/fmatf4.c: Likewise.
11877         * soft-fp/gedf2.c: Likewise.
11878         * soft-fp/gesf2.c: Likewise.
11879         * soft-fp/getf2.c: Likewise.
11880         * soft-fp/ledf2.c: Likewise.
11881         * soft-fp/lesf2.c: Likewise.
11882         * soft-fp/letf2.c: Likewise.
11883         * soft-fp/muldf3.c: Likewise.
11884         * soft-fp/mulsf3.c: Likewise.
11885         * soft-fp/multf3.c: Likewise.
11886         * soft-fp/negdf2.c: Likewise.
11887         * soft-fp/negsf2.c: Likewise.
11888         * soft-fp/negtf2.c: Likewise.
11889         * soft-fp/op-1.h: Likewise.
11890         * soft-fp/op-2.h: Likewise.
11891         * soft-fp/op-4.h: Likewise.
11892         * soft-fp/op-8.h: Likewise.
11893         * soft-fp/op-common.h: Likewise.
11894         * soft-fp/quad.h: Likewise.
11895         * soft-fp/single.h: Likewise.
11896         * soft-fp/soft-fp.h: Likewise.
11897         * soft-fp/sqrtdf2.c: Likewise.
11898         * soft-fp/sqrtsf2.c: Likewise.
11899         * soft-fp/sqrttf2.c: Likewise.
11900         * soft-fp/subdf3.c: Likewise.
11901         * soft-fp/subsf3.c: Likewise.
11902         * soft-fp/subtf3.c: Likewise.
11903         * soft-fp/truncdfsf2.c: Likewise.
11904         * soft-fp/trunctfdf2.c: Likewise.
11905         * soft-fp/trunctfsf2.c: Likewise.
11906         * soft-fp/trunctfxf2.c: Likewise.
11907         * soft-fp/unorddf2.c: Likewise.
11908         * soft-fp/unordsf2.c: Likewise.
11909         * soft-fp/unordtf2.c: Likewise.
11911 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11913         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11914         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11916 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11918         * elf/dl-libc.c: Clear initfini list after freeing.
11920 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11922         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11923         * soft-fp/addsf3.c: Likewise.
11924         * soft-fp/addtf3.c: Likewise.
11925         * soft-fp/divdf3.c: Likewise.
11926         * soft-fp/divsf3.c: Likewise.
11927         * soft-fp/divtf3.c: Likewise.
11928         * soft-fp/double.h: Likewise.
11929         * soft-fp/eqdf2.c: Likewise.
11930         * soft-fp/eqsf2.c: Likewise.
11931         * soft-fp/eqtf2.c: Likewise.
11932         * soft-fp/extenddftf2.c: Likewise.
11933         * soft-fp/extended.h: Likewise.
11934         * soft-fp/extendsfdf2.c: Likewise.
11935         * soft-fp/extendsftf2.c: Likewise.
11936         * soft-fp/extendxftf2.c: Likewise.
11937         * soft-fp/fixdfdi.c: Likewise.
11938         * soft-fp/fixdfsi.c: Likewise.
11939         * soft-fp/fixdfti.c: Likewise.
11940         * soft-fp/fixsfdi.c: Likewise.
11941         * soft-fp/fixsfsi.c: Likewise.
11942         * soft-fp/fixsfti.c: Likewise.
11943         * soft-fp/fixtfdi.c: Likewise.
11944         * soft-fp/fixtfsi.c: Likewise.
11945         * soft-fp/fixtfti.c: Likewise.
11946         * soft-fp/fixunsdfdi.c: Likewise.
11947         * soft-fp/fixunsdfsi.c: Likewise.
11948         * soft-fp/fixunsdfti.c: Likewise.
11949         * soft-fp/fixunssfdi.c: Likewise.
11950         * soft-fp/fixunssfsi.c: Likewise.
11951         * soft-fp/fixunssfti.c: Likewise.
11952         * soft-fp/fixunstfdi.c: Likewise.
11953         * soft-fp/fixunstfsi.c: Likewise.
11954         * soft-fp/fixunstfti.c: Likewise.
11955         * soft-fp/floatdidf.c: Likewise.
11956         * soft-fp/floatdisf.c: Likewise.
11957         * soft-fp/floatditf.c: Likewise.
11958         * soft-fp/floatsidf.c: Likewise.
11959         * soft-fp/floatsisf.c: Likewise.
11960         * soft-fp/floatsitf.c: Likewise.
11961         * soft-fp/floattidf.c: Likewise.
11962         * soft-fp/floattisf.c: Likewise.
11963         * soft-fp/floattitf.c: Likewise.
11964         * soft-fp/floatundidf.c: Likewise.
11965         * soft-fp/floatundisf.c: Likewise.
11966         * soft-fp/floatunsidf.c: Likewise.
11967         * soft-fp/floatunsisf.c: Likewise.
11968         * soft-fp/floatuntidf.c: Likewise.
11969         * soft-fp/floatuntisf.c: Likewise.
11970         * soft-fp/floatuntitf.c: Likewise.
11971         * soft-fp/fmadf4.c: Likewise.
11972         * soft-fp/fmasf4.c: Likewise.
11973         * soft-fp/fmatf4.c: Likewise.
11974         * soft-fp/gedf2.c: Likewise.
11975         * soft-fp/gesf2.c: Likewise.
11976         * soft-fp/getf2.c: Likewise.
11977         * soft-fp/ledf2.c: Likewise.
11978         * soft-fp/lesf2.c: Likewise.
11979         * soft-fp/letf2.c: Likewise.
11980         * soft-fp/muldf3.c: Likewise.
11981         * soft-fp/mulsf3.c: Likewise.
11982         * soft-fp/multf3.c: Likewise.
11983         * soft-fp/negdf2.c: Likewise.
11984         * soft-fp/negsf2.c: Likewise.
11985         * soft-fp/negtf2.c: Likewise.
11986         * soft-fp/op-1.h: Likewise.
11987         * soft-fp/op-2.h: Likewise.
11988         * soft-fp/op-4.h: Likewise.
11989         * soft-fp/op-8.h: Likewise.
11990         * soft-fp/op-common.h: Likewise.
11991         * soft-fp/quad.h: Likewise.
11992         * soft-fp/single.h: Likewise.
11993         * soft-fp/soft-fp.h: Likewise.
11994         * soft-fp/sqrtdf2.c: Likewise.
11995         * soft-fp/sqrtsf2.c: Likewise.
11996         * soft-fp/sqrttf2.c: Likewise.
11997         * soft-fp/subdf3.c: Likewise.
11998         * soft-fp/subsf3.c: Likewise.
11999         * soft-fp/subtf3.c: Likewise.
12000         * soft-fp/truncdfsf2.c: Likewise.
12001         * soft-fp/trunctfdf2.c: Likewise.
12002         * soft-fp/trunctfsf2.c: Likewise.
12003         * soft-fp/trunctfxf2.c: Likewise.
12004         * soft-fp/unorddf2.c: Likewise.
12005         * soft-fp/unordsf2.c: Likewise.
12006         * soft-fp/unordtf2.c: Likewise.
12008 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12010         [BZ #15672]
12011         * misc/error.c (error_tail): Fix possible buffer overflow.
12013 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12015         [BZ #13028]
12016         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12017         address.
12019 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12021         [BZ #832]
12022         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12023         testing pipefail option.
12025 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12027         * soft-fp/double.h: Indent preprocessor directives inside #if.
12028         * soft-fp/extended.h: Likewise.
12029         * soft-fp/op-2.h: Likewise.
12030         * soft-fp/op-4.h: Likewise.
12031         * soft-fp/op-common.h: Likewise.
12032         * soft-fp/quad.h: Likewise.
12033         * soft-fp/single.h: Likewise.
12034         * soft-fp/soft-fp.h: Likewise.
12036 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12038         * iconv/iconv_prog.c: Fix typos.
12039         * stdio-common/psiginfo-data.h: Likewise.
12041 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12043         [BZ #15764]
12044         * locale/setlocale.c: Fix typo.
12046 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12048         [BZ #16036]
12049         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12050         signaling NaN arguments.
12051         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12052         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12054         [BZ #14910]
12055         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12056         unordered operands.
12057         * soft-fp/gesf2.c (__gesf2): Likewise.
12058         * soft-fp/getf2.c (__getf2): Likewise.
12059         * soft-fp/ledf2.c (__ledf2): Likewise.
12060         * soft-fp/lesf2.c (__lesf2): Likewise.
12061         * soft-fp/letf2.c (__letf2): Likewise.
12063         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12064         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12065         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12066         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12067         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12068         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12069         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12070         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12071         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12072         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12073         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12074         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12075         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12076         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12077         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12078         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12079         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12080         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12081         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12082         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12083         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12084         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12085         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12086         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12087         * soft-fp/floattidf.c (__floattidf): Likewise.
12088         * soft-fp/floattisf.c (__floattisf): Likewise.
12089         * soft-fp/floattitf.c (__floattitf): Likewise.
12090         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12091         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12092         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12093         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12094         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12095         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12096         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12097         * soft-fp/gesf2.c (__gesf2): Likewise.
12098         * soft-fp/getf2.c (__getf2): Likewise.
12099         * soft-fp/ledf2.c (__ledf2): Likewise.
12100         * soft-fp/lesf2.c (__lesf2): Likewise.
12101         * soft-fp/letf2.c (__letf2): Likewise.
12103         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12104         Undefine and redefine.
12105         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12106         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12107         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12108         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12109         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12110         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12111         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12112         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12113         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12114         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12115         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12116         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12117         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12118         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12119         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12121         [BZ #16032]
12122         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12123         without decrementing exponent if mantissa >= that for the
12124         denominator, not >.
12125         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12126         denominator, not >.  Decrement exponent in < case instead of
12127         incrementing in >= case.
12128         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12129         without decrementing exponent if mantissa >= that for the
12130         denominator, not >.
12132         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12133         computing saturated result for unsigned overflow.
12135 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12136             Jeff Law  <law@redhat.com>
12138         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12139         (atan2Mp): Add systemtap probe marker.
12140         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12141         (__ieee754_log): Add systemtap probe marker.
12142         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12143         (atanMp): Add systemtap probe marker.
12144         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12145         (tanMp): Add systemtap probe marker.
12146         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12147         (__slowexp): Add systemtap probe marker.
12148         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12149         (__slowpow): Add systemtap probe marker.
12150         * manual/probes.texi: Document probes.
12152 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12154         [BZ #15362]
12155         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12156         written.
12157         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12158         written.
12159         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12160         written to buffer but not flushed.
12161         * libio/iofwrite_u.c:  Likewise.
12162         * libio/iopadn.c:  Return bytes returned even if EOF was
12163         encountered.
12164         * libio/iowpadn.c:  Likewise.
12165         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12166         if _IO_padn does not write the whole buffer.
12167         [!COMPILE_WPRINTF] (PAD): Likewise.
12169 2013-10-10  David S. Miller  <davem@davemloft.net>
12171         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12172         directory block.
12174 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12176         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12177         instead of FSF address.
12178         * soft-fp/fixdfti.c: Likewise.
12179         * soft-fp/fixsfti.c: Likewise.
12180         * soft-fp/fixtfti.c: Likewise.
12181         * soft-fp/fixunsdfti.c: Likewise.
12182         * soft-fp/fixunssfti.c: Likewise.
12183         * soft-fp/fixunstfti.c: Likewise.
12184         * soft-fp/floattidf.c: Likewise.
12185         * soft-fp/floattisf.c: Likewise.
12186         * soft-fp/floattitf.c: Likewise.
12187         * soft-fp/floatuntidf.c: Likewise.
12188         * soft-fp/floatuntisf.c: Likewise.
12189         * soft-fp/floatuntitf.c: Likewise.
12190         * soft-fp/trunctfxf2.c: Likewise.
12192         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12193         * soft-fp/fixdfti.c: Likewise.
12194         * soft-fp/fixsfti.c: Likewise.
12195         * soft-fp/fixtfti.c: Likewise.
12196         * soft-fp/fixunsdfti.c: Likewise.
12197         * soft-fp/fixunssfti.c: Likewise.
12198         * soft-fp/fixunstfti.c: Likewise.
12199         * soft-fp/floattidf.c: Likewise.
12200         * soft-fp/floattisf.c: Likewise.
12201         * soft-fp/floattitf.c: Likewise.
12202         * soft-fp/floatuntidf.c: Likewise.
12203         * soft-fp/floatuntisf.c: Likewise.
12204         * soft-fp/floatuntitf.c: Likewise.
12205         * soft-fp/trunctfxf2.c: Likewise.
12207 2013-10-10  David S. Miller  <davem@davemloft.net>
12209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12211 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12213         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12214         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12215         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12216         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12217         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12218         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12219         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12221         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12222         for NaNs before doing comparisons on argument.
12223         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12224         Likewise.
12226 2013-10-10  Will Newton  <will.newton@linaro.org>
12228         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12229         passed to _int_memalign does not overflow.
12231 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12233         * scripts/bench.pl: Add include-sources directive.
12234         * benchtests/README: Update documentation.
12236 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12238         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12239         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12240         instead of FP_INIT_ROUNDMODE.
12241         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12242         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12244         [BZ #16034]
12245         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12246         copy class of input value.
12247         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12248         not handle exceptions.
12249         * soft-fp/negsf2.c (__negsf2): Likewise.
12250         * soft-fp/negtf2.c (__negtf2): Likewise.
12251         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12253 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12255         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12256         semicolon.  From Linux kernel.
12258 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12260         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12262 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12264         [BZ #156]
12265         * manual/socket.texi: Added statement about buffer
12266         for gethostbyname2_r.
12268 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12270         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12271         Use .p2align directive instead, throughout.
12272         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12273         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12274         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12275         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12276         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12277         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12278         * sysdeps/x86_64/strchr.S: Likewise.
12279         * sysdeps/x86_64/strrchr.S: Likewise.
12281 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12283         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12285         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12287         * sysdeps/generic/math_private.h (__mpsin1): Remove
12288         declaration.
12289         (__mpcos1): Likewise.
12290         (__mpsin): New argument __range_reduce.
12291         (__mpcos): Likewise.
12292         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12293         (slow): Use __mpsin and __mpcos.
12294         (slow1): Likewise.
12295         (slow2): Likewise.
12296         (sloww): Likewise.
12297         (sloww1): Likewise.
12298         (sloww2): Likewise.
12299         (bsloww): Likewise.
12300         (bsloww1): Likewise.
12301         (bsloww2): Likewise.
12302         (cslow2): Likewise.
12303         (csloww): Likewise.
12304         (csloww1): Likewise.
12305         (csloww2): Likewise.
12306         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12307         range_reduce.  Merge in __mpsin1.
12308         (__mpcos): Likewise.
12309         (__mpsin1): Remove.
12310         (__mpcos1): Likewise.
12312 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12314         * locale/loadlocale.c (_nl_intern_locale_data): Use
12315         LOCFILE_ALIGNED_P.
12316         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12317         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12318         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12319         obstack data is appropriately aligned.
12320         (obstack_int32_grow_fast): Likewise.
12321         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12322         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12323         (add_locale_uint32_array): Likewise.
12325 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12327         * benchtests/Makefile: Remove ARGLIST and RET variables.
12328         ($(objpfx)bench-%.c): Pass only function name to the script.
12329         * benchtests/README: Update documentation.
12330         * benchtests/acos-inputs: Add new directives.
12331         * benchtests/acosh-inputs: Likewise.
12332         * benchtests/asin-inputs: Likewise.
12333         * benchtests/asinh-inputs: Likewise.
12334         * benchtests/atan-inputs: Likewise.
12335         * benchtests/atanh-inputs: Likewise.
12336         * benchtests/cos-inputs: Likewise.
12337         * benchtests/cosh-inputs: Likewise.
12338         * benchtests/exp-inputs: Likewise.
12339         * benchtests/log-inputs: Likewise.
12340         * benchtests/pow-inputs: Likewise.
12341         * benchtests/rint-inputs: Likewise.
12342         * benchtests/sin-inputs: Likewise.
12343         * benchtests/sinh-inputs: Likewise.
12344         * benchtests/tan-inputs: Likewise.
12345         * benchtests/tanh-inputs: Likewise.
12346         * scripts/bench.pl: Add support for new directives.
12348 2013-10-07  Alan Modra  <amodra@gmail.com>
12350         * README: Fix careless merge.
12352 2013-10-05  Alan Modra  <amodra@gmail.com>
12354         * NEWS: Mention powerpc64le support and bugs fixed.
12355         * README: Both big-endian and little-endian powerpc64 supported.
12357 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12359         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12360         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12361         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12362         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12364 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12366         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12367         match prototype.
12369 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12371         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12372         Move -mhard-float appending from
12373         ports/sysdeps/powerpc/powerpc32/Makefile.
12374         [$(with-fp) = yes] (ASFLAGS): Likewise.
12375         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12376         * sysdeps/powerpc/nofpu: Move directory from
12377         ports/sysdeps/powerpc/nofpu.
12378         * sysdeps/powerpc/soft-fp: Move directory from
12379         ports/sysdeps/powerpc/soft-fp.
12380         * sysdeps/powerpc/powerpc32/405: Move directory from
12381         ports/sysdeps/powerpc/powerpc32/405.
12382         * sysdeps/powerpc/powerpc32/440: Move directory from
12383         ports/sysdeps/powerpc/powerpc32/440.
12384         * sysdeps/powerpc/powerpc32/464: Move directory from
12385         ports/sysdeps/powerpc/powerpc32/464.
12386         * sysdeps/powerpc/powerpc32/476: Move directory from
12387         ports/sysdeps/powerpc/powerpc32/476.
12388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12389         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12391         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12393         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12395         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12397         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12398         * README: Update for powerpc-*-linux-gnu software floating point
12399         support in libc.
12401         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12402         case to powerpc/powerpc32*.
12403         * sysdeps/unix/sysv/linux/configure: Regenerated.
12405         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12406         (_FPU_MASK_OM): Define as 0x04.
12407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12409         0x00c10080.
12410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12411         0x0000003c.
12412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12415         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12416         getcontext_e500.
12417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12418         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12419         setcontext_e500.
12420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12421         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12422         and setcontext_e500.
12424 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12426         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12428 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12430         * manual/threads.texi (Default Thread Attributes): Fix typo.
12432 2013-10-04  Will Newton  <will.newton@linaro.org>
12434         * malloc/Makefile: Add tst-memalign.
12435         * malloc/tst-memalign.c: New file.
12437         * malloc/tst-posix_memalign.c: Add comments.
12438         (do_test): Add comments and call free on all potentially
12439         allocated pointers. Add space after cast.
12441         * malloc/tst-pvalloc.c: Add comments.
12442         (do_test): Add comments and call free on all potentially
12443         allocated pointers. Remove duplicate check for NULL pointer.
12444         Add space after cast.
12446         * malloc/tst-valloc.c: Add comments.
12447         (do_test): Add comments and call free on all potentially
12448         allocated pointers. Remove duplicate check for NULL pointer.
12449         Add space after cast.
12451 2013-10-04  Alan Modra  <amodra@gmail.com>
12453         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12454         Use stdint types in rather than __attribute__((mode())).
12455         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12457 2013-10-04  Alan Modra  <amodra@gmail.com>
12459         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12460         Correct handling of unaligned relocs for little-endian.
12461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12463 2013-10-04  Alan Modra  <amodra@gmail.com>
12465         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12466         * configure: Regenerate.
12467         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12468         * shlib-versions: Likewise.
12470 2013-10-04  Alan Modra  <amodra@gmail.com>
12472         * string/tester.c (test_memrchr): Increment reported test cycle.
12474 2013-10-04  Alan Modra  <amodra@gmail.com>
12476         * string/test-memcpy.c (do_one_test): When reporting errors, print
12477         string address and don't overrun end of string.
12479 2013-10-04  Alan Modra  <amodra@gmail.com>
12481         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12482         insrdi.  Make better use of reg selection to speed exit slightly.
12483         Schedule entry path a little better.  Remove useless "are we done"
12484         checks on entry to main loop.  Handle wrapping around zero address.
12485         Correct main loop count.  Handle single left-over word from main
12486         loop inline rather than by using loop_small.  Remove extra word
12487         case in loop_small caused by wrong loop count.  Add little-endian
12488         support.
12489         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12490         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12491         cache hint.
12492         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12493         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12494         support.  Avoid rlwimi.
12495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12497 2013-10-04  Alan Modra  <amodra@gmail.com>
12499         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12500         insrdi.  Formatting.
12501         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12502         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12503         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12504         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12505         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12506         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12508 2013-10-04  Alan Modra  <amodra@gmail.com>
12510         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12511         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12512         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12513         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12514         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12515         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12516         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12517         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12518         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12519         use of regs.  Use power7 mtocrf.  Tidy function tails.
12521 2013-10-04  Alan Modra  <amodra@gmail.com>
12523         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12524         Formatting.  Consistently use rXXX register defines or rN defines.
12525         Use early exit labels that avoid restoring unused non-volatile regs.
12526         Make cr field use more consistent with rWORDn compares.  Rename
12527         regs used as shift registers for unaligned loop, using rN defines
12528         for short lifetime/multiple use regs.
12529         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12530         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12531         addi 1,1,64 to pop stack frame.  Simplify return value code.
12532         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12534 2013-10-04  Alan Modra  <amodra@gmail.com>
12536         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12537         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12538         rather than rlwimi.
12539         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12540         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12541         little-endian support.  Correct typos.
12542         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12543         rather than rlwimi.
12544         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12545         in loop and entry code to keep "and." results.
12546         (strchr): Add little-endian support.  Comment.  Move cntlzd
12547         earlier in tail.
12548         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12550 2013-10-04  Alan Modra  <amodra@gmail.com>
12552         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12553         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12554         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12555         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12557 2013-10-04  Alan Modra  <amodra@gmail.com>
12559         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12560         (rTMP): Define as r11.
12561         (strcmp): Add little-endian support.  Optimise tail.
12562         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12563         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12564         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12565         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12566         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12567         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12568         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12570 2013-10-04  Alan Modra  <amodra@gmail.com>
12572         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12573         little-endian support.  Remove unnecessary "are we done" tests.
12574         Handle "s" wrapping around zero and extremely large "size".
12575         Correct main loop count.  Handle single left-over word from main
12576         loop inline rather than by using small_loop.  Correct comments.
12577         Delete "zero" tail, use "end_max" instead.
12578         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12580 2013-10-04  Alan Modra  <amodra@gmail.com>
12582         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12583         support.  Don't branch over align.
12584         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12585         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12586         support.  Rearrange tmp reg use to suit.  Comment.
12587         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12589 2013-10-04  Alan Modra  <amodra@gmail.com>
12591         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12593 2013-10-04  Alan Modra  <amodra@gmail.com>
12595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12596         conditional form of branch and link when obtaining pc.
12597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12599 2013-10-04  Alan Modra  <amodra@gmail.com>
12601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12602         HIWORD/LOWORD.
12603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12606 2013-10-04  Alan Modra  <amodra@gmail.com>
12608         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12609         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12610         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12611         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12612         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12613         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12614         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12615         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12616         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12617         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12619 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12620             Alistair Popple <alistair@ozlabs.au.ibm.com>
12621             Alan Modra <amodra@gmail.com>
12623         [BZ #15723]
12624         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12625         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12626         _dl_hwcap access for little-endian.
12627         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12628         destroy vmx regs when saving unaligned.
12629         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12630         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12631         destroy vmx regs when saving unaligned.
12633 2013-10-04  Alan Modra  <amodra@gmail.com>
12635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12636         Don't use a union to pack hi/low value.
12638 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12640         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12641         for little-endian.
12642         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12644         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12645         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12646         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12648 2013-10-04  Alan Modra  <amodra@gmail.com>
12650         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12651         constants to usual value for .cst8 section, and remove redundant
12652         high address load.
12653         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12654         constant for 0x1p52.  Load little-endian words of double from
12655         correct stack offsets.
12657 2013-10-04  Alan Modra  <amodra@gmail.com>
12659         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12660         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12661         words of double from correct stack offsets.
12662         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12663         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12664         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12665         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12666         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12667         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12668         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12669         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12670         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12671         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12672         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12673         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12674         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12675         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12676         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12677         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12678         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12680 2013-10-04  Alan Modra  <amodra@gmail.com>
12682         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12683         64-bit int/double union.
12684         (_FPU_SETCW): Likewise.
12685         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12686         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12688 2013-10-04  Alan Modra  <amodra@gmail.com>
12690         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12691         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12693 2013-10-04  Alan Modra  <amodra@gmail.com>
12695         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12696         use vector int constants.
12697         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12699 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12701         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12702         array with long long.
12703         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12704         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12705         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12706         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12707         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12708         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12709         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12710         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12711         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12712         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12713         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12714         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12715         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12717 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12719         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12720         (__signbit): Likewise.  Correct for little-endian.
12721         (__signbitl): Call __signbit.
12722         (lrint): Correct for little-endian.
12723         (lrintf): Call lrint.
12725 2013-10-04  Alan Modra  <amodra@gmail.com>
12727         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12728         union 32-bit int array member with 64-bit int array.
12729         (t515, tm256): Double rather than long double.
12730         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12732 2013-10-04  Alan Modra  <amodra@gmail.com>
12734         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12735         Delete.
12736         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12737         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12738         version of math_ldbl.h.
12740 2013-10-04  Alan Modra  <amodra@gmail.com>
12742         [BZ #15734], [BZ #15735]
12743         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12744         all uses of ieee875 long double macros and unions.  Simplify test
12745         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12746         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12747         normalize after ldbl_extract_mantissa, and don't add hidden bit
12748         already handled.  Don't treat low word of ieee854 mantissa like
12749         low word of IBM long double and mask off bit when testing for
12750         zero.
12751         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12752         all uses of ieee875 long double macros and unions.  Simplify tests
12753         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12754         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12755         two1022, instead use their values.  Recognise that tests for large
12756         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12758         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12759         test for 0.0L and nan.  Correct negation.
12760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12761         ieee875 long double macros and unions.  Correct output for large
12762         magnitude x.  Correct absolute value calculation.
12763         (__erfcl): Likewise.
12764         * math/libm-test.inc: Add tests for errors discovered in IBM long
12765         double versions of fmodl, remainderl, erfl and erfcl.
12767 2013-10-04  Alan Modra  <amodra@gmail.com>
12769         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12770         all uses of ieee854 long double macros and unions.  Simplify tests
12771         for long doubles that are fully specified by the high double.
12772         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12773         Likewise.
12774         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12775         Remove dead code too.
12776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12777         (__ieee754_ynl): Likewise.
12778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12779         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12781         Remove dead code too.
12782         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12783         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12784         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12785         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12786         Simplify.
12787         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12788         Simplify.
12789         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12790         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12791         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12792         Comment on variable precision.
12793         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12794         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12795         Likewise.
12796         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12797         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12798         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12799         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12800         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12802 2013-10-04  Alan Modra  <amodra@gmail.com>
12804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12805         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12806         all uses of ieee854 long double macros and unions.
12807         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12808         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12809         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12810         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12811         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12812         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12813         Likewise.
12814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12815         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12816         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12817         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12818         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12819         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12820         Simplify sign and nan test too.
12821         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12822         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12823         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12824         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12825         Likewise.
12826         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12827         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12828         Likewise.
12829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12830         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12831         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12832         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12833         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12836 2013-10-04  Alan Modra  <amodra@gmail.com>
12838         * stdio-common/printf_size.c (__printf_size): Don't use
12839         union ieee854_long_double in fpnum union.
12840         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12841         signbit macro to retrieve sign from long double.
12842         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12843         retrieve sign from long double.
12844         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12845         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12846         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12847         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12848         * math/test-misc.c (main): Don't use union ieee854_long_double.
12850 2013-10-04  Alan Modra  <amodra@gmail.com>
12852         [BZ #15680]
12853         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12854         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12855         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12856         calculation.  Remove unnecessary test for denormal exponent.
12857         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12858         Correct handling of denormals.  Avoid undefined shift behaviour.
12859         Correct normalisation of low mantissa when low double is denormal.
12860         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12861         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12862         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12863         Correct normalisation of low mantissa.  Test for overflow of high
12864         mantissa and normalise.
12865         (ldbl_nearbyint): Use more readable constant for two52.
12866         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12867         (__mpn_construct_long_double): Fix test for overflow of high
12868         mantissa and correct normalisation.  Avoid undefined shift.
12870 2013-10-04  Alan Modra  <amodra@gmail.com>
12872         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12873         (union ibm_extended_long_double): Define as an array of ieee754_double.
12874         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12875         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12876         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12877         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12878         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12879         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12881         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12882         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12883         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12884         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12886 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12888         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12889         page size instead of calling getpagesize.
12891         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12892         (LOCFILE_ALIGN_MASK): Likewise.
12893         (LOCFILE_ALIGN_UP): Likewise.
12894         (LOCFILE_ALIGNED_P): Likewise.
12895         * locale/programs/ld-collate.c (collate_output): Use the new
12896         macros instead of __alignof__ (int32_t).
12897         * locale/weight.h (findidx): Likewise.
12899 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12901         [BZ #431]
12902         * manual/string.texi: Fix strncat and wcsncat.
12904 2013-10-03  Brooks Moses  <bmoses@google.com>
12906         [BZ #15915]
12907         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12908         * Makerules: ...here, and adjust associated comments.
12910 2013-10-02  Will Newton  <will.newton@linaro.org>
12912         * malloc/Makefile: Add tst-pvalloc.
12913         * malloc/tst-pvalloc.c: New file.
12915 2013-10-02  Will Newton  <will.newton@linaro.org>
12917         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12918         improve test coverage.
12920 2013-10-02  Will Newton  <will.newton@linaro.org>
12922         * malloc/Makefile: Add tst-posix_memalign.
12923         * malloc/tst-posix_memalign.c: New file.
12925 2013-10-01  Eric Blake  <eblake@redhat.com>
12927         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12928         Use __THROWNL rather than __THROW on static functions.
12930 2013-09-30  Petr Machata  <pmachata@redhat.com>
12932         * elf/elf.h (R_AARCH64_ABS16): New macro.
12933         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12934         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12935         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12936         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12937         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12938         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12939         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12940         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12941         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12942         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12943         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12944         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12945         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12946         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12947         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12948         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12949         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12950         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12951         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12952         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12953         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12954         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12955         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12956         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12957         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12958         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12959         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12960         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12961         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12962         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12963         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12964         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12965         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12966         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12967         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12968         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12969         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12970         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12971         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12972         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12973         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12974         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12975         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12976         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12977         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12978         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12979         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12980         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12981         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12982         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12983         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12984         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12985         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12986         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12987         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12988         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12989         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12990         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12991         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12992         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12993         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12994         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12995         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12996         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12997         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12998         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12999         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13000         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13001         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13002         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13003         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13004         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13005         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13006         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13007         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13008         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13009         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13010         (R_AARCH64_TLSDESC_LDR): Likewise.
13011         (R_AARCH64_TLSDESC_ADD): Likewise.
13012         (R_AARCH64_TLSDESC_CALL): Likewise.
13014 2013-09-30  Andreas Schwab  <schwab@suse.de>
13016         [BZ #15048]
13017         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13018         the nss database lookup.
13019         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13022 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13024         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13026 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13028         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13029         ${Bash-specific parameter/pattern/string} parameter expansion.
13030         * sysdeps/unix/make-syscalls.sh: Likewise.
13032 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13034         * sysdeps/sh/stackguard-macros.h: New file.
13036 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13040         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13041         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13042         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13043         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13045 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13047         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13048         Fix thread ID register.
13050 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13052         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13053         [POSIX || UNIX98]: Require rather than permitting all symbols from
13054         <time.h>.
13055         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13056         element of struct sched_param.
13057         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13058         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13059         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13060         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13061         constant.
13063 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13065         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13066         argument calculation.
13068 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13070         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13071         Expect macro.
13072         [POSIX] (pthread_attr_t): Do not require type.
13073         [POSIX] (pthread_cond_t): Likewise.
13074         [POSIX] (pthread_condattr_t): Likewise.
13075         [POSIX] (pthread_key_t): Likewise.
13076         [POSIX] (pthread_mutex_t): Likewise.
13077         [POSIX] (pthread_mutexattr_t): Likewise.
13078         [POSIX] (pthread_once_t): Likewise.
13079         [POSIX] (pthread_t): Likewise.
13080         [POSIX-based standards] (pthread_atfork): Expect function.
13082 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13083             Richard Sandiford  <richard@codesourcery.com>
13085         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13086         (swap_endianness_p): New extern variable.
13087         (set_big_endian): New inline function.
13088         (maybe_swap_uint32): Likewise.
13089         (maybe_swap_uint32_array): Likewise.
13090         (maybe_swap_uint32_obstack): Likewise.
13091         * locale/programs/locfile.c: Include <stdbool.h>.
13092         (swap_endianness_p): New variable.
13093         (add_locale_uint32): Call maybe_swap_uint32.
13094         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13095         (write_locale_data): Call maybe_swap_uint32_array.
13096         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13097         maybe_swap_uint32.
13098         (obstack_int32_grow_fast): Likewise.
13099         (output_weightwc): Call maybe_swap_uint32_obstack.
13100         (collate_output): Likewise.
13101         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13102         (OPT_LITTLE_ENDIAN): Likewise.
13103         (options): Add --little-endian and --big-endian options.
13104         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13105         * locale/programs/locarchive.c: Include "locfile.h".
13106         (GET): New macro.
13107         (SET): Likewise.
13108         (INC): Likewise.
13109         (create_archive): Use the new macros to access fields of
13110         structures directly mapped from or written to locale archives.
13111         (oldlocrecentcmp): Likewise.
13112         (enlarge_archive): Likewise.
13113         (insert_name): Likewise.
13114         (add_alias): Likewise.
13115         (add_locale): Likewise.
13116         (delete_locales_from_archive): Likewise.
13117         (show_archive_content): Likewise.
13118         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13119         locale data.
13121 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13123         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13124         http://www.gnu.org/doc/freemanuals.texi.
13125         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13127 2013-09-24  Will Newton  <will.newton@linaro.org>
13129         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13130         macro.
13132 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13134         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13135         unsigned char.
13137 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13139         * manual/threads.texi (POSIX Threads): Fix a typo.
13141 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13143         [BZ #14547]
13144         * string/tst-strcoll-overflow.c: New test case.
13145         * string/Makefile (xtests): Add tst-strcoll-overflow.
13146         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13147         cache if string sizes may cause integer overflow.
13149         [BZ #14547]
13150         * string/strcoll_l.c (coll_seq): New members rule, idx,
13151         save_idx and back_us.
13152         (get_next_seq_nocache): New function.
13153         (do_compare_nocache): New function.
13154         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13155         when malloc fails.
13157 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13159         [BZ #15754]
13160         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13161         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13162         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13164         [BZ #15754]
13165         * elf/Makefile (tests): Add tst-ptrguard1.
13166         (tests-static): Add tst-ptrguard1-static.
13167         (tst-ptrguard1-ARGS): Define.
13168         (tst-ptrguard1-static-ARGS): Define.
13169         * elf/tst-ptrguard1.c: New file.
13170         * elf/tst-ptrguard1-static.c: New file.
13171         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13172         * sysdeps/i386/stackguard-macros.h: Likewise.
13173         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13174         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13175         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13176         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13177         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13178         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13180 2013-09-23  Hector Marco  <hecmargi@upv.es>
13181             Ismael Ripoll  <iripoll@disca.upv.es>
13182             Carlos O'Donell  <carlos@redhat.com>
13184         [BZ #15754]
13185         * sysdeps/generic/stackguard-macros.h: Define
13186         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13187         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13188         Define __pointer_chk_guard_local.
13189         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13190         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13192 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13194         [BZ #15859]
13195         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13197 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13199         * include/string.h (__ffs): Declare as hidden.
13200         * string/ffs.c (__ffs): Define as hidden.
13201         * sysdeps/i386/ffs.c (__ffs): Likewise.
13202         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13203         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13204         * sysdeps/s390/ffs.c (__ffs): Likewise.
13205         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13207 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13209         * NEWS: Mention malloc probes.
13211         * malloc/arena.c (new_heap): New memory_heap_new probe.
13212         (grow_heap): New memory_heap_more probe.
13213         (shrink_heap): New memory_heap_less probe.
13214         (heap_trim): New memory_heap_free probe.
13215         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13216         (systrim): New memory_sbrk_less probe.
13217         * manual/probes.texi: Document them.
13219         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13220         * manual/probes.texi: Document it.
13222         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13223         (__libc_realloc): Add memory_realloc_retry probe.
13224         (__libc_memalign): Add memory_memalign_retry probe.
13225         (__libc_valloc): Add memory_valloc_retry probe.
13226         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13227         (__libc_calloc): Add memory_calloc_retry probe.
13228         * manual/probes.texi: Document them.
13230         * malloc/arena.c (get_free_list): Add probe
13231         memory_arena_reuse_free_list.
13232         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13233         and memory_arena_reuse.
13234         (arena_get2) [!PER_THREAD]: Likewise.
13235         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13236         memory_arena_reuse_realloc.
13237         * manual/probes.texi: Document them.
13239         * malloc/malloc.c (__libc_free): Add
13240         memory_mallopt_free_dyn_thresholds probe.
13241         (__libc_mallopt): Add multiple memory_mallopt probes.
13242         * manual/probes.texi: Document them.
13244         * malloc/malloc.c: Include stap-probe.h.
13245         (__libc_mallopt): Add memory_mallopt probe.
13246         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13247         * manual/probes.texi: New.
13248         * manual/Makefile (chapters): Add probes.
13249         * manual/threads.texi: Set next node.
13251 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13253         [BZ #15963, #13985]
13254         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13255         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13256         Add `Chinese' to `nan' entry name.
13258 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13260         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13261         (POLYNOMIAL): Likewise.
13262         (TAYLOR_SINCOS): Likewise.
13263         (TAYLOR_SLOW): Likewise.
13264         (__sin): Use TAYLOR_SINCOS.
13265         (__cos): Likewise.
13266         (slow): Use TAYLOR_SLOW.
13267         (sloww): Likewise.
13268         (bsloww): Likewise.
13269         (csloww): Likewise.
13271 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13273         * stdlib/strtod_l.c: Fix buffer overrun.
13275 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13277         * benchtests/Makefile (bench): Add sincos.
13278         * benchtests/bench-sincos.c: New file.
13280         * math/libm-test.inc (cos_test_data): New test inputs.
13281         (sin_test_data): Likewise.
13283         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13284         macro.
13285         (__sin): Use it.
13286         (__cos): Likewise.
13287         (slow1): Likewise.
13288         (slow2): Likewise.
13289         (sloww1): Likewise.
13290         (sloww2): Likewise.
13291         (bsloww1): Likewise.
13292         (bsloww2): Likewise.
13293         (cslow2): Likewise.
13294         (csloww1): Likewise.
13295         (csloww2): Likewise.
13297         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13298         function.
13299         (__sin): Use it.
13300         (__cos): Likewise.
13302         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13303         gotos.
13304         (__cos): Likewise.
13306 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13308         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13309         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13310         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13311         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13312         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13313         * elf/cache.c (print_entry): Handle the new cache flags.
13315 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13316             Aldy Hernandez  <aldyh@redhat.com>
13318         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13319         Change condition to [_SOFT_FLOAT].
13320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13332         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13335         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13336         declaration.
13338 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13340         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13341         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13342         (__longjmp): Use LOAD_GP to load saved GPRs.
13343         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13344         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13345         (__sigsetjmp): Use SAVE_GP to save GPRs.
13347         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13348         Do not append -msoft-float.
13349         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13351 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13353         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13355 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13357         [BZ #15966]
13358         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13359         (_FPU_GETCW): Use initial "__" on variable and field names but not
13360         on macro parameter name.
13361         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13362         parentheses around reference to macro parameter.
13364 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13366         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13367         prototype.
13368         (ctype_startup): Use uint32_t in cast and sizeof for
13369         ctype->charnames.
13371 2013-09-11  Jia Liu  <proljc@gmail.com>
13373         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13374         __daddr_t_defined.
13375         [__FreeBSD__]: Likewise.
13377 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13379         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13380         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13381         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13382         (strchr): Remove __strchr_sse42 ifunc selection.
13383         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13384         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13386 2013-09-11  Will Newton  <will.newton@linaro.org>
13388         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13389         parameter to RES. Remove hardcoded 1000 value.
13390         * benchtests/bench-skeleton.c (main): Pass RES parameter
13391         to TIMING_INIT and multiply result by 1000.
13393 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13397 2013-09-11  Andreas Schwab  <schwab@suse.de>
13399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13400         if not defined.
13401         (O_TMPFILE) [__USE_GNU]: Define.
13402         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13403         Define.
13405 2013-09-11  Will Newton  <will.newton@linaro.org>
13407         [BZ #15857]
13408         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13409         does not overflow.
13411 2013-09-11  Will Newton  <will.newton@linaro.org>
13413         [BZ #15856]
13414         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13415         does not overflow.
13417 2013-09-11  Will Newton  <will.newton@linaro.org>
13419         [BZ #15855]
13420         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13421         does not overflow.
13423 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13425         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13426         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13427         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13428         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13429         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13431 2013-09-10  Allan McRae  <allan@archlinux.org>
13433         [BZ #15748]
13434         * manual/arith.texi (Parsing of Floats): Clarify
13435         cross-reference.
13437         [BZ #15849]
13438         * manual/install.texi (Running make install): Mention
13439         --enable-pt-chown.
13440         * INSTALL: Regenerated.
13442 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13444         * csu/init-first.c (_init): Remove the !SHARED condition around
13445         FPU control word initialization.
13446         * elf/dl-support.c (_dl_fpu_control): New variable.
13447         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13448         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13449         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13450         * math/test-fpucw-static.c: New file.
13451         * math/test-fpucw-ieee.c: New file.
13452         * math/test-fpucw-ieee-static.c: New file.
13453         * math/Makefile (tests): Add `test-fpucw-ieee' and
13454         `$(tests-static)'.
13455         (tests-static): New variable.
13456         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13457         dependency to...
13458         [($(build-shared),yes)]
13459         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13460         ... this.
13461         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13462         New dependency.
13464 2013-09-09  Allan McRae  <allan@archlinux.org>
13466         [BZ #15939]
13467         * manual/string.texi (Collation Functions): Fix typo in
13468         strcoll example.
13469         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13471         [BZ #15893]
13472         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13474         [BZ #15892]
13475         * libio/memstream.c (open_memstream): Fix memory leak.
13476         * libio/wmemstream.c (open_wmemstream): Likewise.
13478         [BZ #15895]
13479         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13481 2013-09-09  Will Newton  <will.newton@linaro.org>
13483         * malloc/Makefile: Add tst-realloc to tests.
13484         * malloc/tst-realloc.c: New file.
13486 2013-09-09  Allan McRae  <allan@archlinux.org>
13488         [BZ #15844]
13489         * COPYING: Update from GNU website to fix FSF address.
13490         * COPYING.LIB: Likewise.
13492 2013-09-06  David S. Miller  <davem@davemloft.net>
13494         * po/zh_TW.po: Update Chinese (traditional) translation from
13495         translation project.
13497 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13498             Joseph Myers  <joseph@codesourcery.com>
13500         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13501         "localeinfo.h".
13502         (obstack_chunk_alloc): New macro.
13503         (obstack_chunk_free): Likewise.
13504         (record_offset): New function.
13505         (init_locale_data): Likewise.
13506         (align_locale_data): Likewise.
13507         (add_locale_empty): Likewise.
13508         (add_locale_raw_data): Likewise.
13509         (add_locale_raw_obstack): Likewise.
13510         (add_locale_string): Likewise.
13511         (add_locale_wstring): Likewise.
13512         (add_locale_uint32): Likewise.
13513         (add_locale_uint32_array): Likewise.
13514         (add_locale_char): Likewise.
13515         (start_locale_structure): Likewise.
13516         (end_locale_structure): Likewise.
13517         (start_locale_prelude): Likewise.
13518         (end_locale_prelude): Likewise.
13519         (write_locale_data): Take locale_file structure rather than an
13520         iovec.
13521         * locale/programs/locfile.h: Include "obstack.h".
13522         (struct locale_file): Change to store locale file contents instead
13523         of header.
13524         (init_locale_data): New prototype.
13525         (align_locale_data): Likewise.
13526         (add_locale_empty): Likewise.
13527         (add_locale_raw_data): Likewise.
13528         (add_locale_raw_obstack): Likewise.
13529         (add_locale_string): Likewise.
13530         (add_locale_wstring): Likewise.
13531         (add_locale_uint32): Likewise.
13532         (add_locale_uint32_array): Likewise.
13533         (add_locale_char): Likewise.
13534         (start_locale_structure): Likewise.
13535         (end_locale_structure): Likewise.
13536         (start_locale_prelude): Likewise.
13537         (end_locale_prelude): Likewise.
13538         (write_locale_data): Update prototype.
13539         * locale/programs/3level.h (struct TABLE): Remove result field.
13540         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13541         Use new locale_file interface.
13542         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13543         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13544         * locale/programs/ld-address.c (address_output): Use new
13545         locale_file interface.
13546         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13547         NO_ADD_LOCALE.
13548         (collate_finish): Don't call collseq_table_finalize.
13549         (collate_output): Use new locale_file interface.
13550         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13551         in file.
13552         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13553         (TABLE): Move defines earlier in file.
13554         (ELEMENT): Likewise.
13555         (DEFAULT): Likewise.
13556         (wctrans_table_add): Move macro and inline function earlier in
13557         file.
13558         (struct wctype_table): Move type earlier in file.
13559         (add_locale_wctype_table): New static prototype.
13560         (struct locale_ctype_t): Use logical types instead of struct iovec
13561         pointers for members.
13562         (ctype_output): Use new locale_file interface.
13563         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13564         new locale_file interface.
13565         (allocate_arrays): Update for use of new locale_file interface.
13566         * locale/programs/ld-identification.c (identification_output): Use
13567         new locale_file interface.
13568         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13569         * locale/programs/ld-messages.c (messages_output): Likewise.
13570         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13571         * locale/programs/ld-name.c (name_output): Likewise.
13572         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13573         * locale/programs/ld-paper.c (paper_output): Likewise.
13574         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13575         * locale/programs/ld-time.c (time_output): Likewise.
13577 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13579         * benchtests/Makefile: Add memrchr benchmark.
13580         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13581         benchmark as memrchr.
13582         * benchtests/bench-memrchr-ifunc.c: New file.
13583         * benchtests/bench-memrchr.c: New file.
13585 2013-09-06   Will Newton  <will.newton@linaro.org>
13587         * benchtests/Makefile (string-bench): Add memcpy.
13589 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13590             Cong Wang  <amwang@redhat.com>
13592         [BZ #15850]
13593         * sysdeps/unix/sysv/linux/bits/in.h
13594         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13595         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13596         before __USE_KERNEL_IPV6_DEFS uses.
13597         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13598         IPPROTO_BEETPH.
13599         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13600         sockaddr_in6, or ipv6_mreq.
13602 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13604         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13605         memory access for final bytes in some large inputs.
13606         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13608 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13610         * string/test-memrchr.c: New file.
13611         * string/test-memrchr-ifunc.c: New file.
13612         * string/Makefile: Add new memrchr testcase.
13614 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13616         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13617         fanotify_init returns EPERM.
13619 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13621         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13622         errors.
13623         (top level): Treat second token from macro or constant entries for
13624         allowed headers as allowed.
13625         * include/complex.h: Condition internal declarations on
13626         [!_ISOMAC].
13627         * include/fenv.h: Condition include of <stdbool.h> and internal
13628         declarations on [!_ISOMAC].
13630 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13632         [BZ #15923]
13633         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13635 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13637         * configure.in (--enable-versioning): Remove configure option.
13638         (libc_cv_asm_symver_directive): Remove configure test.
13639         (libc_cv_ld_version_script_option): Likewise.
13640         (VERSIONING): Remove variable and AC_SUBST.
13641         (DO_VERSIONING): Remove AC_DEFINE.
13642         * configure: Regenerated.
13643         * config.h.in (DO_VERSIONING): Remove macro.
13644         * Makerules [$(versioning) = yes]: Change conditionals to
13645         [$(build-shared) = yes].
13646         * config.make.in (versioning): Remove variable.
13647         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13648         [$(build-shared) = yes].
13649         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13650         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13651         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13652         [$(build-shared) = yes].
13653         * extra-lib.mk [$(versioning) = yes]: Likewise.
13654         * hurd/Makefile [$(versioning) = yes]: Likewise.
13655         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13656         [SHARED].
13657         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13658         [SHARED].
13659         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13660         [SHARED && !NO_HIDDEN].
13661         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13662         [SHARED].
13663         [SHARED && DO_VERSIONING]: Likewise..
13664         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13665         [$(build-shared) = yes].
13666         * manual/install.texi (--disable-versioning): Remove
13667         documentation.
13668         * INSTALL: Regenerated.
13669         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13670         to [SHARED].
13671         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13672         [$(build-shared) = yes].
13673         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13674         * sysdeps/i386/i686/multiarch/strstr-c.c
13675         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13676         [SHARED && !NO_HIDDEN].
13677         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13678         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13679         * sysdeps/powerpc/powerpc32/dl-machine.c
13680         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13681         * sysdeps/powerpc/powerpc32/sysdep.h
13682         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13683         to [SHARED && PIC && !NO_HIDDEN].
13684         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13685         conditional to [SHARED].
13687 2013-09-04   Will Newton  <will.newton@linaro.org>
13689         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13690         * benchtests/bench-string.h: Include bench-timing.h instead
13691         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13692         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13693         call to HP_TIMING_DIFF_INIT.
13694         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13695         instead of hp-timing.h macros.
13696         * benchtests/bench-memchr.c: Likewise.
13697         * benchtests/bench-memcmp.c: Likewise.
13698         * benchtests/bench-memcpy.c: Likewise.
13699         * benchtests/bench-memmem.c: Likewise.
13700         * benchtests/bench-memmove.c: Likewise.
13701         * benchtests/bench-memset.c: Likewise.
13702         * benchtests/bench-rawmemchr.c: Likewise.
13703         * benchtests/bench-strcasecmp.c: Likewise.
13704         * benchtests/bench-strcasestr.c: Likewise.
13705         * benchtests/bench-strcat.c: Likewise.
13706         * benchtests/bench-strchr.c: Likewise.
13707         * benchtests/bench-strcmp.c: Likewise.
13708         * benchtests/bench-strcpy.c: Likewise.
13709         * benchtests/bench-strcpy_chk.c: Likewise.
13710         * benchtests/bench-strlen.c: Likewise.
13711         * benchtests/bench-strncasecmp.c: Likewise.
13712         * benchtests/bench-strncat.c: Likewise.
13713         * benchtests/bench-strncmp.c: Likewise.
13714         * benchtests/bench-strncpy.c: Likewise.
13715         * benchtests/bench-strnlen.c: Likewise.
13716         * benchtests/bench-strpbrk.c: Likewise.
13717         * benchtests/bench-strrchr.c: Likewise.
13718         * benchtests/bench-strspn.c: Likewise.
13719         * benchtests/bench-strstr.c: Likewise.
13721 2013-09-04  Will Newton  <will.newton@linaro.org>
13723         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13725 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13727         [BZ #15427]
13728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13729         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13730         * math/libm-test.inc (lgamma_test_data): Add more tests.
13731         * sysdeps/i386/fpu/libm-test-ulps: Update.
13732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13734 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13736         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13738         Add ifunc.
13739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13740         Add strcmp-sse2-unaligned
13741         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13743 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13745         * Versions.def (libc): Add GLIBC_2.19.
13747 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13749         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13750         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13752 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13754         [BZ #14155]
13755         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13756         intermediate calculations in recurrence.
13757         (__ieee754_ynf): Likewise.
13758         * math/libm-test.inc (jn_test_data): Do not allow spurious
13759         underflow exception.  Add more tests.
13760         (yn_test_data): Add more tests.
13761         * sysdeps/i386/fpu/libm-test-ulps: Update.
13762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13764 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13766         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13768 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13770         * csu/init-first.c: Fix then/than typos.
13771         * locale/programs/ld-collate.c: Likewise.
13772         * locale/programs/linereader.h: Likewise.
13773         * manual/charset.texi: Likewise.
13774         * manual/filesys.texi: Likewise.
13775         * manual/stdio.texi: Likewise.
13776         * manual/string.texi: Likewise.
13777         * stdlib/fmtmsg.c: Likewise.
13778         * sysdeps/i386/stpncpy.S: Likewise.
13779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13780         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13782         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13784 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13786         * elf/dl-open.c: Fix typos.
13787         * iconvdata/gbbig5.c: Likewise.
13788         * iconvdata/iso-2022-jp.c: Likewise.
13789         * iconv/gconv_int.h: Likewise.
13790         * iconv/loop.c: Likewise.
13791         * nis/rpcsvc/nis.h: Likewise.
13792         * resolv/ns_name.c: Likewise.
13793         * stdio-common/vfscanf.c: Likewise.
13794         * streams/stropts.h: Likewise.
13795         * sunrpc/rpc_thread.c: Likewise.
13796         * sysdeps/i386/strpbrk.S: Likewise.
13797         * sysdeps/ieee754/k_standard.c: Likewise.
13798         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13799         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13800         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13801         * sysdeps/mach/hurd/profil.c: Likewise.
13802         * sysdeps/s390/dl-procinfo.h: Likewise.
13803         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13804         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13805         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13806         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13807         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13809 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13811         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13814 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13816         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13817         aix specific files.
13818         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13819         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13820         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13821         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13822         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13823         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13824         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13825         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13827 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13828             Roland McGrath  <roland@hack.frob.com>
13830         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13831         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13833 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13835         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13836         __executable_start symbol instead of _start.
13838 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13840         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13841         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13842         Move macros to...
13843         * sysdeps/gnu/ldsodefs.h: ... this new file.
13845         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13846         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13847         instead of ELFOSABI_LINUX.
13849         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13850         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13851         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13852         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13853         Likewise.
13854         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13855         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13856         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13857         Likewise.
13858         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13859         (ibm_extended_long_double): Add ieee_nan member.
13860         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13861         (do_test): New function.
13863         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13864         TEST_TRUNC.
13865         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13866         functions, renamed from truncdfsf_test, trunctfsf_test,
13867         trunctfdf_test.
13868         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13869         functions.
13870         (do_test): Run all these.
13872 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13874         * argp/argp-help.c: Fix typos.
13875         * argp/argp-parse.c: Likewise.
13876         * debug/backtracesyms.c: Likewise.
13877         * elf/elf.h: Likewise.
13878         * malloc/malloc.c: Likewise.
13879         * nis/nis_print.c: Likewise.
13880         * resolv/res_comp.c: Likewise.
13881         * stdlib/stdlib.h: Likewise.
13882         * sunrpc/clnt_tcp.c: Likewise.
13883         * sunrpc/clnt_udp.c: Likewise.
13884         * sunrpc/clnt_unix.c: Likewise.
13885         * sysdeps/unix/bsd/ptsname.c: Likewise.
13886         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13887         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13889         Likewise.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13891         Likewise.
13892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13893         Likewise.
13894         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13896 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13898         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13901 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13903         [BZ #15897]
13904         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13905         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13906         ($(objpfx)bug-dl-leaf): New rule.
13907         ($(objpfx)bug-dl-leaf.so): Likewise.
13908         ($(objpfx)bug-dl-leaf.out): Likewise.
13909         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13910         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13911         * dlfcn/bug-dl-leaf.c: New test.
13912         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13913         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13914         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13915         (dlclose): Likewise.
13916         (dlmopen): Likewise.
13918 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13920         * include/netdb.h [!_ISOMAC]:
13921         Don't include <tls.h>.
13922         (h_errno, __libc_h_errno): Move declaration and macros out of
13923         [_LIBC_REENTRANT].
13925         * include/resolv.h [_RESOLV_H_]:
13926         Don't include <tls.h>.
13927         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13928         * resolv/res_libc.c: Don't include <tls.h>.
13929         (_res): Use __attribute__ ((nocommon)) in place of
13930         __attribute__ ((section (".bss"))).
13932         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13933         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13935         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13937         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13938         only under [SIOCGIFCONF && SIOCGIFNETMASK].
13940         * resolv/res_mkquery.c: Include <sys/time.h>.
13942         * inet/ifreq.c: Moved to ...
13943         * sysdeps/unix/ifreq.c: ... here.
13944         * inet/ifreq.c: New file, true stub version.
13946         * socket/sa_len.c: New file.
13947         * socket/Makefile (aux): Add it.
13948         * sysdeps/unix/sysv/linux/Makefile
13949         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13950         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13951         and #include <socket/sa_len.c>.
13952         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13953         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13955         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13956         * bits/socket.h: ... here.
13958         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13959         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13960         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13962 2013-08-27  Andreas Schwab  <schwab@suse.de>
13964         [BZ #15736]
13965         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13966         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13967         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13968         * string/test-strcasecmp.c (test_main): Run tests in several
13969         locales.
13970         * string/test-strncasecmp.c (test_main): Likewise.
13972         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13973         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13974         to __strcasecmp_nonascii and __strncasecmp_nonascii.
13975         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13976         (__strncasecmp_ssse3) [PIC]: Likewise.
13978 2013-08-26  Roland McGrath  <roland@hack.frob.com>
13980         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13982         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13983         instead of explicitly declaring xdecrypt.
13984         * nis/nss_nis/nis-publickey.c: Likewise.
13986 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13988         [BZ #15890]
13989         * nscd/aicache.c: Include res_hconf.h.
13990         (addhstaiX): Initialize res_hconf.
13992 2013-08-26  Andreas Schwab  <schwab@suse.de>
13994         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13995         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13997 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13999         * nscd/aicache.c (addhstaiX): Fix indentation.
14001 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14003         * configure.ac: Quote $build_pt_chown test.
14004         * configure: Regenerated.
14006 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14008         [BZ #15532]
14009         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14010         * math/s_cexpf.c (__cexpf): Likewise.
14011         * math/s_cexpl.c (__cexpl): Likewise.
14012         * math/libm-test.inc (cexp_test_data): Correct expected return
14013         value for NaN + i0.  Add another test.
14015 2013-08-22  David S. Miller  <davem@davemloft.net>
14017         * po/ca.po: Update Catalan translation from translation project.
14018         * po/uk.po: Add Ukrainian translations from translation project.
14020 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14022         [BZ #15797]
14023         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14024         is infinite, not alongside NaN test.
14025         * math/s_fdimf.c (__fdimf): Likewise.
14026         * math/s_fdiml.c (__fdiml): Likewise.
14027         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14028         errno is unchanged.
14030 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14032         * argp/argp-help.c: Fix typos.
14033         * crypt/speeds.c: Likewise.
14034         * csu/check_fds.c: Likewise.
14035         * elf/dl-load.c: Likewise.
14036         * elf/dl-open.c: Likewise.
14037         * elf/reldep3.c: Likewise.
14038         * elf/reldep.c: Likewise.
14039         * elf/sprof.c: Likewise.
14040         * iconv/iconv_charmap.c: Likewise.
14041         * iconv/skeleton.c: Likewise.
14042         * iconv/strtab.c: Likewise.
14043         * io/lockf64.c: Likewise.
14044         * libio/libioP.h: Likewise.
14045         * resolv/gai_notify.c: Likewise.
14046         * resolv/ns_name.c: Likewise.
14047         * resolv/ns_samedomain.c: Likewise.
14048         * resolv/res_send.c: Likewise.
14049         * stdlib/random.c: Likewise.
14050         * sunrpc/rpc/xdr.h: Likewise.
14051         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14052         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14053         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14054         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14055         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14056         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14058         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14059         * sysdeps/mach/hurd/check_fds.c: Likewise.
14060         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14061         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14062         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14063         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14064         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14065         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14066         * sysdeps/pthread/aio_notify.c: Likewise.
14067         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14068         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14069         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14070         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14071         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14073 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14075         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14076         version if bit_Slow_SSE4_2 is set.
14077         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14078         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14080 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14082         [BZ #15867]
14083         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14084         trampoline stack frame information.
14085         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14086         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14087         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14088         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14089         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14090         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14091         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14092         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14093         sa_flags value.
14094         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14095         interrupting a syscall and set with option SA_SIGINFO.
14097 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14099         [BZ #15531]
14100         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14101         argument is infinite.
14102         * math/s_cprojf.c (__cprojf): Likewise.
14103         * math/s_cprojl.c (__cprojl): Likewise.
14104         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14105         * math/libm-test.inc (cproj_test_data): Add more tests.
14107         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14109         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14110         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14111         size.  Use __ffs to determine corresponding shift.
14113 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14114             Roland McGrath  <roland@hack.frob.com>
14116         * Makefile (INSTALL): Remove trailing blank lines from output of
14117         makeinfo.
14119 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14121         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14122         Align 32 bit compat elf_greg to 8 bytes.
14124 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14126         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14128 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14130         * string/strcoll_l.c (coll_seq): New structure.
14131         (get_next_seq_cached): New function.
14132         (get_next_seq): New function.
14133         (do_compare): New function.
14134         (STRCOLL): Use GNU style definition.  Simplify implementation
14135         by using get_next_seq, get_next_seq_cached and do_compare.
14137 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14139         [BZ #14699]
14140         CVE-2013-4237
14141         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14142         member.
14143         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14144         member.
14145         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14146         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14147         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14148         conditional.
14149         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14150         GETDENTS_64BIT_ALIGNED.
14151         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14152         * manual/filesys.texi (Reading/Closing Directory): Document
14153         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14154         strongly.
14155         * manual/conf.texi (Limits for Files): Add portability note to
14156         NAME_MAX, PATH_MAX.
14157         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14159 2013-08-13  Andreas Schwab  <schwab@suse.de>
14161         [BZ #15749]
14162         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14163         of fabs.
14164         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14165         LDBL_MAX_EXP >= 16384]: Add tests for it.
14167 2013-08-12  David S. Miller  <davem@davemloft.net>
14169         * version.h (RELEASE): Set to "development".
14170         (VERSION): Set to "2.18.90".
14171         * NEWS: Add 2.19 section.
14173 2013-08-03  David S. Miller  <davem@davemloft.net>
14175         * po/ko.po: Update Korean translation from translation project.
14177 2013-08-01  David S. Miller  <davem@davemloft.net>
14179         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14180         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14181         Bilka.
14183 2013-07-30  David S. Miller  <davem@davemloft.net>
14185         * po/fr.po: Update French translation from translation project.
14187 2013-07-28  David S. Miller  <davem@davemloft.net>
14189         * po/cs.po: Update Czech translation from translation project.
14191         * po/sv.po: Update Swedish translation from translation project.
14193 2013-07-27  David S. Miller  <davem@davemloft.net>
14195         * po/eo.po: Update Esperanto translation from translation project.
14197         * po/vi.po: Update Vietnamese translation from translation project.
14199         * po/de.po: Update German translation from translation project.
14201 2013-07-26  David S. Miller  <davem@davemloft.net>
14203         * po/bg.po: Update Bulgarian translation from translation project.
14205         * po/nl.po: Update Dutch translation from translation project.
14206         * po/pl.po: Update Polish translation from translation project.
14207         * po/ru.po: Update Russian translation from translation project.
14209 2013-07-24  David S. Miller  <davem@davemloft.net>
14211         * po/libc.pot: Update.
14213 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14215         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14216         variable page size.
14217         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14218         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14219         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14221 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14223         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14225 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14226             Andreas Schwab  <schwab@suse.de>
14227             Roland McGrath  <roland@hack.frob.com>
14228             Joseph Myers  <joseph@codesourcery.com>
14229             Carlos O'Donell  <carlos@redhat.com>
14231         [BZ #15755]
14232         * config.h.in: Define HAVE_PT_CHOWN.
14233         * config.make.in (build-pt-chown): New variable.
14234         * configure.in (--enable-pt_chown): New configure option.
14235         * configure: Regenerate.
14236         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14237         build-pt-chown is enabled.
14238         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14239         pt_chown to fix pty ownership.
14240         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14241         CLOSE_ALL_FDS.
14242         * manual/install.texi (Configuring and compiling): Mention
14243         --enable-pt_chown. Add @findex for grantpt.
14244         * INSTALL: Regenerate.
14246 2013-07-20  David S. Miller  <davem@davemloft.net>
14248         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14249         difference between 32-bit and 64-bit.
14251 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14253         [BZ #15711]
14254         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14255         Avoid system header dependency with -ffreestanding.
14256         ($(objpfx)bits/syscall%d): Likewise.
14258 2013-07-13  David S. Miller  <davem@davemloft.net>
14260         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14261         underflows from atanl/atan2l due to bug 15319.
14262         (casinh_test_data): Likewise.
14264 2013-07-07  David S. Miller  <davem@davemloft.net>
14266         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14268 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14270         * sysdeps/i386/fpu/libm-test-ulps: Update.
14271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14273 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14275         * configure.in (--enable-lock-elision): Fix message text.
14276         * INSTALL: Regenerate.
14277         * configure: Regenerate.
14279 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14283 2013-07-03  Andreas Jaeger  <aj@suse.de>
14285         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14286         define.
14287         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14288         (ptrace_peeksiginfo_args): Add.
14289         (__ptrace_peeksiginfo_flags): Add.
14290         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14291         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14292         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14294 2013-07-03  Allan McRae  <allan@archlinux.org>
14296         * sysdeps/i386/fpu/libm-test-ulps: Update.
14298 2013-07-02  David S. Miller  <davem@davemloft.net>
14300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14302 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14306 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14308         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14311 2013-07-02  Andi Kleen <ak@linux.intel.com>
14313         * config.h.in (ENABLE_LOCK_ELISION): Add.
14314         * configure.in (--enable-lock-elision): Add option.
14315         * manual/install.texi: Document --enable lock elision.
14316         * configure: Regenerate
14317         * INSTALL: Regenerate.
14319 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14321         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14322         SSE4.2 strcasecmp for libc.a.
14323         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14325 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14327         [BZ #13304]
14328         * soft-fp/op-common.h (_FP_FMA): New macro.
14329         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14330         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14331         (_FP_MUL_MEAT_1_imm): ... here.
14332         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14333         (_FP_MUL_MEAT_1_wide): ... here.
14334         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14335         (_FP_MUL_MEAT_1_hard): ... here.
14336         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14337         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14338         (_FP_MUL_MEAT_2_wide): ... here.
14339         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14340         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14341         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14342         (_FP_MUL_MEAT_2_gmp): ... here.
14343         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14344         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14345         (_FP_MUL_MEAT_4_wide): ... here.
14346         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14347         (_FP_MUL_MEAT_4_gmp): ... here.
14348         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14349         (_FP_WFRACBITS_DW_S): Likewise.
14350         (_FP_WFRACXBITS_DW_S): Likewise.
14351         (_FP_HIGHBIT_DW_S): Likewise.
14352         (FP_FMA_S): Likewise.
14353         (_FP_FRAC_HIGH_DW_S): Likewise.
14354         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14355         (_FP_WFRACBITS_DW_D): Likewise.
14356         (_FP_WFRACXBITS_DW_D): Likewise.
14357         (_FP_HIGHBIT_DW_D): Likewise.
14358         (FP_FMA_D): Likewise.
14359         (_FP_FRAC_HIGH_DW_D): Likewise.
14360         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14361         (_FP_WFRACBITS_DW_E): Likewise.
14362         (_FP_WFRACXBITS_DW_E): Likewise.
14363         (_FP_HIGHBIT_DW_E): Likewise.
14364         (FP_FMA_E): Likewise.
14365         (_FP_FRAC_HIGH_DW_E): Likewise.
14366         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14367         (_FP_WFRACBITS_DW_Q): Likewise.
14368         (_FP_WFRACXBITS_DW_Q): Likewise.
14369         (_FP_HIGHBIT_DW_Q): Likewise.
14370         (FP_FMA_Q): Likewise.
14371         (_FP_FRAC_HIGH_DW_Q): Likewise.
14372         * soft-fp/fmasf4.c: New file.
14373         * soft-fp/fmadf4.c: Likewise.
14374         * soft-fp/fmatf4.c: Likewise.
14376 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14379         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14380         Silvermont.
14381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14382         macro.
14383         (index_Slow_SSE4_2): Likewise.
14384         (index_Prefer_PMINUB_for_stringop): Likewise.
14385         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14386         bit_Slow_SSE4_2 is set.
14387         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14388         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14390 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14392         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14393         rtld_global._dl_hwcap2.
14394         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14395         POWER8.
14396         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14397         POWER8 feature descriptions defined in _dl_hwcap2.
14398         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14399         string handling for POWER8 feature bits.
14400         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14401         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14402         _dl_powerpc_cap_flags.
14403         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14404         * sysdeps/powerpc/rtld-global-offsets.sym
14405         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14406         _dl_hwcap2 in the rtld_global_ro structure.
14408 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14410         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14411         hardware capabilities in support of AT_HWCAP2.
14412         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14413         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14414         GLRO(dl_hwcap2).
14415         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14416         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14417         explicitly the unknown a_type display mechanism is used.
14418         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14419         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14420         struct member.
14421         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14422         to macro prototype for AT_HWCAP2 support.
14423         * sysdeps/i386/dl-procinfo.h: Likewise.
14424         * sysdeps/s390/dl-procinfo.h: Likewise.
14425         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14426         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14427         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14428         return -1 for unknown a_type display fallback.
14429         * sysdeps/sparc/dl-procinfo.h: Likewise.
14430         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14431         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14433 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14435         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14436         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14438 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14440         [BZ #12492]
14441         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14442         mprotect making __stack_prot writable.
14444 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14445             Joseph Myers  <joseph@codesourcery.com>
14447         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14448         as being properly aligned.
14450 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14452         * dlfcn/modstatic5.c: New file.
14453         * dlfcn/tststatic5.c: New file.
14454         * dlfcn/Makefile (tests): Add tststatic5.
14455         (tests-static): Likewise.
14456         (modules-names): Add modstatic5.
14457         (tststatic5-ENV): New variable.
14458         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14460         [BZ #15022]
14461         * elf/dl-support.c (_dl_main_map): New variable.
14462         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14463         (_dl_nns, _dl_load_adds): Set to 1.
14464         (_dl_initial_searchlist): Refer to _dl_main_map.
14465         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14466         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14467         call to _dl_get_origin.
14468         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14469         around call_map.
14470         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14471         * dlfcn/modstatic3.c: New file.
14472         * dlfcn/tststatic3.c: New file.
14473         * dlfcn/tststatic4.c: New file.
14474         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14475         (tests-static): Likewise.
14476         (modules-names): Add modstatic3.
14477         (tststatic3-ENV, tststatic4-ENV): New variables.
14478         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14479         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14481 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14483         * configure.in (CC): Require GCC version 4.4 or later.
14484         * configure: Regenerated.
14485         * manual/install.texi (Tools for Compilation): Update GCC version
14486         requirement.
14487         * INSTALL: Regenerated.
14489 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14491         [BZ #15674]
14492         * string/test-memcmp.c (check2): New.
14493         (main): Call check2.
14495         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14497 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14499         [BZ #15022]
14500         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14501         over to...
14502         (dl_open_worker) [!SHARED]: ... here.
14504 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14506         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14508 2013-06-25  Richard Henderson  <rth@redhat.com>
14510         * locale/programs/locarchive.c: Include <libc-internal.h>
14512 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14514         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14515         trailing whitespace removed.
14517 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14519         [BZ #10283]
14520         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14521         * locale/programs/locarchive.c: Include libc-mmap.h.
14522         (prepare_address_space): Take two new outputs (the mmap base and len).
14523         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14524         values.
14525         (create_archive): Declare new mmap base and len values for
14526         prepare_address_space, and store the result in ah.
14527         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14528         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14529         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14530         Declare new mmap base and len values for
14531         prepare_address_space, and store the result in new_ah.
14532         (open_archive): Declare new mmap base and len values for
14533         prepare_address_space, and store the result in ah.
14534         (close_archive): If ah->mmap_base is not NULL, use that and
14535         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14536         * sysdeps/generic/libc-mmap.h: New file.
14538 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14540         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14541         (ALIGN_UP): Likewise.
14542         (PTR_ALIGN_DOWN): Likewise.
14543         (PTR_ALIGN_UP): Likewise.
14545 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14548         entry mapped to PPC_PLATFORM_POWER8.
14549         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14550         POWER8.
14551         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14552         (_dl_string_platform): Add case for exporting platform position for
14553         POWER8.
14554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14555         search path to sysdeps/powerpc/powerpc32/power8 directory.
14556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14557         search path to sysdeps/powerpc/powerpc64/power8 directory.
14558         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14559         power7 directories.
14560         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14561         power7 directories.
14563 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14565         * INSTALL: Regenerate.
14567         * nscd/connections.c (nscd_init): Fix comment.
14569 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14571         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14573         [BZ #15667]
14574         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14575         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14577 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14579         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14580         DL_DST_REQ_STATIC.
14581         (DL_DST_REQ_STATIC): Remove macro.
14583 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14585         [BZ #7006]
14586         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14587         with a shift of 0 bits.
14589 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14591         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14592         $(tststatic-ENV).
14594 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14596         [BZ #15655]
14597         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14599 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14601         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14602         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14603         accepts -fno-tree-loop-distribute-patterns.
14604         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14605         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14606         recursive call.
14607         * string/memset.c (memset): Likewise.
14608         * string/test-memmove.c (simple_memmove): Disable loop transformation
14609         to library calls.
14610         * string/test-memset.c (simple_memset): Likewise.
14611         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14612         * benchtests/bench-memset.c (simple_memset): Likewise.
14613         * configure: Regenerated.
14615 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14617         * math/test-misc.c (main): Ignore fesetround failure when failures
14618         of subsequent rounding tests would be ignored.
14620         [BZ #15654]
14621         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14622         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14623         * math/fegetenv.c (__fegetenv): Return 0.
14624         * math/fegetexcept.c (fegetexcept): Return 0.
14625         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14626         FE_TONEAREST.
14627         * math/feholdexcpt.c (feholdexcept): Return 0.
14628         * math/fesetenv.c (__fesetenv): Return 0.
14629         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14630         argument FE_TONEAREST.
14631         * math/feupdateenv.c (__feupdateenv): Return 0.
14632         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14634 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14636         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14637         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14638         ($(objpfx)rtld-%.os rules): Use them.
14640 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14642         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14643         fields.
14645 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14647         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14648         length of target pattern, then descending length of dependency pattern.
14649         * configure.in (AWK): Require gawk 3.1.2 or newer.
14650         * manual/install.texi (Tools for Compilation): Say that we do.
14651         * configure: Regenerated.
14653         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14654         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14655         * scripts/sysd-rules.awk: ... this new script.
14656         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14657         than a glob-style pattern.
14659 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14661         * math/test-misc.c (main): Do not treat incorrectly rounded
14662         conversions as failure unless ROUNDING_TESTS passes.
14664 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14666         [BZ #15631]
14667         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14668         restore exception state around main square root computation, then
14669         check for inexactness explicitly.
14671         * math/libm-test.inc (fma_test_data): Add another test.
14673 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14675         * manual/threads.texi (Non-POSIX Extensions): New document
14676         node.  Document pthread_getattr_default_np and
14677         pthread_setattr_default_np.
14679         * Versions.def (libpthread): Add GLIBC_2.18.
14680         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14682         Likewise.
14683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14684         Likewise.
14685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14686         Likewise.
14687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14688         Likewise.
14689         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14690         Likewise.
14691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14692         Likewise.
14693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14694         Likewise.
14695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14696         Likewise.
14697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14698         Likewise.
14700 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14703         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14705 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14706             H.J. Lu  <hjl.tools@gmail.com>
14708         [BZ #15627]
14709         * sysdeps/x86_64/rtld-memset.c: Remove file.
14710         * sysdeps/x86_64/rtld-memset.S: New file.
14712 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14714         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14715         (test_in_one_mode): Take arguments for whether the rounding mode
14716         is supported for each floating-point type.
14717         (do_test): Pass new arguments to test_in_one_mode using
14718         ROUNDING_TESTS.
14720 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14722         * posix/tst-waitid.c (do_test): Distinguish different instances of
14723         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14724         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14725         before entering the kernel for waitpid.
14727 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14729         * NEWS: Fix note on clock function precision.  Text by Roland
14730         McGrath.
14732 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14734         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14735         it into place only when and if the sanity check passes.
14737 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14739         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14740         output for whether conversion result is exact.  Take argument
14741         indicating whether type is IBM long double.
14742         (round_for_all): Change need_exact field to ibm_ld.
14743         * stdlib/tst-strtod-round.c (struct exactness): New type.
14744         (struct test): Change bool ld_ok field to struct exactness exact.
14745         (TEST): Update all definitions for change to field.
14746         (tests): Regenerate array contents.
14747         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14748         field value.  Check for IBM long double here.
14749         (do_test): Update calls to test_in_one_mode.
14751 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14753         [BZ #12515]
14754         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14755         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14757 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14759         [BZ #15605]
14760         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14761         generated by the compiler on loop optimizations.
14762         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14763         general definitions.
14765 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14767         * math/bug-nextafter.c: Include <math-tests.h>.
14768         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14769         the relevant type.
14770         * math/bug-nexttoward.c: Include <math-tests.h>.
14771         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14772         the relevant type.
14773         * math/test-misc.c: Include <math-tests.h>.
14774         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14775         the relevant type.
14777 2013-06-12  Andreas Jaeger  <aj@suse.de>
14779         * po/ia.po: Update Interlingua translation from translation
14780         project.
14782 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14784         * include/fenv.h: Include stdbool.h.
14785         (struct rm_ctx): New structure.
14786         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14787         Define macro.
14788         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14789         (SET_RESTORE_ROUNDF): Likewise.
14790         (SET_RESTORE_ROUNDL): Likewise.
14791         (SET_RESTORE_ROUND_NOEX): Likewise.
14792         (SET_RESTORE_ROUND_NOEXF): Likewise.
14793         (SET_RESTORE_ROUND_NOEXL): Likewise.
14794         (SET_RESTORE_ROUND_53BIT): Likewise.
14795         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14796         (libc_feresetround_noexf_ctx): Likewise.
14797         (libc_feresetround_noexl_ctx): Likewise.
14798         (libc_feholdsetround_53bit_ctx): Likewise.
14799         (libc_feresetround_53bit_ctx): Likewise.
14800         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14801         (libc_feholdexcept_setround_sse_ctx): New function.
14802         (libc_fesetenv_sse_ctx): Likewise.
14803         (libc_feupdateenv_sse_ctx): Likewise.
14804         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14805         (libc_feholdexcept_setround_387_ctx): Likewise.
14806         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14807         (libc_feholdsetround_387_prec_ctx): Likewise.
14808         (libc_feholdsetround_387_ctx): Likewise.
14809         (libc_feholdsetround_387_53bit_ctx): Likewise.
14810         (libc_feholdsetround_sse_ctx): Likewise.
14811         (libc_feresetround_sse_ctx): Likewise.
14812         (libc_feresetround_387_ctx): Likewise.
14813         (libc_feupdateenv_387_ctx): Likewise.
14814         (libc_feholdexcept_setroundf_ctx): Define macro.
14815         (libc_fesetenvf_ctx): Likewise.
14816         (libc_feupdateenvf_ctx): Likewise.
14817         (libc_feholdsetroundf_ctx): Likewise.
14818         (libc_feresetroundf_ctx): Likewise.
14819         (libc_feholdexcept_setround_ctx): Likewise.
14820         (libc_fesetenv_ctx): Likewise.
14821         (libc_feupdateenv_ctx): Likewise.
14822         (libc_feholdsetround_ctx): Likewise.
14823         (libc_feresetround_ctx): Likewise.
14824         (libc_feholdexcept_setroundl_ctx): Likewise.
14825         (libc_feupdateenvl_ctx): Likewise.
14826         (libc_feholdsetroundl_ctx): Likewise.
14827         (libc_feresetroundl_ctx): Likewise.
14828         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14829         (libc_feresetround_53bit_ctx): Likewise.
14831 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14833         * locale/iso-639.def: Convert to UTF-8.
14835 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14837         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14838         (EXCEPTION_TESTS_double): Likewise.
14839         (EXCEPTION_TESTS_long_double): Likewise.
14840         (EXCEPTION_TESTS): Likewise.
14841         * math/libm-test.inc (test_exceptions): Only test exceptions if
14842         EXCEPTION_TESTS (FLOAT).
14844 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14846         * benchtests/Makefile (string-bench): Add strcpy_chk and
14847         stpcpy_chk.
14848         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14849         * benchtests/bench-stpcpy_chk.c: New file.
14850         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14851         * benchtests/bench-strcpy_chk.c: New file.
14852         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14853         code.
14854         (do_test): Likewise.
14856 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14858         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14859         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14860         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14861         with tabs where appropriate.
14862         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14863         dl-procinfo.h.
14864         [PPC_PLATFORM_PPC440]: Likewise.
14865         [PPC_PLATFORM_PPC464]: Likewise.
14866         [PPC_PLATFORM_PPC476]: Likewise.
14867         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14868         ppc464, and ppc476 platform strings merging from ports/
14869         dl-procinfo.h.
14871 2013-06-11  Andreas Schwab  <schwab@suse.de>
14873         [BZ #14991]
14874         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14875         (from_ucs4_idx): Regenerate.
14876         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14877         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14878         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14879         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14880         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14881         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14882         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14883         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14884         from FROM_LOOP and TO_LOOP specific macros.
14885         (BODY): Handle combining characters.
14886         * iconvdata/BIG5HKSCS.irreversible: Update.
14887         * iconvdata/BIG5HKSCS.precomposed: New file.
14888         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14889         characters.
14890         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14892 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14894         * include/sys/time.h: Fix indentation and add copyright header.
14896         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14897         (do_test): Likewise.
14898         * string/test-memchr.c (do_one_test): Likewise.
14899         (do_test): Likewise.
14900         * string/test-memcmp.c (do_one_test): Likewise.
14901         (do_test): Likewise.
14902         * string/test-memcpy.c (do_one_test): Likewise.
14903         (do_test): Likewise.
14904         * string/test-memmem.c (do_one_test): Likewise.
14905         (do_test): Likewise.
14906         (do_random_tests): Likewise.
14907         * string/test-memmove.c (do_one_test): Likewise.
14908         (do_test): Likewise.
14909         * string/test-memset.c (do_one_test): Likewise.
14910         (do_test): Likewise.
14911         * string/test-rawmemchr.c (do_one_test): Likewise.
14912         (do_test): Likewise.
14913         * string/test-strcasecmp.c (do_one_test): Likewise.
14914         (do_test): Likewise.
14915         * string/test-strcasestr.c (do_one_test): Likewise.
14916         (do_test): Likewise.
14917         * string/test-strcat.c (do_one_test): Likewise.
14918         (do_test): Likewise.
14919         * string/test-strchr.c (do_one_test): Likewise.
14920         (do_test): Likewise.
14921         * string/test-strcmp.c (do_one_test): Likewise.
14922         (do_test): Likewise.
14923         * string/test-strcpy.c (do_one_test): Likewise.
14924         (do_test): Likewise.
14925         * string/test-string.h: Likewise.
14926         (test_init): Likewise.
14927         * string/test-strlen.c (do_one_test): Likewise.
14928         (do_test): Likewise.
14929         * string/test-strncasecmp.c (do_one_test): Likewise.
14930         (do_test): Likewise.
14931         * string/test-strncat.c (do_one_test): Likewise.
14932         (do_test): Likewise.
14933         * string/test-strncmp.c (do_one_test): Likewise.
14934         (do_test_limit): Likewise.
14935         (do_test): Likewise.
14936         * string/test-strncpy.c (do_one_test): Likewise.
14937         (do_test): Likewise.
14938         * string/test-strnlen.c (do_one_test): Likewise.
14939         (do_test): Likewise.
14940         * string/test-strpbrk.c (do_one_test): Likewise.
14941         (do_test): Likewise.
14942         * string/test-strrchr.c (do_one_test): Likewise.
14943         (do_test): Likewise.
14944         * string/test-strspn.c (do_one_test): Likewise.
14945         (do_test): Likewise.
14946         * string/test-strstr.c (do_one_test): Likewise.
14947         (do_test): Likewise.
14949         * benchtests/Makefile (string-bench): Add string benchmarks.
14950         * benchtests/bench-bcopy-ifunc.c: New file.
14951         * benchtests/bench-bcopy.c: New file.
14952         * benchtests/bench-bzero-ifunc.c: New file.
14953         * benchtests/bench-bzero.c: New file.
14954         * benchtests/bench-memccpy-ifunc.c: New file.
14955         * benchtests/bench-memccpy.c: New file.
14956         * benchtests/bench-memchr-ifunc.c: New file.
14957         * benchtests/bench-memchr.c: New file.
14958         * benchtests/bench-memcmp-ifunc.c: New file.
14959         * benchtests/bench-memcmp.c: New file.
14960         * benchtests/bench-memmem-ifunc.c: New file.
14961         * benchtests/bench-memmem.c: New file.
14962         * benchtests/bench-memmove-ifunc.c: New file.
14963         * benchtests/bench-memmove.c: New file.
14964         * benchtests/bench-mempcpy-ifunc.c: New file.
14965         * benchtests/bench-mempcpy.c: New file.
14966         * benchtests/bench-memset-ifunc.c: New file.
14967         * benchtests/bench-memset.c: New file.
14968         * benchtests/bench-rawmemchr-ifunc.c: New file.
14969         * benchtests/bench-rawmemchr.c: New file.
14970         * benchtests/bench-stpcpy-ifunc.c: New file.
14971         * benchtests/bench-stpcpy.c: New file.
14972         * benchtests/bench-stpncpy-ifunc.c: New file.
14973         * benchtests/bench-stpncpy.c: New file.
14974         * benchtests/bench-strcasecmp-ifunc.c: New file.
14975         * benchtests/bench-strcasecmp.c: New file.
14976         * benchtests/bench-strcasestr-ifunc.c: New file.
14977         * benchtests/bench-strcasestr.c: New file.
14978         * benchtests/bench-strcat-ifunc.c: New file.
14979         * benchtests/bench-strcat.c: New file.
14980         * benchtests/bench-strchr-ifunc.c: New file.
14981         * benchtests/bench-strchr.c: New file.
14982         * benchtests/bench-strchrnul-ifunc.c: New file.
14983         * benchtests/bench-strchrnul.c: New file.
14984         * benchtests/bench-strcmp-ifunc.c: New file.
14985         * benchtests/bench-strcmp.c: New file.
14986         * benchtests/bench-strcpy-ifunc.c: New file.
14987         * benchtests/bench-strcpy.c: New file.
14988         * benchtests/bench-strcspn-ifunc.c: New file.
14989         * benchtests/bench-strcspn.c: New file.
14990         * benchtests/bench-strlen-ifunc.c: New file.
14991         * benchtests/bench-strlen.c: New file.
14992         * benchtests/bench-strncasecmp-ifunc.c: New file.
14993         * benchtests/bench-strncasecmp.c: New file.
14994         * benchtests/bench-strncat-ifunc.c: New file.
14995         * benchtests/bench-strncat.c: New file.
14996         * benchtests/bench-strncmp-ifunc.c: New file.
14997         * benchtests/bench-strncmp.c: New file.
14998         * benchtests/bench-strncpy-ifunc.c: New file.
14999         * benchtests/bench-strncpy.c: New file.
15000         * benchtests/bench-strnlen-ifunc.c: New file.
15001         * benchtests/bench-strnlen.c: New file.
15002         * benchtests/bench-strpbrk-ifunc.c: New file.
15003         * benchtests/bench-strpbrk.c: New file.
15004         * benchtests/bench-strrchr-ifunc.c: New file.
15005         * benchtests/bench-strrchr.c: New file.
15006         * benchtests/bench-strspn-ifunc.c: New file.
15007         * benchtests/bench-strspn.c: New file.
15008         * benchtests/bench-strstr-ifunc.c: New file.
15009         * benchtests/bench-strstr.c: New file.
15011         * benchtests/Makefile: Disable parallel execution of targets.
15012         (string-bench): Add memcpy.
15013         (benchset): New variable to store a list of benchmark sets.
15014         (bench-func): Renamed from bench.
15015         (bench-set): New target.
15016         (bench): Depend on bench-func and bench-set.
15017         * benchtests/README: Add section on benchmark sets.
15018         * benchtests/bench-memcpy-ifunc.c: New file.
15019         * benchtests/bench-memcpy.c: New file.
15020         * benchtests/bench-string.h: New file.
15022 2013-06-11  Andreas Schwab  <schwab@suse.de>
15024         [BZ #15577]
15025         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15026         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15027         values in the triple.
15028         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15029         terminator in the group key.
15031 2013-06-11  Andreas Jaeger  <aj@suse.de>
15033         * po/zh_TW.po: Update Chinese (traditional) translation from
15034         translation project.
15036 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15038         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15039         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15040         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15042         (clock_getcpuclockid): Likewise.
15043         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15044         Add weak_alias and libc_hidden_def.
15045         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15046         * rt/clock_gettime.c (clock_gettime): Rename to
15047         __clock_gettime.  Add weak_alias and libc_hidden_def.
15048         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15049         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15050         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15051         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15052         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15053         Likewise.
15054         * rt/clock_settime.c (clock_settime): Rename to
15055         __clock_settime.  Add weak_alias and libc_hidden_def.
15056         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15058 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15060         * mach/err_boot.sub: Remove trailing whitespace.
15061         * mach/err_ipc.sub: Likewise.
15062         * mach/err_mach.sub: Likewise.
15064         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15065         (ROUNDING_TESTS_double): Likewise.
15066         (ROUNDING_TESTS_long_double): Likewise.
15067         (ROUNDING_TESTS): Likewise.
15068         * math/libm-test.inc: Include <math-tests.h>.
15069         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15070         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15071         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15072         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15074 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15076         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15077         of assigning.
15079 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15081         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15082         otherwise empty TRANS lines.
15083         * sysdeps/gnu/errlist.c: Regenerated.
15085         * catgets/gencat.c (error_print): Use (void) in function
15086         definition.
15087         * crypt/crypt_util.c (__init_des): Likewise.
15088         * crypt/speeds.c (Stop): Likewise.
15089         (main): Likewise.
15090         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15091         * inet/ruserpass.c (token): Likewise.
15092         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15093         * intl/localealias.c (extend_alias_table): Likewise.
15094         * intl/plural-exp.c (init_germanic_plural): Likewise.
15095         * libio/fcloseall.c (__fcloseall): Likewise.
15096         * libio/genops.c (_IO_flush_all): Likewise.
15097         (_IO_flush_all_linebuffered): Likewise.
15098         (_IO_cleanup): Likewise.
15099         (_IO_iter_begin): Likewise.
15100         (_IO_iter_end): Likewise.
15101         (_IO_list_lock): Likewise.
15102         (_IO_list_unlock): Likewise.
15103         (_IO_list_resetlock): Likewise.
15104         * libio/getchar.c (getchar): Likewise.
15105         * libio/getchar_u.c (getchar_unlocked): Likewise.
15106         * libio/getwchar.c (getwchar): Likewise.
15107         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15108         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15109         * login/getpt.c (__getpt): Likewise.
15110         * login/tst-utmp.c (main): Likewise.
15111         * malloc/hooks.c (__malloc_check_init): Likewise.
15112         * malloc/malloc.c (__malloc_stats): Likewise.
15113         * malloc/mtrace.c (tr_break): Likewise.
15114         (mtrace): Likewise.
15115         (muntrace): Likewise.
15116         * misc/fstab.c (endfsent): Likewise.
15117         * misc/getclktck.c (__getclktck): Likewise.
15118         * misc/getdtsz.c (__getdtablesize): Likewise.
15119         * misc/gethostid.c (gethostid): Likewise.
15120         * misc/getpagesize.c (__getpagesize): Likewise.
15121         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15122         (__get_nprocs): Likewise.
15123         (__get_phys_pages): Likewise.
15124         (__get_avphys_pages): Likewise.
15125         * misc/getttyent.c (getttyent): Likewise.
15126         (setttyent): Likewise.
15127         (endttyent): Likewise.
15128         * misc/getusershell.c (getusershell): Likewise.
15129         (endusershell): Likewise.
15130         (setusershell): Likewise.
15131         (initshells): Likewise.
15132         * misc/hsearch.c (__hdestroy): Likewise.
15133         * misc/sync.c (sync): Likewise.
15134         * misc/syslog.c (closelog_internal): Likewise.
15135         (closelog): Likewise.
15136         * misc/ttyslot.c (ttyslot): Likewise.
15137         * misc/vhangup.c (vhangup): Likewise.
15138         * posix/fork.c (__fork): Likewise.
15139         * posix/getegid.c (__getegid): Likewise.
15140         * posix/geteuid.c (__geteuid): Likewise.
15141         * posix/getgid.c (__getgid): Likewise.
15142         * posix/getpid.c (__getpid): Likewise.
15143         * posix/getppid.c (__getppid): Likewise.
15144         * posix/getuid.c (__getuid): Likewise.
15145         * posix/pause.c (pause): Likewise.
15146         * posix/setpgrp.c (setpgrp): Likewise.
15147         * posix/setsid.c (__setsid): Likewise.
15148         * posix/test-vfork.c (noop): Likewise.
15149         * resolv/gethnamaddr.c (_endhtent): Likewise.
15150         (_gethtent): Likewise.
15151         (ht_endhostent): Likewise.
15152         (gethostent): Likewise.
15153         (dns_service): Likewise.
15154         * stdlib/drand48.c (drand48): Likewise.
15155         * stdlib/lrand48.c (lrand48): Likewise.
15156         * stdlib/mrand48.c (mrand48): Likewise.
15157         * stdlib/rand.c (rand): Likewise.
15158         * stdlib/random.c (__random): Likewise.
15159         * stdlib/setenv.c (clearenv): Likewise.
15160         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15161         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15162         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15163         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15164         (__get_nprocs): Likewise.
15165         (__get_phys_pages): Likewise.
15166         (__get_avphys_pages): Likewise.
15167         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15168         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15169         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15170         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15171         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15172         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15173         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15174         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15175         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15176         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15177         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15178         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15179         * sysdeps/posix/clock.c (clock): Likewise.
15180         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15181         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15182         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15183         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15184         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15185         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15186         (__get_nprocs_conf): Likewise.
15187         (__get_phys_pages): Likewise.
15188         (__get_avphys_pages): Likewise.
15189         * time/clock.c (clock): Likewise.
15190         * time/tzset.c (__tzname_max): Likewise.
15192 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15194         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15195         (__bswap_32): Do not use "register".
15196         * crypt/crypt.c (_ufc_doit_r): Likewise.
15197         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15198         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15199         * gmon/gmon.c (__monstartup): Likewise.
15200         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15201         * hurd/hurdmalloc.c (more_memory): Likewise.
15202         (malloc): Likewise.
15203         (free): Likewise.
15204         (realloc): Likewise.
15205         (malloc_fork_prepare): Likewise.
15206         (malloc_fork_parent): Likewise.
15207         (malloc_fork_child): Likewise.
15208         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15209         (_svcauth_des): Likewise.
15210         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15211         * inet/inet_net.c (inet_network): Likewise.
15212         * inet/inet_netof.c (inet_netof): Likewise.
15213         * inet/rcmd.c (__validuser2_sa): Likewise.
15214         * io/fts.c (fts_open): Likewise.
15215         (fts_load): Likewise.
15216         (fts_close): Likewise.
15217         (fts_read): Likewise.
15218         (fts_children): Likewise.
15219         (fts_build): Likewise.
15220         (fts_stat): Likewise.
15221         (fts_sort): Likewise.
15222         (fts_alloc): Likewise.
15223         (fts_lfree): Likewise.
15224         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15225         (_IO_file_xsgetn): Likewise.
15226         (_IO_file_xsgetn_mmap): Likewise.
15227         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15228         (_IO_cookie_write): Likewise.
15229         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15230         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15231         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15232         * malloc/obstack.c (_obstack_begin): Likewise.
15233         (_obstack_begin_1): Likewise.
15234         (_obstack_newchunk): Likewise.
15235         (_obstack_allocated_p): Likewise.
15236         (obstack_free): Likewise.
15237         (_obstack_memory_used): Likewise.
15238         * misc/getttyent.c (getttynam): Likewise.
15239         (getttyent): Likewise.
15240         (skip): Likewise.
15241         (value): Likewise.
15242         * misc/getusershell.c (initshells): Likewise.
15243         * misc/syslog.c (__vsyslog_chk): Likewise.
15244         * misc/ttyslot.c (ttyslot): Likewise.
15245         * nis/nis_hash.c (__nis_hash): Likewise.
15246         * posix/fnmatch_loop.c (FCT): Likewise.
15247         * posix/getconf.c (print_all): Likewise.
15248         (main): Likewise.
15249         * posix/getopt.c (exchange): Likewise.
15250         * posix/glob.c (globfree): Likewise.
15251         (prefix_array): Likewise.
15252         (__glob_pattern_type): Likewise.
15253         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15254         (NS_GET32): Likewise.
15255         (NS_PUT16): Likewise.
15256         (NS_PUT32): Likewise.
15257         * resolv/gethnamaddr.c (getanswer): Likewise.
15258         (gethostbyname2): Likewise.
15259         (gethostbyaddr): Likewise.
15260         (_gethtent): Likewise.
15261         (_gethtbyname2): Likewise.
15262         (_gethtbyaddr): Likewise.
15263         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15264         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15265         * resolv/res_init.c (__res_vinit): Likewise.
15266         (net_mask): Likewise.
15267         * resolv/res_mkquery.c (outchar): Likewise.
15268         (PRINT): Likewise.
15269         * stdio-common/printf_fp.c (outchar): Likewise.
15270         (PRINT): Likewise.
15271         * stdio-common/printf_fphex.c (outchar): Likewise.
15272         (PRINT): Likewise.
15273         * stdio-common/printf_size.c (outchar): Likewise.
15274         (PRINT): Likewise.
15275         * stdio-common/test_rdwr.c (main): Likewise.
15276         * stdio-common/tfformat.c (matches): Likewise.
15277         * stdio-common/vfprintf.c (outchar): Likewise.
15278         (printf_unknown): Likewise.
15279         (buffered_vfprintf): Likewise.
15280         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15281         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15282         (ReadFile): Likewise.
15283         * stdlib/qsort.c (SWAP): Likewise.
15284         (_quicksort): Likewise.
15285         * stdlib/setenv.c (__add_to_environ): Likewise.
15286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15287         * stdlib/strtol_l.c (__strtol_l): Likewise.
15288         * stdlib/tst-strtod.c (main): Likewise.
15289         * stdlib/tst-strtol.c (main): Likewise.
15290         * stdlib/tst-strtoll.c (main): Likewise.
15291         * string/bits/string2.h (__strcmp_cc): Likewise.
15292         (__strcmp_cg): Likewise.
15293         (__strcspn_c1): Likewise.
15294         (__strcspn_c2): Likewise.
15295         (__strcspn_c3): Likewise.
15296         (__strspn_c1): Likewise.
15297         (__strspn_c2): Likewise.
15298         (__strspn_c3): Likewise.
15299         (__strsep_1c): Likewise.
15300         (__strsep_2c): Likewise.
15301         (__strsep_3c): Likewise.
15302         * string/memccpy.c (__memccpy): Likewise.
15303         * string/stpcpy.c (__stpcpy): Likewise.
15304         * string/strcmp.c (strcmp): Likewise.
15305         * string/strrchr.c (strrchr): Likewise.
15306         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15307         Likewise.
15308         * sysdeps/mach/hurd/getcwd.c
15309         (_hurd_canonicalize_directory_name_internal): Likewise.
15310         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15311         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15312         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15313         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15314         Likewise, in both definitions.
15315         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15316         definitions.
15317         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15318         64] (__bswap_64): Likewise.
15319         * time/test_time.c (main): Likewise.
15320         * time/tzfile.c (__tzfile_read): Likewise.
15321         (__tzfile_compute): Likewise.
15322         * time/tzset.c (__tzset_parse_tz): Likewise.
15323         (tzset_internal): Likewise.
15324         (compute_change): Likewise.
15325         * wcsmbs/wcscat.c (__wcscat): Likewise.
15326         * wcsmbs/wcschr.c (wcschr): Likewise.
15327         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15328         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15329         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15330         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15331         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15332         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15333         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15334         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15335         * wcsmbs/wmemset.c (wmemset): Likewise.
15337 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15339         * scripts/config.guess: Update to version 2013-05-16.
15340         * scripts/config.sub: Update to version 2013-04-24.
15341         * scripts/install-sh: Update to version 2011-11-20.07.
15342         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15343         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15345 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15347         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15348         * elf/sln.c: Likewise.
15349         * hurd/hurd/ioctl.h: Likewise.
15350         * hurd/hurdmalloc.c: Likewise.
15351         * hurd/xattr.c: Likewise.
15352         * include/shlib-compat.h: Likewise.
15353         * inet/ruserpass.c: Likewise.
15354         * libio/iofgets_u.c: Likewise.
15355         * libio/iofgetws_u.c: Likewise.
15356         * locale/programs/ld-identification.c: Likewise.
15357         * locale/programs/ld-time.c: Likewise.
15358         * mach/msg-destroy.c: Likewise.
15359         * nss/nss_files/files-netgrp.c: Likewise.
15360         * resolv/res_data.c: Likewise.
15361         * soft-fp/op-1.h: Likewise.
15362         * soft-fp/op-2.h: Likewise.
15363         * soft-fp/op-4.h: Likewise.
15364         * soft-fp/op-common.h: Likewise.
15365         * stdio-common/printf_fphex.c: Likewise.
15366         * stdlib/strtod_l.c: Likewise.
15367         * sunrpc/rpc/clnt.h: Likewise.
15368         * sysdeps/generic/framestate.c: Likewise.
15369         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15370         * sysdeps/i386/bsd-setjmp.S: Likewise.
15371         * sysdeps/i386/__longjmp.S: Likewise.
15372         * sysdeps/i386/setjmp.S: Likewise.
15373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15374         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15375         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15376         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15378         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15379         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15380         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15382         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15383         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15384         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15385         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15386         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15387         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15388         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15389         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15390         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15391         * sysdeps/ieee754/support.c: Likewise.
15392         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15393         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15394         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15395         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15396         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15397         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15398         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15399         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15400         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15401         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15402         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15403         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15404         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15405         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15406         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15407         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15408         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15411 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15413         * posix/transbug.c: Remove executable mode.
15415 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15417         * crypt/speeds.c: Remove trailing whitespace.
15418         * dlfcn/default.c: Likewise.
15419         * elf/ifuncdep2.c: Likewise.
15420         * elf/ifuncmain1.c: Likewise.
15421         * elf/ifuncmain1vis.c: Likewise.
15422         * elf/testobj.h: Likewise.
15423         * elf/tst-stackguard1.c: Likewise.
15424         * gmon/sys/gmon.h: Likewise.
15425         * hurd/hurdmsg.c: Likewise.
15426         * hurd/new-fd.c: Likewise.
15427         * hurd/ports-get.c: Likewise.
15428         * iconvdata/ibm1008_420.c: Likewise.
15429         * inet/tst-getni1.c: Likewise.
15430         * inet/tst-getni2.c: Likewise.
15431         * libio/ioungetc.c: Likewise.
15432         * libio/wfiledoalloc.c: Likewise.
15433         * manual/libm-err-tab.pl: Likewise.
15434         * math/w_dremf.c: Likewise.
15435         * misc/ftruncate.c: Likewise.
15436         * posix/bug-glob2.c: Likewise.
15437         * posix/tst-pcre.c: Likewise.
15438         * posix/wait4.c: Likewise.
15439         * resolv/README: Likewise.
15440         * resolv/res_debug.h: Likewise.
15441         * resolv/tst-inet_ntop.c: Likewise.
15442         * setjmp/bug269-setjmp.c: Likewise.
15443         * soft-fp/extended.h: Likewise.
15444         * soft-fp/op-1.h: Likewise.
15445         * soft-fp/op-2.h: Likewise.
15446         * soft-fp/op-4.h: Likewise.
15447         * soft-fp/op-8.h: Likewise.
15448         * soft-fp/testit.c: Likewise.
15449         * stdio-common/bug16.c: Likewise.
15450         * stdlib/random.c: Likewise.
15451         * sunrpc/rpcsvc/rquota.x: Likewise.
15452         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15453         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15454         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15455         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15456         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15457         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15458         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15459         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15460         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15461         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15462         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15463         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15464         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15465         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15467         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15468         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15469         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15470         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15471         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15472         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15473         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15474         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15475         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15476         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15477         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15479         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15480         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15481         * sysdeps/ieee754/s_lib_version.c: Likewise.
15482         * sysdeps/mach/hurd/check_fds.c: Likewise.
15483         * sysdeps/mach/hurd/getsockname.c: Likewise.
15484         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15485         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15486         * sysdeps/powerpc/bits/link.h: Likewise.
15487         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15488         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15489         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15490         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15491         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15492         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15493         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15494         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15495         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15496         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15497         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15498         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15499         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15500         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15501         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15502         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15503         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15504         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15505         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15506         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15507         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15508         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15509         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15510         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15511         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15512         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15513         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15514         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15515         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15516         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15517         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15518         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15519         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15520         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15521         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15522         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15523         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15524         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15525         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15526         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15527         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15528         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15529         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15530         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15531         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15532         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15533         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15534         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15535         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15536         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15537         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15539         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15540         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15541         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15542         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15543         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15544         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15545         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15546         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15547         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15548         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15549         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15550         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15551         * sysdeps/powerpc/sysdep.h: Likewise.
15552         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15553         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15554         * sysdeps/sh/dl-trampoline.S: Likewise.
15555         * sysdeps/sh/memset.S: Likewise.
15556         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15557         * sysdeps/sh/strlen.S: Likewise.
15558         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15559         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15560         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15561         * sysdeps/sparc/sparc32/rem.S: Likewise.
15562         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15563         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15564         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15565         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15566         * sysdeps/sparc/sparc32/urem.S: Likewise.
15567         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15568         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15569         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15570         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15571         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15572         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15573         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15574         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15575         * sysdeps/unix/bsd/times.c: Likewise.
15576         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15577         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15581         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15582         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15583         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15585         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15586         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15587         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15588         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15589         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15590         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15591         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15592         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15593         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15594         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15595         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15596         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15597         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15598         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15599         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15600         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15601         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15602         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15603         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15604         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15605         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15606         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15607         * sysdeps/x86_64/strcspn.S: Likewise.
15609 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15611         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15612         generated file.  Regenerate properly from gen-translit.pl.
15613         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15614         locale/C-translit.h.
15616 2013-06-05  Andreas Schwab  <schwab@suse.de>
15618         [BZ #15100]
15619         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15620         week as 6 instead of -1.
15621         * time/tst-strptime.c (day_tests): Add test case.
15623 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15625         * sysdeps/generic/math_private.h
15626         (libc_feholdexcept_setround_53bit): Replace with
15627         libc_feholdsetround_53bit.
15628         (libc_feupdateenv_53bit): Replace with
15629         libc_feresetround_53bit.
15630         (SET_RESTORE_ROUND_53BIT): Adjust.
15632 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15634         * string/test-strchrnul.c: Add copyright header.
15636         * posix/tst-getaddrinfo4.c: Increase test timeout.
15638 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15640         [BZ #15536]
15641         * math/libm-test.inc (MAX_EXP): Remove
15642         (MIN_EXP): Define.
15643         (ulp): Use MIN_EXP - MANT_DIG.
15644         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15646 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15648         * po/be.po: Revert last change.
15649         * po/zh_CN.po: Likewise.
15650         * po/header.pot: Likewise.
15652 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15654         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15655         link-libc-deps to empty as target-specific variable.
15656         * Makerules (link-libc-args): New variable.
15657         (libc-for-link): Likewise.
15658         (link-libc-deps): Likewise.
15659         (lib%.so): Depend on $(link-libc-deps).  Link with
15660         $(link-libc-args).
15661         (build-module): Link with $(link-libc-args).
15662         (build-module-asneeded): Likewise.
15663         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15664         list of objects.
15665         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15666         target-specific variable.
15667         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15668         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15669         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15670         libc.
15671         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15672         libc and ld.so.
15673         ($(objpfx)libpcprofile.so): Likewise.
15674         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15675         libc_nonshared.a.
15676         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15677         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15678         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15679         $(link-libc-deps).
15680         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15681         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15682         * login/Makefile ($(objpfx)libutil.so): Likewise.
15683         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15684         * math/Makefile ($(objpfx)libm.so): Likewise.
15685         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15686         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15687         variable instead of depending directly on libc.
15688         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15689         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15690         $(link-libc-deps).
15691         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15692         libc.
15693         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15694         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15695         ($(objpfx)libanl.so): Likewise.
15696         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15697         ld.so.
15698         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15699         $(link-libc-deps).
15700         * sysdeps/i386/fpu/Makefile: Remove file.
15701         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15702         ($(objpfx)libm.so): Remove dependency on ld.so.
15704 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15706         [BZ # 15553]
15707         * nis/yp_xdr.c (XDRMAXNAME): Define.
15708         (XDRMAXRECORD): Define.
15709         (xdr_domainname): Use XDRMAXNAME.
15710         (xdr_mapname): Likewise.
15711         (xdr_peername): Likewise.
15712         (xdr_keydat): Use XDRMAXRECORD.
15713         (xdr_valdat): Likewise.
15715 2013-05-30  Jeff Law  <law@redhat.com>
15717         [BZ #14256]
15718         * manual/errno.texi (ESTALE): Update to account for more than
15719         just NFS file systems.
15720         * sysdeps/gnu/errlist.c: Regenerated.
15722 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15724         [BZ #15465]
15725         * elf/Makefile (tests): Add tst-null-argv.
15726         (modules-names):  Add tst-null-argv-lib.
15727         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15728         (tst-null-argv-ENV): Set environment for tst-null-argv.
15729         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15730         (RTLD_PROGNAME): New macro.
15731         * elf/tst-null-argv.c: New test case.
15732         * elf/tst-null-argv-lib.c: Library for test case.
15733         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15734         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15735         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15736         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15737         * elf/dl-init.c (call_init): Likewise.
15738         (_dl_init): Likewise.
15739         * elf/dl-load.c (print_search_path): Likewise.
15740         (_dl_map_object): Likewise.
15741         * elf/dl-lookup.c (do_lookup_x): Likewise.
15742         (add_dependency): Likewise.
15743         (_dl_lookup_symbol_x): Likewise.
15744         (_dl_debug_bindings): Likewise.
15745         * elf/dl-open.c (_dl_show_scope): Likewise.
15746         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15747         * elf/dl-version.c (match_symbol): Likewise.
15748         (_dl_check_map_versions): Likewise.
15749         * elf/rtld.c (dl_main): Likewise.
15750         (print_unresolved): Use RTLD_PROGNAME.
15751         (print_missing_version): Likewise.
15752         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15753         (elf_machine_rela): Likewise.
15754         * sysdeps/powerpc/powerpc32/dl-machine.c
15755         (__process_machine_rela): Likewise.
15756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15757         Likewise.
15758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15759         Likewise.
15760         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15761         Likewise.
15762         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15764         Likewise.
15765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15766         Likewise.
15767         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15769 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15771         * po/be.po: Add descriptive title.
15772         * po/zh_CN.po: Likewise.
15773         * po/header.pot: Likewise.
15775 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15777         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15778         error message.
15779         (enlarge_archive): Likewise.
15781 2013-05-28  Ben North  <ben@redfrontdoor.org>
15783         * manual/arith.texi (frexp): It is the magnitude of the return
15784         value which lies in [0.5, 1), not the return value itself.
15786 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15790 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15792         * stdio-common/bug26.c (main): Correct fscanf template.
15794         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15795         declare _dl_skip_args.
15797         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15798         Don't declare.
15800         * manual/platform.texi: Add missing @end deftypefun.
15802 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15804         [BZ #15529]
15805         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15806         bit of mantissa of 2^16382.
15807         * math/libm-test.inc (hypot_test_data): Add more tests.
15809         * math/libm-test.inc: Add drem and pow10 to list of tested
15810         functions.
15811         (pow10_test): New function.
15812         (drem_test): Likewise.
15813         (drem_test_tonearest): Likewise.
15814         (drem_test_towardzero): Likewise.
15815         (drem_test_downward): Likewise.
15816         (drem_test_upward): Likewise.
15817         (main): Call the new functions.
15819         * math/libm-test.inc (finite_test_data): Remove.
15820         (finite_test): Run tests from isfinite_test_data.
15821         (gamma_test_data): Remove.
15822         (gamma_test): Run tests from lgamma_test_data.
15823         * sysdeps/i386/fpu/libm-test-ulps: Update.
15824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15826 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15828         * manual/platform.texi: Add PowerPC PPR function set documentation.
15829         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15830         implementation.
15832 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15834         * math/libm-test.inc (MAX_EXP): Define.
15835         (ULPDIFF): Define.
15836         (ulp): New function.
15837         (check_float_internal): Use ULPDIFF.
15838         (cpow_test): Disable failing test.
15839         (check_ulp): Test ulp() implemetnation.
15840         (main): Call check_ulp before starting tests.
15842 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15844         * math/gen-libm-test.pl (generate_testfile): Do not handle
15845         START_DATA and END_DATA.
15846         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15847         END_DATA.
15848         (acos_tonearest_test_data): Likewise.
15849         (acos_towardzero_test_data): Likewise.
15850         (acos_downward_test_data): Likewise.
15851         (acos_upward_test_data): Likewise.
15852         (acosh_test_data): Likewise.
15853         (asin_test_data): Likewise.
15854         (asin_tonearest_test_data): Likewise.
15855         (asin_towardzero_test_data): Likewise.
15856         (asin_downward_test_data): Likewise.
15857         (asin_upward_test_data): Likewise.
15858         (asinh_test_data): Likewise.
15859         (atan_test_data): Likewise.
15860         (atanh_test_data): Likewise.
15861         (atan2_test_data): Likewise.
15862         (cabs_test_data): Likewise.
15863         (cacos_test_data): Likewise.
15864         (cacosh_test_data): Likewise.
15865         (carg_test_data): Likewise.
15866         (casin_test_data): Likewise.
15867         (casinh_test_data): Likewise.
15868         (catan_test_data): Likewise.
15869         (catanh_test_data): Likewise.
15870         (cbrt_test_data): Likewise.
15871         (ccos_test_data): Likewise.
15872         (ccosh_test_data): Likewise.
15873         (ceil_test_data): Likewise.
15874         (cexp_test_data): Likewise.
15875         (cimag_test_data): Likewise.
15876         (clog_test_data): Likewise.
15877         (clog10_test_data): Likewise.
15878         (conj_test_data): Likewise.
15879         (copysign_test_data): Likewise.
15880         (cos_test_data): Likewise.
15881         (cos_tonearest_test_data): Likewise.
15882         (cos_towardzero_test_data): Likewise.
15883         (cos_downward_test_data): Likewise.
15884         (cos_upward_test_data): Likewise.
15885         (cosh_test_data): Likewise.
15886         (cosh_tonearest_test_data): Likewise.
15887         (cosh_towardzero_test_data): Likewise.
15888         (cosh_downward_test_data): Likewise.
15889         (cosh_upward_test_data): Likewise.
15890         (cpow_test_data): Likewise.
15891         (cproj_test_data): Likewise.
15892         (creal_test_data): Likewise.
15893         (csin_test_data): Likewise.
15894         (csinh_test_data): Likewise.
15895         (csqrt_test_data): Likewise.
15896         (ctan_test_data): Likewise.
15897         (ctan_tonearest_test_data): Likewise.
15898         (ctan_towardzero_test_data): Likewise.
15899         (ctan_downward_test_data): Likewise.
15900         (ctan_upward_test_data): Likewise.
15901         (ctanh_test_data): Likewise.
15902         (ctanh_tonearest_test_data): Likewise.
15903         (ctanh_towardzero_test_data): Likewise.
15904         (ctanh_downward_test_data): Likewise.
15905         (ctanh_upward_test_data): Likewise.
15906         (erf_test_data): Likewise.
15907         (erfc_test_data): Likewise.
15908         (exp_test_data): Likewise.
15909         (exp_tonearest_test_data): Likewise.
15910         (exp_towardzero_test_data): Likewise.
15911         (exp_downward_test_data): Likewise.
15912         (exp_upward_test_data): Likewise.
15913         (exp10_test_data): Likewise.
15914         (exp2_test_data): Likewise.
15915         (expm1_test_data): Likewise.
15916         (fabs_test_data): Likewise.
15917         (fdim_test_data): Likewise.
15918         (finite_test_data): Likewise.
15919         (floor_test_data): Likewise.
15920         (fma_test_data): Likewise.
15921         (fma_towardzero_test_data): Likewise.
15922         (fma_downward_test_data): Likewise.
15923         (fma_upward_test_data): Likewise.
15924         (fmax_test_data): Likewise.
15925         (fmin_test_data): Likewise.
15926         (fmod_test_data): Likewise.
15927         (fpclassify_test_data): Likewise.
15928         (frexp_test_data): Likewise.
15929         (gamma_test_data): Likewise.
15930         (hypot_test_data): Likewise.
15931         (ilogb_test_data): Likewise.
15932         (isfinite_test_data): Likewise.
15933         (isgreater_test_data): Likewise.
15934         (isgreaterequal_test_data): Likewise.
15935         (isinf_test_data): Likewise.
15936         (isless_test_data): Likewise.
15937         (islessequal_test_data): Likewise.
15938         (islessgreater_test_data): Likewise.
15939         (isnan_test_data): Likewise.
15940         (isnormal_test_data): Likewise.
15941         (issignaling_test_data): Likewise.
15942         (isunordered_test_data): Likewise.
15943         (j0_test_data): Likewise.
15944         (j1_test_data): Likewise.
15945         (jn_test_data): Likewise.
15946         (ldexp_test_data): Likewise.
15947         (lgamma_test_data): Likewise.
15948         (lrint_test_data): Likewise.
15949         (lrint_tonearest_test_data): Likewise.
15950         (lrint_towardzero_test_data): Likewise.
15951         (lrint_downward_test_data): Likewise.
15952         (lrint_upward_test_data): Likewise.
15953         (llrint_test_data): Likewise.
15954         (llrint_tonearest_test_data): Likewise.
15955         (llrint_towardzero_test_data): Likewise.
15956         (llrint_downward_test_data): Likewise.
15957         (llrint_upward_test_data): Likewise.
15958         (log_test_data): Likewise.
15959         (log10_test_data): Likewise.
15960         (log1p_test_data): Likewise.
15961         (log2_test_data): Likewise.
15962         (logb_test_data): Likewise.
15963         (logb_downward_test_data): Likewise.
15964         (lround_test_data): Likewise.
15965         (llround_test_data): Likewise.
15966         (modf_test_data): Likewise.
15967         (nearbyint_test_data): Likewise.
15968         (nextafter_test_data): Likewise.
15969         (nexttoward_test_data): Likewise.
15970         (pow_test_data): Likewise.
15971         (pow_tonearest_test_data): Likewise.
15972         (pow_towardzero_test_data): Likewise.
15973         (pow_downward_test_data): Likewise.
15974         (pow_upward_test_data): Likewise.
15975         (remainder_test_data): Likewise.
15976         (remainder_tonearest_test_data): Likewise.
15977         (remainder_towardzero_test_data): Likewise.
15978         (remainder_downward_test_data): Likewise.
15979         (remainder_upward_test_data): Likewise.
15980         (remquo_test_data): Likewise.
15981         (rint_test_data): Likewise.
15982         (rint_tonearest_test_data): Likewise.
15983         (rint_towardzero_test_data): Likewise.
15984         (rint_downward_test_data): Likewise.
15985         (rint_upward_test_data): Likewise.
15986         (round_test_data): Likewise.
15987         (scalb_test_data): Likewise.
15988         (scalbn_test_data): Likewise.
15989         (scalbln_test_data): Likewise.
15990         (signbit_test_data): Likewise.
15991         (sin_test_data): Likewise.
15992         (sin_tonearest_test_data): Likewise.
15993         (sin_towardzero_test_data): Likewise.
15994         (sin_downward_test_data): Likewise.
15995         (sin_upward_test_data): Likewise.
15996         (sincos_test_data): Likewise.
15997         (sinh_test_data): Likewise.
15998         (sinh_tonearest_test_data): Likewise.
15999         (sinh_towardzero_test_data): Likewise.
16000         (sinh_downward_test_data): Likewise.
16001         (sinh_upward_test_data): Likewise.
16002         (sqrt_test_data): Likewise.
16003         (tan_test_data): Likewise.
16004         (tan_tonearest_test_data): Likewise.
16005         (tan_towardzero_test_data): Likewise.
16006         (tan_downward_test_data): Likewise.
16007         (tan_upward_test_data): Likewise.
16008         (tanh_test_data): Likewise.
16009         (tgamma_test_data): Likewise.
16010         (trunc_test_data): Likewise.
16011         (y0_test_data): Likewise.
16012         (y1_test_data): Likewise.
16013         (yn_test_data): Likewise.
16014         (significand_test_data): Likewise.
16016         * math/gen-libm-test.pl (@functions): Remove variable.
16017         (generate_testfile): Don't handle START and END lines.
16018         * math/libm-test.inc (START): New macro.
16019         (END): Likewise.
16020         (END_COMPLEX): Likewise.
16021         (acos_test): Use END macro without arguments.
16022         (acos_test_tonearest): Likewise.
16023         (acos_test_towardzero): Likewise.
16024         (acos_test_downward): Likewise.
16025         (acos_test_upward): Likewise.
16026         (acosh_test): Likewise.
16027         (asin_test): Likewise.
16028         (asin_test_tonearest): Likewise.
16029         (asin_test_towardzero): Likewise.
16030         (asin_test_downward): Likewise.
16031         (asin_test_upward): Likewise.
16032         (asinh_test): Likewise.
16033         (atan_test): Likewise.
16034         (atanh_test): Likewise.
16035         (atan2_test): Likewise.
16036         (cabs_test): Likewise.
16037         (cacos_test): Use END_COMPLEX macro without arguments.
16038         (cacosh_test): Likewise.
16039         (carg_test): Use END macro without arguments.
16040         (casin_test): Use END_COMPLEX macro without arguments.
16041         (casinh_test): Likewise.
16042         (catan_test): Likewise.
16043         (catanh_test): Likewise.
16044         (cbrt_test): Use END macro without arguments.
16045         (ccos_test): Use END_COMPLEX macro without arguments.
16046         (ccosh_test): Likewise.
16047         (ceil_test): Use END macro without arguments.
16048         (cexp_test): Use END_COMPLEX macro without arguments.
16049         (cimag_test): Use END macro without arguments.
16050         (clog_test): Use END_COMPLEX macro without arguments.
16051         (clog10_test): Likewise.
16052         (conj_test): Likewise.
16053         (copysign_test): Use END macro without arguments.
16054         (cos_test): Likewise.
16055         (cos_test_tonearest): Likewise.
16056         (cos_test_towardzero): Likewise.
16057         (cos_test_downward): Likewise.
16058         (cos_test_upward): Likewise.
16059         (cosh_test): Likewise.
16060         (cosh_test_tonearest): Likewise.
16061         (cosh_test_towardzero): Likewise.
16062         (cosh_test_downward): Likewise.
16063         (cosh_test_upward): Likewise.
16064         (cpow_test): Use END_COMPLEX macro without arguments.
16065         (cproj_test): Likewise.
16066         (creal_test): Use END macro without arguments.
16067         (csin_test): Use END_COMPLEX macro without arguments.
16068         (csinh_test): Likewise.
16069         (csqrt_test): Likewise.
16070         (ctan_test): Likewise.
16071         (ctan_test_tonearest): Likewise.
16072         (ctan_test_towardzero): Likewise.
16073         (ctan_test_downward): Likewise.
16074         (ctan_test_upward): Likewise.
16075         (ctanh_test): Likewise.
16076         (ctanh_test_tonearest): Likewise.
16077         (ctanh_test_towardzero): Likewise.
16078         (ctanh_test_downward): Likewise.
16079         (ctanh_test_upward): Likewise.
16080         (erf_test): Use END macro without arguments.
16081         (erfc_test): Likewise.
16082         (exp_test): Likewise.
16083         (exp_test_tonearest): Likewise.
16084         (exp_test_towardzero): Likewise.
16085         (exp_test_downward): Likewise.
16086         (exp_test_upward): Likewise.
16087         (exp10_test): Likewise.
16088         (exp2_test): Likewise.
16089         (expm1_test): Likewise.
16090         (fabs_test): Likewise.
16091         (fdim_test): Likewise.
16092         (finite_test): Likewise.
16093         (floor_test): Likewise.
16094         (fma_test): Likewise.
16095         (fma_test_towardzero): Likewise.
16096         (fma_test_downward): Likewise.
16097         (fma_test_upward): Likewise.
16098         (fmax_test): Likewise.
16099         (fmin_test): Likewise.
16100         (fmod_test): Likewise.
16101         (fpclassify_test): Likewise.
16102         (frexp_test): Likewise.
16103         (gamma_test): Likewise.
16104         (hypot_test): Likewise.
16105         (ilogb_test): Likewise.
16106         (isfinite_test): Likewise.
16107         (isgreater_test): Likewise.
16108         (isgreaterequal_test): Likewise.
16109         (isinf_test): Likewise.
16110         (isless_test): Likewise.
16111         (islessequal_test): Likewise.
16112         (islessgreater_test): Likewise.
16113         (isnan_test): Likewise.
16114         (isnormal_test): Likewise.
16115         (issignaling_test): Likewise.
16116         (isunordered_test): Likewise.
16117         (j0_test): Likewise.
16118         (j1_test): Likewise.
16119         (jn_test): Likewise.
16120         (ldexp_test): Likewise.
16121         (lgamma_test): Likewise.
16122         (lrint_test): Likewise.
16123         (lrint_test_tonearest): Likewise.
16124         (lrint_test_towardzero): Likewise.
16125         (lrint_test_downward): Likewise.
16126         (lrint_test_upward): Likewise.
16127         (llrint_test): Likewise.
16128         (llrint_test_tonearest): Likewise.
16129         (llrint_test_towardzero): Likewise.
16130         (llrint_test_downward): Likewise.
16131         (llrint_test_upward): Likewise.
16132         (log_test): Likewise.
16133         (log10_test): Likewise.
16134         (log1p_test): Likewise.
16135         (log2_test): Likewise.
16136         (logb_test): Likewise.
16137         (logb_test_downward): Likewise.
16138         (lround_test): Likewise.
16139         (llround_test): Likewise.
16140         (modf_test): Likewise.
16141         (nearbyint_test): Likewise.
16142         (nextafter_test): Likewise.
16143         (nexttoward_test): Likewise.
16144         (pow_test): Likewise.
16145         (pow_test_tonearest): Likewise.
16146         (pow_test_towardzero): Likewise.
16147         (pow_test_downward): Likewise.
16148         (pow_test_upward): Likewise.
16149         (remainder_test): Likewise.
16150         (remainder_test_tonearest): Likewise.
16151         (remainder_test_towardzero): Likewise.
16152         (remainder_test_downward): Likewise.
16153         (remainder_test_upward): Likewise.
16154         (remquo_test): Likewise.
16155         (rint_test): Likewise.
16156         (rint_test_tonearest): Likewise.
16157         (rint_test_towardzero): Likewise.
16158         (rint_test_downward): Likewise.
16159         (rint_test_upward): Likewise.
16160         (round_test): Likewise.
16161         (scalb_test): Likewise.
16162         (scalbn_test): Likewise.
16163         (scalbln_test): Likewise.
16164         (signbit_test): Likewise.
16165         (sin_test): Likewise.
16166         (sin_test_tonearest): Likewise.
16167         (sin_test_towardzero): Likewise.
16168         (sin_test_downward): Likewise.
16169         (sin_test_upward): Likewise.
16170         (sincos_test): Likewise.
16171         (sinh_test): Likewise.
16172         (sinh_test_tonearest): Likewise.
16173         (sinh_test_towardzero): Likewise.
16174         (sinh_test_downward): Likewise.
16175         (sinh_test_upward): Likewise.
16176         (sqrt_test): Likewise.
16177         (tan_test): Likewise.
16178         (tan_test_tonearest): Likewise.
16179         (tan_test_towardzero): Likewise.
16180         (tan_test_downward): Likewise.
16181         (tan_test_upward): Likewise.
16182         (tanh_test): Likewise.
16183         (tgamma_test): Likewise.
16184         (trunc_test): Likewise.
16185         (y0_test): Likewise.
16186         (y1_test): Likewise.
16187         (yn_test): Likewise.
16188         (significand_test): Likewise.
16190 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16192         [BZ #15381]
16193         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16195 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16197         [BZ #14894]
16198         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16199         __ppc_mdoio and __ppc_mdoom.
16200         * manual/platform.texi: Document new functions __ppc_yield,
16201         __ppc_mdoio and __ppc_mdoom.
16203 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16205         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16206         (main): Mention "tls" pseudo-hwcap is legacy.
16207         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16209 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16211         * math/gen-libm-test.pl (parse_args): Output only string of
16212         arguments as text for test name, not full call or descriptions of
16213         tests for extra outputs.
16214         (generate_testfile): Do not pass function name to parse_args.
16215         Generate this_func variable from START.
16216         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16217         field to arg_str.
16218         (struct test_ff_f_data): Likewise.
16219         (test_ff_f_data_nexttoward): Likewise.
16220         (struct test_fi_f_data): Likewise.
16221         (struct test_fl_f_data): Likewise.
16222         (struct test_if_f_data): Likewise.
16223         (struct test_fff_f_data): Likewise.
16224         (struct test_c_f_data): Likewise.
16225         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16226         (struct test_fF_f1_data): Likewise.
16227         (struct test_ffI_f1_data): Likewise.
16228         (struct test_c_c_data): Rename test_name field to arg_str.
16229         (struct test_cc_c_data): Likewise.
16230         (struct test_f_i_data): Likewise.
16231         (struct test_ff_i_data): Likewise.
16232         (struct test_f_l_data): Likewise.
16233         (struct test_f_L_data): Likewise.
16234         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16235         and extra2_name.
16236         (COMMON_TEST_SETUP): New macro.
16237         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16238         (COMMON_TEST_CLEANUP): Likewise.
16239         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16240         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16241         macros.
16242         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16243         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16244         macros.
16245         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16246         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16247         cleanup macros.
16248         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16249         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16250         macros.
16251         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16252         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16253         macros.
16254         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16255         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16256         cleanup macros.
16257         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16258         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16259         cleanup macros.
16260         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16261         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16262         cleanup macros.
16263         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16264         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16265         macros.
16266         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16267         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16268         macros.
16269         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16270         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16271         macros.
16272         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16273         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16274         cleanup macros.
16275         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16276         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16277         cleanup macros.
16278         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16279         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16280         macros.
16281         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16282         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16283         cleanup macros.
16284         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16285         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16286         macros.
16287         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16288         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16289         macros.
16290         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16291         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16292         cleanup macros.
16293         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16295 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16297         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16298         to _sifields.sigfault.
16299         (si_addr_lsb): Define new macro.
16300         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16301         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16302         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16304 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16306         [BZ #15441]
16307         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16308         returns -1.
16309         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16310         null return -1.
16311         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16312         loading the domain.
16314 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16316         * math/gen-libm-test.pl (parse_args): Do not include expected
16317         result in test name.
16318         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16319         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16320         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16321         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16322         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16325 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16327         * benchtests/Makefile: Sort function entries.
16329         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16330         tanh, asinh, acosh, atanh.
16331         * benchtests/acos-inputs: New file.
16332         * benchtests/acosh-inputs: New file.
16333         * benchtests/asin-inputs: New file.
16334         * benchtests/asinh-inputs: New file.
16335         * benchtests/atanh-inputs: New file.
16336         * benchtests/cosh-inputs: New file.
16337         * benchtests/log-inputs: New file.
16338         * benchtests/sinh-inputs: New file.
16339         * benchtests/tanh-inputs: New file.
16341 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16343         [BZ #15339]
16344         * posix/tst-getaddrinfo4.c: New test.
16345         * posix/Makefile (tests): Add it.
16347 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16349         [BZ #15339]
16350         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16351         when no services were used.
16352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16353         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16355 2013-05-21  Andreas Schwab  <schwab@suse.de>
16357         [BZ #15014]
16358         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16359         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16360         successful.
16361         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16362         redundant variable declarations and reallocation of buffer when
16363         parsing as IPv6 address.  Always set NSS status when called from
16364         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16365         buffer too small.  Correct computation of needed size.
16366         * nss/Makefile (tests): Add test-digits-dots.
16367         * nss/test-digits-dots.c: New test.
16369 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16371         * benchtests/Makefile: Remove instructions for adding
16372         benchmark tests.
16373         * benchtests/README: New file to explain how to execute and
16374         enhance the benchmark tests.
16376 2013-05-21  Andreas Schwab  <schwab@suse.de>
16378         [BZ #15493]
16379         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16380         * setjmp/tst-sigsetjmp.c: New test.
16382 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16384         * sysdeps/x86_64/memset.S (memset): New implementation.
16385         (__bzero): Likewise.
16386         (__memset_tail): New function.
16388 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16391         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16392         __memcpy_sse2_unaligned ifunc selection.
16393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16394         Add memcpy-sse2-unaligned.S.
16395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16396         Add: __memcpy_sse2_unaligned.
16398 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16400         [BZ #15490]
16401         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16402         math_force_eval before restoring floating-point envrionment.
16403         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16404         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16405         Likewise.
16406         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16407         <math_private.h>.
16408         (__nearbyintl): Use math_force_eval before restoring
16409         floating-point environment.
16410         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16412         * math/gen-libm-test.pl (special_functions): Remove.
16413         (parse_args): Don't handle TEST_extra.  Handle functions with no
16414         return value.
16415         * math/libm-test.inc (struct test_sincos_data): Replace with
16416         struct test_fFF_11_data.
16417         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16418         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16419         (sincos_test_data): Change element type to struct
16420         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16421         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16422         RUN_TEST_LOOP_sincos.
16423         * math/README.libm-test: Don't mention special handling of
16424         individual functions.
16425         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16426         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16427         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16428         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16429         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16432         * math/gen-libm-test.pl (get_variable): Remove function.
16433         (parse_args): Don't show pointer parameters to call in test
16434         names.  Use "extra output N" in test names for extra outputs
16435         rather than naming variables.
16437 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16439         [BZ #15488]
16440         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16441         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16442         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16443         double tests.
16444         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16445         disable.
16446         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16447         check_long_double.
16449         * math/gen-libm-test.pl (@tests): Remove variable.
16450         ($count): Likewise.
16451         (new_test): Remove function.
16452         (show_exceptions): New function.
16453         (special_functions): Use show_exceptions instead of new_test.
16454         (parse_args): Likewise.
16455         (generate_testfile): Pass only function name in generated call to
16456         print_max_error or print_complex_max_error.
16457         (get_ulps): Do not handle complex tests specially.
16458         (output_test): Rename to ...
16459         (get_all_ulps_for_test): ... this.  Return a string rather than
16460         printing to a file.  Require ulps to be present.
16461         (output_ulps): Generate arrays rather than #defines.
16462         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16463         (struct ulp_data): New type.
16464         (BUILD_COMPLEX_ULP): Remove macro.
16465         (compare_ulp_data): New function.
16466         (find_ulps): Likewise.
16467         (find_test_ulps): Likewise.
16468         (find_function_ulps): Likewise.
16469         (find_complex_function_ulps): Likewise.
16470         (print_max_error): Determine allowed ulps using
16471         find_function_ulps.
16472         (print_complex_max_error): Determine allowed ulps using
16473         find_complex_function_ulps.
16474         (check_float_internal): Determine max ulps using find_test_ulps.
16475         (check_float): Do not take max_ulp parameter.  Update call to
16476         check_float_internal.
16477         (check_complex): Likewise.
16478         (check_int): Do not take max_ulp parameter.
16479         (check_long): Likewise.
16480         (check_bool): Likewise.
16481         (check_longlong): Likewise.
16482         (struct test_f_f_data): Remove max_ulp field.
16483         (struct test_ff_f_data): Likewise.
16484         (struct test_ff_f_data_nexttoward): Likewise.
16485         (struct test_fi_f_data): Likewise.
16486         (struct test_fl_f_data): Likewise.
16487         (struct test_if_f_data): Likewise.
16488         (struct test_fff_f_data): Likewise.
16489         (struct test_c_f_data): Likewise.
16490         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16491         (struct test_fF_f1_data): Likewise.
16492         (struct test_ffI_f1_data): Likewise.
16493         (struct test_c_c_data): Remove max_ulp field.
16494         (struct test_cc_c_data): Likewise.
16495         (struct test_f_i_data): Likewise.
16496         (struct test_ff_i_data): Likewise.
16497         (struct test_f_l_data): Likewise.
16498         (struct test_f_L_data): Likewise.
16499         (struct test_sincos_data): Likewise.
16500         (RUN_TEST_f_f): Do not handle ulps.
16501         (RUN_TEST_LOOP_f_f): Likewise.
16502         (RUN_TEST_2_f): Likewise.
16503         (RUN_TEST_LOOP_2_f): Likewise.
16504         (RUN_TEST_fff_f): Likewise.
16505         (RUN_TEST_LOOP_fff_f): Likewise.
16506         (RUN_TEST_c_f): Likewise.
16507         (RUN_TEST_LOOP_c_f): Likewise.
16508         (RUN_TEST_f_f1): Likewise.
16509         (RUN_TEST_LOOP_f_f1): Likewise.
16510         (RUN_TEST_fF_f1): Likewise.
16511         (RUN_TEST_LOOP_fF_f1): Likewise.
16512         (RUN_TEST_fI_f1): Likewise.
16513         (RUN_TEST_LOOP_fI_f1): Likewise.
16514         (RUN_TEST_ffI_f1): Likewise.
16515         (RUN_TEST_LOOP_ffI_f1): Likewise.
16516         (RUN_TEST_c_c): Likewise.
16517         (RUN_TEST_LOOP_c_c): Likewise.
16518         (RUN_TEST_cc_c): Likewise.
16519         (RUN_TEST_LOOP_cc_c): Likewise.
16520         (RUN_TEST_f_i): Likewise.
16521         (RUN_TEST_LOOP_f_i): Likewise.
16522         (RUN_TEST_f_i_tg): Likewise.
16523         (RUN_TEST_LOOP_f_i_tg): Likewise.
16524         (RUN_TEST_ff_i_tg): Likewise.
16525         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16526         (RUN_TEST_f_b): Likewise.
16527         (RUN_TEST_LOOP_f_b): Likewise.
16528         (RUN_TEST_f_b_tg): Likewise.
16529         (RUN_TEST_LOOP_f_b_tg): Likewise.
16530         (RUN_TEST_f_l): Likewise.
16531         (RUN_TEST_LOOP_f_l): Likewise.
16532         (RUN_TEST_f_L): Likewise.
16533         (RUN_TEST_LOOP_f_L): Likewise.
16534         (RUN_TEST_sincos): Likewise.
16535         (RUN_TEST_LOOP_sincos): Likewise.
16537 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16539         [BZ #15480]
16540         [BZ #15485]
16541         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16542         main case of finite arguments, set rounding mode to FE_TONEAREST
16543         and discard exceptions.
16544         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16545         exceptions.
16546         (remainder_tonearest_test_data): New variable.
16547         (remainder_test_tonearest): New function.
16548         (remainder_towardzero_test_data): New variable.
16549         (remainder_test_towardzero): New function.
16550         (remainder_downward_test_data): New variable.
16551         (remainder_test_downward): New function.
16552         (remainder_upward_test_data): New variable.
16553         (remainder_test_upward): New function.
16554         (main): Call the new test functions.
16556         * math/libm-test.inc (struct test_f_f1_data): Remove field
16557         extra_init.
16558         (struct test_fF_f1_data): Likewise.
16559         (struct test_ffI_f1_data): Likewise.
16560         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16561         based on value of EXTRA_EXPECTED.
16562         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16563         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16564         EXTRA_VAR based on value of EXTRA_EXPECTED.
16565         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16566         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16567         EXTRA_VAR based on value of EXTRA_EXPECTED.
16568         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16569         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16570         EXTRA_VAR based on value of EXTRA_EXPECTED.
16571         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16572         * math/gen-libm-test.pl (parse_args): Don't output initializers
16573         for extra output values.
16575         * math/libm-test.inc (check_int): Expect result to be exactly
16576         equal to expected value and do not handle ulps.
16577         (check_long): Likewise.
16578         (check_longlong): Likewise.
16580         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16581         exceptions.
16582         (cimag_test_data): Likewise.
16583         (conj_test_data): Likewise.
16584         (copysign_test_data): Likewise.
16585         (cproj_test_data): Likewise.
16586         (creal_test_data): Likewise.
16587         (fabs_test_data): Likewise.
16588         (fdim_test_data): Likewise.
16589         (finite_test_data): Likewise.
16590         (floor_test_data): Likewise.
16591         (fmax_test_data): Likewise.
16592         (fmin_test_data): Likewise.
16593         (fmod_test_data): Likewise.
16594         (fpclassify_test_data): Likewise.
16595         (frexp_test_data): Likewise.
16596         (ilogb_test_data): Likewise.
16597         (isfinite_test_data): Likewise.
16598         (isgreater_test_data): Likewise.
16599         (isgreaterequal_test_data): Likewise.
16600         (isinf_test_data): Likewise.
16601         (isless_test_data): Likewise.
16602         (islessequal_test_data): Likewise.
16603         (islessgreater_test_data): Likewise.
16604         (isnan_test_data): Likewise.
16605         (isnormal_test_data): Likewise.
16606         (issignaling_test_data): Likewise.
16607         (isunordered_test_data): Likewise.
16608         (ldexp_test_data): Likewise.
16609         (lrint_test_data): Likewise.
16610         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16611         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16612         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16613         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16614         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16615         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16616         test input.
16617         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16618         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16619         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16620         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16621         that test input.
16622         (lrint_downward_test_data): Test for "inexact" exceptions.
16623         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16624         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16625         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16626         test input.
16627         (lrint_upward_test_data): Test for "inexact" exceptions.
16628         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16629         test input.
16630         (llrint_test_data): Test for "inexact" exceptions.
16631         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16632         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16633         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16634         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16635         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16636         (llrint_downward_test_data): Test for "inexact" exceptions.
16637         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16638         (llrint_upward_test_data): Test for "inexact" exceptions.
16639         (logb_test_data): Likewise.
16640         (logb_downward_test_data): Likewise.
16641         (nextafter_test_data): Likewise.
16642         (nexttoward_test_data): Likewise.
16643         (remainder_test_data): Likewise.
16644         (remquo_test_data): Likewise.
16645         (scalbn_test_data): Likewise.
16646         (scalbln_test_data): Likewise.
16647         (signbit_test_data): Likewise.
16648         (sqrt_test_data): Likewise.
16649         (significand_test_data): Likewise.
16651 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16653         [BZ #15424]
16654         * benchtests/bench-modf.c (struct args): Mark arg0 as
16655         volatile.
16656         * scripts/bench.pl: Mark members of struct args as volatile.
16658 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16660         [BZ # 15497]
16661         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16662         negative infinity on POWER6 or lower.
16663         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16665 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16667         [BZ #15442]
16668         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16669         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16670         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16671         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16672         (_FP_SETQNAN): New macro.
16673         (_FP_SETQNAN_SEMIRAW): Likewise.
16674         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16675         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16676         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16677         (FP_EXTEND): Use _FP_FRAC_SNANP.
16678         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16679         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16680         into account.
16681         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16682         New macro.
16683         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16684         Likewise.
16686 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16688         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16689         with DIVIDE_BY_ZERO_EXCEPTION.
16690         (gamma_test_data): Likewise.
16691         (lgamma_test_data): Likewise.
16692         (log_test_data): Likewise.
16693         (log10_test_data): Likewise.
16694         (log2_test_data): Likewise.
16695         (tgamma_test_data): Likewise.
16697         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16698         (acos_test_tonearest): Likewise.
16699         (acos_test_towardzero): Likewise.
16700         (acos_test_downward): Likewise.
16701         (acos_test_upward): Likewise.
16702         (acosh_test): Likewise.
16703         (asin_test): Likewise.
16704         (asin_test_tonearest): Likewise.
16705         (asin_test_towardzero): Likewise.
16706         (asin_test_downward): Likewise.
16707         (asin_test_upward): Likewise.
16708         (asinh_test): Likewise.
16709         (atan_test): Likewise.
16710         (atanh_test): Likewise.
16711         (atan2_test): Likewise.
16712         (cabs_test): Likewise.
16713         (cacos_test): Likewise.
16714         (cacosh_test): Likewise.
16715         (casin_test): Likewise.
16716         (casinh_test): Likewise.
16717         (catan_test): Likewise.
16718         (catanh_test): Likewise.
16719         (cbrt_test): Likewise.
16720         (ccos_test): Likewise.
16721         (ccosh_test): Likewise.
16722         (cexp_test): Likewise.
16723         (clog_test): Likewise.
16724         (clog10_test): Likewise.
16725         (cos_test): Likewise.
16726         (cos_test_tonearest): Likewise.
16727         (cos_test_towardzero): Likewise.
16728         (cos_test_downward): Likewise.
16729         (cos_test_upward): Likewise.
16730         (cosh_test): Likewise.
16731         (cosh_test_tonearest): Likewise.
16732         (cosh_test_towardzero): Likewise.
16733         (cosh_test_downward): Likewise.
16734         (cosh_test_upward): Likewise.
16735         (cpow_test): Likewise.
16736         (csin_test): Likewise.
16737         (csinh_test): Likewise.
16738         (csqrt_test): Likewise.
16739         (ctan_test): Likewise.
16740         (ctan_test_tonearest): Likewise.
16741         (ctan_test_towardzero): Likewise.
16742         (ctan_test_downward): Likewise.
16743         (ctan_test_upward): Likewise.
16744         (ctanh_test): Likewise.
16745         (ctanh_test_tonearest): Likewise.
16746         (ctanh_test_towardzero): Likewise.
16747         (ctanh_test_downward): Likewise.
16748         (ctanh_test_upward): Likewise.
16749         (erf_test): Likewise.
16750         (erfc_test): Likewise.
16751         (exp_test): Likewise.
16752         (exp_test_tonearest): Likewise.
16753         (exp_test_towardzero): Likewise.
16754         (exp_test_downward): Likewise.
16755         (exp_test_upward): Likewise.
16756         (exp10_test): Likewise.
16757         (exp2_test): Likewise.
16758         (expm1_test): Likewise.
16759         (fmod_test): Likewise.
16760         (gamma_test): Likewise.
16761         (hypot_test): Likewise.
16762         (j0_test): Likewise.
16763         (j1_test): Likewise.
16764         (jn_test): Likewise.
16765         (lgamma_test): Likewise.
16766         (log_test): Likewise.
16767         (log10_test): Likewise.
16768         (log1p_test): Likewise.
16769         (log2_test): Likewise.
16770         (logb_test_downward): Likewise.
16771         (pow_test): Likewise.
16772         (pow_test_tonearest): Likewise.
16773         (pow_test_towardzero): Likewise.
16774         (pow_test_downward): Likewise.
16775         (pow_test_upward): Likewise.
16776         (remainder_test): Likewise.
16777         (remquo_test): Likewise.
16778         (sin_test): Likewise.
16779         (sin_test_tonearest): Likewise.
16780         (sin_test_towardzero): Likewise.
16781         (sin_test_downward): Likewise.
16782         (sin_test_upward): Likewise.
16783         (sincos_test): Likewise.
16784         (sinh_test): Likewise.
16785         (sinh_test_tonearest): Likewise.
16786         (sinh_test_towardzero): Likewise.
16787         (sinh_test_downward): Likewise.
16788         (sinh_test_upward): Likewise.
16789         (sqrt_test): Likewise.
16790         (tan_test): Likewise.
16791         (tan_test_tonearest): Likewise.
16792         (tan_test_towardzero): Likewise.
16793         (tan_test_downward): Likewise.
16794         (tan_test_upward): Likewise.
16795         (tanh_test): Likewise.
16796         (tgamma_test): Likewise.
16797         (y0_test): Likewise.
16798         (y1_test): Likewise.
16799         (yn_test): Likewise.
16801         * math/gen-libm-test.pl (adjust_arg): Remove function.
16802         (special_function): Remove argument $in_func.  Only handle
16803         generating output for tables of tests, not inside functions.
16804         (parse_args): Likewise.
16805         (generate_testfile): Remove variable $in_func.  Update call to
16806         parse_args.
16807         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16808         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16809         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16810         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16811         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16812         (MAX_VALUE_INIT): Rename macro to max_value.
16813         (MIN_VALUE_INIT): Rename macro to min_value.
16814         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16815         (plus_zero): Remove variable.
16816         (minus_zero): Likewise.
16817         (plus_infty): Likewise.
16818         (minus_infty): Likewise.
16819         (qnan_value): Likewise.
16820         (max_value): Likewise.
16821         (min_value): Likewise.
16822         (min_subnorm_value): Likewise.
16824 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16826         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16827         uint64_t or uint32_t usage.
16828         * crypt/sha256-block.c: Likewise.
16829         * crypt/sha256-crypt.c: Likewise.
16830         * crypt/sha256.c: Likewise.
16831         * crypt/sha512-block.c: Likewise.
16832         * crypt/sha512-crypt.c: Likewise.
16833         * crypt/sha512.c: Likewise.
16834         * debug/backtrace-tst.c: Likewise.
16835         * debug/pcprofiledump.c: Likewise.
16836         * elf/cache.c: Likewise.
16837         * elf/dl-cache.c: Likewise.
16838         * elf/dl-misc.c: Likewise.
16839         * elf/dl-profile.c: Likewise.
16840         * elf/dl-support.c: Likewise.
16841         * elf/ldconfig.c: Likewise.
16842         * elf/sprof.c: Likewise.
16843         * iconv/dummy-repertoire.c: Likewise.
16844         * iconv/iconv_charmap.c: Likewise.
16845         * iconv/skeleton.c: Likewise.
16846         * iconvdata/8bit-generic.c: Likewise.
16847         * iconvdata/cp737.h: Likewise.
16848         * iconvdata/cp775.h: Likewise.
16849         * iconvdata/ibm1008.h: Likewise.
16850         * iconvdata/ibm1025.h: Likewise.
16851         * iconvdata/ibm1046.h: Likewise.
16852         * iconvdata/ibm1097.h: Likewise.
16853         * iconvdata/ibm1112.h: Likewise.
16854         * iconvdata/ibm1122.h: Likewise.
16855         * iconvdata/ibm1123.h: Likewise.
16856         * iconvdata/ibm1124.h: Likewise.
16857         * iconvdata/ibm1129.h: Likewise.
16858         * iconvdata/ibm1130.h: Likewise.
16859         * iconvdata/ibm1132.h: Likewise.
16860         * iconvdata/ibm1133.h: Likewise.
16861         * iconvdata/ibm1137.h: Likewise.
16862         * iconvdata/ibm1140.h: Likewise.
16863         * iconvdata/ibm1141.h: Likewise.
16864         * iconvdata/ibm1142.h: Likewise.
16865         * iconvdata/ibm1143.h: Likewise.
16866         * iconvdata/ibm1144.h: Likewise.
16867         * iconvdata/ibm1145.h: Likewise.
16868         * iconvdata/ibm1146.h: Likewise.
16869         * iconvdata/ibm1147.h: Likewise.
16870         * iconvdata/ibm1148.h: Likewise.
16871         * iconvdata/ibm1149.h: Likewise.
16872         * iconvdata/ibm1153.h: Likewise.
16873         * iconvdata/ibm1154.h: Likewise.
16874         * iconvdata/ibm1155.h: Likewise.
16875         * iconvdata/ibm1156.h: Likewise.
16876         * iconvdata/ibm1157.h: Likewise.
16877         * iconvdata/ibm1158.h: Likewise.
16878         * iconvdata/ibm1160.h: Likewise.
16879         * iconvdata/ibm1161.h: Likewise.
16880         * iconvdata/ibm1162.h: Likewise.
16881         * iconvdata/ibm1163.h: Likewise.
16882         * iconvdata/ibm1164.h: Likewise.
16883         * iconvdata/ibm1166.h: Likewise.
16884         * iconvdata/ibm1167.h: Likewise.
16885         * iconvdata/ibm12712.h: Likewise.
16886         * iconvdata/ibm1390.h: Likewise.
16887         * iconvdata/ibm1399.h: Likewise.
16888         * iconvdata/ibm16804.h: Likewise.
16889         * iconvdata/ibm4517.h: Likewise.
16890         * iconvdata/ibm4899.h: Likewise.
16891         * iconvdata/ibm4909.h: Likewise.
16892         * iconvdata/ibm4971.h: Likewise.
16893         * iconvdata/ibm5347.h: Likewise.
16894         * iconvdata/ibm803.h: Likewise.
16895         * iconvdata/ibm856.h: Likewise.
16896         * iconvdata/ibm901.h: Likewise.
16897         * iconvdata/ibm902.h: Likewise.
16898         * iconvdata/ibm9030.h: Likewise.
16899         * iconvdata/ibm9066.h: Likewise.
16900         * iconvdata/ibm921.h: Likewise.
16901         * iconvdata/ibm922.h: Likewise.
16902         * iconvdata/ibm9448.h: Likewise.
16903         * iconvdata/isiri-3342.h: Likewise.
16904         * iconvdata/jis0201.h: Likewise.
16905         * include/link.h: Likewise.
16906         * include/netdb.h: Likewise.
16907         * inet/check_native.c: Likewise.
16908         * inet/check_pf.c: Likewise.
16909         * inet/getipv4sourcefilter.c: Likewise.
16910         * inet/getnameinfo.c: Likewise.
16911         * inet/getsourcefilter.c: Likewise.
16912         * inet/htonl.c: Likewise.
16913         * inet/setipv4sourcefilter.c: Likewise.
16914         * inet/setsourcefilter.c: Likewise.
16915         * inet/test-inet6_opt.c: Likewise.
16916         * inet/tst-network.c: Likewise.
16917         * locale/C-collate.c: Likewise.
16918         * locale/C-ctype.c: Likewise.
16919         * locale/C-time.c: Likewise.
16920         * locale/C-translit.h: Likewise.
16921         * locale/loadarchive.c: Likewise.
16922         * locale/programs/3level.h: Likewise.
16923         * locale/programs/charmap.c: Likewise.
16924         * locale/programs/charmap.h: Likewise.
16925         * locale/programs/ld-address.c: Likewise.
16926         * locale/programs/ld-collate.c: Likewise.
16927         * locale/programs/ld-ctype.c: Likewise.
16928         * locale/programs/ld-identification.c: Likewise.
16929         * locale/programs/ld-measurement.c: Likewise.
16930         * locale/programs/ld-messages.c: Likewise.
16931         * locale/programs/ld-monetary.c: Likewise.
16932         * locale/programs/ld-name.c: Likewise.
16933         * locale/programs/ld-numeric.c: Likewise.
16934         * locale/programs/ld-paper.c: Likewise.
16935         * locale/programs/ld-telephone.c: Likewise.
16936         * locale/programs/ld-time.c: Likewise.
16937         * locale/programs/linereader.c: Likewise.
16938         * locale/programs/locale.c: Likewise.
16939         * locale/programs/locarchive.c: Likewise.
16940         * locale/programs/locfile.h: Likewise.
16941         * locale/programs/repertoire.c: Likewise.
16942         * locale/programs/simple-hash.c: Likewise.
16943         * locale/programs/simple-hash.h: Likewise.
16944         * malloc/memusage.c: Likewise.
16945         * malloc/memusagestat.c: Likewise.
16946         * nis/nis_defaults.c: Likewise.
16947         * nis/nis_hash.c: Likewise.
16948         * nis/nis_print.c: Likewise.
16949         * nis/nis_xdr.c: Likewise.
16950         * nscd/connections.c: Likewise.
16951         * nscd/hstcache.c: Likewise.
16952         * nscd/nscd_gethst_r.c: Likewise.
16953         * nscd/nscd_getserv_r.c: Likewise.
16954         * nscd/nscd_helper.c: Likewise.
16955         * nscd/servicescache.c: Likewise.
16956         * nss/makedb.c: Likewise.
16957         * nss/nss_db/db-XXX.c: Likewise.
16958         * nss/nss_db/db-initgroups.c: Likewise.
16959         * nss/nss_db/db-netgrp.c: Likewise.
16960         * nss/nss_files/files-network.c: Likewise.
16961         * nss/nss_files/files-parse.c: Likewise.
16962         * posix/bug-regex5.c: Likewise.
16963         * posix/fnmatch_loop.c: Likewise.
16964         * posix/regcomp.c: Likewise.
16965         * posix/regexec.c: Likewise.
16966         * posix/tst-rfc3484-2.c: Likewise.
16967         * posix/tst-rfc3484-3.c: Likewise.
16968         * posix/tst-rfc3484.c: Likewise.
16969         * resolv/nss_dns/dns-canon.c: Likewise.
16970         * resolv/nss_dns/dns-network.c: Likewise.
16971         * resolv/res_init.c: Likewise.
16972         * resolv/res_mkquery.c: Likewise.
16973         * resolv/tst-aton.c: Likewise.
16974         * stdlib/cxa_atexit.c: Likewise.
16975         * stdlib/cxa_finalize.c: Likewise.
16976         * stdlib/gen-fpioconst.c: Likewise.
16977         * stdlib/strtol_l.c: Likewise.
16978         * string/tst-endian.c: Likewise.
16979         * sunrpc/auth_des.c: Likewise.
16980         * sunrpc/clnt_udp.c: Likewise.
16981         * sunrpc/rtime.c: Likewise.
16982         * sunrpc/svcauth_des.c: Likewise.
16983         * sunrpc/xdr.c: Likewise.
16984         * sunrpc/xdr_intXX_t.c: Likewise.
16985         * sunrpc/xdr_rec.c: Likewise.
16986         * sysdeps/generic/ldconfig.h: Likewise.
16987         * sysdeps/generic/ldsodefs.h: Likewise.
16988         * sysdeps/generic/memusage.h: Likewise.
16989         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16990         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16991         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16992         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16994         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16995         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16996         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16997         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16998         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16999         * sysdeps/posix/getaddrinfo.c: Likewise.
17000         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17001         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17002         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17003         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17004         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17005         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17006         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17007         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17008         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17009         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17010         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17011         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17012         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17013         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17014         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17015         * sysdeps/x86_64/dl-tls.h: Likewise.
17016         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17017         * time/alt_digit.c: Likewise.
17018         * time/era.c: Likewise.
17019         * wcsmbs/tst-c16c32-1.c: Likewise.
17021 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17023         * math/libm-test.inc (struct test_sincos_data): New type.
17024         (RUN_TEST_LOOP_sincos): New macro.
17025         (sincos_test_data): New variable.
17026         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17028 2013-05-16  Richard Henderson  <rth@redhat.com>
17030         * math/atest-exp2.c (LIMB64): New macro.
17031         (CONSTSZ): New macro.
17032         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17033         (hexdig): Move ...
17034         (print_mpn_fp): ... to function scope.
17035         (read_mpn_hex): Remove.
17036         (get_log2): Remove.
17037         (exp2_mpn): Use mp_log2.
17038         (main): Use mp_exp1.
17040 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17042         * math/libm-test.inc: Remove comment about not testing "inexact"
17043         exceptions.
17044         (INEXACT_EXCEPTION): New macro.
17045         (NO_INEXACT_EXCEPTION): Likewise.
17046         (INVALID_EXCEPTION_OK): Update value.
17047         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17048         (OVERFLOW_EXCEPTION_OK): Likewise.
17049         (UNDERFLOW_EXCEPTION_OK): Likewise.
17050         (IGNORE_ZERO_INF_SIGN): Likewise.
17051         (ERRNO_UNCHANGED): Likewise.
17052         (ERRNO_EDOM): Likewise.
17053         (ERRNO_ERANGE): Likewise.
17054         (test_exceptions): Handle testing "inexact" exceptions.
17055         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17056         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17057         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17058         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17059         INEXACT_EXCEPTION.
17060         (rint_towardzero_test_data): Likewise.
17061         (rint_downward_test_data): Likewise.
17062         (rint_upward_test_data): Likewise.
17064         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17065         with OVERFLOW_EXCEPTION.
17066         (exp10_test_data): Likewise.
17067         (exp2_test_data): Likewise.
17068         (expm1_test_data): Likewise.
17069         (lgamma_test_data): Likewise.
17070         (pow_test_data): Likewise.
17071         (tgamma_test_data): Likewise.
17072         (yn_test_data): Remove duplicate test of overflow.
17074         * math/libm-test.inc (struct test_cc_c_data): New type.
17075         (RUN_TEST_LOOP_cc_c): New macro.
17076         (cpow_test_data): New variable.
17077         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17079         * math/libm-test.inc (struct test_f_L_data): New type.
17080         (RUN_TEST_LOOP_f_L): New macro.
17081         (llrint_test_data): New variable.
17082         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17083         (llrint_tonearest_test_data): New variable.
17084         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17085         (llrint_towardzero_test_data): New variable.
17086         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17087         (llrint_downward_test_data): New variable.
17088         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17089         (llrint_upward_test_data): New variable.
17090         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17091         (llround_test_data): New variable.
17092         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17094 2013-05-13  Peter Collingbourne  <pcc@google.com>
17096         * math/atest-exp2.c (get_log2): Remove const attribute.
17098 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17100         * math/libm-test.inc (struct test_f_l_data): New type.
17101         (RUN_TEST_LOOP_f_l): New macro.
17102         (lrint_test_data): New variable.
17103         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17104         (lrint_tonearest_test_data): New variable.
17105         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17106         (lrint_towardzero_test_data): New variable.
17107         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17108         (lrint_downward_test_data): New variable.
17109         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17110         (lrint_upward_test_data): New variable.
17111         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17112         (lround_test_data): New variable.
17113         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17115 2013-05-15  Peter Collingbourne  <pcc@google.com>
17117         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17118         (EXTRACT_WORDS64) Use where appropriate.
17119         (INSERT_WORDS64) Likewise.
17121         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17122         constraints with x constraints.
17123         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17125         * malloc/obstack.c (_obstack_compat): Add initializer.
17127 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17129         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17130         si_trapno and add si_addr_lsb to _sifields.sigfault.
17131         (si_trapno): Remove macro.
17132         (si_addr_lsb): Define new macro.
17133         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17135 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17137         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17138         instead of TEST_f_l.
17139         (llrint_test_tonearest): Likewise.
17140         (llrint_test_towardzero): Likewise.
17141         (llrint_test_downward): Likewise.
17142         (llrint_test_upward): Likewise.
17143         (llround_test): Likewise.
17145         * math/libm-test.inc (struct test_f_i_data): Add comment.
17146         (RUN_TEST_LOOP_f_b): New macro.
17147         (RUN_TEST_LOOP_f_b_tg): Likewise.
17148         (finite_test_data): New variable.
17149         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17150         (isfinite_test_data): New variable.
17151         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17152         (isinf_test_data): New variable.
17153         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17154         (isnan_test_data): New variable.
17155         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17156         (isnormal_test_data): New variable.
17157         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17158         (issignaling_test_data): New variable.
17159         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17160         (signbit_test_data): New variable.
17161         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17163         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17164         with INVALID_EXCEPTION.
17165         (acosh_test_data): Likewise.
17166         (asin_test_data): Likewise.
17167         (atanh_test_data): Likewise.
17168         (fmod_test_data): Likewise.
17169         (log_test_data): Likewise.
17170         (log10_test_data): Likewise.
17171         (log2_test_data): Likewise.
17172         (pow_test_data): Likewise.
17173         (sqrt_test_data): Likewise.
17174         (y0_test_data): Likewise.
17175         (y1_test_data): Likewise.
17176         (yn_test_data): Likewise.
17178         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17179         function contents.
17181         * math/libm-test.inc (struct test_ff_i_data): New type.
17182         (RUN_TEST_LOOP_ff_i_tg): New macro.
17183         (isgreater_test_data): New variable.
17184         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17185         (isgreaterequal_test_data): New variable.
17186         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17187         (isless_test_data): New variable.
17188         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17189         (islessequal_test_data): New variable.
17190         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17191         (islessgreater_test_data): New variable.
17192         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17193         (isunordered_test_data): New variable.
17194         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17196 2013-05-14  David S. Miller  <davem@davemloft.net>
17198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17200 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17202         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17204         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17205         extra_test to int.
17206         (struct test_f_i_data): Change type of max_ulp to int.
17208         * math/libm-test.inc (test_ffI_f1_data): New type.
17209         (RUN_TEST_LOOP_ffI_f1): New macro.
17210         (remquo_test_data): New variable.
17211         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17213         * setjmp/tst-setjmp-fp.c: New file.
17214         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17215         (link-libm): New variable.
17216         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17218         * math/libm-test.inc (struct test_f_i_data): New type.
17219         (RUN_TEST_LOOP_f_i): New macro.
17220         (RUN_TEST_LOOP_f_i_tg): Likewise.
17221         (fpclassify_test_data): New variable.
17222         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17223         (ilogb_test_data): New variable.
17224         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17226         * math/libm-test.inc (scalbln_test): Correct function name in END
17227         call.
17229         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17230         (RUN_TEST_LOOP_fI_f1): New macro.
17231         (frexp_test_data): New variable.
17232         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17234         * math/libm-test.inc (struct test_fF_f1_data): New type.
17235         (RUN_TEST_LOOP_fF_f1): New macro.
17236         (modf_test_data): New variable.
17237         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17239         * math/libm-test.inc (struct test_f_f1_data): New type.
17240         (RUN_TEST_LOOP_f_f1): New macro.
17241         (gamma_test_data): New variable.
17242         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17243         (lgamma_test_data): New variable.
17244         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17246 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17248         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17249         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17250         (main): Comment "tls" pseudo-hwcap.
17252 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17254         * math/libm-test.inc (struct test_fl_f_data): New type.
17255         (RUN_TEST_LOOP_fl_f): New variable.
17256         (scalbln_test_data): New variable.
17257         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17259         * math/libm-test.inc (struct test_fi_f_data): New type.
17260         (RUN_TEST_LOOP_fi_f): New macro.
17261         (ldexp_test_data): New variable.
17262         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17263         (scalbn_test_data): New variable.
17264         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17266         * math/libm-test.inc (struct test_c_f_data): New type.
17267         (RUN_TEST_LOOP_c_f): New macro.
17268         (cabs_test_data): New variable.
17269         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17270         (carg_test_data): New variable.
17271         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17272         (cimag_test_data): New variable.
17273         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17274         (creal_test_data): New variable.
17275         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17277         * math/libm-test.inc (struct test_if_f_data): New type.
17278         (RUN_TEST_LOOP_if_f): New macro.
17279         (jn_test_data): New variable.
17280         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17281         (yn_test_data): New variable.
17282         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17284         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17286 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17288         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17289         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17291 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17293         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17294         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17295         (bench-deps): Add bench-timing.h.
17296         * benchtests-bench-skeleton.c: Include bench-timing.h.
17297         (main): Use TIMING_* macros instead of clock_gettime.
17298         * benchtests/bench-timing.h: New file.
17300         [BZ #14582]
17301         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17302         Renamed from _LIB_VERSION.
17303         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17305 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17307         * math/libm-test.inc (struct test_fff_f_data): New type.
17308         (RUN_TEST_LOOP_fff_f): New macro.
17309         (fma_test_data): New variable.
17310         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17311         (fma_towardzero_test_data): New variable.
17312         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17313         (fma_downward_test_data): New variable.
17314         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17315         (fma_upward_test_data): New variable.
17316         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17318         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17319         (struct test_c_c_data): New type.
17320         (RUN_TEST_LOOP_c_c): New macro.
17321         (cacos_test_data): New variable.
17322         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17323         (cacosh_test_data): New variable.
17324         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17325         (casin_test_data): New variable.
17326         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17327         (casinh_test_data): New variable.
17328         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17329         (catan_test_data): New variable.
17330         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17331         (catanh_test_data): New variable.
17332         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17333         (ccos_test_data): New variable.
17334         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17335         (ccosh_test_data): New variable.
17336         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17337         (cexp_test_data): New variable.
17338         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17339         (clog_test_data): New variable.
17340         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17341         (clog10_test_data): New variable.
17342         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17343         (conj_test_data): New variable.
17344         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17345         (cproj_test_data): New variable.
17346         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17347         (csin_test_data): New variable.
17348         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17349         (csinh_test_data): New variable.
17350         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17351         (csqrt_test_data): New variable.
17352         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17353         (ctan_test_data): New variable.
17354         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17355         (ctan_tonearest_test_data): New variable.
17356         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17357         (ctan_towardzero_test_data): New variable.
17358         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17359         (ctan_downward_test_data): New variable.
17360         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17361         (ctan_upward_test_data): New variable.
17362         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17363         (ctanh_test_data): New variable.
17364         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17365         (ctanh_tonearest_test_data): New variable.
17366         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17367         (ctanh_towardzero_test_data): New variable.
17368         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17369         (ctanh_downward_test_data): New variable.
17370         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17371         (ctanh_upward_test_data): New variable.
17372         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17373         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17374         of BUILD_COMPLEX.
17376         * math/libm-test.inc (struct test_ff_f_data): New type.
17377         (struct test_ff_f_data_nexttoward): Likewise.
17378         (RUN_TEST_LOOP_2_f): New macro.
17379         (RUN_TEST_LOOP_ff_f): Likewise.
17380         (atan2_test_data): New variable.
17381         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17382         (copysign_test_data): New variable.
17383         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17384         (fdim_test_data): New variable.
17385         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17386         (fmax_test_data): New variable.
17387         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17388         (fmin_test_data): New variable.
17389         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17390         (fmod_test_data): New variable.
17391         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17392         (hypot_test_data): New variable.
17393         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17394         (nextafter_test_data): New variable.
17395         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17396         (nexttoward_test_data): New variable.
17397         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17398         (pow_test_data): New variable.
17399         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17400         (pow_tonearest_test_data): New variable.
17401         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17402         (pow_towardzero_test_data): New variable.
17403         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17404         (pow_downward_test_data): New variable.
17405         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17406         (pow_upward_test_data): New variable.
17407         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17408         (remainder_test_data): New variable.
17409         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17410         (scalb_test_data): New variable.
17411         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17412         * sysdeps/i386/fpu/libm-test-ulps: Update.
17414 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17416         * math/libm-test.inc (fma_test): Use max_value instead of local
17417         variable fltmax.
17418         (nextafter_test): Likewise.
17420         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17421         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17422         (acos_downward_test_data): New variable.
17423         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17424         (acos_upward_test_data): New variable.
17425         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17426         (acosh_test_data): New variable.
17427         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17428         (asin_test_data): New variable.
17429         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17430         (asin_tonearest_test_data): New variable.
17431         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17432         (asin_towardzero_test_data): New variable.
17433         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17434         (asin_downward_test_data): New variable.
17435         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17436         (asin_upward_test_data): New variable.
17437         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17438         (asinh_test_data): New variable.
17439         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17440         (atan_test_data): New variable.
17441         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17442         (atanh_test_data): New variable.
17443         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17444         (cbrt_test_data): New variable.
17445         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17446         (ceil_test_data): New variable.
17447         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17448         (cos_test_data): New variable.
17449         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17450         (cos_tonearest_test_data): New variable.
17451         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17452         (cos_towardzero_test_data): New variable.
17453         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17454         (cos_downward_test_data): New variable.
17455         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17456         (cos_upward_test_data): New variable.
17457         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17458         (cosh_test_data): New variable.
17459         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17460         (cosh_tonearest_test_data): New variable.
17461         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17462         (cosh_towardzero_test_data): New variable.
17463         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17464         (cosh_downward_test_data): New variable.
17465         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17466         (cosh_upward_test_data): New variable.
17467         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17468         (erf_test_data): New variable.
17469         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17470         (erfc_test_data): New variable.
17471         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17472         (exp_test_data): New variable.
17473         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17474         (exp_tonearest_test_data): New variable.
17475         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17476         (exp_towardzero_test_data): New variable.
17477         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17478         (exp_downward_test_data): New variable.
17479         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17480         (exp_upward_test_data): New variable.
17481         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17482         (exp10_test_data): New variable.
17483         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17484         (exp2_test_data): New variable.
17485         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17486         (expm1_test_data): New variable.
17487         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17488         (fabs_test_data): New variable.
17489         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17490         (floor_test_data): New variable.
17491         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17492         (j0_test_data): New variable.
17493         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17494         (j1_test_data): New variable.
17495         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17496         (log_test_data): New variable.
17497         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17498         (log10_test_data): New variable.
17499         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17500         (log1p_test_data): New variable.
17501         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17502         (log2_test_data): New variable.
17503         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17504         (logb_test_data): New variable.
17505         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17506         (logb_downward_test_data): New variable.
17507         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17508         (nearbyint_test_data): New variable.
17509         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17510         (rint_test_data): New variable.
17511         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17512         (rint_tonearest_test_data): New variable.
17513         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17514         (rint_towardzero_test_data): New variable.
17515         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17516         (rint_downward_test_data): New variable.
17517         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17518         (rint_upward_test_data): New variable.
17519         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17520         (round_test_data): New variable.
17521         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17522         (sin_test_data): New variable.
17523         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17524         (sin_tonearest_test_data): New variable.
17525         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17526         (sin_towardzero_test_data): New variable.
17527         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17528         (sin_downward_test_data): New variable.
17529         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17530         (sin_upward_test_data): New variable.
17531         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17532         (sinh_test_data): New variable.
17533         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17534         (sinh_tonearest_test_data): New variable.
17535         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17536         (sinh_towardzero_test_data): New variable.
17537         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17538         (sinh_downward_test_data): New variable.
17539         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17540         (sinh_upward_test_data): New variable.
17541         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17542         (sqrt_test_data): New variable.
17543         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17544         (tan_test_data): New variable.
17545         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17546         (tan_tonearest_test_data): New variable.
17547         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17548         (tan_towardzero_test_data): New variable.
17549         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17550         (tan_downward_test_data): New variable.
17551         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17552         (tan_upward_test_data): New variable.
17553         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17554         (tanh_test_data): New variable.
17555         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17556         (tgamma_test_data): New variable.
17557         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17558         (trunc_test_data): New variable.
17559         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17560         (y0_test_data): New variable.
17561         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17562         (y1_test_data): New variable.
17563         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17564         (significand_test_data): New variable.
17565         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17567 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17569         [BZ #12387]
17570         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17572 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17574         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17576 2013-05-10  Andreas Jaeger  <aj@suse.de>
17578         [BZ #15448]
17579         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17580         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17582 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17584         * math/gen-libm-test.pl (adjust_arg): New function.
17585         (special_functions): Handle generating output in both functions
17586         and arrays.
17587         (parse_args): Likewise.
17588         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17589         $in_func argument to parse_args.
17590         * math/libm-test.inc (struct test_f_f_data): New type.
17591         (IF_ROUND_INIT_): New macro.
17592         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17593         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17594         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17595         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17596         (ROUND_RESTORE_): Likewise.
17597         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17598         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17599         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17600         (ROUND_RESTORE_FE_UPWARD): Likewise.
17601         (RUN_TEST_LOOP_f_f): New macro.
17602         (acos_test_data): New variable.
17603         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17604         (acos_tonearest_test_data): New variable.
17605         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17607 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17609         * benchtests/bench-skeleton.c (startup): Fix coding style.
17611 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17613         [BZ #6809]
17614         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17615         negative infinity argument.
17616         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17617         negative infinity argument.
17618         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17619         negative infinity argument.
17620         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17621         domain errors.
17623 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17625         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17626         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17627         * iconv/iconv_prog.c (main): Likewise.
17628         * locale/programs/charmap-dir.c (charmap_readdir)
17629         (fopen_uncompressed): Likewise.
17630         * locale/programs/locfile.c (siblings_uncached)
17631         (write_locale_data): Use lstat64 instead of lstat.
17632         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17633         stat.
17635 2013-05-10  Andreas Jaeger  <aj@suse.de>
17637         [BZ #15395]
17638         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17639         localization.
17640         Include <locale.h>.
17642 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17644         * elf/dl-close.c (_dl_close_worker): Add comments.
17646 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17648         [BZ #15359]
17649         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17650         high part of pi/2.
17651         (__ieee754_rem_pio2l): Update comments.
17653         [BZ #15429]
17654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17655         high part of pi/2.
17656         (__ieee754_rem_pio2l): Update comments.
17658         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17659         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17661         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17662         M_PI_4l.
17664         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17665         (M_PI_34_LOG10El): Likewise.
17666         (M_PI2_LOG10El): Likewise.
17667         (M_PI4_LOG10El): Likewise.
17668         (M_PI_LOG10El): Likewise.
17670 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17674 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17676         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17677         (MINUS_ZERO_INIT): Likewise.
17678         (PLUS_INFTY_INIT): Likewise.
17679         (MINUS_INFTY_INIT): Likewise.
17680         (QNAN_VALUE_INIT): Likewise.
17681         (MAX_VALUE_INIT): Likewise.
17682         (MIN_VALUE_INIT): Likewise.
17683         (MIN_SUBNORM_VALUE_INIT): Likewise.
17684         (plus_zero): Initialize with PLUS_ZERO_INIT.
17685         (minus_zero): Initialize with MINUS_ZERO_INIT.
17686         (plus_infty): Initialize with PLUS_INFTY_INIT.
17687         (minus_infty): Initialize with MINUS_INFTY_INIT.
17688         (qnan_value): Initialize with QNAN_VALUE_INIT.
17689         (max_value): Initialize with MAX_VALUE_INIT.
17690         (min_value): Initialize with MIN_VALUE_INIT.
17691         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17693         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17694         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17695         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17696         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17698         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17699         (RUN_TEST_2_f): Likewise.
17700         (RUN_TEST_ff_f): Likewise.
17701         (RUN_TEST_fi_f): Likewise.
17702         (RUN_TEST_fl_f): Likewise.
17703         (RUN_TEST_fff_f): Likewise.
17704         (RUN_TEST_c_f): Likewise.
17705         (RUN_TEST_f_f1): Likewise.
17706         (RUN_TEST_fF_f1): Likewise.
17707         (RUN_TEST_fI_f1): Likewise.
17708         (RUN_TEST_ffI_f1): Likewise.
17709         (RUN_TEST_c_c): Likewise.
17710         (RUN_TEST_cc_c): Likewise.
17711         (RUN_TEST_f_i): Likewise.
17712         (RUN_TEST_f_i_tg): Likewise.
17713         (RUN_TEST_ff_i_tg): Likewise.
17714         (RUN_TEST_f_b): Likewise.
17715         (RUN_TEST_f_b_tg): Likewise.
17716         (RUN_TEST_f_l): Likewise.
17717         (RUN_TEST_f_L): Likewise.
17718         (RUN_TEST_sincos): Likewise.
17719         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17720         whether to show exceptions.  Do not include ");\n" in return
17721         value.
17722         (special_functions): Output call to RUN_TEST_sincos instead of
17723         check_float calls.  Update calls to new_test.
17724         (parse_args): Output call to single RUN_TEST_* macro instead of
17725         check_* calls and other assignments.  Update calls to new_test.
17727         [BZ #2546]
17728         [BZ #2560]
17729         [BZ #5159]
17730         [BZ #15426]
17731         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17732         input to result for tgamma overflow.
17733         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17734         (gamma_coeff): New variable.
17735         (NCOEFF): New macro.
17736         (gamma_positive): New function.
17737         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17738         underflow here.  Use gamma_positive instead of exp (lgamma) for
17739         other arguments.
17740         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17741         (gamma_coeff): New variable.
17742         (NCOEFF): New macro.
17743         (gammaf_positive): New function.
17744         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17745         underflow here.  Use gamma_positive instead of exp (lgamma) for
17746         other arguments.
17747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17748         (gamma_coeff): New variable.
17749         (NCOEFF): New macro.
17750         (gammal_positive): New function.
17751         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17752         underflow here.  Use gamma_positive instead of exp (lgamma) for
17753         other arguments.
17754         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17755         (gamma_coeff): New variable.
17756         (NCOEFF): New macro.
17757         (gammal_positive): New function.
17758         (__ieee754_gammal_r): Handle positive infinity, overflow and
17759         underflow here.  Handle NaN the same as positive infinity.  Remove
17760         check x < 0xffffffff for negative integers.  Use gamma_positive
17761         instead of exp (lgamma) for other arguments.
17762         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17763         (gamma_coeff): New variable.
17764         (NCOEFF): New macro.
17765         (gammal_positive): New function.
17766         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17767         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17768         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17769         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17770         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17771         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17772         * sysdeps/generic/math_private.h (__gamma_productf): New
17773         prototype.
17774         (__gamma_product): Likewise.
17775         (__gamma_productl): Likewise.
17776         * math/Makefile (libm-calls): Add gamma_product.
17777         * math/libm-test.inc (tgamma_test): Add more tests.
17778         * sysdeps/i386/fpu/libm-test-ulps: Update.
17779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17781 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17783         * benchtests/bench-skeleton.c (main): Preheat CPU.
17785 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17787         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17789 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17791         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17792         and _dl_skip_args_internal.
17794 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17796         * manual/message.texi (Message Translation): Talk about users.
17797         Message to key mapping impacts design.
17799 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17801         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17803         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17805         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17806         * sysdeps/wordsize-64/glob64.c: ... here.
17808         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17809         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17810         New macros.
17812         * debug/getlogin_r_chk.c: Moved to ...
17813         * login/getlogin_r_chk.c: ... here.
17814         * debug/Makefile (routines): Move getlogin_r_chk to ...
17815         * login/Makefile (routines): ... here.
17816         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17817         * login/Versions (libc: GLIBC_2.4): ... here.
17819         * io/poll.c (__poll): Renamed from poll.
17820         Add libc_hidden_def.
17821         (poll): Define as weak alias.
17823         * debug/ptsname_r_chk.c: Moved to ...
17824         * login/ptsname_r_chk.c: ... here.
17825         * debug/Makefile (routines): Move ptsname_r_chk to ...
17826         * login/Makefile (routines): ... here.
17827         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17828         * login/Versions (libc: GLIBC_2.4): ... here.
17830         * posix/getlogin.c: Moved to ...
17831         * login/getlogin.c: ... here.
17832         * posix/getlogin_r.c: Moved to ...
17833         * login/getlogin_r.c: ... here.
17834         * posix/getlogin_r.c: Moved to ...
17835         * login/getlogin_r.c: ... here.
17836         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17837         * login/Makefile (routines): ... here.
17838         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17839         * login/Versions (libc: GLIBC_2.0): ... here.
17841         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17842         (setrlimit): Define as weak alias.
17844         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17845         Call __ names for open, ftruncate, and close.
17846         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17847         (truncate): Define as weak alias.
17849 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17851         * math/gen-libm-test.pl (parse_args): Initialize x before each
17852         test of frexp, modf and remquo.
17854         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17855         test signgam value.
17857 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17859         [BZ #15418]
17860         [BZ #15419]
17861         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17862         internal tests.
17863         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17865 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17867         * elf/dl-writev.h: New file.
17868         * elf/dl-misc.c: Include it.
17869         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17870         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17872 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17874         * math/libm-test.inc (noXFails): Remove variable.
17875         (noXPasses): Likewise.
17876         (BUILD_COMPLEX_INT): Remove macro.
17877         (print_screen): Remove xfail argument.
17878         (print_screen_max_error): Likewise.
17879         (update_stats): Likewise.
17880         (print_max_error): Likewise.  Update calls to other affected
17881         functions.
17882         (print_complex_max_error): Likewise.
17883         (test_single_exception): Update calls to print_screen.
17884         (test_single_errno): Likewise.
17885         (check_float_internal): Remove xfail argument.  Update calls to
17886         other affected functions.
17887         (check_float): Likewise.
17888         (check_complex): Likewise.
17889         (check_int): Likewise.
17890         (check_long): Likewise.
17891         (check_bool): Likewise.
17892         (check_longlong): Likewise.
17893         (main): Don't print noXFails and noXPasses.
17894         * math/gen-libm-test.pl (top level): Don't mention expected
17895         failure handling in comment.
17896         (new_test): Don't handle expected failures.
17897         (parse_args): Don't mention expected failure handling in comment.
17898         (generate_testfile): Don't handle expected failures.
17899         (parse_ulps): Likewise.
17900         (print_ulps_file): Likewise.
17901         (get_failure): Remove function.
17902         (output_test): Don't handle expected failures.
17903         * make/README.libm-test: Don't mention expected failure handling.
17905         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17906         (minus_zero): Likewise.
17907         (plus_infty): Likewise.
17908         (minus_infty): Likewise.
17909         (qnan_value): Likewise.
17910         (max_value): Likewise.
17911         (min_value): Likewise.
17912         (min_subnorm_value): Likewise.
17913         (initialize): Do not initialize those variables dynamically.
17915 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17917         * io/open.c (__open_2): Moved to ...
17918         * io/open_2.c: ... this new file.
17919         * io/open64.c (__open64_2): Moved to ...
17920         * io/open64_2.c: ... this new file.
17921         * io/openat.c (__openat_2): Moved to ...
17922         * io/openat_2.c: ... this new file.
17923         * io/openat64.c (__openat64_2): Moved to ...
17924         * io/openat64_2.c: ... this new file.
17925         * io/Makefile (routines): Add them.
17926         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17927         * sysdeps/unix/sysv/linux/open_2.c: File removed.
17928         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17929         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17930         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17931         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17932         (__openat64): Add hidden_ver.
17933         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17934         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17936         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17937         Separately conditionalize setting of GLRO(dl_sysinfo) so
17938         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17939         as well, but the actual setting is only under [NEED_DL_SYSINFO].
17941 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17943         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17945         definition.
17946         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17947         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17948         (_libc_vdso_platform_setup): Add __vdso_time initialization.
17949         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17950         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17952 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
17954         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17955         test signgam value.
17957         * math/libm-test.inc (hypot_test): Do not use
17958         IGNORE_ZERO_INF_SIGN.
17960 2013-05-03  Andreas Jaeger  <aj@suse.de>
17962         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17963         Linux 3.9.
17964         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17965         (PF_MAX): Adjust for VSOCK change.
17967 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17971 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
17973         [BZ #15264]
17974         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17975         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17976         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17978 2013-05-02  David S. Miller  <davem@davemloft.net>
17980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17982 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
17984         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17986 2013-05-01  Roland McGrath  <roland@hack.frob.com>
17988         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17990 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
17992         [BZ #14952]
17993         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17994         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17995         Use __attribute__ ((__gnu_inline__)).
17996         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17997         Don't use __attribute__ ((__gnu_inline__)).
17999 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18001         [BZ #15423]
18002         * math/s_catan.c (__catan): Handle small real or imaginary part of
18003         input specially to avoid spurious underflow.
18004         * math/s_catanf.c (__catanf): Likewise.
18005         * math/s_catanh.c (__catanh): Likewise.
18006         * math/s_catanhf.c (__catanhf): Likewise.
18007         * math/s_catanhl.c (__catanhl): Likewise.
18008         * math/s_catanl.c (__catanl): Likewise.
18009         * math/libm-test.inc (catan_test): Add more tests.
18010         (catanh_test): Likewise.
18011         * sysdeps/i386/fpu/libm-test-ulps: Update.
18012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18014 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18018 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18020         [BZ #15416]
18021         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18022         accurately for denominator in atan2.
18023         * math/s_catanf.c (__catanf): Likewise.
18024         * math/s_catanh.c (__catanh): Likewise.
18025         * math/s_catanhf.c (__catanhf): Likewise.
18026         * math/s_catanhl.c (__catanhl): Likewise.
18027         * math/s_catanl.c (__catanl): Likewise.
18028         * math/libm-test.inc (catan_test): Add more tests.
18029         (catanh_test): Likewise.
18030         * sysdeps/i386/fpu/libm-test-ulps: Update.
18031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18033 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18035         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18037         * benchtests/Makefile (bench): Remove slow benchmarks.
18038         * benchtests/atan-inputs: Add slow benchmark inputs.
18039         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18040         (BENCH_FUNC): Accept variant offset.
18041         (VARIANT): Define.
18042         * benchtests/bench-skeleton.c (main): Run benchmark for each
18043         variant.
18044         * benchtests/cos-inputs: Add slow benchmark inputs.
18045         * benchtests/exp-inputs: Likewise.
18046         * benchtests/pow-inputs: Likewise.
18047         * benchtests/sin-inputs: Likewise.
18048         * benchtests/slowatan-inputs: Remove.
18049         * benchtests/slowatan.c: Remove.
18050         * benchtests/slowcos-inputs: Remove.
18051         * benchtests/slowcos.c: Remove.
18052         * benchtests/slowexp-inputs: Remove.
18053         * benchtests/slowexp.c: Remove.
18054         * benchtests/slowpow-inputs: Remove.
18055         * benchtests/slowpow.c: Remove.
18056         * benchtests/slowsin-inputs: Remove.
18057         * benchtests/slowsin.c: Remove.
18058         * benchtests/slowtan-inputs: Remove.
18059         * benchtests/slowtan.c: Remove.
18060         * benchtests/tan-inputs: Add slow benchmark inputs.
18061         * scripts/bench.pl: Parse comments and directives.
18063         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18064         in CPPFLAGS.
18065         ($(objpfx)bench-%.c): Remove *-ITER.
18066         * benchtests/bench-modf.c: Remove definition of ITER.
18067         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18068         (main): Loop for DURATION seconds instead of fixed number of
18069         iterations.
18070         * scripts/bench.pl: Don't expect iterations in parameters.
18072 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18074         * io/fchdir.c (__fchdir): Renamed from fchdir.
18075         (fchdir): Define as weak alias.
18077 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18079         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18080         (ERRNO_EDOM): Likewise.
18081         (ERRNO_ERANGE): Likewise.
18082         (noErrnoTests): New variable.
18083         (init_max_error): Set errno to 0.
18084         (test_single_errno): New function.
18085         (test_errno): Likewise.
18086         (check_float_internal): Call test_errno.  Set errno to 0.
18087         (check_complex): Refer to errno tests in comment.
18088         (check_int): Call test_errno.  Set errno to 0.
18089         (check_long): Likewise.
18090         (check_bool): Likewise.
18091         (check_longlong): Likewise.
18092         (cos_test): Use ERRNO_* flags for errno tests instead of
18093         check_int.
18094         (expm1_test): Likewise.
18095         (fmod_test): Likewise.
18096         (ilogb_test): Likewise.
18097         (lgamma_test): Likewise.
18098         (pow_test): Likewise.
18099         (remainder_test): Likewise.
18100         (sin_test): Likewise.
18101         (tan_test): Likewise.
18102         (yn_test): Likewise.
18103         (initialize): Set errno to 0.
18104         (main): Print number of errno tests.
18105         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18107 2013-04-29  Andreas Jaeger  <aj@suse.de>
18109         [BZ #15084]
18110         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18111         and RES_USEVC.
18113         [BZ #15085]
18114         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18115         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18116         unimplemented.
18118         [BZ #15380]
18119         * stdlib/random.c (__initstate): Return NULL if
18120         __initstate fails.
18122         [BZ #15086]
18123         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18124         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18125         RES_SNGLKUPREOP.
18127 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18131 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18133         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18134         of individual tests.
18135         (casin_test): Likewise.
18136         (casinh_test): Likewise.
18138 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18140         [BZ #15409]
18141         * math/s_catan.c (__catan): Handle arguments with large real or
18142         imaginary part separately without squaring.
18143         * math/s_catanf.c (__catanf): Likewise.
18144         * math/s_catanh.c (__catanh): Likewise.
18145         * math/s_catanhf.c (__catanhf): Likewise.
18146         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18147         and redefine.
18148         (__catanhl): Handle arguments with large real or imaginary part
18149         separately without squaring.
18150         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18151         and redefine.
18152         (__catanl): Handle arguments with large real or imaginary part
18153         separately without squaring.
18154         * math/libm-test.inc (catan_test): Add more tests.
18155         (catanh_test): Likewise.
18156         * sysdeps/i386/fpu/libm-test-ulps: Update.
18157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18159 2013-04-27  Andreas Jaeger  <aj@suse.de>
18161         [BZ #15007]
18162         * stdlib/stdlib.h: Update guards for qecvt.
18163         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18164         <stdlib.h>.
18166 2013-04-27  Allan McRae  <allan@archlinux.org>
18168         * sysdeps/i386/fpu/libm-test-ulps: Update.
18170 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18172         [BZ #15406]
18173         * math/s_catan.c: Include <float.h>.
18174         (__catan): Ensure underflow exception occurs for underflowed
18175         result.
18176         * math/s_catanf.c: Include <float.h>.
18177         (__catanf): Ensure underflow exception occurs for underflowed
18178         result.
18179         * math/s_catanh.c: Include <float.h>.
18180         (__catanh): Ensure underflow exception occurs for underflowed
18181         result.
18182         * math/s_catanhf.c: Include <float.h>.
18183         (__catanhf): Ensure underflow exception occurs for underflowed
18184         result.
18185         * math/s_catanhl.c: Include <float.h>.
18186         (__catanhl): Ensure underflow exception occurs for underflowed
18187         result.
18188         * math/s_catanl.c: Include <float.h>.
18189         (__catanl): Ensure underflow exception occurs for underflowed
18190         result.
18191         * math/libm-test.inc (catan_test): Add more tests.
18192         (catanh_test): Likewise.
18194         [BZ #15405]
18195         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18196         underflowed result.
18197         * math/s_ccoshf.c (__ccoshf): Likewise.
18198         * math/s_ccoshl.c (__ccoshl): Likewise.
18199         * math/s_csin.c (__csin): Likewise.
18200         * math/s_csinf.c (__csinf): Likewise.
18201         * math/s_csinh.c (__csinh): Likewise.
18202         * math/s_csinhf.c (__csinhf): Likewise.
18203         * math/s_csinhl.c (__csinhl): Likewise.
18204         * math/s_csinl.c (__csinl): Likewise.
18205         * math/libm-test.inc (ccos_test): Add more tests.
18206         (ccosh_test): Likewise.
18207         (csin_test): Likewise.
18208         (csinh_test): Likewise.
18210 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18212         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18213         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18214         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18215         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18216         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18217         powerpc/power5+/fpu folders.
18218         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18221 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18225 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18227         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18228         additions to variable.
18229         [$(config-machine) = x86_64] (modules-names): Likewise.
18230         ($(objpfx)tst-audit3): Remove dependency.
18231         ($(objpfx)tst-audit3.out): Likewise.
18232         ($(objpfx)tst-audit4): Likewise.
18233         ($(objpfx)tst-audit4.out): Likewise.
18234         ($(objpfx)tst-audit5): Likewise.
18235         ($(objpfx)tst-audit5.out): Likewise.
18236         ($(objpfx)tst-audit6): Likewise.
18237         ($(objpfx)tst-audit6.out): Likewise.
18238         ($(objpfx)tst-audit7): Likewise.
18239         ($(objpfx)tst-audit7.out): Likewise.
18240         (tst-audit3-ENV): Remove variable.
18241         (tst-audit4-ENV): Likewise.
18242         (tst-audit5-ENV): Likewise.
18243         (tst-audit6-ENV): Likewise.
18244         (tst-audit7-ENV): Likewise.
18245         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18246         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18247         addition to variable.
18248         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18249         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18250         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18251         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18252         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18253         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18254         tst-audit3, tst-audit4 and tst-audit5.
18255         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18256         tst-audit6 and tst-audit7.
18257         [$(subdir) = elf] (modules-names): Add audit modules for those
18258         tests.
18259         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18260         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18261         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18262         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18263         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18264         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18265         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18266         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18267         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18268         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18269         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18270         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18271         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18272         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18273         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18274         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18275         Likewise.
18276         [$(subdir) = elf && $(config-cflags-avx) = yes]
18277         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18278         [$(subdir) = elf && $(config-cflags-avx) = yes]
18279         (CFLAGS-tst-auditmod4a.c): Likewise.
18280         [$(subdir) = elf && $(config-cflags-avx) = yes]
18281         (CFLAGS-tst-auditmod4b.c): Likewise.
18282         [$(subdir) = elf && $(config-cflags-avx) = yes]
18283         (CFLAGS-tst-auditmod6b.c): Likewise.
18284         [$(subdir) = elf && $(config-cflags-avx) = yes]
18285         (CFLAGS-tst-auditmod6c.c): Likewise.
18286         [$(subdir) = elf && $(config-cflags-avx) = yes]
18287         (CFLAGS-tst-auditmod7b.c): Likewise.
18288         * elf/tst-audit3.c: Move to ...
18289         * sysdeps/x86_64/tst-audit3.c: ... here.
18290         * elf/tst-audit4.c: Move to ...
18291         * sysdeps/x86_64/tst-audit4.c: ... here.
18292         * elf/tst-audit5.c: Move to ...
18293         * sysdeps/x86_64/tst-audit5.c: ... here.
18294         * elf/tst-audit6.c: Move to ...
18295         * sysdeps/x86_64/tst-audit6.c: ... here.
18296         * elf/tst-audit7.c: Move to ...
18297         * sysdeps/x86_64/tst-audit7.c: ... here.
18298         * elf/tst-auditmod3a.c: Move to ...
18299         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18300         * elf/tst-auditmod3b.c: Move to ...
18301         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18302         * elf/tst-auditmod4a.c: Move to ...
18303         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18304         * elf/tst-auditmod4b.c: Move to ...
18305         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18306         * elf/tst-auditmod5a.c: Move to ...
18307         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18308         * elf/tst-auditmod5b.c: Move to ...
18309         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18310         * elf/tst-auditmod6a.c: Move to ...
18311         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18312         * elf/tst-auditmod6b.c: Move to ...
18313         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18314         * elf/tst-auditmod6c.c: Move to ...
18315         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18316         * elf/tst-auditmod7a.c: Move to ...
18317         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18318         * elf/tst-auditmod7b.c: Move to ...
18319         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18321 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18323         [BZ #15366]
18324         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18325         define unconditionally.
18326         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18327         define unconditionally.
18328         (INT8_C, INT16_C, etc.): Likewise.
18330 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18332         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18333         __ehdr_start with hidden visibility.
18335         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18337 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18339         * math/libm-test.inc (cos_test): Use accurate hex constants.
18340         (sincost_test): Likewise.
18342 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18344         * math/libm-test.inc (catan_test): Add more tests.
18345         (catanh_test): Likewise.
18347         * math/s_catanf.c (__catanf): Use suffixed floating-point
18348         constants.
18349         * math/s_catanhf.c (__catanhf): Likewise.
18350         * math/s_catanhl.c (__catanhl): Likewise.
18351         * math/s_catanl.c (__catanl): Likewise.
18353         [BZ #15394]
18354         * math/s_catan.c (__catan): Calculate imaginary part of result
18355         with log1p not log unless computing log of number close to 0.
18356         * math/s_catanf.c (__catanf): Likewise.
18357         * math/s_catanl.c (__catanl): Likewise.
18358         * math/s_catanh.c (__catanh): Calculate real part of result with
18359         log1p not log unless computing log of number close to 0.
18360         * math/s_catanhf.c (__catanhf): Likewise.
18361         * math/s_catanhl.c (__catanhl): Likewise.
18362         * math/libm-test.inc (catan_test): Add more tests.
18363         (catanh_test): Likewise.
18364         * sysdeps/i386/fpu/libm-test-ulps: Update.
18365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18367 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18369         * benchtests/Makefile: Mention files in which fast and slow
18370         paths of math functions are implemented.
18372 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18374         * sysdeps/posix/timespec_get.c: New file.
18376 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18378         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18379         POWER.
18380         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18381         for POWER.
18382         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18383         powerpc/power5/fpu folders.
18384         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18385         * benchtests/Makefile: Add modf testcase.
18386         * benchtests/bench-modf.c: New file: Benchmark test for mo
18388 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18390         [BZ #14888]
18391         * time/Makefile (tests): Add tst-strptime-whitespace.
18392         * time/strptime_l.c (get_number): Use ISSPACE.
18393         (__strptime_internal): Likewise.
18394         * time/tst-strptime-whitespace.c: New test case.
18396 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18398         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18399         member.
18400         (_nss_files_init): Set it here.
18402 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18404         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18405         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18406         unsigned.
18408 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18410         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18412 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18414         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18415         size just once.
18417 2013-04-21  David S. Miller  <davem@davemloft.net>
18419         * po/ru.po: Update Russion translation from translation project.
18421 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18423         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18424         and setfsgid.
18426 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18428         * configure.in: Remove i386 configure warning. Remove i386 case.
18429         * configure: Regenerate.
18430         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18431         Add example to error message.
18432         * sysdeps/i386/configure: Regenerate.
18434 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18436         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18437         slowtan.
18438         * benchtests/cos-inputs: New file.
18439         * benchtests/slowcos-inputs: New file.
18440         * benchtests/slowcos.c: New file.
18441         * benchtests/slowtan-inputs: New file.
18442         * benchtests/slowtan.c: New file.
18443         * benchtests/tan-inputs: New file.
18445 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18447         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18448         considered kosher.
18450 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18452         * benchtests/Makefile: Include cppflags-iterator.mk to add
18453         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18455         * Makefile.in (bench-clean): New target.
18456         * benchtests/Makefile (bench-clean): Likewise.
18458 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18460         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18462 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18464         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18466 2013-04-15  Andreas Schwab  <schwab@suse.de>
18468         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18470         * nscd/pwdcache.c (cache_addpw): Likewise.
18471         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18472         more than recsize.
18474 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18476         * benchtests/Makefile (bench): Write all output to
18477         bench-out.tmp together.
18479 2013-04-15  Andreas Schwab  <schwab@suse.de>
18481         * nscd/nscd.c (main): Don't fork again after closing files.
18483 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18485         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18487         * benchtests/Rules (bench-deps): Collect dependencies into a
18488         single variable.  Add Makefile to dependencies.
18489         ($(objpfx)bench-%.c): Depend on bench-deps.
18491 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18492             Xavier Roche  <roche+kml2@exalead.com>
18494         [BZ #15361]
18495         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18496         just that it's a file descriptor.
18497         * manual/llio.texi (Synchronizing AIO Operations): Update description
18498         for EBADF error from aio_fsync.
18500 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18502         * Rules (bench): Move target definition...
18503         * benchtests/Makefile: ... here.
18505 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18507         * math/libm-test.inc (cos_test): Fix PI/2 test.
18508         (sincos_test): Likewise.
18509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18510         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18512 2013-04-11  Andreas Schwab  <schwab@suse.de>
18514         [BZ #13988]
18515         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18516         accept exponent character only when digits were seen.
18517         * stdio-common/Makefile (tests): Add bug26.
18518         * stdio-common/bug26.c: New file.
18520         [BZ #14293]
18521         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18522         non-freeable.
18524 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18526         * Makeconfig (rtld-prefix): Define built linker prefix.
18527         * Rules (run-bench): Use it.
18528         * math/Makefile (run-regen-ulps): Likewise.
18530         * Rules (bench): Remove eval.
18532 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18533             Roland McGrath  <roland@hack.frob.com>
18534             Ondrej Bilka  <neleai@seznam.cz>
18536         [BZ #15346]
18537         * time/getdate.c: Include ctype.h and alloca.h.
18538         (__getdate_r): Trim leading and trailing spaces of input.
18539         * time/tst-getdate.c (tests): Add tests with leading and
18540         trailing spaces.
18542 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18544         [BZ #14280]
18545         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18546         when computing value.
18548 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18550         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18551         Use testrun.sh to run libm tests.
18553         [BZ #15309]
18554         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18556 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18558         [BZ #15264]
18559         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18561 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18563         * Makefile.in (regen-ulps): New target.
18564         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18565         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18566         [ifneq (no,$(PERL)] (regen-ulps): New target.
18567         [ifeq (no,$(PERL)] (regen-ulps): New target.
18568         * math/libm-test.inc (ulps_file_name): Define.
18569         (output_dir): New variable.
18570         (options): Add "output-dir" option.
18571         (parse_opt): Handle 'o' case.
18572         (main): If output_dir is non-NULL use it as a prefix
18573         otherwise use "".
18574         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18576 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18578         [BZ #10060, #10062]
18579         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18580         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18581         fail configure if __sync_val_compare_and_swap is not inlined.
18582         * sysdeps/i386/configure: Regenerate.
18583         * configure.in: Build for i686 when configured for i386.
18584         * configure: Regenerate.
18585         * README: Remove i386 reference.
18587 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18589         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18592 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18594         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18595         (lmsnanval): New variables.
18596         (F): Add conversion tests.
18597         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18598         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18600         * stdio-common/tstdiomisc.c (F): Properly collect individual
18601         tests' results.
18603         [BZ #14686, #15336]
18604         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18605         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18606         Instead, use input NaN values or generate a qNaN by arithmetic
18607         operation.  Also fix bugs to comply with the standard.
18608         * math/libm-test.inc (remainder_test): Add more tests.
18610         [BZ #15335, #15342]
18611         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18613         input NaN values or generate a qNaN by arithmetic operation.
18615         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18616         unreachable code.
18618         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18619         definitions.
18621 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18623         [BZ #14478]
18624         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18625         underflowed result.
18626         * math/s_cexpf.c (__cexpf): Likewise.
18627         * math/s_cexpl.c (__cexpl): Likewise.
18628         * math/libm-test.inc (cexp_test): Add more tests.
18630 2013-04-03  Andreas Schwab  <schwab@suse.de>
18632         [BZ #15330]
18633         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18634         order arrays from heap if bigger than alloca cutoff.
18636 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18638         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18639         (SNAN_TESTS_double): Refer to GCC PR56831.
18640         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18641         GCC PR56828.
18643 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18645         * Rules (bench): Move bench.out after the run is complete.
18647         * Rules (bench): Echo currently running benchmark.
18649         * benchtests/Makefile (bench): Add atan and slowatan.
18650         * benchtests/atan-inputs: New file.
18651         * benchtests/slowatan-inputs: New file.
18652         * benchtests/slowatan.c: New file.
18654         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18656         its value.
18658         [BZ #15305]
18659         * sysdeps/unix/sysv/linux/kernel-features.h
18660         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18661         __ASSUME_XFS_RESTRICTED_CHOWN.
18662         * sysdeps/unix/sysv/linux/pathconf.c
18663         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18664         Save and restore errno.
18666 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18668         [BZ #15327]
18669         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18670         arguments using __kernel_casinh.
18671         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18672         arguments using __kernel_casinhf.
18673         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18674         arguments using __kernel_casinhl.
18675         * math/libm-test.inc (cacosh_test): Add more tests.
18676         * sysdeps/i386/fpu/libm-test-ulps: Update.
18677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18679 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18681         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18684         * bench/Makefile (bench): Add sin and slowsin.
18685         * benchtests/sin-inputs: New file.
18686         * benchtests/slowsin-inputs: New file.
18687         * benchtests/slowsin.c: New file.
18689         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18690         (bench): Add slowexp and slowpow.
18691         (exp-ITER): Increase iterations.
18692         (pow-ITER): Likewise.
18693         * benchtests/exp-inputs: Change input.
18694         * benchtests/pow-inputs: Likewise.
18695         * benchtests/slowexp-inputs: New file.
18696         * benchtests/slowexp.c: New file.
18697         * benchtests/slowpow-inputs: New file.
18698         * benchtests/slowpow.c: New file.
18700 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18702         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18703         instructions.
18704         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18705         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18706         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18707         * benchtests/Makefile: Add rint benchtest.
18708         * benchtests/rint-inputs: Input for rint benchtest.
18710 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18712         * Versions.def (libm): Add GLIBC_2.18.
18713         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18714         hidden libm prototypes.
18715         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18716         * math/Makefile (libm-calls): Add s_issignaling.
18717         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18718         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18719         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18720         declaration.
18721         * math/math.h [__USE_GNU] (issignaling): New macro.
18722         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18723         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18724         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18725         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18726         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18727         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18728         * manual/arith.texi (issignaling): New section.
18729         * manual/libm-err-tab.pl (@all_functions): Update comment.
18730         * math/gen-libm-test.pl (parse_args): Apply special handling for
18731         issignaling.
18732         * math/libm-test.inc (print_float, issignaling_test): New
18733         functions.
18734         (check_float_internal): Add issignaling checks.
18735         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18736         default definition.
18737         * sysdeps/powerpc/math-tests.h: New file.
18738         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18739         tests.
18740         * math/test-snan.c (TEST_FUNC): Likewise.
18742 2013-03-30  David S. Miller  <davem@davemloft.net>
18744         * po/de.po: Update from translation team.
18746 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18748         [BZ #10357]
18749         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18750         imaginary part less than 1.0 and real part less than 0.5
18751         specially.
18752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18754         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18755         (cacos_test): Add more tests.
18756         (casin_test): Likewise.
18757         (casinh_test): Likewise.
18758         * sysdeps/i386/fpu/libm-test-ulps: Update.
18759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18761 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18763         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18764         ONE with its value.
18766         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18767         (__pow_mp): Replace ONE and MONE with their values.
18768         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18769         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18770         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18771         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18772         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18773         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18775         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18777         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18778         (__pow_mp): Replace ZERO and MZERO with their values.
18779         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18780         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18781         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18783         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18784         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18785         (__sqr): Likewise.
18787         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18789         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18791 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18793         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18794         Declare with __attribute__ ((weak)).
18795         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18796         Call __call_tls_dtors only if it's not NULL.
18798 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18800         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18801         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18802         magic __ehdr_start linker symbol if it's defined.
18803         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18804         them up here if it was already done.
18806         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18807         (_dl_aux_init): Use const in cast when setting it.
18808         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18809         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18810         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18812         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18813         Declare them here.
18814         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18815         * csu/libc-tls.c: Nor here.
18816         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18818         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18819         (__libc_message): Never call vsyslog.
18821 2013-03-28  Alan Modra  <amodra@gmail.com>
18823         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18824         Define as empty.
18825         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18826         Likewise.
18828 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18830         [BZ #15214]
18831         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18832         underflow.
18833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18835 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18837         [BZ #15304]
18838         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18839         Don't add gid passed as argument.
18841         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18843 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18845         [BZ #15307]
18846         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18847         imaginary part between 1.0 and 1.5 and real part less than 0.5
18848         specially.
18849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18851         * math/libm-test.inc (cacos_test): Add more tests.
18852         (casin_test): Likewise.
18853         (casinh_test): Likewise.
18854         * sysdeps/i386/fpu/libm-test-ulps: Update.
18855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18857 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18859         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18860         constants.
18861         (norm): Likewise.
18862         (denorm): Likewise.
18863         (__dbl_mp): Likewise.
18864         (add_magnitudes): Likewise.
18865         (sub_magnitudes): Likewise.
18866         (__add): Likewise.
18867         (__sub): Likewise.
18868         (__mul): Likewise.
18869         (__sqr): Likewise.
18870         (__inv): Likewise.
18871         (__dvd): Likewise.
18873         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18874         commented code.
18875         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18876         (__dubcos): Likewise.
18877         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18878         (__ieee754_acos): Likewise.
18879         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18880         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18881         (__exp1): Likewise.
18882         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18884         (log1): Likewise.
18885         (my_log2): Likewise.
18886         (checkint): Likewise.
18887         * sysdeps/ieee754/dbl-64/e_remainder.c
18888         (__ieee754_remainder): Likewise.
18889         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18890         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18891         (bsloww): Likewise.
18892         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18894         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18896         MANTISSA_STORE_T to store computations on mantissa.  Use
18897         macros for rounding and division.
18898         (denorm): Likewise.
18899         (__dbl_mp): Likewise.
18900         (add_magnitudes): Likewise.
18901         (sub_magnitudes): Likewise.
18902         (__mul): Likewise.
18903         (__sqr): Likewise.
18904         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18905         powers of two in terms of TWOPOW macro.
18906         (mp_no): Make type of mantissa as MANTISSA_T.
18907         [!RADIXI]: Define RADIXI.
18908         [!TWO52]: Define TWO52.
18909         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18911 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18913         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18914         llroundl symbol when building for PPC32.
18916 2013-03-24  Mark H Weaver  <mhw@netris.org>
18918         * manual/arith.texi (Normalization Functions): Fix prototypes for
18919         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18921 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18923         [BZ #13889]
18924         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18925         high value to check if expl overflow.
18926         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18927         to check for underflow and overflow.
18928         * math/libm-test.inc: Add exp test.
18930 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
18932         [BZ #11120]
18933         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18934         with NOT_IN_libc.
18936 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18938         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18939         symbol.
18941 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18943         * math/gen-libm-test.pl (parse_args, special_functions): Properly
18944         wrap blocks consisting of several statements.
18946         * sysdeps/generic/math-tests.h: New file.
18947         * sysdeps/i386/fpu/math-tests.h: Likewise.
18948         * math/test-snan.c: Include it.
18949         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18951 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18953         [BZ #15285]
18954         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18955         (__ieee754_j0l): Do not improve calculations using cos of twice
18956         input for inputs above LDBL_MAX / 2.0L.
18957         (__ieee754_y0l): Likewise.
18958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18959         (__ieee754_j1l): Do not improve calculations using cos of twice
18960         input for inputs above LDBL_MAX / 2.0L.
18961         (__ieee754_y1l): Likewise.
18962         * math/libm-test.inc (j0_test): Add another test.
18963         (j1_test): Likewise.
18964         (y0_test): Likewise.
18965         (y1_test): Likewise.
18966         * sysdeps/i386/fpu/libm-test-ulps: Update.
18968 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18970         * Rules ($(objpfx)bench-%.c): Include code from a C source
18971         file.
18973 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18975         [BZ #15287]
18976         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18977         imaginary part 1.0 and real part less than 0.5 specially.
18978         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18979         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18980         * math/libm-test.inc (cacos_test): Add more tests.
18981         (casin_test): Likewise.
18982         (casinh_test): Likewise.
18983         * sysdeps/i386/fpu/libm-test-ulps: Update.
18984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18986 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18988         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18989         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18991 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
18993         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18994         * config.make.in (config-cflags-sse4): Remove variable.
18995         (config-cflags-avx): Likewise.
18996         (config-cflags-sse2avx): Likewise.
18997         (config-cflags-novzeroupper): Likewise.
18998         (config-asflags-i686): Likewise.
18999         (have-mfma4): Likewise.
19000         (have-as-vis3): Likewise.
19001         (MIG): Likewise.
19002         * configure.in (MIG): Do not AC_SUBST.
19003         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19004         (libc_cv_cc_sse4): Do not AC_SUBST.
19005         (libc_cv_cc_avx): Likewise.
19006         (libc_cv_cc_sse2avx): Likewise.
19007         (libc_cv_cc_novzeroupper): Likewise.
19008         (libc_cv_cc_fma4): Likewise.
19009         (libc_cv_as_i686): Likewise.
19010         (libc_cv_sparc_as_vis3): Likewise.
19011         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19012         LIBC_CONFIG_VAR.
19013         (config-asflags-i686): Likewise.
19014         (config-cflags-avx): Likewise.
19015         (config-cflags-sse2avx): Likewise.
19016         (have-mfma4): Likewise.
19017         (config-cflags-novzeroupper): Likewise.
19018         * sysdeps/mach/configure.in (MIG): Likewise.
19019         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19020         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19021         LIBC_CONFIG_VAR.
19022         (config-cflags-avx): Likewise.
19023         (config-cflags-sse2avx): Likewise.
19024         (have-mfma4): Likewise.
19025         (config-cflags-novzeroupper): Likewise.
19026         * configure: Regenerated.
19027         * sysdeps/i386/configure: Likewise.
19028         * sysdeps/mach/configure: Likewise.
19029         * sysdeps/sparc/configure: Likewise.
19030         * sysdeps/x86_64/configure: Likewise.
19032 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19034         [BZ #14812]
19035         * locale/programs/localedef.c (options): Put N_ translation marker
19036         on argument names, not just descriptions.
19038 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19040         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19042 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19044         [BZ #14176]
19045         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19047 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19049         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19050         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19051         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19052         [!BEFORE_ABORT] (before_abort): New function.
19053         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19054         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19055         (writev_for_fatal): New function.
19056         (WRITEV_FOR_FATAL): New macro; call that.
19057         (backtrace_and_maps): New function.
19058         (BEFORE_ABORT): New macro; call that.
19059         (struct str_list): Type removed.
19060         (__libc_message, __libc_fatal): Functions removed.
19061         Include <sysdeps/posix/libc_fatal.c> instead.
19063 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19065         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19066         constants.
19067         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19068         double constants.
19070 2013-03-19  Andreas Schwab  <schwab@suse.de>
19072         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19073         * sysdeps/gnu/configure: Regenerate.
19075         * configure.in: Substitute libc_cv_rtlddir.
19076         * configure: Regenerate.
19077         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19078         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19079         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19080         * elf/Makefile (install-others, CFLAGS-interp.c)
19081         (ldso_install, common-ldd-rewrite): Likewise.
19082         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19083         $(inst_slibdir)/$(rtld-installed-name).
19084         * scripts/rellns-sh: Add -p option.
19085         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19086         for source.
19088 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19090         * manual/nptl.texi: Renamed to ...
19091         * manual/threads.texi: ... this.
19092         * manual/Makefile (chapters): Update.
19094 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19096         [BZ #14812]
19097         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19098         on argument names, not just descriptions.
19099         * malloc/memusagestat.c (options): Likewise.
19100         * nss/getent.c (options): Likewise.
19102 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19104         [BZ #14812]
19105         * iconv/iconv_prog.c (options): Put N_ translation marker
19106         on argument names, not just descriptions.
19107         * iconv/iconvconfig.c (options): Likewise.
19109 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19111         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19112         implementation which is faster on all x86_64 architectures.
19113         Tested on AMD, Intel Nehalem, SNB, IVB.
19114         * sysdeps/x86_64/strnlen.S: Likewise.
19116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19117         Remove all multiarch strlen and strnlen versions.
19118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19119         Remove strlen and strnlen related parts.
19121         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19122         Inline strlen part.
19123         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19125         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19126         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19127         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19128         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19129         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19130         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19132 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19134         * manual/memory.texi (Malloc Tunable Parameters):
19135         Sort parameters alphabetically. Add comments for missing entries.
19137 2013-03-17  David S. Miller  <davem@davemloft.net>
19139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19141 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19143         [BZ #15283]
19144         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19145         for arguments at most half maximum finite value.
19146         * math/libm-test.inc (j0_test): Add more tests.
19147         (j1_test): Likewise.
19148         (y0_test): Likewise.
19149         (y1_test): Likewise.
19150         * sysdeps/i386/fpu/libm-test-ulps: Update.
19151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19153         [BZ #14155]
19154         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19155         1 / x and functions P and Q for arguments above 0x1p256L.
19156         (__ieee754_y0l): Likewise.
19157         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19158         (__ieee754_y1l): Likewise.
19159         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19160         (j1_test): Likewise.
19161         (y0_test): Likewise.
19162         (y1_test): Likewise.
19164 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19166         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19167         variable.
19169 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19171         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19172         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19173         zero since it's initialized to EXEC_PAGESIZE.
19175         * sysdeps/unix/sysv/linux/ldsodefs.h
19176         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19177         * sysdeps/generic/ldsodefs.h: ... here.
19179 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19181         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19183         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19184         math/test-snan.c.
19185         * math/test-snan.c: Renamed from
19186         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19187         * math/Makefile (tests): Add test-snan.
19188         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19189         test-powerpc-snan.
19191         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19192         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19193         functions.
19194         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19195         __builtin_nan family of functions.
19196         * math/libm-test.inc (initialize): Initialize qnan_value with
19197         __builtin_nan family of functions.
19198         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19199         Remove variables.
19200         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19201         Remove functions.
19202         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19203         storage class.  Initialize qNaN_var and sNaN_var with
19204         __builtin_nan and __builtin_nans families of functions,
19205         respectively.
19207         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19208         (sqrt_test): Remove duplicate test with qNaN input.
19209         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19210         (round_test, signbit_test, significand_test): Note missing +/-Inf
19211         as well as qNaN tests.
19213         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19214         qNaN_var.  Fix a few strings, too.
19215         * math/libm-test.inc (nan_value): Rename to qnan_value.
19216         * math/gen-libm-test.pl (%beautify): Adjust to that.
19217         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19218         * math/test-misc.c (main): Likewise.
19219         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19220         to __qnan_bytes, and __qnan_union, respectively.
19221         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19222         Likewise.
19223         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19224         and lqnanval, respectively.
19225         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19226         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19227         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19228         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19230         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19231         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19232         doubles.
19234         * math/test-misc.c (main): Fix copy'n'pastos.
19235         * misc/tst-efgcvt.c (special): Likewise.
19237         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19238         Remove declarations.
19240 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19242         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19243         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19244         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19245         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19247 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19249         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19250         macro to return vdso values correctly in IFUNC implementations.
19251         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19252         Optimization by using IFUNC.
19254 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19255             Richard Henderson  <rth@redhat.com>
19256             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19258         * Makefile.in (bench): New target.
19259         * NEWS: Mention the benchmark framework.
19260         * Rules (bench): Likewise.
19261         (binaries-bench): Generate binaries for functions to
19262         benchmark.
19263         * benchtests/Makefile: New makefile for benchmark tests.
19264         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19265         programs.
19266         * benchtests/exp-inputs: New input file for EXP function.
19267         * benchtests/pow-inputs: New input file for POW function.
19268         * scripts/bench.pl: New script to generate source files for
19269         benchmark programs.
19271 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19273         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19274         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19275         computations on mantissa.  Use macros for rounding and
19276         division.
19277         (denorm): Likewise.
19278         (__dbl_mp): Likewise.
19279         (add_magnitudes): Likewise.
19280         (sub_magnitudes): Likewise.
19281         (__mul): Likewise.
19282         (__sqr): Likewise.
19283         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19284         powers of two in terms of TWOPOW macro.
19285         (mp_no): Make type of mantissa as MANTISSA_T.
19286         [!RADIXI]: Define RADIXI.
19287         [!TWO52]: Define TWO52.
19288         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19290         * manual/nptl.texi (cindex): Modify threads to pthreads.
19292 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19294         * sysdeps/x86_64/preconfigure: Regenerated.
19296 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19298         [BZ #14155]
19299         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19300         0x1p28 and above.
19301         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19302         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19303         0x1p28 and above.
19304         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19305         * math/libm-test.inc (j0_test): Do not allow one spurious
19306         underflow exception.
19307         (y1_test): Likewise.
19309 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19311         * manual/Makefile (chapters): Add nptl.
19312         * manual/debug.texi (Debugging Support): Add link to Threads
19313         chapter.
19314         * manual/nptl.texi: New file.
19316         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19318 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19320         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19321         for non-NULL pointer before the memory validity test. Pointed
19322         out by Holger Brunck <holger.brunck@keymile.com>.
19324 2013-03-13  Andreas Schwab  <schwab@suse.de>
19326         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19327         instead of .os.
19329 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19331         * timezone/zic.c: Update from tzcode 2013b.
19333 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19335         * manual/install.texi (Configuring and compiling):
19336         Mention i686 and i586.
19337         * INSTALL: Regenerate.
19339 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19341         * sysdeps/init_array/elf-init.c: New file.
19342         * csu/elf-init.c
19343         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19344         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19346         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19347         __gmon_start__ as global, but as static with a .preinit_array pointer.
19348         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19349         * sysdeps/init_array/crti.S: New file, empty except for comments.
19350         * sysdeps/init_array/crtn.S: Likewise.
19352 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19354         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19355         definining bcopy.
19356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19357         Remove Prefer_SSE_for_memop.
19358         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19359         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19360         HAS_PREFER_SSE_FOR_MEMOP.
19361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19362         memset-x86-64.
19363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19364         Remove bzero, memset ifunc support.
19365         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19366         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19367         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19368         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19370 2013-03-11  Andreas Schwab  <schwab@suse.de>
19372         [BZ #15234]
19373         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19374         by SHLIB_COMPAT.
19375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19376         (GLIBC_2.16): Remove pthread_atfork.
19378 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19380         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19381         (ptestcases.h): Likewise.
19383 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19385         * Makeconfig ($(common-objpfx)config.status): Depend on
19386         sysdeps/*/preconfigure{,.in} too.
19388 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19390         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19391         (__free_hook): Use void * instead of __malloc_ptr_t.
19392         (__malloc_hook): Likewise.
19393         (__realloc_hook): Likewise.
19394         (__memalign_hook): Likewise.
19395         (__after_morecore_hook): Likewise.
19396         * malloc/arena.c (save_malloc_hook): Likewise.
19397         (save_free_hook): Likewise.
19398         * malloc/hooks.c (malloc_hook_ini): Likewise.
19399         (realloc_hook_ini): Likewise.
19400         (memalign_hook_ini): Likewise.
19401         * malloc/malloc.c (malloc_hook_ini): Likewise.
19402         (realloc_hook_ini): Likewise.
19403         (memalign_hook_ini): Likewise.
19404         (__free_hook): Likewise.
19405         (__malloc_hook): Likewise.
19406         (__realloc_hook): Likewise.
19407         (__memalign_hook): Likewise.
19408         (__libc_malloc): Likewise.
19409         (__libc_free): Likewise.
19410         (__libc_realloc): Likewise.
19411         (__libc_memalign): Likewise.
19412         (__libc_valloc): Likewise.
19413         (__libc_pvalloc): Likewise.
19414         (__libc_calloc): Likewise.
19415         (__posix_memalign): Likewise.
19416         * malloc/morecore.c (__sbrk): Likewise.
19417         (__default_morecore): Likewise.
19419         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19421         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19422         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19423         __malloc_ptrdiff_t.
19425         * malloc/malloc.h (__malloc_size_t): Remove macro.
19426         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19427         __malloc_size_t.
19428         (old_memalign_hook): Likewise.
19429         (old_realloc_hook): Likewise.
19430         (struct hdr): Likewise.
19431         (flood): Likewise.
19432         (mallochook): Likewise.
19433         (memalignhook): Likewise.
19434         (reallochook): Likewise.
19435         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19436         (tr_old_realloc_hook): Likewise.
19437         (tr_old_memalign_hook): Likewise.
19438         (tr_mallochook): Likewise.
19439         (tr_reallochook): Likewise.
19440         (tr_memalignhook): Likewise.
19442 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19444         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19445         default_ldbl_pack and using as default implementation.
19446         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19447         implementation.
19448         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19449         redundant definition.
19450         (ldbl_insert_mantissa): Likewise.
19451         (ldbl_canonicalize): Likewise.
19452         (ldbl_nearbyint): Likewise.
19453         (ldbl_pack): Rename to ldbl_pack_ppc.
19454         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19455         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19456         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19458 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19461         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19462         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19463         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19465         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19466         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19467         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19469 2013-03-07  Andreas Jaeger  <aj@suse.de>
19471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19472         bits/mman-linux.h.
19474 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19476         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19477         Include mpa.h and declare __MPEXP.
19478         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19480         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19481         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19483         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19484         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19486         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19487         (__slowpow): Use long double EXPL and LOGL functions to
19488         compute POW.
19489         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19490         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19491         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19492         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19493         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19494         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19497         intermediate variable to calculate exponent.
19498         (__sqr): Likewise.
19499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19500         Likewise.
19501         (__sqr): Likewise.
19503         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19504         [!NO__SQR]: Define __sqr.
19505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19506         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19507         sysdeps/ieee754/dbl-64/mpa.c.
19508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19510         [BZ #12723]
19511         * posix/Makefile (tests): Add tst-pathconf.
19512         * posix/tst-pathconf.c: New test case.
19513         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19514         _PC_PIPE_BUF.
19515         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19517 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19519         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19521 2013-03-06  Andreas Jaeger  <aj@suse.de>
19523         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19524         definition via __MAP_ANONYMOUS.
19526         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19527         it's not part of Linux headers.
19529         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19530         (MAP_HUGE_MASK): Define.
19532         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19533         Define.
19534         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19535         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19536         Define.
19537         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19538         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19539         Define.
19540         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19541         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19542         Define.
19543         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19545         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19546         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19547         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19548         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19549         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19550         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19552         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19553         Handle f2fs.
19555         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19556         Handle f2fs and efivarfs.
19558         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19559         f2fs.
19561         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19562         (EFIVARFS_MAGIC): Add.
19563         (F2FS_LINK_MAX): Add.
19565 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19567         * stdio-common/vfprintf.c: Replace __builtin_expect with
19568         __glibc_unlikely.
19570 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19572         [BZ #13550]
19573         * sysdeps/generic/bp-sym.h: Remove file.
19574         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19575         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19576         <bp-sym.h> and <bp-asm.h>.
19577         (__longjmp): Don't use BP_SYM.
19578         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19579         and <bp-asm.h>.
19580         (memcpy): Don't use BP_SYM.
19581         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19582         <bp-sym.h> and <bp-asm.h>.
19583         (memcpy): Don't use BP_SYM.
19584         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19585         <bp-asm.h>.
19586         (memcpy): Don't use BP_SYM.
19587         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19588         <bp-asm.h>.
19589         (memset): Don't use BP_SYM.
19590         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19591         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19592         (__bzero): Don't use BP_SYM.
19593         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19594         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19595         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19596         <bp-sym.h> and <bp-asm.h>.
19597         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19598         pointers.
19599         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19600         <bp-sym.h> and <bp-asm.h>.
19601         (memcpy): Don't use BP_SYM.
19602         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19603         <bp-sym.h> and <bp-asm.h>.
19604         (memset): Don't use BP_SYM.
19605         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19606         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19607         (__bzero): Don't use BP_SYM.
19608         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19609         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19610         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19611         <bp-sym.h> and <bp-asm.h>.
19612         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19613         pointers.
19614         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19615         <bp-sym.h> and <bp-asm.h>.
19616         (memcpy): Don't use BP_SYM.
19617         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19618         <bp-sym.h> and <bp-asm.h>.
19619         (memset): Don't use BP_SYM.
19620         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19621         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19622         (__bzero): Don't use BP_SYM.
19623         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19624         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19626         <bp-sym.h> and <bp-asm.h>.
19627         (__memchr): Don't use BP_SYM.
19628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19629         <bp-sym.h> and <bp-asm.h>.
19630         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19631         pointers.
19632         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19633         <bp-sym.h> and <bp-asm.h>.
19634         (memcpy): Don't use BP_SYM.
19635         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19636         <bp-sym.h> and <bp-asm.h>.
19637         (__mempcpy): Don't use BP_SYM.
19638         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19639         <bp-sym.h> and <bp-asm.h>.
19640         (__memrchr): Don't use BP_SYM.
19641         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19642         <bp-sym.h> and <bp-asm.h>.
19643         (memset): Don't use BP_SYM.
19644         (__bzero): Likewise.
19645         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19646         <bp-sym.h> and <bp-asm.h>.
19647         (__rawmemchr): Don't use BP_SYM.
19648         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19649         <bp-sym.h> and <bp-asm.h>.
19650         (__STRCMP): Don't use BP_SYM.
19651         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19652         <bp-sym.h> and <bp-asm.h>.
19653         (strchr): Don't use BP_SYM.
19654         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19655         <bp-sym.h> and <bp-asm.h>.
19656         (__strchrnul): Don't use BP_SYM.
19657         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19658         <bp-sym.h> and <bp-asm.h>.
19659         (strlen): Don't use BP_SYM.
19660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19661         <bp-sym.h> and <bp-asm.h>.
19662         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19663         pointers.
19664         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19665         <bp-sym.h> and <bp-asm.h>.
19666         (__strnlen): Don't use BP_SYM.
19667         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19668         <bp-sym.h> and <bp-asm.h>.
19669         (__GI__setjmp): Don't use BP_SYM.
19670         (_setjmp): Likewise.
19671         (__sigsetjmp): Likewise.
19672         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19673         (L(start_addresses)): Don't use BP_SYM.
19674         (_start): Likewise.
19675         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19676         <bp-asm.h>.
19677         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19678         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19679         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19680         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19681         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19682         <bp-asm.h>.
19683         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19684         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19685         about bounded pointers.
19686         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19687         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19688         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19689         <bp-asm.h>.
19690         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19691         about bounded pointers.  Remove GKM FIXME comments.
19692         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19693         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19694         <bp-asm.h>.
19695         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19696         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19697         Remove GKM FIXME comments.
19698         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19699         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19700         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19701         <bp-asm.h>.
19702         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19703         about bounded pointers.  Remove GKM FIXME comment.
19704         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19705         and <bp-asm.h>.
19706         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19707         pointers.
19708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19709         <bp-sym.h> and <bp-asm.h>.
19710         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19712         <bp-sym.h> and <bp-asm.h>.
19713         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19714         comment.
19716 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19718         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19719         call free(NULL).
19721 2013-03-05  David S. Miller  <davem@davemloft.net>
19723         * po/es.po: Update from translation team.
19725 2013-03-05  Andreas Jaeger  <aj@suse.de>
19727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19728         <bits/mman-linux.h>.
19729         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19730         is fine.
19731         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19732         <bits/mman-linux.h> to end of file.
19733         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19734         is fine.
19735         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19736         <bits/mman-linux.h> to end of file.
19737         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19738         is fine.
19739         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19740         <bits/mman-linux.h> to end of file.
19742         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19743         (MCL_CURRENT, MCL_FUTURE): Define here.
19745 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19747         [BZ #15232]
19748         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19749         attribute_hidden.
19750         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19752 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19754         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19755         fourth parameter needed for rt_sigprocmask syscall.
19756         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19757         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19758         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19759         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19760         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19761         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19763 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19765         [BZ #13550]
19766         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19767         comment about bounded pointers.
19768         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19769         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19771 2013-03-04  Andreas Jaeger  <aj@suse.de>
19773         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19774         common definitions.
19776         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19777         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19778         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19780         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19783 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19785         [BZ #15055]
19786         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19787         __ieee754_sqrl instead of __sqrl.
19789 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19791         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19792         * sysdeps/powerpc/fpu_control.h: ... here.
19793         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19794         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19795         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19796         * sysdeps/powerpc/bits/mathinline.h: ... here.
19798 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19800         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19801         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19802         to just [NEED_DL_SYSINFO_DSO].
19803         * elf/dl-support.c: Likewise.
19804         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19805         * elf/rtld.c (dl_main): Likewise.
19806         * elf/setup-vdso.h (setup_vdso): Likewise.
19807         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19808         * sysdeps/unix/sysv/linux/dl-sysdep.c
19809         (_dl_discover_osversion): Likewise.
19811 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19813         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19814         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19816 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19818         * NEWS: Mention libm performance improvements and non-x86 PI
19819         futex support.
19821         * csu/libc-start.c (__pthread_initialize_minimal): Change
19822         function arguments.
19823         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19825 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19827         [BZ #13550]
19828         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19829         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19830         <bp-sym.h> and <bp-asm.h>.
19831         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19832         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19833         and <bp-asm.h>.
19834         (memcpy): Don't use BP_SYM.
19835         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19836         <bp-asm.h>.
19837         (__mpn_add_n): Don't use BP_SYM.
19838         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19839         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19840         and <bp-asm.h>.
19841         (__mpn_addmul_1): Don't use BP_SYM.
19842         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19843         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19844         <bp-sym.h>.
19845         (_setjmp): Don't use BP_SYM.
19846         (__novmx_setjmp): Likewise.
19847         (__GI__setjmp): Likewise.
19848         (__vmx_setjmp): Likewise.
19849         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19850         <bp-sym.h>.
19851         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19852         (__bzero): Don't use BP_SYM.
19853         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19854         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19855         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19856         <bp-sym.h> and <bp-asm.h>.
19857         (memcpy): Don't use BP_SYM.
19858         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19859         <bp-sym.h> and <bp-asm.h>.
19860         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19862         <bp-sym.h> and <bp-asm.h>.
19863         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19864         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19865         <bp-asm.h>.
19866         (__mpn_lshift): Don't use BP_SYM.
19867         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19868         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19869         <bp-asm.h>.
19870         (memset): Don't use BP_SYM.
19871         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19872         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19873         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19874         <bp-asm.h>.
19875         (__mpn_mul_1): Don't use BP_SYM.
19876         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19878         <bp-sym.h> and <bp-asm.h>.
19879         (memcmp): Don't use BP_SYM.
19880         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19881         <bp-sym.h> and <bp-asm.h>.
19882         (memcpy): Don't use BP_SYM.
19883         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19884         <bp-sym.h> and <bp-asm.h>.
19885         (memset): Don't use BP_SYM.
19886         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19887         <bp-sym.h> and <bp-asm.h>.
19888         (strncmp): Don't use BP_SYM.
19889         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19890         <bp-sym.h> and <bp-asm.h>.
19891         (memcpy): Don't use BP_SYM.
19892         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19893         <bp-sym.h> and <bp-asm.h>.
19894         (memset): Don't use BP_SYM.
19895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19896         <bp-sym.h> and <bp-asm.h>.
19897         (__memchr): Don't use BP_SYM.
19898         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19899         <bp-sym.h> and <bp-asm.h>.
19900         (memcmp): Don't use BP_SYM.
19901         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19902         <bp-sym.h> and <bp-asm.h>.
19903         (memcpy): Don't use BP_SYM.
19904         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19905         <bp-sym.h> and <bp-asm.h>.
19906         (__mempcpy): Don't use BP_SYM.
19907         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19908         <bp-sym.h> and <bp-asm.h>.
19909         (__memrchr): Don't use BP_SYM.
19910         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19911         <bp-sym.h> and <bp-asm.h>.
19912         (memset): Don't use BP_SYM.
19913         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19914         <bp-sym.h> and <bp-asm.h>.
19915         (__rawmemchr): Don't use BP_SYM.
19916         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19917         <bp-sym.h> and <bp-asm.h>.
19918         (__STRCMP): Don't use BP_SYM.
19919         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19920         <bp-sym.h> and <bp-asm.h>.
19921         (strchr): Don't use BP_SYM.
19922         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19923         <bp-sym.h> and <bp-asm.h>.
19924         (__strchrnul): Don't use BP_SYM.
19925         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19926         <bp-sym.h> and <bp-asm.h>.
19927         (strlen): Don't use BP_SYM.
19928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19929         <bp-sym.h> and <bp-asm.h>.
19930         (strncmp): Don't use BP_SYM.
19931         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19932         <bp-sym.h> and <bp-asm.h>.
19933         (__strnlen): Don't use BP_SYM.
19934         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19935         <bp-asm.h>.
19936         (__mpn_rshift): Don't use BP_SYM.
19937         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19938         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19939         <bp-sym.h> and <bp-asm.h>.
19940         (__sigsetjmp): Don't use BP_SYM.
19941         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19942         (L(start_addresses)): Don't use BP_SYM.
19943         (_start): Likewise.
19944         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19945         <bp-asm.h>.
19946         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19947         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19948         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19949         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19950         <bp-asm.h>.
19951         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19952         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19953         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19954         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19955         <bp-asm.h>.
19956         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19957         comments.
19958         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19959         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19960         <bp-asm.h>.
19961         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
19962         FIXME comments.
19963         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19964         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19965         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19966         <bp-asm.h>.
19967         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19968         comment.
19969         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19970         and <bp-asm.h>.
19971         (strncmp): Don't use BP_SYM,
19972         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19973         <bp-asm.h>.
19974         (__mpn_sub_n): Don't use BP_SYM.
19975         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19976         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19977         and <bp-asm.h>.
19978         (__mpn_submul_1): Don't use BP_SYM.
19979         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19981         <bp-sym.h> and <bp-asm.h>.
19982         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19984         <bp-sym.h> and <bp-asm.h>.
19985         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19986         comment.
19988 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19991         Use ZK to minimize writes to Z.
19992         (sub_magnitudes): Simplify code a bit.
19993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19994         Use ZK to minimize writes to Z.
19995         (sub_magnitudes): Simplify code a bit.
19997 2013-02-27  Roland McGrath  <roland@hack.frob.com>
19999         * csu/gmon-start.c: Add special exception to license text.
20001 2013-02-27  Richard Henderson  <rth@redhat.com>
20003         * scripts/config.guess: Update from config.git.
20004         * scripts/config.sub: Likewise.
20006 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20008         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20010         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20012         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20014         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20016         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20018 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20020         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20021         [$(build-shared = yes].
20023 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20025         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20026         (__mul): Reduce iterations for calculating mantissa.
20028         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20029         MPTWO.
20030         (__mpranred): Likewise.
20032         [BZ #15160]
20033         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20034         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20036 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20038         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20039         Define __attribute__.
20041 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20043         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20044         unused.
20045         * posix/regex_internal.h (__attribute): Remove.
20046         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20047         (re_string_context_at): Likewise.
20048         (bitset_not): Use __attribute__ and mark function as possibly
20049         unused.
20050         (bitset_merge): Likewise.
20051         (bitset_mask): Likewise.
20052         (re_string_char_size_at): Likewise.
20053         (re_string_wchar_at): Likewise.
20054         (re_string_elem_size_at): Likewise.
20056 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20058         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20059         code.
20060         (cc32): Likewise.
20062         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20063         (__acr): Likewise.
20064         (__cpy): Likewise.
20065         (norm): Likewise.
20066         (denorm): Likewise.
20067         (__dbl_mp): Likewise.
20068         (add_magnitudes): Likewise.
20069         (sub_magnitudes): Likewise.
20070         (__mul): Likewise.
20071         (__inv): Likewise.
20073         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20074         style.
20076         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20077         style.
20079         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20080         code.
20082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20083         up changes with default code.
20084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20085         Likewise.
20087 2013-02-24  Allan McRae  <allan@archlinux.org>
20089         * manual/socket.texi (The Internet Namespace): Order menu items
20090         to match that in the file.
20092         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20093         node listing of the info page menu.
20095 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20097         [BZ #13550]
20098         * sysdeps/i386/bp-asm.h: Remove file.
20099         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20100         (PARMS): Do not use macros from bp-asm.h.
20101         (S1): Likewise.
20102         (S2): Likewise.
20103         (SIZE): Likewise.
20104         (__mpn_add_n): Do not use BP_SYM
20105         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20106         "bp-asm.h".
20107         (PARMS): Do not use macros from bp-asm.h.
20108         (S1): Likewise.
20109         (SIZE): Likewise.
20110         (__mpn_addmul_1): Do not use BP_SYM
20111         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20112         "bp-asm.h".
20113         (PARMS): Do not use macros from bp-asm.h.
20114         (SIGMSK): Likewise.
20115         (_setjmp): Likewise.  Do not use BP_SYM.
20116         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20117         "bp-asm.h".
20118         (PARMS): Do not use macros from bp-asm.h.
20119         (SIGMSK): Likewise.
20120         (setjmp): Likewise.  Do not use BP_SYM.
20121         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20122         "bp-asm.h".
20123         (PARMS): Do not use macros from bp-asm.h.
20124         (__frexp): Do not use BP_SYM.
20125         (frexp): Likewise.
20126         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20127         "bp-asm.h".
20128         (PARMS): Do not use macros from bp-asm.h.
20129         (__frexpf): Do not use BP_SYM.
20130         (frexpf): Likewise.
20131         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20132         "bp-asm.h".
20133         (PARMS): Do not use macros from bp-asm.h.
20134         (__frexpl): Do not use BP_SYM.
20135         (frexpl): Likewise.
20136         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20137         "bp-asm.h".
20138         (PARMS): Do not use macros from bp-asm.h.
20139         (__remquo): Do not use BP_SYM.
20140         (remquo): Likewise.
20141         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20142         "bp-asm.h".
20143         (PARMS): Do not use macros from bp-asm.h.
20144         (__remquof): Do not use BP_SYM.
20145         (remquof): Likewise.
20146         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20147         "bp-asm.h".
20148         (PARMS): Do not use macros from bp-asm.h.
20149         (__remquol): Do not use BP_SYM.
20150         (remquol): Likewise.
20151         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20152         "bp-asm.h".
20153         (PARMS): Do not use macros from bp-asm.h.
20154         (DEST): Likewise.
20155         (SRC): Likewise.
20156         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20157         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20158         "bp-asm.h".
20159         (PARMS): Do not use macros from bp-asm.h.
20160         (strlen): Do not use BP_SYM.
20161         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20162         "bp-asm.h".
20163         (PARMS): Do not use macros from bp-asm.h.
20164         (S1): Likewise.
20165         (S2): Likewise.
20166         (SIZE): Likewise.
20167         (__mpn_add_n): Do not use BP_SYM.
20168         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20169         "bp-asm.h".
20170         (PARMS): Do not use macros from bp-asm.h.
20171         (S1): Likewise.
20172         (SIZE): Likewise.
20173         (__mpn_addmul_1): Do not use BP_SYM.
20174         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20175         weak_alias.
20176         (bzero): Likewise.
20177         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20178         "bp-asm.h".
20179         (PARMS): Do not use macros from bp-asm.h.
20180         (S): Likewise.
20181         (SIZE): Likewise.
20182         (__mpn_lshift): Do not use BP_SYM.
20183         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20184         "bp-asm.h".
20185         (PARMS): Do not use macros from bp-asm.h.
20186         (DEST): Likewise.
20187         (SRC): Likewise.
20188         (LEN): Likewise.
20189         (memcpy): Likewise.  Do not use BP_SYM.
20190         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20191         libc_hidden_def and weak_alias.
20192         (mempcpy): Do not use BP_SYM in weak_alias.
20193         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20194         "bp-asm.h".
20195         (PARMS): Do not use macros from bp-asm.h.
20196         (DEST): Likewise.
20197         (LEN): Likewise.
20198         [!BZERO_P] (CHR): Likewise.
20199         (memset): Likewise.  Do not use BP_SYM.
20200         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20201         "bp-asm.h".
20202         (PARMS): Do not use macros from bp-asm.h.
20203         (S1): Likewise.
20204         (SIZE): Likewise.
20205         (__mpn_mul_1): Do not use BP_SYM.
20206         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20207         "bp-asm.h".
20208         (PARMS): Do not use macros from bp-asm.h.
20209         (S): Likewise.
20210         (SIZE): Likewise.
20211         (__mpn_rshift): Do not use BP_SYM.
20212         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20213         "bp-asm.h".
20214         (PARMS): Do not use macros from bp-asm.h.
20215         (STR): Likewise.
20216         (CHR): Likewise.
20217         (strchr): Likewise.  Do not use BP_SYM.
20218         (index): Do not use BP_SYM in weak_alias.
20219         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20220         "bp-asm.h".
20221         (PARMS): Do not use macros from bp-asm.h.
20222         (DEST): Likewise.
20223         (SRC): Likewise.
20224         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20225         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20226         "bp-asm.h".
20227         (PARMS): Do not use macros from bp-asm.h.
20228         (strlen): Do not use BP_SYM.
20229         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20230         "bp-asm.h".
20231         (PARMS): Do not use macros from bp-asm.h.
20232         (S1): Likewise.
20233         (S2): Likewise.
20234         (SIZE): Likewise.
20235         (__mpn_sub_n): Do not use BP_SYM.
20236         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20237         "bp-asm.h".
20238         (PARMS): Do not use macros from bp-asm.h.
20239         (S1): Likewise.
20240         (SIZE): Likewise.
20241         (__mpn_submul_1): Do not use BP_SYM.
20242         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20243         "bp-asm.h".
20244         (PARMS): Do not use macros from bp-asm.h.
20245         (S1): Likewise.
20246         (S2): Likewise.
20247         (SIZE): Likewise.
20248         (__mpn_add_n): Do not use BP_SYM.
20249         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20250         weak_alias.
20251         (bzero): Likewise.
20252         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20253         "bp-asm.h".
20254         (PARMS): Do not use macros from bp-asm.h.
20255         (BLK2): Likewise.
20256         (LEN): Likewise.
20257         (memcmp): Do not use BP_SYM.
20258         (bcmp): Do not use BP_SYM in weak_alias.
20259         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20260         "bp-asm.h".
20261         (PARMS): Do not use macros from bp-asm.h.
20262         (DEST): Likewise.
20263         (SRC): Likewise.
20264         (LEN): Likewise.
20265         (memcpy): Likewise.  Do not use BP_SYM.
20266         * sysdeps/i386/i686/memmove.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         (SRC): Likewise.
20271         (LEN): Likewise.
20272         (memmove): Likewise.  Do not use BP_SYM.
20273         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20274         "bp-asm.h".
20275         (PARMS): Do not use macros from bp-asm.h.
20276         (DEST): Likewise.
20277         (SRC): Likewise.
20278         (LEN): Likewise.
20279         (__mempcpy): Likewise.  Do not use BP_SYM.
20280         (mempcpy): Do not use BP_SYM in weak_alias.
20281         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20282         "bp-asm.h".
20283         (PARMS): Do not use macros from bp-asm.h.
20284         (DEST): Likewise.
20285         (LEN): Likewise.
20286         [!BZERO_P] (CHR): Likewise.
20287         (memset): Likewise.  Do not use BP_SYM.
20288         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20289         "bp-asm.h".
20290         (PARMS): Do not use macros from bp-asm.h.
20291         (STR2): Likewise.
20292         (strcmp): Do not use BP_SYM.
20293         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20294         "bp-asm.h".
20295         (PARMS): Do not use macros from bp-asm.h.
20296         (STR): Likewise.
20297         (DELIM): Likewise.
20298         [USE_AS_STRTOK_R] (SAVE): Likewise.
20299         (FUNCTION): Likewise.  Do not use BP_SYM.
20300         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20301         aliases.
20302         (strtok_r): Likewise.
20303         (__GI___strtok_r): Likewise.
20304         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20305         (PARMS): Do not use macros from bp-asm.h.
20306         (S): Likewise.
20307         (SIZE): Likewise.
20308         (__mpn_lshift): Do not use BP_SYM.
20309         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20310         (PARMS): Do not use macros from bp-asm.h.
20311         (STR): Likewise.
20312         (CHR): Likewise.
20313         (__memchr): Do not use BP_SYM.
20314         (memchr): Do not use BP_SYM in weak_alias.
20315         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20316         (PARMS): Do not use macros from bp-asm.h.
20317         (BLK2): Likewise.
20318         (LEN): Likewise.
20319         (memcmp): Do not use BP_SYM.
20320         (bcmp): Do not use BP_SYM in weak_alias.
20321         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20322         (PARMS): Do not use macros from bp-asm.h.
20323         (S1): Likewise.
20324         (SIZE): Likewise.
20325         (__mpn_mul_1): Do not use BP_SYM.
20326         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20327         "bp-asm.h".
20328         (PARMS): Do not use macros from bp-asm.h.
20329         (STR): Likewise.
20330         (CHR): Likewise.
20331         (__rawmemchr): Do not use BP_SYM.
20332         (rawmemchr): Do not use BP_SYM in weak_alias.
20333         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20334         (PARMS): Do not use macros from bp-asm.h.
20335         (S): Likewise.
20336         (SIZE): Likewise.
20337         (__mpn_rshift): Do not use BP_SYM.
20338         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20339         (PARMS): Do not use macros from bp-asm.h.
20340         (SIGMSK): Likewise.
20341         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20342         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20343         (_start): Do not use BP_SYM.
20344         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20345         (PARMS): Do not use macros from bp-asm.h.
20346         (DEST): Likewise.
20347         (SRC): Likewise.
20348         (__stpcpy): Likewise.  Do not use BP_SYM.
20349         (stpcpy): Do not use BP_SYM in weak_alias.
20350         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20351         "bp-asm.h".
20352         (PARMS): Do not use macros from bp-asm.h.
20353         (DEST): Likewise.
20354         (SRC): Likewise.
20355         (LEN): Likewise.
20356         (__stpncpy): Likewise.  Do not use BP_SYM.
20357         (stpncpy): Do not use BP_SYM in weak_alias.
20358         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20359         (PARMS): Do not use macros from bp-asm.h.
20360         (STR): Likewise.
20361         (CHR): Likewise.
20362         (strchr): Likewise.  Do not use BP_SYM.
20363         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20364         "bp-asm.h".
20365         (PARMS): Do not use macros from bp-asm.h.
20366         (STR): Likewise.
20367         (CHR): Likewise.
20368         (__strchrnul): Likewise.  Do not use BP_SYM.
20369         (strchrnul): Do not use BP_SYM in weak_alias.
20370         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20371         "bp-asm.h".
20372         (PARMS): Do not use macros from bp-asm.h.
20373         (STOP): Likewise.
20374         (strcspn): Do not use BP_SYM.
20375         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20376         "bp-asm.h".
20377         (PARMS): Do not use macros from bp-asm.h.
20378         (STR): Likewise.
20379         (STOP): Likewise.
20380         (strpbrk): Likewise.  Do not use BP_SYM.
20381         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20382         "bp-asm.h".
20383         (PARMS): Do not use macros from bp-asm.h.
20384         (STR): Likewise.
20385         (CHR): Likewise.
20386         (strrchr): Likewise.  Do not use BP_SYM.
20387         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20388         (PARMS): Do not use macros from bp-asm.h.
20389         (SKIP): Likewise.
20390         (strspn): Do not use BP_SYM.
20391         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20392         (PARMS): Do not use macros from bp-asm.h.
20393         (STR): Likewise.
20394         (DELIM): Likewise.
20395         (SAVE): Likewise.
20396         (FUNCTION): Likewise.  Do not use BP_SYM.
20397         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20398         aliases.
20399         (strtok_r): Likewise.
20400         (__GI___strtok_r): Likewise.
20401         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20402         (PARMS): Do not use macros from bp-asm.h.
20403         (S1): Likewise.
20404         (S2): Likewise.
20405         (SIZE): Likewise.
20406         (__mpn_sub_n): Do not use BP_SYM.
20407         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20408         "bp-asm.h".
20409         (PARMS): Do not use macros from bp-asm.h.
20410         (S1): Likewise.
20411         (SIZE): Likewise.
20412         (__mpn_submul_1): Do not use BP_SYM.
20413         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20414         <bp-sym.h>.
20415         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20416         and <bp-asm.h>.
20417         (PARMS): Do not use macros from bp-asm.h.
20418         (FLAGS): Likewise.
20419         (PTID): Likewise.
20420         (TLS): Likewise.
20421         (CTID): Likewise.
20422         (__clone): Do not use BP_SYM.
20423         (clone): Do not use BP_SYM in weak_alias.
20424         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20425         and <bp-asm.h>.
20426         (PARMS): Do not use macros from bp-asm.h.
20427         (LEN): Likewise.
20428         (__mmap64): Do not use BP_SYM.
20429         (mmap64): Do not use BP_SYM in weak_alias.
20430         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20431         <bp-sym.h> and <bp-asm.h>.
20432         (PARMS): Do not use macros from bp-asm.h.
20433         (__posix_fadvise64_l64): Do not use BP_SYM.
20434         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20435         (PARMS): Do not use macros from bp-asm.h.
20436         (NSOPS): Likewise.
20437         (semtimedop): Do not use BP_SYM.
20438         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20439         and <bp-asm.h>.
20441 2013-02-21  Allan McRae  <allan@archlinux.org>
20443         * manual/message.texi (Charset conversion in gettext):
20444         Move @end statement to beginning of line.
20446 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20449         static.
20450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20451         Likewise.
20453         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20454         (denorm): Likewise.
20455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20458 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20460         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20461         tail-call to the resolved function if pltexit isn't needed.
20463 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20466         or Y being zero as being unlikely.
20467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20468         Likewise.
20470 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20472         * manual/nss.texi (System Databases and Name Service Switch):
20473         Remove frobnicate @pxref.
20475 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20477         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20478         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20480 2013-02-20  Petr Machata  <pmachata@redhat.com>
20482         * elf/elf.h (R_ARM_TARGET1): New macro.
20483         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20484         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20485         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20486         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20487         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20488         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20489         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20490         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20491         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20492         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20493         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20494         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20495         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20496         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20497         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20498         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20499         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20500         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20501         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20502         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20503         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20504         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20505         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20506         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20507         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20508         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20509         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20510         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20511         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20512         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20513         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20514         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20515         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20516         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20517         (R_ARM_THM_GOT_BREL12): Likewise.
20518         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20519         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20520         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20521         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20522         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20523         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20524         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20525         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20526         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20528 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20530         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20531         __attribute_used__ to __attribute__ ((unused)).
20533 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20535         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20536         powerpc mpa.c.
20537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20538         comment formatting.
20539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20541 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20543         [BZ #13550]
20544         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20545         Remove macro.
20546         (ENTER): Remove both macro definitions.
20547         (LEAVE): Likewise.
20548         (CHECK_BOUNDS_LOW): Likewise.
20549         (CHECK_BOUNDS_HIGH): Likewise.
20550         (CHECK_BOUNDS_BOTH): Likewise.
20551         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20552         (RETURN_BOUNDED_POINTER): Likewise.
20553         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20554         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20555         (POP_ERRNO_LOCATION_RETURN): Likewise.
20556         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20558         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20559         macros.
20560         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20561         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20562         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20563         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20564         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20565         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20566         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20567         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20568         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20569         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20570         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20571         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20572         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20573         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20574         removed macros.
20575         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20576         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20577         macros.
20578         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20579         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20580         * sysdeps/i386/i586/memset.S (memset): Likewise.
20581         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20582         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20583         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20584         macros.
20585         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20586         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20587         Change uses of L(2) to L(out).
20588         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20589         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20590         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20591         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20592         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20593         removed macros.
20594         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20595         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20596         macros.
20597         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20598         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20599         (RETURN): Do not use macro LEAVE.
20600         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20601         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20602         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20603         * sysdeps/i386/i686/memset.S (memset): Likewise.
20604         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20605         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20606         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20607         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20608         Likewise.
20609         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20610         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20611         L(1_2) and L(1_3) into L(1).
20612         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20613         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20614         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20615         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20616         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20617         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20618         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20619         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20620         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20621         macros.
20622         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20623         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20624         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20625         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20626         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20627         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20628         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20629         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20630         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20631         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20632         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20633         * sysdeps/i386/strspn.S (strspn): Likewise.
20634         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20635         conditional code.
20636         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20637         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20638         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20639         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20640         L(1_3) into L(1_1).
20641         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20642         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20643         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20644         macros.
20645         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20647 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20649         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20650         macro.
20652 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20654         * math/atest-exp.c (exp_mpn): Remove ROUND.
20655         * math/atest-exp2.c (exp_mpn): Likewise.
20656         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20658         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20659         * stdlib/tst-tls-atexit-lib.c: Likewise.
20660         * stdlib/tst-tls-atexit.c: Likewise.
20662 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20664         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20665         and __attribute_alloc_size__.
20667 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20669         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20670         __attribute_alloc_size__.
20671         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20672         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20674 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20676         * include/programs/xmalloc.h: New file.
20677         * catgets/gencat.c: Include it.
20678         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20679         * elf/pldd.c: Likewise.
20680         * iconv/iconv_charmap.c: Likewise.
20681         * iconv/iconvconfig.c: Likewise.
20682         * iconv/strtab.c: Likewise.
20683         * locale/programs/locale.c: Likewise.
20684         * locale/programs/localedef.h: Likewise.
20685         * locale/programs/simple-hash.c: Likewise.
20686         * nscd/nscd.h: Likewise.
20687         * nss/makedb.c: Likewise.
20688         * sysdeps/generic/ldconfig.h: Likewise.
20690 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20692         * Versions.def: Add GLIBC_2.18.
20693         * include/link.h (struct link_map): New member l_tls_dtor_count.
20694         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20695         (__call_tls_dtors): Likewise.
20696         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20697         __cxa_thread_atexit_impl.
20698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20699         Likewise.
20700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20701         Likewise.
20702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20703         Likewise.
20704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20705         Likewise.
20706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20708         Likewise.
20709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20710         Likewise.
20711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20713         Likewise.
20714         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20715         (tests): Add test case tst-tls-atexit.
20716         (modules-names): Add shared library for tst-tls-atexit.
20717         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20718         (GLIBC_PRIVATE): Add __call_tls_dtors.
20719         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20720         for libstdc++.
20721         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20722         * stdlib/tst-tls-atexit.c: New test case.
20723         * stdlib/tst-tls-atexit-lib.c: New test case.
20725         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20727         * elf/Versions (ld): Add _dl_find_dso_for_object.
20728         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20729         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20730         (dl_open_worker): Use _dl_find_dso_for_object.
20731         * elf/dl-sym.c (do_sym): Likewise.
20732         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20734 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20736         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20737         Syntactic changes only.
20738         (_dl_runtime_profile): Do a tail-call to the resolved function.
20740 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20742         [BZ #13550]
20743         * sysdeps/x86_64/bp-asm.h: Remove file.
20744         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20745         <bp-sym.h> and <bp-asm.h>.
20746         (__clone): Do not use BP_SYM.
20747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20748         <bp-sym.h> and <bp-asm.h>.
20749         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20750         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20751         "bp-asm.h".
20752         (_setjmp): Do not use BP_SYM.
20753         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20754         "bp-asm.h".
20755         (setjmp): Do not use BP_SYM.
20756         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20757         libc_hidden_def.
20758         (mempcpy): Do not use BP_SYM in weak_alias.
20759         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20760         "bp-asm.h".
20761         (strchr): Do not use BP_SYM.
20762         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20763         "bp-asm.h".
20764         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20765         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20766         (_start): Do not use BP_SYM.
20767         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20768         "bp-asm.h".
20769         (strcat): Do not use BP_SYM.
20770         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20771         "bp-asm.h".
20772         (STRCMP): Do not use BP_SYM.
20773         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20774         "bp-asm.h".
20775         (STRCPY): Do not use BP_SYM.
20776         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20777         "bp-asm.h".
20778         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20779         "bp-asm.h".
20780         (FUNCTION): Do not use BP_SYM.
20781         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20782         weak_alias.
20783         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20785 2013-02-17  Andreas Jaeger  <aj@suse.de>
20787         * time/Versions: Sort entries.
20788         * string/Versions: Likewise.
20789         * resolv/Versions: Likewise.
20790         * posix/Versions: Likewise.
20791         * iconv/Versions: Likewise.
20792         * elf/Versions: Likewise.
20793         * wcsmbs/Versions: Likewise.
20795 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20797         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20798         loop termination condition.
20800         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20801         variable to calculate EZ.
20802         (__sqr): Likewise.
20804         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20805         the lower precision input.
20807 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20809         [BZ #13550]
20810         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20811         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20812         (run-via-rtld-prefix): Do not handle %-bp tests.
20813         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20814         (all-object-suffixes): Remove .ob.
20815         (bppfx): Remove variable.
20816         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20817         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20818         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20819         [$(build-bounded) = yes] (libtype.ob): Likewise.
20820         * Makerules (elide-routines.ob): Remove variable.
20821         (do-tests-clean): Do not handle *-bp.out.
20822         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20823         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20824         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20825         (tests): Do not include $(tests-bp.out).
20826         (xtests): Do not include $(xtests-bp.out).
20827         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20828         [$(build-bounded) = yes] ($(addprefix
20829         $(objpfx),$(binaries-bounded))): Remove rule.
20830         ($(objpfx)%-bp.out): Remove rule.
20831         * config.make.in (build-bounded): Remove variable.
20832         * crypt/Makefile [$(build-bounded) = yes]
20833         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20834         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20835         append to variable.
20836         [$(build-bounded) = yes] (install-lib): Likewise.
20837         [$(build-bounded) = yes] (generated): Likewise.
20838         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20839         Remove rule.
20840         * intl/Makefile [$(build-bounded) = yes]
20841         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20842         * math/Makefile [$(build-bounded) = yes]
20843         ($(tests:%=$(objpfx)%-bp): Likewise.
20844         * misc/Makefile [$(build-bounded) = yes]
20845         ($(objpfx)tst-tsearch-bp): Likewise.
20846         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20847         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20848         Remove dependency.
20849         * string/Makefile (o-objects.ob): Remove variable.
20850         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20851         (CFLAGS-.ob): Remove variable.
20852         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20854         both definitions of variable.
20855         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20856         (ASFLAGS-.ob): Remove variable.
20858 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20860         [BZ #13550]
20861         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20862         Remove __BOUNDED_POINTERS__ from condition.
20863         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20864         * string/bits/string2.h [!__NO_STRING_INLINES &&
20865         !__BOUNDED_POINTERS__]: Likewise.
20866         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20867         Likewise.
20868         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20869         Remove conditional code.
20870         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20871         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20872         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20873         condition.
20875         [BZ #13550]
20876         * csu/libc-start.c: Do not include <bp-sym.h>.
20877         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20878         * elf/dl-open.c: Do not include <bp-sym.h>.
20879         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20880         * math/fegetenv.c: Do not include <bp-sym.h>.
20881         (fegetenv): Do not use BP_SYM in versioned symbols.
20882         * nptl/sysdeps/pthread/bits/libc-lockP.h
20883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20884         <bp-sym.h>.
20885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20886         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20888         (__pthread_mutex_destroy): Likewise.
20889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20890         (__pthread_mutex_lock): Likewise.
20891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20892         (__pthread_mutex_trylock): Likewise.
20893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20894         (__pthread_mutex_unlock): Likewise.
20895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20896         (__pthread_mutexattr_init): Likewise.
20897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20898         (__pthread_mutexattr_destroy): Likewise.
20899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20900         (__pthread_mutexattr_settype): Likewise.
20901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20902         (__pthread_rwlock_init): Likewise.
20903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20904         (__pthread_rwlock_destroy): Likewise.
20905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20906         (__pthread_rwlock_rdlock): Likewise.
20907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20908         (__pthread_rwlock_tryrdlock): Likewise.
20909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20910         (__pthread_rwlock_wrlock): Likewise.
20911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20912         (__pthread_rwlock_trywrlock): Likewise.
20913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20914         (__pthread_rwlock_unlock): Likewise.
20915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20916         (__pthread_key_create): Likewise.
20917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20918         (__pthread_setspecific): Likewise.
20919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20920         (__pthread_getspecific): Likewise.
20921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20922         Likewise.
20923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20924         (_pthread_cleanup_push_defer): Likewise.
20925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20926         (_pthread_cleanup_pop_restore): Likewise.
20927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20928         (pthread_setcancelstate): Likewise.
20929         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20930         <bp-sym.h>.
20931         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20932         (memchr): Do not use BP_SYM in weak_alias.
20933         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20934         (fegetenv): Do not use BP_SYM in versioned symbols.
20935         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20936         (fesetenv): Do not use BP_SYM in versioned symbols.
20937         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20938         (feupdateenv): Do not use BP_SYM in versioned symbols.
20939         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20940         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20941         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20942         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20943         (open64): Do not use BP_SYM in weak_alias.
20944         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20945         (fegetenv): Do not use BP_SYM in versioned symbols.
20946         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20947         (fesetenv): Do not use BP_SYM in versioned symbols.
20948         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20949         (feupdateenv): Do not use BP_SYM in versioned symbols.
20950         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20951         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20952         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20953         (feraiseexcept): Do not use BP_SYM in versioned symbols.
20954         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20955         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20956         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20957         <bp-sym.h>.
20958         (__libc_start_main): Do not use BP_SYM.
20960 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20963         redundant return line.
20964         (norm): Likewise.
20965         (denorm): Likewise.
20966         (dbl_mp): Likewise.
20967         (sub_magnitudes): Likewise.
20968         (__add): Likewise.
20969         (__sub): Likewise.
20970         (__mul): Likewise.
20971         (__inv): Likewise.
20972         (__dvd): Likewise.
20973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20974         (norm): Likewise.
20975         (denorm): Likewise.
20976         (dbl_mp): Likewise.
20977         (sub_magnitudes): Likewise.
20978         (__add): Likewise.
20979         (__sub): Likewise.
20980         (__mul): Likewise.
20981         (__inv): Likewise.
20982         (__dvd): Likewise.
20984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20985         instead of __mul.
20986         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20987         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20988         (cc32): Likewise.
20990         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20991         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20993         of __mul for squares.
20994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20995         function
20996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20997         Likewise.
20998         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20999         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21001 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #13550]
21004         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21005         code.
21006         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21007         prototype or function definition.  Rename ubp_* variables and
21008         parameters.  Remove argv definitions conditional on
21009         [__BOUNDED_POINTERS__].
21010         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21011         * elf/dl-runtime.c (_dl_fixup): Likewise.
21012         * include/set-hooks.h (RUN_HOOK): Likewise.
21013         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21014         definition.
21015         * string/strcpy.c (strcpy): Do not use __unbounded.
21016         * sysdeps/generic/frame.h (struct layout): Likewise.
21017         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21018         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21019         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21020         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21021         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21022         (__backtrace): Likewise.
21023         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21024         use __ptrvalue.
21025         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21026         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21027         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21028         Likewise.
21029         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21030         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21031         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21032         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21033         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21034         Do not use __unbounded.
21035         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21036         Rename __unboundedrlimits parameter to rlimits in prototype.
21037         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21038         Do not use __unbounded.
21039         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21040         not use __ptrvalue.
21041         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21042         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21043         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21044         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21045         __ptrvalue or __unbounded.
21046         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21047         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21048         use __unbounded.
21049         (__new_msgctl): Do not use __ptrvalue.
21050         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21051         __unbounded.
21052         (__libc_msgrcv): Do not use __ptrvalue.
21053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21054         startup_info): Do not use __unbounded.
21055         (__libc_start_main): Likewise.  Rename ubp_* variables and
21056         parameters.  Remove argv definitions conditional on
21057         [__BOUNDED_POINTERS__].
21058         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21059         __ptrvalue.
21060         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21061         use __unbounded.
21062         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21063         or __ptrvalue.
21064         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21065         use __unbounded.
21066         (__new_shmctl): Do not use __ptrvalue.
21067         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21068         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21069         Likewise.
21070         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21071         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21072         (__libc_sigaction): Likewise.
21073         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21074         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21075         Likewise.
21076         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21078 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21080         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21082         * string/mempcpy.c: Implement by calling memcpy.
21084 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21089         evaluation.
21091         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21092         values in the mantissa.
21094         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21095         minimize writes to Z.
21096         (sub_magnitudes): Simplify code a bit.
21098 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21100         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21101         from the message.  The linker prefixes all warnings with that already.
21103 2013-02-12  Andreas Schwab  <schwab@suse.de>
21105         [BZ #15078]
21106         * posix/regexec.c (extend_buffers): Add parameter min_len.
21107         (check_matching): Pass minimum needed length.
21108         (clean_state_log_if_needed): Likewise.
21109         (get_subexp): Likewise.
21110         * posix/Makefile (tests): Add bug-regex34.
21111         (bug-regex34-ENV): Define.
21112         * posix/bug-regex34.c: New file.
21114         [BZ #11561]
21115         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21116         elements compare against the byte sequence of it, not its name.
21117         * posix/Makefile (tests): Add bug-regex35.
21118         (bug-regex35-ENV): Define.
21119         * posix/bug-regex35.c: New file.
21121 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21123         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21124         comment.
21125         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21126         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21127         (CHECK_EOL): Add undef.
21129 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21131         * bits/stdlib-bsearch.h: New file.
21132         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21133         * stdlib/stdlib.h: Likewise.
21135 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21137         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21138         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21139         declaration.
21140         * manual/search.texi (Array Search Function): Add missing const in
21141         lfind prototype.
21142         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21143         declaration to use rlim_t.
21144         (Basic Scheduling Functions): Remove erroneous const from
21145         sched_getparam prototype.  Remove erroneous * from
21146         sched_get_priority_max and sched_get_priority_min prototypes.
21147         (Resource Usage): Fix summary @comment on vtimes to refer to
21148         sys/vtimes.h rather than vtimes.h.
21149         Add missing *s in vtimes prototype.
21150         (Limits on Resources): Fix ulimit prototype to return long int.
21151         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21152         prototypes to use long int rather than double.
21153         (BSD Random): Fix initstate and setstate to use char *, not void *.
21154         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21155         prototype to make second argument 'struct aiocb64 *const[]'.
21156         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21157         (Status of AIO Operations): Remove erroneous const in aio_return and
21158         aio_return64 prototypes.
21159         (Synchronizing I/O): Fix sync prototype to return void.
21160         * manual/startup.texi (Suboptions): Remove an erroneous const in
21161         getsubopt prototype.
21162         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21163         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21164         use size_t rather than int.
21165         (Scanning All Users): Likewise for getpwent_r.
21166         (Setting Groups): Add missing const to setgroups prototype.
21167         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21168         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21169         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21170         'const void *' rather than 'const char *'.
21171         (Host Address Functions): Likewise for inet_ntop.
21172         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21173         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21174         ssize_t for return value.
21175         (Sending Data): Likewise for send, sendto, sendmsg.
21176         (Socket Option Functions): Add a missing const in setsockopt prototype.
21177         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21178         use wchar_t for the argument.
21179         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21180         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21181         take no arguments.
21182         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21183         double/float/long double for second argument.
21184         Fix return types of significand, significandf, significandl.
21185         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21186         argument in fchmod prototype.
21187         (File Owner): Use uid_t and gid_t in fchown prototype.
21188         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21189         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21190         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21191         use 'const struct dirent **' as argument types to CMP function pointer
21192         argument.
21193         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21194         (File Times): Fix summary magic @comment for struct utimbuf and utime
21195         to refer to utime.h, not time.h.
21196         * manual/string.texi (Argz Functions): Add missing const in
21197         argz_extract and argz_next prototypes.
21198         (Finding Tokens in a String): Likewise for basename.
21199         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21200         (Copying and Concatenation): Fix typo in wmemmove prototype.
21201         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21202         (Signal Stack): Remove erroneous const in sigstack prototype.
21203         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21204         prototype.
21205         (Simple Calendar Time): Likewise for stime.
21206         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21207         prototype.
21208         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21209         say sys/sysctl.h instead.
21210         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21211         and vsyslog prototypes.
21213 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21215         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21216         Remove.
21218 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21220         * misc/sys/mman.h: Fix typo in mremap comment.
21222 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21224         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21225         the '\0' terminator.
21227 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21229         [BZ #13550]
21230         * debug/segfault.c: Don't include <bp-checks.h>.
21231         * sysdeps/generic/bp-checks.h: Remove file.
21232         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21233         (__GETDENTS): Don't use CHECK_N.
21234         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21235         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21236         (__getgroups): Don't use CHECK_N.
21237         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21238         (setgroups): Don't use CHECK_N.
21239         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21240         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21241         (__libc_msgrcv): Don't use CHECK_N.
21242         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21243         (__libc_msgsnd): Don't use CHECK_N.
21244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21245         <bp-checks.h>.
21246         (__libc_pread): Don't use CHECK_N.
21247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21248         include <bp-checks.h>.
21249         (__libc_pread64): Don't use CHECK_N.
21250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21251         include <bp-checks.h>.
21252         (__libc_pwrite): Don't use CHECK_N.
21253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21254         include <bp-checks.h>.
21255         (__libc_pwrite64): Don't use CHECK_N.
21256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21257         <bp-checks.h>.
21258         (__libc_pread): Don't use CHECK_N.
21259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21260         include <bp-checks.h>.
21261         (__libc_pread64): Don't use CHECK_N.
21262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21263         include <bp-checks.h>.
21264         (__libc_pwrite): Don't use CHECK_N.
21265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21266         include <bp-checks.h>.
21267         (__libc_pwrite64): Don't use CHECK_N.
21268         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21269         (do_pread): Don't use CHECK_N.
21270         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21271         (do_pread64): Don't use CHECK_N.
21272         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21273         (do_pwrite): Don't use CHECK_N.
21274         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21275         (do_pwrite64): Don't use CHECK_N.
21276         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21277         (__libc_readv): Don't use CHECK_N.
21278         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21279         (semop): Don't use CHECK_N.
21280         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21281         <bp-checks.h>.
21282         (semtimedop): Don't use CHECK_N.
21283         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21284         (__libc_pread): Don't use CHECK_N.
21285         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21286         <bp-checks.h>.
21287         (__libc_pread64): Don't use CHECK_N.
21288         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21289         <bp-checks.h>.
21290         (__libc_pwrite): Don't use CHECK_N.
21291         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21292         <bp-checks.h>.
21293         (__libc_pwrite64): Don't use CHECK_N.
21294         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21295         <bp-checks.h>.
21296         (__libc_msgrcv): Don't use CHECK_N.
21297         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21298         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21299         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21300         (__libc_writev): Don't use CHECK_N.
21302 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21304         * string/strcpy.c: Removed unused variable.
21306         * Makeconfig (+sysdep-includes): Define with := rather than =.
21307         Use an existing include/ subdir of each sysdeps dir before it.
21309 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21311         * nscd/connection.c (register_traced_file): Comment function.
21312         [HAVE_INOTIFY] (union __inev): Define.
21313         [HAVE_INOTIFY] (inotify_check_files): New function.
21314         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21315         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21316         clear_db_cache.
21317         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21319 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21321         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21322         loaded if not already and that a failure is permanent.
21324 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21326         [BZ #15006]
21327         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21328         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21330 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21332         [BZ #13550]
21333         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21334         (CHECK_1_NULL_OK): Likewise.
21335         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21336         (__fxstat): Do not use CHECK_1.
21337         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21338         <bp-checks.h>.
21339         (___fxstat64): Do not use CHECK_1.
21340         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21341         <bp-checks.h>.
21342         (__fxstatat): Do not use CHECK_1.
21343         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21344         <bp-checks.h>.
21345         (__fxstatat64): Do not use CHECK_1.
21346         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21347         <bp-checks.h>.
21348         (__fxstat): Do not use CHECK_1.
21349         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21350         <bp-checks.h>.
21351         (__fxstatat): Do not use CHECK_1.
21352         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21353         <bp-checks.h>.
21354         (__getresgid): Do not use CHECK_1.
21355         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21356         <bp-checks.h>.
21357         (__getresuid): Do not use CHECK_1.
21358         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21359         <bp-checks.h>.
21360         (__lxstat): Do not use CHECK_1.
21361         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21362         <bp-checks.h>.
21363         (__old_msgctl): Do not use CHECK_1.
21364         (__new_msgctl): Likewise.
21365         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21366         <bp-checks.h>.
21367         (__new_setrlimit): Do not use CHECK_1.
21368         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21369         <bp-checks.h>.
21370         (__old_shmctl): Do not use CHECK_1.
21371         (__new_shmctl): Likewise.
21372         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21373         <bp-checks.h>.
21374         (__xstat): Do not use CHECK_1.
21375         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21376         (__lxstat): Do not use CHECK_1.
21377         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21378         <bp-checks.h>.
21379         (___lxstat64): Do not use CHECK_1.
21380         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21381         (__old_msgctl): Do not use CHECK_1.
21382         (__new_msgctl): Likewise.
21383         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21384         <bp-checks.h>.
21385         (__gettimeofday): Do not use CHECK_1.
21386         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21387         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21388         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21389         <bp-checks.h>.
21390         (__gettimeofday): Do not use CHECK_1.
21391         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21392         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21393         (__new_shmctl): Do not use CHECK_1.
21394         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21395         <bp-checks.h>.
21396         (do_sigtimedwait): Do not use CHECK_1.
21397         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21398         <bp-checks.h>.
21399         (do_sigwaitinfo): Do not use CHECK_1.
21400         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21401         <bp-checks.h>.
21402         (msgctl): Do not use CHECK_1.
21403         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21404         <bp-checks.h>.
21405         (shmctl): Do not use CHECK_1.
21406         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21407         (ustat): Do not use CHECK_1.
21408         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21409         <bp-checks.h>.
21410         (__fxstat): Do not use CHECK_1.
21411         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21412         <bp-checks.h>.
21413         (__fxstatat): Do not use CHECK_1.
21414         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21415         <bp-checks.h>.
21416         (__lxstat): Do not use CHECK_1.
21417         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21418         <bp-checks.h>.
21419         (__xstat): Do not use CHECK_1.
21420         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21421         (__xstat): Do not use CHECK_1.
21422         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21423         (___xstat64): Do not use CHECK_1.
21425         [BZ #13550]
21426         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21427         definitions.
21428         (CHECK_BOUNDS_HIGH): Likewise.
21429         * string/strcpy.c: Do not include <bp-checks.h>.
21430         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21432 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21434         * nscd/nscd-client.h (__nscd_drop_map_ref):
21435         Add __attribute__ ((unused)).
21436         * nis/nss-nisplus.h (niserr2nss): Likewise.
21438         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21439         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21441         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21442         Remove inline keyword.
21443         * include/rounding-mode.h (round_away): Likewise.
21444         * libio/wfileops.c (adjust_wide_data): Likewise.
21445         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21446         (__m128i_strloadu_tolower): Likewise.
21447         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21448         (__m128i_strloadu_tolower): Likewise.
21449         * time/mktime.c (ydhms_diff): Likewise.
21450         * locale/elem-hash.h (elem_hash): Likewise.
21451         * locale/setlocale.c (setdata): Likewise.
21452         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21453         (re_string_wchar_at): Likewise.
21454         (bitset_not, bitset_merge, bitset_mask): Likewise.
21455         [!(__GNUC__ > 3)] (inline): Remove macro.
21456         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21457         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21458         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21459         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21460         * string/memcmp.c (memcmp_bytes): Likewise.
21461         * locale/programs/locarchive.c (compute_hashval): Likewise.
21462         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21463         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21464         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21465         * nss/getent.c (print_rpc, print_protocols): Likewise.
21466         (print_passwd, print_group, print_aliases): Likewise.
21467         * nis/nss-nisplus.h (niserr2nss): Likewise.
21468         * nscd/connections.c (restart_p): Likewise.
21469         Change return type to bool.
21471 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21473         * Makeconfig (all-Depend-files): Add existing
21474         $(sorted-subdirs:=/Depend) files.
21475         (all-subdirs): Remove nss.
21476         * sysdeps/unix/inet/Subdirs: Add it here instead.
21477         * hesiod/Depend: New file.
21479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21480         instead of calling alloca.
21482         * io/lseek.c (__lseek): Rename to __libc_lseek.
21483         Define __lseek as an alias.
21485         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21487 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21489         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21490         else clause and remove check for non-standard endianness.
21492 2013-02-04  David S. Miller  <davem@davemloft.net>
21494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21496 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21498         [BZ #13550]
21499         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21500         (__ubp_memchr): Remove prototype.
21501         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21502         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21503         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21504         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21505         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21506         Remove alias.
21507         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21508         (__ubp_memchr): Likewise.
21509         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21510         (__ubp_memchr): Likewise.
21511         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21512         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21513         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21514         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21515         CHECK_STRING.
21516         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21517         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21518         (__getcwd): Do not use CHECK_STRING.
21519         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21520         <bp-checks.h>.
21521         (__real_chown): Do not use CHECK_STRING.
21522         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21523         <bp-checks.h>.
21524         (fchownat): Do not use CHECK_STRING.
21525         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21526         CHECK_STRING.
21527         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21528         <bp-checks.h>.
21529         (__lchown): Do not use CHECK_STRING.
21530         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21531         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21532         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21533         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21535         include <bp-checks.h>.
21536         (truncate64): Do not use CHECK_STRING.
21537         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21538         <bp-checks.h>.
21539         (__real_chown): Do not use CHECK_STRING.
21540         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21541         <bp-checks.h>.
21542         (__lchown): Do not use CHECK_STRING.
21543         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21544         <bp-checks.h>.
21545         (__chown): Do not use CHECK_STRING.
21546         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21547         <bp-checks.h>.
21548         (truncate64): Do not use CHECK_STRING.
21549         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21550         Likewise.
21551         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21552         (__xmknod): Do not use CHECK_STRING.
21553         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21554         <bp-checks.h>.
21555         (__xmknodat): Do not use CHECK_STRING.
21556         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21557         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21559 2013-02-04  Andreas Schwab  <schwab@suse.de>
21561         [BZ #14142]
21562         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21563         * include/netdb.h: Likewise for h_errno.
21564         * elf/tst-stackguard1.c: Include <tls.h>.
21566 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21568         * elf/link.h (struct link_map): Extend the l_addr comment.
21569         * include/link.h (struct link_map): Likewise.
21571 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21573         [BZ #13550]
21574         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21575         (BOUNDED_1): Remove macro.
21576         * debug/backtrace.c: Don't include <bp-checks.h>.
21577         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21578         (__backtrace): Likewise.
21579         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21580         <bp-checks.h>.
21581         (__backtrace): Don't use BOUNDED_1.
21582         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21583         <bp-checks.h>.
21584         (__backtrace): Don't use BOUNDED_1.
21585         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21586         (__backtrace): Don't use BOUNDED_1.
21587         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21588         (shmat): Don't use BOUNDED_N.
21590 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21592         [BZ #13550]
21593         * sysdeps/generic/bp-start.h: Remove file.
21594         * csu/libc-start.c: Don't include <bp-start.h>.
21595         (LIBC_START_MAIN): Set up __environ directly instead of using
21596         INIT_ARGV_and_ENVIRON.
21597         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21598         <bp-start.h>.
21600         [BZ #13550]
21601         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21602         definitions.
21603         (CHECK_FCNTL): Likewise.
21604         (CHECK_N_PAGES): Likewise.
21606         [BZ #13550]
21607         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21608         definitions.
21609         (CHECK_SIGSET_NULL_OK): Likewise.
21610         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21611         <bp-checks.h>.
21612         (sigpending): Don't use CHECK_SIGSET.
21613         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21614         <bp-checks.h>.
21615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21616         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21617         <bp-checks.h>.
21618         (do_sigsuspend): Don't use CHECK_SIGSET.
21619         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21620         use CHECK_SIGSET.
21621         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21622         (do_sigwait): Don't use CHECK_SIGSET.
21623         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21624         use CHECK_SIGSET.
21625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21626         include <bp-checks.h>.
21627         (sigpending): Don't use CHECK_SIGSET.
21628         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21629         include <bp-checks.h>.
21630         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21631         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21632         <bp-checks.h>.
21633         (sigpending): Don't use CHECK_SIGSET.
21634         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21635         <bp-checks.h>.
21636         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21638         [BZ #13550]
21639         * sysdeps/generic/bp-semctl.h: Remove file.
21640         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21641         <bp-checks.h> and <bp-semctl.h>.
21642         (__old_semctl): Don't use CHECK_SEMCTL.
21643         (__new_semctl): Likewise.
21644         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21645         and <bp-semctl.h>.
21646         (__old_semctl): Don't use CHECK_SEMCTL.
21647         (__new_semctl): Likewise.
21648         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21649         <bp-checks.h> and <bp-semctl.h>.
21650         (__old_semctl): Don't use CHECK_SEMCTL.
21651         (__new_semctl): Likewise.
21652         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21653         <bp-checks.h> and <bp-semctl.h>.
21654         (semctl): Don't use CHECK_SEMCTL.
21656         [BZ #13550]
21657         * Makerules (elide-bp-thunks): Remove variable.
21658         (elide-routines.oS): Don't use $(elide-bp-thunks).
21659         (elide-routines.os): Likewise.
21660         (elide-routines.o): Likewise.
21661         (elide-routines.op): Likewise.
21662         (elide-routines.og): Likewise.
21663         (objects): Don't use $(bp-thunks).
21664         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21665         include.
21666         (common-generated): Do not add s-proto-bp.d.
21667         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21668         (int): Likewise.
21669         (typ): Likewise.
21670         Do not generate makefile rules for bounded-pointer thunks.
21671         * sysdeps/generic/bp-thunks.h: Remove file.
21672         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21673         * sysdeps/unix/s-proto-bp.S: Likewise.
21675         [BZ #15062]
21676         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21677         parts of result separately when argument is not close to line from
21678         -i to i and one part of argument is small.
21679         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21680         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21681         * math/libm-test.inc (cacos_test): Add more tests.
21682         (casin_test): Likewise.
21683         (casinh_test): Likewise.
21684         * sysdeps/i386/fpu/libm-test-ulps: Update.
21685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21687 2013-01-31  David S. Miller  <davem@davemloft.net>
21689         * po/de.po: Update from translation team.
21691 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21693         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21695 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21697         * configure.in (_AC_PROG_CC_C89): New definition.
21698         * configure: Regenerate.
21700         * configure.in (AC_PROG_CPP): New definition.
21701         * configure: Regenerate.
21703 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21705         * debug/tst-backtrace.h: New file.
21706         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21707         (ret): Remove variable.
21708         (x): Likewise.
21709         (FAIL): Remove macro.
21710         (NO_INLINE): Likewise.
21711         (fn1): Use match function instead of strstr.
21712         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21713         (ret): Remove variable.
21714         (x): Likewise.
21715         (FAIL): Remove macro.
21716         (NO_INLINE): Likewise.
21717         (fn): Use match function instead of strstr.
21718         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21719         (ret): Remove variable.
21720         (x): Likewise.
21721         (FAIL): Remove macro.
21722         (NO_INLINE): Likewise.
21723         (handle_signal): Use match function instead of strstr.
21724         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21725         (ret): Remove variable.
21726         (x): Likewise.
21727         (FAIL): Remove macro.
21728         (NO_INLINE): Likewise.
21729         (handle_signal): Use match function instead of strstr.
21731 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21733         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21735 2013-01-23  David S. Miller  <davem@davemloft.net>
21737         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21738         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21739         argument of CAS if possible.
21740         * sysdeps/sparc/sparc64/bits/atomic.h
21741         (__arch_compare_and_exchange_val_32_acq): Likewise.
21742         (__arch_compare_and_exchange_val_64_acq): Likewise.
21744 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21746         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21747         * sysdeps/posix/ulimit.c: ... this.
21748         Include <limits.h>.
21749         * sysdeps/unix/bsd/ulimit.c: Remove file.
21751 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21753         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21754         (LDFLAGS-tst-array5): Likewise.
21756 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21758         [BZ #15036]
21759         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21760         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21761         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21762         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21764 2013-01-21  David S. Miller  <davem@davemloft.net>
21766         * sysdeps/sparc/backtrace.c: New file.
21767         * sysdeps/sparc/sparc32/backtrace.h: New file.
21768         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21769         * sysdeps/sparc/sparc64/backtrace.h: New file.
21770         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21771         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21772         -funwind-tables.
21774 2013-01-21  Andreas Schwab  <schwab@suse.de>
21776         [BZ #15020]
21777         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21778         closed its stdout.
21780 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21783         "mpa2.h".
21784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21786 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21787             Mark Mitchell  <mark@codesourcery.com>
21788             Tom de Vries  <tom@codesourcery.com>
21789             Paul Pluzhnikov  <ppluzhnikov@google.com>
21791         * debug/tst-backtrace2.c: New file.
21792         * debug/tst-backtrace3.c: Likewise.
21793         * debug/tst-backtrace4.c: Likewise.
21794         * debug/tst-backtrace5.c: Likewise.
21795         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21796         (CFLAGS-tst-backtrace3.c): Likewise.
21797         (CFLAGS-tst-backtrace4.c): Likewise.
21798         (CFLAGS-tst-backtrace5.c): Likewise.
21799         (LDFLAGS-tst-backtrace2): Likewise.
21800         (LDFLAGS-tst-backtrace3): Likewise.
21801         (LDFLAGS-tst-backtrace4): Likewise.
21802         (LDFLAGS-tst-backtrace5): Likewise.
21803         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21804         tst-backtrace4 and tst-backtrace5.
21806 2013-01-18  Anton Blanchard  <anton@samba.org>
21807             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21809         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21810         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21811         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21812         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21814         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21815         "+r" and remove output regs list as redundant.  Add explicit inline
21816         asm to specify register of return val to work around compiler codegen
21817         bug.  Remove (int) cast on return value.  Add return type parameter to
21818         use in macro so that this macro does not truncate return value for
21819         64-bit values.
21820         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21821         pass to INTERNAL_VSYSCALL_NCS.
21822         (INLINE_VSYSCALL): Add 'long int' as return type to
21823         INTERNAL_VSYSCALL_NCS macro invocation.
21824         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21825         INTERNAL_VSYSCALL_NCS macro invocation.
21826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21828 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21830         [BZ #14496]
21831         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21832         Fix application of SIMD FP exception mask.
21834         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21835         mp_no from a power of two.
21836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21837         __mpexp_twomm1.  Use __pow_mp.
21839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21840         multiplication.
21842 2013-01-17  David S. Miller  <davem@davemloft.net>
21844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21846 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21848         [BZ #15023]
21849         * include/complex.h: Condition contents on [!_COMPLEX_H].
21850         (__kernel_casinhf): New prototype.
21851         (__kernel_casinh): Likewise.
21852         (__kernel_casinhl): Likewise.
21853         * math/Makefile (libm_calls): Add k_casinh.
21854         * math/k_casinh.c: New file.
21855         * math/k_casinhf.c: Likewise.
21856         * math/k_casinhl.c: Likewise.
21857         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21858         finite nonzero arguments.
21859         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21860         finite nonzero arguments.
21861         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21862         finite nonzero arguments.
21863         * math/s_casinh.c: Do not include <float.h>.
21864         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21865         * math/s_casinhf.c: Do not include <float.h>.
21866         (__casinhf): Move code for finite nonzero arguments to
21867         k_casinhf.c.
21868         * math/s_casinhl.c: Do not include <float.h>.
21869         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21870         redefine.
21871         (__casinhl): Move code for finite nonzero arguments to
21872         k_casinhl.c.
21873         * math/libm-test.inc (cacos_test): Add more tests.
21874         * sysdeps/i386/fpu/libm-test-ulps: Update.
21875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21877 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21879         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21880         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21881         [!HAVE_MREMAP]: Remove [defined linux] case.
21882         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21884 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21886         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21888 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21890         * elf/elf.h (R_386_SIZE32): New relocation.
21891         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21892         R_386_SIZE32.
21893         (elf_machine_rela): Likewise.
21894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21895         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21897 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21899         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21900         (FP_FAST_FMA): Do not define.
21901         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21902         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21903         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21904         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21905         !_SOFT_FLOAT]: Likewise.
21906         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21907         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21908         value.
21909         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21910         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21911         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21912         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21913         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21914         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21915         file.
21917 2013-01-16  Andreas Schwab  <schwab@suse.de>
21919         [BZ #14327]
21920         * include/stdlib.h (__mktemp): Add declaration.
21921         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21922         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21924 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21926         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21927         definitions.
21928         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21929         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21930         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21931         definitions here.
21932         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21933         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21934         definitions.
21935         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21936         and ONE.
21937         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21938         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21939         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21940         definitions.
21941         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21942         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21943         definitions.
21944         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21946         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21948 2013-01-15  David S. Miller  <davem@davemloft.net>
21950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21951         trunc{,f} to libm-sysdep_routes.
21952         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21954         file.
21955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21957         file.
21958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21959         file.
21960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21962         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21963         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21964         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21965         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21966         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21967         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21970         nearbyint{,f} to libm-sysdep_routes.
21971         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21973         New file.
21974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21975         file.
21976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21977         New file.
21978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21979         file.
21980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21982         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21983         file.
21984         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21985         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21986         file.
21987         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21988         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21989         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21991         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21992         libc_feholdexcept and libc_fesetenv.
21994 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
21996         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21998 2013-01-14  David S. Miller  <davem@davemloft.net>
22000         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22001         (SPARC_ASM_VIS2_IFUNC): Likewise.
22002         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22004         use of 'siam' instruction.
22005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22006         Likewise.
22007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22008         Likewise.
22009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22010         Likewise.
22011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22016         file.
22017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22018         file.
22019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22020         file.
22021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22022         file.
22023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22028         new VIS2 routines.
22029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22032         Likewise.
22033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22038         routines to libm-sysdep_routines.
22039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22042         fdim/fdimf to libm-sysdep_routines.
22043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22044         file.
22045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22047         file.
22048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22051         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22052         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22053         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22054         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22056 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22058         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22059         to optimize copies.
22061         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22066         local variable MPTWO.
22067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22068         Likewise.
22070 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22072         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22073         GLOB_NOESCAPE.
22075 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22077         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22079 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22081         * manual/pattern.texi (glob_t): Document gl_flags.
22082         (glob64_t): Likewise.
22084 2013-01-11  David S. Miller  <davem@davemloft.net>
22086         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22087         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22088         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22089         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22090         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22091         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22092         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22093         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22094         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22095         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22096         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22097         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22098         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22100         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22101         sparc V9 rather than using V8 code.
22102         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22103         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22106         Move to...
22107         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22108         Here.
22110 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22112         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22113         not in the main loop.
22114         * configure: Regenerated.
22116 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22118         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22119         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22120         to just #else.
22121         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22122         [!__GLIBC_HAVE_LONG_LONG] case.
22123         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22124         condition to just #else.
22125         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22126         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22127         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22128         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22129         unconditional.
22130         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22131         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22132         #elif condition to just #else.
22133         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22134         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22135         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22136         #elif condition to just #else.
22138 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22140         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22141         (EF_MIPS_ARCH_64): Fix value.
22142         (EF_MIPS_ARCH_32R2): New.
22143         (EF_MIPS_ARCH_64R2): New.
22145 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22147         * Makeconfig (+link-pie-before-libc): New.
22148         (+link-pie-after-libc): Likewise.
22149         (+link-pie-tests): Likewise.
22150         (+link-pie): Rewritten.
22151         (link-before-libc): Remove $(config-LDFLAGS).
22152         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22153         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22154         (config-LDFLAGS): Renamed to ...
22155         (rtld-LDFLAGS): This.
22156         (rtld-tests-LDFLAGS): New macro.
22157         (link-libc-rpath-link): Likewise.
22158         (link-libc-tests-rpath-link): Likewise.
22159         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22160         (link-libc): Prepand $(link-libc-rpath-link).
22161         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22162         (test-program-prefix): New macro.
22163         (test-via-rtld-prefix): Likewise.
22164         (test-program-cmd): Likewise.
22165         (host-test-program-cmd): Likewise.
22166         * Makefile ($(common-objpfx)testrun.sh): Replace
22167         $(run-program-prefix) with $(test-program-prefix).
22168         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22169         $(rtld-LDFLAGS).
22170         ($(common-objpfx)shlib.lds): Likewise.
22171         (build-module-helper): Likewise.
22172         ($(common-objpfx)format.lds): Likewise.
22173         * Rules (binaries-pie-tests): New.
22174         (binaries-pie-notests): Likewise.
22175         (binaries-pie): Rewritten.
22176         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22177         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22178         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22179         (make-test-out): Replace $(host-built-program-cmd) with
22180         $(host-test-program-cmd).
22181         * config.make.in (build-hardcoded-path-in-tests): New variable.
22182         * configure.in (--enable-hardcoded-path-in-tests): New configure
22183         option.
22184         (hardcoded_path_in_tests): New AC_SUBST.
22185         * configure: Regenerated.
22186         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22187         $(built-program-cmd) with $(test-program-cmd).
22188         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22189         (test_program_cmd): This.
22190         * elf/Makefile ($(objpfx)order.out): Run test with
22191         $(test-program-prefix).
22192         ($(objpfx)order2.out): Likewise.
22193         ($(objpfx)tst-initorder.out): Likewise.
22194         ($(objpfx)tst-initorder2.out): Likewise.
22195         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22196         $(test-program-cmd).
22197         ($(objpfx)tst-array1-static.out): Likewise.
22198         ($(objpfx)tst-array2.out): Likewise.
22199         ($(objpfx)tst-array3.out): Likewise.
22200         ($(objpfx)tst-array4.out): Likewise.
22201         ($(objpfx)tst-array5.out): Likewise.
22202         ($(objpfx)tst-array5-static.out): Likewise.
22203         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22204         $(test-program-cmd).
22205         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22206         $(run-program-prefix) with $(test-program-prefix).
22207         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22208         (test_program_prefix): This.
22209         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22210         $(run-program-prefix) with $(test-program-prefix).
22211         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22212         (test_program_prefix): This.
22213         * iconvdata/tst-tables.sh: Likewise.
22214         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22215         $(run-program-prefix) with $(test-program-prefix).
22216         ($(objpfx)tst-translit.out): Likewise.
22217         ($(objpfx)tst-gettext2.out): Likewise.
22218         ($(objpfx)tst-gettext4.out): Likewise.
22219         ($(objpfx)tst-gettext6.out): Likewise.
22220         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22221         (test_program_prefix): This.
22222         * intl/tst-gettext2.sh: Likewise.
22223         * intl/tst-gettext4.sh  Likewise.
22224         * intl/tst-gettext6.sh: Likewise.
22225         * intl/tst-translit.sh: Likewise.
22226         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22227         with $(test-program-cmd).
22228         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22229         $(run-program-prefix) with $(test-program-prefix).
22230         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22231         (test_program_prefix): This.
22232         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22233         $(run-program-prefix) with $(test-program-prefix).
22234         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22235         (test_program_prefix): This.
22236         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22237         * posix/Makefile ($(objpfx)globtest.out): Replace
22238         $(run-via-rtld-prefix) and $(test-wrapper) with
22239         $(test-program-prefix) and $(test-via-rtld-prefix).
22240         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22241         $(test-program-prefix).
22242         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22243         $(host-test-program-cmd).
22244         (tst-spawn-ARGS): Likewise.
22245         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22246         $(test-program-prefix).
22247         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22248         (test_via_rtld_prefix): This.
22249         (test_wrapper): Renamed to ...
22250         (test_program_prefix): This.
22251         (run_program_prefix): Replaced by test_program_prefix.
22252         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22253         (test_program_prefix): This.
22254         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22255         with $(host-test-program-cmd).
22256         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22257         $(run-program-prefix) with $(test-program-prefix).
22258         ($(objpfx)tst-printf.out): Likewise.
22259         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22260         $(test-program-cmd).
22261         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22262         (test_program_prefix): This.
22263         * stdio-common/tst-unbputc.sh: Likewise.
22264         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22265         $(run-program-prefix) with $(test-program-prefix).
22266         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22267         (test_program_prefix): This.
22268         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22269         $(built-program-cmd) with $(test-program-cmd).
22271 2013-01-11  Andreas Jaeger  <aj@suse.de>
22273         [BZ #15003]
22274         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22275         value. Sync with Linux 3.7.
22277 2013-01-10  David S. Miller  <davem@davemloft.net>
22279         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22280         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22281         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22283 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22285         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22286         never set.
22287         * configure: Regenerated.
22289 2013-01-10  David S. Miller  <davem@davemloft.net>
22291         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22292         sparc V9 rather than using V8 code.
22293         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22294         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22296 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22298         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22299         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22300         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22301         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22302         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22303         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22304         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22305         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22306         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22307         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22308         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22309         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22310         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22311         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22312         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22313         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22314         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22315         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22316         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22317         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22318         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22319         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22320         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22321         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22322         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22323         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22324         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22326 2013-01-10  David S. Miller  <davem@davemloft.net>
22328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22330 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22332         * posix/Makefile (tests-static): New variable.
22333         (tests): Add $(tests-static).
22334         (tst-exec-static-ARGS): New variable.
22335         (tst-spawn-static-ARGS): Likewise.
22336         * posix/tst-exec-static.c: New file.
22337         * posix/tst-spawn-static.c: Likewise.
22338         * posix/tst-exec.c: Support run directly.
22339         * posix/tst-spawn.c: Likewise.
22341 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22343         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22344         long.
22345         * math/bits/mathcalls.h (llrint): Likewise.
22346         (llround): Likewise.
22347         * stdlib/stdlib.h (struct drand48_data): Likewise.
22348         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22349         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22350         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22351         Likewise.
22352         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22353         Likewise.
22354         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22355         (elf_greg_t): Likewise.
22356         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22357         (__jmp_buf): Likewise.
22358         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22359         definitions.
22360         (llrint): Likewise, for all definitions.
22361         (llrintl): Likewise.
22363         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22364         Remove [__GNUC__] condition.
22365         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22366         condition to just [__USE_ISOC99].
22367         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22369 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22371         [BZ #14200]
22372         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22373         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22374         defined.
22375         (_POSIX_V6_ILP32_OFF32): Likewise.
22376         (_XBS5_ILP32_OFF32): Likewise.
22377         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22378         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22380 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22382         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22385         doubles __mpexp_twomm1.  Adjust usage.
22386         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22387         Remove.
22389 2013-01-10  Andreas Schwab  <schwab@suse.de>
22391         [BZ #14964]
22392         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22393         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22395 2013-01-09  David S. Miller  <davem@davemloft.net>
22397         [BZ #15003]
22398         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22399         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22400         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22401         (TCP_FASTOPEN): Define.
22402         (tcp_repair_opt): New structure.
22403         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22404         enum values.
22405         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22406         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22407         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22408         (tcp_cookie_transactions): New structure.
22410 2013-01-09  Anton Blanchard  <anton@samba.org>
22412         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22413         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22414         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22415         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22417 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22419         * include/features.h (__USE_ANSI): Remove.
22421 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22423         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22425         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22427 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22429         * sysdeps/s390/fpu/libm-test-ulps: Update.
22431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22433         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22434         (__acr): Likewise.
22435         (__cpy): Likewise.
22436         (norm): Likewise.
22437         (denorm): Likewise.
22438         (__mp_dbl): Likewise.
22439         (__dbl_mp): Likewise.
22440         (add_magnitudes): Likewise.
22441         (sub_magnitudes): Likewise.
22442         (__add): Likewise.
22443         (__sub): Likewise.
22444         (__mul): Likewise.
22445         (__inv): Likewise.
22446         (__dvd): Likewise.
22447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22448         (__acr): Likewise.
22449         (__cpy): Likewise.
22450         (norm): Likewise.
22451         (denorm): Likewise.
22452         (__mp_dbl): Likewise.
22453         (__dbl_mp): Likewise.
22454         (add_magnitudes): Likewise.
22455         (sub_magnitudes): Likewise.
22456         (__add): Likewise.
22457         (__sub): Likewise.
22458         (__mul): Likewise.
22459         (__inv): Likewise.
22460         (__dvd): Likewise.
22461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22462         (__acr): Likewise.
22463         (__cpy): Likewise.
22464         (norm): Likewise.
22465         (denorm): Likewise.
22466         (__mp_dbl): Likewise.
22467         (__dbl_mp): Likewise.
22468         (add_magnitudes): Likewise.
22469         (sub_magnitudes): Likewise.
22470         (__add): Likewise.
22471         (__sub): Likewise.
22472         (__mul): Likewise.
22473         (__inv): Likewise.
22474         (__dvd): Likewise.
22476 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22478         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22479         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22480         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22481         2 && __USE_EXTERN_INLINES]: Likewise.
22483 2013-01-08  Andreas Jaeger  <aj@suse.de>
22485         [BZ# 14985]
22486         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22487         Remove.
22488         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22489         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22491 2013-01-07  Anton Blanchard  <anton@samba.org>
22493         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22494         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22495         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22496         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22497         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22498         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22499         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22500         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22502         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22503         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22504         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22506         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22507         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22508         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22509         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22510         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22511         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22512         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22513         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22514         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22515         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22516         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22517         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22518         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22519         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22520         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22521         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22522         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22523         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22525         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22526         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22527         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22528         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22529         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22530         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22531         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22532         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22533         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22534         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22535         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22537 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22539         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22540         (__MALLOC_PMT): Likewise.
22541         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22542         [__GNUC__], only on [_LIBC].
22543         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22544         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22545         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22546         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22547         forward declaration.
22548         (realloc_hook_ini): Likewise.
22549         (memalign_hook_ini): Likewise.
22550         (__libc_memalign): Do not use __MALLOC_PMT in variable
22551         declaration.
22552         (__libc_valloc): Likewise.
22553         (__libc_pvalloc): Likewise.
22554         (__libc_calloc): Likewise.
22555         (__posix_memalign): Likewise.
22557         [BZ #14996]
22558         * math/s_casinh.c: Include <float.h>.
22559         (__casinh): Do not do computation with squaring and square root
22560         for large arguments.
22561         * math/s_casinhf.c: Include <float.h>.
22562         (__casinhf): Do not do computation with squaring and square root
22563         for large arguments.
22564         * math/s_casinhl.c: Include <float.h>.
22565         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22566         (__casinhl): Do not do computation with squaring and square root
22567         for large arguments.
22568         * math/libm-test.inc (casin_test): Add more tests.
22569         (casinh_test): Likewise.
22570         * sysdeps/i386/fpu/libm-test-ulps: Update.
22571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22573 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22575         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22576         (__x86_64_raw_data_cache_size): Likewise.
22577         (__x86_64_data_cache_size_half): Likewise.
22578         (__x86_64_raw_data_cache_size_half): Likewise.
22579         (__x86_64_shared_cache_size): Likewise.
22580         (__x86_64_raw_shared_cache_size): Likewise.
22581         (__x86_64_shared_cache_size_half): Likewise.
22582         (__x86_64_raw_shared_cache_size_half): Likewise.
22583         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22584         to ...
22585         (__x86_data_cache_size): This.
22586         (__x86_64_raw_data_cache_size): Renamed to ...
22587         (__x86_raw_data_cache_size): This.
22588         (__x86_64_data_cache_size_half): Renamed to ...
22589         (__x86_data_cache_size_half): This.
22590         (__x86_64_raw_data_cache_size_half): Renamed to ...
22591         (__x86_raw_data_cache_size_half): This.
22592         (__x86_64_shared_cache_size): Renamed to ...
22593         (__x86_shared_cache_size): This.
22594         (__x86_64_raw_shared_cache_size): Renamed to ...
22595         (__x86_raw_shared_cache_size): This.
22596         (__x86_64_shared_cache_size_half): Renamed to ...
22597         (__x86_shared_cache_size_half): This.
22598         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22599         (__x86_raw_shared_cache_size_half): This.
22600         * sysdeps/x86_64/memcpy.S: Updated.
22601         * sysdeps/x86_64/memset.S: Likewise.
22602         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22603         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22604         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22606 2013-01-04  David S. Miller  <davem@davemloft.net>
22608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22610 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22612         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22613         1 to avoid redefinition warning.
22614         (__USE_GNU): Don't define.
22615         (init_signaling_nan): Protoize.
22617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22619 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22621         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22623         (__cpymn): Likewise.
22624         (norm): Remove commented code.
22625         (denorm): Likewise.
22626         (__mp_dbl): Likewise.
22627         (__inv): Likewise.
22628         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22629         (__cpymn): Likewise.
22630         (norm): Remove commented code.
22631         (denorm): Likewise.
22632         (__mp_dbl): Likewise.
22633         (__inv): Likewise.
22635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22636         mp_no value for 1.0 and 2.0.
22637         (norm): Use RADIXI instead of radixi.d.
22638         (denorm): Likewise.
22639         (__mul): Use 0.0 instead of zero.d.
22640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22641         mp_no value for 1.0 and 2.0.
22642         (norm): Use RADIXI instead of radixi.d.
22643         (denorm): Likewise.
22644         (__mul): Use 0.0 instead of zero.d.
22646 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22648         [BZ #14994]
22649         * math/s_casinh.c (__casinh): Reduce finite argument to first
22650         quadrant then set signs of results at the end.
22651         * math/s_casinhf.c (__casinhf): Likewise.
22652         * math/s_casinhl.c (__casinhl): Likewise.
22653         * math/libm-test.inc (casin_test): Add more tests.
22654         (casinh_test): Likewise.
22655         * sysdeps/i386/fpu/libm-test-ulps: Update.
22656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22658 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22660         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22662         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22664         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22665         declarations.
22666         (denorm): Likewise.
22667         (__mp_dbl): Likewise.
22668         (__inv): Likewise.
22670         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22671         and adjust the header comment.
22673         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22674         variable name from declaration.
22676 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22679         Initialize COMMON_CPUID_INDEX_7 element.
22680         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22681         (CPUID_RTM): Likewise.
22682         (HAS_RTM): Likewise.
22683         (COMMON_CPUID_INDEX_7): New enum.
22685 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22687         [BZ #14981]
22688         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22689         size is zero, record memory as freed.
22691 2013-01-03  Andreas Jaeger  <aj@suse.de>
22693         * po/ia.po: Add new Interlingua translation.
22695 2012-01-03  Allan McRae  <allan@archlinux.org>
22697         * locale/programs/localedef.c: Fix description of '--posix' flag.
22699 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22701         * NEWS: Update dates in second copyright notice.
22702         * README: Update copyright dates in example.
22703         * manual/libc.texinfo: Update copyright dates.
22704         * scripts/test-installation.pl: Update copyright date in --version
22705         output.
22707         * hurd/ctty-input.c: Fix copyright notice formatting.
22708         * hurd/ctty-output.c: Likewise.
22709         * hurd/dtable.c: Likewise.
22710         * hurd/hurd-raise.c: Likewise.
22711         * hurd/hurdprio.c: Likewise.
22712         * hurd/msgportdemux.c: Likewise.
22713         * misc/sys/file.h: Likewise.
22714         * misc/sys/ioctl.h: Likewise.
22715         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22716         * sysdeps/mach/hurd/chdir.c: Likewise.
22717         * sysdeps/mach/hurd/fchdir.c: Likewise.
22718         * sysdeps/mach/hurd/rename.c: Likewise.
22719         * sysdeps/mach/hurd/rmdir.c: Likewise.
22720         * sysdeps/mach/hurd/seekdir.c: Likewise.
22721         * sysdeps/mach/hurd/setsid.c: Likewise.
22722         * sysdeps/posix/wait3.c: Likewise.
22724         * All files with FSF copyright notices: Update copyright dates
22725         using scripts/update-copyrights.
22726         * intl/plural.c: Regenerated.
22727         * locale/programs/charmap-kw.h: Likewise.
22728         * locale/programs/locfile-kw.h: Likewise.
22730 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22732         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22733         four values.
22735         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22736         calculation loop and add branch prediction.
22738         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22739         check access beyond bounds of m1np.
22741         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22742         MPTWO.
22743         (__inv): Remove local variable MPTWO to use the global
22744         constant.
22745         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22746         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22747         variable MPTWO.
22748         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22749         MP3HALFS static const.
22751 2013-01-01  David S. Miller  <davem@davemloft.net>
22753         * po/ca.po: Update from translation team.
22755 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22757         * scripts/update-copyrights: New file.
22758         * Makeconfig: Reformat copyright notice.
22759         * ctype/ctype.h: Likewise.
22760         * debug/swprintf_chk.c: Likewise.
22761         * elf/dl-cache.c: Likewise.
22762         * elf/dl-debug.c: Likewise.
22763         * elf/dl-object.c: Likewise.
22764         * grp/initgroups.c: Likewise.
22765         * hurd/Makefile: Likewise.
22766         * hurd/hurd/signal.h: Likewise.
22767         * hurd/hurdfault.c: Likewise.
22768         * hurd/hurdioctl.c: Likewise.
22769         * hurd/hurdlookup.c: Likewise.
22770         * hurd/intr-msg.c: Likewise.
22771         * iconv/gconv_open.c: Likewise.
22772         * libio/swprintf.c: Likewise.
22773         * locale/lc-ctype.c: Likewise.
22774         * locale/nl_langinfo.c: Likewise.
22775         * mach/Machrules: Likewise.
22776         * mach/Makefile: Likewise.
22777         * malloc/obstack.h: Likewise.
22778         * manual/Makefile: Likewise.
22779         * manual/tsort.awk: Likewise.
22780         * misc/bits/stab.def: Likewise.
22781         * nis/nis_print_group_entry.c: Likewise.
22782         * nis/nis_table.c: Likewise.
22783         * nis/nss_compat/compat-pwd.c: Likewise.
22784         * nis/nss_compat/compat-spwd.c: Likewise.
22785         * po/Makefile: Likewise.
22786         * posix/fnmatch.c: Likewise.
22787         * posix/regex.h: Likewise.
22788         * resolv/Makefile: Likewise.
22789         * resolv/nss_dns/dns-network.c: Likewise.
22790         * resolv/res_hconf.c: Likewise.
22791         * scripts/gen-sorted.awk: Likewise.
22792         * soft-fp/soft-fp.h: Likewise.
22793         * stdio-common/printf.h: Likewise.
22794         * stdlib/monetary.h: Likewise.
22795         * stdlib/random.c: Likewise.
22796         * stdlib/random_r.c: Likewise.
22797         * sysdeps/generic/Makefile: Likewise.
22798         * sysdeps/gnu/Makefile: Likewise.
22799         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22800         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22801         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22802         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22803         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22806         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22807         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22808         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22809         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22810         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22811         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22812         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22813         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22814         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22815         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22816         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22817         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22818         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22819         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22820         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22821         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22822         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22823         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22824         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22825         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22826         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22827         * sysdeps/mach/hurd/errnos.awk: Likewise.
22828         * sysdeps/mach/hurd/fork.c: Likewise.
22829         * sysdeps/mach/hurd/getcwd.c: Likewise.
22830         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22831         * sysdeps/mach/hurd/mmap.c: Likewise.
22832         * sysdeps/mach/hurd/utimes.c: Likewise.
22833         * sysdeps/mach/hurd/xmknod.c: Likewise.
22834         * sysdeps/posix/profil.c: Likewise.
22835         * sysdeps/posix/readdir_r.c: Likewise.
22836         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22837         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22838         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22839         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22841         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22842         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22843         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22844         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22845         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22846         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22847         * sysdeps/pthread/lio_listio.c: Likewise.
22848         * sysdeps/sparc/dl-procinfo.h: Likewise.
22849         * sysdeps/unix/i386/sysdep.S: Likewise.
22850         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22851         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22852         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22853         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22855         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22856         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22857         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22858         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22859         * sysdeps/wordsize-32/divdi3.c: Likewise.
22860         * time/sys/time.h: Likewise.
22861         * wcsmbs/Makefile: Likewise.
22863 2013-01-01  David S. Miller  <davem@davemloft.net>
22865         * po/fr.po: Update from translation team.
22867         * catgets/gencat.c: Update copyright year.
22868         * csu/version.c: Likewise.
22869         * debug/catchsegv.sh: Likewise.
22870         * debug/pcprofiledump.c: Likewise.
22871         * debug/xtrace.sh: Likewise.
22872         * elf/ldconfig.c: Likewise.
22873         * elf/ldd.bash.in: Likewise.
22874         * elf/pldd.c: Likewise.
22875         * elf/sotruss.ksh: Likewise.
22876         * elf/sprof.c: Likewise.
22877         * iconv/iconv_prog.c: Likewise.
22878         * iconv/iconvconfig.c: Likewise.
22879         * locale/programs/locale.c: Likewise.
22880         * locale/programs/localedef.c: Likewise.
22881         * login/programs/pt_chown.c: Likewise.
22882         * malloc/memusage.sh: Likewise.
22883         * malloc/memusagestat.c: Likewise.
22884         * malloc/mtrace.pl: Likewise.
22885         * nscd/nscd.c: Likewise.
22886         * nss/getent.c: Likewise.
22887         * nss/makedb.c: Likewise.
22888         * posix/getconf.c: Likewise.
22890 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22892         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22893         numbers.
22895 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22897         * math/bits/mathcalls.h (modf): Use __nonnull.
22899 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22901         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22902         (split): Use macro CN instead of the bare value.
22903         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22904         could be used.
22905         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22906         instead of the bare value.
22907         (power1): Likewise.
22909 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22912         __ATAN_TWOM.
22913         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22915         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22916         their values.
22917         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22918         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22919         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22920         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22922 2012-12-28  Andreas Jaeger  <aj@suse.de>
22924         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22925         values are from Linux 3.7.
22927         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22928         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
22930 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22932         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22933         TRUE case.
22935         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22936         (norm): Likewise.
22937         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22938         variables with preprocessor constants.
22939         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22940         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22941         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22943 2012-12-27  Bruno Haible  <bruno@clisp.org>
22945         [BZ #14317]
22946         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22947         only if needed.
22949 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22952         and use variable directly.
22953         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22955         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22956         MPONE.
22957         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22958         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22959         variable MPONE.
22960         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22962         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22963         include directive.  Remove local variable MPONE.
22964         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22965         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22966         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22968 2012-12-25  David S. Miller  <davem@davemloft.net>
22970         * version.h (RELEASE): Set to "development".
22971         (VERSION): Set to "2.17.90".
22972         * NEWS: Add 2.18 section.
22974 2012-12-21  David S. Miller  <davem@davemloft.net>
22976         * po/hr.po: Update from translation team.
22978 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22980         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22982 2012-12-19  Steve Ellcey  <sellcey@mips.com>
22984         * NEWS:  Mention new memcpy for MIPS.
22986 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22988         * manual/contrib.texi (Contributors): Spelling correction.
22990 2012-12-15  David S. Miller  <davem@davemloft.net>
22992         * po/ru.po: Update from translation team.
22994 2012-12-13  David S. Miller  <davem@davemloft.net>
22996         * NEWS: Mention IFUNC testsuite enhancements.
22998         * po/pl.po: Update from translation team.
22999         * po/bg.po: Likewise.
23001         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23002         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23004 2012-12-11  David S. Miller  <davem@davemloft.net>
23006         * po/sv.po: Update from translation team.
23008         * po/vi.po: Update from translation team.
23010         * po/cs.po: Update from translation team.
23012         * po/de.po: Update from translation team.
23013         * po/eo.po: Likewise.
23014         * po/nl.po: Likewise.
23016 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23018         [BZ #14246]
23019         * manual/argp.texi (Argp Helper Functions): Move node to follow
23020         Argp Parsing State.
23022         [BZ #14872]
23023         * manual/conf.texi (Limits on File System Capacity): Mention if
23024         terminating null is included in the max size.
23026 2012-12-10  Andreas Jaeger  <aj@suse.de>
23028         * po/cs.po: Update from translation team.
23030 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23032         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23033         void pointer and cast to uintptr_t.
23034         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23035         path.
23036         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23037         * sysdeps/s390/s390-64/memset.S: Likewise.
23039 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23041         [BZ #14833]
23042         * menual/message.texi (Message Translation): Fix typos.
23043         (Helper programs for gettext): Likewise.
23045 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23047         [BZ #14898]
23048         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23049         Change to -1.
23051 2012-12-07  David S. Miller  <davem@davemloft.net>
23053         * po/libc.pot: Update.
23055 2012-12-07  Richard Henderson  <rth@redhat.com>
23057         [BZ #10114]
23058         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23059         normal/normal case to before the switch.
23060         (_FP_DIV): Likewise.
23062 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23063             Mike Frysinger  <vapier@gentoo.org>
23065         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23066         check for __NR_fadvise64_64.
23068 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23070         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23071         0, not just to plain "0" as a statement.
23072         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23073         with cw.
23075 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23077         * NEWS: Use sourceware.org in Bugzilla URL.
23079 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23082         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23084         * stdio-common/tst-put-error.c (do_test): Add newline to the
23085         padded test to ensure flush.
23087 2012-12-05  Jeff Law  <law@redhat.com>
23089         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23091 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23093         * README: Don't refer to ports add-on as distributed separately.
23094         Mention AArch64 in list of systems supported in the ports add-on.
23096         * LICENSES: Add more non-FSF copyright and license notices.
23098         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23099         ((unused)).
23101         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23103         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23104         10000 as width of padded output.
23106 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23108         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23110         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23111         variable LX with __attribute__ ((unused)).
23112         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23113         Likewise.
23114         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23115         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23116         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23117         with __attribute__ ((unused)).
23119 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23121         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23123 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23125         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23126         (CFLAGS-nldbl-acos.c): New variable.
23127         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23128         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23129         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23130         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23131         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23132         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23133         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23134         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23135         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23136         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23137         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23138         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23139         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23140         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23141         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23142         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23143         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23144         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23145         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23146         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23147         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23148         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23149         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23150         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23151         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23152         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23153         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23154         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23155         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23156         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23157         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23158         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23159         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23160         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23161         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23162         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23163         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23164         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23165         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23166         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23167         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23168         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23169         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23170         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23171         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23172         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23173         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23174         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23175         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23176         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23177         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23178         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23179         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23180         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23181         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23182         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23183         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23184         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23185         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23186         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23187         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23188         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23189         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23190         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23191         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23192         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23193         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23194         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23195         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23196         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23197         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23198         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23199         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23200         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23201         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23202         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23203         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23204         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23205         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23206         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23207         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23208         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23209         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23210         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23211         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23212         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23213         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23214         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23215         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23216         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23217         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23218         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23219         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23220         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23221         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23222         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23223         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23226         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23228         [BZ #14914]
23229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23230         whole low double instead of just low 47 bits when splitting values
23231         into two parts.
23233 2012-12-03  Allan McRae  <allan@archlinux.org>
23235         * manual/stdio.texi (Predefined Printf Handlers): Remove
23236         @hsep and @vsep usage.
23238 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23240         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23241         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23243 2012-12-03  Jeff Law  <law@redhat.com>
23245         * time/sys/time.h (settimeofday): Do not mark TV argument
23246         as __nonnull.
23248 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23250         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23251         when currently writing and seek to current position when not.
23252         * libio/Makefile (tests): Remove bug-fclose1.
23253         * libio/bug-fclose1.c: Delete.
23255 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23257         * manual/arith.texi (feenableexcept): Fix typo.
23258         (fedisableexcept): Likewise.
23260 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23262         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23263         second, differently-typed declaration, rather than a cast.
23265 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23267         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23268         * include/rpc/svc.h: ... here.
23270 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23272         [BZ #13013]
23273         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23274         depending n and resplen2 to catch cases where answer
23275         equals answerp2.
23277 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23279         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23280         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23282 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23284         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23286 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23288         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23290 2012-11-28  Jeff Law  <law@redhat.com>
23292         [BZ #13761]
23293         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23294         dataset_temporary.  Track alloca usage into alloca_used.
23295         If dataset is large allocate and release it via malloc/free.
23297 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23299         [BZ #14197]
23300         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23302 2012-11-28  David S. Miller  <davem@davemloft.net>
23304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23306 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23308         [BZ #14803]
23309         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23310         of pi/2 rounded to nearest to 64 bits.
23311         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23312         nearest to 64 bits.
23313         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23314         bits.
23316 2012-11-28  Jeff Law <law@redhat.com>
23317             Martin Osvald <mosvald@redhat.com>
23319         [BZ #14889]
23320         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23321         * sunrpc/svc.c: Include time.h.
23322         (__svc_accept_failed): New function.
23323         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23324         any reason other than EINTR, call __svc_accept_failed.
23325         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23326         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23328 2012-11-28  Andreas Schwab  <schwab@suse.de>
23330         * scripts/abilist.awk: Also handle indirect functions in .opd
23331         section.
23333 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23335         [BZ #13881]
23336         * sysdeps/x86/fpu/powl_helper.c: New file.
23337         * sysdeps/x86/fpu/Makefile: Likewise.
23338         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23339         (p3): New object.
23340         (__ieee754_powl): Use __powl_helper for finite arguments except
23341         integer exponents below 8.
23342         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23343         (p3): New object.
23344         (__ieee754_powl): Use __powl_helper for finite arguments except
23345         integer exponents below 8.
23346         * math/libm-test.inc (pow_test): Add more tests and enable some
23347         previously disabled tests.
23348         * sysdeps/i386/fpu/libm-test-ulps: Update.
23349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23351 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23352             Carlos O'Donell  <carlos_odonell@mentor.com>
23354         * nss/makedb.c (is_prime): Assert that input is odd and greater
23355         than 4.  Note that fact in a comment too.
23356         (next_prime): Add 4 to input.
23358 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23360         [BZ #11741]
23361         * libio/Makefile (tests): Add test case tst-fwrite-error.
23362         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23363         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23364         * libio/tst-fwrite-error.c: New test case.
23366 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23368         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23369         before casting to void *.
23370         * include/libc-internal.h (__pointer_type): New macro.
23371         (__integer_if_pointer_type_sub): Likewise.
23372         (__integer_if_pointer_type): Likewise.
23373         (cast_to_integer): Likewise.
23374         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23375         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23376         before casting to atomic64_t.
23377         (atomic_exchange_acq): Likewise.
23378         (__arch_exchange_and_add_body): Likewise.
23379         (__arch_add_body): Likewise.
23380         (atomic_add_negative): Likewise.
23381         (atomic_add_zero): Likewise.
23383 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23385         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23386         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23387         (add_fdes): Likewise.
23388         (linear_search_fdes): Likewise.
23389         (binary_search_unencoded_fdes): Likewise.
23391 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23393         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23395 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23397         * configure.in: Autodetect C++ header directories.
23398         * configure: Regenerated.
23400 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23402         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23404 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23408 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23410         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23411         LDBL_MANT_DIG == 106]: Disable some tests.
23412         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23413         Likewise.
23414         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23415         Likewise.
23417         [BZ #14871]
23418         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23419         input for small inputs.  Return +/- pi/2 for large inputs.
23420         * math/libm-test.inc (atan_test): Add more tests.
23422         * sysdeps/generic/unwind-dw2-fde-glibc.c
23423         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23424         __attribute__ ((unused)).
23426         [BZ #14645]
23427         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23428         x * y if x and y are nonzero and z is zero.
23430         [BZ #14811]
23431         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23432         nonzero exponents with absolute value below 0x1p-117 to +/-
23433         0x1p-117.
23435         [BZ #14869]
23436         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23437         up arguments below 2**-450, not just those below 2**-500.
23438         * math/libm-test.inc (hypot_test): Add another test.
23440         [BZ #14868]
23441         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23442         Return a+b for ratio over 2**120, not 2**60.
23443         * math/libm-test.inc (hypot_test): Add another test.
23445         * math/libm-test.inc (clog_test): Use
23446         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23447         (clog10_test): Likewise.
23449         [BZ #6778]
23450         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23452 2012-11-22  Andreas Schwab  <schwab@suse.de>
23454         * sysdeps/i386/fpu/libm-test-ulps: Update.
23456 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23458         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23459         printf output with newline.
23461 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23463         [BZ #14865]
23464         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23465         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23466         -z nodlopen, -z initfirst and -z execstack support.
23467         * configure: Regenerated.
23469         * elf/elf.h (DF_1_NODIRECT): New macro.
23470         (DF_1_IGNMULDEF): Likewise.
23471         (DF_1_NOKSYMS): Likewise.
23472         (DF_1_NOHDR): Likewise.
23473         (DF_1_EDITED): Likewise.
23474         (DF_1_NORELOC): Likewise.
23475         (DF_1_SYMINTPOSE): Likewise.
23476         (DF_1_GLOBAUDIT): Likewise.
23477         (DF_1_SINGLETON): Likewise.
23478         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23479         DT_1_SUPPORTED_MASK bits.
23480         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23482 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23484         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23486 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23488         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23489         macro.
23491         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23492         (sendmmsg): Move declarations...
23493         * socket/sys/socket.h: ... here.
23494         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23495         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23496         include it from...
23497         * socket/recvmmsg.c: ... this new file.
23498         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23499         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23500         definition of __sendmmsg hidden.
23501         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23502         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23503         Move ENOSYS stub into and include it from...
23504         * socket/sendmmsg.c: ... this new file.
23505         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23506         (sysdep_routines): Move recvmmsg and sendmmsg...
23507         * socket/Makefile (routines): ... here.
23508         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23509         (GLIBC_PRIVATE): Add __sendmmsg.
23510         * include/sys/socket.h (__sendmmsg): Add declarations.
23511         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23512         sendmmsg.
23514 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23516         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23517         variable I1 with __attribute__ ((unused)).
23518         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23520 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23522         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23523         DUMMY variables with __attribute__ ((unused)).
23525         * bits/byteswap.h: Include <bits/types.h>.
23526         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23528 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23530         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23531         string_t.  Do not manually set errno.
23532         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23533         length with __strnlen.  Make sure to both set errno and return it on
23534         failure.
23536 2012-11-19  David S. Miller  <davem@davemloft.net>
23538         With help from Joseph Myers.
23539         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23540         very large arguments properly.
23541         * math/libm-test.inc (atan_test): New tests.
23542         (atan2_test): New tests.
23543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23546 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23548         [BZ #14856]
23549         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23550         Define to 3.
23552         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23553         [POSIX] (EADDRNOTAVAIL): Likewise.
23554         [POSIX] (EAFNOSUPPORT): Likewise.
23555         [POSIX] (EALREADY): Likewise.
23556         [POSIX] (ECONNABORTED): Likewise.
23557         [POSIX] (ECONNREFUSED): Likewise.
23558         [POSIX] (ECONNRESET): Likewise.
23559         [POSIX] (EDESTADDRREQ): Likewise.
23560         [POSIX] (EDQUOT): Likewise.
23561         [POSIX] (EHOSTUNREACH): Likewise.
23562         [POSIX] (EIDRM): Likewise.
23563         [POSIX] (EISCONN): Likewise.
23564         [POSIX] (ELOOP): Likewise.
23565         [POSIX] (EMULTIHOP): Likewise.
23566         [POSIX] (ENETDOWN): Likewise.
23567         [POSIX] (ENETUNREACH): Likewise.
23568         [POSIX] (ENOBUFS): Likewise.
23569         [POSIX] (ENODATA): Likewise.
23570         [POSIX] (ENOLINK): Likewise.
23571         [POSIX] (ENOMSG): Likewise.
23572         [POSIX] (ENOPROTOOPT): Likewise.
23573         [POSIX] (ENOSR): Likewise.
23574         [POSIX] (ENOSTR): Likewise.
23575         [POSIX] (ENOTCONN): Likewise.
23576         [POSIX] (ENOTSOCK): Likewise.
23577         [POSIX] (EOPNOTSUPP): Likewise.
23578         [POSIX] (EOVERFLOW): Likewise.
23579         [POSIX] (EPROTO): Likewise.
23580         [POSIX] (EPROTONOSUPPORT): Likewise.
23581         [POSIX] (EPROTOTYPE): Likewise.
23582         [POSIX] (ESTALE): Likewise.
23583         [POSIX] (ETIME): Likewise.
23584         [POSIX] (ETXTBSY): Likewise.
23585         [POSIX] (EWOULDBLOCK): Likewise.
23586         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23587         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23588         [POSIX] (SEEK_CUR): Likewise.
23589         [POSIX] (SEEK_END): Likewise.
23590         [POSIX || UNIX98] (mode_t): Do not require.
23591         [POSIX] (off_t): Likewise.
23592         [POSIX] (pid_t): Likewise.
23593         [POSIX] (sys/stat.h): Do not allow header.
23594         [POSIX] (unistd.h): Likewise.
23595         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23596         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23597         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23598         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23599         require.
23600         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23601         sigevent): Specify elements.
23602         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23603         entry.
23604         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23605         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23607         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23608         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23609         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23610         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23611         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23612         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23613         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23614         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23615         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23616         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23617         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23618         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23619         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23620         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23621         Likewise.
23622         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23623         Likewise.
23624         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23625         Likewise.
23626         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23627         Likewise.
23628         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23629         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23630         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23631         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23632         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23633         Specify lower bound on value.
23634         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23635         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23636         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23637         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23638         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23639         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23640         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23641         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23642         value.
23643         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23644         as optional.
23645         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23646         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23647         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23648         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23649         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23650         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23651         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23652         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23653         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23654         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23655         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23656         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23657         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23658         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23659         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23660         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23661         entry.
23662         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23663         optional.
23664         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23665         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23666         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23667         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23668         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23669         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23670         Likewise.
23671         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23672         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23673         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23674         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23675         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23676         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23677         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23678         as optional.
23679         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23680         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23681         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23682         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23683         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23684         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23685         specify as optional.
23686         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23687         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23688         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23689         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23690         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23691         [XPG3] (NL_LANGMAX): Likewise.
23692         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23693         [POSIX || XPG3] (NL_NMAX): Likewise.
23694         [POSIX || XPG3] (NL_SETMAX): Likewise.
23695         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23696         [XPG3] (NZERO): Likewise.
23697         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23698         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23699         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23700         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23701         (REG_ERANGE): Expect.
23702         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23703         optional-constant.
23704         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23705         Use (void) in prototype.
23706         [POSIX] (*_t): Allow.
23707         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23708         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23709         (WRDE_BADVAL): Expect.
23711         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23712         expect.
23713         [XPG3 || XPG4] (O_RSYNC): Likewise.
23714         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23715         Likewise.
23716         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23717         [XPG3 || XPG4] (sigqueue): Likewise.
23718         [XPG3 || XPG4] (sigtimedwait): Likewise.
23719         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23720         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23721         [XPG3 || XPG4] (vsnprintf): Likewise.
23722         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23723         Likewise.
23724         [XPG3 || XPG4] (blksize_t): Likewise.
23725         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23726         Likewise.
23727         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23728         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23729         [XPG3 || XPG4] (struct itimerspec): Likewise.
23730         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23731         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23732         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23733         [XPG3 || XPG4] (clockid_t): Likewise.
23734         [XPG3 || XPG4] (timer_t): Likewise.
23735         [XPG3 || XPG4] (clock_getres): Likewise.
23736         [XPG3 || XPG4] (clock_gettime): Likewise.
23737         [XPG3 || XPG4] (clock_settime): Likewise.
23738         [XPG3 || XPG4] (nanosleep): Likewise.
23739         [XPG3 || XPG4] (timer_create): Likewise.
23740         [XPG3 || XPG4] (timer_delete): Likewise.
23741         [XPG3 || XPG4] (timer_gettime): Likewise.
23742         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23743         [XPG3 || XPG4] (timer_settime): Likewise.
23744         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23745         [XPG3 || XPG4] (getlogin_r): Likewise.
23746         [XPG3 || XPG4] (pread): Likewise.
23747         [XPG3 || XPG4] (pthread_atfork): Likewise.
23748         [XPG3 || XPG4] (pwrite): Likewise.
23750         [BZ #14835]
23751         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23752         <bits/siginfo.h>.
23754 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23756         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23757         finalizing MALLSTREAM.
23759         * sysdeps/mach/hurd/syncfs.c: New file.
23761 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23763         [BZ #14719]
23764         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23765         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23766         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23767         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23768         (_nss_dns_gethostbyname4_r): Likewise.
23769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23770         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23772 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23774         [BZ #13763]
23775         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23777 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23779         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23780         * elf/cache.c (print_entry): Print ",AArch64" for
23781         FLAG_AARCH64_LIB64
23783         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23784         * elf/cache.c (print_entry): Print ",hard-float" for
23785         FLAG_ARM_LIBHF.
23787 2012-11-18  David S. Miller  <davem@davemloft.net>
23789         With help from Joseph Myers.
23790         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23791         cutoff to 2**-13.
23792         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23793         cutoff to 2**-25.
23794         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23795         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23796         small.
23797         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23798         * math/libm-test.inc (y0_test): New tests.
23799         (y1_test): New tests.
23800         * sysdeps/i386/fpu/libm-test-ulps: Update.
23801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23804 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23806         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23807         64-bit targets.
23808         * configure: Regenerated.
23810 2012-11-17  David S. Miller  <davem@davemloft.net>
23812         [BZ #14811]
23813         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23814         nonzero exponents with absolute value below 0x1p-128 to +/-
23815         0x1p-128.
23817 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23819         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23821         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23823         * posix/getconf-speclist.c: New file.
23824         * posix/posix-envs.def: Likewise.
23825         * posix/confstr.c (START_ENV_GROUP): New macro.
23826         (END_ENV_GROUP): Likewise.
23827         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23828         (KNOWN_PRESENT_ENV_STRING): Likewise.
23829         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23830         (UNKNOWN_ENVIRONMENT): Likewise.
23831         (confstr): Include posix-envs.def instead of handling
23832         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23833         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23834         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23835         (END_ENV_GROUP): Likewise.
23836         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23837         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23838         (UNKNOWN_ENVIRONMENT): Likewise.
23839         (__sysconf): Include posix-envs.def instead of handling associated
23840         cases directly here.
23841         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23842         preprocessing getconf-speclist.c rather than running getconf or
23843         generating empty file.
23845 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23847         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23849 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23851         [BZ #14672]
23852         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23854 2012-11-16  David S. Miller  <davem@davemloft.net>
23856         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23857         smaller than LDBL_EPSILON/2.0L, just return xm1.
23859 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23861         * elf/tst-array1.c (init): Set constructor priority to 1000.
23862         (fini): Set destructor priority to 1000.
23863         * elf/tst-array2dep.c: Likewise.
23865 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23867         [BZ #11741]
23868         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23869         (_IO_new_file_xsputn): Also return EOF if none of the input
23870         data was written when overflow failed.
23871         * libio/iopadn.c (_IO_padn): Likewise.
23872         * libio/iowpadn.c (_IO_wpadn): Likewise.
23873         * stdio-common/tst-put-error.c: Add copyright notice.
23874         (do_test): Add case for printing padded string.
23875         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23876         _IO_padn returned error.
23877         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23878         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23879         return EOF.
23881 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23883         * libio/libioP.h: Add comment note that the references to C++
23884         bits are now obsolete.
23886 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23888         * math/libm-test.inc (check_complex): Use asprintf.
23890 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23892         * debug/pcprofiledump.c (print_version): Update copyright year.
23893         * malloc/memusagestat.c (print_version): Likewise.
23895 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23897         [BZ #14831]
23898         * elf/Makefile (tests): Add tst-audit8.
23899         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23900         ($(objpfx)tst-audit8.out): New target.
23901         (tst-audit8-ENV): New variable.
23902         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23903         audit if l_reloc_result is NULL.
23904         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23905         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23906         * elf/tst-audit8.c: New file.
23908 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23910         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23911         * misc/Makefile (CFLAGS-select.c): Define.
23912         * posix/Makefile (CFLAGS-pause.c): Define.
23914 2012-11-13  David S. Miller  <davem@davemloft.net>
23916         * crypt/Makefile: Move test targets after toplevel Rules
23917         inclusion.  Grab any necessary sysdep routines when linking.
23918         * crypt/md5.c (md5_process_block): Remove define, we will always
23919         name it __md5_process_block.
23920         (md5_finish_ctx): Update md5_process_block call.
23921         (md5_stream): Likewise.
23922         (md5_process_bytes): Likewise.
23923         (md5_process_block): Rename to __md5_process_block and move to ...
23924         * crypt/md5-block.c: ... here.
23925         * crypt/sha256.c (sha256_process_block): Move to ...
23926         * crypt/sha256-block.c: ... here.
23927         * crypt/sha512.c (sha512_process_block): Move to ...
23928         * crypt/sha512-block.c: ... here.
23929         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23930         path.
23931         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23932         * sysdeps/sparc/sparc64/multiarch/Makefile
23933         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23934         crypt subdir.
23935         (localedef-aux): Add md5 crypto assembler when in locale subdir.
23936         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23937         multiarch changes.
23938         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23939         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23940         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23941         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23942         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23943         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23944         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23945         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23946         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23947         file.
23948         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23949         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23950         file.
23951         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23953 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
23955         * timezone/tzselect.ksh: Update from tzcode git revision
23956         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23957         * timezone/zdump.c: Likewise.
23958         * timezone/zic.c: Likewise.
23959         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23960         in TZVERSION setting, not $(PKGVERSION).
23961         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
23962         REPORT_BUGS_TO settings.
23964         [BZ #14838]
23965         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23966         macro.
23968 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23970         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23971         detection to immediately after _FP_ROUND().
23972         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23973         bits are 0.
23975 2012-11-11  David S. Miller  <davem@davemloft.net>
23977         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23978         inttypes.h
23979         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23980         __close rather than their public counterparts.
23982 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
23984         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23985         file.
23986         [UNIX98] (sem_timedwait): Do not expect.
23987         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23988         [XPG4 || UNIX98] (sockatmark): Do not expect.
23989         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23990         (clock_getcpuclockid): Do not expect.
23991         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23992         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23993         Do not expect.
23994         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23995         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23996         [UNIX98] (vwscanf): Likewise.
23997         [UNIX98] (vswscanf): Likewise.
23999 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24001         * timezone/version.h: Remove file.
24002         * timezone/README: Do not refer to version.h.
24003         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24004         $(objpfx)version.h.
24005         ($(objpfx)zdump.o): Likewise.
24006         ($(objpfx)version.h): New target.
24008         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24009         2012i.
24010         * timezone/README: Don't mention modification to tzselect.ksh.
24011         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24012         work on unmodified tzselect.ksh.  Substitute version numbers in
24013         tzselect.ksh.
24015         * Makefile (format-me): Remove.
24016         (INSTALL): Adjust indentation.  Use commands directly instead of
24017         using $(format-me).
24019         * aclocal.m4 (ACX_PKGVERSION): New macro.
24020         (ACX_BUGURL): Likewise.
24021         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24022         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24023         (REPORT_BUGS_TO): Likewise.
24024         * configure: Regenerated.
24025         * config.h.in (PKGVERSION): New macro.
24026         (REPORT_BUGS_TO): Likewise.
24027         * config.make.in (PKGVERSION): New variable.
24028         (PKGVERSION_TEXI): Likewise.
24029         (REPORT_BUGS_TO): Likewise.
24030         (REPORT_BUGS_TEXI): Likewise.
24031         * Makefile (format-me): Use -I$(common-objpfx)manual.
24032         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24033         ($(common-objpfx)manual/%): New target.
24034         (manual/%): Remove target.
24035         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24036         (print_version): Use PKGVERSION.
24037         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24038         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24039         and REPORT_BUGS_TO.
24040         ($(objpfx)xtrace): Likewise.
24041         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24042         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24043         (print_version): Use PKGVERSION.
24044         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24045         (do_version): Use PKGVERSION.
24046         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24047         REPORT_BUGS_TO.
24048         (common-ldd-rewrite): Likewise.
24049         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24050         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24051         (print_version): Use PKGVERSION.
24052         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24053         * elf/pldd.c (argp_program_bug_address): Remove variable.
24054         (more_help): New function.
24055         (argp): Use more_help.
24056         (print_version): Use PKGVERSION.
24057         * elf/sln.c (main): Use PKGVERSION.
24058         (usage): Use REPORT_BUGS_TO.
24059         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24060         (top level): Use PKGVERSION.
24061         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24062         (print_version): Use PKGVERSION.
24063         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24064         (print_version): Use PKGVERSION.
24065         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24066         (print_version): Use PKGVERSION.
24067         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24068         (print_version): Use PKGVERSION.
24069         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24070         (print_version): Use PKGVERSION.
24071         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24072         (print_version): Use PKGVERSION.
24073         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24074         and BUGURL.
24075         ($(objpfx)memusage): Likewise.
24076         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24077         (do_version): Use PKGVERSION.
24078         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24079         (print_version): Use PKGVERSION.
24080         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24081         ($PKGVERSION): New variable.
24082         ($REPORT_BUGS_TO): Likewise.
24083         (usage): Use $REPORT_BUGS_TO.
24084         (top level): Use $PKGVERSION.
24085         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24086         ($(objpfx)pkgvers.texi): New rule.
24087         ($(objpfx)stamp-pkgvers): Likewise.
24088         * manual/install.texi: Include pkgvers.texi.
24089         (--with-pkgversion): Document new configure option.
24090         (--with-bugurl): Likewise.
24091         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24092         than necessarily for this particular distribution.  Use
24093         REPORT_BUGS_TO for where to report bugs.
24094         * INSTALL: Regenerated.
24095         * manual/libc.texinfo: Include pkgvers.texi.
24096         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24097         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24098         (print_version): Use PKGVERSION.
24099         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24100         (print_version): Use PKGVERSION.
24101         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24102         (print_version): Use PKGVERSION.
24103         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24104         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24105         macro.
24106         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24107         (print_version): Use PKGVERSION.
24108         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24109         (print_version): Use PKGVERSION.
24110         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24111         and PKGVERSION.
24113         * timezone/checktab.awk: Update from tzcode 2012i.
24114         * timezone/ialloc.c: Likewise.
24115         * timezone/private.h: Likewise.
24116         * timezone/scheck.c: Likewise.
24117         * timezone/tzfile.h: Likewise.
24118         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24119         (TZVERSION): Hardcode tzcode version number.
24120         * timezone/zdump.c: Update from tzcode 2012i.
24121         * timezone/zic.c: Likewise.
24122         * timezone/version.h: New file.
24123         * timezone/README: Describe version.h.  Update upstream location.
24125         [BZ #14824]
24126         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24127         (mktemp): Enable declaration.
24128         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24129         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24131         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24132         Likewise.
24133         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24134         Likewise.
24135         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24136         Likewise.
24137         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24138         Likewise.
24139         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24140         Likewise.
24141         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24142         Likewise.
24144         [BZ #14821]
24145         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24146         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24147         for copies of such integer values.
24148         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24149         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24151 2012-11-09  Andreas Jaeger  <aj@suse.de>
24153         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24154         definitions and declarations that are provided by
24155         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24157 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24159         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24160         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24161         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24162         definition.
24164 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24166         * elf/elf.h: Update comment before AArch64 relocations.
24168 2012-11-07  David S. Miller  <davem@davemloft.net>
24170         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24171         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24172         (__start_context): Declare.
24173         (__makecontext_ret): Delete.
24174         (__makecontext): Hook up __start_context instead of
24175         __makecontext_ret.
24176         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24177         (sysdep_routines): Add __start_context when in stdlib.
24179 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24181         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24182         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24183         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24184         hardcoded "nm".
24185         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24186         (READELF): New variable.  Use it instead of hardcoded "readelf".
24188 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24190         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24191         * sysdeps/x86/Makefile: Here.
24192         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24193         * sysdeps/x86/tst-xmmymm.sh: This.
24195 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24197         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24198         expectations.
24199         [UNIX98] (pthread_barrier_t): Do not expect.
24200         [UNIX98] (pthread_barrierattr_t): Likewise.
24201         [UNIX98] (pthread_spinlock_t): Likewise.
24202         [UNIX98] (pthread_barrier_destroy): Likewise.
24203         [UNIX98] (pthread_barrier_init): Likewise.
24204         [UNIX98] (pthread_barrier_wait): Likewise.
24205         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24206         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24207         [UNIX98] (pthread_barrierattr_init): Likewise.
24208         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24209         [UNIX98] (pthread_getcpuclockid): Likewise.
24210         [UNIX98] (pthread_mutex_timedlock): Likewise.
24211         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24212         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24213         [UNIX98] (pthread_sigmask): Likewise.
24214         [UNIX98] (pthread_spin_destroy): Likewise.
24215         [UNIX98] (pthread_spin_init): Likewise.
24216         [UNIX98] (pthread_spin_lock): Likewise.
24217         [UNIX98] (pthread_spin_trylock): Likewise.
24218         [UNIX98] (pthread_spin_unlock): Likewise.
24219         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24220         Do not expect.
24221         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24222         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24223         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24224         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24225         [XPG3 || XPG4] (pthread_key_t): Likewise.
24226         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24227         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24228         [XPG3 || XPG4] (pthread_once_t): Likewise.
24229         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24230         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24231         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24232         [XPG3 || XPG4] (pthread_t): Likewise.
24234         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24235         not expect.
24236         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24238         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24239         Change function return type to int.
24241         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24242         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24243         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24244         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24245         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24246         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24247         [!POSIX] (posix_madvise): Likewise.
24248         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24249         && !UNIX98].
24250         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24251         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24252         (mode_t): Likewise.
24253         (posix_mem_offset): Likewise.
24254         (posix_typed_mem_get_info): Likewise.
24255         (posix_typed_mem_open): Likewise.
24257         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24258         Change condition to [XOPEN2K8].
24260         * conform/conformtest.pl: Preprocess allow-header data with -x c
24261         instead of from stdin.
24262         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24263         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24264         [C99-based standards] (cerfc): Likewise.
24265         [C99-based standards] (cexp2): Likewise.
24266         [C99-based standards] (cexpm1): Likewise.
24267         [C99-based standards] (clog10): Likewise.
24268         [C99-based standards] (clog1p): Likewise.
24269         [C99-based standards] (clog2): Likewise.
24270         [C99-based standards] (clgamma): Likewise.
24271         [C99-based standards] (ctgamma): Likewise.
24272         [C99-based standards] (cerff): Likewise.
24273         [C99-based standards] (cerfcf): Likewise.
24274         [C99-based standards] (cexp2f): Likewise.
24275         [C99-based standards] (cexpm1f): Likewise.
24276         [C99-based standards] (clog10f): Likewise.
24277         [C99-based standards] (clog1pf): Likewise.
24278         [C99-based standards] (clog2f): Likewise.
24279         [C99-based standards] (clgammaf): Likewise.
24280         [C99-based standards] (ctgammaf): Likewise.
24281         [C99-based standards] (cerfl): Likewise.
24282         [C99-based standards] (cerfcl): Likewise.
24283         [C99-based standards] (cexp2l): Likewise.
24284         [C99-based standards] (cexpm1l): Likewise.
24285         [C99-based standards] (clog10l): Likewise.
24286         [C99-based standards] (clog1pl): Likewise.
24287         [C99-based standards] (clog2l): Likewise.
24288         [C99-based standards] (clgammal): Likewise.
24289         [C99-based standards] (ctgammal): Likewise.
24290         * conform/data/inttypes.h-data [C99-based standards]: Include
24291         stdint.h-data.  Remove all expectations for stdint.h contents.
24292         [C99-based standards] (PRI*): Do not allow.
24293         [C99-based standards] (SCN*): Likewise.
24294         [C99-based standards] (*_t): Likewise.
24295         [C99-based-standards] (PRId8): Expect macro.
24296         [C99-based-standards] (PRIi8): Likewise.
24297         [C99-based-standards] (PRIo8): Likewise.
24298         [C99-based-standards] (PRIu8): Likewise.
24299         [C99-based-standards] (PRIx8): Likewise.
24300         [C99-based-standards] (PRIX8): Likewise.
24301         [C99-based-standards] (SCNd8): Likewise.
24302         [C99-based-standards] (SCNi8): Likewise.
24303         [C99-based-standards] (SCNo8): Likewise.
24304         [C99-based-standards] (SCNu8): Likewise.
24305         [C99-based-standards] (SCNx8): Likewise.
24306         [C99-based-standards] (PRIdLEAST8): Likewise.
24307         [C99-based-standards] (PRIiLEAST8): Likewise.
24308         [C99-based-standards] (PRIoLEAST8): Likewise.
24309         [C99-based-standards] (PRIuLEAST8): Likewise.
24310         [C99-based-standards] (PRIxLEAST8): Likewise.
24311         [C99-based-standards] (PRIXLEAST8): Likewise.
24312         [C99-based-standards] (SCNdLEAST8): Likewise.
24313         [C99-based-standards] (SCNiLEAST8): Likewise.
24314         [C99-based-standards] (SCNoLEAST8): Likewise.
24315         [C99-based-standards] (SCNuLEAST8): Likewise.
24316         [C99-based-standards] (SCNxLEAST8): Likewise.
24317         [C99-based-standards] (PRIdFAST8): Likewise.
24318         [C99-based-standards] (PRIiFAST8): Likewise.
24319         [C99-based-standards] (PRIoFAST8): Likewise.
24320         [C99-based-standards] (PRIuFAST8): Likewise.
24321         [C99-based-standards] (PRIxFAST8): Likewise.
24322         [C99-based-standards] (PRIXFAST8): Likewise.
24323         [C99-based-standards] (SCNdFAST8): Likewise.
24324         [C99-based-standards] (SCNiFAST8): Likewise.
24325         [C99-based-standards] (SCNoFAST8): Likewise.
24326         [C99-based-standards] (SCNuFAST8): Likewise.
24327         [C99-based-standards] (SCNxFAST8): Likewise.
24328         [C99-based-standards] (PRId16): Likewise.
24329         [C99-based-standards] (PRIi16): Likewise.
24330         [C99-based-standards] (PRIo16): Likewise.
24331         [C99-based-standards] (PRIu16): Likewise.
24332         [C99-based-standards] (PRIx16): Likewise.
24333         [C99-based-standards] (PRIX16): Likewise.
24334         [C99-based-standards] (SCNd16): Likewise.
24335         [C99-based-standards] (SCNi16): Likewise.
24336         [C99-based-standards] (SCNo16): Likewise.
24337         [C99-based-standards] (SCNu16): Likewise.
24338         [C99-based-standards] (SCNx16): Likewise.
24339         [C99-based-standards] (PRIdLEAST16): Likewise.
24340         [C99-based-standards] (PRIiLEAST16): Likewise.
24341         [C99-based-standards] (PRIoLEAST16): Likewise.
24342         [C99-based-standards] (PRIuLEAST16): Likewise.
24343         [C99-based-standards] (PRIxLEAST16): Likewise.
24344         [C99-based-standards] (PRIXLEAST16): Likewise.
24345         [C99-based-standards] (SCNdLEAST16): Likewise.
24346         [C99-based-standards] (SCNiLEAST16): Likewise.
24347         [C99-based-standards] (SCNoLEAST16): Likewise.
24348         [C99-based-standards] (SCNuLEAST16): Likewise.
24349         [C99-based-standards] (SCNxLEAST16): Likewise.
24350         [C99-based-standards] (PRIdFAST16): Likewise.
24351         [C99-based-standards] (PRIiFAST16): Likewise.
24352         [C99-based-standards] (PRIoFAST16): Likewise.
24353         [C99-based-standards] (PRIuFAST16): Likewise.
24354         [C99-based-standards] (PRIxFAST16): Likewise.
24355         [C99-based-standards] (PRIXFAST16): Likewise.
24356         [C99-based-standards] (SCNdFAST16): Likewise.
24357         [C99-based-standards] (SCNiFAST16): Likewise.
24358         [C99-based-standards] (SCNoFAST16): Likewise.
24359         [C99-based-standards] (SCNuFAST16): Likewise.
24360         [C99-based-standards] (SCNxFAST16): Likewise.
24361         [C99-based-standards] (PRId32): Likewise.
24362         [C99-based-standards] (PRIi32): Likewise.
24363         [C99-based-standards] (PRIo32): Likewise.
24364         [C99-based-standards] (PRIu32): Likewise.
24365         [C99-based-standards] (PRIx32): Likewise.
24366         [C99-based-standards] (PRIX32): Likewise.
24367         [C99-based-standards] (SCNd32): Likewise.
24368         [C99-based-standards] (SCNi32): Likewise.
24369         [C99-based-standards] (SCNo32): Likewise.
24370         [C99-based-standards] (SCNu32): Likewise.
24371         [C99-based-standards] (SCNx32): Likewise.
24372         [C99-based-standards] (PRIdLEAST32): Likewise.
24373         [C99-based-standards] (PRIiLEAST32): Likewise.
24374         [C99-based-standards] (PRIoLEAST32): Likewise.
24375         [C99-based-standards] (PRIuLEAST32): Likewise.
24376         [C99-based-standards] (PRIxLEAST32): Likewise.
24377         [C99-based-standards] (PRIXLEAST32): Likewise.
24378         [C99-based-standards] (SCNdLEAST32): Likewise.
24379         [C99-based-standards] (SCNiLEAST32): Likewise.
24380         [C99-based-standards] (SCNoLEAST32): Likewise.
24381         [C99-based-standards] (SCNuLEAST32): Likewise.
24382         [C99-based-standards] (SCNxLEAST32): Likewise.
24383         [C99-based-standards] (PRIdFAST32): Likewise.
24384         [C99-based-standards] (PRIiFAST32): Likewise.
24385         [C99-based-standards] (PRIoFAST32): Likewise.
24386         [C99-based-standards] (PRIuFAST32): Likewise.
24387         [C99-based-standards] (PRIxFAST32): Likewise.
24388         [C99-based-standards] (PRIXFAST32): Likewise.
24389         [C99-based-standards] (SCNdFAST32): Likewise.
24390         [C99-based-standards] (SCNiFAST32): Likewise.
24391         [C99-based-standards] (SCNoFAST32): Likewise.
24392         [C99-based-standards] (SCNuFAST32): Likewise.
24393         [C99-based-standards] (SCNxFAST32): Likewise.
24394         [C99-based-standards] (PRId64): Likewise.
24395         [C99-based-standards] (PRIi64): Likewise.
24396         [C99-based-standards] (PRIo64): Likewise.
24397         [C99-based-standards] (PRIu64): Likewise.
24398         [C99-based-standards] (PRIx64): Likewise.
24399         [C99-based-standards] (PRIX64): Likewise.
24400         [C99-based-standards] (SCNd64): Likewise.
24401         [C99-based-standards] (SCNi64): Likewise.
24402         [C99-based-standards] (SCNo64): Likewise.
24403         [C99-based-standards] (SCNu64): Likewise.
24404         [C99-based-standards] (SCNx64): Likewise.
24405         [C99-based-standards] (PRIdLEAST64): Likewise.
24406         [C99-based-standards] (PRIiLEAST64): Likewise.
24407         [C99-based-standards] (PRIoLEAST64): Likewise.
24408         [C99-based-standards] (PRIuLEAST64): Likewise.
24409         [C99-based-standards] (PRIxLEAST64): Likewise.
24410         [C99-based-standards] (PRIXLEAST64): Likewise.
24411         [C99-based-standards] (SCNdLEAST64): Likewise.
24412         [C99-based-standards] (SCNiLEAST64): Likewise.
24413         [C99-based-standards] (SCNoLEAST64): Likewise.
24414         [C99-based-standards] (SCNuLEAST64): Likewise.
24415         [C99-based-standards] (SCNxLEAST64): Likewise.
24416         [C99-based-standards] (PRIdFAST64): Likewise.
24417         [C99-based-standards] (PRIiFAST64): Likewise.
24418         [C99-based-standards] (PRIoFAST64): Likewise.
24419         [C99-based-standards] (PRIuFAST64): Likewise.
24420         [C99-based-standards] (PRIxFAST64): Likewise.
24421         [C99-based-standards] (PRIXFAST64): Likewise.
24422         [C99-based-standards] (SCNdFAST64): Likewise.
24423         [C99-based-standards] (SCNiFAST64): Likewise.
24424         [C99-based-standards] (SCNoFAST64): Likewise.
24425         [C99-based-standards] (SCNuFAST64): Likewise.
24426         [C99-based-standards] (SCNxFAST64): Likewise.
24427         [C99-based-standards] (PRIdMAX): Likewise.
24428         [C99-based-standards] (PRIiMAX): Likewise.
24429         [C99-based-standards] (PRIoMAX): Likewise.
24430         [C99-based-standards] (PRIuMAX): Likewise.
24431         [C99-based-standards] (PRIxMAX): Likewise.
24432         [C99-based-standards] (PRIXMAX): Likewise.
24433         [C99-based-standards] (SCNdMAX): Likewise.
24434         [C99-based-standards] (SCNiMAX): Likewise.
24435         [C99-based-standards] (SCNoMAX): Likewise.
24436         [C99-based-standards] (SCNuMAX): Likewise.
24437         [C99-based-standards] (SCNxMAX): Likewise.
24438         [C99-based-standards] (PRIdPTR): Likewise.
24439         [C99-based-standards] (PRIiPTR): Likewise.
24440         [C99-based-standards] (PRIoPTR): Likewise.
24441         [C99-based-standards] (PRIuPTR): Likewise.
24442         [C99-based-standards] (PRIxPTR): Likewise.
24443         [C99-based-standards] (PRIXPTR): Likewise.
24444         [C99-based-standards] (SCNdPTR): Likewise.
24445         [C99-based-standards] (SCNiPTR): Likewise.
24446         [C99-based-standards] (SCNoPTR): Likewise.
24447         [C99-based-standards] (SCNuPTR): Likewise.
24448         [C99-based-standards] (SCNxPTR): Likewise.
24449         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24450         allow.
24451         * conform/data/stdint.h-data: Update comments to clarify
24452         requirements.
24453         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24454         type.
24455         [C99-based standards] (INT8_MAX): Likewise.
24456         [C99-based standards] (INT16_MIN): Likewise.
24457         [C99-based standards] (INT16_MAX): Likewise.
24458         [C99-based standards] (INT32_MIN): Likewise.
24459         [C99-based standards] (INT32_MAX): Likewise.
24460         [C99-based standards] (INT64_MIN): Likewise.
24461         [C99-based standards] (INT64_MAX): Likewise.
24462         [C99-based standards] (UINT8_MAX): Likewise.
24463         [C99-based standards] (UINT16_MAX): Likewise.
24464         [C99-based standards] (UINT32_MAX): Likewise.
24465         [C99-based standards] (UINT64_MAX): Likewise.
24466         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24467         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24468         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24469         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24470         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24471         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24472         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24473         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24474         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24475         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24476         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24477         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24478         [C99-based standards] (INT_FAST8_MIN): Likewise.
24479         [C99-based standards] (INT_FAST8_MAX): Likewise.
24480         [C99-based standards] (INT_FAST16_MIN): Likewise.
24481         [C99-based standards] (INT_FAST16_MAX): Likewise.
24482         [C99-based standards] (INT_FAST32_MIN): Likewise.
24483         [C99-based standards] (INT_FAST32_MAX): Likewise.
24484         [C99-based standards] (INT_FAST64_MIN): Likewise.
24485         [C99-based standards] (INT_FAST64_MAX): Likewise.
24486         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24487         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24488         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24489         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24490         [C99-based standards] (INTPTR_MIN): Likewise.
24491         [C99-based standards] (INTPTR_MAX): Likewise.
24492         [C99-based standards] (UINTPTR_MAX): Likewise.
24493         [C99-based standards] (INTMAX_MIN): Likewise.
24494         [C99-based standards] (INTMAX_MAX): Likewise.
24495         [C99-based standards] (UINTMAX_MAX): Likewise.
24496         [C99-based standards] (PTRDIFF_MIN): Likewise.
24497         [C99-based standards] (PTRDIFF_MAX): Likewise.
24498         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24499         [C99-based standards] (SIZE_MAX): Likewise.
24500         [C99-based standards] (WCHAR_MAX): Likewise.
24501         [C99-based standards] (WINT_MAX): Likewise.
24502         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24503         constraint on value.
24504         [C99-based standards] (WCHAR_MIN): Likewise.
24505         [C99-based standards] (WINT_MIN): Likewise.
24506         [C99-based standards] (*_t): Allow.
24507         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24508         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24509         Include math.h-data and complex.h-data.  Remove all expectations
24510         of math.h and complex.h contents.
24511         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24512         at end of line.
24513         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24514         (struct tm): Expect tag.
24515         [C99-based-standards] (wcstof): Expect function.
24516         [C99-based-standards] (wcstold): Likewise.
24517         [C99-based-standards] (wcstoll): Likewise.
24518         [C99-based-standards] (wcstoull): Likewise.
24519         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24520         macro-int-constant.  Specify type.
24521         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24522         constraint on value.
24523         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24524         Specify type.
24525         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24526         Specify value.
24527         [ISO C standards]: Do not allow headers.
24528         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24529         wcs[abcdefghijklmnopqrstuvwxyz]*.
24530         [ISO C standards] (*_t): Do not allow.
24531         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24532         Expect function.
24533         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24534         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24535         Specify type.
24536         [ISO C standards]: Do not allow headers.
24537         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24538         is[abcdefghijklmnopqrstuvwxyz]*.
24539         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24540         to[abcdefghijklmnopqrstuvwxyz]*.
24541         [ISO C standards] (*_t): Do not allow.
24542         * conform/data/stdalign.h-data: New file.
24543         * conform/data/stdbool.h-data: Likewise.
24544         * conform/data/stdnoreturn.h-data: Likewise.
24546 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24548         [BZ #14815]
24549         * manual/filesys.texi (Directory Entries): Typo fix.
24550         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24552 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24554         * elf/elf.h (EM_AARCH64): New macro.
24555         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24556         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24557         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24558         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24559         (R_AARCH64_TLSDESC): Likewise.
24560         (NT_ARM_TLS): Likewise.
24561         (NT_ARM_HW_BREAK): Likewise.
24562         (NT_ARM_HW_WATCH): Likewise.
24564 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24566         [BZ #14811]
24567         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24568         (__ieee754_powl): Saturate nonzero exponents with absolute value
24569         below 0x1p-79 to +/- 0x1p-79.
24570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24571         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24572         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24573         nonzero exponents with absolute value below 0x1p-32 to +/-
24574         0x1p-32.
24575         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24576         (__ieee754_powl): Saturate nonzero exponents with absolute value
24577         below 0x1p-79 to +/- 0x1p-79.
24578         * math/libm-test.inc (pow_test): Add more tests.
24580 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24582         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24583         _dl_s390_cap_flags with kernel. Increase string length.
24584         (_dl_s390_platforms): Add z196 and zEC12.
24586 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24588         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24589         Change XOPEN21K to XOPEN2K.
24591 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24593         * string/memmove.c: Use memcpy when possible.
24595 2012-11-06  Andreas Jaeger  <aj@suse.de>
24597         * po/eo.po: Update from translation team.
24599 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24601         [BZ #14793]
24602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24603         exponent and small x and y exponents, scale x or y up.  Increase
24604         by 2 the exponent used in scaling up.
24605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24607         * math/libm-test.inc (fma_test): Add more tests.
24608         (fma_test_towardzero): Likewise.
24609         (fma_test_downward): Likewise.
24610         (fma_test_upward): Likewise.
24612 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24614         [BZ #14805]
24615         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24616         fenv_t *.
24618         [BZ #14801]
24619         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24620         namespace for names of struct fields.
24621         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24622         fenv_t fields.
24623         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24624         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24626 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24628         [BZ #3665]
24629         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24631 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24633         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24634         PTR_DEMANGLE.
24636         [BZ #5246]
24637         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24638         PTR_DEMANGLE.
24640 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24642         [BZ #14797]
24643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24644         definitely overflow as x * y not x * y + z.
24645         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24646         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24647         * math/libm-test.inc (fma_test): Add more tests.
24648         (fma_test_towardzero): Likewise.
24649         (fma_test_downward): Likewise.
24650         (fma_test_upward): Likewise.
24652 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24654         [BZ #157]
24656         * include/stub-tag.h: Remove file.
24657         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24658         '#include' of it.
24659         * manual/maint.texi (Porting): Don't reference it.
24660         * Makerules ($(objpfx)stubs): Likewise.
24661         * dirent/closedir.c: Don't include <stub-tag.h>.
24662         * dirent/dirfd.c: Likewise.
24663         * dirent/fdopendir.c: Likewise.
24664         * dirent/getdents.c: Likewise.
24665         * dirent/getdents64.c: Likewise.
24666         * dirent/opendir.c: Likewise.
24667         * dirent/readdir.c: Likewise.
24668         * dirent/readdir64.c: Likewise.
24669         * dirent/readdir64_r.c: Likewise.
24670         * dirent/readdir_r.c: Likewise.
24671         * dirent/rewinddir.c: Likewise.
24672         * dirent/seekdir.c: Likewise.
24673         * dirent/telldir.c: Likewise.
24674         * gmon/profil.c: Likewise.
24675         * grp/setgroups.c: Likewise.
24676         * inet/if_index.c: Likewise.
24677         * io/access.c: Likewise.
24678         * io/chdir.c: Likewise.
24679         * io/chmod.c: Likewise.
24680         * io/chown.c: Likewise.
24681         * io/close.c: Likewise.
24682         * io/dup.c: Likewise.
24683         * io/dup2.c: Likewise.
24684         * io/dup3.c: Likewise.
24685         * io/euidaccess.c: Likewise.
24686         * io/faccessat.c: Likewise.
24687         * io/fchdir.c: Likewise.
24688         * io/fchmod.c: Likewise.
24689         * io/fchmodat.c: Likewise.
24690         * io/fchown.c: Likewise.
24691         * io/fchownat.c: Likewise.
24692         * io/fcntl.c: Likewise.
24693         * io/flock.c: Likewise.
24694         * io/fstatfs.c: Likewise.
24695         * io/fstatfs64.c: Likewise.
24696         * io/fstatvfs.c: Likewise.
24697         * io/fstatvfs64.c: Likewise.
24698         * io/futimens.c: Likewise.
24699         * io/fxstat.c: Likewise.
24700         * io/fxstat64.c: Likewise.
24701         * io/fxstatat.c: Likewise.
24702         * io/fxstatat64.c: Likewise.
24703         * io/getcwd.c: Likewise.
24704         * io/isatty.c: Likewise.
24705         * io/lchmod.c: Likewise.
24706         * io/lchown.c: Likewise.
24707         * io/link.c: Likewise.
24708         * io/linkat.c: Likewise.
24709         * io/lseek.c: Likewise.
24710         * io/lseek64.c: Likewise.
24711         * io/lxstat64.c: Likewise.
24712         * io/mkdir.c: Likewise.
24713         * io/mkdirat.c: Likewise.
24714         * io/mkfifo.c: Likewise.
24715         * io/mkfifoat.c: Likewise.
24716         * io/open.c: Likewise.
24717         * io/open64.c: Likewise.
24718         * io/openat.c: Likewise.
24719         * io/openat64.c: Likewise.
24720         * io/pipe.c: Likewise.
24721         * io/pipe2.c: Likewise.
24722         * io/poll.c: Likewise.
24723         * io/posix_fadvise.c: Likewise.
24724         * io/posix_fadvise64.c: Likewise.
24725         * io/posix_fallocate.c: Likewise.
24726         * io/posix_fallocate64.c: Likewise.
24727         * io/read.c: Likewise.
24728         * io/readlink.c: Likewise.
24729         * io/readlinkat.c: Likewise.
24730         * io/rmdir.c: Likewise.
24731         * io/sendfile.c: Likewise.
24732         * io/sendfile64.c: Likewise.
24733         * io/statfs.c: Likewise.
24734         * io/statfs64.c: Likewise.
24735         * io/statvfs.c: Likewise.
24736         * io/statvfs64.c: Likewise.
24737         * io/symlink.c: Likewise.
24738         * io/symlinkat.c: Likewise.
24739         * io/ttyname.c: Likewise.
24740         * io/ttyname_r.c: Likewise.
24741         * io/umask.c: Likewise.
24742         * io/unlink.c: Likewise.
24743         * io/unlinkat.c: Likewise.
24744         * io/utime.c: Likewise.
24745         * io/utimensat.c: Likewise.
24746         * io/write.c: Likewise.
24747         * io/xmknod.c: Likewise.
24748         * io/xmknodat.c: Likewise.
24749         * io/xstat.c: Likewise.
24750         * io/xstat64.c: Likewise.
24751         * login/getpt.c: Likewise.
24752         * login/grantpt.c: Likewise.
24753         * login/unlockpt.c: Likewise.
24754         * math/e_acoshl.c: Likewise.
24755         * math/e_acosl.c: Likewise.
24756         * math/e_asinl.c: Likewise.
24757         * math/e_atan2l.c: Likewise.
24758         * math/e_atanhl.c: Likewise.
24759         * math/e_coshl.c: Likewise.
24760         * math/e_expl.c: Likewise.
24761         * math/e_fmodl.c: Likewise.
24762         * math/e_gammal_r.c: Likewise.
24763         * math/e_hypotl.c: Likewise.
24764         * math/e_j0l.c: Likewise.
24765         * math/e_j1l.c: Likewise.
24766         * math/e_jnl.c: Likewise.
24767         * math/e_lgammal_r.c: Likewise.
24768         * math/e_log10l.c: Likewise.
24769         * math/e_log2l.c: Likewise.
24770         * math/e_logl.c: Likewise.
24771         * math/e_powl.c: Likewise.
24772         * math/e_rem_pio2l.c: Likewise.
24773         * math/e_sinhl.c: Likewise.
24774         * math/e_sqrtl.c: Likewise.
24775         * math/fclrexcpt.c: Likewise.
24776         * math/fedisblxcpt.c: Likewise.
24777         * math/feenablxcpt.c: Likewise.
24778         * math/fegetenv.c: Likewise.
24779         * math/fegetexcept.c: Likewise.
24780         * math/fegetround.c: Likewise.
24781         * math/feholdexcpt.c: Likewise.
24782         * math/fesetenv.c: Likewise.
24783         * math/fesetround.c: Likewise.
24784         * math/feupdateenv.c: Likewise.
24785         * math/fgetexcptflg.c: Likewise.
24786         * math/fraiseexcpt.c: Likewise.
24787         * math/fsetexcptflg.c: Likewise.
24788         * math/ftestexcept.c: Likewise.
24789         * math/k_cosl.c: Likewise.
24790         * math/k_rem_pio2l.c: Likewise.
24791         * math/k_sinl.c: Likewise.
24792         * math/k_tanl.c: Likewise.
24793         * math/s_asinhl.c: Likewise.
24794         * math/s_atanl.c: Likewise.
24795         * math/s_cbrtl.c: Likewise.
24796         * math/s_erfl.c: Likewise.
24797         * math/s_expm1l.c: Likewise.
24798         * math/s_log1pl.c: Likewise.
24799         * math/s_tanhl.c: Likewise.
24800         * misc/acct.c: Likewise.
24801         * misc/brk.c: Likewise.
24802         * misc/chflags.c: Likewise.
24803         * misc/chroot.c: Likewise.
24804         * misc/fchflags.c: Likewise.
24805         * misc/fgetxattr.c: Likewise.
24806         * misc/flistxattr.c: Likewise.
24807         * misc/fremovexattr.c: Likewise.
24808         * misc/fsetxattr.c: Likewise.
24809         * misc/fsync.c: Likewise.
24810         * misc/ftruncate.c: Likewise.
24811         * misc/futimes.c: Likewise.
24812         * misc/futimesat.c: Likewise.
24813         * misc/getdomain.c: Likewise.
24814         * misc/getdtsz.c: Likewise.
24815         * misc/gethostid.c: Likewise.
24816         * misc/gethostname.c: Likewise.
24817         * misc/getloadavg.c: Likewise.
24818         * misc/getpagesize.c: Likewise.
24819         * misc/getsysstats.c: Likewise.
24820         * misc/getxattr.c: Likewise.
24821         * misc/gtty.c: Likewise.
24822         * misc/ioctl.c: Likewise.
24823         * misc/lgetxattr.c: Likewise.
24824         * misc/listxattr.c: Likewise.
24825         * misc/llistxattr.c: Likewise.
24826         * misc/lremovexattr.c: Likewise.
24827         * misc/lsetxattr.c: Likewise.
24828         * misc/lutimes.c: Likewise.
24829         * misc/madvise.c: Likewise.
24830         * misc/mincore.c: Likewise.
24831         * misc/mlock.c: Likewise.
24832         * misc/mlockall.c: Likewise.
24833         * misc/mmap.c: Likewise.
24834         * misc/mprotect.c: Likewise.
24835         * misc/msync.c: Likewise.
24836         * misc/munlock.c: Likewise.
24837         * misc/munlockall.c: Likewise.
24838         * misc/munmap.c: Likewise.
24839         * misc/preadv.c: Likewise.
24840         * misc/preadv64.c: Likewise.
24841         * misc/ptrace.c: Likewise.
24842         * misc/pwritev.c: Likewise.
24843         * misc/pwritev64.c: Likewise.
24844         * misc/readv.c: Likewise.
24845         * misc/reboot.c: Likewise.
24846         * misc/remap_file_pages.c: Likewise.
24847         * misc/removexattr.c: Likewise.
24848         * misc/revoke.c: Likewise.
24849         * misc/select.c: Likewise.
24850         * misc/setdomain.c: Likewise.
24851         * misc/setegid.c: Likewise.
24852         * misc/seteuid.c: Likewise.
24853         * misc/sethostid.c: Likewise.
24854         * misc/sethostname.c: Likewise.
24855         * misc/setregid.c: Likewise.
24856         * misc/setreuid.c: Likewise.
24857         * misc/setxattr.c: Likewise.
24858         * misc/sstk.c: Likewise.
24859         * misc/stty.c: Likewise.
24860         * misc/swapoff.c: Likewise.
24861         * misc/swapon.c: Likewise.
24862         * misc/sync.c: Likewise.
24863         * misc/syncfs.c: Likewise.
24864         * misc/syscall.c: Likewise.
24865         * misc/truncate.c: Likewise.
24866         * misc/ualarm.c: Likewise.
24867         * misc/usleep.c: Likewise.
24868         * misc/ustat.c: Likewise.
24869         * misc/utimes.c: Likewise.
24870         * misc/vhangup.c: Likewise.
24871         * misc/writev.c: Likewise.
24872         * posix/_exit.c: Likewise.
24873         * posix/alarm.c: Likewise.
24874         * posix/execve.c: Likewise.
24875         * posix/fexecve.c: Likewise.
24876         * posix/fork.c: Likewise.
24877         * posix/fpathconf.c: Likewise.
24878         * posix/getaddrinfo.c: Likewise.
24879         * posix/getegid.c: Likewise.
24880         * posix/geteuid.c: Likewise.
24881         * posix/getgid.c: Likewise.
24882         * posix/getgroups.c: Likewise.
24883         * posix/getlogin.c: Likewise.
24884         * posix/getlogin_r.c: Likewise.
24885         * posix/getpgid.c: Likewise.
24886         * posix/getpid.c: Likewise.
24887         * posix/getppid.c: Likewise.
24888         * posix/getresgid.c: Likewise.
24889         * posix/getresuid.c: Likewise.
24890         * posix/getsid.c: Likewise.
24891         * posix/getuid.c: Likewise.
24892         * posix/glob64.c: Likewise.
24893         * posix/nanosleep.c: Likewise.
24894         * posix/pathconf.c: Likewise.
24895         * posix/pause.c: Likewise.
24896         * posix/posix_madvise.c: Likewise.
24897         * posix/pread.c: Likewise.
24898         * posix/pread64.c: Likewise.
24899         * posix/pwrite.c: Likewise.
24900         * posix/pwrite64.c: Likewise.
24901         * posix/sched_getaffinity.c: Likewise.
24902         * posix/sched_getp.c: Likewise.
24903         * posix/sched_gets.c: Likewise.
24904         * posix/sched_primax.c: Likewise.
24905         * posix/sched_primin.c: Likewise.
24906         * posix/sched_rr_gi.c: Likewise.
24907         * posix/sched_setaffinity.c: Likewise.
24908         * posix/sched_setp.c: Likewise.
24909         * posix/sched_sets.c: Likewise.
24910         * posix/sched_yield.c: Likewise.
24911         * posix/setgid.c: Likewise.
24912         * posix/setlogin.c: Likewise.
24913         * posix/setpgid.c: Likewise.
24914         * posix/setresgid.c: Likewise.
24915         * posix/setresuid.c: Likewise.
24916         * posix/setsid.c: Likewise.
24917         * posix/setuid.c: Likewise.
24918         * posix/sleep.c: Likewise.
24919         * posix/spawni.c: Likewise.
24920         * posix/sysconf.c: Likewise.
24921         * posix/times.c: Likewise.
24922         * posix/wait.c: Likewise.
24923         * posix/wait3.c: Likewise.
24924         * posix/wait4.c: Likewise.
24925         * posix/waitpid.c: Likewise.
24926         * resolv/gai_sigqueue.c: Likewise.
24927         * resource/getpriority.c: Likewise.
24928         * resource/getrlimit.c: Likewise.
24929         * resource/getrusage.c: Likewise.
24930         * resource/nice.c: Likewise.
24931         * resource/setpriority.c: Likewise.
24932         * resource/setrlimit.c: Likewise.
24933         * resource/ulimit.c: Likewise.
24934         * rt/aio_cancel.c: Likewise.
24935         * rt/aio_fsync.c: Likewise.
24936         * rt/aio_read.c: Likewise.
24937         * rt/aio_sigqueue.c: Likewise.
24938         * rt/aio_suspend.c: Likewise.
24939         * rt/aio_write.c: Likewise.
24940         * rt/clock_getres.c: Likewise.
24941         * rt/clock_gettime.c: Likewise.
24942         * rt/clock_nanosleep.c: Likewise.
24943         * rt/clock_settime.c: Likewise.
24944         * rt/lio_listio.c: Likewise.
24945         * rt/mq_close.c: Likewise.
24946         * rt/mq_getattr.c: Likewise.
24947         * rt/mq_notify.c: Likewise.
24948         * rt/mq_open.c: Likewise.
24949         * rt/mq_receive.c: Likewise.
24950         * rt/mq_send.c: Likewise.
24951         * rt/mq_setattr.c: Likewise.
24952         * rt/mq_timedreceive.c: Likewise.
24953         * rt/mq_timedsend.c: Likewise.
24954         * rt/mq_unlink.c: Likewise.
24955         * rt/shm_open.c: Likewise.
24956         * rt/shm_unlink.c: Likewise.
24957         * rt/timer_create.c: Likewise.
24958         * rt/timer_delete.c: Likewise.
24959         * rt/timer_getoverr.c: Likewise.
24960         * rt/timer_gettime.c: Likewise.
24961         * rt/timer_settime.c: Likewise.
24962         * setjmp/__longjmp.c: Likewise.
24963         * setjmp/setjmp.c: Likewise.
24964         * signal/kill.c: Likewise.
24965         * signal/killpg.c: Likewise.
24966         * signal/raise.c: Likewise.
24967         * signal/sigaction.c: Likewise.
24968         * signal/sigaltstack.c: Likewise.
24969         * signal/sigblock.c: Likewise.
24970         * signal/sigignore.c: Likewise.
24971         * signal/sigintr.c: Likewise.
24972         * signal/signal.c: Likewise.
24973         * signal/sigpause.c: Likewise.
24974         * signal/sigpending.c: Likewise.
24975         * signal/sigqueue.c: Likewise.
24976         * signal/sigreturn.c: Likewise.
24977         * signal/sigset.c: Likewise.
24978         * signal/sigsetmask.c: Likewise.
24979         * signal/sigstack.c: Likewise.
24980         * signal/sigsuspend.c: Likewise.
24981         * signal/sigtimedwait.c: Likewise.
24982         * signal/sigvec.c: Likewise.
24983         * signal/sigwait.c: Likewise.
24984         * signal/sigwaitinfo.c: Likewise.
24985         * signal/sysv_signal.c: Likewise.
24986         * socket/accept.c: Likewise.
24987         * socket/accept4.c: Likewise.
24988         * socket/bind.c: Likewise.
24989         * socket/connect.c: Likewise.
24990         * socket/getpeername.c: Likewise.
24991         * socket/getsockname.c: Likewise.
24992         * socket/getsockopt.c: Likewise.
24993         * socket/isfdtype.c: Likewise.
24994         * socket/listen.c: Likewise.
24995         * socket/recv.c: Likewise.
24996         * socket/recvfrom.c: Likewise.
24997         * socket/recvmsg.c: Likewise.
24998         * socket/send.c: Likewise.
24999         * socket/sendmsg.c: Likewise.
25000         * socket/sendto.c: Likewise.
25001         * socket/setsockopt.c: Likewise.
25002         * socket/shutdown.c: Likewise.
25003         * socket/sockatmark.c: Likewise.
25004         * socket/socket.c: Likewise.
25005         * socket/socketpair.c: Likewise.
25006         * stdio-common/ctermid.c: Likewise.
25007         * stdio-common/cuserid.c: Likewise.
25008         * stdio-common/remove.c: Likewise.
25009         * stdio-common/rename.c: Likewise.
25010         * stdio-common/renameat.c: Likewise.
25011         * stdio-common/tempname.c: Likewise.
25012         * stdlib/getcontext.c: Likewise.
25013         * stdlib/makecontext.c: Likewise.
25014         * stdlib/setcontext.c: Likewise.
25015         * stdlib/swapcontext.c: Likewise.
25016         * stdlib/system.c: Likewise.
25017         * streams/fattach.c: Likewise.
25018         * streams/fdetach.c: Likewise.
25019         * streams/getmsg.c: Likewise.
25020         * streams/getpmsg.c: Likewise.
25021         * streams/putmsg.c: Likewise.
25022         * streams/putpmsg.c: Likewise.
25023         * sysdeps/unix/bsd/getpt.c: Likewise.
25024         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25025         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25026         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25028         Likewise.
25029         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25030         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25031         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25032         * sysvipc/msgctl.c: Likewise.
25033         * sysvipc/msgget.c: Likewise.
25034         * sysvipc/msgrcv.c: Likewise.
25035         * sysvipc/msgsnd.c: Likewise.
25036         * sysvipc/semctl.c: Likewise.
25037         * sysvipc/semget.c: Likewise.
25038         * sysvipc/semop.c: Likewise.
25039         * sysvipc/semtimedop.c: Likewise.
25040         * sysvipc/shmat.c: Likewise.
25041         * sysvipc/shmctl.c: Likewise.
25042         * sysvipc/shmdt.c: Likewise.
25043         * sysvipc/shmget.c: Likewise.
25044         * termios/tcdrain.c: Likewise.
25045         * termios/tcflow.c: Likewise.
25046         * termios/tcflush.c: Likewise.
25047         * termios/tcgetattr.c: Likewise.
25048         * termios/tcgetpgrp.c: Likewise.
25049         * termios/tcsendbrk.c: Likewise.
25050         * termios/tcsetattr.c: Likewise.
25051         * termios/tcsetpgrp.c: Likewise.
25052         * time/adjtime.c: Likewise.
25053         * time/clock.c: Likewise.
25054         * time/getitimer.c: Likewise.
25055         * time/gettimeofday.c: Likewise.
25056         * time/setitimer.c: Likewise.
25057         * time/settimeofday.c: Likewise.
25058         * time/stime.c: Likewise.
25059         * time/time.c: Likewise.
25061 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25063         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25064         /usr/old/bin.
25066         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25067         instead of spaces.
25068         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25070 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25072         [BZ #14796]
25073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25074         FE_TONEAREST before applying Dekker multiplication and Knuth
25075         addition.  Clear inexact exceptions and check for exact zero
25076         results afterwards.
25077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25080         * math/libm-test.inc (fma_test): Add more tests.
25081         (fma_test_towardzero): Likewise.
25082         (fma_test_downward): Likewise.
25083         (fma_test_upward): Likewise.
25084         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25085         function.
25086         (libc_fesetround): New macro.
25087         (libc_fesetroundf): Likewise.
25088         (libc_fesetroundl): Likewise.
25089         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25090         function.
25091         (libc_fesetround_387): Likewise.
25092         (libc_fesetroundf): New macro.
25093         (libc_fesetround): Likewise.
25094         (libc_fesetroundl): Likewise.
25095         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25096         function.
25097         (libc_fesetroundf): New macro.
25098         (libc_fesetround): Likewise.
25099         (libc_fesetroundl): Likewise.
25100         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25101         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25102         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25103         libm_hidden_ver.
25104         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25105         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25106         libm_hidden_def.
25107         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25108         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25109         libm_hidden_ver.
25110         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25111         libm_hidden_def.
25113         [BZ #3439]
25114         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25115         integer constant usable in #if and use that to give value to enum
25116         constant.
25117         (FE_DIVBYZERO): Likewise.
25118         (FE_UNDERFLOW): Likewise.
25119         (FE_OVERFLOW): Likewise.
25120         (FE_INVALID): Likewise.
25121         (FE_INVALID_SNAN): Likewise.
25122         (FE_INVALID_ISI): Likewise.
25123         (FE_INVALID_IDI): Likewise.
25124         (FE_INVALID_ZDZ): Likewise.
25125         (FE_INVALID_IMZ): Likewise.
25126         (FE_INVALID_COMPARE): Likewise.
25127         (FE_INVALID_SOFTWARE): Likewise.
25128         (FE_INVALID_SQRT): Likewise.
25129         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25130         (FE_TONEAREST): Likewise.
25131         (FE_TOWARDZERO): Likewise.
25132         (FE_UPWARD): Likewise.
25133         (FE_DOWNWARD): Likewise.
25134         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25135         (FE_DIVBYZERO): Likewise.
25136         (FE_OVERFLOW): Likewise.
25137         (FE_UNDERFLOW): Likewise.
25138         (FE_INEXACT): Likewise.
25139         (FE_TONEAREST): Likewise.
25140         (FE_DOWNWARD): Likewise.
25141         (FE_UPWARD): Likewise.
25142         (FE_TOWARDZERO): Likewise.
25143         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25144         (FE_UNDERFLOW): Likewise.
25145         (FE_OVERFLOW): Likewise.
25146         (FE_DIVBYZERO): Likewise.
25147         (FE_INVALID): Likewise.
25148         (FE_TONEAREST): Likewise.
25149         (FE_TOWARDZERO): Likewise.
25150         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25151         (FE_OVERFLOW): Likewise.
25152         (FE_UNDERFLOW): Likewise.
25153         (FE_DIVBYZERO): Likewise.
25154         (FE_INEXACT): Likewise.
25155         (FE_TONEAREST): Likewise.
25156         (FE_TOWARDZERO): Likewise.
25157         (FE_UPWARD): Likewise.
25158         (FE_DOWNWARD): Likewise.
25159         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25160         (FE_DIVBYZERO): Likewise.
25161         (FE_OVERFLOW): Likewise.
25162         (FE_UNDERFLOW): Likewise.
25163         (FE_INEXACT): Likewise.
25164         (FE_TONEAREST): Likewise.
25165         (FE_DOWNWARD): Likewise.
25166         (FE_UPWARD): Likewise.
25167         (FE_TOWARDZERO): Likewise.
25169 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25171         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25173 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25175         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25176         commands.  Quote $PWD.
25177         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25178         -x" by "export".
25179         (remove_newlines): Remove.
25181 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25183         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25184         * stdlib/stdlib.h (atof): Moved to ...
25185         * include/bits/stdlib-float.h: Here.  New file.
25186         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25187         * stdlib/bits/stdlib-float.h: New file.
25188         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25189         -mno-sse -mno-mmx.
25190         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25191         <xmmintrin.h>.
25193 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25195         * conform/conformtest.pl (@headers): Add fenv.h.
25196         * conform/data/fenv.h-data: New file.
25197         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25198         include of <math/fenv.h>.
25200         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25201         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25202         && !UNIX98].  Enables tests for XOPEN2K8.
25203         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25204         POSIX2008]: Likewise.
25206         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25207         (struct rusage): Do not expect type or its members.
25209         [BZ #3439]
25210         * math/math.h (FP_NAN): Define macro to integer constant usable in
25211         #if and use that to give value to enum constant.
25212         (FP_INFINITE): Likewise.
25213         (FP_ZERO): Likewise.
25214         (FP_SUBNORMAL): Likewise.
25215         (FP_NORMAL): Likewise.
25217 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25219         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25220         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25221         arguments.
25223 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25225         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25226         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25227         autoconf-time if not.
25228         * configure.in: Remove AC_PREREQ.
25230 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25232         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25233         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25234         of the internal implementation.
25236 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25238         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25239         except include of <misc/sys/syslog.h>.
25241 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25244         function returns with a NULL context exit with zero.
25246 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25248         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25250 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25252         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25253         (run_program_cmd): This.
25254         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25255         (tst_langinfo): New variable.  Use it.
25257 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25259         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25260         floating point opcodes.
25262 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25264         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25265         variable.
25267         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25269         * sysdeps/mach/hurd/powerpc: Remove directory.
25270         * sysdeps/mach/powerpc: Likewise.
25272 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25274         * scripts/check-local-headers.sh: Ignore c++ headers.
25276 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25278         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25279         __libc_cleanup_region_start argument.
25281 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25283         [BZ #14784]
25284         [BZ #14785]
25285         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25286         x * y using scaling, not as x * y + z.
25287         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25288         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25289         * math/libm-test.inc (fma_test): Add more tests.
25290         (fma_test_towardzero): Likewise.
25291         (fma_test_downward): Likewise.
25292         (fma_test_upward): Likewise.
25294 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25296         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25298 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25300         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25301         New variable.
25303 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25305         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25307 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25310         Fix sort order.
25311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25312         Likewise.
25314 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25317         Fix the order of the list for glibc 2.17.
25318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25319         Likewise.
25321 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25325 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25327         [BZ #14610]
25328         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25329         for low part of x being zero before using __atanl (y).
25330         * math/libm-test.inc (atan2_test): Add another test.
25332         * manual/install.texi (Configuring and compiling): Document
25333         general use of test-wrapper and test-wrapper-env.
25334         * INSTALL: Regenerated.
25336         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25337         (__fma): Do not extract and scale down low bits on after-rounding
25338         systems when result rounded to normal precision would have normal
25339         exponent.
25340         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25341         (__fmal): Do not extract and scale down low bits on after-rounding
25342         systems when result rounded to normal precision would have normal
25343         exponent.
25344         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25345         (__fmal): Do not extract and scale down low bits on after-rounding
25346         systems when result rounded to normal precision would have normal
25347         exponent.
25348         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25349         macro.
25350         (fma_test): Add more tests.
25351         (fma_test_towardzero): Likewise.
25352         (fma_test_downward): Likewise.
25353         (fma_test_upward): Likewise.
25355 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25357         * sysdeps/i386/tininess.h: Renamed to ...
25358         * sysdeps/x86/tininess.h: This.
25359         * sysdeps/x86_64/tininess.h: Removed.
25361 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25363         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25364         input.  Use $(build-program-cmd).
25365         ($(objpfx)tst-array1-static.out): Likewise.
25366         ($(objpfx)tst-array2.out): Likewise.
25367         ($(objpfx)tst-array3.out): Likewise.
25368         ($(objpfx)tst-array4.out): Likewise.
25369         ($(objpfx)tst-array5.out): Likewise.
25370         ($(objpfx)tst-array5-static.out): Likewise.
25372 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25374         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25375         if defined.
25377         * nss/nsswitch.h (nss_interface_function): Provide new
25378         macro for use with NSS functions.
25379         * grp/initgroups.c: Use new macro.
25380         * nss/getXXbyYY.c: Likewise.
25381         * nss/getXXbyYY_r.c: Likewise.
25382         * nss/getXXent.c: Likewise.
25383         * nss/getXXent_r.c: Likewise.
25384         * sysdeps/posix/getaddrinfo.c: Likewise.
25386 2012-10-30  Andreas Jaeger  <aj@suse.de>
25388         * po/ru.po: Update Russion translation from translation project.
25390 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25392         [BZ #14152]
25393         [BZ #14783]
25394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25395         result and shift together with sticky bit instead of replicating
25396         round-to-nearest rounding.
25397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25399         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25400         missing underflow exceptions.
25401         (fma_test_towardzero): Add more tests.
25402         (fma_test_downward): Likewise.
25403         (fma_test_upward): Likewise.
25405         [BZ #14047]
25406         * sysdeps/generic/tininess.h: New file.
25407         * sysdeps/i386/tininess.h: Likewise.
25408         * sysdeps/sh/tininess.h: Likewise.
25409         * sysdeps/x86_64/tininess.h: Likewise.
25410         * stdlib/tst-strtod-underflow.c: Likewise.
25411         * stdlib/tst-tininess.c: Likewise.
25412         * stdlib/strtod_l.c: Include <tininess.h>.
25413         (round_and_return): Do not set errno for exact underflow cases.
25414         Force an underflow exception when setting errno for underflow.
25415         Determine underflow based on rounding to normal precision if
25416         TININESS_AFTER_ROUNDING.
25417         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25418         ERANGE for exact underflow cases.
25419         * stdlib/Makefile (tests): Add tst-tininess and
25420         tst-strtod-underflow.
25421         ($(objpfx)tst-tininess): Use $(link-libm).
25422         ($(objpfx)tst-strtod-underflow): Likewise.
25424 2012-10-30  Andreas Jaeger  <aj@suse.de>
25426         [BZ#14767]
25427         * elf/Makefile (tests): Remove conditional for have-initfini-array
25428         since this is now always required and the variable does not exist
25429         anymore.
25430         (tests-static): Likewise.
25431         (modules-names): Likewise.
25433         * po/eo.po: Add Esperanto translation from translation project.
25435         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25436         merged with constructor/destructor.
25437         (init_array): Likewise.
25438         * elf/tst-array2dep.c (fini_array): Likewise.
25439         (init_array): Likewise.
25441 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25443         * manual/message.texi: Delete @cartouche tags.
25445 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25447         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25448         EOPNOTSUPP.
25449         * sysdeps/mach/hurd/fsync.c: Likewise.
25451         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25452         [_POSIX_REALTIME_SIGNALS]: Change condition to
25453         [_POSIX_REALTIME_SIGNALS > 0].
25455 2012-10-27  Andreas Jaeger  <aj@suse.de>
25457         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25458         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25459         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25460         [__WORDSIZE != 64]: Likewise.
25462 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25464         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25465         *  iconvdata/tst-tables.sh: Likewise.
25467 2012-10-25  David S. Miller  <davem@davemloft.net>
25469         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25470         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25471         of strtoull.
25473         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25474         ifunc-impl-list.c
25475         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25476         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25477         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25478         file.
25480 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25482         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25483         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25484         __getdirentries.
25486 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25487             Jim Blandy  <jimb@codesourcery.com>
25489         * scripts/cross-test-ssh.sh: New file.
25490         * manual/install.texi (Configuring and compiling): Document use of
25491         cross-test-ssh.sh.
25492         * INSTALL: Regenerated.
25494 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25496         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25497         EOPNOTSUPP.
25499 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25501         * Makeconfig (run-program-prefix): Fix comment.
25503 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25504             Jim Blandy  <jimb@codesourcery.com>
25506         * Makeconfig (test-wrapper): New variable,
25507         (test-wrapper-env): Likewise.
25508         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25509         (run-built-tests): Define to yes.
25510         (run-program-prefix): Use $(test-wrapper).
25511         (built-program-cmd): Likewise.
25512         * Rules (make-test-out): Use $(test-wrapper-env) and
25513         $(host-built-program-cmd).
25514         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25515         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25516         tst-pathopt.sh.
25517         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25518         $(test-wrapper-env) to tst-rtld-load-self.sh.
25519         ($(objpfx)order2.out): Use $(test-wrapper).
25520         ($(objpfx)tst-initorder.out): Likewise.
25521         ($(objpfx)tst-initorder2.out): Likewise.
25522         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25523         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25524         (test_wrapper_env): New variable.  Use it to run ld.so.
25525         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25526         Use it to run ld.so.
25527         (test_wrapper_env): Likewise.
25528         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25529         $(test-wrapper) to run-iconv-test.sh.
25530         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25531         (ICONV): Use $test_wrapper.
25532         * posix/Makefile ($(objpfx)globtest.out): Pass
25533         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25534         globtest.sh, not $(run-program-prefix).
25535         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25536         (test_wrapper): Likewise.
25537         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25538         set together with run_via_rtld_prefix.
25539         (run_program_prefix): Define in terms of test_wrapper and
25540         run_via_rtld_prefix.
25542 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25544         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25545         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25546         Targets removed.
25548         [BZ #14743]
25549         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25550         Declare __clock_getres, __clock_gettime, __clock_settime,
25551         __clock_nanosleep, and __clock_getcpuclockid.
25552         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25553         Remove librt_hidden_def (clock_gettime).
25554         * sysdeps/unix/clock_gettime.c: Likewise.
25555         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25556         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25557         * rt/clock_getres.c: Define __clock_getres as an alias.
25558         * sysdeps/posix/clock_getres.c: Likewise.
25559         * rt/clock_settime.c: Define __clock_settime as an alias.
25560         * sysdeps/unix/clock_settime.c: Likewise.
25561         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25562         * sysdeps/unix/clock_nanosleep.c: Likewise.
25563         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25564         * rt/clock-compat.c: New file.
25565         * rt/Makefile (librt-routines): Add clock-compat and move
25566         $(clock-routines) to ...
25567         (routines): ... here, new variable.
25568         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25569         Don't add get_clockfreq here.
25570         * rt/Versions (libc: GLIBC_2.17): New version set.
25571         Add clock_* symbols here.
25572         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25573         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25574         (GLIBC_2.17): Add clock_* symbols.
25575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25579         Likewise.
25580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25581         Likewise.
25582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25586         * NEWS: Mention the move.
25588         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25589         Use __open, __read, __close rather than their public counterparts.
25590         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25591         (__get_clockfreq_via_cpuinfo): Likewise.
25592         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25593         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25595         * config.h.in (HAVE_IFUNC): New #undef.
25596         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25597         was successful.
25598         * configure: Regenerated.
25600 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25602         * configure.in: Move READELF check to start of file.
25603         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25604         libc_cv_asm_gnu_indirect_function in the process.
25605         * configure: Regenerated.
25607 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25609         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25610         send the output to /dev/null.
25611         (libc_cv_cc_with_libunwind): Likewise.
25612         (libc_cv_as_noexecstack): Likewise.
25613         * configure: Regenerate.
25615 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25617         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25619         * posix/globtest.sh (TMPDIR): Do not set.
25620         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25621         (testout): Likewise.
25623 2012-10-24  Andreas Jaeger  <aj@suse.de>
25625         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25626         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25627         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25628         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25629         posix_fadvise64, posix_fallocate64.
25631         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25632         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25633         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25634         Likewise.
25635         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25636         Likewise.
25637         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25639         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25640         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25641         <bits/fcntl-linux.h>.
25642         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25645         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25646         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25647         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25648         [__WORDSIZE != 64]: Likewise.
25650 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25652         * Makeconfig (run-built-tests): New variable.
25653         * Rules [$(cross-compiling) = yes]: Change condition to
25654         [$(run-built-tests) = no].
25655         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25656         to [$(run-built-tests) = yes].
25657         * elf/Makefile [$(cross-compiling) = no]: Likewise
25658         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25659         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25660         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25661         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25662         * io/Makefile [$(cross-compiling) = no]: Likewise.
25663         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25664         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25665         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25666         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25667         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25668         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25669         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25670         * string/Makefile [$(cross-compiling) = no]: Likewise.
25672         * posix/Makefile ($(objpfx)globtest.out): Pass
25673         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25674         $(rtld-installed-name).
25675         * posix/globtest.sh (elf_objpfx): Remove variable.
25676         (rtld_installed_name): Likewise.
25677         (library_path): Likewise.
25678         (run_program_prefix): New variable.  Use for running globtest
25679         binary.
25681 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25682             Joseph Myers  <joseph@codesourcery.com>
25684         * Makeconfig (host-built-program-cmd): New variable.
25685         * elf/Makefile (tst-stackguard1-ARGS): Use
25686         $(host-built-program-cmd).
25687         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25688         (tst-spawn-ARGS): Likewise.
25689         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25691 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25692             Jim Blandy  <jimb@codesourcery.com>
25694         * Makeconfig (run-via-rtld-prefix): New variable.
25695         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25696         (built-program-cmd): Likewise.
25698 2012-10-22  Andreas Jaeger  <aj@suse.de>
25700         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25701         __O_RSYNC if it exists, otherwise to O_SYNC.
25703 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25704             Joseph Myers  <joseph@codesourcery.com>
25706         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25707         /dev/null.
25708         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25709         from /dev/null
25710         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25711         /dev/null.
25713 2012-10-22  Andreas Jaeger  <aj@suse.de>
25715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25716         Define always.
25717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25720         bits/fcntl-linux.h.
25722         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25723         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25725         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25726         to __O_LARGEFILE.
25727         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25728         to __O_LARGEFILE.
25730 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25731             Joseph Myers  <joseph@codesourcery.com>
25733         * config.make.in (NM): New variable.
25735 2012-10-21  Andreas Jaeger  <aj@suse.de>
25737         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25738         definitions and declarations that are provided by
25739         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25741 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25743         [BZ #14683]
25744         * elf/Makefile (tests-static): Add tst-leaks1-static.
25745         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25746         ($(objpfx)tst-leaks1-static): New rule.
25747         ($(objpfx)tst-leaks1-static-mem): Likewise.
25748         (tst-leaks1-static-ENV): New macro.
25749         * elf/dl-open.c (dl_open_worker): Check the main application
25750         only if SHARED is defined.
25751         * elf/tst-leaks1-static.c: New file.
25753 2012-10-20  Andreas Jaeger  <aj@suse.de>
25755         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25756         generic values for Linux.
25757         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25758         and declarations that are provided by <bits/fcntl-linux.h> and
25759         include <bits/fcntl-linux.h>.
25760         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25763 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25765         * io/fcntl.h: Move include of <bits/types.h> to the top and
25766         include it unconditionally.
25768 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25770         * wcsmbs/Makefile (tests-ifunc): New variable.
25771         (tests): Add $(tests-ifunc).
25772         * wcsmbs/test-wcschr-ifunc.c: New file.
25773         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25774         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25775         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25776         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25777         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25779         * string/Makefile (tests-ifunc): New variable.
25780         (tests): Add $(tests-ifunc).
25781         * string/test-memccpy.c (TEST_NAME): New macro.
25782         * string/test-memchr.c (TEST_NAME): Likewise.
25783         * string/test-memcmp.c (TEST_NAME): Likewise.
25784         * string/test-memcpy.c (TEST_NAME): Likewise.
25785         * string/test-memmem.c (TEST_NAME): Likewise.
25786         * string/test-memmove.c (TEST_NAME): Likewise.
25787         * string/test-memset.c (TEST_NAME): Likewise.
25788         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25789         * string/test-stpcpy.c (TEST_NAME): Likewise.
25790         * string/test-stpncpy.c (TEST_NAME): Likewise.
25791         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25792         * string/test-strcasestr.c (TEST_NAME): Likewise.
25793         * string/test-strcat.c (TEST_NAME): Likewise.
25794         * string/test-strchr.c (TEST_NAME): Likewise.
25795         * string/test-strcmp.c(TEST_NAME): Likewise.
25796         * string/test-strcpy.c (TEST_NAME): Likewise.
25797         * string/test-strcspn.c (TEST_NAME): Likewise.
25798         * string/test-strlen.c (TEST_NAME): Likewise.
25799         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25800         * string/test-strncmp.c (TEST_NAME): Likewise.
25801         * string/test-strncpy.c (TEST_NAME): Likewise.
25802         * string/test-strnlen.c (TEST_NAME): Likewise.
25803         * string/test-strpbrk.c (TEST_NAME): Likewise.
25804         * string/test-strrchr.c (TEST_NAME): Likewise.
25805         * string/test-strspn.c (TEST_NAME): Likewise.
25806         * string/test-strstr.c (TEST_NAME): Likewise.
25807         * string/test-bcopy-ifunc.c: New file.
25808         * string/test-bzero-ifunc.c: Likewise.
25809         * string/test-memccpy-ifunc.c: Likewise.
25810         * string/test-memchr-ifunc.c: Likewise.
25811         * string/test-memcmp-ifunc.c: Likewise.
25812         * string/test-memcpy-ifunc.c: Likewise.
25813         * string/test-memmem-ifunc.c: Likewise.
25814         * string/test-memmove-ifunc.c: Likewise.
25815         * string/test-mempcpy-ifunc.c: Likewise.
25816         * string/test-memset-ifunc.c: Likewise.
25817         * string/test-rawmemchr-ifunc.c: Likewise.
25818         * string/test-stpcpy-ifunc.c: Likewise.
25819         * string/test-stpncpy-ifunc.c: Likewise.
25820         * string/test-strcasecmp-ifunc.c: Likewise.
25821         * string/test-strcasestr-ifunc.c: Likewise.
25822         * string/test-strcat-ifunc.c: Likewise.
25823         * string/test-strchr-ifunc.c: Likewise.
25824         * string/test-strchrnul-ifunc.c: Likewise.
25825         * string/test-strcmp-ifunc.c: Likewise.
25826         * string/test-strcpy-ifunc.c: Likewise.
25827         * string/test-strcspn-ifunc.c: Likewise.
25828         * string/test-strlen-ifunc.c: Likewise.
25829         * string/test-strncasecmp-ifunc.c: Likewise.
25830         * string/test-strncat-ifunc.c: Likewise.
25831         * string/test-strncmp-ifunc.c: Likewise.
25832         * string/test-strncpy-ifunc.c: Likewise.
25833         * string/test-strnlen-ifunc.c: Likewise.
25834         * string/test-strpbrk-ifunc.c: Likewise.
25835         * string/test-strrchr-ifunc.c: Likewise.
25836         * string/test-strspn-ifunc.c: Likewise.
25837         * string/test-strstr-ifunc.c: Likewise.
25839         * debug/Makefile (tests-ifunc): New variable.
25840         (tests): Add $(tests-ifunc).
25841         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25842         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25843         * debug/test-stpcpy_chk-ifunc.c: New file.
25844         * debug/test-strcpy_chk-ifunc.c: Likewise.
25846 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25848         [BZ #13601]
25849         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25850         header is not read in.
25852 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25854         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25855         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25856         directly.  Pass built executable to script as
25857         $(built-program-cmd).
25858         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25859         $testprogram without using LD_LIBRARY_PATH and $ldso.
25861         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25862         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25863         $(rtld-installed-name).
25864         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25865         (rtld_installed_name): Likewise.
25866         (library_path): Likewise.
25867         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25868         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25869         $(run-program-prefix) to tst-tables.sh.
25870         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25871         it to run tst-table-from and tst-table-to.
25872         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25873         Pass it to tst-table.sh.
25874         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25875         $(run-program-prefix) to tst-gettext.sh.
25876         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25877         tst-translit.sh.
25878         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25879         tst-gettext2.sh.
25880         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25881         to run tst-gettext.
25882         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25883         to run tst-gettext2.
25884         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25885         to run tst-translit.
25886         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25887         $(run-program-prefix) to tst-mtrace.sh.
25888         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25889         to run tst-mtrace.
25890         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25891         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25892         $(rtld-installed-name).
25893         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25894         (rtld_installed_name): Likewise.
25895         (run_program_prefix): New variable.  Use it to run wordexp-test.
25897         * Makeconfig (ARCH): Remove all definitions.
25898         (machine): Likewise.
25899         [ARCH]: Remove conditional code.
25900         [!objdir]: Give error.
25901         [!objdir] (objpfx): Remove.
25902         [!objdir] (common-objpfx): Likewise.
25903         [!objdir] (common-objdir): Likewise.
25904         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25905         AC_CONFIG_FILES call.
25906         * configure: Regenerated.
25908         [BZ #13888]
25909         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25910         or TMPDIR.
25911         (testout): Likewise.
25913         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25914         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25915         $(rtld-installed-name).
25916         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25917         (rtld_installed_name): Likwise.
25918         (runit): Remove function.
25919         (run_getconf): New variable,  Use it for running getconf binary.
25921 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25923         [BZ #14716]
25924         * string/test-memmem.c (check_result): New function.
25925         (do_one_test): Use it.
25926         (check1): New function.
25927         (test_main): Use it.
25929 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
25931         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25933 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
25935         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25936         (_G_LSEEK64): Likewise.
25937         (_G_MMAP64): Likewise.
25938         (_G_FSTAT64): Likewise.
25939         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25940         (_G_LSEEK64): Likewise.
25941         (_G_MMAP64): Likewise.
25942         (_G_FSTAT64): Likewise.
25943         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25944         unconditional.  Call __mmap64 directly.
25945         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25946         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
25947         __lseek64 directly.
25948         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25949         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
25950         __mmap64 directly.
25951         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25952         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25953         __lseek64 directly.
25954         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25955         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25956         __lseek64 directly.
25957         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25958         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
25959         __lseek64 directly.
25960         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25961         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
25962         __fxstat64 directly.
25963         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25964         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25965         unconditional.
25966         (freopen64) [!_G_OPEN64]: Remove conditional code.
25967         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25968         unconditional.
25969         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25970         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25971         unconditional.
25972         (ftello64) [!_G_LSEEK64]: Remove conditional code.
25973         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25974         unconditional.
25975         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25976         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25977         unconditional.
25978         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25979         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25980         unconditional.
25981         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25982         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25983         unconditional.
25984         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25985         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25986         unconditional.
25987         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25989 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25991         [BZ #12140]
25992         * manual/memory.texi (Malloc Tunable Parameters): Add note
25993         about free list pointers overwriting some perturb bytes.
25994         Wording suggested by Roland McGrath.
25996 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
25998         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25999         (lgamma_test): Likewise.
26000         (tgamma_test): Likewise.
26002 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26004         [BZ #14700]
26005         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26006         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26008 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26010         * NEWS: Mention BZ #14716.
26011         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26012         when removing AVAILABLE1_USES_J macro.
26014 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26016         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26017         (__bswap_64): __uint64_t for unsigned 64-bit int.
26019 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26021         * include/string.h (memmem): Declare libc hidden alias.
26022         * string/memmem.c (memmem): Define libc hidden alias.
26023         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26024         __read, __close instead of open, read, close.
26026 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26029         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26030         global and hidden.
26031         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26032         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26033         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26034         Likewise.
26035         (__rawmemchr_sse2): Likewise.
26036         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26037         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26038         (__strchr_sse2): Likewise.
26039         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26040         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26041         (__strcasecmp_sse2): Likewise.
26042         (__strncasecmp_sse2): Likewise.
26043         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26044         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26045         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26046         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26047         (__strrchr_sse2): Likewise.
26048         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26049         ifunc-impl-list.c.
26050         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26051         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26052         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26053         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26054         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26055         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26056         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26057         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26058         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26059         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26060         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26061         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26062         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26063         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26064         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26065         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26066         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26067         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26068         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26069         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26070         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26071         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26072         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26073         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26074         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26075         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26076         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26077         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26078         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26079         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26081         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26082         global and hidden.
26083         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26084         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26085         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26086         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26087         Likewise.
26088         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26089         Likewise.
26090         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26091         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26092         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26093         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26094         ifunc-impl-list.c.
26095         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26096         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26097         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26098         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26099         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26100         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26101         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26102         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26103         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26104         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26105         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26106         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26107         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26108         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26109         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26110         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26111         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26112         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26113         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26114         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26115         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26116         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26117         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26118         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26119         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26120         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26121         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26122         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26123         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26124         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26125         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26126         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26127         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26128         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26129         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26130         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26131         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26132         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26133         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26134         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26135         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26137         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26138         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26139         * include/ifunc-impl-list.h: New file.
26140         * misc/ifunc-impl-list.c: Likewise.
26141         * misc/Makefile (routines): Add ifunc-impl-list.
26142         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26143         * string/test-string.h: Include <ifunc-impl-list.h>.
26144         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26145         TEST_NAME]: New variables.
26146         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26147         are defined.
26148         (test_init): Call __libc_ifunc_impl_list to initialize
26149         func_list if TEST_IFUNC and TEST_NAME are defined.
26151         * string/Makefile (strop-tests): Add bcopy and bzero.
26152         * string/test-bcopy.c: New file.
26153         * string/test-bzero.c: Likewise.
26154         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26155         defined.
26156         * string/test-memset.c: Support bzero test if TEST_BZERO is
26157         defined.
26158         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26159         __libc_memmove.
26160         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26161         __libc_memset.
26162         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26163         of memset.
26165 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26167         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26168         * configure: Regenerated.
26170         * Makeconfig (+link-static-before-libc): Don't include
26171         $(link-static-libc).
26173         * libio/libio.h (_IO_pos_t): Remove.
26175 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26177         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26178         McGrath.
26180 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26182         * crypt/crypt-entry.c: Include fips-private.h.
26183         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26184         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26185         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26186         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26188 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26190         * crypt/crypt-private.h: Include stdbool.h.
26191         (_ufc_setup_salt_r): Return bool.
26192         * crypt/crypt-entry.c: Include errno.h.
26193         (__crypt_r): Return NULL with EINVAL for bad salt.
26194         * crypt/crypt_util.c (bad_for_salt): New.
26195         (_ufc_setup_salt_r): Check that salt is long enough and within
26196         the specified alphabet.
26197         * crypt/badsalttest.c: New file.
26198         * crypt/Makefile (tests): Add it.
26199         ($(objpfx)badsalttest): New.
26201 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26203         * NEWS: Add entry for BZ #14602.
26205 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26207         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26208         type-generic.
26209         * math/libm-test.inc: Update comment listing what functions and
26210         macros are tested.
26211         (isgreater_test): New function.
26212         (isgreaterequal_test): Likewise.
26213         (isless_test): Likewise.
26214         (islessequal_test): Likewise.
26215         (islessgreater_test): Likewise.
26216         (isunordered_test): Likewise.
26217         (main): Call the new functions.
26219 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26221         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26222         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26223         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26224         * sysdeps/i386/configure: Regenerated.
26225         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26226         * sysdeps/mach/configure: Regenerated.
26227         * sysdeps/mach/hurd/configure: Regenerated.
26228         * sysdeps/powerpc/configure: Regenerated.
26229         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26230         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26231         * sysdeps/s390/s390-32/configure: Regenerated.
26232         * sysdeps/s390/s390-64/configure: Regenerated.
26233         * sysdeps/sh/configure: Regenerated.
26234         * sysdeps/sparc/configure: Regenerated.
26235         * sysdeps/unix/sysv/linux/configure: Regenerated.
26236         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26237         * sysdeps/x86_64/configure: Regenerated.
26239         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26240         defined.  Don't check if MAP is NULL.
26242 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26244         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26245         (_G_stat64): Likewise.
26246         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26247         (_G_stat64): Likewise.
26248         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26249         instead of struct _G_stat64.
26250         * libio/fileops.c (mmap_remap_check): Likewise.
26251         (decide_maybe_mmap): Likewise.
26252         (_IO_new_file_seekoff): Likewise.
26253         (_IO_file_stat): Likewise.
26254         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26255         _G_off64_t.
26256         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26257         instead of struct _G_stat64.
26258         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26260 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26262         [BZ #14602]
26263         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26264         Replace with ...
26265         (CHECK_EOL): New macro.
26266         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26267         CHECK_EOL.
26268         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26269         Replace with CHECK_EOL.
26270         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26271         Replace with CHECK_EOL.
26273 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26275         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26276         type-generic.
26277         * math/libm-test.inc: Update comment listing what functions and
26278         macros are tested.
26279         (finite_test): New function.
26280         (isinf_test): Likewise.
26281         (isnan_test): Likewise.
26282         (fpclassify_test): Test subnormal input.
26283         (isfinite_test): Likewise.
26284         (isnormal_test): Likewise.
26285         (main): Call the new functions.
26287 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26289         [BZ #14660]
26290         * Makerules (%.dynsym): Force C locale when running
26291         $(OBJDUMP) --dynamic-syms.
26293 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26295         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26296         <stdint.h>.
26298 2012-10-06  David S. Miller  <davem@davemloft.net>
26300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26301         upper 32-bits of the length value in %o2 since we use branch-on-register
26302         tests which consider the entire 64-bit register.
26304 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26306         * string/test-strstr.c (check2): Add a test for page boundary.
26308 2012-10-05  David S. Miller  <davem@davemloft.net>
26310         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26311         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26312         file.
26313         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26314         sysdep_routines.
26315         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26316         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26317         and bzero when HWCAP_SPARC_CRYPTO is present.
26319 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26321         [BZ #14602]
26322         * string/test-strstr.c (check2): New function.
26323         (test_main): Call check2.
26325         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26326         and bug-strchr1.
26327         * string/bug-strcasestr1.c (do_test): Moved to ...
26328         * string/test-strcasestr.c (check1): Here.  New function.
26329         (do_one_test): Break out result checking code into ...
26330         (check_result): This.  New function.
26331         (do_one_test): Call check_result.
26332         (test_main): Call check1.
26333         * string/bug-strchr1.c (do_test): Moved to ...
26334         * string/test-strchr.c (check1): Here.  New function.
26335         (do_one_test): Break out result checking code into ...
26336         (check_result): This.  New function.
26337         (do_one_test): Call check_result.
26338         (test_main): Call check1.
26339         * string/bug-strstr1.c (main): Moved to ...
26340         * string/test-strstr.c (check1): Here.  New function.
26341         (do_one_test): Break out result checking code into ...
26342         (check_result): This.  New function.
26343         (do_one_test): Call check_result.
26344         (test_main): Call check1.
26345         * string/bug-strcasestr1.c: Removed.
26346         * string/bug-strchr1.c: Likewise.
26347         * string/bug-strstr1.c: Likewise.
26349         * elf/Makefile (dl-routines): Add hwcaps.
26350         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26351         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26352         (_dl_important_hwcaps): Moved to ...
26353         * elf/dl-hwcaps.c: Here.  New file.
26354         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26356         [BZ #14557]
26357         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26358         if IS_IN_rtld isn't defined.
26360         * elf/dl-support.c (_dl_sysinfo_map): New.
26361         Include "get-dynamic-info.h" and "setup-vdso.h".
26362         (_dl_non_dynamic_init): Call setup_vdso.
26363         * elf/dynamic-link.h: Don't include <assert.h>.
26364         (elf_get_dynamic_info): Moved to ...
26365         * elf/get-dynamic-info.h: Here.  New file.
26366         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26367         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26368         * elf/setup-vdso.h: Here.  New file.
26369         * elf/rtld.c: Include "setup-vdso.h".
26370         (dl_main): Call setup_vdso.
26372 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26374         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26375         creal in comment listing functions tested.  List finite, isinf,
26376         isnan, isless, islessequal, isgreater, isgreaterequal,
26377         islessgreater, isunordered, lgamma_r and pow10 as functions and
26378         macros not tested.  Mention which functions not tested are aliases
26379         for other functions.  Fix typo.  Note that signs of NaNs are not
26380         tested.
26382         * scripts/config.guess: Update from config.git.
26383         * scripts/config.sub: Likewise.
26385 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26387         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26388         * misc/madvise.c (madvise): Renamed to __madvise.
26389         Make madvise a weak alias.
26390         * include/sys/mman.h: Declare __madvise.
26391         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26392         * sysdeps/unix/syscalls.list
26393         (madvise): Make __madvise the strong name, and madvise a weak alias.
26394         * sysdeps/unix/sysv/linux/syscalls.list
26395         (madvise, mmap): Remove redundant entries.
26396         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26397         * malloc/malloc.c (mtrim): Likewise.
26398         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26400 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26402         * sysdeps/mach/hurd/dl-cache.c: File removed.
26403         * config.h.in (USE_LDCONFIG): New #undef.
26404         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26405         * configure: Regenerated.
26406         * elf/Makefile (dl-routines): Add dl-cache only under
26407         [$(use-ldconfig) = yes].
26408         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26409         cache on [USE_LDCONFIG].
26410         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26411         [USE_LDCONFIG].
26412         * elf/rtld.c (dl_main): Likewise.
26414 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26416         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26417         _SC_LEVEL4_CACHE_LINESIZE.
26419 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26421         * sysdeps/unix/bsd/confstr.h: File removed.
26423 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26425         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26426         sys/sdt-config.h.
26428 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26430         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26431         Make 'mapoff' field ElfW(Off) rather than off_t.
26433 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26435         * nscd/Makefile: Remove nscd-cflags and all its users.
26436         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26437         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26439         [BZ #10631]
26440         * malloc.c (malloc_printerr): Clarify error message.
26442 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26444         [BZ #14648]
26445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26446         Set bit_FMA_Usable if FMA is supported.
26447         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26448         macro.
26449         (bit_FMA4_Usable): Updated.
26450         (index_FMA_Usable): New macro.
26451         (CPUID_FMA): Likewise
26452         (HAS_FMA): Defined with bit_FMA_Usable.
26454 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26456         * bits/types.h (__swblk_t): Type removed.
26457         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26458         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26459         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26460         (__SWBLK_T_TYPE): Likewise.
26461         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26462         (__SWBLK_T_TYPE): Likewise.
26463         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26464         (__SWBLK_T_TYPE): Likewise.
26465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26466         (__SWBLK_T_TYPE): Likewise.
26468 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26469             Honza Horak <hhorak@redhat.com>
26471         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26472         (xdr_mapname): Use YPMAXMAP as maxsize.
26473         (xdr_peername): Use YPMAXPEER as maxsize.
26474         (xdr_keydat): Use YPAXRECORD as maxsize.
26475         (xdr_valdat): Use YPMAXRECORD as maxsize.
26477 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26479         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26481         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26482         * csu/init-first.c: ... here.
26483         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26484         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26485         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26486         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26487         * sysdeps/i386/init-first.c: File removed.
26488         * sysdeps/sh/init-first.c: File removed.
26490 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26492         [BZ #14645]
26493         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26494         if x * y might underflow to zero and z is zero.
26495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26497         * math/libm-test.inc (min_subnorm_value): New variable.
26498         (fma_test): Add more tests.
26499         (fma_test_towardzero): Likewise.
26500         (fma_test_downward): Likewise
26501         (fma_test_upward): Likewise.
26502         (initialize): Set min_subnorm_value.
26504 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26506         [BZ #14638]
26507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26508         0 + 0.
26509         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26510         mode for addition resulting in exact zero.
26511         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26513         exact 0 + 0.
26514         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26516         * math/libm-test.inc (fma_test): Add more tests.
26517         (fma_test_towardzero): New function.
26518         (fma_test_downward): Likewise.
26519         (fma_test_upward): Likewise.
26520         (main): Call the new functions.
26522 2012-09-28  David S. Miller  <davem@davemloft.net>
26524         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26526 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26528         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26529         instead of SIGALRM.
26531         * sysdeps/gnu/_G_config.h: Moved to ...
26532         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26533         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26534         * sysdeps/generic/_G_config.h: ... here.
26536         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26538         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26540         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26541         Conditionalize target on [libnss_test1.so-version].
26543         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26545         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26546         (elfobjdir): Move out of conditionals.
26548         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26549         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26550         (__nss_lookup_function): Conditionalize label remove_from_tree on
26551         [!DO_STATIC_NSS || SHARED], matching its only use.
26553 2012-09-28  David S. Miller  <davem@davemloft.net>
26555         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26556         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26557         file.
26558         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26559         sysdep_routines.
26560         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26561         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26562         when HWCAP_SPARC_CRYPTO is present.
26564 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26566         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26568 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26570         [BZ #6530]
26571         * stdio-common/vfprintf.c (process_string_arg): Revert
26572         2000-07-22 change.
26574 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26576         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26577         for testcase.
26578         * stdio-common/tst-sprintf.c: Include <locale.h>
26579         (main): Test sprintf's handling of incomplete multibyte
26580         characters.
26582 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26584         * elf/dl-runtime.c (VERSYMIDX): Removed.
26585         * elf/dl-version.c (VERSYMIDX): Likewise.
26586         * elf/do-rel.h (VERSYMIDX): Likewise.
26587         (VALIDX): Likewise.
26588         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26589         * elf/rtld.c (VALIDX): Likewise.
26590         (ADDRIDX): Likewise.
26591         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26592         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26593         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26594         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26595         (VALIDX): Likewise.
26596         (ADDRIDX): Likewise.
26598 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26600         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26602 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26604         [BZ #11438]
26605         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26606         to global scope.
26607         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26608         addresses are in the same scope as 192.0.2/24.
26609         * posix/gai.conf: Document new scope table defaults.
26611 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26613         [BZ #5298]
26614         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26615         for ftell.  Compute offsets from write pointers instead.
26616         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26618 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26620         [BZ #14543]
26621         * libio/Makefile (tests): New test case tst-fseek.
26622         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26623         combination works in wide mode.
26624         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26625         state when the external buffer state changes.
26627 2012-09-27  David S. Miller  <davem@davemloft.net>
26629         [BZ #14376]
26630         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26631         pass reloc->r_addend in as the 'high' argument to
26632         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26636 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26638         * rt/tst-aio2.c: Include <pthread.h>.
26639         * rt/tst-aio3.c: Likewise.
26641 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26643         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26645 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26647         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26648         contents on [SHARED].
26650 2012-09-26  Marek Polacek  <polacek@redhat.com>
26652         [BZ #14530]
26653         [BZ #13741]
26654         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26655         for C++ and GCC <4.3 as well as for non GCC compilers.
26657 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26661 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26663         * Makefile.in (all, install): Declare with .PHONY.
26664         Reported by Michael Hope <michael.hope@linaro.org>.
26666 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26668         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26669         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26670         system header.
26671         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26672         Likewise.
26673         (sydep_routines): Add the new and the internal functions.
26674         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26675         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26677         (GLIBC_2.17): Add the new function.
26678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26679         (GLIBC_2.17): Likewise.
26680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26681         (GLIBC_2.17): Likewise.
26682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26683         (GLIBC_2.17): Likewise.
26684         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26686 2012-09-25  Alan Modra  <amodra@gmail.com>
26688         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26689         Add release barrier before setting once_control to say
26690         initialisation is done.  Add hints on lwarx.  Use macro in
26691         place of isync.
26692         (clear_once_control): Add release barrier.
26694 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26696         [BZ #13629]
26697         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26698         specially.
26699         * math/s_clog10.c (__clog10): Likewise.
26700         * math/s_clog10f.c (__clog10f): Likewise.
26701         * math/s_clog10l.c (__clog10l): Likewise.
26702         * math/s_clogf.c (__clogf): Likewise.
26703         * math/s_clogl.c (__clogl): Likewise.
26704         * math/Makefile (libm-calls): Add x2y2m1.
26705         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26706         (__x2y2m1): Likewise.
26707         (__x2y2m1l): Likewise.
26708         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26709         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26710         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26711         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26712         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26713         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26714         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26715         * sysdeps/i386/fpu/libm-test-ulps: Update.
26716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26718         [BZ #14621]
26719         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26720         int as type of variable DEPTH.
26721         (glob): Use size_t instead of int as type of variables NEWCOUNT
26722         and OLD_PATHC.
26724 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26726         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26727         Add s_sincosf-sse2.
26728         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26729         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26730         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26731         macros for using routine as __sincosf_ia32.
26732         Use macro for function declaration and weak_alias.
26733         * sysdeps/i386/fpu/libm-test-ulps: Update.
26735         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26738         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26739         subnormal argument.
26740         * math/s_cexpf.c (__cexpf): Likewise.
26741         * math/s_csinf.c (__csinf): Likewise.
26742         * math/s_csinhf.c (__csinhf): Likewise.
26743         * math/s_ctanf.c (__ctanf): Likewise.
26744         * math/s_ctanhf.c (__ctanhf): Likewise.
26745         * math/s_ccosh.c (__ccoshf): Likewise.
26746         * math/s_cexp.c (__cexpl): Likewise.
26747         * math/s_csin.c (__csin): Likewise.
26748         * math/s_csinh.c (__csinh): Likewise.
26749         * math/s_ctan.c (__ctan): Likewise.
26750         * math/s_ctanh.c (ctanh): Likewise.
26751         * math/s_ccoshl.c (__ccoshl): Likewise.
26752         * math/s_cexpl.c (__cexpl): Likewise.
26753         * math/s_csinl.c (__csinl): Likewise.
26754         * math/s_csinhl.c (__csinhl): Likewise.
26755         * math/s_ctanl.c (__ctanl): Likewise.
26756         * math/s_ctanhl.c (__ctanhl): Likewise.
26758 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26760         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26761         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26762         (_IO_off_t): Define to __off_t, not _G_off_t.
26763         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26764         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26765         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26766         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26767         type of __dummy and __dummy2 fields.
26768         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26769         (_G_ssize_t): Likewise.
26770         (_G_off_t): Likewise.
26771         (_G_pid_t): Likewise.
26772         (_G_uid_t): Likewise.
26773         (_G_wchar_t): Likewise.
26774         (_G_wint_t): Likewise.
26775         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26776         (_G_ssize_t): Likewise.
26777         (_G_off_t): Likewise.
26778         (_G_pid_t): Likewise.
26779         (_G_uid_t): Likewise.
26780         (_G_wchar_t): Likewise.
26781         (_G_wint_t): Likewise.
26782         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26783         (_G_ssize_t): Likewise.
26784         (_G_off_t): Likewise.
26785         (_G_pid_t): Likewise.
26786         (_G_uid_t): Likewise.
26787         (_G_wchar_t): Likewise.
26788         (_G_wint_t): Likewise.
26790 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26792         * malloc/arena.c: Include malloc-sysdep.h.
26793         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26794         is sufficient to shrink the heap or an unmap is needed.
26795         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26796         new function check_may_shrink_heap.
26797         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26798         new function check_may_shrink_heap.
26800 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26802         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26803         comments.
26805 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26807         * catgets/test-gencat.sh: Add "set -e".
26808         * elf/tst-pathopt.sh: Likewise.
26809         * grp/tst_fgetgrent.sh: Likewise.
26810         * iconvdata/run-iconv-test.sh: Likewise.
26811         * intl/tst-gettext.sh: Likewise.
26812         * intl/tst-gettext2.sh: Likewise.
26813         * intl/tst-gettext4.sh: Likewise.
26814         * intl/tst-gettext6.sh: Likewise.
26815         * intl/tst-translit.sh: Likewise.
26816         * io/ftwtest-sh: Likewise.
26817         * libio/test-freopen.sh: Likewise.
26818         * malloc/tst-mtrace.sh: Likewise.
26819         * posix/globtest.sh: Likewise.
26820         * posix/tst-getconf.sh: Likewise.
26821         * posix/wordexp-tst.sh: Likewise.
26822         * stdio-common/tst-printf.sh: Likewise.
26823         * stdio-common/tst-unbputc.sh: Likewise.
26824         * stdlib/tst-fmtmsg.sh: Likewise.
26825         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26826         * catgets/Makefile: Do not specify -e option when running
26827         testsuite shell scripts.
26828         * elf/Makefile: Likewise.
26829         * grp/Makefile: Likewise.
26830         * iconvdata/Makefile: Likewise.
26831         * intl/Makefile: Likewise.
26832         * io/Makefile: Likewise.
26833         * libio/Makefile: Likewise.
26834         * malloc/Makefile: Likewise.
26835         * posix/Makefile: Likewise.
26836         * stdio-common/Makefile: Likewise.
26837         * stdlib/Makefile: Likewise.
26838         * sysdeps/x86_64/Makefile: Likewise.
26840         * io/ftwtest-sh: Add copyright header.
26841         * posix/globtest.sh: Likewise.
26842         * posix/tst-getconf.sh: Likewise.
26843         * posix/wordexp-tst.sh: Likewise.
26844         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26846 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26848         [BZ #13679]
26849         * Makeconfig (+link): Defined as $(+link-static) if
26850         $(build-shared) isn't yes.
26851         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26852         isn't yes.
26853         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26855         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26857         [BZ #14562]
26858         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26859         new chunk size with MALLOC_ALIGN_MASK.
26861 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26863         [BZ #5044]
26864         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26865         <rounding-mode.h>.
26866         (__printf_fphex): Determine rounding using get_rounding_mode and
26867         round_away.
26868         * stdio-common/tst-printf-round.c (struct hex_test): New
26869         structure.
26870         (hex_tests): New variable.
26871         (test_hex_in_one_mode): New function.
26872         (do_test): Also run tests for hex float output.
26874 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26876         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26877         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26878         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26879         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26880         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26881         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26882         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26883         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26885 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26887         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26888         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26889         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26890         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26892 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26894         [BZ #14579]
26895         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26896         mode only.
26897         * elf/tst-rtld-load-self.sh: New test.
26898         * elf/Makefile: Run it.
26900 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26902         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26903         (tst-writev-ENV): Remove.
26904         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26906 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26908         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26910 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26912         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26913         unconditional.
26914         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26915         Likewise.
26916         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26917         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26918         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26919         Likewise.
26921 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26923         [BZ #14587]
26924         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26925         * config.make.in (have-cpp-asm-debuginfo): Removed.
26926         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26927         * configure: Regenerated.
26929 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
26931         [BZ #5044]
26932         * stdio-common/printf_fp.c: Include <stdbool.h> and
26933         <rounding-mode.h>.
26934         (___printf_fp): Determine rounding using get_rounding_mode and
26935         round_away.
26936         * stdio-common/tst-printf-round.c: New file.
26937         * stdio-common/Makefile (tests): Add tst-printf-round.
26938         (link-libm): New variable.
26939         ($(objpfx)tst-printf-round): Depend in $(link-libm).
26941 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
26943         [BZ #14576]
26944         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26945         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26946         Likewise.
26947         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26948         Likewise.
26950 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
26952         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26953         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26954         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26955         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26957 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
26959         [BZ #14518]
26960         * include/rounding-mode.h: New file.
26961         * sysdeps/generic/get-rounding-mode.h: Likewise.
26962         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26963         * stdlib/strtod_l.c: Include <rounding-mode.h>.
26964         (MAX_VALUE): New macro.
26965         (MIN_VALUE): Likewise.
26966         (overflow_value): New function.
26967         (underflow_value): Likewise.
26968         (round_and_return): Use overflow_value and underflow_value to
26969         determine return values in overflow and underflow cases.  Use
26970         round_away to determine rounding depending on rounding mode.
26971         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26972         determine return values in overflow and underflow cases.
26973         * stdlib/tst-strtod-round.c: Include <fenv.h>.
26974         (struct test_results): New structure.
26975         (struct test): Use struct test_results to store expected results
26976         for all rounding modes.
26977         (TEST): Include expected results for all rounding modes.
26978         (test_in_one_mode): New function.
26979         (do_test): Use test_in_one_mode to compute and check results.
26980         Check results for all rounding modes.
26981         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26982         $(link-libm).
26984 2012-12-09  Allan McRae  <allan@archlinux.org>
26986         * sysdeps/i386/fpu/libm-test-ulps: Update
26988 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
26990         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26991         (_G_int32_t): Likewise.
26992         (_G_uint16_t): Likewise.
26993         (_G_uint32_t): Likewise.
26994         (_G_HAVE_BOOL): Likewise.
26995         (_G_HAVE_ATEXIT): Likewise.
26996         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26997         (_G_HAVE_IO_FILE_OPEN): Likewise.
26998         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26999         (_G_int32_t): Likewise.
27000         (_G_uint16_t): Likewise.
27001         (_G_uint32_t): Likewise.
27002         (_G_HAVE_BOOL): Likewise.
27003         (_G_HAVE_ATEXIT): Likewise.
27004         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27005         (_G_HAVE_IO_FILE_OPEN): Likewise.
27006         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27007         (_G_int32_t): Likewise.
27008         (_G_uint16_t): Likewise.
27009         (_G_uint32_t): Likewise.
27010         (_G_HAVE_BOOL): Likewise.
27011         (_G_HAVE_ATEXIT): Likewise.
27012         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27013         (_G_HAVE_IO_FILE_OPEN): Likewise.
27015 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27017         * csu/libc-tls.c: Update copyright years.
27019 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27021         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27022         [!_G_USING_THUNKS]: Remove conditional code.
27023         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27024         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27026         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27027         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27028         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27029         (_G_VTABLE_LABEL_PREFIX): Likewise.
27030         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27031         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27032         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27033         (_G_VTABLE_LABEL_PREFIX): Likewise.
27034         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27035         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27036         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27037         (_G_VTABLE_LABEL_PREFIX): Likewise.
27038         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27040 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27042         * libio/Makefile: Include ../Makeconfig before tests.
27043         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27044         only if $(build-shared) is yes.
27046         * iconv/gconv_db.c: Update copyright years.
27048 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27050         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27051         unwind info if defined PIC. Fix special cases description.
27052         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27054         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27055         DP_HI_MASK entry.
27056         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27058 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27060         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27062         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27063         is NULL.
27065         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27066         (LDLIBS-tst-chk4): This.
27067         (LDFLAGS-tst-chk5): Renamed to ...
27068         (LDLIBS-tst-chk5): This.
27069         (LDFLAGS-tst-chk6): Renamed to ...
27070         (LDLIBS-tst-chk6): This.
27071         (LDFLAGS-tst-lfschk4): Renamed to ...
27072         (LDLIBS-tst-lfschk4): This.
27073         (LDFLAGS-tst-lfschk5): Renamed to ...
27074         (LDLIBS-tst-lfschk5): This.
27075         (LDFLAGS-tst-lfschk6): Renamed to ...
27076         (LDLIBS-tst-lfschk6): This.
27078         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27079         on $(common-objpfx)soversions.mk.
27081 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27083         [BZ #10014]
27084         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27085         example host name.
27087 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27089         * malloc/arena.c (arena_get_retry): New function that gets
27090         another arena for the caller to try its request on.
27091         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27092         current arena cannot fulfill the request.
27093         (__libc_memalign): Likewise.
27094         (__libc_memalign): Likewise.
27095         (__libc_pvalloc): Likewise.
27096         (__libc_calloc): Likewise.
27098 2012-09-05  John Tobey  <john.tobey@gmail.com>
27100         [BZ #13542]
27101         * manual/arith.texi (Operations on Complex): Fix description
27102         of carg branch cut.
27104 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27106         [BZ #10014]
27107         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27108         host name.
27110         [BZ #10038]
27111         * manual/memory.texi (Memory): Make order of menu items match
27112         order of sections.
27114 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27116         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27117         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27118         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27120 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27122         * csu/libc-tls.c (static_dtv): Renamed to ...
27123         (_dl_static_dtv): This.  Make it global.
27124         (_dl_initial_dtv): Removed.
27125         (__libc_setup_tls): Updated.
27126         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27127         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27128         DL_INITIAL_DTV.
27130 2012-09-06  Petr Machata  <pmachata@redhat.com>
27132         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27133         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27134         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27135         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27137 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27139         [BZ #14545]
27140         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27141         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27142         freeing dtv[-1].
27144 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27146         [BZ #14544]
27147         * Makeconfig (link-static-before-libc): Replace $(+prector)
27148         with $(+prectorT).
27149         (link-static-after-libc): Replace $(+postctor) with
27150         $(+postctorT).
27151         (link-bounded): Replace $(+prector)/$(+postctor) with
27152         $(+prectorT)/$(+postctorT).
27153         (+prectorT): New macro.
27154         (+postctorT): Likewise.
27156 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27158         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27159         (round_str): Handle values above the maximum for IBM long double
27160         as inexact.
27161         * stdlib/tst-strtod-round.c (tests): Regenerated.
27163 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27165         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27166         assembler flag.
27167         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27168         zarch_nohighgprs around the zarch optimized routines.
27169         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27170         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27171         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27172         for zarch.
27174 2012-09-05  David S. Miller  <davem@davemloft.net>
27176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27178         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27179         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27180         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27181         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27182         entries.
27184 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27186         * malloc/arena.c: Fold copyright years.
27187         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27189 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27191         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27193 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27195         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27197 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27199         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27200         change internal state upon failure.
27202 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27204         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27205         * malloc/memusage.c (mmap): Likewise.
27206         (mmap64, mremap): Likewise.  Adjust name in comment.
27208 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27210         * libio/fileops.c: Fix typos in comments.
27211         * libio/oldfileops.c: Likewise.
27212         * libio/wfileops.c: Likewise.
27214 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27216         [BZ #1349]
27217         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27218         (tst-malloc-usable-ENV): Set environment for test case.
27219         * malloc/hooks.c (malloc_check_get_size): New function to get
27220         requested size.
27221         * malloc/malloc.c (musable): Use malloc_check_get_size.
27222         * malloc/tst-malloc-usable.c: New test case.
27224 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27226         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27228 2012-09-05  Allan McRae  <allan@archlinux.org>
27230         [BZ #13966]
27231         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27232         determine header location.
27233         * configure: Regenerated.
27235 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27237         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27238         float format.
27239         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27240         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27241         format.
27242         (test): Regenerate.
27244 2012-09-04  David S. Miller  <davem@davemloft.net>
27246         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27247         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27248         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27250 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27252         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27253         failures.
27255         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27257 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27259         [BZ #9914]
27260         * libio/iogetdelim.c: Include <limits.h>.
27261         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27262         + len + 1 would overflow.
27264 2012-09-03  Andreas Jaeger  <aj@suse.de>
27266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27267         * sysdeps/i386/fpu/libm-test-ulps: Update.
27269 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27271         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27272         Add s_sinf-sse2, s_conf-sse2.
27274         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27275         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27276         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27277         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27279         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27280         for using routine as __sinf_ia32.
27281         Use macro for function declaration and weak_alias.
27282         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27283         for using routine as __cosf_ia32.
27284         Use macro for function declaration and weak_alias.
27286         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27287         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27289         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27290         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27293         * math/libm-test.inc (cos_test): Add more test cases.
27294         (sin_test): Likewise.
27295         (sincos_test): Likewise.
27297 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27299         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27300         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27301         hidden.
27302         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27304 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27306         [BZ #14538]
27307         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27308         first element of the GOT.
27309         (elf_machine_load_address): Return the difference between
27310         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27312 2012-09-01  Allan McRae  <allan@archlinux.org>
27314         [BZ #13412]
27315         * configure.in (AWK): Require gawk version 3.0 or later.
27316         * configure: Regenerated.
27318 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27320         * sysdeps/unix/sysv/linux/kernel-features.h
27321         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27322         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27323         [__NR_clock_getres]: Make code unconditional.
27324         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27325         (clock_getcpuclockid): Remove code left unreachable by removal of
27326         conditionals.
27327         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27328         code unconditional.
27329         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27330         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27331         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27332         Make code unconditional.
27333         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27334         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27335         * sysdeps/unix/sysv/linux/clock_settime.c
27336         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27337         conditional code.
27338         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27339         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27341 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27343         [BZ #14476]
27344         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27345         scripts/test-installation.pl.
27347         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27348         and $ld_so_version if it is set.
27350 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27352         [BZ #14516]
27353         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27354         failure if reading from procfs failed.
27355         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27357 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27359         * sysdeps/unix/sysv/linux/kernel-features.h
27360         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27361         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27362         Remove conditional code.
27363         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27364         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27365         Remove conditional code.
27366         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27367         * sysdeps/unix/sysv/linux/i386/fxstat.c
27368         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27369         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27370         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27371         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27372         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27373         * sysdeps/unix/sysv/linux/i386/lxstat.c
27374         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27375         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27376         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27377         Remove conditional code.
27378         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27379         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27380         Remove conditional code.
27381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27382         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27383         <kernel-features.h>.
27384         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27385         Remove.
27386         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27387         Remove conditional code.
27388         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27389         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27390         Remove conditional.
27392 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27394         [BZ #5400]
27395         * NEWS: Add fixed bug number.
27397 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27399         [BZ #14519]
27400         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27401         underflowing exponent in case of negative sign.
27402         * stdlib/tst-strtod-round-data: Add more tests.
27403         * stdlib/tst-strtod-round.c (tests): Regenerated.
27405         [BZ #3479]
27406         * stdlib/strtod_l.c (NDIG): Remove.
27407         (HEXNDIG): Likewise.
27408         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27409         smallest representable value.
27410         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27411         lie within an exact representation of 1/2 ulp of the result.
27412         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27413         unconditionally.
27414         (TENS_P9_IDX): Define unconditionally.
27415         (TENS_P9_SIZE): Likewise.
27416         (TENS_P10_IDX): Likewise.
27417         (TENS_P10_SIZE): Likewise.
27418         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27419         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27420         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27421         entries for 10^2^13 and 10^2^14.
27422         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27423         (TENS_P13_IDX): Define.
27424         (TENS_P13_SIZE): Likewise.
27425         (TENS_P14_IDX): Likewise.
27426         (TENS_P14_SIZE): Likewise.
27427         (_fpioconst_pow10): Change array size to
27428         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27429         unconditional.
27430         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27431         1024]: Add entries for 10^2^13 and 10^2^14.
27432         [LAST_POW10 > _LAST_POW10]: Remove #error.
27433         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27434         (_fpioconst_pow10): Change array size to
27435         FPIOCONST_POW10_ARRAY_SIZE.
27436         * stdlib/gen-fpioconst.c: New file.
27437         * stdlib/gen-tst-strtod-round.c: Likewise.
27438         * stdlib/tst-strtod-round-data: Likewise.
27439         * stdlib/tst-strtod-round.c: Likewise.
27440         * stdlib/Makefile (tests): Add tst-strtod-round.
27442         [BZ #14459]
27443         * stdlib/strtod_l.c: Include <stdint.h>.
27444         (NDEBUG): Do not define.
27445         (round_and_return): Change EXPONENT parameter to type intmax_t.
27446         Rearrange calculations to avoid internal overflow possibilities.
27447         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27448         Rearrange calculations to avoid internal overflow possibilities.
27449         Assert that number fits inside MPNSIZE limbs.
27450         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27451         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27452         calculations and add assertions to avoid internal overflow
27453         possibilities.  Add casts to avoid signed/unsigned operations.
27454         * stdlib/tst-strtod-overflow.c: New file.
27455         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27457 2012-08-25  Marek Polacek  <polacek@redhat.com>
27459         * time/time.h: Fix some typos in comments.
27461 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27463         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27464         * posix/tst-rfc3484-2.c: Likewise.
27465         * posix/tst-rfc3484-3.c: Likewise.
27467 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27469         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27470         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27472 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27474         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27475         #include of fxstatat64.c.
27477 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27479         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27480         * shadow/getspent_r.c: Likewise.
27481         * shadow/getspnam.c: Likewise.
27482         * shadow/getspnam_r.c: Likewise.
27483         * gshadow/getsgent.c: Likewise.
27484         * gshadow/getsgent_r.c: Likewise.
27485         * gshadow/getsgnam.c: Likewise.
27486         * gshadow/getsgnam_r.c: Likewise.
27487         * inet/getnetbyad.c: Likewise.
27488         * inet/getnetbyad_r.c: Likewise.
27489         * inet/getnetbynm.c: Likewise.
27490         * inet/getnetbynm_r.c: Likewise.
27491         * inet/getnetent.c: Likewise.
27492         * inet/getnetent_r.c: Likewise.
27493         * inet/getproto.c: Likewise.
27494         * inet/getproto_r.c: Likewise.
27495         * inet/getprtent.c: Likewise.
27496         * inet/getprtent_r.c: Likewise.
27497         * inet/getprtname.c: Likewise.
27498         * inet/getprtname_r.c: Likewise.
27499         * inet/getrpcbyname.c: Likewise.
27500         * inet/getrpcbyname_r.c: Likewise.
27501         * inet/getrpcbynumber.c: Likewise.
27502         * inet/getrpcbynumber_r.c: Likewise.
27503         * inet/getrpcent.c: Likewise.
27504         * inet/getrpcent_r.c: Likewise.
27505         * inet/getaliasent.c: Likewise.
27506         * inet/getaliasent_r.c: Likewise.
27507         * inet/getaliasname.c: Likewise.
27508         * inet/getaliasname_r.c: Likewise.
27509         * nscd/getgrgid_r.c: Likewise.
27510         * nscd/getgrnam_r.c: Likewise.
27511         * nscd/gethstbyad_r.c: Likewise.
27512         * nscd/gethstbynm3_r.c: Likewise.
27513         * nscd/getpwnam_r.c: Likewise.
27514         * nscd/getpwuid_r.c: Likewise.
27515         * nscd/getsrvbynm_r.c: Likewise.
27516         * nscd/getsrvbypt_r.c: Likewise.
27517         * nscd/gai.c: Likewise.
27519         * configure.in (build_nscd): New substituted variable, set
27520         by --disable-build-nscd and defaults to $use_nscd.
27521         * configure: Regenerated.
27522         * config.make.in (build-nscd): New substituted variable.
27523         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27524         Change conditional to require [$(build-nscd) = yes] as well.
27525         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27527         [BZ# 13696]
27528         * configure.in (use_nscd): New substituted variable, set by
27529         --disable-nscd.  If enabled, define USE_NSCD.
27530         * configure: Regenerated.
27531         * config.h.in: Add USE_NSCD.
27532         * config.make.in (use-nscd): New substituted variable.
27533         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27534         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27535         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27536         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27537         (CFLAGS-getgrnam_r.c): Likewise.
27538         (CFLAGS-initgroups.c): Likewise.
27539         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27540         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27541         Variables removed.
27542         * inet/getnetgrent_r.c
27543         (nscd_setnetgrent): New function, broken out of ...
27544         (setnetgrent): ... here.  Call it.
27545         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27546         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27547         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27548         * nscd/Makefile (routines, aux): Move definitions after include of
27549         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27550         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27551         Conditionalize on [USE_NSCD].
27552         (is_nscd, nscd_init_cb): Likewise.
27553         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27554         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27555         * nss/nss_db/db-init.c: Likewise.
27556         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27557         [USE_NSCD].
27558         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27559         (make_request): Use it.
27560         (cache_valid_p): New function.
27561         (__check_pf): Use it.
27562         * NEWS: Add item for --disable-nscd.
27564 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27566         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27567         to support sed >= 4.2.1-20-ga9bf076.
27568         * configure: Regenerated.
27570 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27572         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27573         Conditionalize whole body on [IREL].
27575 2012-08-22  Jeff Law <law@redhat.com>
27577         [BZ #14505]
27578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27579         if the family is PF_UNSPEC.
27581 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27583         * Makerules (lib-version): Rename from V.
27584         (install-lib-nosubdir): Change V to lib-version.
27586 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27588         [BZ #14252]
27589         * powerpc32/power6/wcschr.c: New file.
27590         * powerpc32/power6/wcscpy.c: New file.
27591         * powerpc32/power6/wcsrchr.c: New file.
27592         * powerpc64/power6/wcschr.c: New file.
27593         * powerpc64/power6/wcscpy.c: New file.
27594         * powerpc64/power6/wcsrchr.c: New file.
27596 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27598         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27599         (two_way_short_needle): Use it.
27600         * string/strstr.c (AVAILABLE1_USES_J): Define.
27601         * string/strcasestr.c: Likewise.
27603         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27604         array references.
27605         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27607         [BZ #11607]
27608         * NEWS: Add an entry.
27609         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27610         define their defaults.
27611         (two_way_short_needle): Detect end-of-string on-the-fly.
27612         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27613         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27614         * string/bug-strcasestr1.c: New test.
27615         * string/Makefile: Run it.
27617 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27619         [BZ #11607]
27620         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27621         the first character.
27623 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27625         * csu/elf-init.c (__libc_csu_irel): Function removed.
27626         * csu/libc-start.c (apply_irel): New function.
27627         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27629 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27631         * sysdeps/unix/sysv/linux/kernel-features.h
27632         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27633         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27634         <kernel-features.h>.
27635         [__NR_fadvise64_64]: Make code unconditional.
27636         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27637         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27638         !__NR_fadvise64_64)]: Likewise.
27639         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27640         !__NR_fadvise64_64))]: Likewise.
27641         [__NR_fadvise64]: Make code unconditional.
27642         [!__NR_fadvise64]: Remove conditional code.
27643         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27644         <kernel-features.h>.
27645         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27646         unconditional.
27647         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27648         conditional code.
27649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27650         not include <kernel-features.h>.
27651         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27652         unconditional.
27653         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27654         conditional code.
27655         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27656         include <kernel-features.h>.
27657         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27658         unconditional.
27659         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27660         conditional code.
27662 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27664         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27665         slight instruction rearrangements per scrollpipe analysis.
27666         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27668 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27670         * manual/syslog.texi (syslog; vsyslog, closelog):
27671         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27672         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27674         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27675         DSOCAPS to match condition on defining it.
27677 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27679         * sysdeps/unix/sysv/linux/kernel-features.h
27680         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27682         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27683         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27685         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27686         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27688         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27689         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27691         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27692         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27694         * sysdeps/unix/sysv/linux/kernel-features.h
27695         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27696         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27697         unconditional.
27698         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27699         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27700         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27701         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27702         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27703         Make code unconditional.
27704         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27705         (__mmap64) [!__NR_mmap2]: Likewise.
27706         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27707         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27708         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27709         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27710         [__NR_mmap2]: Make code unconditional.
27711         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27712         (__mmap64) [!__NR_mmap2]: Likewise.
27714 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27716         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27718 2012-08-18  Andreas Jaeger  <aj@suse.de>
27720         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27722 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27724         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27725         * include/unistd.h (__have_sock_cloexec): Likewise.
27726         (__have_pipe2): Likewise.
27727         (__have_dup3): Likewise.
27729 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27731         [BZ #9685]
27732         * include/unistd.h (__have_pipe2): Change define into an extern int.
27733         (__have_dup3): Likewise.
27734         * socket/have_sock_cloexec.c: Include fcntl.h.
27735         (__have_pipe2): New variable.
27736         (__have_dup3): Likewise.
27738 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27740         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27742 2012-08-17  Marek Polacek  <polacek@redhat.com>
27744         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27745         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27747 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27749         * configure.in: Add AC_SUBST for sysheaders.
27750         * configure: Regenerated.
27751         * config.make.in (sysheaders): New substituted variable.
27753         * sysdeps/unix/mkfifo.c: Moved ...
27754         * sysdeps/posix/mkfifo.c: ... here.
27755         * sysdeps/unix/mkfifoat.c: Moved ...
27756         * sysdeps/posix/mkfifoat.c: ... here.
27758         * sysdeps/unix/utime.c: Moved ...
27759         * sysdeps/posix/utime.c: ... here.
27761         * sysdeps/unix/time.c: Moved ...
27762         * sysdeps/posix/time.c: ... here.
27763         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27764         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27766         * sysdeps/unix/nice.c: Moved ...
27767         * sysdeps/posix/nice.c: ... here.
27769         * sysdeps/unix/alarm.c: Moved ...
27770         * sysdeps/posix/alarm.c: ... here.
27772         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27774 2012-08-17  Jeff Law <law@redhat.com>
27776         * intl/Makefile (codeset_mo): New variable.
27777         ($(codeset_mo)): New target.
27778         (tst-codeset.out): Depend on that.  Remove explicit rule.
27779         (tst-gettext3.out, tst-gettext5.out): Likewise.
27780         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27781         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27782         * intl/tst-codeset.sh: Remove.
27783         * intl/tst-gettext3.sh: Likewise.
27784         * intl/tst-gettext5.sh: Likewise.
27786 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27788         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27789         * sysdeps/unix/syscalls.list: ... here.
27791         * sysdeps/posix/getaddrinfo.c
27792         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27793         (gaiconf_init, gaiconf_reload): Use them.
27794         [!_STATBUF_ST_NSEC]
27795         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27796         Define using time_t rather than struct timespec.
27798         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27799         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27800         Macros removed.
27801         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27802         [!NO_THREADS].
27803         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27804         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27805         Likewise.
27807         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27808         __libc_cleanup_push argument.
27810         * bits/param.h: New file.
27811         * misc/sys/param.h: New file.
27812         * include/sys/param.h: New file.
27813         * misc/Makefile (headers): Add bits/param.h.
27814         * sysdeps/generic/sys/param.h: File removed.
27815         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27816         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27817         * sysdeps/mach/hurd/bits/param.h: New file.
27818         * sysdeps/mach/hurd/sys/param.h: File removed.
27820         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27821         last change.
27823         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27824         [_IO_MTSAFE_IO].
27825         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27826         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27827         New macros.
27829         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27830         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27831         rather than -D_IO_MTSAFE_IO conditionally.
27832         * stdio-common/Makefile (CPPFLAGS): Likewise.
27833         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27834         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27835         Use $(libio-mtsafe).
27836         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27837         of -D_IO_MTSAFE_IO.
27838         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27839         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27840         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27841         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27842         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27843         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27844         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27845         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27846         (CFLAGS-fread_u_chk.c): Likewise.
27847         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27848         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27849         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27850         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27851         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27852         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27853         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27854         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27855         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27857         * libio/Makefile: Test [$(libc-reentrant) = yes]
27858         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27860         * Makeconfig
27861         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27862         * sysdeps/pthread/configure: File removed.
27863         * sysdeps/pthread/Makeconfig: New file.
27864         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27865         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27867 2012-08-16  Gary Benson  <gbenson@redhat.com>
27869         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27870         unmapping the first object in a namespace.
27872 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27874         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27875         (__internal_setnetgrent): ... this.  Add internal_function to
27876         definition.  Add libc_hidden_def.
27877         (setnetgrent): Update caller.
27878         (internal_endnetgrent): Renamed to ...
27879         (__internal_endnetgrent): ... this.  Add internal_function to
27880         definition.  Add libc_hidden_def.
27881         (endnetgrent): Update caller.
27882         (internal_getnetgrent_r): Renamed to ...
27883         (__internal_getnetgrent_r): ... this.  Add internal_function to
27884         definition.  Add libc_hidden_def.
27885         (__getnetgrent_r): Update caller.
27886         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27888 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27890         * stdlib/longlong.h: Update from GCC.
27892 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27894         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27895         on _QL, which is set by umul_ppmm but never used.
27896         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27897         variables, which are set by GMP macros but never used.
27898         * stdio-common/_itowa.c (_itowa): Likewise.
27899         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27900         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27902 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27904         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27905         struct La_sh_regs is not constant.
27906         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27907         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27908         and struct La_sparc64_regs are not constant.
27910 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27912         * sysdeps/unix/sysv/linux/kernel-features.h
27913         (__ASSUME_POSIX_TIMERS): Remove.
27914         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27915         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27916         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27917         Make code unconditional.
27918         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27919         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27920         Make code unconditional.
27921         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27922         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27923         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27924         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27925         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27926         Make code unconditional.
27927         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27928         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27929         (__libc_missing_posix_timers): Remove.
27931 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27933         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27934         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27936         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27938         * elf/dl-sym.c: Include <stdlib.h>.
27940         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27941         constants, which avoids warnings in 32-bit builds.
27943         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27944         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27946         * misc/lseek.c: File moved to ...
27947         * io/lseek.c: ... here.
27949         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27951         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27952         shifting LEN more than 31 bits at once.
27954 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27956         [BZ #14195]
27957         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27958         segmentation fault for a case of two empty input strings.
27959         * string/test-strncasecmp.c (check1): Renamed to...
27960         (bz12205): ...this.
27961         (bz14195): Add new testcase for two empty input strings and N > 0.
27962         (test_main): Call new testcase, adapt for renamed function.
27964 2012-08-15  Andreas Jaeger  <aj@suse.de>
27966         [BZ #14090]
27967         * crypt/md5test2.c: New test, based on test supplied by Serge
27968         Belyshev <belyshev@depni.sinp.msu.ru>.
27969         * crypt/Makefile (xtests): Add md5test-giant..
27970         * crypt/Makefile ($(objpfx)md5test-giant): Add.
27972 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
27974         [BZ #14090]
27975         * crypt/md5.c (md5_process_block): Don't assume the buffer
27976         length is less than 2**32.
27977         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27978         length is less than 2**64.
27980 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27982         * string/str-two-way.h: Include <sys/param.h>.
27983         (MAX): Macro removed.
27985         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27986         Move #define and #undef of memmove to just before and after
27987         including <string.h>.
27989         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27990         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27991         and after including <string.h>.  Move declarations of
27992         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27993         to before #include "string/memmove.c".
27995         * include/dirent.h: Declare __getdirentries.
27997         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27998         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28000 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28002         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28003         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28004         * sysdeps/i386/configure: Regenerated.
28005         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28006         STABS_CURRENT_FILE, and STABS_FUN.
28007         (END): Remove call to STABS_FUN_END.
28008         (STABS_CURRENT_FILE1): Delete.
28009         (STABS_CURRENT_FILE): Likewise.
28010         (STABS_FUN): Likewise.
28011         (STABS_FUN_END): Likewise.
28012         (STABS_FUN2): Likewise.
28013         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28014         * sysdeps/x86_64/configure: Regenerated.
28016 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28018         * elf/dl-open.c: Include <atomic.h>.
28019         * elf/dl-lookup.c: Likewise.
28021 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28023         * sysdeps/unix/sysv/linux/kernel-features.h
28024         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28025         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28026         unconditionally.
28027         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28028         unconditionally.
28029         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28030         condition on __ASSUME_CLONE_THREAD_FLAGS.
28032 2012-08-14  Andreas Jaeger  <aj@suse.de>
28034         * sysdeps/i386/fpu/libm-test-ulps: Update.
28036 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28038         * include/atomic.h (atomic_exchange_and_add): Split into ...
28039         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28040         New atomic macros.
28042 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28046 2012-08-13  Jeff Law <law@redhat.com>
28048         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28049         null byte in the output string.
28051 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28053         * sysdeps/unix/sysv/linux/kernel-features.h
28054         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28055         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28056         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28057         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28058         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28059         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28060         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28062 2012-08-09  Jeff Law <law@redhat.com>
28064         [BZ #13939]
28065         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28066         When avoid_arena is set, don't retry in the that arena.  Pick the
28067         next one, whatever it might be.
28068         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28069         (arena_lock): Pass in new parameter to arena_get2.
28070         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28071         arena_get2.
28072         (__libc_malloc): Unify retrying after main arena failure with
28073         __libc_memalign version.
28074         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28076 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28078         [BZ #14166]
28079         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28080         to __redirect_strstr.
28081         (__strstr_sse42): Use typeof __redirect_strstr.
28082         (__strstr_ia32): Likewise.
28083         (__libc_strstr): New prototype.
28084         (strstr): Renamed to ...
28085         (__libc_strstr): This.
28086         (strstr): New strong alias of __libc_strstr.
28087         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28088         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28089         __redirect_time.
28090         Include <time.h>.
28091         (__libc_time): New prototype.
28092         (time_ifunc): Replace time with __libc_time.
28093         (time): New strong alias and hidden definition of __libc_time.
28094         (__GI_time): Remove strong alias.
28095         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28096         Include <stddef.h>.
28097         (memmove): Redefined to __redirect_memmove.
28098         (__memmove_sse2): Use typeof __redirect_memmove.
28099         (__memmove_ssse3): Likewise.
28100         (__memmove_ssse3_back): Likewise.
28101         (__libc_memmove): New prototype.
28102         (memmove): Renamed to ...
28103         (__libc_memmove): This.
28104         (memmove): New strong alias of __libc_memmove.
28106 2012-08-08  Mark Salter  <msalter@redhat.com>
28108         * elf/elf.h
28109         (R_MN10300_TLS_GD): Define.
28110         (R_MN10300_TLS_LD): Likewise.
28111         (R_MN10300_TLS_LDO): Likewise.
28112         (R_MN10300_TLS_GOTIE): Likewise.
28113         (R_MN10300_TLS_IE): Likewise.
28114         (R_MN10300_TLS_LE): Likewise.
28115         (R_MN10300_TLS_DTPMOD): Likewise.
28116         (R_MN10300_TLS_DTPOFF): Likewise.
28117         (R_MN10300_TLS_TPOFF): Likewise.
28118         (R_MN10300_SYM_DIFF): Likewise.
28119         (R_MN10300_ALIGN): Likewise.
28120         (R_MN10300_NUM): Update.
28122 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28124         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28125         Remove.
28127 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28129         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28131         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28132         sysdeps/unix -> sysdeps/posix move.
28133         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28135 2012-08-07      Allan McRae     <allan@archlinux.org>
28137         [BZ #14303]
28138         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28139         (SUNOS_CPP): Likewise.
28140         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28141         not found.
28142         (open_input): Call CPP using execvp.
28144 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28146         * sysdeps/unix/sysv/linux/kernel-features.h
28147         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28148         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28149         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28150         (__ASSUME_WAITID_SYSCALL): Likewise.
28151         * sysdeps/unix/sysv/linux/dl-execstack.c
28152         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28153         code unconditional.
28154         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28155         conditional code.
28156         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28157         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28158         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28159         code.
28160         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28161         unconditional.
28162         [__ASSUME_WAITID_SYSCALL]: Likewise.
28163         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28165 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28167         * sysdeps/unix/closedir.c: Renamed to ...
28168         * sysdeps/posix/closedir.c: ... here.
28169         * sysdeps/unix/dirfd.c: Renamed to ...
28170         * sysdeps/posix/dirfd.c: ... here.
28171         * sysdeps/unix/dirstream.h: Renamed to ...
28172         * sysdeps/posix/dirstream.h: ... here.
28173         * sysdeps/unix/fdopendir.c: Renamed to ...
28174         * sysdeps/posix/fdopendir.c: ... here.
28175         * sysdeps/unix/opendir.c: Renamed to ...
28176         * sysdeps/posix/opendir.c: ... here.
28177         * sysdeps/unix/readdir.c: Renamed to ...
28178         * sysdeps/posix/readdir.c: ... here.
28179         * sysdeps/unix/readdir_r.c: Renamed to ...
28180         * sysdeps/posix/readdir_r.c: ... here.
28181         * sysdeps/unix/rewinddir.c: Renamed to ...
28182         * sysdeps/posix/rewinddir.c: ... here.
28183         * sysdeps/unix/seekdir.c: Renamed to ...
28184         * sysdeps/posix/seekdir.c: ... here.
28185         * sysdeps/unix/telldir.c: Renamed to ...
28186         * sysdeps/posix/telldir.c: ... here.
28187         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28188         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28189         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28190         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28192         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28193         * bits/fcntl.h: ... here.
28195         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28196         not 0.
28197         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28198         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28199         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28200         (struct flock): Move l_start, l_len to the beginning.
28201         Use __pid_t for l_pid.
28202         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28203         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28204         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28205         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28206         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28207         [__USE_LARGEFILE64] (struct flock64): New type.
28208         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28210         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28211         * bits/dirent.h: ... here.
28213         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28214         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28216 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28218         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28219         Change from 2.6.0 to 2.6.16.
28220         * sysdeps/unix/sysv/linux/configure: Regenerated.
28221         * sysdeps/unix/sysv/linux/kernel-features.h
28222         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28223         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28224         version.
28225         (__ASSUME_UTIMES): Likewise.
28226         (__ASSUME_CLONE_STOPPED): Remove.
28227         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28228         architectures, not kernel version.
28229         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28230         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28231         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28232         (__ASSUME_WAITID_SYSCALL): Likewise.
28233         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28234         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28235         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28236         refer to older versions.
28238 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28240         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28241         Define alphasort64 as an alias.
28242         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28243         Define versionsort64 as an alias.
28244         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28245         Define scandir64 as an alias.
28246         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28247         Define scandirat64 as an alias.
28248         * dirent/alphasort64.c (alphasort64):
28249         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28250         * dirent/versionsort64.c: Likewise.
28251         * dirent/scandir64.c: Likewise.
28252         * dirent/scandirat64.c: Likewise.
28253         * sysdeps/wordsize-64/alphasort.c: File removed.
28254         * sysdeps/wordsize-64/alphasort64.c: File removed.
28255         * sysdeps/wordsize-64/scandir.c: File removed.
28256         * sysdeps/wordsize-64/scandir64.c: File removed.
28257         * sysdeps/wordsize-64/scandirat.c: File removed.
28258         * sysdeps/wordsize-64/scandirat64.c: File removed.
28259         * sysdeps/wordsize-64/versionsort.c: File removed.
28260         * sysdeps/wordsize-64/versionsort64.c: File removed.
28261         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28262         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28263         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28264         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28265         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28266         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28267         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28268         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28270         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28271         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28272         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28273         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28274         [defined __arch64__ || defined __sparcv9]
28275         (__INO_T_MATCHES_INO64_T): New macro.
28276         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28277         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28278         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28279         * sysdeps/unix/sysv/linux/bits/dirent.h
28280         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28281         (_DIRENT_MATCHES_DIRENT64): New macro.
28283         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28284         Define lockf64 as an alias.
28285         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28286         Define fseeko64 as an alias.
28287         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28288         Define ftello64 as an alias.
28289         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28290         Define _IO_fgetpos64 and fgetpos64 as aliases.
28291         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28292         Define _IO_fsetpos64 and fsetpos64 as aliases.
28293         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28294         Conditionalize body on this.
28295         * libio/fseeko64.c: Likewise.
28296         * libio/ftello64.c: Likewise.
28297         * libio/iofgetpos64.c: Likewise.
28298         * libio/iofsetpos64.c: Likewise.
28299         * sysdeps/wordsize-64/lockf.c: File removed.
28300         * sysdeps/wordsize-64/lockf64.c: File removed.
28301         * sysdeps/wordsize-64/fseeko.c: File removed.
28302         * sysdeps/wordsize-64/fseeko64.c: File removed.
28303         * sysdeps/wordsize-64/ftello.c: File removed.
28304         * sysdeps/wordsize-64/ftello64.c: File removed.
28305         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28306         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28307         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28308         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28309         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28310         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28311         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28312         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28313         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28314         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28315         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28316         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28317         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28318         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28320         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28321         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28322         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28323         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28324         [defined __arch64__ || defined __sparcv9]
28325         (__OFF_T_MATCHES_OFF64_T): New macro.
28326         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28327         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28329         (__OFF_T_MATCHES_OFF64_T): New macro.
28331 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28333         * stdlib/secure-getenv.c (__secure_getenv): Replace
28334         GLIBC_2_16 with GLIBC_2_17.
28336 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28338         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28339         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28341 2012-08-03  David S. Miller  <davem@davemloft.net>
28343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28345 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28347         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28348         Remove.
28349         (__ASSUME_CORRECT_SI_PID): Likewise.
28350         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28351         (__ASSUME_TMPFS_NAME): Likewise.
28352         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28353         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28354         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28355         (HAVE_AUX_SECURE): Make definition unconditional.
28356         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28357         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28359 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28361         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28362         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28363         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28364         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28365         __eloop_threshold instead of SYMLOOP_MAX.
28367         * sysdeps/generic/eloop-threshold.h: New file.
28368         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28369         of MAXSYMLINKS.
28370         * elf/chroot_canon.c (chroot_canon): Likewise.
28372 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28374         [BZ #13717]
28375         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28376         Change to 2.6.0 everywhere.
28377         * sysdeps/unix/sysv/linux/configure: Regenerated.
28378         * sysdeps/unix/sysv/linux/kernel-features.h
28379         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28380         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28381         kernel versions.
28382         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28383         (__ASSUME_FUTEX_REQUEUE): Remove.
28384         (__ASSUME_STATFS64): Define unconditionally.
28385         (__ASSUME_AT_SECURE): Likewise.
28386         (__ASSUME_CORRECT_SI_PID): Likewise.
28387         (__ASSUME_TGKILL): Define without depending on kernel version for
28388         i386.
28389         (__ASSUME_UTIMES): Likewise.
28390         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28391         kernel version.
28392         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28393         (__ASSUME_TMPFS_NAME): Likewise.
28394         * README: Update reference to Linux kernel versions.
28396 2012-08-02  Marek Polacek  <polacek@redhat.com>
28398         [BZ# 14150]
28399         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28400         libc_cv_asm_type_prefix with %.
28401         * configure: Regenerated.
28402         * include/libc-symbols.h: Remove comment about
28403         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28404         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28405         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28406         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28407         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28408         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28409         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28410         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28411         * elf/tst-unique2mod1.c: Likewise.
28412         * elf/tst-unique1mod2.c: Likewise.
28413         * elf/tst-unique1mod1.c: Likewise.
28414         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28415         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28416         Replace ASM_TYPE_DIRECTIVE with .type.
28417         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28418         * sysdeps/i386/sysdep.h: Likewise.
28419         * sysdeps/x86_64/sysdep.h: Likewise.
28420         * sysdeps/sh/sysdep.h: Likewise.
28421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28422         Do not define ASM_TYPE_DIRECTIVE.
28423         * sysdeps/powerpc/sysdep.h: Likewise.
28424         * sysdeps/powerpc/powerpc32/sysdep.h:
28425         Replace ASM_TYPE_DIRECTIVE with .type.
28426         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28427         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28428         * sysdeps/i386/fpu/e_powf.S: Likewise.
28429         * sysdeps/i386/fpu/e_expl.S: Likewise.
28430         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28431         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28432         * sysdeps/i386/fpu/e_pow.S: Likewise.
28433         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28434         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28435         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28436         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28437         * sysdeps/i386/fpu/e_log2.S: Likewise.
28438         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28439         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28440         * sysdeps/i386/fpu/e_powl.S: Likewise.
28441         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28442         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28443         * sysdeps/i386/fpu/e_logl.S: Likewise.
28444         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28445         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28446         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28447         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28448         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28449         * sysdeps/i386/fpu/e_log.S: Likewise.
28450         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28451         * sysdeps/i386/fpu/e_logf.S: Likewise.
28452         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28453         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28454         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28455         * sysdeps/i386/fpu/e_log10.S: Likewise.
28456         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28457         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28458         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28459         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28460         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28461         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28462         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28463         * sysdeps/i386/i686/strtok.S: Likewise.
28464         * sysdeps/i386/i386-mcount.S: Likewise.
28465         * sysdeps/i386/strtok.S: Likewise.
28466         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28467         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28468         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28469         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28470         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28471         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28472         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28473         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28474         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28475         * sysdeps/x86_64/_mcount.S: Likewise.
28476         * sysdeps/x86_64/strtok.S: Likewise.
28477         * sysdeps/sh/_mcount.S: Likewise.
28479 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28481         * libio/iofopen.c: Include <fcntl.h>.
28482         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28483         (_IO_fopen64, fopen64): Define as aliases.
28484         * libio/iofopen64.c: Include <fcntl.h>.
28485         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28486         Conditionalize body on this.
28487         * sysdeps/wordsize-64/iofopen.c: File removed.
28488         * sysdeps/wordsize-64/iofopen64.c: File removed.
28490 2012-08-01  Marek Polacek  <polacek@redhat.com>
28492         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28493         Use dlfcn directly instead of a variable.
28494         (binfmt-subdir): Do not define.
28495         (dlfcn): Likewise.
28497 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28499         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28500         Remove all definitions.
28501         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28502         <kernel-features.h>.
28503         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28504         (miss_F_GETOWN_EX): Remove all definitions.
28505         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28506         macro definition.
28507         [!__ASSUME_FCNTL64]: Remove conditional code.
28508         [__ASSUME_FCNTL64]: Make code unconditional.
28509         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28510         <kernel-features.h>.
28511         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28512         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28513         (lockf64) [__NR_fcntl64]: Make code unconditional.
28514         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28516         * sysdeps/unix/sysv/linux/kernel-features.h
28517         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28518         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28519         Make code unconditional.
28520         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28521         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28523         [__NR_vfork]: Make code unconditional.
28524         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28525         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28527         [__NR_vfork]: Make code unconditional.
28528         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28529         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28531 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28533         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28534         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28536         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28537         Define mkstemp64 as an alias.
28538         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28539         Define mkstemps64 as an alias.
28540         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28541         Define mkostemp64 as an alias.
28542         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28543         Define mkostemps64 as an alias.
28544         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28545         Conditionalize body on this.
28546         * misc/mkostemp64.c: Likewise.
28547         * misc/mkostemps64.c: Likewise.
28548         * misc/mkstemps64.c: Likewise.
28549         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28550         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28551         * sysdeps/wordsize-64/mkostemp.c: File removed.
28552         * sysdeps/wordsize-64/mkstemp.c: File removed.
28553         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28554         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28555         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28556         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28558         [BZ #14138]
28559         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28560         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28561         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28562         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28564         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28565         compat_symbol macros from <shlib-compat.h> rather than the underlying
28566         default_symbol_version and symbol_version macros, so that DEFAULT
28567         lines in shlib-versions are respected.
28568         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28570 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28572         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28573         Declare with warn_unused_result.
28574         (setgid, setregid, setegid, setresgid): Likewise.
28575         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28576         Likewise.
28577         * WUR-REPORT: Remove set*id functions.
28579 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28581         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28583 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28585         [BZ #10191]
28586         * include/sys/socket.h (__libc_accept, __libc_accept4):
28587         Add attribute_hidden.
28588         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28590         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28591         use of PTR_MANGLE.
28592         * inet/getnetgrent_r.c (setup): Likewise.
28594         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28596 2012-07-31  David S. Miller  <davem@davemloft.net>
28598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28600 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28602         [BZ #13629]
28603         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28604         value between 1.0 and 2.0 and smaller part has absolute value less
28605         than 1.0.
28606         * math/s_clog10.c (__clog10): Likewise.
28607         * math/s_clog10f.c (__clog10f): Likewise.
28608         * math/s_clog10l.c (__clog10l): Likewise.
28609         * math/s_clogf.c (__clogf): Likewise.
28610         * math/s_clogl.c (__clogl): Likewise.
28611         * math/libm-test.inc (clog_test): Add more tests.
28612         (clog10_test): Likewise.
28613         * sysdeps/i386/fpu/libm-test-ulps: Update.
28614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28616 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28618         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28619         Exit with zero in case no suitable GID is found, and write a
28620         message to standard error.
28622 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28624         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28625         rather than to 1.
28626         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28627         (MAXPATHLEN): Removed.
28628         (NOGROUP, NODEV): New macros.
28629         (setbit, clrbit, isset, isclr): New macros.
28630         (howmany, roundup, powerof2): New macros.
28631         (DEV_BSIZE): New macro.
28633         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28634         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28636         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28637         definition on [!__NO_LONG_DOUBLE_MATH].
28639         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28640         PTR_MANGLE and PTR_DEMANGLE.
28642         * socket/accept4.c (accept4): Rename to __libc_accept4.
28643         Define accept4 as a weak alias.
28645         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28646         on [_DIRENT_HAVE_D_TYPE].
28647         * io/ftw.c (ftw_dir): Likewise.
28649         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28651         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28653         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28654         Use the BSD numbers rather than the arbitrary ones we had.
28655         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28656         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28657         (SIGXCPU, SIGXFSZ): New macros.
28658         (_NSIG): Now 32.
28660         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28661         initializer on [_LIBC_REENTRANT].
28663         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28664         definitions inside [_POSIX_MAPPED_FILES].
28666         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28668         * dirent/opendir.c: Include <fcntl.h>.
28670         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28671         (__libc_getspecific): Likewise.
28672         (__libc_key_create): Likewise.
28674         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28675         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28676         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28677         (tmpfile64): Define as alias.
28678         * sysdeps/wordsize-64/tmpfile.c: File removed.
28679         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28680         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28681         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28683         * stdio-common/vfscanf.c: Include <stdbool.h>.
28684         * nss/makedb.c: Likewise.
28685         * stdio-common/_i18n_number.h: Likewise.
28686         * argp/argp-help.c: Likewise.
28687         * posix/wordexp.c: Likewise.
28688         * sysdeps/posix/spawni.c: Likewise.
28689         * nss/nss_files/files-initgroups.c: Likewise.
28690         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28691         * nss/nss_files/files-initgroups.c: Likewise.
28692         * nss/nss_db/db-netgrp.c: Likewise.
28693         * nss/nss_db/db-initgroups.c: Likewise.
28694         * io/fchmodat.c: Include <sys/stat.h>.
28696         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28697         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28699         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28700         [HAVE_MMAP].
28702         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28703         Add multiple inclusion protection.
28705 2012-07-27  David S. Miller  <davem@davemloft.net>
28707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28709 2012-07-27  Gary Benson  <gbenson@redhat.com>
28711         [BZ #14298]
28712         * elf/rtld.c: Include <stap-probe.h>.
28713         (dl_main): Added static probes "init_start" and "init_complete".
28714         * elf/dl-load.c: Include <stap-probe.h>.
28715         (lose): Take new parameter "nsid".
28716         Added static probe "map_failed".
28717         (_dl_map_object_from_fd): Pass namespace id to lose.
28718         Added static probe "map_start".
28719         (open_verify): Pass namespace id to lose.
28720         * elf/dl-open.c: Include <stap-probe.h>.
28721         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28722         and "reloc_complete".
28723         * elf/dl-close.c: Include <stap-probe.h>.
28724         (_dl_close_worker): Added static probes "unmap_start" and
28725         "unmap_complete".
28726         * elf/rtld-debugger-interface.txt: New file documenting the above.
28728 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28730         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28731         rather than a string variable.
28732         * sunrpc/rpc_main.c (h_output): Likewise.
28733         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28735 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28737         * inet/check_native.c: New file.
28739 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28741         [BZ #13629]
28742         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28743         if larger part has absolute value 1.0.
28744         * math/s_clog10.c (__clog10): Likewise.
28745         * math/s_clog10f.c (__clog10f): Likewise.
28746         * math/s_clog10l.c (__clog10l): Likewise.
28747         * math/s_clogf.c (__clogf): Likewise.
28748         * math/s_clogl.c (__clogl): Likewise.
28749         * math/libm-test.inc (clog_test): Add more tests.
28750         (clog10_test): Likewise.
28751         * sysdeps/i386/fpu/libm-test-ulps: Update.
28752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28754         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28755         (pltexit): Likewise.
28756         (La_regs): Likewise.
28757         (La_retval): Likewise.
28758         (int_retval): Likewise.
28759         Update #error for removed macros to refer only to definitions in
28760         tst-audit.h.
28761         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28762         macro.
28763         (pltexit): Likewise.
28764         (La_regs): Likewise.
28765         (La_retval): Likewise.
28766         (int_retval): Likewise.
28767         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28768         macro.
28769         (pltexit): Likewise.
28770         (La_regs): Likewise.
28771         (La_retval): Likewise.
28772         (int_retval): Likewise.
28773         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28774         macro.
28775         (pltexit): Likewise.
28776         (La_regs): Likewise.
28777         (La_retval): Likewise.
28778         (int_retval): Likewise.
28779         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28780         macro.
28781         (pltexit): Likewise.
28782         (La_regs): Likewise.
28783         (La_retval): Likewise.
28784         (int_retval): Likewise.
28785         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28786         macro.
28787         (pltexit): Likewise.
28788         (La_regs): Likewise.
28789         (La_retval): Likewise.
28790         (int_retval): Likewise.
28791         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28792         macro.
28793         (pltexit): Likewise.
28794         (La_regs): Likewise.
28795         (La_retval): Likewise.
28796         (int_retval): Likewise.
28797         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28798         macro definitions in tst-audit.h.
28799         * sysdeps/i386/tst-audit.h: New file.
28800         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28801         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28802         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28803         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28804         * sysdeps/sh/tst-audit.h: Likewise.
28805         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28806         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28807         * sysdeps/x86_64/tst-audit.h: Likewise.
28809 2012-07-26  Andreas Jaeger  <aj@suse.de>
28811         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28812         ptrace.
28814         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28815         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28816         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28817         PTRACE_O_MASK.
28818         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28819         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28820         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28822         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28823         value.
28825         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28826         _sigsys.
28827         (si_call_addr, si_syscall, si_arch): Define new macro.
28828         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28829         _sigsys.
28830         (si_call_addr, si_syscall, si_arch): Define new marcro.
28831         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28832         _sigsys.
28833         (si_call_addr, si_syscall, si_arch): Define new macro.
28834         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28835         _sigsys.
28836         (si_call_addr, si_syscall, si_arch): Define new macro.
28838 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28840         [BZ #13717]
28841         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28842         Change to 2.4.21 where previously 2.4.1.
28843         * sysdeps/unix/sysv/linux/configure: Regenerated.
28844         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28845         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28846         Linux kernel version.
28847         (__ASSUME_STD_AUXV): Remove.
28848         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28849         kernel version.
28850         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28851         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28852         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28853         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28854         (__ASSUME_NETLINK_SUPPORT): Likewise.
28855         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28856         (__no_netlink_support): Remove conditional definition.
28857         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28858         Remove.
28859         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28860         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28861         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28862         (if_nameindex_ioctl): Remove.
28863         (if_nameindex_netlink): Do not handle __no_netlink_support.
28864         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28865         code.
28866         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28867         Remove conditional code.
28868         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28869         code.
28870         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28871         unconditional.
28872         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28873         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28874         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28875         Remove.
28876         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28877         [!__ASSUME_STD_AUXV]: Remove conditional code.
28878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28879         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28880         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28882         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28883         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28884         code.
28885         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28887         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28888         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28889         conditional code.
28890         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28892         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28893         code.
28894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28895         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28896         conditional code.
28897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28898         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28899         code unconditional.
28900         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28901         conditional code.
28902         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28903         unconditional.
28904         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28905         conditional code.
28906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28907         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28908         unconditional.
28909         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28910         conditional code.
28911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28912         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28913         code unconditional.
28914         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28915         conditional code.
28916         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28917         unconditional.
28918         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28919         conditional code.
28920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28921         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28922         code unconditional.
28923         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28924         conditional code.
28925         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28926         unconditional.
28927         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28928         conditional code.
28930 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
28932         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28933         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28934         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28935         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28936         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28937         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28938         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28939         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28940         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28941         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28942         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28943         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28944         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28945         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28946         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28947         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28948         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28949         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28950         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28952         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28953         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28954         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28956 2012-07-25  Florian Weimer  <fweimer@redhat.com>
28958         * Versions.def: Add GLIBC_2.17.
28959         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28960         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28961         Introduce __libc_secure_getenv.
28962         * stdlib/Versions (2.17): Add secure_getenv
28963         (GLIBC_PRIVATE): Add __libc_secure_getenv.
28964         * stdlib/secure-getenv.c: Rename __secure_getenv to
28965         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
28966         symbol __secure_getenv for GLIBC_2.0.
28967         * stdlib/tst-secure-getenv.c: New.
28968         * stdlib/Makefile (tests): Add testcase.
28969         * manual/startup.texi (Environment Access): Document
28970         secure_getenv.
28971         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28972         __libc_secure_getenv.
28973         * inet/ruserpass.c (ruserpass): Likewise.
28974         * malloc/mtrace.c (mtrace): Likewise.
28975         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28976         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28977         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28978         * sysdeps/posix/tempname.c: Likewise.  Evaluate
28979         HAVE_SECURE_GETENV.
28980         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28981         __secure_getenv to __libc_secure_getenv.
28982         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28984         Likewise.
28985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28986         Likewise.
28987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28989         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28995 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28997         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28998         (struct La_i86_retval): Likewise.
28999         (struct La_x86_64_regs): Likewise.
29000         (struct La_x86_64_retval): Likewise.
29001         (struct La_x32_regs): Likewise.
29002         (struct La_x32_retval): Likewise.
29003         (struct La_ppc32_regs): Likewise.
29004         (struct La_ppc32_retval): Likewise.
29005         (struct La_ppc64_regs): Likewise.
29006         (struct La_ppc64_retval): Likewise.
29007         (struct La_sh_regs): Likewise.
29008         (struct La_sh_retval): Likewise.
29009         (struct La_s390_32_regs): Likewise.
29010         (struct La_s390_32_retval): Likewise.
29011         (struct La_s390_64_regs): Likewise.
29012         (struct La_s390_64_retval): Likewise.
29013         (struct La_sparc32_regs): Likewise.
29014         (struct La_sparc32_retval): Likewise.
29015         (struct La_sparc64_regs): Likewise.
29016         (struct La_sparc64_retval): Likewise.
29017         (struct audit_ifaces): Remove architecture-specific pltenter and
29018         pltexit members.
29019         * sysdeps/i386/ldsodefs.h: New file.
29020         * sysdeps/powerpc/ldsodefs.h: Likewise.
29021         * sysdeps/s390/ldsodefs.h: Likewise.
29022         * sysdeps/sh/ldsodefs.h: Likewise.
29023         * sysdeps/sparc/ldsodefs.h: Likewise.
29024         * sysdeps/x86_64/ldsodefs.h: Likewise.
29026 2012-07-25  Marek Polacek  <polacek@redhat.com>
29028         [BZ #6808]
29029         * math/libm-test.inc (yn_test): Add another test.
29030         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29031         to ERANGE when the result is +-Inf.
29032         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29033         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29034         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29035         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29037 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29039         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29040         equal to 0.
29041         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29042         clock_t.
29043         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29045 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29047         * configure.in <sysdeps resolving>: Correct printing
29048         Implies_before.
29049         * configure: Regenerate.
29051 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29053         * math/w_ilogb.c: Include <limits.h>.
29054         * math/w_ilogbl.c: Likewise.
29056 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29058         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29059         va_copy.  Document allowing for unavailable va_copy only as
29060         pre-C99 compatibility.
29061         * manual/string.texi (Copying and Concatenation): Use va_copy
29062         instead of __va_copy in concat example.
29064 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29066         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29067         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29068         it if not null.
29070         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29071         with O_NOLINK passed to __file_name_lookup.
29073         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29074         with O_NOLINK passed to __file_name_lookup.
29076         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29077         negative N or less than NGIDS.
29079         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29080         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29081         enough.  Use memcpy instead of strncpy.
29083 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29085         * elf/Makefile (check-data): Remove.
29086         (localplt.data): New vpath directive.
29087         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29088         instead of $(check-data).
29089         * scripts/data/localplt-generic.data: Move to ...
29090         * sysdeps/generic/localplt.data: ... here.
29091         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29092         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29093         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29095         ... here.
29096         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29098         ... here.
29099         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29101         ... here.
29102         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29104         ... here.
29105         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29107         ... here.
29108         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29110         ... here.
29112 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29114         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29115         PPC32 and PPC64 files.
29116         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29117         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29119 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29121         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29122         __makecontext_ret to ...
29123         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29124         ... here and call exit if uc_link is NULL.  New file.
29125         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29126         __makecontext_ret.S.
29127         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29128         __makecontext_ret to ...
29129         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29130         ... here and call exit if uc_link is NULL.  New file.
29131         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29132         __makecontext_ret.S.
29134 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29136         * elf/elf.h (R_390_IRELATIVE): New definition.
29137         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29138         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29139         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29141         (elf_machine_lazy_rel): Likewise.
29142         * sysdeps/s390/dl-irel.h: New file.
29143         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29144         * sysdeps/s390/s390-64/memset.S: New asm code.
29145         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29146         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29147         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29148         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29149         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29150         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29151         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29152         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29153         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29154         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29155         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29156         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29157         * sysdeps/s390/s390-32/memset.S: New asm code.
29158         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29160 2012-07-17  Marek Polacek  <polacek@redhat.com>
29162         [BZ #14349]
29163         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29164         * sysdeps/s390/s390-64/configure.in: Likewise.
29165         * sysdeps/sparc/configure.in: Likewise.
29166         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29167         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29168         * sysdeps/i386/configure.in: Likewise.
29169         * sysdeps/x86_64/configure.in: Likewise.
29170         * sysdeps/sh/configure.in: Likewise.
29171         * sysdeps/s390/s390-32/configure: Regenerated.
29172         * sysdeps/s390/s390-64/configure: Likewise.
29173         * sysdeps/x86_64/configure: Likewise.
29174         * sysdeps/sh/configure: Likewise.
29175         * sysdeps/powerpc/powerpc64/configure: Likewise.
29176         * sysdeps/powerpc/powerpc32/configure: Likewise.
29177         * sysdeps/sparc/configure: Likwise.
29178         * sysdeps/i386/configure: Likewise.
29180         * elf/dl-open.c: Comment fixes.
29182 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29184         * Makefile [CXX] (check-data): Remove.
29185         [CXX] (c++-types.data): New vpath directive.
29186         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29187         vpath.  Do not allow for C++ type data being missing.
29188         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29189         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29190         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29191         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29192         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29193         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29194         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29196         ... here.
29197         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29199         ... here.
29200         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29202         ... here.
29203         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29205         ... here.
29206         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29208         ... here.
29209         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29211         ... here.
29212         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29214         ... here.
29215         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29218         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29219         definitions to architecture-specific files.
29220         (TLS_IE): Likewise.
29221         (TLS_LD): Likewise.
29222         (TLS_GD): Likewise.
29223         * sysdeps/i386/tls-macros.h: New file.
29224         * sysdeps/powerpc/tls-macros.h: Likewise.
29225         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29226         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29227         * sysdeps/sh/tls-macros.h: Likewise.
29228         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29229         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29230         * sysdeps/x86_64/tls-macros.h: Likewise.
29232 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29234         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29235         zero value for regular exit case.
29237         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29238         (__start_context): Preserve zero value for regular exit case.
29240 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29241             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29243         * manual/setjmp.texi (setcontext): Clarify normal process
29244         termination when uc_link is the null pointer.
29245         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29246         exit call.
29248 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29250         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29251         preprocessor.  Test for each exception mask separately.
29253 2012-07-16  Andreas Jaeger  <aj@suse.de>
29255         * po/ru.po: Update from translation team.
29257 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29259         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29260         equal to 0.
29261         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29262         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29263         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29264         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29265         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29267 2012-07-13  Andreas Jaeger  <aj@suse.de>
29269         * po/fr.po: Update from translation team.
29271 2012-07-12  Marek Polacek  <polacek@redhat.com>
29273         [BZ #14173]
29274         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29275         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29276         loop condition.
29278 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29280         [BZ #13717]
29281         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29282         Change to 2.4.1 where previously 2.4.0.
29283         * sysdeps/unix/sysv/linux/configure: Regenerated.
29284         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29285         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29286         version.
29287         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29288         (__ASSUME_AT_CLKTCK): Remove.
29289         (__ASSUME_AT_PAGESIZE): Likewise.
29290         (__ASSUME_AT_XID): Likewise.
29291         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29292         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29293         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29294         unconditionally.
29295         (HAVE_AUX_PAGESIZE): Likewise.
29296         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29297         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29298         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29300 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29302         [BZ #14307]
29303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29304         the temporary buffer used to invoke __gethostbyname2_r,
29305         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29306         host_data / struct gaih_addrtuple.
29307         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29308         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29309         header file nss/nsswitch.h.
29310         * nss/nsswitch.h (global scope): Add definition of implementation
29311         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29312         resolv/nss_dns/dns-host.c).
29314 2012-07-11  Andreas Jaeger  <aj@suse.de>
29316         * po/fr.po: Update from translation team.
29318         * po/sv.po: Update from translation team
29319         * po/fr.po: Another update from translation team.
29321 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29323         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29324         for subnormals or multiply small sinh result by itself.
29325         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29328 2012-07-11  David S. Miller  <davem@davemloft.net>
29330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29332 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29334         [BZ #14347]
29335         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29336         (INTERNAL_MARK): Shift it here.
29338 2012-07-10  Marek Polacek  <polacek@redhat.com>
29340         [BZ #14151]
29341         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29342         libc_cv_asm_global_directive with .globl.
29343         * configure: Regenerated.
29344         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29345         with .globl.
29346         * sysdeps/i386/configure: Regenerated.
29347         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29348         with .globl.
29349         * sysdeps/x86_64/configure: Regenerated.
29350         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29351         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29352         * elf/tst-unique2mod2.c: Likewise.
29353         * elf/tst-unique2mod1.c: Likewise.
29354         * elf/tst-unique1mod2.c: Likewise.
29355         * elf/tst-unique1mod1.c: Likewise.
29356         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29357         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29358         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29359         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29360         * sysdeps/mach/sysdep.h: Likewise.
29361         * sysdeps/i386/sysdep.h: Likewise.
29362         * sysdeps/i386/i386-mcount.S: Likewise.
29363         * sysdeps/x86_64/_mcount.S: Likewise.
29364         * sysdeps/x86_64/sysdep.h: Likewise.
29365         * sysdeps/sh/_mcount.S: Likewise.
29366         * sysdeps/sh/sysdep.h: Likewise.
29367         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29368         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29369         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29370         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29371         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29372         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29373         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29374         * locale/localeinfo.h: Likewise.
29375         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29376         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29378 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29380         [BZ #14336]
29381         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29382         system".
29383         * manual/message.texi (The Uniforum approach): Likewise.
29384         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29385         (glibc iconv Implementation): Likewise.
29387 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29389         [BZ #14337]
29390         * math/s_clog.c (__clog): Avoid scaling a value down where that
29391         could result in underflow.
29392         * math/s_clog10.c (__clog10): Likewise.
29393         * math/s_clog10f.c (__clog10f): Likewise.
29394         * math/s_clog10l.c (__clog10l): Likewise.
29395         * math/s_clogf.c (__clogf): Likewise.
29396         * math/s_clogl.c (__clogl): Likewise.
29397         * math/libm-test.inc (clog_test): Add more tests.
29398         (clog10_test): Likewise.
29399         * sysdeps/i386/fpu/libm-test-ulps: Update.
29400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29402 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29404         [BZ #14283]
29405         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29406         by 7 not 8 to examine high bit of fractional part.
29408         [BZ #14042]
29409         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29410         for call to __mcount_internal.
29411         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29412         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29413         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29415 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29417         [BZ #14154]
29418         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29419         approximation for values within 0x1p-13f of an odd multiple of
29420         pi/4.
29421         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29422         exception.  Add more tests.
29423         * sysdeps/i386/fpu/libm-test-ulps: Update.
29425         [BZ #6778]
29426         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29427         inputs and return -1 for them.  Do not check for +Inf in case not
29428         reachable for +Inf.
29429         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29430         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29431         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29432         and return -1 for them.  Do not check for +Inf in case not
29433         reachable for +Inf.
29434         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29435         define.
29436         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29437         and return -1 for them.  Do not check for +Inf in case not
29438         reachable for +Inf.
29439         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29440         spurious underflow.
29441         * sysdeps/i386/fpu/libm-test-ulps: Update.
29442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29444 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29446         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29448 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29450         [BZ #14157]
29451         [BZ #14331]
29452         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29453         could result in spurious underflow.  Scale down values above
29454         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29455         * math/s_csqrtf.c (__csqrtf): Likewise.
29456         * math/s_csqrtl.c (__csqrtl): Likewise.
29457         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29458         spurious underflow.
29459         * sysdeps/i386/fpu/libm-test-ulps: Update.
29460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29462 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29464         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29465         xopen-msg.sed.
29466         * catgets/xopen-msg.awk: New file.
29467         * catgets/xopen-msg.sed: Removed.
29469         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29470         po2text.sed.
29471         * intl/po2test.awk: New file.
29472         * intl/po2test.sed: Removed.
29474 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29476         [BZ #14328]
29477         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29478         or multiply small sinh result by itself.
29479         * math/s_ctanf.c (__ctanf): Likewise.
29480         * math/s_ctanh.c (__ctanh): Likewise.
29481         * math/s_ctanhf.c (__ctanhf): Likewise.
29482         * math/s_ctanhl.c (__ctanhl): Likewise.
29483         * math/s_ctanl.c (__ctanl): Likewise.
29484         * math/libm-test.inc (ctan_test_tonearest): New function.
29485         (ctan_test_towardzero): Likewise.
29486         (ctan_test_downward): Likewise.
29487         (ctan_test_upward): Likewise.
29488         (ctanh_test_tonearest): Likewise.
29489         (ctanh_test_towardzero): Likewise.
29490         (ctanh_test_downward): Likewise.
29491         (ctanh_test_upward): Likewise.
29492         (main): Call these new functions.
29493         * sysdeps/i386/fpu/libm-test-ulps: Update.
29494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29496 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29498         * .gitignore: Delete /ports entry.
29500 2012-07-03  Andreas Jaeger  <aj@suse.de>
29502         * po/bg.po: Update from translation team.
29503         * po/cs.po: Likewise.
29504         * po/de.po: Likewise.
29505         * po/hr.po: Likewise.
29506         * po/nl.pl: Likewise.
29507         * po/pl.po: Likewise.
29508         * po/vi.po: Likewise.
29510 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29512         * Makeconfig [!+link] (+link-before-libc): New variable.
29513         [!+link] (+link-after-libc): Likewise.
29514         [!+link] (+link-tests): Likewise.
29515         [!+link] (+link): Define in terms of $(+link-before-libc) and
29516         $(+link-after-libc).
29517         [!+link-static] (+link-static-before-libc): New variable.
29518         [!+link-static] (+link-static-after-libc): Likewise.
29519         [!+link-static] (+link-static-tests): Likewise.
29520         [!+link-static] (+link-static): Define in terms of
29521         $(+link-static-before-libc) and $(+link-static-after-libc).
29522         [build-shared] (link-libc-before-gnulib): New variable.
29523         [build-shared] (link-libc-tests): Likewise.
29524         [build-shared] (link-libc): Define in terms of
29525         $(link-libc-before-gnulib).
29526         [!build-shared] (link-libc-tests): New variable.
29527         (link-libc-static-tests): New variable.
29528         [!gnulib] (gnulib-arch): New variable.
29529         [!gnulib] (gnulib-tests): Likewise.
29530         [!gnulib] (static-gnulib-arch): Likewise.
29531         [!gnulib] (static-gnulib-tests): Likewise.
29532         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29533         Define with "=" instead of ":=".
29534         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29535         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29536         * Rules (binaries-all-notests): New variable.
29537         (binaries-all-tests): Likewise.
29538         (binaries-static-notests): Likewise.
29539         (binaries-static-tests): Likewise.
29540         (binaries-all): Define using $(binaries-all-notests) and
29541         $(binaries-all-tests).
29542         (binaries-static): Define using $(binaries-static-notests) and
29543         $(binaries-static-tests).
29544         (binaries-shared-tests): New variable.
29545         (binaries-shared-notests): Likewise.
29546         (binaries-shared): Remove variable.
29547         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29548         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29549         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29550         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29551         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29552         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29553         * elf/Makefile (sln-modules): New variable.
29554         (extra-objs): Add $(sln-modules:=.o).
29555         (ldconfig-modules): Add static-stubs.
29556         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29557         * elf/static-stubs.c: New file.
29559         [BZ #14283]
29560         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29561         by 7 not 8 to examine high bit of fractional part.  Use volatile
29562         variables when splitting into final array of floats if
29563         __FLT_EVAL_METHOD__ != 0.
29564         * math/libm-test.inc (cos_test): Add another test.
29565         (sin_test): Likewise.
29566         * sysdeps/i386/fpu/libm-test-ulps: Update.
29568         [BZ #14273]
29569         * math/libm-test.inc (cosh_test): Add more tests.
29571         * version.h (RELEASE): Set to "development".
29572         (VERSION): Set to "2.16.90".
29574 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29576         * NEWS: Update copyright. Remove last-updated date.
29577         Mention math library bug fixes and timezone data changes.
29578         * README: Mention GNU/Hurd, x32, and HPPA support status.
29580 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29582         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29584 2012-06-27  Andreas Jaeger  <aj@suse.de>
29586         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29588 2012-06-25  Andreas Jaeger  <aj@suse.de>
29590         * sysdeps/s390/fpu/libm-test-ulps: Update.
29592 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29593             Thomas Schwinge  <thomas@codesourcery.com>
29595         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29596         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29597         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29598         fanotify_mark.
29600 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29602         * sysdeps/mach/start.c: Remove file.
29603         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29604         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29605         * sysdeps/sh/init-first.c: Likewise.
29607         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29608         registers for frame unwinding purposes, add CFI directives.
29609         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29610         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29611         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29612         Likewise.
29614         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29615         __fortify_fail returning.
29616         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29618         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29619         sysdeps/sh/____longjmp_chk.S.
29620         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29621         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29622         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29623         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29625         * sysdeps/sh/abort-instr.h: New file.
29626         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29627         process in case exit returns.
29629         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29630         initialize the GOT register before use.
29632         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29633         calculation of ARGC > 4.
29635         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29636         meaningful names to some local labels.
29638 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29639             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29641         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29642         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29643         (__arch_compare_and_exchange_val_16_acq): Likewise.
29644         (__arch_compare_and_exchange_val_32_acq): Likewise.
29645         (atomic_exchange_and_add): Fix gUSA sequence.
29646         (atomic_add): Likewise.
29647         (atomic_add_negative): Likewise.
29648         (atomic_add_zero): Likewise.
29649         (atomic_bit_test_set): Likewise.
29651 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29653         [BZ #13579]
29654         * include/link.h (struct link_map): Add l_free_initfini.
29655         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29656         l_initfini.
29657         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29658         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29659         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29660         set.
29662 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29664         * configure.in: Use AC_LANG_SOURCE.
29665         * configure: Regenerate.
29667 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29669         * configure.in (libc_cv_localstatedir): New substituted variable.
29670         * configure: Regenerated.
29671         * config.make.in (localstatedir): New variable, substituted from
29672         libc_cv_localstatedir.
29673         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29674         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29675         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29676         * sysdeps/gnu/configure: Regenerated.
29678 2012-06-21  Jeff Law  <law@redhat.com>
29680         [BZ #14277]
29681         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29682         free.  Simplify list management for _LIBC case.
29684 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29686         [BZ #14273]
29687         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29688         Clear sign bit of 64-bit integer value before comparing against
29689         overflow value.
29691         * sysdeps/mach/configure: Regenerated.
29693 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29695         [BZ #14278]
29696         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29698 2012-06-21  Jeff Law  <law@redhat.com>
29700         [BZ #13882]
29701         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29702         uint16_t for elements in the "seen" array to avoid char overflows.
29703         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29704         * elf/dl-open.c (dl_open_worker): Likewise.
29706 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29708         * scripts/list-sources.sh: Scan PORTS for translations.
29709         * po/libc.pot: Regenerated.
29711 2012-06-21  Andreas Jaeger  <aj@suse.de>
29713         [BZ #12194]
29714         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29715         warning.
29716         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29717         * bits/byteswap-16.h (__bswap_16): Likewise.
29718         * bits/byteswap.h (__bswap_constant_16): Likewise.
29720 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29722         [BZ #14117]
29723         * sysdeps/i386/fpu_control.h: Removed.
29724         * sysdeps/x86_64/fpu_control.h: Moved to ...
29725         * sysdeps/x86/fpu_control.h: Here.
29727         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29728         (_FPU_SETCW): Likewise.
29730 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29732         [BZ #14117]
29733         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29734         * sysdeps/x86/fpu/bits/mathinline.h: This.
29735         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29737         [BZ #14050]
29738         [BZ #14117]
29739         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29740         functions if __x86_64__ is defined.
29742 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29744         * string/endian.h: Add !__ASSEMBLER__ condition for including
29745         conversion interfaces.
29747 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29749         [BZ #14241]
29750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29751         of ABS(x) in calculating zero to negative powers other than odd
29752         integers.
29753         * math/libm-test.inc (pow_test): Add more tests.
29755 2012-06-15  Andreas Jaeger  <aj@suse.de>
29757         * manual/contrib.texi (Contributors): Update entry of Liubov
29758         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29759         Machado Filho.
29761 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29763         * string/string.h: Add __wur to GNU version of strerror_r.
29765 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29767         [BZ #14229]
29768         * string/Makefile (tests): Add tst-strtok_r.
29769         * string/tst-strtok_r.c: New file.
29770         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29771         RAX_LP/RDX_LP on SAVE_PTR.
29773 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29775         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29777 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29779         * libm_test.inc (csqrt_test): Allow more spurious underflow
29780         exceptions.
29781         (j0_test): Likewise.
29782         (j1_test): Likewise.
29783         (y0_test): Likewise.
29784         (y1_test): Likewise.
29786 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29788         * po/Makefile (libc.pot): Use UTF-8 charset.
29790 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29792         [BZ #14210]
29793         Suppress sign-conversion warning from FD_SET.
29794         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29795         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29796         not unsigned long int.
29797         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29799 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29801         [BZ #14050]
29802         [BZ #14117]
29803         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29804         __extern_always_inline instead of __extern_inline.
29805         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29806         (__signbit): Likewise.
29807         (__signbitl): Support C++ namespace.
29808         (lrintf): New inline function.
29809         (lrint): Likewise.
29810         (llrintf): Likewise.
29811         (llrint): Likewise.
29812         (fmaxf): Likewise.
29813         (fmax): Likewise.
29814         (fminf): Likewise.
29815         (fmin): Likewise.
29816         (rint): Likewise.
29817         (rintf): Likewise.
29818         (ceil): Likewise.
29819         (ceilf): Likewise.
29820         (floor): Likewise.
29821         (floorf): Likewise.
29822         (nearbyint): Likewise.
29823         (nearbyintf): Likewise.
29825 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29827         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29828         non-default versions.
29830 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29832         [BZ #14218]
29833         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29835 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29837         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29838         (FE_UPWARD, FE_DOWNWARD): Don't define.
29839         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29840         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29842         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29843         reading it.
29844         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29845         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29847 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29849         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29850         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29851         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29852         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29854 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29856         [BZ #14117]
29857         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29858         * sysdeps/i386/fpu/Implies: New file.
29859         * sysdeps/x86_64/fpu/Implies: Likewise.
29860         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29861         * sysdeps/x86/fpu/bits/fenv.h: This.
29863         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29864         __SSE_MATH__.
29866 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29868         [BZ #14134]
29869         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29870         character 0xffff that matches the last element of the
29871         conversion table.
29873 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29875         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29876         fmodl commit.
29878 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29880         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29881         values higher than 25.6283.
29883 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29885         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29886         subnormal exponent extraction and add some __builtin_expect.
29887         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29888         Fix for subnormal mantissa calculation.
29890 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29892         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29893         cpu2 is -1 and errno is not ENOSYS.
29895 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29897         [BZ #14117]
29898         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29899         * sysdeps/x86/bits/string.h: This.
29900         * sysdeps/x86_64/bits/string.h: Removed.
29902         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29903         if not compiling for x86-64, but compiling for >= i486.
29905         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29906         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29908         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29909         New macro from Linux kernel 3.4.0.
29910         (FP_XSTATE_MAGIC2): Likewise.
29911         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29912         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29913         (struct _fpx_sw_bytes): New struct.
29914         (struct _xsave_hdr): Likewise.
29915         (struct _ymmh_state): Likewise.
29916         (struct _xstate): Likewise.
29918         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29919         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29920         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29921         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29922         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29923         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29925         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29926         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29927         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29928         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29929         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29930         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29932 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29934         [BZ #13743]
29935         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29936         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29937         (sysdep_headers): Include sys/platform/ppc.h.
29938         * sysdeps/powerpc/test-gettimebase.c: Test for
29939         __ppc_get_timebase() to catch future ISA opcode/insn changes.
29940         * manual/Makefile (appendices): Include platform.texi.
29941         * manual/contrib.texi (Contributors): Update @node pointers.
29942         * manual/maint.texi (Maintenance): Likewise.
29943         (Platform): New node.
29944         * manual/platform.texi: New file.  Document the new features.
29946 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29947             Jakub Jelinek  <jakub@redhat.com>
29949         [BZ #14188]
29950         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29951         where __builtin_expect is unavailable.
29953 2012-06-03  David S. Miller  <davem@davemloft.net>
29955         * stdlib/longlong.h: Updated from GCC.
29957 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
29959         [BZ #14042]
29960         * sysdeps/powerpc/powerpc32/mcount.c: New file.
29961         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29962         __mcount_internal.
29963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29964         (GLIBC_2.16): Likewise.
29966 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29968         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29970 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29973         (default-abi): New variable.
29974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29975         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29976         variable.
29977         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29978         Likewise.
29979         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29980         Likewise.
29981         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29982         Likewise.
29984         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29985         definition.  Document in comment.
29987 2012-06-01  David S. Miller  <davem@davemloft.net>
29989         * stdlib/longlong.h: Updated from GCC.
29991 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29993         [BZ #14117]
29994         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29995         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29996         sys/debugreg.h sys/io.h here.
29997         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29998         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29999         sys/io.h.
30000         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30001         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30002         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30003         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30004         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30005         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30007         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30008         Define only if __x86_64__ is defined.
30010 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30012         [BZ #14048]
30013         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30014         Use int64_t for variable i.
30015         * math/libm-test.inc (fmod_test): Add more tests.
30017         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30018         z computation is not scheduled after fetestexcept.
30019         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30020         Use math_force_eval instead of asm to ensure calculation scheduled
30021         before exception test.
30022         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30023         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30025 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30028         computation is not scheduled after fetestexcept.
30030 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30032         [BZ #14117]
30033         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30034         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30036 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30038         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30039         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30041 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30043         [BZ #14117]
30044         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30045         <bits/wordsize.h>.
30046         (__WCHAR_MIN): Support __WORDSIZE == 64.
30047         (__WCHAR_MAX): Likewise.
30049         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30050         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30052         [BZ #14183]
30053         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30054         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30056         [BZ #14117]
30057         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30058         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30060         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30061         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30063         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30064         Defined to 1 if __x86_64__ isn't defined.
30065         (_STAT_VER_LINUX_OLD): New.
30066         (st_atime): Remove duplicate.
30067         (st_mtime): Likewise.
30068         (st_ctime): Likewise.
30070 2012-05-31  David S. Miller  <davem@davemloft.net>
30072         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30073         entries.
30075 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30077         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30078         gen-libm-test.pl.
30080         [BZ #14132]
30081         * elf/dl-reloc.c: Include <_itoa.h>.
30082         (_dl_reloc_bad_type): Remove use of INTUSE.
30083         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30084         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30085         * stdio-common/psiginfo.c (psiginfo): Likewise.
30086         * stdio-common/psignal.c (psignal): Likewise.
30087         * string/strsignal.c (strsignal): Likewise.
30088         * include/signal.h (_sys_siglist): Declare hidden proto.
30089         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30090         INTVARDEF with libc_hidden_data_def.
30091         * stdio-common/itoa-udigits.c: Likewise.
30092         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30093         (_itoa_lower_digits_internal): Remove declaration.
30094         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30095         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30096         (_sys_sigabbrev_internal): Remove aliases.
30097         (_sys_siglist): Define hidden alias.
30099 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30101         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30102         bits/sysctl.h.
30104 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30106         [BZ #14117]
30107         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30108         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30110         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30111         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30112         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30113         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30114         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30115         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30117         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30118         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30119         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30121         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30122         with __addr.
30123         (insw): Likewise.
30124         (insl): Likewise.
30125         (outsb): Likewise.
30126         (outsw): Likewise.
30127         (outsl): Likewise.
30129         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30130         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30131         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30133         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30134         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30136         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30137         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30138         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30140         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30141         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30143         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30144         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30146         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30147         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30148         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30150         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30151         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30152         to ...
30153         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30155         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30156         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30157         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30159         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30160         for x86-64.
30161         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30163 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30165         * math/math.h (M_El): Use two more decimal places.
30166         (M_LOG2El): Likewise.
30167         (M_LOG10El): Likewise.
30168         (M_LN2l): Likewise.
30169         (M_LN10l): Likewise.
30170         (M_PIl): Likewise.
30171         (M_PI_2l): Likewise.
30172         (M_PI_4l): Likewise.
30173         (M_1_PIl): Likewise.
30174         (M_2_PIl): Likewise.
30175         (M_2_SQRTPIl): Likewise.
30176         (M_SQRT2l): Likewise.
30177         (M_SQRT1_2l): Likewise.
30179 2012-05-31  David S. Miller  <davem@davemloft.net>
30181         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30182         values between float registers.
30183         * sysdeps/sparc/sparc64/memset.S: Likewise.
30184         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30186 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30188         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30189         -D_FORTIFY_SOURCE=1.
30190         (CPPFLAGS-tst-longjmp_chk.c): Define.
30191         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30192         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30193         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30194         CFLAGS-tst-wchar-h.c.
30196 2012-05-31  Marek Polacek  <polacek@redhat.com>
30198         [BZ #14132]
30199         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30200         __endmntent_internal): Remove declaration.
30201         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30202         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30203         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30205 2012-05-30  David S. Miller  <davem@davemloft.net>
30207         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30208         (___Q_simulate_exceptions): Use real FP ops rather than writing
30209         into the %fsr.
30210         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30211         Likewise.
30213 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30215         [BZ #14117]
30216         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30217         * sysdeps/x86/bits/xtitypes.h: This.
30219         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30220         * sysdeps/x86/bits/wordsize.h: This.
30222         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30223         * sysdeps/x86/bits/huge_vall.h: This.
30225         * sysdeps/i386/bits/select.h: Removed.
30226         * sysdeps/x86_64/bits/select.h: Renamed to ...
30227         * sysdeps/x86/bits/select.h: This.
30229         * sysdeps/i386/bits/setjmp.h: Removed.
30230         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30231         * sysdeps/x86/bits/setjmp.h: This.
30233         * sysdeps/i386/bits/mathdef.h: Removed.
30234         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30235         * sysdeps/x86/bits/mathdef.h: This.
30237 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30239         [BZ #14132]
30240         * include/sys/socket.h (__connect_internal)
30241         (__libc_sa_len_internal): Remove declaration.
30242         (__connect, __libc_sa_len): Declare hidden_proto.
30243         (SA_LEN): Remove use of INTUSE.
30244         * socket/connect.c: Add libc_hidden_def.
30245         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30246         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30247         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30248         alias.
30249         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30250         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30251         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30252         of adding _internal alias.
30254 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30256         [BZ #14117]
30257         * sysdeps/i386/bits/link.h: Removed.
30258         * sysdeps/i386/bits/linkmap.h: Likewise.
30259         * sysdeps/x86_64/bits/link.h: Renamed to ...
30260         * sysdeps/x86/bits/link.h: This.
30261         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30262         * sysdeps/x86/bits/linkmap.h: This.
30264         * sysdeps/i386/bits/endian.h: Removed.
30265         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30266         * sysdeps/x86/bits/endian.h: This.
30268         * sysdeps/i386/bits/byteswap.h: Removed.
30269         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30270         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30271         * sysdeps/x86/bits/byteswap.h: This.
30272         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30273         * sysdeps/x86/bits/byteswap-16.h: This.
30274         * sysdeps/i386/Implies: Add x86.
30275         * sysdeps/x86_64/Implies: Likewise.
30277 2012-05-30  David S. Miller  <davem@davemloft.net>
30279         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30280         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30281         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30282         (FP_TRAPPING_EXCEPTIONS): Define.
30283         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30284         (FP_TRAPPING_EXCEPTIONS): Define.
30285         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30286         subnormals only when inexact has been signalled or underflow
30287         exceptions are enabled.
30288         (_FP_PACK_CANONICAL): Likewise.
30290 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30292         [BZ #14183]
30293         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30294         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30296 2012-05-30  Richard Henderson  <rth@twiddle.net>
30298         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30299         with #ifndef NOT_IN_libc.
30301         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30302         marked to avoid plt entry.
30304 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30306         [BZ #14112]
30307         * Makeconfig (default-abi): New macro.
30308         (abi-includes): Likewise.
30309         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30310         $(abi-$(default-abi)-lib-soname) for soname if defined.
30311         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30312         abi-variants.
30313         * Makefile (installed-stubs): Likewise.
30314         * include/stubs-biarch.h: Removed.
30315         * scripts/lib-names.awk: Only handle one library at a time.
30316         * scripts/soversions.awk: Remove WORDSIZE support.
30317         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30318         entries.
30319         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30320         Removed.
30321         (syscall-list-default-condition): Likewise.
30322         (syscall-list-default-condition): Likewise.
30323         (syscall-list-includes): Likewise.
30324         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30325         syscall-list-* with abi-*.  Handle undefined abi-variants.
30326         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30327         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30328         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30329         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30330         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30331         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30332         Removed.
30333         (syscall-list-32-options): Likewise.
30334         (syscall-list-32-condition): Likewise.
30335         (syscall-list-64-options): Likewise.
30336         (syscall-list-64-condition): Likewise.
30337         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30338         macro.
30339         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30340         Renamed to ...
30341         (abi-*): This.
30342         (abi-64-ld-soname): New macro.
30343         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30344         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30345         Renamed to ...
30346         (abi-*): This.
30347         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30348         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30350 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30352         * sysdeps/unix/sysv/linux/kernel-features.h
30353         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30354         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30355         include <kernel-features.h>.
30356         [!__NR_ftruncate64]: Remove conditional code.
30357         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30358         [__NR_ftruncate64]: Make code unconditional.
30359         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30360         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30361         include <kernel-features.h>.
30362         [!__NR_ftruncate64]: Remove conditional code.
30363         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30364         [__NR_ftruncate64]: Make code unconditional.
30365         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30367         include <kernel-features.h>.
30368         [!__NR_ftruncate64]: Remove conditional code.
30369         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30370         [__NR_ftruncate64]: Make code unconditional.
30371         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30373         include <kernel-features.h>.
30374         [!__NR_ftruncate64]: Remove conditional code.
30375         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30376         [__NR_ftruncate64]: Make code unconditional.
30377         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30379         * configure.in (libc_cv_fpie): Weaken to a compile test using
30380         LIBC_TRY_CC_OPTION.
30381         * configure: Regenerated.
30383 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30389         Refreshed.
30390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30396         Refreshed.
30398 2012-05-27  David S. Miller  <davem@davemloft.net>
30400         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30401         (___Q_zero): New.
30402         (__Q_simulate_exceptions): Return void.  Change to simulate
30403         exceptions by writing into the %fsr.
30404         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30405         (__Qp_handle_exceptions): Likewise.
30406         (numbers): Delete.
30407         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30408         __Qp_handle_exceptions.
30409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30410         __Qp_handle_exceptions.
30411         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30412         as unused and give dummy FP_RND_NEAREST initializer.
30413         (FP_INHIBIT_RESULTS): Define.
30414         (___Q_simulate_exceptions): Update declaration.
30415         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30416         formatting.
30417         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30418         as unused and give dummy FP_RND_NEAREST initializer.
30419         (__Qp_handle_exceptions): Update declaration.
30420         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30421         formatting.
30423 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30425         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30426         the temporary FPU control word.
30427         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30428         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30429         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30430         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30431         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30432         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30433         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30434         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30435         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30436         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30437         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30439 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30441         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30442         fields.
30444 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30446         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30447         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30448         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30449         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30450         Likewise.
30451         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30452         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30453         Likewise.
30455 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30457         * po/h.po: Update from translation team.
30459 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30461         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30463         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30464         handling of denormals.
30465         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30466         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30467         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30468         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30469         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30472         Likewise.
30474 2012-05-26  Marek Polacek  <polacek@redhat.com>
30476         [BZ #14152]
30477         * math/libm-test.inc (fma_test): Don't always expect underflow
30478         exception.
30480 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30482         [BZ #12416]
30483         * elf/tst-execstack.c: Include stackinfo.h.
30484         (do_test): Adjust test case to ensure that pthread_getattr_np
30485         behaviour remains the same after marking stack executable.
30487 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30489         * sysdeps/unix/sysv/linux/kernel-features.h
30490         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30491         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30492         kernel-features.h.
30493         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30494         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30495         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30496         kernel-features.h.
30497         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30498         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30500 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30502         * configure.in: Define the default includes to being none.
30503         * configure: Regenerated.
30505 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30507         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30508         * sysdeps/x86_64/setjmp.S: Likewise.
30509         * sysdeps/i386/bsd-setjmp.S: Likewise.
30510         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30511         * sysdeps/i386/setjmp.S: Likewise.
30512         * sysdeps/i386/__longjmp.S: Likewise.
30513         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30514         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30516         * include/stap-probe.h: New file.
30517         * configure.in: Handle --enable-systemtap.
30518         * configure: Regenerated.
30519         * config.h.in (USE_STAP_PROBE): New #undef.
30520         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30521         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30522         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30524 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30526         [BZ #13717]
30527         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30528         to 2.4.0 where earlier.
30529         * sysdeps/unix/sysv/linux/configure: Regenerated.
30530         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30531         <kernel-features.h>.
30532         [__ASSUME_32BITUIDS]: Make code unconditional.
30533         [!__ASSUME_32BITUIDS]: Remove conditional code.
30534         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30535         <kernel-features.h>.
30536         [__ASSUME_32BITUIDS]: Make code unconditional.
30537         [!__ASSUME_32BITUIDS]: Remove conditional code.
30538         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30539         [__ASSUME_32BITUIDS]: Make code unconditional.
30540         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30541         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30542         <kernel-features.h>.
30543         [__ASSUME_32BITUIDS]: Make code unconditional.
30544         [!__ASSUME_32BITUIDS]: Remove conditional code.
30545         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30546         <kernel-features.h>.
30547         [__ASSUME_32BITUIDS]: Make code unconditional.
30548         [!__ASSUME_32BITUIDS]: Remove conditional code.
30549         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30550         <kernel-features.h>.
30551         [__ASSUME_32BITUIDS]: Make code unconditional.
30552         [!__ASSUME_32BITUIDS]: Remove conditional code.
30553         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30554         <kernel-features.h>.
30555         [__ASSUME_32BITUIDS]: Make code unconditional.
30556         [!__ASSUME_32BITUIDS]: Remove conditional code.
30557         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30558         <kernel-features.h>.
30559         [__ASSUME_32BITUIDS]: Make code unconditional.
30560         [!__ASSUME_32BITUIDS]: Remove conditional code.
30561         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30562         <kernel-features.h>.
30563         [__ASSUME_32BITUIDS]: Make code unconditional.
30564         [!__ASSUME_32BITUIDS]: Remove conditional code.
30565         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30566         <kernel-features.h>.
30567         [__ASSUME_32BITUIDS]: Make code unconditional.
30568         [!__ASSUME_32BITUIDS]: Remove conditional code.
30569         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30570         <kernel-features.h>.
30571         [__ASSUME_32BITUIDS]: Make code unconditional.
30572         [!__ASSUME_32BITUIDS]: Remove conditional code.
30573         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30574         <kernel-features.h>.
30575         [__ASSUME_32BITUIDS]: Make code unconditional.
30576         [!__ASSUME_32BITUIDS]: Remove conditional code.
30577         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30578         <kernel-features.h>.
30579         [__ASSUME_32BITUIDS]: Make code unconditional.
30580         [!__ASSUME_32BITUIDS]: Remove conditional code.
30581         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30582         <kernel-features.h>.
30583         [__NR_setresgid] (__setresgid): Do not declare.
30584         [__ASSUME_32BITUIDS]: Make code unconditional.
30585         [!__ASSUME_32BITUIDS]: Remove conditional code.
30586         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30587         <kernel-features.h>.
30588         [__NR_setresuid] (__setresuid): Do not declare.
30589         [__ASSUME_32BITUIDS]: Make code unconditional.
30590         [!__ASSUME_32BITUIDS]: Remove conditional code.
30591         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30592         <kernel-features.h>.
30593         [__ASSUME_32BITUIDS]: Make code unconditional.
30594         [!__ASSUME_32BITUIDS]: Remove conditional code.
30595         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30596         <kernel-features.h>.
30597         [__ASSUME_32BITUIDS]: Make code unconditional.
30598         [!__ASSUME_32BITUIDS]: Remove conditional code.
30599         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30600         <kernel-features.h>.
30601         [__ASSUME_32BITUIDS]: Make code unconditional.
30602         [!__ASSUME_32BITUIDS]: Remove conditional code.
30603         * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.c: Do not include
30612         <kernel-features.h>.
30613         [__ASSUME_32BITUIDS]: Make code unconditional.
30614         [!__ASSUME_32BITUIDS]: Remove conditional code.
30615         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30616         <kernel-features.h>.
30617         [__ASSUME_32BITUIDS]: Make code unconditional.
30618         [!__ASSUME_32BITUIDS]: Remove conditional code.
30619         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30620         <kernel-features.h>.
30621         [__ASSUME_32BITUIDS]: Make code unconditional.
30622         [!__ASSUME_32BITUIDS]: Remove conditional code.
30623         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30624         <kernel-features.h>.
30625         [__ASSUME_32BITUIDS]: Make code unconditional.
30626         [!__ASSUME_32BITUIDS]: Remove conditional code.
30627         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30628         <kernel-features.h>.
30629         [__ASSUME_32BITUIDS]: Make code unconditional.
30630         [!__ASSUME_32BITUIDS]: Remove conditional code.
30631         * sysdeps/unix/sysv/linux/kernel-features.h
30632         (__ASSUME_SETRESUID_SYSCALL): Remove.
30633         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30634         (__ASSUME_32BITUIDS): Likewise.
30635         (__ASSUME_LDT_WORKS): Likewise.
30636         (__ASSUME_O_DIRECTORY): Likewise.
30637         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30638         architecture but not kernel version.
30639         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30640         (__ASSUME_MMAP2_SYSCALL): Likewise.
30641         (__ASSUME_STAT64_SYSCALL): Likewise.
30642         (__ASSUME_IPC64): Likewise.
30643         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30644         <kernel-features.h>.
30645         [__ASSUME_32BITUIDS]: Make code unconditional.
30646         [!__ASSUME_32BITUIDS]: Remove conditional code.
30647         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30648         <kernel-features.h>.
30649         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30650         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30651         132096]: Remove conditional code.
30652         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30653         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30654         <kernel-features.h>.
30655         [__ASSUME_32BITUIDS]: Make code unconditional.
30656         [!__ASSUME_32BITUIDS]: Remove conditional code.
30657         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30658         <kernel-features.h>.
30659         [__ASSUME_32BITUIDS]: Make code unconditional.
30660         [!__ASSUME_32BITUIDS]: Remove conditional code.
30661         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30662         <kernel-features.h>.
30663         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30664         unconditional.
30665         (__setresgid): Do not declare.
30666         [__ASSUME_32BITUIDS]: Make code unconditional.
30667         [!__ASSUME_32BITUIDS]: Remove conditional code.
30668         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30669         <kernel-features.h>.
30670         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30671         unconditional.
30672         (__setresuid): Do not declare.
30673         [__ASSUME_32BITUIDS]: Make code unconditional.
30674         [!__ASSUME_32BITUIDS]: Remove conditional code.
30675         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30676         <kernel-features.h>.
30677         [__ASSUME_32BITUIDS]: Make code unconditional.
30678         [!__ASSUME_32BITUIDS]: Remove conditional code.
30679         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30680         <kernel-features.h>.
30681         [__ASSUME_32BITUIDS]: Make code unconditional.
30682         [!__ASSUME_32BITUIDS]: Remove conditional code.
30684 2012-05-25  Richard Henderson  <rth@twiddle.net>
30686         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30687         dl_hwcap to ifunc resolver.
30688         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30689         elf_ifunc_invoke.
30690         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30691         dl_hwcap to ifunc resolver.
30692         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30694 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30696         [BZ #14153]
30697         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30698         for |x| <= 2**-26, not 2**-57.
30699         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30700         exception.
30702 2012-05-24  Jeff Law  <law@redhat.com>
30704         * stdio-common/Makefile (tests): Add bug25.
30705         * stdio-common/bug25.c: New test.
30707 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30709         [BZ #13576]
30710         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30711         multiple of MALLOC_ALIGNMENT in size.
30712         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30714 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30716         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30717         Require >= 256.
30718         (FILENAME_MAX): Use macro-int-constant.
30719         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30720         (_IOFBF): Use macro-int-constant.
30721         (_IOLBF): Likewise.
30722         (_IONBF): Likewise.
30723         (SEEK_CUR): Likewise.
30724         (SEEK_END): Likewise.
30725         (SEEK_SET): Likewise.
30726         (TMP_MAX): Likewise.
30727         (EOF): Use macro-int-constant.  Require < 0.
30728         (NULL): Use macro-constant.  Require == 0.
30729         (stdin): Require type to be FILE *.
30730         (stdout): Likewise.
30731         (stderr): Likewise.
30732         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30733         macro-int-constant.
30734         (EXIT_SUCCESS): Likewise.
30735         (NULL): Use macro-constant.  Require == 0.
30736         (RAND_MAX): Use macro-int-constant.
30737         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30738         [C99-based standards] (strtof): Require function.
30739         [C99-based standards] (strtold): Likewise.
30740         [C99-based standards] (strtoll): Likewise.
30741         [C99-based standards] (strtoull): Likewise.
30742         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30743         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30744         [ISO || ISO99 || ISO11] (math.h): Likewise.
30745         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30746         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30747         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30749 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30751         [BZ #14132]
30752         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30753         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30754         * intl/dgettext.c (DCGETTEXT): Likewise.
30755         * intl/gettext.c (DCGETTEXT): Likewise.
30756         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30757         * posix/regex_internal.h (gettext): Likewise.
30758         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30759         Remove declaration.
30760         * include/argz.h (__argz_count_internal)
30761         (__argz_stringify_internal): Remove declaration.
30762         (__argz_count, __argz_stringify): Declare hidden proto.
30763         * intl/dcgettext.c: Remove use of INTDEF.
30764         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30765         * string/argz-stringify.c: Likewise.
30766         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30767         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30768         Declare hidden proto.
30769         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30770         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30771         Declare hidden proto.
30772         * include/stdio.h (__asprintf_internal): Don't declare.
30773         (__asprintf): Don't define as macro.  Declare hidden proto.
30774         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30775         (__fsetlocking): Declare hidden proto.
30776         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30777         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30778         hidden proto.
30779         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30780         (_IO_setlinebuf): Remove use of INTUSE.
30781         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30782         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30783         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30784         Remove declaration.
30785         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30786         (_IO_do_flush): Remove use of INTUSE.
30787         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30788         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30789         (_IO_adjust_column, _IO_least_wmarker)
30790         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30791         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30792         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30793         (_IO_default_doallocate, _IO_wdefault_doallocate)
30794         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30795         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30796         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30797         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30798         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30799         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30800         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30801         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30802         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30803         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30804         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30805         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30806         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30807         proto.
30808         (_IO_flush_all_internal, _IO_adjust_column_internal)
30809         (_IO_default_uflow_internal, _IO_default_finish_internal)
30810         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30811         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30812         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30813         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30814         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30815         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30816         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30817         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30818         (_IO_file_close_internal, _IO_file_close_it_internal)
30819         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30820         (_IO_file_init_internal, _IO_file_attach_internal)
30821         (_IO_file_fopen_internal, _IO_file_read_internal)
30822         (_IO_file_sync_internal, _IO_file_seek_internal)
30823         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30824         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30825         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30826         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30827         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30828         (_IO_list_all_internal, _IO_link_in_internal)
30829         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30830         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30831         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30832         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30833         (_IO_do_write_internal, _IO_padn_internal)
30834         (_IO_getline_info_internal, _IO_getline_internal)
30835         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30836         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30837         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30838         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30839         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30840         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30841         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30842         with libc_hidden_ver, remove use of INTUSE.
30843         * libio/genops.c: Likewise.
30844         * libio/freopen.c: Likewise.
30845         * libio/freopen64.c: Likewise.
30846         * libio/iofclose.c: Likewise.
30847         * libio/iofdopen.c: Likewise.
30848         * libio/iofflush.c: Likewise.
30849         * libio/iofflush_u.c: Likewise.
30850         * libio/iofgets.c: Likewise.
30851         * libio/iofgets_u.c: Likewise.
30852         * libio/iofopen.c: Likewise.
30853         * libio/iofopncook.c: Likewise.
30854         * libio/iofread.c: Likewise.
30855         * libio/iofread_u.c: Likewise.
30856         * libio/ioftell.c: Likewise.
30857         * libio/iofwrite.c: Likewise.
30858         * libio/iogetline.c: Likewise.
30859         * libio/iogets.c: Likewise.
30860         * libio/iogetwline.c: Likewise.
30861         * libio/iopadn.c: Likewise.
30862         * libio/iopopen.c: Likewise.
30863         * libio/ioseekoff.c: Likewise.
30864         * libio/ioseekpos.c: Likewise.
30865         * libio/iosetbuffer.c: Likewise.
30866         * libio/iosetvbuf.c: Likewise.
30867         * libio/ioungetc.c: Likewise.
30868         * libio/ioungetwc.c: Likewise.
30869         * libio/iovdprintf.c: Likewise.
30870         * libio/iovsprintf.c: Likewise.
30871         * libio/iovsscanf.c: Likewise.
30872         * libio/memstream.c: Likewise.
30873         * libio/obprintf.c: Likewise.
30874         * libio/oldfileops.c: Likewise.
30875         * libio/oldiofclose.c: Likewise.
30876         * libio/oldiofdopen.c: Likewise.
30877         * libio/oldiofopen.c: Likewise.
30878         * libio/oldiopopen.c: Likewise.
30879         * libio/oldstdfiles.c: Likewise.
30880         * libio/putc.c: Likewise.
30881         * libio/setbuf.c: Likewise.
30882         * libio/setlinebuf.c: Likewise.
30883         * libio/stdfiles.c: Likewise.
30884         * libio/strops.c: Likewise.
30885         * libio/vasprintf.c: Likewise.
30886         * libio/vscanf.c: Likewise.
30887         * libio/vsnprintf.c: Likewise.
30888         * libio/vswprintf.c: Likewise.
30889         * libio/wfiledoalloc.c: Likewise.
30890         * libio/wfileops.c: Likewise.
30891         * libio/wgenops.c: Likewise.
30892         * libio/wmemstream.c: Likewise.
30893         * libio/wstrops.c: Likewise.
30894         * libio/__fpurge.c: Likewise.
30895         * libio/__fsetlocking.c: Likewise.
30896         * assert/assert.c: Likewise.
30897         * debug/fgets_chk.c: Likewise.
30898         * debug/fgets_u_chk.c: Likewise.
30899         * debug/fread_chk.c: Likewise.
30900         * debug/fread_u_chk.c: Likewise.
30901         * debug/gets_chk.c: Likewise.
30902         * debug/obprintf_chk.c: Likewise.
30903         * debug/vasprintf_chk.c: Likewise.
30904         * debug/vdprintf_chk.c: Likewise.
30905         * debug/vsnprintf_chk.c: Likewise.
30906         * debug/vsprintf_chk.c: Likewise.
30907         * malloc/mtrace.c: Likewise.
30908         * misc/error.c: Likewise.
30909         * misc/syslog.c: Likewise.
30910         * stdio-common/asprintf.c: Likewise.
30911         * stdio-common/fxprintf.c: Likewise.
30912         * stdio-common/getw.c: Likewise.
30913         * stdio-common/isoc99_fscanf.c: Likewise.
30914         * stdio-common/isoc99_scanf.c: Likewise.
30915         * stdio-common/isoc99_vfscanf.c: Likewise.
30916         * stdio-common/isoc99_vscanf.c: Likewise.
30917         * stdio-common/isoc99_vsscanf.c: Likewise.
30918         * stdio-common/printf-prs.c: Likewise.
30919         * stdio-common/printf_fp.c: Likewise.
30920         * stdio-common/printf_fphex.c: Likewise.
30921         * stdio-common/printf_size.c: Likewise.
30922         * stdio-common/putw.c: Likewise.
30923         * stdio-common/scanf.c: Likewise.
30924         * stdio-common/sprintf.c: Likewise.
30925         * stdio-common/tmpfile.c: Likewise.
30926         * stdio-common/vfprintf.c: Likewise.
30927         * stdio-common/vfscanf.c: Likewise.
30928         * stdlib/strfmon_l.c: Likewise.
30929         * sunrpc/openchild.c: Likewise.
30930         * sunrpc/xdr_stdio.c: Likewise.
30931         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30932         * sysdeps/mach/hurd/tmpfile.c: Likewise.
30934 2012-05-24  Roland McGrath  <roland@hack.frob.com>
30936         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30938         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30939         in the third column, to generate for the shared library an IFUNC
30940         that uses _dl_vdso_vsym.
30941         * Makerules (COMPILE.c, compile-stdin.c): New variables.
30942         * Makeconfig (object-suffixes-noshared): New variable.
30944         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30945         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30946         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30947         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30949         [BZ #14132]
30950         * include/sys/time.h (__gettimeofday): Remove macro.
30951         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30952         * time/gettimeofday.c (__gettimeofday): Remove #undef.
30953         Remove INTDEF.
30954         (__gettimeofday): Add libc_hidden_def.
30955         (gettimeofday): Add libc_hidden_weak.
30956         * sysdeps/mach/gettimeofday.c: Likewise.
30957         * sysdeps/posix/gettimeofday.c: Likewise.
30958         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30959         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30960         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30961         (__gettimeofday_internal): Remove strong_alias.
30962         (__gettimeofday): Add libc_hidden_def.
30963         (gettimeofday): Add libc_hidden_weak.
30964         * sysdeps/unix/syscalls.list (gettimeofday):
30965         Remove __gettimeofday_internal alias.
30967 2012-05-24  Daniel Jacobowitz  <drow@false.org>
30968             H.J. Lu  <hongjiu.lu@intel.com>
30970         [BZ #12495]
30971         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30972         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30973         (largebin_index_32_big): New.
30974         (largebin_index): Use it for 16-byte alignment.
30975         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
30976         correction with front_misalign.
30978 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30982         Likewise.
30983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30984         Likewise.
30985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30986         Likewise.
30987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30988         Likewise.
30989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30990         Likewise.
30991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30992         Likewise.
30993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30994         Likewise.
30995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30996         Likewise.
30997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30998         Likewise.
30999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31000         Likewise.
31001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31002         Likewise.
31003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31004         Likewise.
31006         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31007         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31009 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31011         [BZ #10846]
31012         [BZ #14036]
31013         * math/libm-test.inc (exp_test): Add test from bug 14036.
31014         (pow_test): Add test from bug 10846.
31016         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31017         and other flags.
31018         (special_function): Do not include flags in test name.
31019         (parse_args): Likewise.
31020         * sysdeps/i386/fpu/libm-test-ulps: Update.
31021         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31022         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31023         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31026         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31027         exceptions.
31028         * math/libm-test.inc ("Philosophy"): Update comment about
31029         exception testing.
31030         (UNDERFLOW_EXCEPTION): New macro.
31031         (UNDERFLOW_EXCEPTION_OK): Likewise.
31032         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31033         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31034         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31035         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31036         (INVALID_EXCEPTION_OK): Update value.
31037         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31038         (OVERFLOW_EXCEPTION_OK): Likewise.
31039         (IGNORE_ZERO_INF_SIGN): Likewise.
31040         (test_exceptions): Handle underflow exceptions.
31041         (acos_test): Update for underflow exception expectations.
31042         (cexp_test): Likewise.
31043         (clog_test): Likewise.
31044         (clog10_test): Likewise.
31045         (csqrt_test): Likewise.
31046         (ctan_test): Likewise.
31047         (ctanh_test): Likewise.
31048         (exp_test): Likewise.
31049         (exp10_test): Likewise.
31050         (exp2_test): Likewise.
31051         (expm1_test): Likewise.
31052         (fma_test): Likewise.
31053         (j0_test): Likewise.
31054         (jn_test): Likewise.
31055         (nexttoward_test): Likewise.
31056         (pow_test): Likewise.
31057         (scalbn_test): Likewise.
31058         (scalbln_test): Likewise.
31059         (tan_test): Likewise.
31060         (y1_test): Likewise.
31061         * sysdeps/i386/fpu/libm-test-ulps: Update.
31062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31064 2012-05-23  David S. Miller  <davem@davemloft.net>
31066         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31067         (__libc_sigaction): Remove unused local variables.
31069 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31071         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31073 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31075         mktime: avoid signed integer overflow
31076         * time/mktime.c (__mktime_internal): Do not mishandle the case
31077         where diff == INT_MIN.
31079         mktime: simplify computation of average
31080         * time/mktime.c (ranged_convert): Use new time_t_avg function
31081         instead of rolling our own (probably-slower) code.
31083         mktime: do not assume signed right shift propagates sign bit
31084         * time/mktime.c (isdst_differ): New static function.
31085         (__mktime_internal): No need to normalize tm_isdst now.
31086         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31087         tm_isdst values.
31089         mktime: merge another wrapv change from gnulib
31090         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31091         from some compilers.
31093         mktime: remove incorrect attempt at unusual arithmetics
31094         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31095         The code didn't really work on such machines anyway.
31096         (TYPE_MINIMUM): Assume two's complement.
31097         (twos_complement_arithmetic): Verify that long_int and time_t
31098         are two's complement (or unsigned, in the latter case).
31100         mktime: check signed shifts on long_int and time_t, too
31101         * time/mktime.c (SHR): Check that shifts work as desired
31102         on the types long_int and time_t too, as SHR is used on
31103         such types.
31105         mktime: do not assume 'long' is wide enough
31106         * time/mktime.c (verify): Move decl up.
31107         (long_int): New type.
31108         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31109         to remove assumption in the code that 'long' is wide enough to
31110         store year values.  This assumption is not true on x32 and on
31111         some non-glibc platforms.
31113         mktime: merge wrapv change from gnulib
31114         * time/mktime.c (WRAPV): New macro.
31115         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31116         (guess_time_tm, __mktime_internal): Do not assume that signed
31117         integer overflow wraps around; modern compilers generate code
31118         where this assumption is no longer valid.
31120 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31122         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31123         Replace "jmp L(pseudo_end)" with "ret".
31124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31125         Likewise.
31127 2012-05-23  Andreas Jaeger  <aj@suse.de>
31129         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31130         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31132 2012-05-23  Andreas Jaeger  <aj@suse.de>
31133             Maximilian Attems  <max@stro.at>
31135         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31136         New macros.
31138 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31140         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31141         code so that pseudo_end is just ret and the stack pointer is
31142         correct also for static library in error case.
31144 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31146         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31147         move to syscalls.list.
31148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31153         * manual/install.texi (Running make install): Do not mention Linux
31154         kernel version for which pt_chown is not needed.
31155         (Linux): Do not mention problems with nscd with 2.0 kernels.
31156         * INSTALL: Regenerated.
31158 2012-05-23  Andreas Jaeger  <aj@suse.de>
31160         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31161         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31162         macro.
31163         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31164         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31165         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31166         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31167         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31168         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31169         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31170         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31171         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31172         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31173         * sysdeps/unix/sysv/linux/bits/in.h
31174         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31176 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31178         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31179         (PREPARE_VERSION): Just use assert instead, it will be elided
31180         under [NDEBUG] anyway.
31182 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31184         * sysdeps/unix/sysv/linux/Makefile: Include
31185         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31186         (sysdep_routines): Remove sysctl.
31187         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31188         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31189         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31190         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31191         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31193 2012-05-22  Andreas Jaeger  <aj@suse.de>
31195         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31196         that pseudo_end is just ret and the stack pointer is correct also
31197         for static library in error case.
31199 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31201         [BZ #14122]
31202         * nss/nsswitch.c (defconfig_entries): New variable.
31203         (__nss_database_lookup): Don't leak defconfig entries.
31204         (nss_parse_service_list): Don't leak on error paths.
31205         (free_database_entries): New function.
31206         (free_defconfig): New function.
31207         (free_mem): Move common code to free_database_entries.
31209 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31211         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31212         Add arch_prctl.
31213         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31215         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31216         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31218         New macro.
31219         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31220         (INTERNAL_SYSCALL_TYPES): Likewise.
31221         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31222         (LOAD_REGS_TYPES_[1-6]): Likewise.
31223         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31224         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31226 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31228         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31229         copysignl for GLIBC_2_0.
31230         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31231         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31232         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31233         logbl for GLIBC_2_0.
31234         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31235         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31237 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31239         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31240         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31242         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31243         Use "neg %eax".
31245         * time/mktime.c: Update copyright years.
31247 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31249         mktime: merge comment-quoting-style change from gnulib
31250         * time/mktime.c: Quote 'like this' in comments.
31251         The GNU coding standards suggest that we no longer quote `like this',
31252         as "`" and "'" are typically rendered asymmetrically nowadays.
31253         The typical gnulib style is to quote 'like this' when quoting
31254         code, and "like this" when quoting English.
31256         * time/mktime.c (compile-command): Add "-I.".
31258         mktime: merge mktime-internal.h change from gnulib
31259         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31261         mktime: merge time_r change from gnulib
31262         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31264         mktime: merge DEBUG change from gnulib
31265         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31266         case system <time.h> has a #define.
31268         mktime: merge <sys/types.h> change from gnulib
31269         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31270         since <time.t> is now guaranteed to define time_t.
31272         mktime: merge HAVE_CONFIG_H change from gnulib
31273         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31275 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31278         Use "neg %eax".
31280         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31281         __rlim_t cast.
31282         (struct rusage): Use anonymous union to pad each field to
31283         __syscall_slong_t.
31285 2012-05-21  David S. Miller  <davem@davemloft.net>
31287         * Makefules (o-iterator): Remove .s cases.
31288         (compile-command.s): Delete.
31289         (COMPILE.s): Delete.
31290         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31292 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31294         * configure.in (libc_cv_predef_stack_protector): Only consider
31295         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31296         * configure: Regenerated.
31298 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31301         New macro.  Use R*LP on int and pointer.
31302         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31303         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31304         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31305         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31307         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31308         [__WORDSIZE_TIME64_COMPAT32] instead of
31309         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31310         (struct utmp): Likewise.
31311         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31312         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31313         Renamed to ...
31314         (__WORDSIZE_TIME64_COMPAT32): This.
31315         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31316         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31317         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31318         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31319         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31320         (__WORDSIZE_TIME64_COMPAT32): New macro.
31322 2012-05-21  Andreas Jaeger  <aj@suse.de>
31324         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31325         only if [SHARED]. Add prototype for __wcschr_ia32.
31327 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31329         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31330         of %rbp unmolested in the jmp_buf while mangling the low bits.
31331         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31332         unmolested high bits of %rbp while demangling the low bits.
31333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31335 2012-05-21  Andreas Jaeger  <aj@suse.de>
31337         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31338         * sunrpc/svc_simple.c: Use it for registerrpc.
31339         * sunrpc/xcrypt.c: Use it for passwd2des.
31341         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31343 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31345         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31346         Don't define if [__SYSCALL_WORDSIZE != 32].
31347         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31348         New macro.
31350 2012-05-21  Bruno Haible  <bruno@clisp.org>
31351             Andreas Jaeger  <aj@suse.de>
31353         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31354         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31355         inptr and inend for must_buffer_ch.
31356         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31357         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31358         * stdio-common/Makefile (tests): Remove bug15.
31359         (bug15-ENV): Remove macro.
31360         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31361         anymore.
31363 2012-05-19  Andreas Jaeger  <aj@suse.de>
31364             Roland McGrath  <roland@hack.frob.com>
31366         * manual/contrib.texi: Completely rewritten. It contains now an
31367         alphabetical list of contributors and their contributions.
31369 2012-05-21  Richard Henderson  <rth@twiddle.net>
31371         * misc/getauxval.c (__getauxval): Use unsigned long int.
31372         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31373         (getauxval): Use unsigned long int.
31375 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31377         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31379 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31381         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31382         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31383         __alignof__ (long double).
31385 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31389 2012-05-20  Richard Henderson  <rth@twiddle.net>
31391         * misc/getauxval.c: New file.
31392         * misc/sys/auxv.h: New file.
31393         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31394         (routines): Add getauxval.
31395         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31396         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31397         * elf/dl-sysdep.c (_dl_auxv): Remove.
31398         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31399         * elf/dl-support.c (_dl_auxv): New variable.
31400         (_dl_aux_init): Initialize it.
31401         * manual/startup.texi (Auxiliary Vector): New node.
31402         * sysdeps/generic/bits/hwcap.h: New file.
31403         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31404         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31405         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31406         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31407         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31408         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31410         Update.
31411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31414         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31420 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31424 2012-05-19  David S. Miller  <davem@davemloft.net>
31426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31428 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31430         [BZ #14123]
31431         * math/s_ccosh.c: Include <float.h>
31432         (__ccosh): Avoid internal overflow calculating sinh and cosh
31433         values before multiplying by sin and cos values.
31434         * math/s_ccoshf.c: Likewise.
31435         * math/s_ccoshl.c: Likewise.
31436         * math/s_csin.c: Likewise.
31437         * math/s_csinf.c: Likewise.
31438         * math/s_csinl.c: Likewise.
31439         * math/s_csinh.c: Likewise.
31440         * math/s_csinhf.c: Likewise.
31441         * math/s_csinhl.c: Likewise.
31442         * math/libm-test.inc (ccos_test): Add more tests.
31443         (ccosh_test): Likewise.
31444         (csin_test): Likewise.
31445         (csinh_test): Likewise.
31446         * sysdeps/i386/fpu/libm-test-ulps: Update.
31447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31449 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31451         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31452         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31454         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31456 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31458         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31459         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31460         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31461         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31462         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31463         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31464         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31465         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31466         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31467         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31468         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31469         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31470         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31471         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31472         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31473         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31474         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31475         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31476         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31477         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31478         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31479         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31480         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31481         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31482         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31483         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31484         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31485         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31486         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31487         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31488         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31490 2012-05-18  Andreas Jaeger  <aj@suse.de>
31492         * csu/.gitignore: Delete.
31494 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31496         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31497         (timex): Use __syscall_slong_t.
31499 2012-05-18  Andreas Jaeger  <aj@suse.de>
31500             Carlos O'Donell  <carlos_odonell@mentor.com>
31502         * manual/install.texi (Configuring and compiling): Update
31503         description about files modified in the source directory.
31504         * INSTALL: Regenerated.
31506 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31508         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31509         value.  Use "or" to set return value to -1.
31510         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31511         negate return value.
31513 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31515         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31516         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31517         failure if the compiler has Graphite support disabled.
31518         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31519         Likewise.
31520         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31521         (CFLAGS-memmove.c): Likewise.
31522         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31523         Likewise.
31525 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31527         * sysdeps/x86_64/x32/_itoa.h: New file.
31529         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31530         getdents system call only if kernel and user dirents have the
31531         same d_ino and d_off.
31533         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31534         LLONG_MAX != LONG_MAX.
31535         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31536         (_fitoa_word): Likewise.
31538         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31539         years.
31540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31541         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31542         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31544         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31545         include <bits/wordsize.h>.  Check __x86_64__ instead of
31546         __WORDSIZE.
31547         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31548         if __x86_64__ is defined.  Use anonymous union on fpstate.
31550         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31551         anonymous union.
31553 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31555         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31556         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31557         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31558         Refer to _rtld_local_ro instead of _rtld_global_ro.
31559         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31560         Likewise.
31561         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31562         Likewise.
31563         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31564         Likewise.
31565         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31566         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31567         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31569         * sysdeps/powerpc/powerpc32/dl-machine.c
31570         (__elf_machine_runtime_setup) [PROF]: Don't reference
31571         _dl_prof_resolve.
31573 2012-05-18  Andreas Jaeger  <aj@suse.de>
31575         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31576         function only available for GCCs before 3.4 since GCC 3.4
31577         introduced a builtin.
31578         (lrint): Likewise.
31579         (llrintf): Likewise.
31580         (llrint): Likewise.
31581         (fmaxf): Likewise.
31582         (fmax): Likewise.
31583         (fminf): Likewise.
31584         (fmin): Likewise.
31585         (rint): Likewise.
31586         (rintf): Likewise.
31587         (nearbyint): Likewise.
31588         (nearbyintf): Likewise.
31589         (ceil): Likewise.
31590         (ceilf): Likewise.
31591         (floor): Likewise.
31592         (floorf): Likewise.
31594 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31596         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31597         on both fields and cast pointer to __syscall_ulong_t.
31599         * bits/types.h (__fsword_t): New type.
31600         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31601         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31603         (__FSWORD_T_TYPE): Likewise.
31604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31605         (__FSWORD_T_TYPE): Likewise.
31606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31607         (__FSWORD_T_TYPE): Likewise.
31608         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31609         (__FSWORD_T_TYPE): Likewise.
31610         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31611         __SWORD_TYPE with __fsword_t.
31612         (statfs64): Likewise.
31614 2012-05-17  David S. Miller  <davem@davemloft.net>
31616         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31618 2012-05-17  Andreas Jaeger  <aj@suse.de>
31620         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31621         warning.
31623 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31625         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31627 2012-05-17  Andreas Jaeger  <aj@suse.de>
31629         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31630         when it is used.
31632 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31634         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31636 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31638         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31639         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31641 2012-05-17  Andreas Jaeger  <aj@suse.de>
31642             Carlos O'Donell  <carlos_odonell@mentor.com>
31644         [BZ #14059]
31645         * sysdeps/x86_64/multiarch/init-arch.h
31646         (bit_YMM_Usable): Rename to...
31647         (bit_AVX_Usable): ... this.
31648         (bit_FMA4_Usable): New macro.
31649         (bit_XMM_state): New macro.
31650         (bit_YMM_state): New macro.
31651         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31652         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31653         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31654         (CPUID_OSXSAVE): New macro.
31655         (CPUID_AVX): New macro.
31656         (CPUID_FMA4): New macro.
31657         (index_YMM_Usable): Rename to...
31658         (index_AVX_Usable): ... this.
31659         (HAS_AVX): Use HAS_ARCH_FEATURE.
31660         (HAS_FMA4): Likewise.
31661         (HAS_YMM_USABLE): Remove.
31662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31663         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31664         are present.
31665         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31666         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31667         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31668         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31669         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31671 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31673         * math/libm-test.c: Support platforms without multiple rounding modes.
31674         * math/bug-nextafter.c: Support platforms without FP exceptions.
31675         * math/bug-nexttoward.c: Likewise.
31676         * math/test-fenv.c: Likewise.
31677         * math/test-misc.c: Likewise.
31678         * stdlib/bug-getcontext.c: Likewise.
31680 2012-05-17  Andreas Jaeger  <aj@suse.de>
31682         * manual/examples/search.c (critter_cmp): Change signature to
31683         avoid warnings.
31684         * manual/string.texi (Collation Functions): Likewise.
31686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31688         * bits/types.h: Fold copyright years.
31689         * bits/typesizes.h: Likewise.
31690         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31692         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31694         * time/time.h: Likewise.
31696 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31698         [BZ #208]
31699         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31700         in instead of returning them.  Return void.
31701         (__libc_mallinfo): Accumulate over all arenas.
31702         (__malloc_stats): Adjust for change in int_mallinfo interface.
31704 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31706         [BZ #10375]
31707         * configure.in (NM): Add AC_CHECK_TOOL for it.
31708         (libc_extra_cflags): New substituted variable.
31709         Check for -fstack-protector being used implicitly.
31710         * configure: Regenerated.
31711         * config.make.in (config-extra-cflags): New variable,
31712         gets @libc_extra_cflags@.
31713         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31715         [BZ #10375]
31716         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31717         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31718         * configure: Regenerated.
31719         * config.make.in (CPPUNDEFS): New substituted variable.
31720         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31721         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31722         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31724 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31726         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31727         (mq_attr): Use __syscall_slong_t.
31729 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31731         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31732         Check __x86_64__ instead of __WORDSIZE.
31733         (_STAT_VER_LINUX): Likewise.
31734         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31735         __syscall_ulong_t and __syscall_slong_t.
31736         (stat64): Likewise.
31738 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31740         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31742 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31744         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31746 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31748         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31749         __syscall_ulong_t.
31751         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31752         include <bits/wordsize.h>.  Check __x86_64__ instead of
31753         __WORDSIZE.
31754         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31755         defined.
31756         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31758         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31759         include <bits/wordsize.h>.  Check __x86_64__ instead of
31760         __WORDSIZE.
31761         (user_regs_struct): Use "__extension__ unsigned long long"
31762         instead of "unsigned long" if __x86_64__ is defined.
31763         (user): Likewise.  Pad after pointer field if __ILP32__ is
31764         defined.
31766 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31768         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31769         versions 5 to 9.
31770         * configure: Regenerated.
31771         * manual/install.texi (texinfo): Increase version requirement to
31772         4.5 or later.
31773         * INSTALL: Regenerated.
31775         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31777 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31779         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31781         * sysdeps/x86_64/x32/ffs.c: New file.
31783         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31784         __syscall_ulong_t.
31785         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31786         defined.  Use __syscall_ulong_t.
31787         (shminfo): Use __syscall_ulong_t.
31788         (shm_info): Likewise.
31790         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31791         __syscall_ulong_t.
31793         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31794         <bits/wordsize.h>.
31795         (msgqnum_t): Use __syscall_ulong_t.
31796         (msglen_t): Likewise.
31797         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31798         __syscall_ulong_t.
31800         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31801         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31803         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31805         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31806         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31808         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31809         __syscall_slong_t.
31811         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31812         include <bits/wordsize.h>.  Check __x86_64__ instead of
31813         __WORDSIZE.
31815         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31816         "unsigned long long int" if __x86_64__ is defined.
31817         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31819         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31820         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31821         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31823         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31824         <stdint.h>.
31825         (GET_PC): Cast to uintptr_t first.
31826         (GET_FRAME): Likewise.
31827         (GET_STACK): Likewise.
31829         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31830         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31831         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31832         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31833         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31834         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31835         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31836         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31837         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31838         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31839         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31840         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31841         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31842         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31843         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31844         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31845         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31846         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31847         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31848         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31849         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31850         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31851         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31852         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31853         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31854         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31855         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31856         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31857         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31859 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31861         * Makerules (+depfiles): Also collect depfiles from .oS in
31862         $(extra-objs).
31863         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31864         .oS, $(libnldbl-routines)).
31866         * Makerules (native-compile-mkdep-flags): Define.
31867         * sunrpc/Makefile (extra-objs): Add $(addprefix
31868         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31869         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31870         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31871         calling $(make-target-directory).
31873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31875         * bits/types.h (__snseconds_t): Removed.
31876         * time/time.h (struct timespec): Replace __snseconds_t with
31877         __syscall_slong_t.
31878         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31879         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31880         Likewise.
31881         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31882         (__SNSECONDS_T_TYPE): Likewise.
31883         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31884         (__SNSECONDS_T_TYPE): Likewise.
31885         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31886         (__SNSECONDS_T_TYPE): Likewise.
31888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31890         * sysdeps/mach/hurd/bits/typesizes.h
31891         (__SYSCALL_SLONG_TYPE): New macro.
31892         (__SYSCALL_ULONG_TYPE): Likewise.
31894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31896         * bits/types.h (__syscall_slong_t): New type.
31897         (__syscall_ulong_t): Likewise.
31899         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31900         (__SYSCALL_ULONG_TYPE): Likewise.
31901         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31902         (__SYSCALL_SLONG_TYPE): Likewise.
31903         (__SYSCALL_ULONG_TYPE): Likewise.
31904         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31905         (__SYSCALL_SLONG_TYPE): Likewise.
31906         (__SYSCALL_ULONG_TYPE): Likewise.
31907         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31908         (__SYSCALL_SLONG_TYPE): Likewise.
31909         (__SYSCALL_ULONG_TYPE): Likewise.
31911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31913         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31914         Add sigaltstack-offsets.sym.
31915         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31916         <sigaltstack-offsets.h>.
31917         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31918         longjmp_msg pointer.
31919         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31920         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31921         signal stack.
31922         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31924 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31926         * elf/stackguard-macros.h: Remove file.
31927         * sysdeps/generic/stackguard-macros.h: New file.
31928         * sysdeps/i386/stackguard-macros.h: Likewise.
31929         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31930         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31931         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31932         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31933         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31934         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31935         * sysdeps/x86_64/stackguard-macros.h: Likewise.
31936         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31937         <elf/stackguard-macros.h>.
31939         [BZ #14109]
31940         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31941         __aligned__ in attribute.
31942         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31943         (gregset_t): Likewise.
31945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31947         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31948         * sysdeps/x86_64/64/Implies-after: Here.  New file.
31949         * sysdeps/x86_64/x32/Implies-after: New file.
31951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31953         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31954         and access return value for _dl_profile_fixup.  Use R10_LP to
31955         load frame size.
31957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31959         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31963         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31964         * sysdeps/x86_64/x32/sysdep.h: New file.
31966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31968         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31969         * sysdeps/x86_64/setjmp.S: Likewise.
31971 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31973         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31974         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31975         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31976         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31977         remove unused global constant.
31979 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
31981         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31982         include of <not-cancel.h>.
31984 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31986         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31988 2012-05-15  Jeff Law  <law@redhat.com>
31989             Andreas Jaeger  <aj@suse.de>
31991         [BZ #13594]
31992         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31993         out from...
31994         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31995         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31996         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31997         code changing __hst_map_handle.map.
31999 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32001         * configure.in (sysnames): Look for Implies-before and Implies-after
32002         files.
32003         * configure: Regenerated.
32005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32007         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32008         8-byte data alignment with LP_SIZE alignment.
32010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32012         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32013         into R10_LP.
32015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32017         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32021         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32022         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32023         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32024         Likewise.
32025         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32029         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32030         (stackinfo_sub_sp): Likewise.
32032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32034         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32035         RAX_LP.
32037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32039         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32040         into R*_LP.
32042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32044         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32045         sizes into R*_LP.
32047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32049         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32053         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32054         into R11_LP and load __x86_64_shared_cache_size_half into
32055         R8_LP.
32057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32059         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32060         R8_LP.
32062 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32065         logb for POWER7.
32066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32067         logbf for POWER7.
32068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32069         logbl for POWER7.
32070         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32071         powerpc32/power7/fpu/s_logb.c via #include.
32072         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32073         powerpc32/power7/fpu/s_logbf.c via #include.
32074         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32075         powerpc32/power7/fpu/s_logbl.c via #include.
32077 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32079         * README.libm: Remove file.
32081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32083         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32084         count for x32.  Use R*_LP and omit operand-size suffix.
32086 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32088         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32089         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32090         * sysdeps/x86_64/x32/shlib-versions: New file.
32092 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32094         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32095         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32096         Use _dl_fatal_printf instead.
32098 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32100         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32101         set if not set by the user.  Do not allow for being unset.
32102         * sysdeps/unix/sysv/linux/configure: Regenerated.
32104 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32106         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32107         the `q' suffix from lea and replace .quad with ASM_ADDR.
32109 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32112         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32113         instead of $17.
32114         (PTR_DEMANGLE): Likewise.
32116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32118         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32119         (LP_OP): Likewise.
32120         (ASM_ADDR): Likewise.
32121         (RAX_LP): Likewise.
32122         (RBP_LP): Likewise.
32123         (RBX_LP): Likewise.
32124         (RCX_LP): Likewise.
32125         (RDI_LP): Likewise.
32126         (RSI_LP): Likewise.
32127         (RSP_LP): Likewise.
32128         (R8_LP): Likewise.
32129         (R9_LP): Likewise.
32130         (R10_LP): Likewise.
32131         (R10_LP): Likewise.
32132         (R11_LP): Likewise.
32133         (R12_LP): Likewise.
32134         (R13_LP): Likewise.
32135         (R14_LP): Likewise.
32136         (R15_LP): Likewise.
32138 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32140         * sysdeps/x86_64/x32/dl-machine.h: New file.
32142 2012-05-14  Andreas Jaeger  <aj@suse.de>
32144         * manual/Makefile (subdir): Remove export of subdir.
32145         (all): Remove target.
32146         (.PHONY): Remove all from list.
32147         (mkinstalldirs): Remove.
32148         (.PHONY): Remove installdirs from list.
32149         ($(inst_infodir)/libc.info): Use make-target-directory.
32150         (installdirs): Remove.
32151         (subdir_%): Remove.
32152         (glibc-targets): Remove.
32153         (lib): Remove.
32154         (stubs): Remove.
32155         ($(objpfx)stubs ../po/manual.pot): Remove.
32156         ($(objpfx)stamp%): Remove.
32157         (make-target-directory): Remove.
32158         (subdir_install): Remove.
32159         (routines): Remove.
32160         (aux): Remove.
32161         (sources): Remove.
32162         (objects): Remove.
32163         (headers): Remove.
32165         [BZ #13750]
32166         * manual/.gitignore: Remove, it's not needed anymore.
32167         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32168         all files in it.
32169         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32170         directory.
32171         (texis): Renamed to $(objpfx)texis.
32172         (texis-path): New, contains path to generated files.
32173         (chapters.%): Use texis-path for complete path, add extra argument
32174         libc-texinfo.sh.
32175         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32176         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32177         (summary,texi, stamp-summary): Use complete path of
32178         files. Generate files in build dir.
32179         (dir-add.texi): Build in build dir.
32180         (libm-err.texi,stamp-libm-err): Likewise.
32181         (version.texi, stamp-version): Likewise.
32182         (.%c.texi): Likewise.
32183         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32184         (mostlyclean): Remove target.
32185         (realclean): Remove target.
32186         (generated): Add new variable with contents from mostlyclean and
32187         realclean, remove entries duplicated in common-mostlyclean, add
32188         stamp-libm-err and stamp-version.
32189         (generated-dirs): Add libc directory.
32190         ($(inst_infodir)/libc.info): Install files from build dir.
32192         * manual/install.texi (Configuring and compiling): Adjust since
32193         the info files are not part of the tar ball anymore.
32195 2012-05-14  Andreas Jaeger  <aj@suse.de>
32197         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32198         variable.
32200 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32202         [BZ #13717]
32203         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32204         to 2.2.0 where earlier.
32205         * sysdeps/unix/sysv/linux/configure: Regenerated.
32206         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32207         Remove conditional code.
32208         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32209         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32210         Remove conditional code.
32211         [!__NR_lchown]: Likewise.
32212         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32213         [__NR_lchown]: Likewise.
32214         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32215         comment referencing __ASSUME_LCHOWN_SYSCALL.
32216         * sysdeps/unix/sysv/linux/i386/sigaction.c
32217         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32218         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32219         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32220         Remove conditional code.
32221         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32222         (__protocol_available): Remove #if 0 code.
32223         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32224         conditional code.
32225         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32226         * sysdeps/unix/sysv/linux/kernel-features.h
32227         (__ASSUME_GETCWD_SYSCALL): Don't define.
32228         (__ASSUME_REALTIME_SIGNALS): Likewise.
32229         (__ASSUME_PREAD_SYSCALL): Likewise.
32230         (__ASSUME_PWRITE_SYSCALL): Likewise.
32231         (__ASSUME_POLL_SYSCALL): Likewise.
32232         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32233         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32234         non-SPARC.
32235         (__ASSUME_SIOCGIFNAME): Don't define.
32236         (__ASSUME_MSG_NOSIGNAL): Likewise.
32237         (__ASSUME_SENDFILE): Define unconditionally.
32238         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32239         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32240         conditional code.
32241         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32242         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32243         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32244         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32245         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32246         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32247         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32249         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32250         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32252         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32253         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32255         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32258         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32259         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32261         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32262         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32264         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32265         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32267         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32268         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32270         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32271         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32272         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32273         Remove conditional code.
32274         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32275         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32276         Remove conditional code.
32277         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32278         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32279         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32280         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32281         Remove conditional code.
32282         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32283         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32284         Remove conditional code.
32285         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32286         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32287         Remove conditional code.
32288         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32289         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32290         Remove conditional code.
32291         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32292         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32293         Remove conditional code.
32294         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32295         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32296         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32297         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32298         * sysdeps/unix/sysv/linux/sigaction.c
32299         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32300         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32301         * sysdeps/unix/sysv/linux/sigpending.c
32302         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32303         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32304         * sysdeps/unix/sysv/linux/sigprocmask.c
32305         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32306         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32307         * sysdeps/unix/sysv/linux/sigsuspend.c
32308         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32309         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32310         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32311         (__libc_missing_rt_sigs): Remove.
32312         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32313         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32314         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32315         Remove conditional code.
32316         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32317         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32318         return 1.
32319         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32320         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32321         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32322         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32324 2012-05-14  Andreas Jaeger  <aj@suse.de>
32326         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32327         it's not used in glibc.
32328         (__coshm1): Likewise.
32329         (__acosh1p): Likewise.
32330         (__sgn): Likewise.
32332         * manual/string.texi (Copying and Concatenation): Add missing
32333         variable in concat example.
32334         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32338         [BZ #14103]
32339         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32340         __builtin_clzl with __builtin_clzll.
32342 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32344         [BZ #14104]
32345         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32346         libc_freeres_ptr.
32348 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32350         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32351         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32352         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32353         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32355 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32357         * NEWS: Update ia64 info.
32359 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32361         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32362         used as bcopy.
32364 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32366         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32367         * sysdeps/unix/syscalls.list (dup3): Likewise.
32368         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32369         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32371 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32373         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32374         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32376 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32378         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32379         thread pointer.
32380         (TLS_IE): Use mov/add instead of movq/addq to load thread
32381         pointer.
32382         (TLS_GD_PREFIX): New.
32383         (TLS_GD): Use it.
32385 2012-05-11  David S. Miller  <davem@davemloft.net>
32387         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32388         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32389         (_FPU_SETCW): Likewise.
32391 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32393         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32394         is 32-byte aligned.
32396 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32398         [BZ #11837]
32399         * iconvdata/gb18030.c: Update tables.
32400         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32401         characters specially.
32402         (BODY for TO_LOOP): Add encoding of missing ranges.
32404 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32406         [BZ #13673]
32407         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32408         * sysdeps/mach/hurd/dup3.c: Likewise.
32409         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32410         * sysdeps/powerpc/memmove.c:: Likewise.
32412 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32414         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32415         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32417 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32419         * elf/elf.h (R_X86_64_RELATIVE64): New.
32420         (R_X86_64_NUM): Updated.
32421         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32422         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32423         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32424         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32425         tst-quad1pie tst-quad2pie
32426         (modules-names): Add tst-quadmod1 tst-quadmod2.
32427         ($(objpfx)tst-quad1): New dependency.
32428         ($(objpfx)tst-quad2): Likewise.
32429         ($(objpfx)tst-quad1pie): Likewise.
32430         ($(objpfx)tst-quad2pie): Likewise.
32431         * sysdeps/x86_64/tst-quad1.c: New file.
32432         * sysdeps/x86_64/tst-quad1pie.c: New file.
32433         * sysdeps/x86_64/tst-quad2.c: Likewise.
32434         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32435         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32436         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32437         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32438         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32440 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32442         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32443         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32444         * streams/stropts.h (t_scalar_t): Define type.
32446         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32447         (_PATH_PRESERVE): Set to "/var/lib".
32448         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32450         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32451         instead of int.
32453         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32454         if __dir_mkfile succeeded.
32456         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32457         checking for _hurd_dtablesize.  Unlock it right after having
32458         finished _hurd_dtable allocation.
32460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32462         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32463         * sysdeps/mach/hurd/configure: Regenerated.
32464         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32465         special-casing to...
32466         * sysdeps/gnu/configure.in: ... this new file.
32467         * sysdeps/unix/sysv/linux/configure: Regenerated.
32468         * sysdeps/gnu/configure: New generated file.
32470         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32471         for Linux: use nsec instead of usec, as well as:
32472         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32473         members of type struct timespec.
32474         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32475         New macros.
32476         (struct stat64): Likewise.
32477         (_STATBUF_ST_NSEC): New macro.
32478         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32480         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32481         __strtoul_internal rather than strtoul.
32483 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32485         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32486         and reject them.
32488 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32490         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32491         which preserves existing values.
32492         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32494 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32496         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32497         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32498         greater than FD_SETSIZE.
32500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32502         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32503         allocated, call __vm_protect to finish enabling the existing space, and
32504         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32505         allocate the remainder.
32507 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32509         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32510         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32514         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32515         sysdeps/mach/hurd/readlink.c.
32517         * posix/tst-sysconf.c (posix_options): Only use
32518         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32519         _POSIX_SYNCHRONIZED_IO when they are defined
32520         * sysdeps/mach/hurd/bits/posix_opt.h:
32521         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32522         (_XOPEN_REALTIME): Undefine macro.
32523         (_XOPEN_REALTIME_THREADS): Undefine macro.
32524         (_XOPEN_SHM): Undefine macro.
32525         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32526         macro to -1.
32527         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32528         macro to -1.
32529         (_POSIX_ASYNC_IO): Undefine macro.
32530         (_POSIX_PRIORITIZED_IO): Undefine macro.
32531         (_POSIX_SPIN_LOCKS): Define macro to -1.
32533         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32534         SA_NODEFER, SA_RESETHAND.
32535         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32536         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32537         F_DUPFD_CLOEXEC.
32539 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32541         * elf/Makefile (pldd-modules): Define unconditionally.
32543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32545         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32549         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32550         Return ENOENT when name is empty.
32551         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32553 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32555         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32557         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32561         Fix mlock in all cases except non-readable pages.
32562         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32563         instead of VM_PROT_ALL as parameter to __vm_wire function.
32565         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32566         (__mkdir): When path is `/', just fail with EEXIST.
32567         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32571         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32572         <sys/uio.h> (for writev).
32573         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32574         and <sys/param.h> (for MIN).
32576 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32578         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32579         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32580         if interrupted.
32582 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32584         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32585         Depend on against $(link-rpcuserlibs).
32587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32589         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32590         (__libc_stack_end): Do not use attribute_relro.
32591         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32592         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32593         to libthread-provided value.
32594         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32595         attribute_relro.
32597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32599         [BZ #3748]
32600         * bits/libc-lock.h (__libc_once_get): New macro.
32601         * sysdeps/mach/bits/libc-lock.h: Likewise.
32602         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32603         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32604         instead of using implementation details.
32606         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32607         * libio/freopen.c: Likewise.
32608         * libio/freopen64.c: Likewise.
32609         * misc/syslog.c: Likewise.
32610         * nscd/connections.c: Likewise.
32611         * nscd/netgroupcache.c: Likewise.
32612         * sysdeps/posix/getcwd.c: Likewise.
32614 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32616         * math/w_ilogbf.c: Add #include <limits.h>.
32618 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32620         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32621         path instead of returning without unlocking.
32623         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32624         immediate-write ioctls.
32625         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32627 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32629         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32630         __builtin_frame_address instead of making assumptions about the
32631         location of the return address relative to DATA.  Force early load of
32632         the return address.
32633         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32634         __builtin_frame_address.
32636         dup3 for GNU Hurd.
32637         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32638         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32639         implement dup3 and do some further code clean-ups.
32640         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32641         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32645         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32647         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32648         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32649         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32650         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32651         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32652         d->port.lock.
32654         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32655         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32656         when handler == SIG_ERR, not when handler != SIG_ERR.
32658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32660         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32661         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32662         definitions.
32664         accept4 for GNU Hurd.
32665         * include/sys/socket.h (__libc_accept4): New prototype.
32666         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32667         to implement __libc_accept4.
32668         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32669         __libc_accept4.
32670         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32672         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32673         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32674         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32675         signal-defines.sym.
32677 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32679         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32683         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32684         assertion on O_CLOEXEC flag.
32685         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32686         * hurd/intern-fd.c: Likewise.
32687         * hurd/port2fd.c: Likewise.
32689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32691         [BZ #3906]
32692         * bits/in.h (IPV6_PKTINFO): Define new macro.
32693         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32695 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32697         [BZ #13954]
32698         [BZ #13955]
32699         [BZ #13956]
32700         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32701         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32702         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32703         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32705         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32706         * math/libm-test.inc (logb_test) : Additional logb tests.
32708 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32709             Andreas Jaeger  <aj@suse.de>
32711         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32712         * configure: Regenerated.
32713         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32714         * config.make.in (link-obsolete-rpc): New substituted variable.
32715         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32716         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32717         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32718         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32719         so that libc.a contains the symbols.
32720         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32721         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32722         * sunrpc/auth_none.c: Likewise.
32723         * sunrpc/auth_unix.c: Likewise.
32724         * sunrpc/authdes_prot.c: Likewise.
32725         * sunrpc/authuxprot.c: Likewise.
32726         * sunrpc/clnt_gen.c: Likewise.
32727         * sunrpc/clnt_perr.c: Likewise.
32728         * sunrpc/clnt_raw.c: Likewise.
32729         * sunrpc/clnt_simp.c: Likewise.
32730         * sunrpc/clnt_tcp.c: Likewise.
32731         * sunrpc/clnt_udp.c: Likewise.
32732         * sunrpc/clnt_unix.c: Likewise.
32733         * sunrpc/des_crypt.c: Likewise.
32734         * sunrpc/des_soft.c: Likewise.
32735         * sunrpc/get_myaddr.c: Likewise.
32736         * sunrpc/key_call.c: Likewise.
32737         * sunrpc/key_prot.c: Likewise.
32738         * sunrpc/netname.c: Likewise.
32739         * sunrpc/pm_getmaps.c: Likewise.
32740         * sunrpc/pm_getport.c: Likewise.
32741         * sunrpc/pmap_clnt.c: Likewise.
32742         * sunrpc/pmap_prot.c: Likewise.
32743         * sunrpc/pmap_prot2.c: Likewise.
32744         * sunrpc/pmap_rmt.c: Likewise.
32745         * sunrpc/publickey.c: Likewise.
32746         * sunrpc/rpc_cmsg.c: Likewise.
32747         * sunrpc/rpc_common.c: Likewise.
32748         * sunrpc/rpc_dtable.c: Likewise.
32749         * sunrpc/rpc_prot.c: Likewise.
32750         * sunrpc/rpc_thread.c: Likewise.
32751         * sunrpc/rtime.c: Likewise.
32752         * sunrpc/svc.c: Likewise.
32753         * sunrpc/svc_auth.c: Likewise.
32754         * sunrpc/svc_raw.c: Likewise.
32755         * sunrpc/svc_run.c: Likewise.
32756         * sunrpc/svc_tcp.c: Likewise.
32757         * sunrpc/svc_udp.c: Likewise.
32758         * sunrpc/svc_unix.c: Likewise.
32759         * sunrpc/svcauth_des.c: Likewise.
32760         * sunrpc/xcrypt.c: Likewise.
32761         * sunrpc/xdr.c: Likewise.
32762         * sunrpc/xdr_array.c: Likewise.
32763         * sunrpc/xdr_float.c: Likewise.
32764         * sunrpc/xdr_intXX_t.c: Likewise.
32765         * sunrpc/xdr_mem.c: Likewise.
32766         * sunrpc/xdr_rec.c: Likewise.
32767         * sunrpc/xdr_ref.c: Likewise.
32768         * sunrpc/xdr_sizeof.c: Likewise.
32769         * sunrpc/xdr_stdio.c: Likewise.
32771 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32773         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32774         change.  Update copyright years.
32776 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32778         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32780 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32781             Joseph Myers  <joseph@codesourcery.com>
32782             Paul Pluzhnikov  <ppluzhnikov@google.com>
32784         [BZ #14012]
32785         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32786         requiring rpcgen.
32787         [cross-compiling] (extra-libs): Likewise.
32788         [cross-compiling] (extra-libs-others): Likewise.
32789         [cross-compiling] (librpcsvc-routines): Likewise.
32790         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32791         [cross-compiling] (omit-deps): Likewise.
32792         (sunrpc-CPPFLAGS): New variable.
32793         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32794         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32795         (cross-rpcgen-objs): New variable.
32796         (extra-objs): Append $(cross-rpcgen-objs).
32797         ($(cross-rpcgen-objs)): New rule.
32798         ($(objpfx)cross-rpcgen): Likewise.
32799         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32800         comment.
32801         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32802         ($(objpfx)x%.stmp): Likewise.
32803         * sunrpc/proto.h [IS_IN_build] (_): Define.
32804         [IS_IN_build] (_libc_intl_domainname): Likewise.
32806 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32808         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32809         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32810         and R_X86_64_TPOFF64.
32812 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32814         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32815         sysdeps/unix/sysv/syscalls.list.
32816         (stime): Likewise.
32817         (utime): Likewise.
32818         * sysdeps/unix/sysv/syscalls.list: Remove file.
32820 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32822         [BZ #3440]
32823         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32824         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32825         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32826         (__LC_IDENTIFICATION): Make these macros useful in #if
32827         expressions, as required by C99.
32829 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32831         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32832         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32833         after this.
32835 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32837         * stdlib/longlong.h: Updated from GCC.
32839 2012-05-09  Andreas Jaeger  <aj@suse.de>
32841         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32842         default is first entry.
32843         (run_mode): Set type.
32844         (main): Remove informal message about syslog.
32845         (options): Fix typo.
32847         [BZ #14053]
32848         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32849         to asm.
32850         (lrint): Likewise.
32851         (llrintf): Likewise.
32852         (llrint): Likewise.
32853         (rint): Likewise.
32854         (rintf): Likewise.
32855         (nearbyint): Likewise.
32856         (nearbyintf): Likewise.
32858 2012-05-09  Andreas Jaeger  <aj@suse.de>
32859             Pedro Alves  <palves@redhat.com>
32861         * nscd/nscd.c (run_mode): Use enum.
32862         (main): Cleanup coding style issue.
32864 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32865             Andreas Jaeger  <aj@suse.de>
32867         * nscd/nscd.c (go_background): Replaced with...
32868         (run_mode): ... this.
32869         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32870         (options): Add -F --foreground.
32871         (main): Implement it.
32872         (parse_opt): Parse it.
32874 2012-05-09  Andreas Jaeger  <aj@suse.de>
32876         [BZ #14083]
32877         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32878         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32879         -Wconversion warning.
32880         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32881         Likewise.
32883 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32885         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32886         == 0.
32887         (LC_ALL): Use macro-int-constant.
32888         (LC_COLLATE): Likewise.
32889         (LC_CTYPE): Likewise.
32890         (LC_MESSAGES): Likewise.
32891         (LC_MONETARY): Likewise.
32892         (LC_NUMERIC): Likewise.
32893         (LC_TIME): Likewise.
32894         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32895         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32896         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32897         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32898         Specify type.
32899         [C99-based standards] (float_t): Expect type.
32900         [C99-based standards] (double_t): Expect type.
32901         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32902         type.
32903         [C99-based standards] (HUGE_VALL): Likewise.
32904         [C99-based standards] (INFINITY): Likewise.
32905         [C99-based standards] (NAN): Likewise.
32906         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32907         [C99-based standards] (FP_NAN): Likewise.
32908         [C99-based standards] (FP_NORMAL): Likewise.
32909         [C99-based standards] (FP_SUBNORMAL): Likewise.
32910         [C99-based standards] (FP_ZERO): Likewise.
32911         [C99-based standards] (FP_FAST_FMA): Use
32912         optional-macro-int-constant.  Specify type.  Require == 1.
32913         [C99-based standards] (FP_FAST_FMAF): Likewise.
32914         [C99-based standards] (FP_FAST_FMAL): Likewise.
32915         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32916         [C99-based standards] (FP_ILOGBNAN): Likewise.
32917         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32918         Specify type.
32919         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32920         [C99-based standards] (math_errhandling): Specify type.
32921         [ISO99 || ISO11] (signgam): Do not allow.
32922         [non-C99-based standards] (copysignf): Do not allow.
32923         [non-C99-based standards] (exp2f): Likewise.
32924         [non-C99-based standards] (log2f): Likewise.
32925         [non-C99-based standards] (modff): Allow.
32926         [non-C99-based standards] (erff): Do not allow.
32927         [non-C99-based standards] (erfcf): Likewise.
32928         [non-C99-based standards] (gammaf): Likewise.
32929         [non-C99-based standards] (hypotf): Likewise.
32930         [non-C99-based standards] (j0f): Likewise.
32931         [non-C99-based standards] (j1f): Likewise.
32932         [non-C99-based standards] (jnf): Likewise.
32933         [non-C99-based standards] (lgammaf): Likewise.
32934         [non-C99-based standards] (tgammaf): Likewise.
32935         [non-C99-based standards] (y0f): Likewise.
32936         [non-C99-based standards] (y1f): Likewise.
32937         [non-C99-based standards] (ynf): Likewise.
32938         [non-C99-based standards] (isnanf): Likewise.
32939         [non-C99-based standards] (acoshf): Likewise.
32940         [non-C99-based standards] (asinhf): Likewise.
32941         [non-C99-based standards] (atanhf): Likewise.
32942         [non-C99-based standards] (cbrtf): Likewise.
32943         [non-C99-based standards] (expm1f): Likewise.
32944         [non-C99-based standards] (ilogbf): Likewise.
32945         [non-C99-based standards] (log1pf): Likewise.
32946         [non-C99-based standards] (logbf): Likewise.
32947         [non-C99-based standards] (nextafterf): Likewise.
32948         [non-C99-based standards] (remainderf): Likewise.
32949         [non-C99-based standards] (rintf): Likewise.
32950         [non-C99-based standards] (scalbf): Likewise.
32951         [non-C99-based standards] (copysignl): Likewise.
32952         [non-C99-based standards] (exp2l): Likewise.
32953         [non-C99-based standards] (log2l): Likewise.
32954         [non-C99-based standards] (modfl): Allow.
32955         [non-C99-based standards] (erfl): Do not allow.
32956         [non-C99-based standards] (erfcl): Likewise.
32957         [non-C99-based standards] (gammal): Likewise.
32958         [non-C99-based standards] (hypotl): Likewise.
32959         [non-C99-based standards] (j0l): Likewise.
32960         [non-C99-based standards] (j1l): Likewise.
32961         [non-C99-based standards] (jnl): Likewise.
32962         [non-C99-based standards] (lgammal): Likewise.
32963         [non-C99-based standards] (tgammal): Likewise.
32964         [non-C99-based standards] (y0l): Likewise.
32965         [non-C99-based standards] (y1l): Likewise.
32966         [non-C99-based standards] (ynl): Likewise.
32967         [non-C99-based standards] (isnanl): Likewise.
32968         [non-C99-based standards] (acoshl): Likewise.
32969         [non-C99-based standards] (asinhl): Likewise.
32970         [non-C99-based standards] (atanhl): Likewise.
32971         [non-C99-based standards] (cbrtl): Likewise.
32972         [non-C99-based standards] (expm1l): Likewise.
32973         [non-C99-based standards] (ilogbl): Likewise.
32974         [non-C99-based standards] (log1pl): Likewise.
32975         [non-C99-based standards] (logbl): Likewise.
32976         [non-C99-based standards] (nextafterl): Likewise.
32977         [non-C99-based standards] (remainderl): Likewise.
32978         [non-C99-based standards] (rintl): Likewise.
32979         [non-C99-based standards] (scalbl): Likewise.
32980         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32981         [non-C99-based standards] (FP_*): Do not allow.
32982         [C99-based standards] (FP_*): Change to
32983         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32984         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32985         allow.
32986         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32987         (SIG_ERR): Likewise.
32988         [X/Open-based standards] (SIG_HOLD): Likewise.
32989         (SIG_IGN): Likewise.
32990         (SIGABRT): Use macro-int-constant.  Specify type.  Require
32991         positive value.
32992         (SIGFPE): Likewise.
32993         (SIGILL): Likewise.
32994         (SIGINT): Likewise.
32995         (SIGSEGV): Likewise.
32996         (SIGTER): Likewise.
32997         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32998         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32999         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33000         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33001         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33002         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33003         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33004         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33005         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33006         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33007         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33008         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33009         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33010         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33011         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33012         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33013         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33014         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33015         [X/Open-based standards] (SIGTRAP): Likewise.
33016         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33017         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33018         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33019         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33020         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33021         allow.
33023 2012-05-08  Ian Wienand  <ianw@vmware.com>
33025         [BZ #14080]
33026         * time/tzset.c (__tzset_parse_tz): Update default rules for
33027         daylight time changes in the Energy Policy Act of 2005.
33029 2012-05-09  Andreas Jaeger  <aj@suse.de>
33031         [BZ #13983]
33032         * elf/ldconfig.c (parse_conf): Change string to make clear that
33033         ldconfig only issued a warning if ld.so.conf does not exist.
33035 2012-05-08  David S. Miller  <davem@davemloft.net>
33037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33038         movxtod instead of popping the value on the stack.
33040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33042 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33044         * config.h.in: Add HAVE_ARM_PCS_VFP.
33046 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33048         [BZ #13979]
33049         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33050         checking but the checks are disabled for any reason.
33052 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33054         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33055         and ELF64_R_TYPE with ELFW(R_TYPE).
33057 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33059         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33060         (ulimit): Likewise.
33062         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33063         (settimeofday): Likewise.
33065 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33067         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33068         a struct th_u2 inside the union, and move tu_block/tu_code into
33069         a new th_u3 union of tu_block/tu_code inside of that.  Move
33070         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33071         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33072         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33073         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33074         (th_stuff): Change to th_u1.tu_stuff.
33075         (th_data): Define.
33076         (th_msg): Change to th_u1.th_u2.tu_data.
33078 2012-05-07  David S. Miller  <davem@davemloft.net>
33080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33082         [BZ #14074]
33083         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33084         (SETUP_PIC_REG): Use it.
33085         (SETUP_PIC_REG_LEAF): Use it.
33087 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33089         [BZ #13885]
33090         [BZ #13923]
33091         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33092         USE_AS_EXPM1L.
33093         (EXPL_FINITE): Likewise.
33094         (FLDLOG): Likewise.
33095         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33096         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33097         e_expl.S.
33098         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33099         USE_AS_EXPM1L.
33100         (EXPL_FINITE): Likewise.
33101         (FLDLOG): Likewise.
33102         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33103         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33104         e_expl.S.
33105         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33106         test of -max_value argument for long double.
33107         * sysdeps/i386/fpu/libm-test-ulps: Update.
33108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33110 2012-05-06  David S. Miller  <davem@davemloft.net>
33112         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33113         quad soft-float symbols whose references which are compiler
33114         generated.
33115         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33117 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33119         [BZ #13884]
33120         [BZ #13914]
33121         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33122         USE_AS_EXP10L.
33123         (EXPL_FINITE): Likewise.
33124         (FLDLOG): Likewise.
33125         (c0): Likewise.
33126         (c1): Likewise.
33127         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33128         Adjust comments for base varying.
33129         (__expl_finite): Change alias to EXPL_FINITE.
33130         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33131         e_expl.S.
33132         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33133         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33134         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33135         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33136         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33137         USE_AS_EXP10L.
33138         (EXPL_FINITE): Likewise.
33139         (FLDLOG): Likewise.
33140         (c0): Likewise.
33141         (c1): Likewise.
33142         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33143         Adjust comments for base varying.
33144         (__expl_finite): Change alias to EXPL_FINITE.
33145         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33146         tests for bugs.
33147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33149         [BZ #14064]
33150         * math/libm-test.inc (check_float_internal): Correct ulp
33151         calculation for subnormal expected results.
33153 2012-05-06  Andreas Jaeger  <aj@suse.de>
33155         * Makeconfig (+math-flags): New, set to -frounding-math.
33156         (+cflags): Add +math-flags so that all of glibc gets compiled with
33157         it.
33159         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33161 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33163         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33164         Disable one test.
33166         [BZ #13787]
33167         [BZ #13922]
33168         [BZ #14036]
33169         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33170         (__ieee754_expl): Allow for and saturate large arguments.
33171         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33172         (u_threshold): Likewise.
33173         (__exp): Call __ieee754_exp before checking for overflow and
33174         underflow.
33175         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33176         (u_threshold): Likewise.
33177         (__expf): Call __ieee754_expf before checking for overflow and
33178         underflow.
33179         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33180         (u_threshold): Likewise.
33181         (__expl): Call __ieee754_expl before checking for overflow and
33182         underflow.
33183         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33184         (__ieee754_expl): Allow for and saturate large arguments.
33185         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33186         missing overflow exception on overflow.
33187         (expm1_test): Do not allow missing overflow exception on overflow.
33189         * sysdeps/i386/fpu/e_expl.c: Move to ...
33190         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33191         rather than using inline asm.
33192         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33193         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33194         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33196         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33197         (nice): Likewise.
33198         (poll): Likewise.
33199         (signal): Likewise.
33200         (time): Likewise.
33201         (times): Likewise.
33203 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33205         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33206         sysdeps/unix/common/syscalls.list.
33207         (fchmod): Likewise.
33208         (fchown): Likewise.
33209         (ftruncate): Likewise.
33210         (getrusage): Likewise.
33211         (gettimeofday): Likewise.
33212         (setpgid): Likewise.
33213         (setregid): Likewise.
33214         (setreuid): Likewise.
33215         (sigaction): Likewise.
33216         (truncate): Likewise.
33217         (vhangup): Likewise.
33218         * sysdeps/unix/common/syscalls.list: Remove file.
33219         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33220         * sysdeps/unix/sysv/linux/Implies: Likewise.
33222 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33224         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33226         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33227         Moved to ...
33228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33229         Here.
33230         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33231         to ...
33232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33233         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33234         to ...
33235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33236         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33237         to ...
33238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33239         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33240         to ...
33241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33242         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33243         to ...
33244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33245         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33246         to ...
33247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33248         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33249         to ...
33250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33251         Here.
33252         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33253         to ...
33254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33255         Here.
33256         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33257         to ...
33258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33259         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33260         Moved to ...
33261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33262         Here.
33263         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33264         to ...
33265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33267 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33269         * sysdeps/unix/common/bits/dirent.h: Remove file.
33270         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33272         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33273         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33274         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33275         * sysdeps/unix/bsd/isatty.c: Likewise.
33276         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33277         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33278         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33280 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33282         [BZ #13563]
33283         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33284         long double comparison inaccuracies.
33285         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33288 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33290         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33291         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33293 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33295         [BZ #14049]
33296         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33297         nonzero digits before rounding a hex value.
33298         * stdlib/tst-strtod.c (tests): Add another test.
33300 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33302         * sysdeps/s390/fpu/libm-test-ulps: Update.
33304 2012-05-03  Andreas Jaeger  <aj@suse.de>
33306         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33307         does not get optimized out.
33308         (malloc_opt_barrier): New.
33310 2012-05-03  Andreas Jaeger  <aj@suse.de>
33311             Roland McGrath  <roland@hack.frob.com>
33313         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33314         intermediate file deletion.
33315         (generated): Add .symlist files.
33317 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33319         [BZ #13775]
33320         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33321         Redirect under this condition.
33322         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33323         [__USE_GNU] (__dprintf_chk): Not under this condition.
33324         [__USE_GNU] (__vdprintf_chk): Likewise.
33325         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33326         under this condition.
33327         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33328         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33329         [__USE_XOPEN2K8] (vdprintf): Likewise.
33330         [__USE_GNU] (__dprintf_chk): Not under this condition.
33331         [__USE_GNU] (__vdprintf_chk): Likewise.
33332         [__USE_GNU] (dprintf): Likewise.
33333         [__USE_GNU] (vdprintf): Likewise.
33335 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33337         * elf/Makefile (common-generated): Set this instead of generated for
33338         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33339         $(all-built-dso)-derived lists.
33341 2012-05-03  Andreas Jaeger  <aj@suse.de>
33343         * sysdeps/i386/fpu/libm-test-ulps: Update.
33345         * FAQ: Removed.
33346         * FAQ.in: Likewise.
33347         * scripts/gen-FAQ.pl: Likewise.
33348         * manual/install.texi (Installation): Point to online location of
33349         FAQ.
33350         * Makefile (files-for-dist): Remove FAQ.
33351         (FAQ): Remove.
33353 2012-05-02  Allan McRae  <allan@archlinux.org>
33355         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33356         (LDFLAGS-reldepmod5.so): Likewise.
33357         (LDFLAGS-reldep6mod1.so): Likewise.
33358         (LDFLAGS-reldep6mod4.so): Likewise.
33359         (LDFLAGS-reldep8mod3.so): Likewise.
33360         (LDFLAGS-unload4mod1.so): Likewise.
33361         (LDFLAGS-unload4mod2.so): Likewise.
33362         (LDFLAGS-tst-initorder): Likewise.
33363         (LDFLAGS-tst-initordera2.so): Likewise.
33364         (LDFLAGS-tst-initordera3.so): Likewise.
33365         (LDFLAGS-tst-initordera4.so): Likewise.
33366         (LDFLAGS-tst-initorderb2.so): Likewise.
33367         (LDFLAGS-noload): Likewise.
33368         (LDFLAGS-next): Likewise.
33369         (LDFLAGS-order2mod1.so): Likewise.
33370         (LDFLAGS-order2mod2.so): Likewise.
33371         (LDFLAGS-tst-initorder2): Likewise.
33372         (LDFLAGS-tst-initorder2a.so): Likewise.
33373         (LDFLAGS-tst-initorder2b.so): Likewise.
33374         (LDFLAGS-tst-initorder2c.so): Likewise.
33375         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33377 2012-05-02  David S. Miller  <davem@davemloft.net>
33379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33381 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33383         [BZ #14055]
33384         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33386 2012-05-02  Andreas Jaeger  <aj@suse.de>
33388         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33389         since we manipulate rounding mode.
33390         (CPPFLAGS-test-idouble.c): Likewise.
33391         (CPPFLAGS-test-ifloat.c): Likewise.
33392         (CFLAGS-test-ldouble.c): Likewise.
33393         (CFLAGS-test-double.c): Likewise.
33394         (CFLAGS-test-float.c): Likewise.
33395         (CFLAGS-test-misc.c): Likewise.
33396         (CFLAGS-test-test-fenv.c): Likewise.
33398 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33400         [BZ #2550]
33401         [BZ #2570]
33402         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33403         comparisons to determine direction to adjust input.
33405 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33407         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33408         output to the target.
33410         * scripts/localplt.awk: New file.
33411         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33412         (check-localplt-CFLAGS): Variable removed.
33413         ($(all-built-dso:=.jmprel)): New static pattern rule.
33414         (generated): Add those targets.
33415         (localplt-built-dso): New variable.
33416         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33418         * elf/check-localplt.c: File removed.
33420         * scripts/check-execstack.awk: New file.
33421         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33422         (check-execstack-CFLAGS): Variable removed.
33423         ($(objpfx)check-execstack.h): Target removed.
33424         ($(objpfx)execstack-default): New target.
33425         (generated): Add that instead of check-execstack.h.
33426         ($(all-built-dso:=.phdr)): New static pattern rule.
33427         (generated): Add those targets.
33428         * elf/check-execstack.c: File removed.
33430         * scripts/check-textrel.awk: New file.
33431         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33432         (check-textrel-CFLAGS): Variable removed.
33433         (all-built-dso): Use := to define.o
33434         ($(all-built-dso:=.dyn)): New static pattern rule.
33435         (generated): Add those targets.
33436         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33437         * config.make.in (READELF): New substituted variable.
33438         * elf/check-textrel.c: File removed.
33440 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33442         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33443         allow.
33444         * conform/data/ctype.h-data [C99-based standards] (isblank):
33445         Expect function.
33446         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33447         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33448         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33449         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33450         Specify type.  Require positive value.
33451         (EILSEQ): Likewise.
33452         (ERANGE): Likewise.
33453         [ISO || POSIX] (EILSEQ): Do not expect.
33454         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33455         Specify type.  Require positive value.
33456         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33457         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33458         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33459         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33460         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33461         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33462         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33463         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33464         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33465         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33466         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33467         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33468         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33469         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33470         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33471         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33472         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33473         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33474         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33475         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33476         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33477         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33478         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33479         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33480         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33481         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33482         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33483         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33484         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33485         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33486         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33487         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33488         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33489         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33490         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33491         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33492         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33493         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33494         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33495         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33496         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33497         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33498         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33499         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33500         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33501         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33502         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33503         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33504         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33505         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33506         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33507         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33508         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33509         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33510         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33511         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33512         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33513         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33514         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33515         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33516         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33517         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33518         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33519         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33520         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33521         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33522         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33523         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33524         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33525         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33526         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33527         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33528         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33529         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33530         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33531         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33532         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33533         Require >= 2.
33534         (FLT_ROUNDS): Expect as macro, not constant.
33535         (FLT_MANT_DIG): Use macro-int-constant.
33536         (DBL_MANT_DIG): Likewise.
33537         (LDBL_MANT_DIG): Likewise.
33538         (FLT_DIG): Likewise.
33539         (DBL_DIG): Likewise.
33540         (LDBL_DIG): Likewise.
33541         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33542         (DBL_MIN_EXP): Likewise.
33543         (LDBL_MIN_EXP): Likewise.
33544         (FLT_MAX_EXP): Use macro-int-constant.
33545         (DBL_MAX_EXP): Likewise.
33546         (LDBL_MAX_EXP): Likewise.
33547         (FLT_MAX_10_EXP): Likewise.
33548         (DBL_MAX_10_EXP): Likewise.
33549         (LDBL_MAX_10_EXP): Likewise.
33550         (FLT_MAX): Use macro-constant.
33551         (DBL_MAX): Likewise.
33552         (LDBL_MAX): Likewise.
33553         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33554         (DBL_EPSILON): Likewise.
33555         (LDBL_EPSILON): Likewise.
33556         (FLT_MIN): Likewise.
33557         (DBL_MIN): Likewise.
33558         (LDBL_MIN): Likewise.
33559         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33560         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33561         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33562         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33563         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33564         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33565         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33566         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33567         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33568         [ISO11] (FLT_TRUE_MIN): Likewise.
33569         [ISO11] (LDBL_TRUE_MIN): Likewise.
33570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33571         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33572         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33573         (SCHAR_MAX): Likewise.
33574         (UCHAR_MAX): Likewise.
33575         (CHAR_MIN): Likewise.
33576         (CHAR_MAX): Likewise.
33577         (MB_LEN_MAX): Use macro-int-constant.
33578         (SHRT_MIN): Use macro-int-constant.  Specify type.
33579         (SHRT_MAX): Likewise.
33580         (USHRT_MAX): Likewise.
33581         (INT_MAX): Likewise.
33582         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33583         bound negative.
33584         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33585         bound with "U".
33586         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33587         bound with "L".
33588         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33589         bound negative.  Suffix upper bound with "L".
33590         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33591         bound with "UL".
33592         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33593         Specify type.
33594         [C99-based standards] (LLONG_MAX): Likewise.
33595         [C99-based standards] (ULLONG_MAX): Likewise.
33596         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33597         == 0.
33598         [ISO11] (max_align_t): Require type.
33599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33601         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33602         from $CFLAGS, without defining away __attribute__ calls.
33603         (checknamespace): Use $CFLAGS_namespace.
33605         * conform/conformtest.pl (@keywords): Only include C99 keywords
33606         for standards based on C99 or C11.
33608         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33609         Disable tests.
33610         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33611         UNIX98]: Likewise.
33613         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33614         usability of symbols in #if.
33616         * conform/conformtest.pl: If macro or constant types start
33617         "promoted:", expect the symbol to be of the following type
33618         promoted by the integer promotions.
33620         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33621         in one place.  Also handle "macro-constant".
33623         * conform/conformtest.pl: Only accept expected macro values with
33624         "==".  Parse all "macro" lines in one place.
33625         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33627         * conform/conformtest.pl: Handle braced types on "constant" lines
33628         instead of handling "typed-constant".
33629         * conform/data/signal.h-data: Use "constant" instead of
33630         "typed-constant".
33632         * conform/conformtest.pl: Handle "optional-" at start of lines in
33633         one place rather than duplicating several cases.  Handle each
33634         format of "macro" line with initial "optional-".
33636         * conform/conformtest.pl: Only accept expected constant or
33637         optional-constant values with "==".  Parse all "constant" lines in
33638         one place.  Parse all "optional-constant" lines in one place.
33639         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33640         * conform/data/fmtmsg.h-data: Likewise.
33641         * conform/data/netinet/in.h-data: Likewise.
33642         * conform/data/tar.h-data: Likewise.
33643         * conform/data/limits.h-data: Use "==" form on "constant" and
33644         "optional-constant" lines.
33646         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33647         Use -std=c99 for XOPEN2K.
33648         (@knownproblems): Remove.
33649         (newtoken): Don't check %isknown.
33651         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33652         Do not expect macro.
33653         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33654         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33655         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33656         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33657         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33658         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33659         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33660         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33661         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33662         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33663         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33664         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33665         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33666         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33667         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33668         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33669         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33670         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33671         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33672         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33673         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33674         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33675         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33676         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33677         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33678         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33679         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33680         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33681         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33682         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33683         [XPG3] (acosh): Likewise.
33684         [XPG3] (asinh): Likewise.
33685         [XPG3] (atanh): Likewise.
33686         [XPG3] (cbrt): Likewise.
33687         [XPG3] (expm1): Likewise.
33688         [XPG3] (ilogb): Likewise.
33689         [XPG3] (log1p): Likewise.
33690         [XPG3] (logb): Likewise.
33691         [XPG3] (nextafter): Likewise.
33692         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33693         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33694         [XPG3] (remainder): Likewise.
33695         [XPG3] (rint): Likewise.
33696         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33697         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33698         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33699         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33700         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33701         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33702         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33703         [UNIX98 || XOPEN2K] (scalb): Expect.
33704         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33705         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33706         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33707         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33708         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33709         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33710         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33711         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33712         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33713         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33714         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33715         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33716         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33717         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33718         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33719         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33720         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33721         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33722         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33723         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33724         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33725         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33726         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33727         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33728         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33729         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33730         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33731         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33732         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33733         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33734         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33735         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33736         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33737         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33738         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33739         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33740         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33741         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33742         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33743         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33744         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33745         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33746         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33747         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33748         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33749         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33750         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33751         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33752         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33753         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33754         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33755         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33756         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33757         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33758         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33759         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33760         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33761         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33762         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33763         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33764         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33765         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33766         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33767         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33768         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33769         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33770         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33771         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33772         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33773         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33774         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33775         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33776         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33777         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33778         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33779         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33780         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33781         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33782         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33783         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33784         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33785         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33786         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33787         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33788         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33789         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33790         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33791         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33792         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33793         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33794         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33795         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33796         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33799         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33800         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33805         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33806         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33807         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33808         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33809         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33810         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33823         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33824         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33825         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33826         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33827         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33828         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33829         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33830         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33831         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33832         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33833         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33834         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33835         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33836         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33837         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33838         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33839         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33840         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33842         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33843         _XOPEN_SOURCE_EXTENDED for XPG4.
33845         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33847         * Makeconfig (localtime): Remove variable.
33848         (inst_localtime-file): Likewise.
33850 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33853         Update.
33854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33855         Update.
33856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33857         Update.
33858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33859         Update.
33860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33861         Update.
33862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33863         Update.
33864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33865         Update.
33866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33867         Update.
33868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33869         Update.
33871 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33873         [BZ #2550]
33874         [BZ #2570]
33875         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33876         comparisons to determine direction to adjust input.
33877         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33878         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33879         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33880         Likewise.
33881         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33882         Likewise.
33883         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33884         Likewise.
33885         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33886         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33887         Likewise.
33888         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33889         Likewise.
33890         * math/libm-test.inc (nexttoward_test): Add more tests.
33892 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33894         [BZ #14040]
33895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33896         in version GLIBC_2.1, not GLIBC_2.0.
33897         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33898         Likewise.
33900 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33902         [BZ #13942]
33903         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33904         (1 - x) * (1 + x).
33905         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33906         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33907         * math/libm-test.inc (acos_test): Add more tests.
33908         (asin_test): Likewise.
33909         * sysdeps/i386/fpu/libm-test-ulps: Update.
33910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33912         [BZ #14034]
33913         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33914         of square root.
33915         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33916         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33917         * math/libm-test.inc (acos_test_tonearest): New function.
33918         (acos_test_towardzero): Likewise.
33919         (acos_test_downward): Likewise.
33920         (acos_test_upward): Likewise.
33921         (asin_test_tonearest): Likewise.
33922         (asin_test_towardzero): Likewise.
33923         (asin_test_downward): Likewise.
33924         (asin_test_upward): Likewise.
33925         (main): Call the new functions.
33926         * sysdeps/i386/fpu/libm-test-ulps: Update.
33927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33929         [BZ #13884]
33930         [BZ #13924]
33931         * math/e_exp10.c: Include <float.h>.
33932         (__ieee754_exp10): Handle underflow here rather than multiplying
33933         large negative argument by M_LN10.
33934         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33935         of __ieee754_expf.
33936         * math/e_exp10l.c: Include <float.h>.
33937         (__ieee754_exp10l): Handle underflow here rather than multiplying
33938         large negative argument by M_LN10l.
33939         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
33940         spurious overflow exception on underflow.
33942 2012-04-29  Marek Polacek  <polacek@redhat.com>
33944         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33945         (__fortify_function): New macro.
33946         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33947         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33948         __extern_always_inline.
33949         * libio/bits/stdio2.h: Likewise.
33950         * libio/bits/stdio.h: Likewise.
33951         * string/string.h: Likewise.
33952         * string/bits/string3.h: Likewise.
33953         * include/stdio.h: Likewise.
33954         * stdlib/bits/stdlib.h: Likewise.
33955         * stdlib/stdlib.h: Likewise.
33956         * rt/bits/mqueue2.h: Likewise.
33957         * rt/mqueue.h: Likewise.
33958         * posix/bits/unistd.h: Likewise.
33959         * posix/unistd.h: Likewise.
33960         * io/bits/poll2.h: Likewise.
33961         * io/bits/fcntl2.h: Likewise.
33962         * io/fcntl.h: Likewise.
33963         * io/sys/poll.h: Likewise.
33964         * misc/bits/syslog.h: Likewise.
33965         * misc/bits/syslog-ldbl.h: Likewise.
33966         * misc/sys/syslog.h: Likewise.
33967         * socket/bits/socket2.h: Likewise.
33968         * socket/sys/socket.h: Likewise.
33969         * debug/tst-chk1.c: Likewise.
33970         * wcsmbs/bits/wchar2.h: Likewise.
33971         * wcsmbs/bits/wchar-ldbl.h: Likewise.
33972         * wcsmbs/wchar.h: Likewise.
33974 2012-04-29  Andreas Jaeger  <aj@suse.de>
33976         * Makerules (tests): Remove enable-check-abi protection.
33977         (check-abi-warn): Remove.
33978         (check-abi-%): Remove check-abi-warn usage.
33980         * configure.in: Remove check-abi configure option.
33981         * configure: Regenerated.
33982         * config.make.in (enable-check-abi): Remove.
33984 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
33986         [BZ #14033]
33987         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33988         double functions to double *_finite functions.
33990         [BZ #13941]
33991         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33992         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33993         LDBL_MIN_EXP.
33994         * stdio-common/Makefile (tests): Add tst-sprintf3.
33995         * stdio-common/tst-sprintf3.c: New file.
33997         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33998         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34000 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34002         * conform/conformtest.pl: Remove duplicate typed-constant
34003         handling.
34005 2012-04-28  David S. Miller  <davem@davemloft.net>
34007         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34008         (check-abi-%): Remove AWK script prerequisite and explicit
34009         abilist directory.
34010         (check-abi): Rewrite to just diff the symlist with the abilist.
34011         (config-tls, config-abi-config): Delete, no longer used.
34012         (update-abi-%): Remove AWK script and explicit abilist directory.
34013         (update-abi): Rewrite to simply compare and conditionally copy the
34014         symlist and the sysdep abilist file.  Remove update-abi-config
34015         checks.
34016         * abilist/ld.abilist: Remove.
34017         * abilist/libBrokenLocale.abilist: Remove.
34018         * abilist/libanl.abilist: Remove.
34019         * abilist/libcrypt.abilist: Remove.
34020         * abilist/libdl.abilist: Remove.
34021         * abilist/librt.abilist: Remove.
34022         * abilist/libthread_db.abilist: Remove.
34023         * abilist/libutil.abilist: Remove.
34024         * scripts/extract-abilist.awk: Remove.
34025         * scripts/merge-abilist.awk: Remove.
34026         * sysdeps/generic/libcidn.abilist: New file.
34027         * sysdeps/generic/libnss_compat.abilist: New file.
34028         * sysdeps/generic/libnss_db.abilist: New file.
34029         * sysdeps/generic/libnss_dns.abilist: New file.
34030         * sysdeps/generic/libnss_files.abilist: New file.
34031         * sysdeps/generic/libnss_hesiod.abilist: New file.
34032         * sysdeps/generic/libnss_nis.abilist: New file.
34033         * sysdeps/generic/libnss_nisplus.abilist: New file.
34034         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34035         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34036         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34037         file.
34038         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34039         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34040         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34041         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34042         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34043         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34044         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34045         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34046         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34047         file.
34048         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34049         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34050         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34051         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34052         file.
34053         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34054         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34055         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34056         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34057         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34058         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34059         file.
34060         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34061         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34062         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34063         file.
34064         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34066         New file.
34067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34068         New file.
34069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34070         New file.
34071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34072         New file.
34073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34074         New file.
34075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34076         New file.
34077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34078         New file.
34079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34080         New file.
34081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34082         New file.
34083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34084         New file.
34085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34086         New file.
34087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34088         New file.
34089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34090         New file.
34091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34092         file.
34093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34094         New file.
34095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34096         New file.
34097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34098         file.
34099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34100         New file.
34101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34102         New file.
34103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34104         file.
34105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34106         New file.
34107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34108         New file.
34109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34110         New file.
34111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34112         New file.
34113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34114         New file.
34115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34116         New file.
34117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34119         file.
34120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34121         New file.
34122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34123         file.
34124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34125         file.
34126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34127         file.
34128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34129         file.
34130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34131         file.
34132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34133         New file.
34134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34135         file.
34136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34137         file.
34138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34139         New file.
34140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34141         file.
34142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34144         file.
34145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34146         New file.
34147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34148         file.
34149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34150         file.
34151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34152         file.
34153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34154         file.
34155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34156         file.
34157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34158         New file.
34159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34160         file.
34161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34162         file.
34163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34164         New file.
34165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34166         file.
34167         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34168         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34169         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34170         file.
34171         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34172         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34173         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34174         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34175         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34176         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34177         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34178         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34179         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34180         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34183         file.
34184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34185         New file.
34186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34187         file.
34188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34189         file.
34190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34191         file.
34192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34193         file.
34194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34195         file.
34196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34197         New file.
34198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34199         New file.
34200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34201         file.
34202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34203         New file.
34204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34205         file.
34206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34208         file.
34209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34210         New file.
34211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34212         file.
34213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34214         file.
34215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34216         file.
34217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34218         file.
34219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34220         file.
34221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34222         New file.
34223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34224         New file.
34225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34226         file.
34227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34228         New file.
34229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34230         file.
34232 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34234         * conform/conformtest.pl: Fix typo in handling typed-constant from
34235         allow-header.
34237 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34239         * README: Cut down references to pre-2.6 Linux kernels and
34240         Linuxthreads.  Update lists of configurations in libc and ports
34241         and sort alphabetically.  Say "or newer" with Linux kernel version
34242         requirements.
34244         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34246 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34248         [BZ #887]
34249         * math/libm-test.inc (logb_test_downward): New test to expose
34250         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34251         rounding mode.
34253 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34255         [BZ #14027]
34256         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34257         to be done.
34258         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34259         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34261 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34263         * sysdeps/unix/i386/brk.S: Remove file.
34264         * sysdeps/unix/i386/dl-brk.S: Likewise.
34265         * sysdeps/unix/i386/pipe.S: Likewise.
34266         * sysdeps/unix/i386/sigreturn.S: Likewise.
34267         * sysdeps/unix/i386/syscall.S: Likewise.
34268         * sysdeps/unix/i386/vfork.S: Likewise.
34269         * sysdeps/unix/i386/wait.S: Likewise.
34271         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34272         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34274         * configure.in (arm*-none*): Do not allow without
34275         --enable-hacker-mode.
34276         (netbsd*): Remove case setting base_os.
34277         (386bsd*): Likewise.
34278         (freebsd*): Likewise.
34279         (bsdi*): Likewise.
34280         (osf*): Likewise.
34281         (sunos*): Likewise.
34282         (ultrix*): Likewise.
34283         (newsos*): Likewise.
34284         (dynix*): Likewise.
34285         (*bsd*): Likewise.
34286         (sysv*): Likewise.
34287         (isc*): Likewise.
34288         (esix*): Likewise.
34289         (sco*): Likewise.
34290         (minix*): Likewise.
34291         (irix4*): Likewise.
34292         (irix6*): Likewise.
34293         (solaris[2-9]*): Likewise.
34294         (none): Likewise.
34295         * configure: Regenerated.
34297 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34299         [BZ #11521]
34300         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34301         overflow or cancellation in calculating denominator.
34302         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34303         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34304         down expression to avoid unexpected rounding in newer GCCs.
34305         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34307 2012-04-26  David S. Miller  <davem@davemloft.net>
34309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34310         long-double compat symbols.
34311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34325 2012-04-25  David S. Miller  <davem@davemloft.net>
34327         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34328         HWCAP_* values only after the memory barriers have been defined.
34329         (atomic_full_barrier): Define.
34330         (atomic_read_barrier): Define.
34331         (atomic_write_barrier): Define.
34333 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34335         * shlib-versions: Add libgcc_s version information.
34336         * sysdeps/generic/libgcc_s.h: Remove.
34337         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34338         libgcc_s.h.
34339         * sysdeps/gnu/unwind-resume.c: Likewise.
34340         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34342 2012-04-25  David S. Miller  <davem@davemloft.net>
34344         * sysdeps/unix/sparc/brk.S: Delete.
34345         * sysdeps/unix/sparc/dl-brk.S: Delete.
34346         * sysdeps/unix/sparc/pipe.S: Delete.
34347         * sysdeps/unix/sparc/sysdep.S: Delete.
34348         * sysdeps/unix/sparc/sysdep.h: Delete.
34349         * sysdeps/unix/sparc/vfork.S: Delete.
34350         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34351         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34352         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34353         (ret_ERRVAL, r0, r1, MOVE): Define.
34354         (JUMPTARGET): Remove.
34355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34356         sysdeps/unix/sparc/sysdep.h
34357         (ENTRY, END): Remove.
34358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34360 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34362         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34363         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34364         -DIS_IN_build.
34366         * timezone/README: Update upstream location and email address for
34367         tzcode and tzdata.
34368         * timezone/zdump.c: Update from tzcode 2012b.
34369         * timezone/zic.c: Likewise.
34371         * configure.in (libc_cv_as_needed): Remove test.
34372         * configure: Regenerated.
34373         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34374         conditional definition.
34375         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34376         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34377         * config.make.in (have-as-needed): Remove variable.
34379 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34380             Paul Pluzhnikov  <ppluzhnikov@google.com>
34382         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34383         strings correctly.
34385 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34387         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34388         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34389         * sysdeps/sh/strlen.S: Likewise.
34391 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34393         * sysdeps/unix/fork.S: Remove file.
34394         * sysdeps/unix/i386/fork.S: Likewise.
34395         * sysdeps/unix/sparc/fork.S: Likewise.
34397         * sysdeps/unix/system.c: Remove file.
34398         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34400         * sysdeps/unix/getegid.S: Remove file.
34401         * sysdeps/unix/geteuid.S: Likewise.
34403 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34405         * scripts/check-localplt.awk: New file.
34406         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34407         of diff.
34408         * scripts/data/localplt-generic.data: Add a comment.
34410         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34411         NODE when __dir_mkfile failed.
34412         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34413         Reported by Ludovic Courtès <ludo@gnu.org>.
34415 2012-04-24  Andreas Jaeger  <aj@suse.de>
34417         * Makerules (common-clean): Also remove gen-as-const-headers
34418         files.
34420 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34422         * Makerules (native-compile): Do not change working directory for
34423         build.  Use $(OUTPUT_OPTION) in command.
34424         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34426 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34428         [BZ #13886]
34429         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34430         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34431         * math/libm-test.inc (floor_test): Add more tests.
34432         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34434 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34436         * sysdeps/unix/getdents.c: Remove file.
34437         * sysdeps/unix/sysv/getdents.c: Likewise.
34438         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34440         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34441         sysdeps/unix/mman/syscalls.list.
34442         (mmap): Likewise.
34443         (mprotect): Likewise.
34444         (msync): Likewise.
34445         (munmap): Likewise.
34446         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34447         * sysdeps/unix/mman/syscalls.list: Remove.
34448         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34450         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34451         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34452         * configure: Regenerated.
34453         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34454         $(libgcc_s_suffix).
34455         * config.make.in (libgcc_s_suffix): Remove variable.
34457 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34459         * sysdeps/unix/sysv/gethostname.c: Move to ...
34460         * sysdeps/posix/gethostname.c: ... here.
34462         * sysdeps/unix/execve.S: Remove file.
34464         * sysdeps/unix/_exit.S: Remove file.
34466 2012-04-23  Andreas Jaeger  <aj@suse.de>
34468         [BZ #13739]
34469         * manual/Makefile: Remove make dist support, there's no
34470         need for a stand-alone documentation tar ball.
34471         (TEXI2DVI): Define always, it's not in Makeconfig.
34472         (dist): Removed.
34473         (tar-it): Removed.
34474         (edition): Removed.
34475         (glibc-doc-$(edition).tar): Removed
34476         (%.Z): Removed.
34477         (%.gz): Removed.
34478         (%.uu): Removed.
34479         (ETAGS): Remove, it's in Makeconfig.
34480         (move-if-change): Remove, it's in Makeconfig.
34482 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34484         [BZ #13970]
34485         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34486         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34487         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34488         (strtod_l, strtof_l, strtold_l): Remove __wur.
34489         It is not necessarily an error to ignore strtol's return value.
34490         One can reliably look at the stored endptr to decide whether
34491         the number had valid syntax.
34493 2012-04-21  Andreas Jaeger  <aj@suse.de>
34495         [BZ #13739]
34496         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34498 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34500         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34501         * sysdeps/unix/sysv/Versions: Remove file.
34503 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34505         [BZ #13927]
34506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34508 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34510         [BZ #7064]
34511         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34512         version from __vm86.
34514 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34516         * sysdeps/unix/common/lxstat.c: Remove file.
34517         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34519         * sysdeps/unix/sysv/Makefile: Remove file.
34521         * sysdeps/unix/sysv/direct.h: Remove file.
34523         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34524         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34525         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34526         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34527         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34528         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34529         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34531         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34533         * sysdeps/unix/xmknod.c: Remove file.
34534         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34536         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34538         * sysdeps/unix/sysv/i386/time.S: Remove file.
34540         * sysdeps/unix/fxstat.c: Remove file.
34541         * sysdeps/unix/xstat.c: Likewise.
34542         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34544         * sysdeps/unix/sysv/sigaction.c: Remove file.
34546         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34547         (sysdep_headers): Remove variable.
34548         [termio.h not in sysdep_headers] (generated): Likewise.
34549         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34550         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34551         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34552         * sysdeps/unix/sysv/tcflow.c: Likewise.
34553         * sysdeps/unix/sysv/tcflush.c: Likewise.
34554         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34555         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34556         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34557         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34558         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34560         * sysdeps/unix/siglist.c: Remove file.
34562         * sysdeps/unix/getppid.S: Remove file.
34564         * sysdeps/unix/mkdir.c: Remove file.
34565         * sysdeps/unix/rmdir.c: Likewise.
34567 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34569         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34570         ERR_MAX value.
34571         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34572         errlist-compat value.
34574 2012-04-18  David S. Miller  <davem@davemloft.net>
34576         * sysdeps/generic/memcopy.h (reg_char): Delete.
34577         * debug/strcat_chk.c: Use char, not reg_char.
34578         * debug/strcpy_chk.c: Likewise.
34579         * debug/strncat_chk.c: Likewise.
34580         * debug/strncpy_chk.c: Likewise.
34581         * string/memchr.c: Likewise.
34582         * string/memrchr.c: Likewise.
34583         * string/rawmemchr.c: Likewise.
34584         * string/strcat.c: Likewise.
34585         * string/strchr.c: Likewise.
34586         * string/strchrnul.c: Likewise.
34587         * string/strcmp.c: Likewise.
34588         * string/strcpy.c: Likewise.
34589         * string/strncat.c: Likewise.
34590         * string/strncmp.c: Likewise.
34591         * string/strncpy.c: Likewise.
34593 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34595         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34596         __builtin_memcopy is called when src and dest ranges are known to not
34597         overlap.
34599 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34601         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34602         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34603         fwd_align_merge macro call.
34604         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34605         bwd_align_merge macro call.
34606         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34608 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34610         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34611         bwd_align_merge macros.
34612         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34613         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34614         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34616 2012-04-18  David S. Miller  <davem@davemloft.net>
34618         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34620 2012-04-18  Andreas Jaeger  <aj@suse.de>
34622         [BZ# 6794]
34623         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34624         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34625         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34627         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34628         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34629         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34631         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34632         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34633         Adjust for changed ldbl-128 files.
34635         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34636         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34637         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34639 2012-04-17  David S. Miller  <davem@davemloft.net>
34641         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34643 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34645         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34646         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34647         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34648         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34649         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34650         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34652 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34654         [BZ #6794]
34655         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34656         * math/libm-test.inc: Add ilogb errno and exception tests.
34657         * math/w_ilogb.c: New file: ilogb wrapper.
34658         * math/w_ilogbf.c: New file: ilogbf wrapper.
34659         * math/w_ilogbl.c: New file: ilogbl wrapper.
34660         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34661         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34662         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34663         exception being thrown with 0.0 as argument.
34664         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34665         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34666         exception being thrown with 0.0 as argument.
34667         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34668         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34669         exception being thrown with 0.0 as argument.
34670         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34671         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34672         exception being thrown with 0.0 as argument.
34673         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34674         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34675         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34676         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34677         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34678         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34679         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34680         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34681         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34683 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34685         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34686         with altivec.
34688 2012-04-16  Marek Polacek  <polacek@redhat.com>
34690         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34692 2012-04-16  Marek Polacek  <polacek@redhat.com>
34694         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34695         operands of fdivp instruction.
34697 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34699         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34700         * elf/tst-auditmod3b.c: Likewise.
34701         * elf/tst-auditmod4b.c: Likewise.
34702         * elf/tst-auditmod5b.c: Likewise.
34703         * elf/tst-auditmod6b.c: Likewise.
34704         * elf/tst-auditmod6c.c: Likewise.
34705         * elf/tst-auditmod7b.c: Likewise.
34706         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34707         * sysdeps/x86_64/preconfigure.in: Likewise.
34708         * sysdeps/x86_64/preconfigure: Regenerated.
34710 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34712         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34713         __ILP32__.
34715 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34718         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34720 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34722         [BZ #13973]
34723         * locale/iso-639.def: Fix gl language name. Spotted by
34724         Yaron Shahrabani.
34726 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34728         [BZ #2074]
34729         * libio/libio.h (__io_write_fn): Update comment.
34731 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34733         [BZ #2074]
34734         * stdio.texi (Hook Functions): The user provided writer function
34735         is not allowed to return -1.
34737 2012-04-11  David S. Miller  <davem@davemloft.net>
34739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34741 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34743         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34744         Add a leading slash to rtkaio.
34746 2012-04-11  Jim Meyering  <meyering@redhat.com>
34748         [BZ #11959]
34749         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34750         It is not necessarily an error to ignore fwrite's return
34751         value.  One can reliably use ferror to test for errors after
34752         the fact.
34754 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34756         * bits/types.h (__snseconds_t): New type.
34757         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34759         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34761         (__SNSECONDS_T_TYPE): Likewise.
34762         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34763         (__SNSECONDS_T_TYPE): Likewise.
34764         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34765         (__SNSECONDS_T_TYPE): Likewise.
34767 2012-04-10  Andreas Jaeger  <aj@suse.de>
34769         [BZ #2636]
34770         * manual/time.texi (Processor Time): Return type of times is
34771         elapsed real time since an arbitrary point in the past.
34772         (CPU Time): Move CLK_TCK from here...
34773         (Processor Time): ...to here.  Correct description.
34774         * manual/conf.texi (Constants for Sysconf): Correct description of
34775         _SC_CLK_TCK.
34777 2012-04-10  David S. Miller  <davem@davemloft.net>
34779         [BZ #13967]
34780         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34781         where the is a gap between DT_REL(A) and DT_JMPREL.
34783 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34785         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34786         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34787         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34789 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34791         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34792         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34793         (dl_main): Handle --inhibit-cache.
34794         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34795         _dl_inhibit_cache.
34796         * elf/dl-load.c (_dl_map_object): Use it.
34797         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34799 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34801         [BZ #13872]
34802         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34803         (__ieee754_powl): Saturate large exponents rather than testing for
34804         overflow of y*log2(x).
34805         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34806         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34807         exceptions.
34809         [BZ #11521]
34810         * math/s_ctan.c: Include <float.h>.
34811         (__ctan): Avoid internal overflow or cancellation in calculating
34812         denominator.
34813         * math/s_ctanf.c: Likewise.
34814         * math/s_ctanl.c: Likewise.
34815         * math/s_ctanh.c: Likewise.
34816         * math/s_ctanhf.c: Likewise.
34817         * math/s_ctanhl.c: Likewise.
34818         * math/libm-test.inc (ctan_test): Add more tests.
34819         (ctanh_test): Likewise.
34820         * sysdeps/i386/fpu/libm-test-ulps: Update.
34821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34823 2012-04-09  Andreas Jaeger  <aj@suse.de>
34825         [BZ #6894]
34826         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34827         is an optional BSD extension.
34829         [BZ #10254]
34830         * manual/stdio.texi (Opening Streams): Document additional fopen
34831         parameters.
34833 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34835         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34836         %eax without telling the compiler.
34838 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34840         [BZ # 13963]
34841         * manual/install.texi: Use sourceware.org.
34843 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34845         [BZ #13873]
34846         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34847         (__ieee754_pow): Generate overflow and underflow using huge*huge
34848         and tiny*tiny rather than just returning constant infinity or zero
34849         for large exponents.
34850         * math/libm-test.inc (pow_test): Require overflow exceptions for
34851         applicable cases of large exponents.
34853         [BZ #706]
34854         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34855         (__ieee754_pow): Use iterative multiplication algorithm only for
34856         integer exponents with absolute value below 1024.  Check for odd
34857         integer exponents when using algorithm for real exponents.
34858         * math/libm-test.inc (pow_test): Add more tests.
34859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34861 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34863         [BZ #13705]
34864         * math/libm-test.inc (exp_test): Do not allow overflow exception
34865         on underflow test.
34867 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34869         [BZ #13705]
34870         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34871         instead of __kernel_standard_f.
34873 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34875         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34876         * sysdeps/x86_64/memset_chk.S: Likewise.
34878 2012-04-08  Andreas Jaeger  <aj@suse.de>
34880         [BZ #10153]
34881         * manual/startup.texi (Environment Access): Describe return value
34882         for putenv and setenv.
34884         [BZ #6895]
34885         * manual/filesys.texi (Directory Entries): Add description for
34886         DT_LNK.
34888         [BZ #6890]
34889         * manual/filesys.texi (Directory Entries): Clarify that it's file
34890         system not operating system in the description of DT_UNKNOWN.
34892         [BZ #6578]
34893         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34895 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34897         [BZ #6649]
34898         * manual/llio.texi (Opening and Closing Files): Add cross
34899         reference to explain mode argument.
34901 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34903         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34904         * sysdeps/x86_64/memset_chk.S: Likewise.
34906 2012-04-07  David S. Miller  <davem@davemloft.net>
34908         * elf/elf.h (R_SPARC_WDISP10): Define.
34909         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34910         R_SPARC_SIZE32.
34911         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34912         R_SPARC_SIZE64 and R_SPARC_H34.
34914 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34916         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34917         conditions and remove no longer applicable assertion.
34919 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34921         * bits/byteswap.h: Include <features.h>.
34922         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34923         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34925 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34927         * bits/byteswap.h (__bswap_16): Removed.
34928         Include <bits/byteswap-16.h> to get __bswap_16.
34929         * sysdeps/i386/bits/byteswap.h: Likewise.
34930         * sysdeps/s390/bits/byteswap.h: Likewise.
34931         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34932         * bits/byteswap-16.h: New file.
34933         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34934         * sysdeps/s390/bits/byteswap-16.h: Likewise.
34935         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34936         * string/Makefile (headers): Add bits/byteswap-16.h.
34938 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34940         [BZ #13895]
34941         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34942         extra indirection.
34943         * nss/Makefile (tests-static, tests): Add tst-nss-static.
34944         * nss/tst-nss-static.c: New.
34946 2012-04-06  Robert Millan  <rmh@gnu.org>
34948         [BZ #6486]
34949         * manual/llio.texi (File Position Primitive): lseek
34950         refers to WHENCE when it really means OFFSET.
34952 2012-04-06  Andreas Jaeger  <aj@suse.de>
34954         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34955         strncmp declarations.
34957         * abilist/libc.abilist: Add __poll and __ppoll.
34959 2012-04-05  David S. Miller  <davem@davemloft.net>
34961         * scripts/check-local-headers.sh: Accept a host triplet in the
34962         path matched by the exclude regexp.
34964         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34965         definition.
34966         * sysdeps/powerpc/powerpc32/dl-machine.h
34967         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34968         * sysdeps/s390/s390-32/dl-machine.h
34969         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34970         * sysdeps/sparc/sparc32/dl-machine.h
34971         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34972         * sysdeps/sparc/sparc64/dl-machine.h
34973         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34975         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34976         lazy binding.
34977         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34978         undefined symbol errors.
34980         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34981         DT_NEEDED entries.
34983 2012-04-05  Michael Matz  <matz@suse.de>
34985         [BZ #13592]
34986         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34988 2012-04-05  Andreas Jaeger  <aj@suse.de>
34990         [BZ #13908]
34991         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34992         comment.
34994 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34996         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34997         which ROUND is no valid rounding mode.
34999 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35001         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35002         read again.
35003         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35005 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35007         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35008         an exception using FPU order intentionally.
35010 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35012         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35013         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35014         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35015         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35017 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35019         [BZ #12340]
35020         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35021         EINVAL when BUFLEN is too smal.
35023 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35025         [BZ #13553]
35026         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35027         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35029 2012-04-03  Andreas Jaeger  <aj@suse.de>
35031         [BZ #13938]
35032         * manual/setjmp.texi (System V contexts): Fix sentence.
35034         [BZ #13926]
35035         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35036         New macro for this case.
35037         [!__GNUC__] (__bswap_64): New inline function for this case.
35038         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35039         * bits/byteswap.h: Likewise.
35040         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35041         ull, guard with __GLIBC_HAVE_LONG_LONG.
35043         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35044         __GLIBC_HAVE_LONG_LONG.
35046         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35047         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35049 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35051         [BZ #13691]
35052         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35053         inptr and inend, rather than using last_ch.
35055 2012-04-02  David S. Miller  <davem@davemloft.net>
35057         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35058         * stdio-common/printf-parse.h (read_int): Change return type to
35059         'int', return -1 on INT_MAX overflow.
35060         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35061         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35062         overflows INT_MAX.  Check for overflow of in-format-string precision
35063         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35064         SIZE_MAX not INT_MAX for integer overflow test.
35065         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35066         skip the construct in the format string but do not record anything.
35067         * stdio-common/bug22.c: Adjust to test both width/prevision
35068         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35069         explicitly for proper errno values.
35071 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35073         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35074         CHAR_MAX.
35075         * string/test-strcmp.c [! WIDE]: Likewise.
35076         * time/tst-mktime2.c: Likewise for INT_MAX.
35077         * string/test-string.h: #include <sys/param.h> for MIN.
35079         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35080         * sysdeps/i386/init-first.c (init): Likewise.
35081         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35082         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35083         * sysdeps/sh/init-first.c (init): Likewise.
35085 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35087         * po/ru.po: Update from translation team.
35088         * po/vi.po: Likewise.
35090 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35092         * resolv/nss_dns/dns-host.c: Merge copyright years.
35094 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35096         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35097         Optimize memcpy with prefetch if
35098         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35099         src, dst pointers have unequal 16 byte alignments.
35101 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35103         [BZ #13928]
35104         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35105         from a CNAME entry and return the minimum ttl for the query.
35106         (gaih_getanswer_slice): Likewise.
35108 2012-03-30  Jeff Law  <law@redhat.com>
35110         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35111         due to long keys.
35112         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35113         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35115         * resolv/nss_dns/dns-host.c: Update copyright year.
35117 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35119         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35120         requests to save a system call.  Fix check that all bytes are sent.
35122         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35123         comments for sendmmsg.
35125 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35127         [BZ #13691]
35128         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35129         with only 1 character between 0x0041 and 0x01b0.
35130         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35131         * wcsmbs/tst-mbsnrtowcs.c: New file.
35133 2012-03-29  David S. Miller  <davem@davemloft.net>
35135         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35136         small copies by hand.
35138 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35140         [BZ #13761]
35141         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35142         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35143         group memberships.
35145 2012-03-28  David S. Miller  <davem@davemloft.net>
35147         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35148         that branches into memcpy.
35149         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35151         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35152         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35154         bits.
35155         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35156         implementation too.
35157         * sysdeps/sparc/mempcpy.S: New file.
35159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35160         the IFUNC routine in the libc case.
35161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35163         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35164         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35165         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35166         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35167         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35168         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35169         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35170         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35172         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35173         loop to 256 bytes instead of 64 bytes and fix test signedness.
35175         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35176         * sysdeps/sparc/sparc32/Makefile: rather than here...
35177         * sysdeps/sparc/sparc64/Makefile: and here.
35179 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35181         * malloc/mallocbug.c: Avoid warnings about unused variables.
35183 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35185         [BZ #13760]
35186         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35187         in the right place. Discard and retry query if response is
35188         larger than input buffer size.
35190 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35192         [BZ #369]
35193         [BZ #2678]
35194         [BZ #3866]
35195         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35196         x for large integer exponent.
35197         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35198         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35199         sign of result as needed afterwards.
35200         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35201         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35202         result for underflowing pow the same as for overflow.
35203         (__kernel_standard_l): Handle powl overflow and underflow here
35204         rather than calling __kernel_standard.
35205         * math/libm-test.inc (pow_test): Add more tests.
35207         [BZ #3868]
35208         [BZ #13879]
35209         [BZ #13910]
35210         [BZ #13911]
35211         [BZ #13912]
35212         [BZ #13913]
35213         [BZ #13915]
35214         [BZ #13916]
35215         [BZ #13917]
35216         [BZ #13918]
35217         [BZ #13919]
35218         [BZ #13920]
35219         [BZ #13921]
35220         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35221         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35222         (__kernel_standard_l): New function.
35223         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35224         __kernel_standard.
35225         * math/w_acosl.c (__acosl): Likewise.
35226         * math/w_asinl.c (__asinl): Likewise.
35227         * math/w_atan2l.c (__atan2l): Likewise.
35228         * math/w_atanhl.c (__atanhl): Likewise.
35229         * math/w_coshl.c (__coshl): Likewise.
35230         * math/w_exp10l.c (__exp10l): Likewise.
35231         * math/w_exp2l.c (__exp2l): Likewise.
35232         * math/w_fmodl.c (__fmodl): Likewise.
35233         * math/w_hypotl.c (__hypotl): Likewise.
35234         * math/w_j0l.c (__j0l, __y0l): Likewise.
35235         * math/w_j1l.c (__j1l, __y1l): Likewise.
35236         * math/w_jnl.c (__jnl, __ynl): Likewise.
35237         * math/w_lgammal.c (__lgammal): Likewise.
35238         * math/w_log10l.c (__log10l): Likewise.
35239         * math/w_log2l.c (__log2l): Likewise.
35240         * math/w_logl.c (__logl): Likewise.
35241         * math/w_powl.c (__powl): Likewise.
35242         * math/w_remainderl.c (__remainderl): Likewise.
35243         * math/w_scalbl.c (sysv_scalbl): Likewise.
35244         * math/w_sinhl.c (__sinhl): Likewise.
35245         * math/w_sqrtl.c (__sqrtl): Likewise.
35246         * math/w_tgammal.c (__tgammal): Likewise.
35247         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35248         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35249         * math/libm-test.inc (acos_test): Add more tests.
35250         (acosh_test): Likewise.
35251         (asin_test): Likewise.
35252         (atanh_test): Likewise.
35253         (exp_test): Likewise.
35254         (exp10_test): Likewise.
35255         (exp2_test): Likewise.
35256         (expm1_test): Likewise.
35257         (lgamma_test): Likewise.
35258         (log_test): Likewise.
35259         (log10_test): Likewise.
35260         (log1p_test): Likewise.
35261         (log2_test): Likewise.
35262         (pow_test): Do not allow some spurious overflow exceptions.
35263         (sqrt_test): Add more tests.
35264         (tgamma_test): Likewise.
35265         (y0_test): Likewise.
35266         (y1_test): Likewise.
35267         (yn_test): Likewise.
35269 2012-03-27  Anton Blanchard  <anton@samba.org>
35271         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35272         MAP_HUGETLB.
35273         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35274         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35275         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35277 2012-03-27  David S. Miller  <davem@davemloft.net>
35279         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35281         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35282         have-as-vis3 check.
35284 2012-03-27  Andreas Jaeger  <aj@suse.de>
35286         * sysdeps/x86_64/elf/configure.in: Moved to ...
35287         * sysdeps/x86_64/configure.in: ... here.
35288         * sysdeps/x86_64/elf/start.S: Moved to ...
35289         * sysdeps/x86_64/start.S: ... here.
35290         * sysdeps/x86_64/elf/configure: Delete.
35292         * sysdeps/x86_64/configure.in: Merge contents from
35293         sysdeps/i386/configure.in (without i686 check).
35295         * sysdeps/i386/elf/Versions: Merge into ...
35296         * sysdeps/i386/Versions: ... this.
35297         * sysdeps/i386/elf/Versions: Delete file.
35298         * sysdeps/i386/elf/start.S: Moved to ...
35299         * sysdeps/i386/start.S: ...here.
35300         * sysdeps/i386/elf/configure.in: Merge into...
35301         * sysdeps/i386/configure.in: ...here.
35302         * sysdeps/i386/elf/configure.in: Delete file.
35303         * sysdeps/i386/elf/configure: Delete file.
35305         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35306         * debug/backtracesyms.c: ... here.
35307         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35308         * debug/backtracesymsfd.c: ... here.
35309         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35310         * sysdeps/generic/ifunc-sel.h: ... here.
35312         * sysdeps/unix/i386/start.c: Delete file.
35313         * sysdeps/unix/sparc/start.c: Delete file.
35314         * sysdeps/unix/start.c: Delete file.
35316         * sysdeps/sh/elf/configure.in: Moved to ...
35317         * sysdeps/sh/configure.in: ... here.
35318         * sysdeps/sh/elf/start.S: Moved to ...
35319         * sysdeps/sh/start.S: ... here.
35320         * sysdeps/sh/elf/configure: Delete file.
35322         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35323         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35324         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35325         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35326         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35327         * sysdeps/powerpc/powerpc64/start.S: here.
35328         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35329         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35330         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35331         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35332         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35334         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35335         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35336         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35337         * sysdeps/powerpc/powerpc32/start.S: ... here.
35338         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35339         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35340         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35342         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35343         * sysdeps/powerpc/ifunc-sel.h: ... here.
35344         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35345         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35347         * sysdeps/sparc/elf/configure.in: Moved to ...
35348         * sysdeps/sparc/configure.in: ... here.
35349         * sysdeps/sparc/elf/configure: Delete file.
35350         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35351         * sysdeps/sparc/sparc32/start.S: ... here.
35352         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35353         * sysdeps/sparc/sparc64/start.S: ... here.
35354         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35355         * sysdeps/sparc/sparc32/Makefile: ... this.
35356         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35357         * sysdeps/sparc/sparc64/Makefile: ... this.
35359         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35360         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35361         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35362         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35363         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35364         * sysdeps/s390/s390-32/setjmp.S: ... here.
35365         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35366         * sysdeps/s390/s390-32/configure.in: ... here.
35367         * sysdeps/s390/s390-32/elf/configure: Delete file.
35368         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35369         * sysdeps/s390/s390-32/start.S: ... here.
35371         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35372         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35373         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35374         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35375         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35376         * sysdeps/s390/s390-64/setjmp.S: ... here.
35377         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35378         * sysdeps/s390/s390-64/configure.in: ... here
35379         * sysdeps/s390/s390-64/elf/configure: Delete file.
35380         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35381         * sysdeps/s390/s390-64/start.S: ... here.
35382         * sysdeps/s390/s390-64/elf/configure: Delete.
35384         * configure.in: Remove support for elf directories in sysdeps.
35386         * configure: Regenerated.
35387         * sysdeps/i386/configure: Regenerated.
35388         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35389         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35390         * sysdeps/s390/s390-32/configure: Regenerated.
35391         * sysdeps/s390/s390-64/configure: Regenerated.
35392         * sysdeps/sh/configure: Regenerated.
35393         * sysdeps/sparc/configure: Regenerated.
35394         * sysdeps/x86_64/configure: Regenerated.
35396 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35400         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35401         denormal result into account.
35403 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35405         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35406         Reported by Allan McRae <allan@archlinux.org>.
35408 2012-03-23  Jeff Law  <law@redhat.com>
35410         * nss/getnssent.c (__nss_getent): Fix typo.
35412 2012-03-23  David S. Miller  <davem@davemloft.net>
35414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35416 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35418         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35419         to pad to uint64_t for each field.
35420         (dl_tls_index): Replace unsigned long with uint64_t.
35422 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35423         Paul Pluzhnikov  <ppluzhnikov@google.com>
35425         [BZ #6528]
35426         * grp/Makefile (otherlibs): Don't set it.
35427         * inet/Makefile (otherlibs): Likewise.
35428         * login/Makefile (otherlibs): Likewise.
35429         * nscd/Makefile (otherlibs): Likewise.
35430         * posix/Makefile (otherlibs): Likewise.
35431         * pwd/Makefile (otherlibs): Likewise.
35432         * rt/Makefile (otherlibs): Likewise.
35433         * sunrpc/Makefile (otherlibs): Likewise.
35434         * nss/Makefile (otherlibs): Likewise.
35435         Add libnss_files to routines and static-only-routines.
35436         ($(objpfx)getent): Remove rule.
35437         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35438         static-only-routines.
35440 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35442         [BZ #13892]
35443         * math/s_cexp.c: Include <float.h>.
35444         (__cexp): Handle exp result overflowing not necessarily
35445         overflowing both real and imaginary parts of result.
35446         * math/s_cexpf.c: Likewise.
35447         * math/s_cexpl.c: Likewise.
35448         * math/libm-test.inc (cexp_test): Add more tests.
35449         * sysdeps/i386/fpu/libm-test-ulps: Update.
35450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35452 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35454         * include/link.h (ELFW): New macro.
35455         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35456         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35458 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35460         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35461         with uint64_t.
35463 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35465         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35466         declaration.
35467         (struct La_x32_retval): Likewise.
35469 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35471         * sysdeps/x86_64/preconfigure.in: New file.
35472         * sysdeps/x86_64/preconfigure: New generated file.
35474 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35476         [BZ #13824]
35477         * math/e_exp2l.c: Include <float.h>.
35478         (__ieee754_exp2l): Handle overflow and underflow cases
35479         separately.  Only pass fractional part of argument to
35480         __ieee754_expl.
35481         * math/libm-test.inc (exp2_test): Add more tests.
35483         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35484         negating x to take absolute value.
35485         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35486         Likewise.
35487         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35488         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35489         Likewise.
35490         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35491         computing low part if x was negated.
35492         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35494 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35496         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35497         la_x32_gnu_pltexit.
35498         (pltexit): Cast int_retval to ptrdiff_t.
35499         * elf/tst-auditmod3b.c: Likewise.
35500         * elf/tst-auditmod4b.c: Likewise.
35501         * elf/tst-auditmod5b.c: Likewise.
35502         * elf/tst-auditmod6b.c: Likewise.
35503         * elf/tst-auditmod6c.c: Likewise.
35504         * elf/tst-auditmod7b.c: Likewise.
35506         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35507         and x32_gnu_pltexit.
35509         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35510         __ELF_NATIVE_CLASS.
35511         (La_x32_regs): New macro.
35512         (La_x32_retval): Likewise.
35513         (la_x32_gnu_pltenter): New function prototype.
35514         (la_x32_gnu_pltexit): Likewise.
35516 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35519         exponent.
35521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35523         * configure.in (libc_cv_cc_nofma): Check for option to disable
35524         generation of FMA instructions.
35525         * configure: Regenerate.
35526         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35527         * sysdeps/ieee754/dbl-64/Makefile: New file.
35528         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35529         Remove brandred-fma4.
35530         (CFLAGS-brandred-fma4.c): Remove.
35531         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35532         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35533         define.
35534         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35535         define.
35537 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35539         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35540         LLONG_MAX != LONG_MAX.
35541         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35542         (_fitoa_word): Likewise.
35543         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35544         LLONG_MAX != LONG_MAX.
35545         * stdio-common/_itowa.h: Include <_itoa.h>.
35546         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35547         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35548         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35549         only if not defined.
35550         (_ITOA_WORD_TYPE): Likewise.
35551         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35552         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35554 2012-03-21  David S. Miller  <davem@davemloft.net>
35556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35558 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35560         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35561         of x86_64 when setting libc_cv_slibdir, libdir and
35562         libc_cv_localedir.
35563         * sysdeps/unix/sysv/linux/configure: Regenerated.
35565 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35567         * manual/lang.texi (Old Varargs): Remove section.
35568         (How Variadic): Update menu.
35569         (va_start): Do not mention varargs.h.
35571 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35572             Joseph Myers  <joseph@codesourcery.com>
35574         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35575         link test.
35576         * configure: Regenerated.
35578 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35580         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35581         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35582         conformtest.pl
35584 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35586         * NOTES: Remove.
35587         * Makefile (files-for-dist): Remove NOTES.
35588         (NOTES): Remove rule.
35589         * README: Don't refer to NOTES.
35590         * manual/creature.texi: Don't include macros.texi.
35591         * manual/intro.texi (creature.texi): Remove comment referring to
35592         NOTES.
35594         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35595         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35596         * configure: Regenerated.
35597         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35598         LIBC_TRY_CC_OPTION.
35599         (libc_cv_as_i686): Likewise.
35600         (libc_cv_cc_avx): Likewise.
35601         (libc_cv_cc_sse2avx): Likewise.
35602         (libc_cv_cc_fma4): Likewise.
35603         (libc_cv_cc_novzeroupper): Likewise.
35604         * sysdeps/i386/configure: Regenerated.
35606         [BZ #13883]
35607         * sysdeps/i386/fpu/s_cexp.S: Remove.
35608         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35609         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35610         * math/libm-test.inc (cexp_test): Add more tests.
35611         * sysdeps/i386/fpu/libm-test-ulps: Update.
35612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35614 2012-03-21  Allan McRae  <allan@archlinux.org>
35616         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35618 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35620         [BZ #13871]
35621         * math/w_exp2.c: Do not include <float.h>.
35622         (o_threshold, u_threshold): Remove.
35623         (__exp2): Calculate result before checking finiteness and calling
35624         __kernel_standard.
35625         * math/w_exp2f.c: Likewise.
35626         * math/w_exp2l.c: Likewise.
35627         * math/libm-test.inc (exp2_test): Require overflow exception for
35628         1e6 input.
35630         [BZ #3866]
35631         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35632         range of signed 64-bit integers before using fistpll.  Remove
35633         checks for whether integers fit in mantissa bits.
35634         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35635         the range of signed 32-bit integers before using fistpl.  Remove
35636         checks for whether integers fit in mantissa bits.
35637         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35638         (__ieee754_powl): Test for y outside the range of signed 64-bit
35639         integers before using fistpll.  Reduce 64-bit values to 63-bit
35640         ones as needed.
35641         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35642         divide-by-zero is raised for zero to large negative powers.
35643         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35644         (__ieee754_powl): Test for y outside the range of signed 64-bit
35645         integers before using fistpll.  Reduce 64-bit values to 63-bit
35646         ones as needed.
35647         * math/libm-test.inc (pow_test): Add more tests.
35649 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35651         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35652         <stdio-common/_itoa.h>.
35653         * debug/segfault.c: Likewise.
35654         * elf/dl-cache.c: Likewise.
35655         * elf/dl-minimal.c: Likewise.
35656         * elf/dl-misc.c: Likewise.
35657         * elf/dl-sysdep.c: Likewise.
35658         * elf/dl-version.c: Likewise.
35659         * elf/rtld.c: Likewise.
35660         * hurd/hurdsock.c: Likewise.
35661         * hurd/lookup-retry.c: Likewise.
35662         * malloc/malloc.c: Likewise.
35663         * malloc/mtrace.c: Likewise.
35664         * nscd/nscd_getgr_r.c: Likewise.
35665         * nscd/nscd_getpw_r.c: Likewise.
35666         * nscd/nscd_getserv_r.c: Likewise.
35667         * posix/getopt_init.c: Likewise.
35668         * posix/wordexp.c: Likewise.
35669         * stdio-common/_itoa.c: Likewise.
35670         * stdio-common/printf_fphex.c: Likewise.
35671         * stdio-common/vfprintf.c: Likewise.
35672         * string/_strerror.c: Likewise.
35673         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35674         * sysdeps/i386/i686/hp-timing.h: Likewise.
35675         * sysdeps/mach/_strerror.c: Likewise.
35676         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35677         * sysdeps/mach/hurd/sethostid.c: Likewise.
35678         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35679         * sysdeps/mach/xpg-strerror.c: Likewise.
35680         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35681         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35682         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35683         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35684         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35685         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35686         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35687         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35688         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35689         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35690         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35691         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35692         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35693         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35694         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35695         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35696         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35697         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35698         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35699         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35700         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35702         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35704         * stdio-common/_itoa.h: Moved to ...
35705         * sysdeps/generic/_itoa.h: Here.
35707         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35709         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35710         instead of "_itoa.h" and "_itowa.h".
35711         * stdio-common/vfprintf.: Likewise.
35713 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35715         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35716         <bits/wordsize.h>.
35717         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35718         (__signbit): Likwise.
35719         (llrintf): Likwise.
35720         (llrint): Likwise.
35722 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35724         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35725         __WORDSIZE != 64.
35727 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35729         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35730         OVERFLOW_EXCEPTION_OK.
35731         * math/libm-test.inc ("Philosophy"): Update comment about
35732         exception testing.
35733         (OVERFLOW_EXCEPTION): Define.
35734         (OVERFLOW_EXCEPTION_OK): Likewise.
35735         (INVALID_EXCEPTION_OK): Renumber.
35736         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35737         (IGNORE_ZERO_INF_SIGN): Likewise.
35738         (test_exceptions): Handle FE_OVERFLOW.
35739         (exp10_test): Expect overflow exceptions.
35740         (exp2_test): Likewise.
35741         (expm1_test): Likewise.
35742         (nextafter_test): Likewise.
35743         (pow_test): Likewise.
35744         (scalbn_test): Likewise.
35745         (scalbln_test): Likewise.
35747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35749         * sysdeps/x86_64/bits/atomic.h
35750         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35751         64bit integer.
35752         (atomic_exchange_acq): Likewise.
35753         (__arch_exchange_and_add_body): Likewise.
35754         (__arch_add_body): Likewise.
35755         (atomic_add_negative): Likewise.
35756         (atomic_add_zero): Likewise.
35758 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35760         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35761         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35763 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35765         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35766         Check __x86_64__ instead of __WORDSIZE.
35768 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35770         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35772 2012-03-19  David S. Miller  <davem@davemloft.net>
35774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35776         * sysdeps/sparc/fpu/fenv_private.h: New file.
35777         * sysdeps/sparc/fpu/math_private.h: Use it.
35778         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35779         Remove.
35780         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35781         (libc_feholdexcept_setroundl): Remove.
35782         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35783         Remove.
35784         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35785         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35787 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35789         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35790         int64_t instead of long int.
35791         (INSERT_WORDS64): Likwise.
35793 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35795         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35796         _Unwind_GetCFA return to _Unwind_Ptr first.
35798 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35800         [BZ #13629]
35801         * math/s_clog.c: Include <float.h>.
35802         (__clog): Scale large or subnormal inputs.
35803         * math/s_clogf.c: Likewise.
35804         * math/s_clogl.c: Likewise.
35805         * math/s_clog10.c: Include <float.h>.
35806         (M_LOG10_2): Define.
35807         (__clog10): Scale large or subnormal inputs.
35808         * math/s_clog10f.c: Likewise.
35809         * math/s_clog10l.c: Likewise.
35810         * math/libm-test.inc (clog_test): Add more tests.
35811         (clog10_test): Likewise.
35812         * sysdeps/i386/fpu/libm-test-ulps: Update.
35813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35815         [BZ #11451]
35816         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35817         x and y.
35818         * math/libm-test.inc (atan2_test): Add another test.
35820         * Makerules (common-objdir-compile): Remove.
35821         * sysdeps/unix/Makefile (config-generated): Do not add
35822         $(unix-generated) to variable.
35823         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35824         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35825         Remove rule.
35826         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35827         Likewise.
35828         [generic bits/local_lim.h] (before-compile): Do not append to
35829         variable.
35830         [generic bits/local_lim.h] (common-generated): Likewise.
35831         [generic sys/param.h] (before-compile): Do not append to variable.
35832         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35833         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35834         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35835         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35836         include.
35837         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35838         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35839         [generic sys/param.h] ($(addprefix
35840         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35841         [generic sys/param.h] (common-generated): Do not append to
35842         variable.
35843         [generic sys/param.h] (sysdep_headers): Likewise.
35844         [generic bits/errno.h] (before-compile): Do not append to
35845         variable.
35846         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35847         rule.
35848         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35849         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35850         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35851         [generic bits/errno.h] (common-generated): Do not append to
35852         variable.
35853         [generic bits/ioctls.h] (before-compile): Do not append to
35854         variable.
35855         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35856         rule.
35857         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35858         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35859         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35860         rule.
35861         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35862         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35863         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35864         [generic bits/ioctls.h] (common-generated): Do not append to
35865         variable.
35866         [generic sys/syscall.h] (syscall.h): Remove variable.
35867         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35868         rule.
35869         [generic sys/syscall.h] (before-compile): Do not append to
35870         variable.
35871         [generic sys/syscall.h] (common-generated): Likewise.
35872         * sysdeps/unix/errnos-tmpl.c: Remove file.
35873         * sysdeps/unix/errnos.awk: Likewise.
35874         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35875         * sysdeps/unix/ioctls.awk: Likewise.
35876         * sysdeps/unix/mk-local_lim.c: Likewise.
35877         * sysdeps/unix/snarf-ioctls: Likewise.
35879 2012-03-19  Richard Henderson  <rth@twiddle.net>
35881         * sysdeps/i386/fpu/fenv_private.h: New file.
35882         * sysdeps/i386/fpu/math_private.h: Use it.
35883         (math_opt_barrier, math_force_eval): Remove.
35884         (libc_feholdexcept_setround_53bit): Remove.
35885         (libc_feupdateenv_53bit): Remove.
35886         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35887         (math_opt_barrier, math_force_eval): Remove.
35888         (libc_feholdexcept): Remove.
35889         (libc_feholdexcept_setround): Remove.
35890         (libc_fetestexcept, libc_fesetenv): Remove.
35891         (libc_feupdateenv_test): Remove.
35892         (libc_feupdateenv, libc_feholdsetround): Remove.
35893         (libc_feresetround): Remove.
35895         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35896         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35898         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35899         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35900         (libc_feupdateenv_testl): New.
35901         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35902         (libc_feupdateenv_testf): New.
35903         (libc_feupdateenv): Use libc_feupdateenv_test.
35904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35905         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35907         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35908         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35909         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35910         (libc_feresetround_noex): New.
35911         (libc_feresetround_noexf): New.
35912         (libc_feresetround_noexl): New.
35913         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35914         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35915         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35916         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35917         SET_RESTORE_ROUND.
35918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35919         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35920         (__cos): Likewise.
35921         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35922         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35923         SET_RESTORE_ROUND_NOEX.
35924         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35925         SET_RESTORE_ROUND_NOEXF.
35926         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35927         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35928         (libc_feholdsetroundf): New.
35929         (libc_feresetround, libc_feresetroundf): New.
35931         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35932         (libc_feholdexcept_setround_53bit): Convert from macro to function.
35933         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
35935         * sysdeps/generic/math_private.h: Include <fenv.h>.
35936         (default_libc_feholdexcept): New.
35937         (default_libc_feholdexcept_setround): New.
35938         (default_libc_fesetenv, default_libc_feupdateenv): New.
35939         (libc_feholdexcept): Only define if undefined.
35940         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35941         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35942         (libc_feholdexcept_setroundl): Likewise.
35943         (libc_feholdexcept_setround_53bit): Likewise.
35944         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35945         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35946         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35947         (libc_feupdateenv_53bit): Likewise.
35948         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35949         (libc_feholdexcept): Convert from macro to inline function.
35950         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35951         (libc_fesetenv, libc_feupdateenv): Likewise.
35953         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35954         not previously defined.
35955         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35956         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35957         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35958         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35959         * sysdeps/ieee754/flt-32/math_private.h: New file.
35960         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35961         math_private.h below SET_FLOAT_WORD.
35962         (__isnan, __isinf_ns, __finite): Remove.
35963         (__isnanf, __isinf_nsf, __finitef): Remove.
35965 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
35967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35969 2012-03-17  David S. Miller  <davem@davemloft.net>
35971         [BZ #6471]
35972         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35973         for 2.16.
35975 2012-03-16  David S. Miller  <davem@davemloft.net>
35977         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35978         warnings.
35980         [BZ #6471]
35981         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35982         properly.
35983         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35984         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35985         sysdep_routines when subdir is sysvipc.
35986         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35987         __getshmlba helper.
35989         * sysdeps/sparc/fpu/libm-test/ulps: Update.
35991 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35993         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35994         [__LP64__].
35996 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35998         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35999         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36000         (__lround): Renamed to ...
36001         (__llround): This.  Replace long int with long long int.
36002         Define lround functions as aliases of llround functions.
36003         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36005 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36007         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36008         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36009         adresses to uintptr_t.  Replace "long int" and "unsigned long
36010         int" with "greg_t" on va_arg.
36012 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36014         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36015         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36017         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36018         Move e_machine check before EI_CLASS check.  Handle x32
36019         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36020         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36021         SKIP_EM_IA_64 and include
36022         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36024         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36025         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36026         (add_system_dir): New macro.
36028         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36029         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36031 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36033         [BZ #2551]
36034         [BZ #2552]
36035         [BZ #2553]
36036         [BZ #2554]
36037         [BZ #2562]
36038         [BZ #2563]
36039         [BZ #2565]
36040         [BZ #2566]
36041         [BZ #2576]
36042         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36043         (y0): Likewise.
36044         * math/w_j0f.c (j0f): Likewise.
36045         (y0f): Likewise.
36046         * math/w_j0l.c (__j0l): Likewise.
36047         (__y0l): Likewise.
36048         * math/w_j1.c (j1): Likewise.
36049         (y1): Likewise.
36050         * math/w_j1f.c (j1f): Likewise.
36051         (y1f): Likewise.
36052         * math/w_j1l.c (__j1l): Likewise.
36053         (__y1l): Likewise.
36054         * math/w_jn.c (jn): Likewise.
36055         (yn): Likewise.
36056         * math/w_jnf.c (jnf): Likewise.
36057         (ynf): Likewise.
36058         * math/w_jnl.c (__jnl): Likewise.
36059         (__ynl): Likewise.
36060         * math/libm-test.inc (j0_test): Add more tests.
36061         (j1_test): Likewise.
36062         (jn_test): Likewise.  Add trailing semicolon to existing test.
36063         (y0_test): Likewise.
36064         (y1_test): Likewise.
36065         * sysdeps/i386/fpu/libm-test-ulps: Update.
36066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36068         [BZ #13851]
36069         [BZ #13854]
36070         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36071         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36072         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36073         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36074         (__tanl): Set errno for infinite argument.
36075         * sysdeps/i386/fpu/mptan.c: Remove.
36076         * sysdeps/i386/fpu/s_tan.S: Likewise.
36077         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36078         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36079         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36080         * math/libm-test.inc (tan_test): Add more tests and enable more
36081         tests for double and long double.
36082         * sysdeps/i386/fpu/libm-test-ulps: Update.
36083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36085 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36087         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36088         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36090 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36092         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36093         * configure.in: Use it for both main tree and add-ons.
36094         * configure: Regenerated.
36096 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36098         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36100 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36102         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36103         in comment.
36105         [BZ #13851]
36106         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36107         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36108         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36109         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36110         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36111         infinite argument.
36112         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36113         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36114         != 0 for prec == 2.
36115         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36116         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36117         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36118         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36119         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36120         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36121         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36122         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36123         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36124         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36125         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36126         * math/libm-test.inc (cos_test): Add more tests and enable more
36127         tests for long double.
36128         (sin_test): Likewise.
36129         (sincos_test): Likewise.
36130         * sysdeps/i386/fpu/libm-test-ulps: Update.
36131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36133 2012-03-16  David S. Miller  <davem@davemloft.net>
36135         * sysdeps/sparc/fpu/math_private.h: New file.
36137 2012-03-15  David S. Miller  <davem@davemloft.net>
36139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36140         file.
36141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36143         file.
36144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36149         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36150         sysdep routines.
36151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36153         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36154         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36156         * sysdeps/sparc/sparc-ifunc.h: New file.
36157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36158         sparc-ifunc.h
36159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36161         Likewise.
36162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36163         Likewise.
36164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36168         Likewise.
36169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36174         Likewise.
36175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36176         Likewise.
36177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36183         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36184         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36187         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36195         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36196         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36197         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36199         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36200         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36202 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36204         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36205         scaling.
36206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36208 2012-03-15  Andreas Jaeger  <aj@suse.de>
36210         [BZ #13852]
36211         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36212         ieee754/flt-32 implementation for sin, cos and sincos.
36213         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36214         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36215         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36216         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36217         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36218         ieee754/flt-32 implementation for tan.
36220         * math/libm-test.inc (cos_test): Enable some large input tests for
36221         float as well
36222         (sin_test): Likewise.
36223         (sincos_test): Likewise.
36224         (tan_test): Add tests for large input.
36226         * sysdeps/i386/fpu/libm-test-ulps: Update.
36228 2012-03-15  Andreas Jaeger  <aj@suse.de>
36230         [BZ #13658]
36231         * math/libm-test.inc (cos_test): Add more test cases.
36232         (sin_test): Likewise.
36233         (sincos_test): Likewise.
36235 2012-03-15  Andreas Jaeger  <aj@suse.de>
36237         [BZ #13837]
36238         * math/libm-test.inc (cos_test): Add a test case for large input
36239         value.
36240         (sin_test): Likewise.
36241         (sincos_test): Likewise.
36243 2012-03-15  Andreas Jaeger  <aj@suse.de>
36244             Joseph Myers  <joseph@codesourcery.com>
36246         [BZ #13658]
36247         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36248         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36249         * sysdeps/i386/fpu/branred.c: Likewise.
36250         * sysdeps/i386/fpu/dosincos.c: Likewise.
36251         * sysdeps/i386/fpu/mpa.c: Likewise.
36252         * sysdeps/i386/fpu/s_cos.S: Likewise.
36253         * sysdeps/i386/fpu/s_sin.S: Likewise.
36254         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36255         * sysdeps/i386/fpu/sincos32.c: Likewise.
36257         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36258         Define.
36259         (libc_feupdateenv_53bit): Define.
36260         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36261         Define.
36262         (libc_feupdateenv_53bit): Define.
36264         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36265         53 bit (without extend i386 double precision).
36267         * math/libm-test.inc (sincos_test): Add tests for large input.
36268         (sin): Likewise.
36269         (cos): Likewise.
36271         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36273 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36277 2012-03-15  David S. Miller  <davem@davemloft.net>
36279         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36280         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36281         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36282         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36295         file.
36296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36298         file.
36299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36301         file.
36302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36304         file.
36305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36306         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36307         fmin/fmax sysdep routines.
36308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36310 2012-03-14  David S. Miller  <davem@davemloft.net>
36312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36316         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36317         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36318         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36324         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36325         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36332         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36333         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36336         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36337         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36340         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36341         routines.
36342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36343         file.
36344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36346         file.
36347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36349         file.
36350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36352         file.
36353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36355         file.
36356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36358         file.
36359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36360         file.
36361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36362         file.
36363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36364         file.
36365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36366         New file.
36367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36368         file.
36369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36370         file.
36371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36373         file.
36374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36376         file.
36377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36379         file.
36380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36382         VIS3 routines.
36384         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36385         New file.
36387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36389         * sysdeps/sparc/configure.in: New file.
36390         * sysdeps/sparc/configure: Generate.
36391         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36392         * configure: Regenerate.
36393         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36394         * config.make.in (have-as-vis3): New.
36395         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36396         available use -Av9d instead of -Av9a.
36397         * sysdeps/sparc/sparc64/Makefile: Likewise.
36398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36400         New file.
36401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36402         file.
36403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36404         New file.
36405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36406         file.
36407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36408         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36409         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36411         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36413         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36414         fzeros/fnegs to load 0x80000000 into a float register instead of
36415         using the stack.
36416         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36418 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36420         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36421         bits/syscall.h.
36422         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36423         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36424         ($(inst_includedir)/bits/syscall.h): Remove rule.
36425         ($(objpfx)bits/syscall.d): Include instead of
36426         $(objpfx)syscall-list.d.
36427         (generated): Change syscall-list.h and syscall-list.d to
36428         bits/syscall.h and bits/syscall.d.
36430 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36432         [BZ #13846]
36433         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36435 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36437         [BZ #13841]
36438         * math/s_csqrt.c: Include <float.h>.
36439         (__csqrt): Scale large or subnormal inputs.
36440         * math/s_csqrtf.c: Likewise.
36441         * math/s_csqrtl.c: Likewise.
36442         * math/libm-test.inc (csqrt_test): Add more tests.
36443         * sysdeps/i386/fpu/libm-test-ulps: Update.
36444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36446         [BZ #13840]
36447         * math/libm-test.inc (hypot_test): Add more tests.
36449 2012-03-13  David S. Miller  <davem@davemloft.net>
36451         [BZ #13840]
36452         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36453         double-precision for the calculation instead of scaling.
36455 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36457         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36458         manipulate bits before adding and subtracting TWO52[sx].
36459         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36460         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36461         Likewise.
36462         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36464 2012-03-13  David S. Miller  <davem@davemloft.net>
36466         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36467         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36468         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36469         rtld-global-offsets.h
36470         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36472         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36473         large parameters.
36475         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36477         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36478         'err' in the ifdef scope in which it is actually used.
36480         * nss/nss_db/db-init.c: Include string.h
36482 2012-03-12  David S. Miller  <davem@davemloft.net>
36484         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36485         masking out of the most significant byte of random value used.
36486         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36487         Fix coding style in previous change.
36489         * sysdeps/unix/sysv/linux/kernel-features.h
36490         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36491         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36492         expression.
36493         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36494         later.
36496 2012-03-11  David S. Miller  <davem@davemloft.net>
36498         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36499         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36500         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36501         for 'resultvar' otherwise things get truncated on 64-bit.
36503         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36504         Fix masking out of the most significant byte of random value used.
36506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36508 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36512 2012-03-09  David S. Miller  <davem@davemloft.net>
36514         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36515         variables with appropriate CPP guards.
36516         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36517         from the frame pointer, not the stack pointer.  Correct layout
36518         comments.  Fix test on resulting framesize and the management of
36519         the outregs buffer for pltexit.  Preserve floating point return
36520         values across _dl_call_pltexit call.
36521         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36522         framesize and the management of the outregs buffer for pltexit.
36523         Preserve floating point return values across _dl_call_pltexit
36524         call.
36525         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36526         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36527         (la_sparc64_gnu_pltexit): New functions.
36528         (print_exit): Fix format string for return register value.
36530 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36532         * sunrpc/Makefile (others): Add rpcgen.
36533         ($(objpfx)rpcgen): Remove special build rule and dependency on
36534         libc.
36535         * sunrpc/rpcgen.c: New file.
36537 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36539         [BZ #13673]
36540         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36541         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36542         * sysdeps/i386/crti.S: Likewise.
36543         * sysdeps/i386/crtn.S: Likewise.
36544         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36545         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36546         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36547         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36548         * sysdeps/sh/crti.S: Likewise.
36549         * sysdeps/sh/crtn.S: Likewise.
36550         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36552         [BZ #13673]
36553         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36554         with URL.
36555         * locale/programs/locfile-kw.gperf: Likewise.
36556         * locale/programs/charmap-kw.h: Regenerated.
36557         * locale/programs/locfile-kw.h: Likewise.
36559         [BZ #13673]
36560         * intl/plural.y: Replace FSF snail mail address with URL.
36561         * intl/plural.c: Regenerated.
36563 2012-03-09  Richard Henderson  <rth@twiddle.net>
36565         * include/math_private.h: Remove file.
36566         * math/math_private.h: Move file ...
36567         * sysdeps/generic/math_private.h: ... here.
36569         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36570         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36571         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36573         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36574         and <math_private.h>.
36575         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36576         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36577         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36578         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36579         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36580         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36581         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36582         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36583         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36584         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36585         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36586         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36587         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36588         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36589         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36590         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36591         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36592         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36593         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36594         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36596         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36597         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36599         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36600         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36601         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36602         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36603         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36604         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36605         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36606         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36607         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36608         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36609         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36610         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36611         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36612         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36613         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36614         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36615         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36616         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36617         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36618         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36619         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36620         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36621         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36622         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36623         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36624         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36625         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36626         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36627         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36628         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36629         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36630         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36631         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36632         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36633         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36634         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36635         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36636         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36637         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36638         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36639         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36640         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36641         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36642         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36643         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36644         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36645         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36646         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36647         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36648         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36649         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36650         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36651         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36652         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36653         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36654         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36655         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36656         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36657         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36658         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36659         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36660         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36661         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36662         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36663         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36664         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36665         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36666         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36667         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36668         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36669         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36670         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36671         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36672         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36673         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36674         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36675         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36676         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36677         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36678         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36679         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36680         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36681         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36682         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36683         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36684         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36685         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36686         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36687         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36688         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36689         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36690         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36691         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36692         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36693         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36694         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36695         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36696         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36697         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36698         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36699         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36700         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36701         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36702         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36703         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36704         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36705         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36706         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36707         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36708         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36709         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36710         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36711         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36712         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36713         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36714         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36715         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36716         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36717         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36718         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36719         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36720         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36721         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36722         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36723         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36724         * sysdeps/ieee754/k_standard.c: Likewise.
36725         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36726         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36727         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36728         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36729         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36730         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36731         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36732         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36733         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36734         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36735         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36736         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36737         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36738         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36739         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36740         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36741         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36742         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36743         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36744         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36745         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36746         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36747         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36748         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36749         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36750         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36751         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36752         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36753         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36754         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36755         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36756         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36757         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36758         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36759         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36760         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36761         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36762         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36763         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36764         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36765         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36766         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36767         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36768         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36769         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36770         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36771         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36772         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36773         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36774         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36775         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36776         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36777         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36778         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36779         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36780         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36781         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36782         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36783         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36784         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36785         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36786         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36787         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36788         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36789         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36791         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36792         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36793         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36794         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36795         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36796         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36797         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36798         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36799         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36801         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36802         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36803         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36805         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36806         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36807         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36808         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36809         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36810         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36811         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36812         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36813         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36814         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36815         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36816         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36817         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36818         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36820         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36821         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36822         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36823         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36824         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36825         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36826         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36827         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36828         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36829         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36830         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36831         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36832         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36833         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36834         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36835         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36836         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36837         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36838         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36839         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36840         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36841         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36842         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36843         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36844         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36845         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36846         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36847         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36848         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36849         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36850         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36851         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36852         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36853         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36854         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36855         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36856         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36857         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36859         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36860         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36861         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36862         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36863         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36864         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36865         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36867         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36869         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36870         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36871         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36872         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36873         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36874         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36875         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36876         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36877         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36878         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36879         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36880         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36881         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36882         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36883         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36884         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36885         * sysdeps/ieee754/s_lib_version.c: Likewise.
36886         * sysdeps/ieee754/s_matherr.c: Likewise.
36887         * sysdeps/ieee754/s_signgam.c: Likewise.
36888         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36889         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36890         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36891         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36892         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36893         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36894         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36895         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36896         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36897         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36898         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36899         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36900         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36901         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36902         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36903         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36904         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36905         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36906         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36907         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36908         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36910 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36912         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36913         * sunrpc/rpc_main.c: Likewise.
36914         * sunrpc/rpc_svcout.c: Likewise.
36916 2012-03-09  David S. Miller  <davem@davemloft.net>
36918         * include/math_private.h: New file.
36920 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36922         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36923         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36924         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36925         from <bits/socket_type.h>.
36926         (enum __socket_type): Don't define here.
36927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36929         bits/socket_type.h.
36931         [BZ #13566]
36932         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36933         checking __USE_GNU.
36935         * Makerules ($(inst_includedir)/%.h): New rule.
36936         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36937         (install-others): Remove variable setting.
36938         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36940 2012-03-08  Richard Henderson  <rth@twiddle.net>
36942         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36943         from macro to inline function; merge with the
36944         !__LIBC_INTERNAL_MATH_INLINES version.
36945         (__ieee754_sqrtf): Likewise.
36947         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36948         to inline function.
36949         (__rintf, __floor, __floorf): Likewise.
36951         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36952         macro to inline function.
36953         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36955         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36956         not <math/math_private.h>.
36958 2012-03-08  David S. Miller  <davem@davemloft.net>
36960         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36961         copyright year.
36962         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36964 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
36966         * resolv/gai_misc.c (handle_requests): Fix struct timespec
36967         normalization.
36968         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36969         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36971 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
36973         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
36974         be defined individually, they must be defined as a block.  Define
36975         S for printing a string instead of hidint the different by using a
36976         macro for adding the 'l'.
36977         * stdio-common/tst-fphex-wide.c: Adjust.
36979 2012-03-07  Marek Polacek  <polacek@redhat.com>
36981         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36983 2012-03-08  Marek Polacek  <polacek@redhat.com>
36985         [BZ #13806]
36986         * stdio-common/Makefile (tests): Add tst-fphex-wide.
36987         * stdio-common/tst-fphex.c: Define a few macros to make the
36988         test reusable.  Use them.
36989         * stdio-common/tst-fphex-wide.c: New file.
36991 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
36993         [BZ #6911]
36994         * manual/macros.texi (gnusystems): New macro.
36995         (nongnusystems): Likewise.
36996         (gnulinuxhurdsystems): Likewise.
36997         (gnuhurdsystems): Likewise..
36998         (gnulinuxsystems): Likewise.
36999         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37000         variants of the GNU system, not "GNU system".
37001         * manual/conf.texi: Likewise.
37002         * manual/errno.texi: Likewise.  Update example of errno macro
37003         expansion.
37004         * manual/filesys.texi: Likewise.
37005         (getumask): Document as specific to GNU/Hurd.
37006         * manual/install.texi: Likewise.  Reword some references to
37007         GNU/Linux.
37008         * manual/intro.texi: Likewise.
37009         * manual/io.texi: Likewise.
37010         (File Name Portability): Detail which constraints are inapplicable
37011         to all GNU systems and which are only inapplicable to GNU/Hurd.
37012         * manual/job.texi: Likewise.
37013         * manual/llio.texi: Likewise.
37014         (O_NOCTTY): Document as present on GNU/Linux.
37015         * manual/maint.texi: Likewise.
37016         * manual/memory.texi: Likewise.
37017         * manual/pattern.texi: Likewise.
37018         * manual/pipe.texi: Likewise.
37019         * manual/process.texi: Likewise.
37020         * manual/resource.texi: Likewise.
37021         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37022         child on GNU/Hurd.
37023         * manual/setjmp.texi: Likewise.
37024         * manual/signal.texi: Likewise.
37025         * manual/startup.texi: Likewise.
37026         * manual/stdio.texi: Likewise.
37027         * manual/terminal.texi: Likewise.
37028         (ONLCR): Document as POSIX.
37029         (OXTABS): Document availability on GNU/Linux as XTABS.
37030         (ONOEOT): Document availability separately from other bits.
37031         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37032         * manual/time.texi: Likewise.
37033         * manual/users.texi: Likewise.
37034         * INSTALL: Regenerated.
37035         * sysdeps/gnu/errlist.c: Regenerated.
37037         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37038         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37039         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37040         puts.
37041         * configure: Regenerated.
37043 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37045         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37046         default includes instead of AC_HEADER_CHECK.
37047         * sysdeps/i386/configure: Regenerated.
37049         [BZ #10716]
37050         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37051         * math/s_cacoshf.c (__cacoshf): Likewise.
37052         * math/s_cacoshl.c (__cacoshl): Likewise.
37053         * math/s_casinh.c (__casinh): Set signs of result from argument.
37054         * math/s_casinhf.c (__casinhf): Likewise.
37055         * math/s_casinhl.c (__casinhl): Likewise.
37056         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37057         (casinh_test): Add more tests.
37058         * sysdeps/i386/fpu/libm-test-ulps: Update.
37059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37061 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37063         * po/zh_TW.po: Update from translation team.
37065         * login/Makefile (distribute): Remove variable.
37066         * catgets/Makefile: Likewise.
37067         * mach/Makefile: Likewise.
37068         * malloc/Makefile: Likewise.
37069         * misc/Makefile: Likewise.
37070         * iconv/Makefile: Likewise.
37071         * nscd/Makefile: Likewise.
37072         * hurd/Makefile: Likewise.
37073         * manual/Makefile: Likewise.
37074         * locale/Makefile: Likewise.
37075         * intl/Makefile: Likewise.
37076         * conform/Makefile: Likewise.
37077         * nss/Makefile: Likewise.
37078         * time/Makefile: Likewise.
37079         * soft-fp/Makefile: Likewise.
37080         * dirent/Makefile: Likewise.
37081         * gmon/Makefile: Likewise.
37082         * po/Makefile: Likewise.
37083         * rt/Makefile: Likewise.
37084         * socket/Makefile: Likewise.
37085         * math/Makefile: Likewise.
37086         * signal/Makefile: Likewise.
37087         * debug/Makefile: Likewise.
37088         * elf/Makefile: Likewise.
37089         * timezone/Makefile: Likewise.
37090         * stdlib/Makefile: Likewise.
37091         * iconvdata/Makefile: Likewise.
37092         * sunrpc/Makefile: Likewise.
37093         * io/Makefile: Likewise.
37094         * argp/Makefile: Likewise.
37095         * inet/Makefile: Likewise.
37096         * hesiod/Makefile: Likewise.
37097         * grp/Makefile: Likewise.
37098         * csu/Makefile: Likewise.
37099         * wctype/Makefile: Likewise.
37100         * crypt/Makefile: Likewise.
37101         * libio/Makefile: Likewise.
37102         * string/Makefile: Likewise.
37103         * nis/Makefile: Likewise.
37104         * resolv/Makefile: Likewise.
37105         * stdio-common/Makefile: Likewise.
37106         * wcsmbs/Makefile: Likewise.
37107         * dlfcn/Makefile: Likewise.
37108         * posix/Makefile: Likewise.
37110         [BZ #6959]
37111         * timezone/Makefile: Don't install timezone files, just the programs
37112         and scripts.
37114 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37116         * nss/databases.def: Add missing gshadow entry.
37118         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37120 2012-03-06  Marek Polacek  <polacek@redhat.com>
37122         [BZ #13726]
37123         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37124         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37125         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37126         * stdio-common/tst-long-dbl-fphex.c: New file.
37128 2012-03-06  David S. Miller  <davem@davemloft.net>
37130         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37131         (set_obp_int): New function.
37132         (get_obp_int): New function.
37133         (__get_clockfreq_via_dev_openprom): Likewise.
37134         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37135         Avoid unused variable warnings on 'val' and use builtin_expect.
37136         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37137         __builtin_expect.
37138         (INLINE_CLONE_SYSCALL): Likewise.
37140 2012-03-05  David S. Miller  <davem@davemloft.net>
37142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37144 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37148         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37149         only for |x| >= 40.
37150         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37152 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37154         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37155         Replace gettimeofday with __vdso_gettimeofday.
37157         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37158         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37159         __vdso_clock_gettime and __vdso_getcpu.
37161         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37162         time with __vdso_time.
37164 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37166         * manual/lang.texi (size_t): Note types to which size_t may be
37167         equivalent with the GNU C Library, but do not describe when
37168         differences between them are significant.
37170 2012-03-05  Andreas Jaeger  <aj@suse.de>
37172         * sysdeps/i386/fpu/libm-test-ulps: Update.
37174 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37176         [BZ #3976]
37177         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37178         (__ieee754_pow): Save and restore rounding mode and use
37179         round-to-nearest for main computations.
37180         * math/libm-test.inc (pow_test_tonearest): New function.
37181         (pow_test_towardzero): Likewise.
37182         (pow_test_downward): Likewise.
37183         (pow_test_upward): Likewise.
37184         (main): Call the new functions.
37185         * sysdeps/i386/fpu/libm-test-ulps: Update.
37186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37188         [BZ #3976]
37189         * math/libm-test.inc (cosh_test_tonearest): New function.
37190         (cosh_test_towardzero): Likewise.
37191         (cosh_test_downward): Likewise.
37192         (cosh_test_upward): Likewise.
37193         (sinh_test_tonearest): Likewise.
37194         (sinh_test_towardzero): Likewise.
37195         (sinh_test_downward): Likewise.
37196         (sinh_test_upward): Likewise.
37197         (main): Call the new functions.
37198         * sysdeps/i386/fpu/libm-test-ulps: Update.
37199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37201 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37203         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37204         default stack guard is set in last bytes.
37205         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37207 2012-03-05  Kees Cook  <keescook@chromium.org>
37209         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37211         [BZ #13656]
37212         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37213         possibly allocate from heap instead of stack.
37214         * stdio-common/bug-vfprintf-nargs.c: New file.
37215         * stdio-common/Makefile (tests): Add nargs overflow test.
37217 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37221 2012-03-03  Marek Polacek  <polacek@redhat.com>
37223         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37224         * math/math_private.h: Likewise.
37225         * stdlib/tst-strtod.c: Likewise.
37226         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37227         * sysdeps/x86_64/bits/atomic.h: Likewise.
37229 2012-03-02  David S. Miller  <davem@davemloft.net>
37231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37235         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37236         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37237         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37238         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37240 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37242         [BZ #13792]
37243         * manual/examples/README: New file, says the example source files
37244         can be used under GPL>=2.
37245         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37246         line containing just "*/".
37247         * manual/examples/add.c: Add copyright header (GPL>=2).
37248         * manual/examples/argp-ex1.c: Likewise.
37249         * manual/examples/argp-ex2.c: Likewise.
37250         * manual/examples/argp-ex3.c: Likewise.
37251         * manual/examples/argp-ex4.c: Likewise.
37252         * manual/examples/atexit.c: Likewise.
37253         * manual/examples/db.c: Likewise.
37254         * manual/examples/dir.c: Likewise.
37255         * manual/examples/dir2.c: Likewise.
37256         * manual/examples/execinfo.c: Likewise.
37257         * manual/examples/filecli.c: Likewise.
37258         * manual/examples/filesrv.c: Likewise.
37259         * manual/examples/fmtmsgexpl.c: Likewise.
37260         * manual/examples/genpass.c: Likewise.
37261         * manual/examples/inetcli.c: Likewise.
37262         * manual/examples/inetsrv.c: Likewise.
37263         * manual/examples/isockad.c: Likewise.
37264         * manual/examples/longopt.c: Likewise.
37265         * manual/examples/memopen.c: Likewise.
37266         * manual/examples/memstrm.c: Likewise.
37267         * manual/examples/mkfsock.c: Likewise.
37268         * manual/examples/mkisock.c: Likewise.
37269         * manual/examples/mygetpass.c: Likewise.
37270         * manual/examples/pipe.c: Likewise.
37271         * manual/examples/popen.c: Likewise.
37272         * manual/examples/rprintf.c: Likewise.
37273         * manual/examples/search.c: Likewise.
37274         * manual/examples/select.c: Likewise.
37275         * manual/examples/setjmp.c: Likewise.
37276         * manual/examples/sigh1.c: Likewise.
37277         * manual/examples/sigusr.c: Likewise.
37278         * manual/examples/stpcpy.c: Likewise.
37279         * manual/examples/strdupa.c: Likewise.
37280         * manual/examples/strftim.c: Likewise.
37281         * manual/examples/strncat.c: Likewise.
37282         * manual/examples/subopt.c: Likewise.
37283         * manual/examples/swapcontext.c: Likewise.
37284         * manual/examples/termios.c: Likewise.
37285         * manual/examples/testopt.c: Likewise.
37286         * manual/examples/testpass.c: Likewise.
37287         * manual/examples/timeval_subtract.c: Likewise.
37289         [BZ #13792]
37290         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37291         function to ...
37292         * manual/timeval_subtract.c.texi: ... here, new file.
37294 2012-03-02  David S. Miller  <davem@davemloft.net>
37296         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37298 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37300         [BZ #3976]
37301         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37302         (__sin): Save and restore rounding mode and use round-to-nearest
37303         for all computations.
37304         (__cos): Save and restore rounding mode and use round-to-nearest
37305         for all computations.
37306         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37307         <fenv.h>.
37308         (tan): Save and restore rounding mode and use round-to-nearest for
37309         all computations.
37310         * math/libm-test.inc (cos_test_tonearest): New function.
37311         (cos_test_towardzero): Likewise.
37312         (cos_test_downward): Likewise.
37313         (cos_test_upward): Likewise.
37314         (sin_test_tonearest): Likewise.
37315         (sin_test_towardzero): Likewise.
37316         (sin_test_downward): Likewise.
37317         (sin_test_upward): Likewise.
37318         (tan_test_tonearest): Likewise.
37319         (tan_test_towardzero): Likewise.
37320         (tan_test_downward): Likewise.
37321         (tan_test_upward): Likewise.
37322         (main): Call the new functions.
37323         * sysdeps/i386/fpu/libm-test-ulps: Update.
37324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37326         [BZ #10135]
37327         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37328         small n, then large n, before computing and testing k+n.
37329         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37330         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37331         Likewise.
37332         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37333         Likewise.
37334         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37335         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37336         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37337         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37338         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37339         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37340         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37341         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37342         * math/libm-test.inc (scalbn_test): Add more tests.
37343         (scalbln_test): Likewise.
37345         * manual/filesys.texi (mode_t): Describe constraints on size and
37346         signedness, not exact equivalence to a particular type.
37347         (ino_t): Likewise.
37348         (ino64_t): Likewise.
37349         (dev_t): Likewise.
37350         (nlink_t): Likewise.
37351         (blkcnt_t): Likewise.
37352         (blkcnt64_t): Likewise.
37353         * manual/llio.texi (off_t): Likewise.
37355         [BZ #3976]
37356         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37357         (__ieee754_exp): Save and restore rounding mode and use
37358         round-to-nearest for all computations.
37359         * math/libm-test.inc (exp_test_tonearest): New function.
37360         (exp_test_towardzero): Likewise.
37361         (exp_test_downward): Likewise.
37362         (exp_test_upward): Likewise.
37363         (main): Call the new functions.
37364         * sysdeps/i386/fpu/libm-test-ulps: Update.
37365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37367 2012-03-01  Chris Demetriou  <cgd@google.com>
37369         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37370         have predictable order.
37372 2012-03-01  David S. Miller  <davem@davemloft.net>
37374         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37376         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37377         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37378         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37379         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37381         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37382         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37383         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37385         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37386         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37387         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37388         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37389         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37393         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37394         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37395         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37397         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37398         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37399         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37400         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37401         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37402         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37403         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37404         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37405         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37406         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37407         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37408         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37409         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37410         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37411         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37412         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37413         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37414         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37415         * sysdeps/sparc/elf/configure: Regenerated.
37417 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37419         * configure.in (AS, LD): Require binutils 2.20 or later.
37420         * configure: Regenerated.
37421         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37422         as required minimum version.
37423         * INSTALL: Regenerated.
37425         [BZ #2541]
37426         [BZ #4108]
37427         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37428         before squaring exponent.
37429         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37430         bottom long double and 27 bits of top long double before squaring
37431         exponent.
37432         * math/libm-test.inc (erfc_test): Add more tests.
37433         * sysdeps/i386/fpu/libm-test-ulps: Update.
37434         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37437 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37439         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37440         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37441         containing bit-fields.
37442         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37443         * soft-fp/single.h (_FP_UNION_S): Likewise.
37444         * soft-fp/double.h (_FP_UNION_D): Likewise.
37446 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37448         [BZ #13786]
37449         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37450         not include ../strcmp.S.
37451         [USE_AS_STRNCASECMP_L]: Likewise.
37452         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37453         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37454         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37455         (__strncasecmp_l_ia32): Define as alias to
37456         __strncasecmp_l_nonascii.
37458         [BZ #5794]
37459         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37460         * sysdeps/i386/fpu/libm-test-ulps: Update.
37461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37463         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37466 2012-02-29  Jeff Law  <law@redhat.com>
37468         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37469         out of bounds read.
37471 2012-02-29  Marek Polacek  <polacek@redhat.com>
37473         [BZ #13706]
37474         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37475         * elf/Makefile: Add rules to run tst-unused-dep.out.
37477 2012-02-28  David S. Miller  <davem@davemloft.net>
37479         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37480         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37481         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37482         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37483         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37484         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37486 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37488         * math/libm-test.inc (llround_test): Move one test from
37489         lround_test.  Use TEST_f_L in moved test.
37490         (lround_test): Move misplaced test to llround_test.  Add testcase
37491         from bug 2561.
37493 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37495         * sysdeps/x86_64/fpu/e_expf.S: New file.
37496         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37498 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37500         [BZ #13637]
37501         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37502         of remain_len that may cause incomplete multi-byte character and
37503         false match.
37504         * posix/bug-regex33.c: New file.
37505         * posix/Makefile (tests): Add bug-regex33.
37507 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37509         * manual/macros.texi: New file.
37510         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37511         * manual/libc.texinfo: Include macros.texi.
37512         * manual/creatute.texi: Likewise.
37513         * manual/install.texi: Likewise.
37514         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37515         @glibcadj{} in references to the GNU C Library.
37516         * manual/charset.texi: Likewise.
37517         * manual/conf.texi: Likewise.
37518         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37519         when not using those macros.
37520         * manual/creature.texi: Likewise.
37521         * manual/crypt.texi: Likewise.
37522         * manual/errno.texi: Likewise.
37523         * manual/filesys.texi: Likewise.
37524         * manual/header.texi: Likewise.
37525         * manual/install.texi: Likewise.
37526         * manual/intro.texi: Likewise.
37527         * manual/io.texi: Likewise.
37528         * manual/job.texi: Likewise.
37529         * manual/lang.texi: Likewise.
37530         * manual/libc.texiinfo: Likewise.
37531         * manual/llio.texi: Likewise.
37532         * manual/locale.texi: Likewise.
37533         * manual/maint.texi: Likewise.
37534         * manual/math.texi: Likewise.
37535         * manual/memory.texi: Likewise.
37536         * manual/message.texi: Likewise.
37537         * manual/nss.texi: Likewise.
37538         * manual/pattern.texi: Likewise.
37539         * manual/process.texi: Likewise.
37540         * manual/resource.texi: Likewise.
37541         * manual/search.texi: Likewise.
37542         * manual/setjmp.texi: Likewise.
37543         * manual/signal.texi: Likewise.
37544         * manual/socket.texi: Likewise.
37545         * manual/startup.texi: Likewise.
37546         * manual/stdio.texi: Likewise.
37547         * manual/string.texi: Likewise.
37548         * manual/sysinfo.texi: Likewise.
37549         * manual/syslog.texi: Likewise.
37550         * manual/terminal.texi: Likewise.
37551         * manual/time.texi: Likewise.
37552         * manual/users.texi: Likewise.
37553         * INSTALL: Regenerated.
37554         * NOTES: Regenerated.
37555         * sysdeps/gnu/errlist.c: Regenerated.
37557 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37559         * include/dirent.h: Include <dirstream.h> before
37560         <dirent/dirent.h>.
37562 2012-02-28  David S. Miller  <davem@davemloft.net>
37564         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37565         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37566         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37567         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37569 2012-02-27  David S. Miller  <davem@davemloft.net>
37571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37573         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37574         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37577         frame pointer instead of stack pointer relative arg slot.
37578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37579         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37580         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37582 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37584         [BZ #3992]
37585         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37587 2012-02-27  David S. Miller  <davem@davemloft.net>
37589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37593         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37594         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37595         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37596         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37598 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37600         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37601         later.  Allow versions 5-9.
37602         * configure: Regenerated.
37603         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37604         required minimum version and 4.6 as recommended version.  Do not
37605         mention bugs in GCC 2.7 and 2.8.
37606         * INSTALL: Regenerated.
37608 2012-02-27  David S. Miller  <davem@davemloft.net>
37610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37614         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37615         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37616         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37617         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37619         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37620         manipulate bits before adding and subtracting TWO112[sx].
37621         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37623 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37625         [BZ #13775]
37626         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37627         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37628         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37629         being in POSIX, because they are in 1003.1-2008.
37631         * rt/tst-aio.c: Include <fcntl.h>.
37632         * rt/tst-aio7.c: Likewise.
37633         * rt/tst-aio64.c: Likewise.
37635         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37637 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37639         * manual/install.texi (--with-headers): Describe headers as
37640         interface headers, not private headers.
37641         (Specific advice for GNU/Linux systems): Describe use of headers
37642         from "make headers_install", not private headers from older
37643         kernels.
37644         * INSTALL: Regenerated.
37645         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37646         Change to 2.6.19.
37647         * sysdeps/unix/sysv/linux/configure: Regenerated.
37649         * manual/llio.texi (fclean): Remove documentation.
37651         * manual/Makefile (libc-texi-generated): New variable.  Include
37652         version.texi.
37653         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37654         $(libc-texi-generated), not duplicated list of files.
37655         (version.texi, stamp-version): New rules.
37656         (realclean): Remove $(libc-texi-generated), not individual files
37657         from that list.  Do not remove dir-add.texinfo.
37658         * manual/libc.texinfo: Comment out uses of edition numbers and
37659         references to printed manual.  Remove last-updated dates.
37660         (EDITION): Comment out.
37661         (ISBN): Likewise.
37662         (VERSION, UPDATED): Remove.
37663         (version.texi): Include.
37665 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37667         * sysdeps/posix/spawni.c: Include <signal.h>.
37668         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37669         * sysdeps/pthread/aio_fsync.c: Likewise.
37671 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37673         * conform/Makefile (tests): Run only when not cross-compiling and
37674         when fast-check is not defined.
37676         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37677         * conform/data/limits.h-data: Fixes for POSIX2008.
37678         * conform/run-conformtest.sh: Run all tests.
37679         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37680         headers.
37681         * include/bits/dlfcn.h: Likewise.
37682         * include/langinfo.h: Likewise.
37683         * include/monetary.h: Likewise.
37684         * include/sys/poll.h: Likewise.
37686         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37687         for __USE_GNU.
37688         * posix/spawn.h: Define __need_sigset_t.
37689         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37690         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37691         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37692         to get sigevent_t only.
37693         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37694         only for __USE_GNU.
37695         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37696         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37697         process_vm_writev only for __USE_GNU.
37698         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37700         * conform/Makefile: For now ignore errors from run-conformtest.
37701         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37702         POSIX to avoid namespace pollution.  Don't prepend headers.
37703         * conform/data/aio.h-data: Fixes for POSIX testing.
37704         * conform/data/fcntl.h-data: Likewise.
37705         * conform/data/glob.h-data: Likewise.
37706         * conform/data/grp.h-data: Likewise.
37707         * conform/data/pthread.h-data: Likewise.
37708         * conform/data/pwd.h-data: Likewise.
37709         * conform/data/signal.h-data: Likewise.
37710         * conform/data/spawn.h-data: Likewise.
37711         * conform/data/stdio.h-data: Likewise.
37712         * conform/data/stdlib.h-data: Likewise.
37713         * conform/data/stropts.h-data: Likewise.
37714         * conform/data/sys/mman.h-data: Likewise.
37715         * conform/data/sys/stat.h-data: Likewise.
37716         * conform/data/sys/types.h-data: Likewise.
37717         * conform/data/sys/wait.h-data: Likewise.
37718         * conform/data/time.h-data: Likewise.
37719         * conform/data/unistd.h-data: Likewise.
37720         * conform/data/utime.h-data: Likewise.
37722         * io/sys/stat.h: fchmod was always in POSIX.
37723         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37724         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37725         * rt/aio.h: Define __need_timespec before including <time.h>.
37726         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37727         struct.  Add forward declaration of pthread_attr_t and use it in
37728         sigevent.
37729         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37730         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37731         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37732         always remove CLK_TCK definition.
37734 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37736         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37738 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37740         * conform/run-conformtest.sh: New file.
37741         * conform/Makefile: Run run-conformtest for tests.
37742         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37743         support.
37745         * conform/data/uchar.h-data: New file.
37746         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37747         * conform/data/arpa/inet.h-data: Likewise.
37748         * conform/data/assert.h-data: Likewise.
37749         * conform/data/complex.h-data: Likewise.
37750         * conform/data/cpio.h-data: Likewise.
37751         * conform/data/ctype.h-data: Likewise.
37752         * conform/data/dirent.h-data: Likewise.
37753         * conform/data/dlfcn.h-data: Likewise.
37754         * conform/data/errno.h-data: Likewise.
37755         * conform/data/fcntl.h-data: Likewise.
37756         * conform/data/float.h-data: Likewise.
37757         * conform/data/fmtmsg.h-data: Likewise.
37758         * conform/data/fnmatch.h-data: Likewise.
37759         * conform/data/ftw.h-data: Likewise.
37760         * conform/data/glob.h-data: Likewise.
37761         * conform/data/grp.h-data: Likewise.
37762         * conform/data/iconv.h-data: Likewise.
37763         * conform/data/inttypes.h-data: Likewise.
37764         * conform/data/langinfo.h-data: Likewise.
37765         * conform/data/libgen.h-data: Likewise.
37766         * conform/data/limits.h-data: Likewise.
37767         * conform/data/locale.h-data: Likewise.
37768         * conform/data/math.h-data: Likewise.
37769         * conform/data/monetary.h-data: Likewise.
37770         * conform/data/mqueue.h-data: Likewise.
37771         * conform/data/ndbm.h-data: Likewise.
37772         * conform/data/net/if.h-data: Likewise.
37773         * conform/data/netdb.h-data: Likewise.
37774         * conform/data/netinet/in.h-data: Likewise.
37775         * conform/data/nl_types.h-data: Likewise.
37776         * conform/data/poll.h-data: Likewise.
37777         * conform/data/pthread.h-data: Likewise.
37778         * conform/data/pwd.h-data: Likewise.
37779         * conform/data/regex.h-data: Likewise.
37780         * conform/data/sched.h-data: Likewise.
37781         * conform/data/search.h-data: Likewise.
37782         * conform/data/semaphore.h-data: Likewise.
37783         * conform/data/setjmp.h-data: Likewise.
37784         * conform/data/signal.h-data: Likewise.
37785         * conform/data/spawn.h-data: Likewise.
37786         * conform/data/stdarg.h-data: Likewise.
37787         * conform/data/stdio.h-data: Likewise.
37788         * conform/data/stdlib.h-data: Likewise.
37789         * conform/data/string.h-data: Likewise.
37790         * conform/data/strings.h-data: Likewise.
37791         * conform/data/stropts.h-data: Likewise.
37792         * conform/data/sys/ipc.h-data: Likewise.
37793         * conform/data/sys/mman.h-data: Likewise.
37794         * conform/data/sys/msg.h-data: Likewise.
37795         * conform/data/sys/resource.h-data: Likewise.
37796         * conform/data/sys/select.h-data: Likewise.
37797         * conform/data/sys/sem.h-data: Likewise.
37798         * conform/data/sys/shm.h-data: Likewise.
37799         * conform/data/sys/socket.h-data: Likewise.
37800         * conform/data/sys/stat.h-data: Likewise.
37801         * conform/data/sys/statvfs.h-data: Likewise.
37802         * conform/data/sys/time.h-data: Likewise.
37803         * conform/data/sys/timeb.h-data: Likewise.
37804         * conform/data/sys/times.h-data: Likewise.
37805         * conform/data/sys/types.h-data: Likewise.
37806         * conform/data/sys/uio.h-data: Likewise.
37807         * conform/data/sys/un.h-data: Likewise.
37808         * conform/data/sys/utsname.h-data: Likewise.
37809         * conform/data/sys/wait.h-data: Likewise.
37810         * conform/data/syslog.h-data: Likewise.
37811         * conform/data/tar.h-data: Likewise.
37812         * conform/data/termios.h-data: Likewise.
37813         * conform/data/utime.h-data: Likewise.
37814         * conform/data/utmpx.h-data: Likewise.
37815         * conform/data/varargs.h-data: Likewise.
37816         * conform/data/wchar.h-data: Likewise.
37817         * conform/data/wctype.h-data: Likewise.
37818         * conform/data/wordexp.h-data: Likewise.
37820         * include/stropts.h: New file.
37821         * include/uchar.h: New file.
37822         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37823         * include/assert.h: Likewise.
37824         * include/ctype.h: Likewise.
37825         * include/dirent.h: Likewise.
37826         * include/dlfcn.h: Likewise.
37827         * include/fcntl.h: Likewise.
37828         * include/fnmatch.h: Likewise.
37829         * include/glob.h: Likewise.
37830         * include/grp.h: Likewise.
37831         * include/libio.h: Likewise.
37832         * include/locale.h: Likewise.
37833         * include/math.h: Likewise.
37834         * include/net/if.h: Likewise.
37835         * include/netdb.h: Likewise.
37836         * include/netinet/in.h: Likewise.
37837         * include/pthread.h: Likewise.
37838         * include/pwd.h: Likewise.
37839         * include/regex.h: Likewise.
37840         * include/sched.h: Likewise.
37841         * include/search.h: Likewise.
37842         * include/setjmp.h: Likewise.
37843         * include/signal.h: Likewise.
37844         * include/stdio.h: Likewise.
37845         * include/stdlib.h: Likewise.
37846         * include/string.h: Likewise.
37847         * include/sys/cdefs.h: Likewise.
37848         * include/sys/mman.h: Likewise.
37849         * include/sys/msg.h: Likewise.
37850         * include/sys/resource.h: Likewise.
37851         * include/sys/select.h: Likewise.
37852         * include/sys/socket.h: Likewise.
37853         * include/sys/stat.h: Likewise.
37854         * include/sys/statvfs.h: Likewise.
37855         * include/sys/time.h: Likewise.
37856         * include/sys/times.h: Likewise.
37857         * include/sys/uio.h: Likewise.
37858         * include/sys/utsname.h: Likewise.
37859         * include/sys/wait.h: Likewise.
37860         * include/termios.h: Likewise.
37861         * include/time.h: Likewise.
37862         * include/ulimit.h: Likewise.
37863         * include/unistd.h: Likewise.
37864         * include/utime.h: Likewise.
37865         * include/wchar.h: Likewise.
37866         * include/wctype.h: Likewise.
37867         * include/wordexp.h: Likewise.
37869         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37871         * time/time.h: TIME_UTC must be a macro.
37872         Make timespec_get available for ISO C11 only as well.
37874 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37876         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37877         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37879 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37881         * configure.in: Use -o not -a in test for unsupported multi-arch.
37883 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37885         * manual/texinfo.tex: Update to version 2012-01-19.16.
37887 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37889         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37891 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37893         [BZ #13738]
37894         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37895         * manual/fdl-1.3.texi: New file.
37896         * manual/fdl-1.1.texi: File removed.
37898         [BZ #13738]
37899         * manual/libc.texinfo (FDL_VERSION): New @set.
37900         Use it for mention of FDL in cover text.
37901         (Documentation License): Use it in @include file name.
37903 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37904             Roland McGrath  <roland@hack.frob.com>
37906         [BZ #5461]
37907         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37908         (not LONG_LONG_MAX and LONG_LONG_MIN.
37909         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37910         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37911         name.
37912         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37914 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37916         [BZ #2547]
37917         [BZ #11365]
37918         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37919         manipulate bits before adding and subtracting TWO23[sx].
37920         * math/libm-test.inc (nearbyint_test): Add more tests.
37922 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37924         [BZ #2548]
37925         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37926         bits before adding and subtracting TWO23[sx].
37927         * math/libm-test.inc (rint_test): Add more tests.
37928         (rint_test_tonearest): Likewise.
37929         (rint_test_towardzero): Likewise.
37930         (rint_test_downward): Likewise.
37931         (rint_test_upward: Likewise.
37933 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37935         [BZ #10110]
37936         * include/stdc-predef.h: New file.  Extracted from features.h.
37937         * include/features.h: Include stdc-predef.h.
37938         * Makefile (headers): Add stdc-predef.h.
37939         * CONFORMANCE (Compiler limitations): Update.
37941 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37943         * manual/libc.texinfo (VERSION, UPDATED): Revert.
37945 2012-02-21  David S. Miller  <davem@davemloft.net>
37947         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37948         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37950 2012-02-20  David S. Miller  <davem@davemloft.net>
37952         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37953         using a normal save/restore sequence, rather than allocating a
37954         dummy stack frame just to store a frame pointer and restore.
37955         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37957 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37959         * manual/install.texi: Fix stray word in line-wrapped comment.
37961 2012-02-20  David S. Miller  <davem@davemloft.net>
37963         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37964         both binutils and gcc support GOTDATA.
37966         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37967         "rd %pc" in the PIC register setup sequences.
37969         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37970         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37971         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37972         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37973         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37974         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37975         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37976         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37977         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37978         (SYSCALL_ERROR_HANDLER): Likewise.
37979         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37980         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37982         (SYSCALL_ERROR_HANDLER): Likewise.
37984         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37985         (HAVE_GCC_GOTDATA): New.
37986         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37987         relocation support in both binutils and gcc.
37988         * sysdeps/sparc/elf/configure: Regenerate.
37990         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37991         * sysdeps/sparc/sparc32/elf/configure: Delete.
37992         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37993         * sysdeps/sparc/sparc64/elf/configure: Delete.
37994         * sysdeps/sparc/elf/configure.in: New file.
37995         * sysdeps/sparc/elf/configure: Generate.
37997         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37998         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37999         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38000         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38001         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38003 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38005         * manual/install.texi: Do not mention specific glibc version
38006         numbers.
38007         * manual/libc.texinfo (VERSION, UPDATED): Update.
38008         (@copying): Use @copyright{} and range of years.
38010 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38012         [BZ #13695]
38013         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38014         [crti.S not in sysdirs] (generated): Do not append.
38015         [crti.S not in sysdirs] (omit-deps): Likewise.
38016         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38017         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38018         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38019         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38020         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38021         Likewise.
38022         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38023         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38024         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38025         * csu/defs.awk: Remove file.
38026         * sysdeps/generic/initfini.c: Likewise.
38027         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38028         variable.
38029         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38030         Likewise.
38032 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38034         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38035         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38036         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38037         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38038         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38039         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38040         <bits/epoll.h>.
38041         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38042         (__EPOLL_PACKED): Define to empty if not defined by
38043         <bits/epoll.h>.
38044         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38046         bits/epoll.h.
38048 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38050         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38051         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38052         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38053         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38054         <bits/timerfd.h>.
38055         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38057         bits/timerfd.h.
38059 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38061         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38062         in C locale.
38063         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38064         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38065         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38068 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38070         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38071         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38073 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38075         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38076         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38077         defined.
38078         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38079         Likewise.
38080         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38081         entry for 2.16.
38083 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38085         * math/w_acos.c: Use non-signaling floating-point comparisons.
38086         * math/w_acosf.c: Likewise.
38087         * math/w_acosh.c: Likewise.
38088         * math/w_acoshf.c: Likewise.
38089         * math/w_acoshl.c: Likewise.
38090         * math/w_acosl.c: Likewise.
38091         * math/w_asin.c: Likewise.
38092         * math/w_asinf.c: Likewise.
38093         * math/w_asinl.c: Likewise.
38094         * math/w_atanh.c: Likewise.
38095         * math/w_atanhf.c: Likewise.
38096         * math/w_atanhl.c: Likewise.
38097         * math/w_exp2.c: Likewise.
38098         * math/w_exp2f.c: Likewise.
38099         * math/w_exp2l.c: Likewise.
38100         * math/w_j0.c: Likewise.
38101         * math/w_j0f.c: Likewise.
38102         * math/w_j0l.c: Likewise.
38103         * math/w_j1.c: Likewise.
38104         * math/w_j1f.c: Likewise.
38105         * math/w_j1l.c: Likewise.
38106         * math/w_jn.c: Likewise.
38107         * math/w_jnf.c: Likewise.
38108         * math/w_log.c: Likewise.
38109         * math/w_log10.c: Likewise.
38110         * math/w_log10f.c: Likewise.
38111         * math/w_log10l.c: Likewise.
38112         * math/w_log2.c: Likewise.
38113         * math/w_log2f.c: Likewise.
38114         * math/w_log2l.c: Likewise.
38115         * math/w_logf.c: Likewise.
38116         * math/w_logl.c: Likewise.
38117         * math/w_sqrt.c: Likewise.
38118         * math/w_sqrtf.c: Likewise.
38119         * math/w_sqrtl.c: Likewise.
38120         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38121         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38122         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38123         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38124         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38126 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38128         [BZ #9739]
38129         * manual/string.texi (strnlen): Use correct parameter name in
38130         equivalent expression.
38132 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38134         [BZ #11174]
38135         * manual/users.texi (seteuid): Consistently use neweuid for
38136         argument name.
38138 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38140         [BZ #13704]
38141         * manual/nss.texi (Services in the NSS configuration): Correct
38142         list of services in example configuration file.
38144 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38146         [BZ #11322]
38147         * manual/arith.texi: Remove statements about negative zero
38148         behaving identically to zero.
38150 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38152         [BZ #5993]
38153         * manual/install.texi: Do not document upgrading from libc5.
38155 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38157         [BZ #4596]
38158         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38160 2012-02-18  David S. Miller  <davem@davemloft.net>
38162         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38163         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38164         %o7 across the call.
38165         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38166         instead.
38167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38168         SETUP_PIC_REG_LEAF.
38169         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38170         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38171         * sysdeps/sparc/crtn.S: Likewise.
38173 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38175         * aout/Makefile: Remove.
38177 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38179         [BZ #13058]
38180         * manual/examples/argp-ex1.c (main): Format definition in GNU
38181         style.
38182         * manual/examples/argp-ex2.c (main): Likewise.
38183         * manual/examples/argp-ex3.c (main): Likewise.
38184         * manual/examples/argp-ex4.c (main): Likewise.
38185         * manual/examples/longopt.c (main): Use new-style prototype
38186         definition.
38187         * manual/examples/strncat.c (main): Specify return type and use
38188         (void) for arguments.
38189         * manual/examples/subopt.c (main): Use char **argv argument.
38191 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38193         [BZ #5077]
38194         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38195         rounding modes.
38197 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38199         [BZ #6907]
38200         * manual/string.texi (strchr): Change when strchrnul is
38201         recommended.
38203 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38205         [BZ #174]
38206         * manual/locale.texi (setlocale): Document LOCPATH.
38208 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38210         [BZ #10210]
38211         * manual/process.texi (execle): Move @dots{} before last argument.
38213 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38215         [BZ #12047]
38216         * manual/charset.texi (Generic Charset Conversion): Fix typo
38217         (LC_TYPE -> LC_CTYPE).
38219 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38221         [BZ #5805]
38222         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38223         (scalbnf): Likewise.
38224         (scalbnl): Likewise.
38225         (scalbln): Likewise.
38226         (scalblnf): Likewise.
38227         (scalblnl): Likewise.
38228         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38229         (vwarnx): Likewise.
38230         (verr): Likewise.
38231         (verrx): Likewise.
38232         * manual/filesys.texi (telldir): Use braces around return type.
38233         * manual/llio.texi (mmap): Add space after comma.
38234         (mmap64): Likewise.
38235         * manual/math.texi (jn): Use @var{} on parameter names.
38236         (jnf): Likewise.
38237         (jnl): Likewise.
38238         (yn): Likewise.
38239         (ynf): Likewise.
38240         (ynl): Likewise.
38241         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38242         line.
38243         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38244         "...".
38245         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38246         (sched_get_priority_max): Likewise.
38247         * manual/signal.texi (sigvec): Add space after comma.
38248         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38249         names.
38250         (if_indextoname): Likewise.
38251         (if_freenameindex): Likewise.
38252         (sendto): Use ',' instead of '.' in prototype.
38253         * manual/startup.texi (syscall): Use @dots{} instead of literal
38254         "...".
38255         * manual/stdio.texi (__fpending): Separate initial words of
38256         paragraph from @deftypefun line.
38257         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38258         "...".
38259         (vsyslog): Use @var{} on parameter names.
38260         * manual/terminal.texi (stty): Use @var{} on parameter names.
38261         * manual/users.texi (getutmp): Use @var{} on parameter names.
38262         (getutmpx): Likewise.
38264 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38266         [BZ #6884]
38267         * manual/stdio.texi (fopen): Fix typos in description of
38268         ",ccs=STRING".
38270 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38272         [BZ #4026]
38273         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38274         get clock_id definition.
38276 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38278         [BZ #4822]
38279         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38280         (madvise): Cast every argument to void on its own.
38282 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38284         [BZ #9902]
38285         * manual/startup.texi (Exit Status): Fix typo.
38287 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38289         [BZ #10140]
38290         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38291         * manual/examples/argp-ex2.c: Likewise.
38292         * manual/examples/argp-ex3.c: Likewise.
38294 2012-02-16  Richard Henderson  <rth@redhat.com>
38296         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38297         * sysdeps/s390/s390-32/initfini.c: Remove.
38298         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38299         * sysdeps/s390/s390-64/initfini.c: Remove.
38301 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38303         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38304         compiler output for sysdeps/generic/initfini.c.
38305         * sysdeps/sh/elf/initfini.c: Remove file.
38307 2012-02-16  David S. Miller  <davem@davemloft.net>
38309         [BZ #11494]
38310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38312         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38313         * sysdeps/sparc/crti.S: New file.
38314         * sysdeps/sparc/crtn.S: New file.
38315         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38316         * sysdeps/sparc/sparc64/Makefile: Likewise.
38318 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38320         [BZ #3335]
38321         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38323 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38325         [BZ #4822]
38326         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38328         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38329         (write, read, close): Likewise.
38330         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38332 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38334         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38335         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38336         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38337         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38338         <bits/signalfd.h>.
38339         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38340         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38341         bits/signalfd.h.
38343 2012-02-14  Marek Polacek  <polacek@redhat.com>
38345         * sysdeps/x86_64/crti.S: New file.
38346         * sysdeps/x86_64/crtn.S: New file.
38347         * sysdeps/x86_64/elf/initfini.c: Remove file.
38349 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38351         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38352         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38353         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38354         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38355         <bits/inotify.h>.
38356         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38357         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38358         bits/inotify.h.
38360 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38362         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38363         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38364         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38365         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38366         <bits/eventfd.h>.
38367         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38368         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38369         bits/eventfd.h.
38371 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38373         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38374         __feraiseexcept instead of feraiseexcept.
38376         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38377         nanosleep invocations.
38378         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38379         strings, and add error checking for a nanosleep invocations.
38381 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38383         Replace FSF snail mail address with URLs, as per GNU coding standards.
38384         Most of the snail mail addresses were wrong anyway, and omitting
38385         them makes the source code easier to maintain.  Almost all of the
38386         changes are to license notices and to locale LC_IDENTIFICATION
38387         addresses, except for this one:
38388         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38389         not its snail mail address.
38391 2012-02-09  Richard Henderson  <rth@twiddle.net>
38393         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38394         of kernel-features.h.
38396         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38398 2012-02-08  Marek Polacek  <polacek@redhat.com>
38400         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38401         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38402         * sysdeps/gnu/_G_config.h: Likewise.
38403         * sysdeps/generic/_G_config.h: Likewise.
38405 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38407         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38408         tests.
38409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38411         * sysdeps/powerpc/powerpc32/crti.S: New file.
38412         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38413         * sysdeps/powerpc/powerpc64/crti.S: New file.
38414         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38416         * Makeconfig (have-initfini): Don't set.
38417         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38418         * configure.in (nopic_initfini): Don't substitute.
38419         * config.h.in (HAVE_INITFINI): Don't #undef.
38420         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38421         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38423 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38425         Support crti.S and crtn.S provided directly by architectures.
38426         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38427         [crti.S in sysdirs] (omit-deps): Likewise.
38428         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38429         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38430         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38431         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38432         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38433         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38434         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38435         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38436         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38437         compiler output for sysdeps/generic/initfini.c.
38438         * sysdeps/i386/elf/Makefile: Remove file.
38439         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38441 2012-02-07  Marek Polacek  <polacek@redhat.com>
38443         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38444         * sysdeps/gnu/_G_config.h: Likewise.
38445         * sysdeps/mach/hurd/_G_config.h: Likewise.
38447 2012-02-07  Marek Polacek  <polacek@redhat.com>
38449         * math/Makefile (tests): Add tst-CMPLX2.
38450         * math/tst-CMPLX2.c: New file.
38452 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38454         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38456         * math/libm-test.inc (jn_test): Add missing L suffix.
38458 2012-02-06  Marek Polacek  <polacek@redhat.com>
38460         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38461         * sysdeps/i386/fpu/e_powf.S: Likewise.
38462         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38463         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38464         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38465         * sysdeps/i386/fpu/e_pow.S: Likewise.
38466         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38467         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38468         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38469         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38470         * sysdeps/i386/fpu/e_log2.S: Likewise.
38471         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38472         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38473         * sysdeps/i386/fpu/e_powl.S: Likewise.
38474         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38475         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38476         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38477         * sysdeps/i386/fpu/e_logl.S: Likewise.
38478         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38479         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38480         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38481         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38482         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38483         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38484         * sysdeps/i386/fpu/e_log.S: Likewise.
38485         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38486         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38487         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38488         * sysdeps/i386/fpu/e_logf.S: Likewise.
38489         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38490         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38491         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38492         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38493         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38494         * sysdeps/i386/fpu/e_log10.S: Likewise.
38495         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38496         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38497         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38498         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38499         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38500         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38501         * sysdeps/i386/asm-syntax.h: Likewise.
38502         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38503         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38504         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38505         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38506         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38507         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38508         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38509         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38510         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38511         * sysdeps/powerpc/sysdep.h: Likewise.
38512         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38513         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38515 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38517         [BZ #411]
38518         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38520 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38522         * sysdeps/i386/sysdep.h: Include <features.h>.
38523         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38524         version.
38526 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38528         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38529         Define.
38530         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38531         LOAD_PIC_REG_STR.
38533 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38535         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38536         (SETUP_PIC_REG): Use GET_PC_THUNK.
38537         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38538         macro.
38540 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38542         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38543         for non-PIC compilation.
38544         (SETUP_PIC_REG): Add .p2align directive.
38545         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38546         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38547         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38548         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38549         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38550         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38551         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38552         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38553         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38554         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38555         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38556         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38557         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38558         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38559         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38560         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38561         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38562         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38563         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38564         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38565         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38566         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38567         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38568         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38569         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38571         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38572         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38573         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38574         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38575         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38576         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38577         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38578         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38579         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38580         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38581         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38582         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38583         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38584         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38585         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38587 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38589         * math/tst-CMPLX.c: Include <stdio.h>.
38591 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38593         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38594         float.
38595         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38596         * sysdeps/sparc/bits/mathdef.h: Likewise.
38598 2012-01-31  Marek Polacek  <polacek@redhat.com>
38600         * libio/libio.h: Don't define _PARAMS.
38601         * locale/programs/config.h: Don't define PARAMS.
38602         * stdlib/strtol_l.c: Likewise.
38603         (__strtol_l): Remove PARAMS from the prototype.
38605 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38607         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38608         names.  Just use the correct names.  Remove unnecessary wrapper
38609         functions.
38610         * malloc/arena.c: Likewise.
38611         * malloc/hooks.c: Likewise.
38613         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38614         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38615         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38617 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38619         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38620         into tail calls.
38621         (update_get_addr): New function.
38622         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38623         GET_ADDR_MODULE parameter.
38625 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38627         * crypt/cert.c: Remove __STDC__ conditionals.
38628         * crypt/crypt-entry.c: Likewise.
38629         * crypt/crypt_util.c: Likewise.
38630         * libio/filedoalloc.c: Likewise.
38631         * libio/fileops.c: Likewise.
38632         * libio/genops.c: Likewise.
38633         * libio/iofclose.c: Likewise.
38634         * libio/iofdopen.c: Likewise.
38635         * libio/iofopen.c: Likewise.
38636         * libio/iofopen64.c: Likewise.
38637         * libio/iogetdelim.c: Likewise.
38638         * libio/iopopen.c: Likewise.
38639         * libio/obprintf.c: Likewise.
38640         * libio/oldfileops.c: Likewise.
38641         * libio/oldiofclose.c: Likewise.
38642         * libio/oldiofdopen.c: Likewise.
38643         * libio/oldiofopen.c: Likewise.
38644         * libio/oldiopopen.c: Likewise.
38645         * libio/wfiledoalloc.c: Likewise.
38646         * libio/wgenops.c: Likewise.
38647         * locale/programs/xmalloc.c: Likewise.
38648         * misc/syslog.c: Likewise.
38649         * stdio-common/xbug.c: Likewise.
38650         * string/memchr.c: Likewise.
38651         * string/memcmp.c: Likewise.
38652         * string/memrchr.c: Likewise.
38653         * string/rawmemchr.c: Likewise.
38654         * sysdeps/posix/getcwd.c: Likewise.
38655         * time/strftime_l.c: Likewise.
38657 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38659         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38660         * config.make.in (config-cflags-sse2avx): Define.
38661         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38662         Fix typo.
38664 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38666         * scripts/config.guess: Update from upstream config git repository.
38667         * scripts/config.sub: Likewise.
38669 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38671         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38672         (EM_NUM): Update.
38673         (R_TILEPRO_*, R_TILEGX_*): New macros.
38675         * scripts/firstversions.awk: Fix bug in version range handling.
38677         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38679         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38681         * include/sys/epoll.h: New file.
38682         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38683         libc_hidden_def.
38685 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38687         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38688         Avoid unnecessary __WORDSIZE == 64 test.
38689         (fmaxf): Use VEX format if possible.
38690         (fmax): Likewise.
38691         (fminf): Likewise.
38692         (fmin): Likewise.
38694         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38695         * math/math_private.h: Remove libc_fegetround* and
38696         libc_fesetround*.
38697         * sysdeps/i386/configure.in: Check for -msse2avx.
38698         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38699         also if SSE2AVX is defined.
38700         Remove libc_fegetround* and libc_fesetround*.
38701         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38702         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38703         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38704         of HAS_YMM_USABLE.
38705         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38706         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38707         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38708         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38709         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38711         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38713 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38715         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38716         size is not set.
38717         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38719 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38721         [BZ #13618]
38722         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38723         relocation.
38724         * Makeconfig (libm): Define.
38725         * elf/Makefile: Add rules to build and run tst-relsort1.
38726         * elf/tst-relsort1.c: New file.
38727         * elf/tst-relsort1mod1.c: New file.
38728         * elf/tst-relsort1mod2.c: New file.
38730 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38732         * math/s_ldexp.c: Remove __STDC__ conditionals.
38733         * math/s_ldexpf.c: Likewise.
38734         * math/s_ldexpl.c: Likewise.
38735         * math/s_nextafter.c: Likewise.
38736         * math/s_nexttowardf.c: Likewise.
38737         * math/s_significand.c: Likewise.
38738         * math/s_significandf.c: Likewise.
38739         * math/s_significandl.c: Likewise.
38740         * math/w_jnl.c: Likewise.
38741         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38742         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38743         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38744         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38745         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38746         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38747         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38748         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38749         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38750         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38751         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38752         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38753         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38754         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38755         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38756         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38757         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38758         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38759         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38760         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38761         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38762         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38763         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38764         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38765         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38766         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38767         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38768         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38769         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38770         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38771         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38772         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38773         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38774         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38775         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38776         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38777         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38778         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38779         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38780         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38781         * sysdeps/ieee754/k_standard.c: Likewise.
38782         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38783         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38784         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38785         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38786         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38787         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38788         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38789         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38790         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38791         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38792         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38793         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38794         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38795         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38796         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38797         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38798         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38799         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38800         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38801         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38802         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38803         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38804         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38805         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38806         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38807         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38808         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38809         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38811         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38812         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38813         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38814         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38815         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38816         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38817         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38818         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38820         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38821         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38822         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38823         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38824         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38825         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38826         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38827         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38828         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38829         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38830         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38831         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38832         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38833         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38834         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38835         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38836         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38837         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38838         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38839         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38840         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38841         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38842         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38843         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38844         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38845         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38846         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38847         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38848         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38849         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38850         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38851         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38852         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38853         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38854         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38855         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38856         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38857         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38858         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38859         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38860         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38861         * sysdeps/ieee754/s_matherr.c: Likewise.
38862         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38863         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38864         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38865         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38867 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38869         * crypt/md5.h: Remove __STDC__ conditionals.
38870         * libio/libioP.h: Likewise.
38871         * locale/programs/config.h: Likewise.
38872         * sysdeps/generic/sysdep.h: Likewise.
38873         * sysdeps/i386/asm-syntax.h: Likewise.
38874         * sysdeps/s390/asm-syntax.h: Likewise.
38875         * sysdeps/unix/sysdep.h: Likewise.
38876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38879 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38881         * libio/libio.h: Remove __STDC__ conditionals.
38882         * malloc/obstack.h: Likewise.
38883         * math/complex.h: Likewise.
38884         * math/math.h: Likewise.
38885         * sysdeps/generic/_G_config.h: Likewise.
38886         * sysdeps/gnu/_G_config.h: Likewise.
38887         * sysdeps/mach/hurd/_G_config.h: Likewise.
38888         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38889         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38890         * sysdeps/sparc/bits/mathdef.h: Likewise.
38892 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38894         [BZ #13583]
38895         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38896         Clean up HAS_* macros.
38897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38898         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38899         possible.
38900         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38901         HAS_AVX.
38902         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38903         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38904         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38905         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38906         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38908 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38910         * elf/tst-unique3.cc (gets): Remove declaration.
38911         * elf/tst-unique3lib.cc (gets): Likewise.
38912         * elf/tst-unique3lib2.cc (gets): Likewise.
38913         * elf/tst-unique4.cc (gets): Likewise.
38915 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38917         * include/stdio.h: Add C++ protection.  Add gets declarations and
38918         definitions.
38919         * debug/tst-chk1.c: Don't declare gets here.
38920         * stdio-common/tst-gets.c: Likewise.
38922 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38924         * posix/glob: Remove directory.
38926 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38928         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38930 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
38932         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38933         of the non-standard EPFNOSUPPORT.
38935 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38937         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38938         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38939         ANYWHERE set to 1 only on KERN_NO_SPACE error.
38941 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
38943         * wcsmbs/uchar.h: Test __STDC_VERSION__.
38945 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
38947         * nscd/aicache.c (addhstaiX): Do not cache negative results of
38948         transient errors.
38949         * nscd/grpcache.c (cache_addgr): Likewise.
38950         * nscd/hstcache.c (cache_addhst): Likewise.
38951         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38952         * nscd/pwdcache.c (cache_addpw): Likewise.
38953         * nscd/servicescache.c (cache_addserv): Likewise.
38955 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
38957         * malloc/malloc.c: Various cleanups.
38958         * malloc/hooks.c: Likewise.
38960         * stdlib/Makefile (tests): Add bug-fmtmsg1.
38961         * stdlib/bug-fmtmsg1.c: New file.
38963         * stdlib/fmtmsg.c (init): Add missing unlock.
38964         Patch by Peng Haitao <penght@cn.fujitsu.com>.
38966 2012-01-12  Marek Polacek  <polacek@redhat.com>
38968         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38969         and _GNU_SOURCE.
38971 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38973         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38974         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38975         macro to ensure uniqueness of label name.
38976         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38977         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38979 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
38981         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38983         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38984         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38985         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38986         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38988 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
38990         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38992         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38993         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38994         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38996         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38998         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38999         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39000         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39001         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39003         * math/bits/math-finite.h: Add ldexp support.
39005 2012-01-10  Marek Polacek  <polacek@redhat.com>
39007         * locale/programs/localedef.h (show_archive_content): Add noreturn
39008         attribute.
39010 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39012         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39014 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39016         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39018         * io/Makefile (headers): Add bits/poll2.h.
39020 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39023         typo #include statement.
39025 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39027         * include/sys/cdefs.h: Define __attribute_alloc_size.
39028         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39029         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39030         * elf/pldd.c: Likewise.
39031         * iconv/iconv_charmap.c: Likewise.
39032         * iconv/iconvconfig.c: Likewise.
39033         * iconv/strtab.c: Likewise.
39034         * locale/programs/locale.c: Likewise.
39035         * locale/programs/localedef.h: Likewise.
39036         * locale/programs/simple-hash.c: Likewise.
39037         * nscd/nscd.h: Likewise.
39038         * nss/makedb.c: Likewise.
39039         * sysdeps/generic/ldconfig.h: Likewise.
39040         * locale/programs/localedef.c: Remove xmalloc prototype.
39041         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39043 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39045         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39046         appropriate.
39048 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39050         * math/Makefile (tests): Add tst-CMPLX.
39051         * math/tst-CMPLX.c: New file.
39053         * math/complex.h (CMPLXL): Fix typo.
39055         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39056         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39057         GLIBC_2.16.
39058         * debug/tst-chk1.c: Add poll and ppoll tests.
39059         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39060         * include/sys/poll.h: Add hidden proto for ppoll.
39061         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39062         * sysdeps/mach/hurd/ppoll.c: Likewise.
39063         * io/ppoll.c: Likewise.
39064         * debug/poll_chk.c: New file.
39065         * debug/ppoll_chk.c: New file.
39066         * include/bits/poll2.h: New file.
39067         * io/bits/poll2.h: New file.
39069         [BZ #1350]
39070         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39072         * configure.in: static is always set to yes.  Remove.
39073         * config.make.in: Don't set build-static.
39074         * Makeconfig: Remove use of build-static.
39075         * dlfcn/Makefile: Likewise.
39076         * elf/Makefile: Likewise.
39077         * math/Makefile: Likewise.
39078         * misc/Makefile: Likewise.
39079         * nptl/Makefile: Likewise.
39080         * sysdeps/mach/hurd/Makefile: Likewise.
39082         * configure.in: PWD_P is not used anymore.
39083         * config.make.in: Remove PWD_P entry.
39085         * configure.in: Remove last remnants of RANLIB.
39086         No need to check for signed size_t anymore.
39087         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39088         and IA-64.
39089         Remove __builtin_expect test because we require at least gcc 3.4.
39090         * aclocal.m4: Likewise.
39092         * wcsmbs/mbrtoc16.c: Implement using towc function.
39093         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39094         * wcsmbs/wcsmbsload.c: Likewise.
39095         * iconv/gconv_simple.c: Likewise.
39096         * iconv/gconv_int.h: Likewise.
39097         * iconv/gconv_builtin.h: Likewise.
39098         * iconv/iconv_prog.c: Remove CHAR16 handling.
39100         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39102         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39104         * configure.in: Remove --with-elf and --enable-bounded options.
39105         Dont set base_machine for ia64.  More non-ELF conditions removed.
39106         Remove testing and setting of leading underscore information.
39107         * config.make.in (build-bounded): Set to no.
39108         * config.h.in: Remove NO_UNDERSCORES entry.
39109         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39110         them.
39111         * csu/start.c: Remove !NO_UNDERSCORE code.
39112         * locale/localeinfo.h: Likewise.
39113         * sysdeps/generic/machine-gmon.h: Likewise.
39114         * sysdeps/generic/sysdep.h: Likewise.
39115         * sysdeps/i386/sysdep.h: Likewise.
39116         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39117         * sysdeps/mach/sysdep.h: Likewise.
39118         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39119         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39120         * sysdeps/sh/sysdep.h: Likewise.
39121         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39122         * sysdeps/unix/i386/sysdep.S: Likewise.
39123         * sysdeps/unix/sparc/start.c: Likewise.
39124         * sysdeps/unix/sparc/sysdep.S: Likewise.
39125         * sysdeps/unix/sparc/sysdep.h: Likewise.
39126         * sysdeps/unix/start.c: Likewise.
39127         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39128         * sysdeps/x86_64/sysdep.h: Likewise.
39130 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39132         [BZ #13553]
39133         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39134         for non-gcc.
39135         * argp/argp-fmtstream.h: Use const instead __const.
39136         * argp/argp.h: Likewise.
39137         * assert/assert.h: Likewise.
39138         * bits/fenv.h: Likewise.
39139         * bits/sched.h: Likewise.
39140         * bits/sigset.h: Likewise.
39141         * bits/sigthread.h: Likewise.
39142         * catgets/nl_types.h: Likewise.
39143         * conform/data/pthread.h-data: Likewise.
39144         * crypt/crypt-private.h: Likewise.
39145         * crypt/crypt.h: Likewise.
39146         * crypt/crypt_util.c: Likewise.
39147         * ctype/ctype.h: Likewise.
39148         * debug/execinfo.h: Likewise.
39149         * debug/mbsnrtowcs_chk.c: Likewise.
39150         * debug/mbsrtowcs_chk.c: Likewise.
39151         * debug/wcsnrtombs_chk.c: Likewise.
39152         * debug/wcsrtombs_chk.c: Likewise.
39153         * debug/wcstombs_chk.c: Likewise.
39154         * dirent/dirent.h: Likewise.
39155         * dlfcn/dlfcn.h: Likewise.
39156         * elf/neededtest4.c: Likewise.
39157         * grp/grp.h: Likewise.
39158         * gshadow/gshadow.h: Likewise.
39159         * iconv/gconv.h: Likewise.
39160         * iconv/gconv_int.h: Likewise.
39161         * iconv/gconv_simple.c: Likewise.
39162         * iconv/iconv.h: Likewise.
39163         * iconv/loop.c: Likewise.
39164         * iconv/skeleton.c: Likewise.
39165         * include/aio.h: Likewise.
39166         * include/aliases.h: Likewise.
39167         * include/argz.h: Likewise.
39168         * include/arpa/inet.h: Likewise.
39169         * include/assert.h: Likewise.
39170         * include/dirent.h: Likewise.
39171         * include/dlfcn.h: Likewise.
39172         * include/execinfo.h: Likewise.
39173         * include/fcntl.h: Likewise.
39174         * include/fenv.h: Likewise.
39175         * include/glob.h: Likewise.
39176         * include/grp.h: Likewise.
39177         * include/libintl.h: Likewise.
39178         * include/mntent.h: Likewise.
39179         * include/netdb.h: Likewise.
39180         * include/pwd.h: Likewise.
39181         * include/rpc/netdb.h: Likewise.
39182         * include/sched.h: Likewise.
39183         * include/search.h: Likewise.
39184         * include/shadow.h: Likewise.
39185         * include/signal.h: Likewise.
39186         * include/stdio.h: Likewise.
39187         * include/stdlib.h: Likewise.
39188         * include/string.h: Likewise.
39189         * include/sys/socket.h: Likewise.
39190         * include/sys/stat.h: Likewise.
39191         * include/sys/statfs.h: Likewise.
39192         * include/sys/statvfs.h: Likewise.
39193         * include/sys/syslog.h: Likewise.
39194         * include/sys/time.h: Likewise.
39195         * include/sys/uio.h: Likewise.
39196         * include/time.h: Likewise.
39197         * include/unistd.h: Likewise.
39198         * include/utmp.h: Likewise.
39199         * include/wchar.h: Likewise.
39200         * include/wctype.h: Likewise.
39201         * inet/aliases.h: Likewise.
39202         * inet/arpa/inet.h: Likewise.
39203         * inet/netinet/ether.h: Likewise.
39204         * inet/netinet/in.h: Likewise.
39205         * intl/libintl.h: Likewise.
39206         * io/bits/fcntl2.h: Likewise.
39207         * io/fcntl.h: Likewise.
39208         * io/ftw.h: Likewise.
39209         * io/sys/poll.h: Likewise.
39210         * io/sys/stat.h: Likewise.
39211         * io/sys/statfs.h: Likewise.
39212         * io/sys/statvfs.h: Likewise.
39213         * io/utime.h: Likewise.
39214         * libio/bits/stdio.h: Likewise.
39215         * libio/bits/stdio2.h: Likewise.
39216         * libio/libio.h: Likewise.
39217         * libio/libioP.h: Likewise.
39218         * libio/stdio.h: Likewise.
39219         * locale/lc-ctype.c: Likewise.
39220         * locale/locale.h: Likewise.
39221         * login/utmp.h: Likewise.
39222         * malloc/arena.c: Likewise.
39223         * malloc/malloc.c: Likewise.
39224         * malloc/malloc.h: Likewise.
39225         * malloc/mcheck.c: Likewise.
39226         * malloc/mtrace.c: Likewise.
39227         * math/bits/mathcalls.h: Likewise.
39228         * math/fenv.h: Likewise.
39229         * math/math_private.h: Likewise.
39230         * misc/bits/error.h: Likewise.
39231         * misc/bits/syslog.h: Likewise.
39232         * misc/err.h: Likewise.
39233         * misc/error.h: Likewise.
39234         * misc/fstab.h: Likewise.
39235         * misc/mntent.h: Likewise.
39236         * misc/regexp.h: Likewise.
39237         * misc/search.h: Likewise.
39238         * misc/sgtty.h: Likewise.
39239         * misc/sys/mman.h: Likewise.
39240         * misc/sys/syslog.h: Likewise.
39241         * misc/sys/uio.h: Likewise.
39242         * misc/sys/xattr.h: Likewise.
39243         * misc/ttyent.h: Likewise.
39244         * nis/rpcsvc/ypclnt.h: Likewise.
39245         * nss/nss.h: Likewise.
39246         * posix/bits/unistd.h: Likewise.
39247         * posix/fnmatch.h: Likewise.
39248         * posix/glob.h: Likewise.
39249         * posix/sched.h: Likewise.
39250         * posix/spawn.h: Likewise.
39251         * posix/sys/wait.h: Likewise.
39252         * posix/unistd.h: Likewise.
39253         * posix/wordexp.h: Likewise.
39254         * pwd/pwd.h: Likewise.
39255         * resolv/netdb.h: Likewise.
39256         * resource/sys/resource.h: Likewise.
39257         * rt/aio.h: Likewise.
39258         * rt/bits/mqueue2.h: Likewise.
39259         * rt/mqueue.h: Likewise.
39260         * shadow/shadow.h: Likewise.
39261         * signal/signal.h: Likewise.
39262         * socket/send.c: Likewise.
39263         * socket/sendto.c: Likewise.
39264         * socket/sys/socket.h: Likewise.
39265         * stdio-common/printf.h: Likewise.
39266         * stdlib/bits/stdlib.h: Likewise.
39267         * stdlib/fmtmsg.h: Likewise.
39268         * stdlib/monetary.h: Likewise.
39269         * stdlib/stdlib.h: Likewise.
39270         * stdlib/ucontext.h: Likewise.
39271         * streams/stropts.h: Likewise.
39272         * string/argz.h: Likewise.
39273         * string/bits/string2.h: Likewise.
39274         * string/string.h: Likewise.
39275         * string/strings.h: Likewise.
39276         * sunrpc/rpc/auth.h: Likewise.
39277         * sunrpc/rpc/auth_des.h: Likewise.
39278         * sunrpc/rpc/clnt.h: Likewise.
39279         * sunrpc/rpc/netdb.h: Likewise.
39280         * sunrpc/rpc/pmap_clnt.h: Likewise.
39281         * sunrpc/rpc/xdr.h: Likewise.
39282         * sysdeps/generic/inttypes.h: Likewise.
39283         * sysdeps/generic/net/if.h: Likewise.
39284         * sysdeps/generic/sys/swap.h: Likewise.
39285         * sysdeps/gnu/net/if.h: Likewise.
39286         * sysdeps/gnu/utmpx.h: Likewise.
39287         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39288         * sysdeps/i386/i486/bits/string.h: Likewise.
39289         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39290         * sysdeps/s390/bits/string.h: Likewise.
39291         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39292         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39293         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39294         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39295         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39296         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39297         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39298         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39299         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39300         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39301         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39302         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39303         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39304         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39305         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39306         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39307         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39308         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39309         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39310         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39311         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39312         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39313         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39314         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39315         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39316         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39317         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39318         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39319         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39320         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39321         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39322         * sysvipc/sys/ipc.h: Likewise.
39323         * sysvipc/sys/msg.h: Likewise.
39324         * sysvipc/sys/sem.h: Likewise.
39325         * sysvipc/sys/shm.h: Likewise.
39326         * termios/termios.h: Likewise.
39327         * time/sys/time.h: Likewise.
39328         * time/time.h: Likewise.
39329         * wcsmbs/bits/wchar2.h: Likewise.
39330         * wcsmbs/uchar.h: Likewise.
39331         * wcsmbs/wchar.h: Likewise.
39332         * wctype/wctype.h: Likewise.
39334         [BZ #13551]
39335         * Makeconfig: Remove all but ELF support including AIX support.
39336         * Makerules: Likewise.
39337         * config.h.in: Likewise.
39338         * config.make.in: Likewise.
39339         * configure: Likewise.
39340         * configure.in: Likewise.
39341         * csu/Makefile: Likewise.
39342         * csu/version.c: Likewise.
39343         * debug/Makefile: Likewise.
39344         * dlfcn/Makefile: Likewise.
39345         * elf/Makefile: Likewise.
39346         * extra-lib.mk: Likewise.
39347         * iconv/Makefile: Likewise.
39348         * include/libc-symbols.h: Likewise.
39349         * include/shlib-compat.h: Likewise.
39350         * resolv/Makefile: Likewise.
39351         * resolv/res_libc.c: Likewise.
39352         * rt/Makefile: Likewise.
39353         * sysdeps/i386/asm-syntax.h: Likewise.
39354         * sysdeps/i386/sysdep.h: Likewise.
39355         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39356         * sysdeps/mach/sysdep.h: Likewise.
39357         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39358         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39359         * sysdeps/s390/asm-syntax.h: Likewise.
39360         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39361         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39362         * sysdeps/sh/sysdep.h: Likewise.
39363         * sysdeps/unix/sparc/sysdep.h: Likewise.
39364         * sysdeps/wordsize-32/divdi3.c: Likewise.
39365         * sysdeps/x86_64/sysdep.h: Likewise.
39367         * argp/Versions: Remove _argp_unlock_xxx.
39369         [BZ #13559]
39370         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39371         * abilist/libBrokenLocale.abilist: Likewise.
39372         * abilist/libanl.abilist: Likewise.
39373         * abilist/libc.abilist: Likewise.
39374         * abilist/libcrypt.abilist: Likewise.
39375         * abilist/libdl.abilist: Likewise.
39376         * abilist/libm.abilist: Likewise.
39377         * abilist/libnsl.abilist: Likewise.
39378         * abilist/libpthread.abilist: Likewise.
39379         * abilist/libresolv.abilist: Likewise.
39380         * abilist/librt.abilist: Likewise.
39381         * abilist/libthread_db.abilist: Likewise.
39382         * abilist/libutil.abilist: Likewise.
39383         * abilist/libnss_db.abilist: New file.
39385         * scripts/abilist.awk: Add support for indirect functions.
39387         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39389         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39391         * shlib-versions: Remove entries for ports architectures.
39393         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39394         files in ports.
39395         * elf/stackguard-macros.h: Remove support for IA-64.
39396         * elf/tst-auditmod1.c: Likewise.
39397         * sysdeps/generic/ldsodefs.h: Likewise.
39399         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39400         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39401         configure files.
39403         [BZ #13552]
39404         * configure.in: Remove --enable-omitfp support.
39405         * FAQ.in: Adjust.
39406         * config.make.in: Likewise.
39407         * Makeconfig: Likewise.
39408         * manual/install.texi: Likewise.
39410         In case anyone cares, the IA-64 architecture could move to ports.
39411         * sysdeps/ia64/*: Removed.
39412         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39413         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39415         [BZ #13555]
39416         * configure.in: Remove entries for unsupported architectures.
39418         [BZ #13533]
39419         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39420         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39421         routines.
39422         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39423         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39424         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39425         fall back to using wcrtomb.
39426         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39427         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39428         renaming.
39429         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39430         * wcsmbs/tst-c16c32-1.c: New file.
39432         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39433         local variable.
39435         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39437         * elf/tst-unique3.cc: Add explicit declaration of gets.
39438         * elf/tst-unique3lib.cc: Likewise.
39439         * elf/tst-unique3lib2.cc: Likewise.
39440         * elf/tst-unique4.cc: Likewise.
39442         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39444 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39446         [BZ #13566]
39447         * assert/assert.h (static_assert): Don't define for C++.
39448         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39449         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39451 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39453         * iconv/loop.c (single loop): Fix assertion in storing of
39454         remaining bytes.
39456         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39458 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39460         * posix/getconf.c: Update copyright year.
39461         * nss/getent.c: Likewise.
39462         * nss/makedb.c: Likewise.
39463         * iconv/iconvconfig.c: Likewise.
39464         * iconv/iconv_prog.c: Likewise.
39465         * elf/ldconfig.c: Likewise.
39466         * elf/pldd.c: Likewise.
39467         * elf/sotruss.ksh: Likewise.
39468         * catgets/gencat.c: Likewise.
39469         * csu/version.c: Likewise.
39470         * elf/ldd.bash.in: Likewise.
39471         * elf/sprof.c (print_version): Likewise.
39472         * locale/programs/locale.c: Likewise.
39473         * locale/programs/localedef.c: Likewise.
39474         * login/programs/pt_chown.c: Likewise.
39475         * nscd/nscd.c (print_version): Likewise.
39476         * debug/xtrace.sh: Likewise.
39477         * malloc/memusage.sh: Likewise.
39478         * malloc/mtrace.pl: Likewise.
39479         * debug/catchsegv.sh: Likewise.
39481 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39483         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39484         pure attribute.
39486 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39488         [BZ #13533]
39489         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39490         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39491         transformations.
39492         * iconv/gconv_int.h: Likewise.
39493         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39494         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39495         from libc for GLIBC_2.16.
39496         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39497         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39498         * wcsmbs/uchar.h: Really define mbstate_t.
39499         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39500         * wcsmbs/c16rtomb.c: New file.
39501         * wcsmbs/mbrtoc16.c: New file.
39502         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39503         for C/POSIX locale.
39504         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39505         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39507         * wcsmbs/wchar.h: Add missing __restrict.
39509 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39511         [BZ #13532]
39512         * time/Makefile (routines): Add timespec_get.
39513         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39514         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39515         timespec for ISO C11.
39516         * time/timespec_get.c: New file.
39517         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39518         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39520         [BZ #13531]
39521         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39522         * stdlib/stdlib.h: Declare aligned_alloc.
39523         * Versions.def: Add GLIBC_2.16 for libc.
39524         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39526         [BZ 13527]
39527         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39528         ISO C11.
39530         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39531         code.
39533         [BZ #13528]
39534         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39536         [BZ #13529]
39537         * assert/assert.h (static_assert): Define.
39539         * version.h: Update for 2.16 development version.
39541         [BZ #13526]
39542         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39543         _ISOC11_SOURCE.
39545         * version.h (RELEASE): Bump for 2.15 release.
39546         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39548         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39549         Patch by Marek Polacek <mpolacek@redhat.com>.
39551         * bits/byteswap.h: Protect long long constants with __extension__.
39552         * sysdeps/i386/bits/byteswap.h: Likewise.
39553         * sysdeps/ia64/bits/byteswap.h: Likewise.
39554         * sysdeps/s390/bits/byteswap.h: Likewise.
39555         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39557 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39559         [BZ #13540]
39560         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39561         destination buffer.
39562         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39564 2011-12-23  Marek Polacek  <polacek@redhat.com>
39566         * elf/dl-addr.c (determine_info): Add inline keyword.
39567         * elf/tst-auditmod4b.c (check_avx): Likewise.
39568         * elf/tst-auditmod6b.c (check_avx): Likewise.
39569         * elf/tst-auditmod6c.c (check_avx): Likewise.
39570         * elf/tst-auditmod7b.c (check_avx): Likewise.
39572 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39574         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39575         !__SSE_MATH__.
39577 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39579         [BZ #13540]
39580         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39581         processing for last bytes.
39583 2011-08-06  Bruno Haible  <bruno@clisp.org>
39585         [BZ #13061]
39586         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39587         U+0385, not to U+1FEE.
39589         [BZ #13062]
39590         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39591         entry for U+00A5 U+0301.
39593 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39595         [BZ #13166]
39596         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39597         buffer for the output is too small.
39599         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39600         optimization.
39602         [BZ #13185]
39603         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39604         SSE flags if possible.
39606 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39608         [BZ #13540]
39609         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39610         processing for last bytes.
39612 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39614         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39615         (syscall-list-default-options, syscall-list-default-condition)
39616         (syscall-list-includes): Define.
39617         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39618         list of ABIs and options and #if conditions for each ABI.  Do not
39619         handle common syscalls between ABIs specially.
39620         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39621         Remove.
39622         (syscall-list-variants, syscall-list-32bit-options)
39623         (syscall-list-32bit-condition, syscall-list-64bit-options)
39624         (syscall-list-64bit-condition): Define.
39625         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39626         (syscall-list-variants, syscall-list-32bit-options)
39627         (syscall-list-32bit-condition, syscall-list-64bit-options)
39628         (syscall-list-64bit-condition): Define.
39629         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39630         Remove.
39631         (syscall-list-variants, syscall-list-32bit-options)
39632         (syscall-list-32bit-condition, syscall-list-64bit-options)
39633         (syscall-list-64bit-condition): Define.
39634         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39635         Remove.
39636         (syscall-list-variants, syscall-list-32bit-options)
39637         (syscall-list-32bit-condition, syscall-list-64bit-options)
39638         (syscall-list-64bit-condition): Define.
39640 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39642         * locale/iso-639.def: Add brx entry.
39644         [BZ #13328]
39645         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39646         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39648         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39649         __feraiseexcept_renamed.
39651 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39653         [BZ #13538]
39654         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39655         EPOLLET with unsigned values.
39656         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39657         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39659         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39660         to large cancellation.
39661         * math/s_cacoshf.c: Likewise.
39662         * math/s_cacoshl.c: Likewise.
39664 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39666         [BZ #13305]
39667         [BZ #12786]
39668         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39669         * math/s_cacoshf.c: Likewise.
39670         * math/s_cacoshl.c: Likewise.
39672 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39674         [BZ #13439]
39675         * iconv/gconv.h: Define __GCONV_SWAP.
39676         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39677         * iconvdata/utf-16.c: Likewise.
39678         * iconvdata/utf-32.c: Likewise.
39680 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39682         [BZ #13524]
39683         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39684         numerator after shifting it by one limb.
39686 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39688         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39689         under [__USE_EXTERN_INLINES].
39691 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39693         [BZ #13446]
39694         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39696 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39698         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39699         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39700         optimized code.
39701         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39702         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39703         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39704         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39705         for strncasecmp/strncasecmp_l compilation.
39706         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39707         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39709 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39711         [BZ #13484]
39712         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39713         of __asm__.
39715 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39717         [BZ #13506]
39718         * time/tzfile.c (__tzfile_read): Check values from file header.
39720 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39722         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39723         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39724         * powerpc/powerpc32/dl-start.S: Likewise.
39725         * powerpc/powerpc32/elf/start.S: Likewise.
39726         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39727         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39728         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39729         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39730         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39731         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39732         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39733         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39734         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39735         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39736         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39737         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39738         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39739         * powerpc/powerpc32/memset.S: Likewise.
39740         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39741         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39742         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39743         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39744         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39745         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39746         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39747         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39748         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39749         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39750         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39751         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39752         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39754 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39756         * math/libm-test.inc: Added more nearbyint tests.
39757         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39758         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39759         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39760         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39762 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39764         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39765         FD_CLOEXEC.
39767 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39769         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39770         Add wcscpy-ssse3 wcscpy-c.
39771         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39772         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39773         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39774         * sysdeps/x86_64/wcschr.S: New file.
39775         * sysdeps/x86_64/wcsrchr.S: New file.
39776         * string/test-strcmp.c: Remove checking of wcscmp function for
39777         wrong alignments.
39778         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39779         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39780         wcsrchr-sse2 wcsrchr-c.
39781         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39782         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39783         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39784         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39785         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39786         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39787         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39788         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39789         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39790         * wcsmbc/wcschr.c (WCSCHR): New macro.
39792 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39794         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39795         * wcsmbs/test-wcsrchr.c: New file.
39796         * string/test-strrchr.c: Add wcsrchr support.
39797         (WIDE): New macro.
39798         * wcsmbs/test-wcscpy.c: New file.
39799         * string/test-strcpy.c: Add wcscpy support.
39800         (WIDE): New macro.
39802 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39804         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39805         the inner loop.
39807 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39809         [BZ #13472]
39810         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39812 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39814         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39815         Minor optimizations.
39817         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39818         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39819         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39821 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39823         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39824         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39825         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39826         for gcc to avoid warnings.
39827         * inet/Makefile (tests): Add tst-checks.
39828         * inet/tst-checks.c: New file.
39830         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39831         warning.
39833         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39834         __wmemcmp_sse2.
39836         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39837         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39839         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39841 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39843         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39844         problem.
39846         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39848 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39850         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39851         conditional on GCC version.
39852         (__arch_compare_and_exchange_val_8_acq)
39853         (__arch_compare_and_exchange_val_16_acq)
39854         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39855         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39856         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39858 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39860         * sysdeps/sh/backtrace.c: New file.
39862 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39864         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39865         parenthesis.
39867 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39869         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39870         falling back to utime.
39872 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39874         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39875         expectations for float.
39877 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39879         * locale/weight.h (findidx): Add parameter len.
39880         * locale/weightwc.h (findidx): Likewise.
39881         * posix/fnmatch_loop.c (FCT): Adjust caller.
39882         * posix/regcomp.c (build_equiv_class): Likewise.
39883         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39884         * posix/regexec.c (check_node_accept_bytes): Likewise.
39885         * string/strcoll_l.c (STRCOLL): Likewise.
39886         * string/strxfrm_l.c (STRXFRM): Likewise.
39888 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39890         * Makefile.in: Remove CVSOPT handling.
39891         * configure.in: Remove use of AC_REVISION.
39892         * iconvdata/Makefile (distribute): No need to filter out CVS.
39893         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39894         handling.
39896 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39898         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39899         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39900         [USE_AS_STRNCASECMP_L]: Likewise.
39901         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39902         NO_TLS_DIRECT_SEG_REFS.
39903         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39904         Fix argument offsets for non-PIC.
39905         [USE_AS_STRNCASECMP_L]: Likewise.
39906         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39907         NO_TLS_DIRECT_SEG_REFS.
39909 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39911         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39912         O_CLOEXEC.
39913         * locale/loadlocale.c (_nl_load_locale): Likewise.
39915 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39917         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39918         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39919         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39920         (SYSCALL_GETTIME): Set errno on error.
39922         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39923         count references to noai6ai_cached.
39925 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39927         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39929         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39930         FD_CLOEXEC for /proc/self/maps.
39932         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39933         FD_CLOEXEC for /proc/meminfo.
39935         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39936         gai.conf.
39938         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
39939         FD_CLOEXEC for given file.
39941         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39943         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39944         FD_CLOEXEC for /etc/hosts.
39945         (_gethtent): Likewise.
39947         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39949         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39950         cancellation and set FD_CLOEXEC for /etc/netgroup.
39952         * nss/nss_files/files-key.c (search): Don't allow cancellation when
39953         reading /etc/publickey.
39955         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39956         allow cancellation when reading /etc/group.
39958         * nss/nss_files/files-alias.c (internal_setent): Don't allow
39959         cancellation.
39960         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
39962         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39963         when using data file.
39965         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39967         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39968         (write_nis_obj): Use "c" and "e" in fopen.
39970         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39972         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39974         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39976         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39978         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39979         locale.alias.
39981         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39983         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39985         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39987         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39988         file parsing and set FD_CLOEXEC.
39990 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39992         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39994 2011-11-14  Andreas Schwab  <schwab@redhat.com>
39996         * malloc/arena.c (arena_get2): Don't call reused_arena when
39997         _int_new_arena failed.
39999 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40001         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40002         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40003         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40004         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40005         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40006         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40007         to compile strcasecmp and strncasecmp.
40008         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40009         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40011         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40013 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40015         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40016         locale-defines.sym to gen-as-const-headers.
40017         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40018         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40019         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40020         to compile strcasecmp and strncasecmp.
40021         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40022         strcasecmp_l and strncasecmp_l.
40023         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40024         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40025         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40026         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40027         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40028         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40029         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40030         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40031         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40032         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40033         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40035 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40037         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40038         result of SYSDEP_GETTIME_CPU to retval.
40039         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40040         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40042         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40043         variable.
40045         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40046         mantissa words.
40047         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40049         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40050         from unused variable.
40052         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40053         DWARF definitions.
40054         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40055         for assembling.
40057         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40058         over namespaces.
40060         * sunrpc/rpc_prot.c (rejected): Fix case value.
40062         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40063         unsigned long long int to avoid warnings in shift.
40065         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40066         of use of trans.
40067         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40068         variable tmp.
40070         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40071         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40072         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40074         * nis/nis_table.c (nis_list): Use variable of correct type for
40075         result of __follow_path call.
40077 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40079         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40080         of math functions ceil, trunc, floor, round, and sqrt, when
40081         avaliable on the platform.
40082         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40083         name clash.
40084         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40085         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40086         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40088 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40090         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40091         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40093 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40095         * include/unistd.h: Fix __readlink return type.
40096         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40098 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40100         * stdlib/ucontext.h: Undo last change for makecontext.
40102 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40104         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40106         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40107         * setjmp/setjmp.h: Mark functions as non-leaf.
40108         * setjmp/bits/setjmp2.h: Likewise.
40109         * stdlib/ucontext.h: Likewise.
40111 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40113         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40114         (reused_arena): Don't check arena limit.
40115         (arena_get2): Atomically check arena limit.
40117 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40119         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40120         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40123         instructions.
40125 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40127         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40128         handler when locking.
40130         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40131         Fix size of allocated buffer.
40133 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40135         [BZ #10103]
40136         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40137         declarations for long double functions.
40138         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40140         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40142 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40144         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40145         installed.
40147         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40148         is disabled.
40150 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40152         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40154 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40156         * include/alloca.h (stackinfo_alloca_round): Define.
40157         (extend_alloca): Use it.
40158         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40159         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40160         here.
40162         * scripts/check-local-headers.sh: Ignore libaudit.h.
40164         * nscd/Makefile (extra-objs): Make recursively expanded.
40166 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40168         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40169         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40171         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40172         * posix/tst-rfc3484-2.c: Likewise.
40173         * posix/tst-rfc3484-3.c: Likewise.
40175         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40176         process_vm_writev.
40177         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40178         process_vm_writev.
40179         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40180         process_vm_writev from libc using GLIBC_2.15 version.
40182         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40184 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40186         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40187         stack usage.
40189 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40191         [BZ #13367]
40192         * nss/getent.c (initgroups_keys): Show error message in case no group
40193         names are given.
40195         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40196         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40197         __bump_nl_timestamp.
40198         * nscd/connections (nscd_init): When host database is served open
40199         netlink socket and request notification about configuration changes.
40200         (main_loop_poll): Track netlink file descriptor and bump timestamp
40201         in case data becomes available.
40202         (main_loop_epoll): Likewise.
40203         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40204         (database_pers_head): Add extra_data fileds.
40205         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40206         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40207         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40208         Adjust caller.
40209         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40210         in6ai data, call __free_in6ai.
40211         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40212         Add -DHAVE_NETLINK.
40213         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40214         interface information.  Reuse previous data if netlink timestamp
40215         is not changed.
40216         (__bump_nl_timestamp): New function.
40217         (__free_in6ai): New function.
40219 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40221         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40222         close_not_cancel_no_status here.
40223         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40225 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40227         [BZ #13276]
40228         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40229         return value.
40231         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40232         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40233         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40235 2011-07-03  Andreas Jaeger  <aj@suse.de>
40237         [BZ #10709]
40238         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40239         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40240         * math/libm-test.inc (sin_test): Add test case.
40242 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40244         [BZ #13337]
40245         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40246         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40248         * elf/chroot_canon.c (chroot_canon): Cleanups.
40250         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40252         [BZ #13335]
40253         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40254         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40256         * string/test-strchr.c: Make usable for strchrnul testing.
40257         * string/test-strchrnul.c: New file.
40258         * string/Makefile (strop-tests): Add strchrnul.
40260         * po/it.po: Update from translation team.
40261         * po/es.po: Likewise.
40263 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40265         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40266         the three constants needed as parameters.  Drop the others.
40267         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40268         __m128i_strloadu_tolower.
40269         Create and initialize variable zero and use it in all the places
40270         where _mm_setzero_si128 was used.
40272         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40273         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40274         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40275         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40276         anymore.
40277         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40278         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40279         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40280         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40281         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40282         __mpranred, __mptan.
40283         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40284         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40285         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40286         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40287         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40288         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40289         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40290         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40291         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40293 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40295         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40296         redefine if SHARED.
40297         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40299         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40300         wide char related routines to wcsmbs subdir.
40302 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40304         [BZ #13344]
40305         * misc/sys/cdefs.h (__THROWNL): Define.
40306         * posix/unistd.h: Use __THREADNL instead of __THREAD
40307         for memory synchronization functions.
40309 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40311         [BZ #13349]
40312         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40313         doesn't exist.
40314         * manual/stdio.texi (Obstack Streams): Node removed.
40316 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40318         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40319         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40320         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40322         * math/math_private.h (math_force_eval): Allow non-addressable
40323         arguments.
40324         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40326 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40328         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40329         file is not needed.
40331         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40332         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40333         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40334         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40335         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40336         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40337         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40338         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40339         Add AVX variants.
40340         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40341         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40342         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40343         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40344         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40345         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40346         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40347         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40348         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40349         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40350         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40351         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40352         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40353         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40354         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40355         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40356         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40357         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40358         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40360         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40361         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40363         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40364         place.  Use VEX encoding when compiling for AVX.
40366 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40368         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40369         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40371         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40373 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40375         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40376         useless if() expression.
40377         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40378         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40379         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40380         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40381         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40382         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40383         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40384         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40385         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40386         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40387         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40388         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40389         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40390         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40391         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40392         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40393         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40394         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40395         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40397         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40399 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40401         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40402         condition.
40403         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40405 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40407         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40408         .text section.  Avoid duplicate constants.
40409         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40410         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40411         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40412         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40413         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40414         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40416         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40417         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40418         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40419         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40420         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40421         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40422         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40423         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40424         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40425         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40426         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40427         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40428         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40429         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40430         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40431         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40432         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40433         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40434         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40435         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40436         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40437         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40438         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40439         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40440         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40441         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40442         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40443         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40444         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40445         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40446         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40447         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40448         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40449         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40450         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40451         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40452         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40453         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40455 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40457         * sysdeps/x86_64/dla.h: Move to ...
40458         * sysdeps/x86_64/fpu/dla.h: ...here.
40459         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40460         situations.  Use __builtin_fma only for gcc 4.6 and up.
40462         * config.make.in: Add have-mfma4 entry.
40463         * configure.in: Substitute libc_cv_cc_fma4.
40464         * math/Makefile (dbl-only-routines): Add sincostab.
40465         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40466         Use __sincostab not sincos.
40467         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40468         name is a macro.
40469         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40471         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40472         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40473         using __copysign.
40474         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40475         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40476         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40477         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40478         and __inv.
40479         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40480         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40481         __copysign.
40482         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40483         define aliases when function name is a macro.
40484         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40485         sysdeps/ieee754/dbl-64/sincos.tbl.
40486         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40487         fma4-enabled routines.
40488         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40489         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40490         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40491         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40492         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40493         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40494         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40495         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40496         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40497         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40498         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40499         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40500         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40501         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40502         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40503         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40504         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40505         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40506         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40507         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40508         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40509         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40510         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40511         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40512         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40513         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40514         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40515         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40516         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40517         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40519         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40520         rename.
40521         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40528         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40530 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40532         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40534 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40536         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40538         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40539         prediction.
40540         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40542         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40543         Remove unused variable magic_bits.
40544         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40546         * string/strnlen.c: Define and use STRNLEN macro.
40547         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40548         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40549         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40550         * wcsmbs/wcslen.c: Define and use WCSLEN.
40551         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40552         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40553         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40554         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40555         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40556         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40557         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40559 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40562         strnlen-sse2-no-bsf.
40563         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40564         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40565         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40566         Add strnlen support.
40567         (USE_AS_STRNLEN): New macro.
40568         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40569         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40570         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40571         * sysdeps/x86_64/wcslen.S: New file.
40573 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40575         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40576         XMM-moves are used for copying on small sizes.
40578 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40580         * wcsmbs/Makefile (strop-tests): Add wcschr.
40581         * wcsmbs/test-wcschr.c: New file.
40582         * string/test-strchr.c: Update.
40583         Add wcschr support.
40584         (WIDE): New macro.
40586 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40588         * wcsmbs/Makefile (strop-tests): Add wcslen.
40589         * wcsmbs/test-wcslen.c: New file.
40590         * string/test-strlen.c: Update.
40591         Add wcslen support.
40592         (WIDE): New macro.
40594 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40596         * po/it.po: Update from translation team.
40598 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40600         * sysdeps/x86_64/wcscmp.S: Update.
40601         Fix wrong comparison semantics.
40602         wcscmp shall use signed comparison not unsigned.
40603         Don't use substraction to avoid overflow bug.
40604         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40605         * wcsmbc/wcscmp.c: Likewise.
40606         * string/test-strcmp.c: Likewise.
40607         Add new tests to check cases with negative values.
40609 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40611         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40612         * sysdeps/x86_64/dla.h: ...here.  New file.
40613         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40614         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40615         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40616         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40617         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40618         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40619         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40620         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40621         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40623 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40626         __ynl_finite aliases.
40628 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40632         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40633         define DLA_FMA.
40634         [DLA_FMA] (EMULV): Use DLA_FMA.
40635         [DLA_FMA] (MUL12): Use EMULV.
40636         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40637         that are not needed.
40638         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40639         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40640         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40641         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40643         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40646 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40648         * math/s_nan.c: Undef __nan.
40649         * math/s_nanf.c: Undef __nanf.
40650         * math/s_nanl.c: Undef __nanl.
40651         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40652         "math_private.h".
40654 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40656         * math/s_catan.c: Add branch predictions.
40657         * math/s_catanf.c: Likewise.
40658         * math/s_catanh.c: Likewise.
40659         * math/s_catanhf.c: Likewise.
40660         * math/s_catanhl.c: Likewise.
40661         * math/s_catanl.c: Likewise.
40662         * math/s_cexp.c: Likewise.
40663         * math/s_cexpf.c: Likewise.
40664         * math/s_cexpl.c: Likewise.
40665         * math/s_clog.c: Likewise.
40666         * math/s_clog10.c: Likewise.
40667         * math/s_clog10f.c: Likewise.
40668         * math/s_clog10l.c: Likewise.
40669         * math/s_clogf.c: Likewise.
40670         * math/s_clogl.c: Likewise.
40671         * math/s_csqrt.c: Likewise.
40672         * math/s_csqrtf.c: Likewise.
40673         * math/s_csqrtl.c: Likewise.
40674         * math/s_ctanf.c: Likewise.
40675         * math/s_ctanh.c: Likewise.
40676         * math/s_ctanhf.c: Likewise.
40677         * math/s_ctanhl.c: Likewise.
40678         * math/s_ctanl.c: Likewise.
40680         * math/math_private.h: Define __nan, __nanf, __nanl.
40681         * math/s_cacosh.c: Include <math_private.h>.
40682         * math/s_cacoshl.c: Likewise.
40683         * math/s_casinh.c: Likewise.
40684         * math/s_casinhf.c: Likewise.
40685         * math/s_casinhl.c: Likewise.
40686         * math/s_ccos.c: Rely entire on ccosh.
40687         * math/s_ccosf.c: Rely entire on ccoshf.
40688         * math/s_ccosl.c: Rely entirely on ccoshl.
40689         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40690         Remove tests for FE_INVALID.
40691         * math/s_ccoshf.c: Likewise.
40692         * math/s_ccoshl.c: Likewise.
40693         * math/s_csin.c: Likewise.
40694         * math/s_csinf.c: Likewise.
40695         * math/s_csinh.c Likewise.
40696         * math/s_csinhf.c: Likewise.
40697         * math/s_csinhl.c: Likewise.
40698         * math/s_csinl.c: Likewise.
40699         * math/s_ctan.c: Likewise.
40700         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40701         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40702         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40704 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40707         compilation problems.
40709         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40710         __builtin_expect.
40712 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40714         * sysdeps/i386/configure.in: Test for -mfma4 option.
40715         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40716         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40717         COMMON_CPUID_INDEX_80000001.
40718         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40719         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40720         use it if FMA3 is not supported.
40721         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40723         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40724         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40726 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40728         [BZ #12892]
40729         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40730         it would create a cycle with a link time dependency.
40732 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40734         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40735         instruction.
40736         * string/Makefile (strop-tests): Add rawmemchr.
40737         * string/test-rawmemchr.c: New file.
40739         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40740         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40741         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40742         when compiling str{,n}casecmp and when AVX is available.  Hook up
40743         new optimized code in initializers.
40745 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40747         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40748         __feraiseexcept instead of feraiseexcept.
40750 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40752         * math/math_private.h: Define defaults for libc_fetestexcept and
40753         libc_feupdateenv.
40754         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40755         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40756         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40757         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40758         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40759         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40760         libc_fetestexcept and libc_feupdateenv.
40762         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40763         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40764         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40765         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40766         libc_feholdexcept_setround.
40768         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40769         Add s_nearbyint-c and s_nearbyintf-c.
40770         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40771         nearbyintf inlines.
40772         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40773         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40774         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40775         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40777         * math/math_private.h: Define defaults for libc_fegetround,
40778         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40779         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40780         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40781         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40782         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40783         standard functions.
40784         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40785         Remove comments and hacks for old compiler versions.
40786         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40787         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40788         libc_feholdexceptl.
40790 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40792         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40793         (__feraiseexcept_renamed): Add __NTH.
40794         (feraiseexcept): Add __NTH.  Rename local variables to fix
40795         namespace violations.
40797 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40799         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40801         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40803         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40804         recently added interfaces.
40805         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40807         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40808         about macro parameter expansion.
40810         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40811         __NO_MATH_INLINES is defined.  Cleanups.
40813         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40814         and __floorf is target has SSE4.1.
40815         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40816         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40817         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40818         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40820         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40821         name.
40822         (floorf): Likewise.
40824         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40826 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40828         * misc/sys/cdefs.h: Fix last change.
40830         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40831         database lookup.
40833 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40835         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40837         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40838         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40839         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40840         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40841         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40842         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40843         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40844         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40845         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40846         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40847         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40848         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40849         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40850         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40851         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40852         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40853         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40854         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40855         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40856         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40857         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40858         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40860         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40861         ceil, ceilf, floor, floorf.
40863         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40864         Perform IRELATIVE relocations last.
40866         * elf/do-rel.h: Add another parameter nrelative, replacing the
40867         local variable with the same name.  Change name of the function
40868         to end in Rel or Rela (uppercase).
40869         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40870         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40871         elf_dynamic_do_##reloc function.
40873 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40875         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40876         is sufficient, at least on modern CPUs.
40878         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40880         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40881         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40883         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40884         __expl_finite.
40885         * math/bits/math-finite.h: Add entries for exp.
40886         * math/e_expl.c: Add __*_finite alias.
40887         * sysdeps/i386/fpu/e_exp.S: Likewise.
40888         * sysdeps/i386/fpu/e_expf.S: Likewise.
40889         * sysdeps/i386/fpu/e_expl.c: Likewise.
40890         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40891         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40892         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40893         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40895         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40896         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40898         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40899         is sufficient, at least on modern CPUs.
40901         * ctype/ctype-info.c (__ctype_init): Define.
40902         * include/ctype.h (__ctype_init): Declare.
40903         (__ctype_b_loc): The variable is always initialized.
40904         (__ctype_toupper_loc): Likewise.
40905         (__ctype_tolower_loc): Likewise.
40906         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40907         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40909 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40911         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40913         * configure.in: Also look in $cxxmachine/include for C++ system
40914         headers.
40916 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40918         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40919         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40920         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40921         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40922         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40923         (USE_AS_WMEMCMP): New macro.
40924         Fixing indents.
40925         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40926         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40927         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40928         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40930         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40931         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40932         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40933         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40934         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40935         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40936         (USE_AS_WMEMCMP): New macro.
40937         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40938         * sysdeps/string/test-memcmp.c: Update.
40939         Fix simple_wmemcmp.
40940         Add new tests.
40941         * wcsmbs/wmemcmp.c: Update.
40942         (WMEMCMP): New macro.
40943         Fix overflow bug.
40945 2011-10-12  Andreas Jaeger  <aj@suse.de>
40947         [BZ #13268]
40948         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40950 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40952         * libio/iofwide.c (do_length): Avoid warning.
40954         * ctype/ctype.h (__isctype_f): Add missing __THROW.
40956 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
40958         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40960         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40961         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40962         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40963         * sysdeps/i386/i686/fpu/e_log.S: New file.
40964         * sysdeps/i386/i686/fpu/e_logf.S: New file.
40965         * sysdeps/i386/i686/fpu/e_logl.S: New file.
40967         * ctype/ctype.h: Add support for inlined isXXX functions when
40968         compiling C++ code.
40970 2011-10-14  Andreas Schwab  <schwab@redhat.com>
40972         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40974         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40976 2011-10-13  Roland McGrath  <roland@hack.frob.com>
40978         [BZ #13291]
40979         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40981 2011-10-13  Andreas Schwab  <schwab@redhat.com>
40983         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40984         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40985         feraiseexcept.
40987         * sysdeps/x86_64/memrchr.S: Check for zero size.
40989         * string/stratcliff.c: Add memrchr tests.
40991 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40993         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40994         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40995         rawmemchr-sse2 rawmemchr-sse2-bsf.
40996         * sysdeps/i386/i686/multiarch/memchr.S: New file.
40997         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40998         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40999         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41000         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41001         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41002         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41003         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41004         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41005         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41006         * string/memrchr.c (MEMRCHR): New macro.
41008 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41010         Add integration with gcc's -ffinite-math-only and optimize wrapper
41011         functions in libm.
41012         * Versions.def: Define GLIBC_2.15 version for libm.
41013         * math/Makefile (headers): Add bits/math-finite.h.
41014         * math/bits/math-finite.h: New file.
41015         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41016         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41017         * math/e_acoshl.c: Add __*_finite alias.
41018         * math/e_acosl.c: Likewise.
41019         * math/e_asinl.c: Likewise.
41020         * math/e_atan2l.c: Likewise.
41021         * math/e_atanhl.c: Likewise.
41022         * math/e_coshl.c: Likewise.
41023         * math/e_exp10.c: Likewise.
41024         * math/e_exp10f.c: Likewise.
41025         * math/e_exp10l.c: Likewise.
41026         * math/e_exp2l.c: Likewise.
41027         * math/e_fmodl.c: Likewise.
41028         * math/e_gammal_r.c: Likewise.
41029         * math/e_hypotl.c: Likewise.
41030         * math/e_j0l.c: Likewise.
41031         * math/e_j1l.c: Likewise.
41032         * math/e_jnl.c: Likewise.
41033         * math/e_lgammal_r.c: Likewise.
41034         * math/e_log10l.c: Likewise.
41035         * math/e_log2l.c: Likewise.
41036         * math/e_logl.c: Likewise.
41037         * math/e_powl.c: Likewise.
41038         * math/e_sinhl.c: Likewise.
41039         * math/e_sqrtl.c: Likewise.
41040         * math/e_scalb.c: Completely rewritten and optimized.
41041         * math/e_scalbf.c: Likewise.
41042         * math/e_scalbl.c: Likewise.
41043         * math/w_acos.c: Likewise.
41044         * math/w_acosf.c: Likewise.
41045         * math/w_acosl.c: Likewise.
41046         * math/w_acosh.c: Likewise.
41047         * math/w_acoshf.c: Likewise.
41048         * math/w_acoshl.c: Likewise.
41049         * math/w_asin.c: Likewise.
41050         * math/w_asinf.c: Likewise.
41051         * math/w_asinl.c: Likewise.
41052         * math/w_atan2.c: Likewise.
41053         * math/w_atan2f.c: Likewise.
41054         * math/w_atan2l.c: Likewise.
41055         * math/w_atanh.c: Likewise.
41056         * math/w_atanhf.c: Likewise.
41057         * math/w_atanhl.c: Likewise.
41058         * math/w_exp10.c: Likewise.
41059         * math/w_exp10f.c: Likewise.
41060         * math/w_exp10l.c: Likewise.
41061         * math/w_fmod.c: Likewise.
41062         * math/w_fmodf.c: Likewise.
41063         * math/w_fmodl.c: Likewise.
41064         * math/w_j0.c: Likewise.
41065         * math/w_j0f.c: Likewise.
41066         * math/w_j0l.c: Likewise.
41067         * math/w_j1.c: Likewise.
41068         * math/w_j1f.c: Likewise.
41069         * math/w_j1l.c: Likewise.
41070         * math/w_jn.c: Likewise.
41071         * math/w_jnf.c: Likewise.
41072         * math/w_log.c: Likewise.
41073         * math/w_logf.c: Likewise.
41074         * math/w_logl.c: Likewise.
41075         * math/w_log10.c: Likewise.
41076         * math/w_log10f.c: Likewise.
41077         * math/w_log10l.c: Likewise.
41078         * math/w_log2.c: Likewise.
41079         * math/w_log2f.c: Likewise.
41080         * math/w_log2l.c: Likewise.
41081         * math/w_pow.c: Likewise.
41082         * math/w_powf.c: Likewise.
41083         * math/w_powl.c: Likewise.
41084         * math/w_remainder.c: Likewise.
41085         * math/w_remainderf.c: Likewise.
41086         * math/w_remainderl.c: Likewise.
41087         * math/w_scalb.c: Likewise.
41088         * math/w_scalbf.c: Likewise.
41089         * math/w_scalbl.c: Likewise.
41090         * math/w_sqrt.c: Likewise.
41091         * math/w_sqrtf.c: Likewise.
41092         * math/w_sqrtl.c: Likewise.
41093         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41094         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41095         used.
41096         * math/math_private.h: Declare __kernel_standard_f.
41097         * math/w_cosh.c: Remove cruft and optimize a bit.
41098         * math/w_coshf.c: Likewise.
41099         * math/w_coshl.c: Likewise.
41100         * math/w_exp2.c: Likewise.
41101         * math/w_exp2f.c: Likewise.
41102         * math/w_exp2l.c: Likewise.
41103         * math/w_hypot.c: Likewise.
41104         * math/w_hypotf.c: Likewise.
41105         * math/w_hypotl.c: Likewise.
41106         * math/w_lgamma.c: Likewise.
41107         * math/w_lgamma_r.c: Likewise.
41108         * math/w_lgammaf.c: Likewise.
41109         * math/w_lgammaf_r.c: Likewise.
41110         * math/w_lgammal.c: Likewise.
41111         * math/w_lgammal_r.c: Likewise.
41112         * math/w_sinh.c: Likewise.
41113         * math/w_sinhf.c: Likewise.
41114         * math/w_sinhl.c: Likewise.
41115         * math/w_tgamma.c: Likewise.
41116         * math/w_tgammaf.c: Likewise.
41117         * math/w_tgammal.c: Likewise.
41118         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41119         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41120         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41121         Minor optimizations.  Pretty printing.  Remove cruft.
41122         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41123         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41124         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41125         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41126         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41127         * sysdeps/i386/fpu/e_asin.S: Likewise.
41128         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41129         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41130         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41131         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41132         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41133         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41134         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41135         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41136         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41137         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41138         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41139         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41140         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41141         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41142         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41143         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41144         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41145         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41146         * sysdeps/i386/fpu/e_log.S: Likewise.
41147         * sysdeps/i386/fpu/e_log10.S: Likewise.
41148         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41149         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41150         * sysdeps/i386/fpu/e_log2.S: Likewise.
41151         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41152         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41153         * sysdeps/i386/fpu/e_logf.S: Likewise.
41154         * sysdeps/i386/fpu/e_logl.S: Likewise.
41155         * sysdeps/i386/fpu/e_pow.S: Likewise.
41156         * sysdeps/i386/fpu/e_powf.S: Likewise.
41157         * sysdeps/i386/fpu/e_powl.S: Likewise.
41158         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41159         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41160         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41161         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41162         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41163         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41164         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41165         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41166         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41167         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41168         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41169         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41170         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41171         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41172         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41173         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41174         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41175         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41176         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41177         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41178         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41179         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41180         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41181         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41182         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41183         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41184         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41185         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41186         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41187         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41188         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41189         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41190         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41191         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41192         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41193         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41194         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41195         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41196         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41197         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41198         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41199         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41200         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41201         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41202         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41203         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41204         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41205         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41206         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41207         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41208         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41222         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41233         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41236         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41238         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41239         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41242         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41243         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41244         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41245         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41246         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41247         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41248         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41249         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41250         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41251         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41252         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41253         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41254         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41255         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41256         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41257         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41258         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41259         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41260         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41261         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41262         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41263         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41264         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41265         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41266         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41267         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41268         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41269         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41270         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41271         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41272         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41273         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41274         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41275         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41276         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41277         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41278         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41279         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41280         (__isnanf): Likewise.
41281         (__isinf_ns): Likewise.
41282         (__isinf_nsf): Likewise.
41283         (__finite): Likewise.
41284         (__finitef): Likewise.
41285         (__ieee754_sqrt): Define as macro.
41286         (__ieee754_sqrtf): Define as macro.
41287         (__ieee754_sqrtl): Define as macro.
41288         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41289         inlined copy.
41290         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41291         __FINITE_MATH_ONLY__ consistent.
41292         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41294 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41296         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41297         of rawmemchr.
41299         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41301 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41303         * po/ja.po: Update from translation team.
41305 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41307         * locale/programs/locarchive.c (prepare_address_space): New function.
41308         (create_archive, enlarge_archive, open_archive): Use it.
41310         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41311         inside [SHARED], where it is used.
41313         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41315         * nss/getent.c (netgroup_keys): Remove unused variable.
41316         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41318 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41320         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41321         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41322         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41323         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41324         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41325         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41326         * math/Makefile (libm-calls): Add s_isinf_ns.
41327         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41328         * math/multc3.c: Likewise.
41329         * math/s_casin.c: Likewise.
41330         * math/s_casinf.c: Likewise.
41331         * math/s_casinl.c: Likewise.
41332         * math/s_ccos.c: Likewise.
41333         * math/s_ccosf.c: Likewise.
41334         * math/s_ccosl.c: Likewise.
41335         * math/s_ctan.c: Likewise.
41336         * math/s_ctanf.c: Likewise.
41337         * math/s_ctanh.c: Likewise.
41338         * math/s_ctanhf.c: Likewise.
41339         * math/s_ctanhl.c: Likewise.
41340         * math/s_ctanl.c: Likewise.
41341         * math/w_fmod.c: Likewise.
41342         * math/w_fmodf.c: Likewise.
41343         * math/w_fmodl.c: Likewise.
41344         * math/w_remainder.c: Likewise.
41345         * math/w_remainderf.c: Likewise.
41346         * math/w_remainderl.c: Likewise.
41347         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41348         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41349         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41350         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41351         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41352         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41353         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41354         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41356         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41357         of the number.
41358         * stdio-common/printf_fphex.c: Likewise.
41359         * stdio-common/printf_size.c: Likewise.
41361         * math/e_exp10.c: Include math_private.h using <...> not "...".
41362         * math/e_exp10f.c: Likewise.
41363         * math/e_exp10l.c: Likewise.
41364         * math/e_exp2l.c: Likewise.
41365         * math/e_j0l.c: Likewise.
41366         * math/e_j1l.c: Likewise.
41367         * math/e_jnl.c: Likewise.
41368         * math/e_lgammal_r.c: Likewise.
41369         * math/e_rem_pio2l.c: Likewise.
41370         * math/e_scalb.c: Likewise.
41371         * math/e_scalbf.c: Likewise.
41372         * math/e_scalbl.c: Likewise.
41373         * math/k_cosl.c: Likewise.
41374         * math/k_sinl.c: Likewise.
41375         * math/k_tanl.c: Likewise.
41376         * math/s_cacoshf.c: Likewise.
41377         * math/s_catan.c: Likewise.
41378         * math/s_catanf.c: Likewise.
41379         * math/s_catanh.c: Likewise.
41380         * math/s_catanhf.c: Likewise.
41381         * math/s_catanhl.c: Likewise.
41382         * math/s_catanl.c: Likewise.
41383         * math/s_ccosh.c: Likewise.
41384         * math/s_ccoshf.c: Likewise.
41385         * math/s_ccoshl.c: Likewise.
41386         * math/s_cexp.c: Likewise.
41387         * math/s_cexpf.c: Likewise.
41388         * math/s_cexpl.c: Likewise.
41389         * math/s_clog.c: Likewise.
41390         * math/s_clog10.c: Likewise.
41391         * math/s_clog10f.c: Likewise.
41392         * math/s_clog10l.c: Likewise.
41393         * math/s_clogf.c: Likewise.
41394         * math/s_clogl.c: Likewise.
41395         * math/s_csin.c: Likewise.
41396         * math/s_csinf.c: Likewise.
41397         * math/s_csinh.c: Likewise.
41398         * math/s_csinhf.c: Likewise.
41399         * math/s_csinhl.c: Likewise.
41400         * math/s_csinl.c: Likewise.
41401         * math/s_csqrt.c: Likewise.
41402         * math/s_csqrtf.c: Likewise.
41403         * math/s_csqrtl.c: Likewise.
41404         * math/s_ctan.c: Likewise.
41405         * math/s_ctanf.c: Likewise.
41406         * math/s_ctanh.c: Likewise.
41407         * math/s_ctanhf.c: Likewise.
41408         * math/s_ctanhl.c: Likewise.
41409         * math/s_ctanl.c: Likewise.
41410         * math/s_ldexp.c: Likewise.
41411         * math/s_ldexpf.c: Likewise.
41412         * math/s_ldexpl.c: Likewise.
41413         * math/s_significand.c: Likewise.
41414         * math/s_significandf.c: Likewise.
41415         * math/s_significandl.c: Likewise.
41416         * math/w_acos.c: Likewise.
41417         * math/w_acosf.c: Likewise.
41418         * math/w_acosh.c: Likewise.
41419         * math/w_acoshf.c: Likewise.
41420         * math/w_acoshl.c: Likewise.
41421         * math/w_acosl.c: Likewise.
41422         * math/w_asin.c: Likewise.
41423         * math/w_asinf.c: Likewise.
41424         * math/w_asinl.c: Likewise.
41425         * math/w_atan2.c: Likewise.
41426         * math/w_atan2f.c: Likewise.
41427         * math/w_atan2l.c: Likewise.
41428         * math/w_atanh.c: Likewise.
41429         * math/w_atanhf.c: Likewise.
41430         * math/w_atanhl.c: Likewise.
41431         * math/w_cosh.c: Likewise.
41432         * math/w_coshf.c: Likewise.
41433         * math/w_coshl.c: Likewise.
41434         * math/w_dremf.c: Likewise.
41435         * math/w_exp10.c: Likewise.
41436         * math/w_exp10f.c: Likewise.
41437         * math/w_exp10l.c: Likewise.
41438         * math/w_exp2.c: Likewise.
41439         * math/w_exp2f.c: Likewise.
41440         * math/w_fmod.c: Likewise.
41441         * math/w_fmodf.c: Likewise.
41442         * math/w_fmodl.c: Likewise.
41443         * math/w_hypot.c: Likewise.
41444         * math/w_hypotf.c: Likewise.
41445         * math/w_hypotl.c: Likewise.
41446         * math/w_j0.c: Likewise.
41447         * math/w_j0f.c: Likewise.
41448         * math/w_j0l.c: Likewise.
41449         * math/w_j1.c: Likewise.
41450         * math/w_j1f.c: Likewise.
41451         * math/w_j1l.c: Likewise.
41452         * math/w_jn.c: Likewise.
41453         * math/w_jnf.c: Likewise.
41454         * math/w_jnl.c: Likewise.
41455         * math/w_lgamma.c: Likewise.
41456         * math/w_lgamma_r.c: Likewise.
41457         * math/w_lgammaf.c: Likewise.
41458         * math/w_lgammaf_r.c: Likewise.
41459         * math/w_lgammal.c: Likewise.
41460         * math/w_lgammal_r.c: Likewise.
41461         * math/w_log.c: Likewise.
41462         * math/w_log10.c: Likewise.
41463         * math/w_log10f.c: Likewise.
41464         * math/w_log10l.c: Likewise.
41465         * math/w_log2.c: Likewise.
41466         * math/w_log2f.c: Likewise.
41467         * math/w_log2l.c: Likewise.
41468         * math/w_logf.c: Likewise.
41469         * math/w_logl.c: Likewise.
41470         * math/w_pow.c: Likewise.
41471         * math/w_powf.c: Likewise.
41472         * math/w_powl.c: Likewise.
41473         * math/w_remainder.c: Likewise.
41474         * math/w_remainderf.c: Likewise.
41475         * math/w_remainderl.c: Likewise.
41476         * math/w_scalb.c: Likewise.
41477         * math/w_scalbf.c: Likewise.
41478         * math/w_scalbl.c: Likewise.
41479         * math/w_sinh.c: Likewise.
41480         * math/w_sinhf.c: Likewise.
41481         * math/w_sinhl.c: Likewise.
41482         * math/w_sqrt.c: Likewise.
41483         * math/w_sqrtf.c: Likewise.
41484         * math/w_sqrtl.c: Likewise.
41485         * math/w_tgamma.c: Likewise.
41486         * math/w_tgammaf.c: Likewise.
41487         * math/w_tgammal.c: Likewise.
41489         * po/ja.po: Update from translation team.
41491 2011-09-29  Andreas Jaeger  <aj@suse.de>
41493         [BZ #13179]
41494         * sunrpc/netname.c (netname2host): Fix logic.
41496         [BZ #6779]
41497         [BZ #6783]
41498         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41499         correctly.
41500         * math/w_remainder.c (__remainder): Likewise.
41501         * math/w_remainderf.c (__remainderf): Likewise.
41502         * math/libm-test.inc (remainder_test): Add test cases.
41504 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41506         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41507         sdiv_qrnnd.
41509 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41511         * string/test-memcmp.c: Avoid unncessary #defines.
41512         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41514 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41516         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41517         Use new sse2 version for core i3 - i7 as it's faster
41518         than sse42 version.
41519         (bit_Prefer_PMINUB_for_stringop): New.
41520         * sysdeps/x86_64/rawmemchr.S: Update.
41521         Replace with faster SSE2 version.
41522         * sysdeps/x86_64/memrchr.S: New file.
41523         * sysdeps/x86_64/memchr.S: Update.
41524         Replace with faster SSE2 version.
41526 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41528         * elf/dl-load.c (lose): Add cast to avoid warning.
41530 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41532         * po/ca.po: Update from translation team.
41534         * inet/getnetgrent_r.c: Hook up nscd.
41535         * nscd/Makefile (routines): Add nscd_netgroup.
41536         (nscd-modules): Add netgroupcache.
41537         (CFLAGS-netgroupcache.c): Define.
41538         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41539         (cache_search): Add const to second parameter.
41540         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41541         INNETGR.
41542         (dbs): Add netgrdb entry.
41543         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41544         (verify_persistent_db): Handle netgrdb.
41545         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41546         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41547         GETFDNETGR.
41548         (netgroup_response_header): Define.
41549         (innetgroup_response_header): Define.
41550         (datahead): Add netgroup_response_header and innetgroup_response_header
41551         elements.
41552         * nscd/nscd.conf: Add entries for netgroup cache.
41553         * nscd/nscd.h (dbtype): Add netgrdb.
41554         (_PATH_NSCD_NETGROUP_DB): Define.
41555         (netgroup_iov_disabled): Declare.
41556         (xmalloc, xcalloc, xrealloc): Move declarations here.
41557         (cache_search): Adjust prototype.
41558         Add netgroup-related prototypes.
41559         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41560         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41561         (__nscd_innetgr): Declare.
41562         * nscd/selinux.c (perms): Use access_vector_t as element type and
41563         add netgroup-related initializers.
41564         * nscd/netgroupcache.c: New file.
41565         * nscd/nscd_netgroup.c: New file.
41566         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41567         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41568         For four parameters use innetgr.
41569         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41570         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41571         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41572         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41574         * nscd/connections.c (register_traced_file): Don't register file
41575         for disabled databases.
41577 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41579         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41581         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41582         from tree and freeing node.
41584 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41586         * nss/nsswitch.c (__nss_database_lookup): Handle
41587         nss_parse_service_list out of memory case.
41589 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41591         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41592         out of memory case.
41594 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41596         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41597         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41598         pass it down.
41599         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41600         elf_machine_rela, elf_machine_lazy_rel.
41601         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41602         (ELF_DYNAMIC_DO_REL): Likewise.
41603         (ELF_DYNAMIC_DO_RELA): Likewise.
41604         (ELF_DYNAMIC_RELOCATE): Likewise.
41605         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41606         to ELF_DYNAMIC_DO_REL.
41607         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41608         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41609         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41610         elf_machine_rela.
41611         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41612         skip_ifunc, don't call ifunc function if non-zero.
41613         (elf_machine_rela): Likewise.
41614         (elf_machine_lazy_rel): Likewise.
41615         (elf_machine_lazy_rela): Likewise.
41616         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41617         (elf_machine_lazy_rel): Likewise.
41618         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41619         Likewise.
41620         (elf_machine_lazy_rel): Likewise.
41621         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41622         Likewise.
41623         (elf_machine_lazy_rel): Likewise.
41624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41625         (elf_machine_lazy_rel): Likewise.
41626         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41627         (elf_machine_lazy_rel): Likewise.
41628         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41629         (elf_machine_lazy_rel): Likewise.
41630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41631         (elf_machine_lazy_rel): Likewise.
41632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41633         (elf_machine_lazy_rel): Likewise.
41634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41635         (elf_machine_lazy_rel): Likewise.
41637 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41639         * nss/nss_files/files-init.c (_nss_files_init): Use static
41640         initialization for all the *_traced_file variables.
41642 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41644         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41646 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41648         [BZ #13226]
41649         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41651 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41653         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41654         Reread the line before reparsing it.
41656 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41658         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41660 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41661             Maxim Kuvyrkov  <maxim@codesourcery.com>
41662             Joseph Myers  <joseph@codesourcery.com>
41664         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41665         if needed for __stack_chk_guard.
41667 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41669         * sysdeps/posix/spawni.c (script_execute): Always define it.
41670         It will be optimized away if unused.
41671         (maybe_script_execute): New function.
41672         (__spawni): Call it.
41674         * Makerules: Don't include tls.make.
41675         (config-tls): Always set to thread.
41676         * tls.make.c: File removed.
41678 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41680         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41681         * config.make.in (CPPFLAGS-config): New substituted variable.
41683 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41685         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41687         [BZ #13192]
41688         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41689         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41691 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41693         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41694         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41695         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41696         (CALL_FAIL): Likewise.
41697         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41698         (CALL_FAIL): Macro removed.
41699         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41701 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41703         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41704         for __FINITE_MATH_ONLY__ == 1.
41706 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41708         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41709         __ieee754_sqrt instead of sqrt.
41710         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41711         __ieee754_sqrtf instead of sqrtf.
41712         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41713         __floorf instead of floorf.
41714         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41715         __floorf, __truncf instead of floorf, truncf.
41717 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41719         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41721         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41722         __extern_always_inline.
41723         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41724         32-bit.
41726 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41728         * elf/rtld.c (dl_main): Also relocate in dependency order when
41729         doing symbol dependency testing.
41731 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41733         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41734         Always define `refsym'.
41736 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41738         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41739         (__FD_ELT): Renamed from __FDELT.
41740         * misc/bits/select2.h (__FD_ELT): Likewise.
41741         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41742         __FD_MASK instead of __FDELT, __FDMASK.
41743         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41744         Likewise.
41745         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41746         Likewise.
41748         * elf/Makefile (gen-ldd): Fix pattern.
41750         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41751         (init_tls): Likewise.
41753 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41755         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41757 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41759         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41760         `struct cmsghdr *' instead of `void *'.
41761         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41762         Likewise.
41764 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41766         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41767         if non-absolute.
41768         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41769         ldd_rewrite_script.
41771 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41773         * configure.in: Remove --with-tls option.
41774         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41775         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41776         out in case it is missing.
41777         * sysdeps/ia64/elf/configure.in: Likewise.
41778         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41779         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41780         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41781         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41782         * sysdeps/sh/elf/configure.in: Likewise.
41783         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41784         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41785         * sysdeps/x86_64/elf/configure.in: Likewise.
41786         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41787         * sysdeps/mach/hurd/tls.h: Likewise.
41789         [BZ #13067]
41790         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41792         [BZ #13090]
41793         * configure.in: Fix use of AC_INIT.
41795         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41797 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41799         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41800         __set_errno.
41801         * malloc/hooks.c: Likewise.
41803         [BZ #11929]
41804         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41805         variables statically.
41806         (narenas): Initialize.
41807         (list_lock): Initialize.
41808         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41809         initializtion of main_arena and list_lock.  Small cleanups.
41810         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41811         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41812         Add initializers to main_arena and mp_.
41813         (malloc_state): Remove pagesize member.  Change all users to use
41814         GLRO(dl_pagesize).
41816         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41817         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41818         is always initialized.
41820         * malloc/malloc.c: Removed unused configurations and dead code.
41821         * malloc/arena.c: Likewise.
41822         * malloc/hooks.c: Likewise.
41823         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41825         * include/tls.h: Removed.  USE___THREAD must always be defined.
41826         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41827         * elf/dl-libc.c: Likewise.
41828         * elf/dl-tsd.c: Likewise.
41829         * include/errno.h: Likewise.
41830         * include/netdb.h: Likewise.
41831         * include/resolv.h: Likewise.
41832         * inet/herrno-loc.c: Likewise.
41833         * inet/herrno.c: Likewise.
41834         * malloc/arena.c: Likewise.
41835         * malloc/hooks.c: Likewise.
41836         * malloc/malloc.c: Likewise.
41837         * resolv/res-state.c: Likewise.
41838         * resolv/res_libc.c: Likewise.
41839         * sysdeps/i386/dl-machine.h: Likewise.
41840         * sysdeps/ia64/dl-machine.h: Likewise.
41841         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41842         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41843         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41844         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41845         * sysdeps/sh/dl-machine.h: Likewise.
41846         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41847         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41848         * sysdeps/unix/i386/sysdep.S: Likewise.
41849         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41850         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41851         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41852         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41853         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41854         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41855         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41856         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41857         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41859         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41860         * sysdeps/x86_64/dl-machine.h: Likewise.
41861         * tls.make.c: Likewise.
41863         * configure.in: Remove --with-__thread option.  Make tests for
41864         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41865         tls_model attribute fail if no support is available.  Remove
41866         USE_IN_LIBIO.
41867         * Makeconfig: Adjust for dropped configure option.  All features are
41868         now mandatory.
41869         * Makerules: Likewise.
41870         * Versions.def: Likewise.
41871         * argp/argp-fmtstream.c: Likewise.
41872         * argp/argp-fmtstream.h: Likewise.
41873         * argp/argp-help.c: Likewise.
41874         * assert/assert.c: Likewise.
41875         * config.h.in: Likewise.
41876         * config.make.in: Likewise.
41877         * configure: Likewise.
41878         * configure.in: Likewise.
41879         * csu/Versions: Likewise.
41880         * csu/init.c: Likewise.
41881         * elf/tst-audit2.c: Likewise.
41882         * elf/tst-tls10.c: Likewise.
41883         * elf/tst-tls10.h: Likewise.
41884         * elf/tst-tls11.c: Likewise.
41885         * elf/tst-tls12.c: Likewise.
41886         * elf/tst-tls14.c: Likewise.
41887         * elf/tst-tlsmod11.c: Likewise.
41888         * elf/tst-tlsmod12.c: Likewise.
41889         * elf/tst-tlsmod13.c: Likewise.
41890         * elf/tst-tlsmod13a.c: Likewise.
41891         * elf/tst-tlsmod14a.c: Likewise.
41892         * elf/tst-tlsmod15b.c: Likewise.
41893         * elf/tst-tlsmod16a.c: Likewise.
41894         * elf/tst-tlsmod16b.c: Likewise.
41895         * elf/tst-tlsmod7.c: Likewise.
41896         * elf/tst-tlsmod8.c: Likewise.
41897         * elf/tst-tlsmod9.c: Likewise.
41898         * gmon/gmon.c: Likewise.
41899         * grp/fgetgrent_r.c: Likewise.
41900         * grp/putgrent.c: Likewise.
41901         * hurd/fopenport.c: Likewise.
41902         * include/libc-symbols.h: Likewise.
41903         * include/tls.h: Likewise.
41904         * intl/gettextP.h: Likewise.
41905         * intl/loadinfo.h: Likewise.
41906         * locale/global-locale.c: Likewise.
41907         * locale/localeinfo.h: Likewise.
41908         * mach/devstream.c: Likewise.
41909         * malloc/arena.c: Likewise.
41910         * malloc/set-freeres.c: Likewise.
41911         * misc/err.c: Likewise.
41912         * misc/getttyent.c: Likewise.
41913         * misc/mntent_r.c: Likewise.
41914         * posix/getopt.c: Likewise.
41915         * posix/wordexp.c: Likewise.
41916         * pwd/fgetpwent_r.c: Likewise.
41917         * resolv/Versions: Likewise.
41918         * resolv/res_hconf.c: Likewise.
41919         * shadow/fgetspent_r.c: Likewise.
41920         * shadow/putspent.c: Likewise.
41921         * stdio-common/printf_fphex.c: Likewise.
41922         * stdio-common/tmpfile.c: Likewise.
41923         * stdlib/abort.c: Likewise.
41924         * stdlib/fmtmsg.c: Likewise.
41925         * sunrpc/auth_unix.c: Likewise.
41926         * sunrpc/clnt_perr.c: Likewise.
41927         * sunrpc/clnt_tcp.c: Likewise.
41928         * sunrpc/clnt_udp.c: Likewise.
41929         * sunrpc/clnt_unix.c: Likewise.
41930         * sunrpc/openchild.c: Likewise.
41931         * sunrpc/svc_simple.c: Likewise.
41932         * sunrpc/svc_tcp.c: Likewise.
41933         * sunrpc/svc_udp.c: Likewise.
41934         * sunrpc/svc_unix.c: Likewise.
41935         * sunrpc/xdr.c: Likewise.
41936         * sunrpc/xdr_array.c: Likewise.
41937         * sunrpc/xdr_rec.c: Likewise.
41938         * sunrpc/xdr_ref.c: Likewise.
41939         * sunrpc/xdr_stdio.c: Likewise.
41941 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41943         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41945 2011-07-03  Andreas Jaeger  <aj@suse.de>
41947         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41948         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41949         regenerate with gen-libm-tests.pl.
41951 2010-05-12  Petr Baudis  <pasky@suse.cz>
41953         [BZ #11589]
41954         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41955         around j0() zero points by switching to j1().
41956         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41957         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41958         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41959         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41961 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41963         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41964         instead of 0.
41965         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41966         instead of 0.
41967         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41968         Patch in part by Pavel Roskin <proski@gnu.org>.
41970         [BZ #13138]
41971         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41972         realloc.
41973         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
41974         Free memory block if necessary.
41976         [BZ #12847]
41977         * libio/genops.c (INTDEF): For string streams the _lock pointer can
41978         be NULL.  Don't lock in this case.
41980 2011-09-09  Roland McGrath  <roland@hack.frob.com>
41982         * elf/elf.h (ELFOSABI_GNU): New macro.
41983         (ELFOSABI_LINUX): Define to that.
41985 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
41987         * string/strncat.c (strncat): Undef the symbol in case it has been
41988         defined in bits/string.h.
41990 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41992         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41994         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41995         link map.
41997 2011-08-17  Andreas Jaeger  <aj@suse.de>
41999         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42001 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42002             Ian Lance Taylor  <iant@google.com>
42004         * math/libm-test.inc (lround_test): New testcase.
42005         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42007 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42009         * Makefile: Remove support for automatic cvs check-ins.
42010         * Makerules: Likewise.
42011         * config.make.in: Likewise.
42012         * configure.in: Likewise.
42013         * intl/Makefile: Likewise.
42014         * locale/Makefile: Likewise.
42015         * po/Makefile: Likewise.
42016         * posix/Makefile: Likewise.
42017         * sysdeps/gnu/Makefile: Likewise.
42018         * sysdeps/mach/hurd/Makefile: Likewise.
42019         * sysdeps/sparc/sparc32/Makefile: Likewise.
42021         [BZ #13118]
42022         * posix/Makefile (bug-regex32-ENV): Define.
42023         Patch by John Stanley <jpsinthemix@verizon.net>.
42025         * misc/Makefile (headers): Add bits/select2.h.
42026         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42027         * misc/bits/select2.h: New file.
42028         * include/bits/select2.h: New file.
42029         * debug/Makefile (routines): Add fdelt_chk.
42030         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42031         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42032         FD_ISSET.
42033         * debug/fdelt_chk.c: New file.
42035         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42036         * wcsmbs/test-wmemcmp.c: Likewise.
42037         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42038         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42040 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42042         * string/Makefile (strop-tests): Add memcmp.
42043         * string/test-wmemcmp.c: New file.
42044         * string/test-memcmp.c: Add wmemcmp support.
42046 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42048         [BZ #13153]
42049         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42050         2011-07-19 change.
42052         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42053         garbage value in a __mach_port_mod_refs call in the cases of the
42054         task-self and thread-self ports.
42056 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42058         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42060 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42062         * elf/dl-load.c (lose): Check for non-null L.
42064 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42066         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42068         * elf/dl-libc.c (dlerror_run): Pass back error code from
42069         dl_catch_error.
42071         [BZ #13123]
42072         * elf/dl-load.c (lose): Free l_origin if it is valid.
42074         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42075         names.
42076         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42077         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42078         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42079         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42080         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42081         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42083 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42085         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42086         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42087         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42088         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42089         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42090         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42091         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42092         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42093         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42094         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42096 2011-08-15  Alan Modra  <amodra@gmail.com>
42098         [BZ #13092]
42099         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42100         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42101         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42102         ppc_mcount to static-only-routines.
42103         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42104         __mcount_internal.
42105         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42106         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42108 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42110         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42111         for finite and infinity parameters.
42113 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42115         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42116         and add nop instructions for throughput optimization.
42117         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42119 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42121         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42122         aligned copy for power7 with vector-scalar instructions.
42123         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42125 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42127         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42128         AVX check.
42130 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42132         [BZ #13144]
42133         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42134         last change.
42136 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42138         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42139         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42140         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42141         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42142         clock_gettime.
42144 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42146         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42147         Forgot to demangle the pointer.
42149         * sysdeps/i386/sysdep.h: Define atom_text_section.
42150         * sysdeps/x86_64/sysdep.h: Likewise.
42151         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42152         section with atom_text_section.
42153         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42154         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42155         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42156         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42157         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42159         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42160         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42161         already be defined.  Change to take two parameters and don't assign
42162         result to variable.  Adjust all users.
42163         Define INTERNAL_GETTIME if not already defined.
42164         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42165         call.
42166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42167         HAVE_CLOCK_GETTIME_VSYSCALL.
42168         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42170         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42171         gettimeofday vsyscall, just use time.
42173 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42175         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42176         <errno.h>.
42178 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42180         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42181         syscall on x86-64.
42182         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42183         syscall.
42184         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42185         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42186         syscall if possible.
42188 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42190         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42191         e_ident.  Don't pass to find_mapsXX.
42192         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42194 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42197         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42198         * sysdeps/x86_64/multiarch/strchr.S: Update.
42199         Check bit_slow_BSF bit.
42200         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42201         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42202         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42204 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42206         [BZ #13134]
42207         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42208         before glibc 2.15.
42209         (tryshell): Define.
42210         (__spawni): Change last parameter to be flag.  Test
42211         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42212         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42213         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42214         * posix/spawni.c: Likewise.
42215         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42216         * posix/spawnp.c: Likewise.  Change normal version to use
42217         SPAWN_XFLAGS_USE_PATH.
42218         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42219         SPAWN_XFLAGS_TRY_SHELL.
42221         [BZ #13150]
42222         * posix/glob.h: Remove gcc 1.x support.
42224         [BZ #13068]
42225         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42227 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42230         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42231         strrchr-sse2-bsf
42232         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42233         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42234         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42235         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42236         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42237         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42239 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42241         * sysdeps/x86_64/wcscmp.S: New file.
42243         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42244         wcscmp-c wcscmp-sse2
42245         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42246         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42247         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42248         * wcsmbs/wcscmp.c: Allow renaming.
42250 2011-09-05  David S. Miller  <davem@davemloft.net>
42252         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42253         stack slot, rather than the struct return pointer slot.
42254         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42255         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42257         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42259 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42261         * po/ja.po: Update from translation team.
42263         [BZ #13144]
42264         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42265         kernel in 64-bit binaries.
42267 2011-09-01  David S. Miller  <davem@davemloft.net>
42269         * elf/elf.h (HWCAP_SPARC_*): Move to..
42270         * sysdeps/sparc/sysdep.h: this new file and add new values.
42271         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42272         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42273         _DL_HWCAP_COUNT to 24.
42274         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42275         entries.
42276         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42277         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42278         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42279         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42280         instead of magic constants.
42281         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42283 2011-08-31  David S. Miller  <davem@davemloft.net>
42285         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42286         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42287         Reimplement to do errno handling inline.
42288         (SYSCALL_ERROR_HANDLER): New macro.
42289         (__SYSCALL_STRING): Do not do errno handling in asm.
42290         (__CLONE_SYSCALL_STRING): Delete.
42291         (__INTERNAL_SYSCALL_STRING): Delete.
42292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42293         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42294         (PSEUDO): Reimplement to do errno handling inline.
42295         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42296         (SYSCALL_ERROR_HANDLER): New macro.
42297         (__SYSCALL_STRING): Do not do errno handling in asm.
42298         (__CLONE_SYSCALL_STRING): Delete.
42299         (__INTERNAL_SYSCALL_STRING): Delete.
42300         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42301         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42302         i386.
42303         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42304         (inline_syscall*): Add 'err' argument.
42305         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42306         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42307         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42308         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42310         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42311         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42313 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42315         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42317 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42319         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42320         directive.
42322 2011-08-24  David S. Miller  <davem@davemloft.net>
42324         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42326 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42328         * elf/Makefile: Add rules to build and run unload8 test.
42329         * elf/unload8.c: New file.
42330         * elf/unload8mod1.c: New file.
42331         * elf/unload8mod1x.c: New file.
42332         * elf/unload8mod2.c: New file.
42333         * elf/unload8mod3.c: New file.
42335         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42336         it wasn't used.
42338 2011-08-23  David S. Miller  <davem@davemloft.net>
42340         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42341         subtract stack bias.
42342         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42343         %sp not %fp in calculations.
42344         (_JMPBUF_UNWINDS_ADJ): Likewise.
42346         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42347         (aio_suspend): Call it to force an exception region around the
42348         AIO_MISC_WAIT() invocation.
42350 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42352         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42353         backslash.
42355 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42357         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42358         protection macro.
42359         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42360         and <dl-machine.h>.
42361         (Elf64_FuncDesc): Remove.
42363 2011-08-22  David S. Miller  <davem@davemloft.net>
42365         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42366         sigaltstack check, add missing cfi directives.
42367         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42368         missing cfi directives, and sigaltstack handling.
42370 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42372         [BZ #11724]
42373         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42374         object is seen twice.
42375         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42377         * elf/Makefile (distribute): Add tst-initorder2.c.
42378         (tests): Add tst-initorder2.
42379         (modules-names): Add tst-initorder2a tst-initorder2b
42380         tst-initorder2c tst-initorder2d.  Add rules to build them.
42381         ($(objpfx)tst-initorder2.out): New rule.
42382         * elf/tst-initorder2.c: New file.
42383         * elf/tst-initorder2.exp: New file.
42385 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42387         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42389         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42390         dependencies back to end of function.
42392         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42393         $(elfobjdir)/ld.so.
42395 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42397         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42398         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42400         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42401         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42402         of __vdso_gettimeofday.
42403         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42404         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42405         attribute_hidden.
42406         (_libc_vdso_platform_setup): Remove initialization of
42407         __vdso_gettimeofday and __vdso_time.
42409 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42411         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42412         and fgetc_unlocked.
42413         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42414         getc_unlocked.
42416         * elf/dl-open.c (add_to_global): Report additions to the global scope
42417         for LD_DEBUG=scopes.
42418         (dl_open_worker): Also print scope of newly loaded dependencies.
42419         (_dl_show_scope): Indicate if there is no scope.
42421         [BZ #13114]
42422         * stdio-common/Makefile (tests): Add bug24.
42423         * stdio-common/bug24.c: New file.
42425 2011-08-19  Andreas Jaeger  <aj@suse.de>
42427         [BZ #13114]
42428         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42429         non-existant file when using close-on-exec mode.
42431 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42434         the very first instruction.
42436         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42437         the CFI state in the end.
42438         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42439         inclusion of dl-trampoline.h.
42440         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42442 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42444         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42445         expectations for long double.
42447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42448         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42450 2011-08-14  David S. Miller  <davem@davemloft.net>
42452         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42453         artificual limit depends upon the system page size.
42455 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42457         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42458         * resolv/Makefile: Define CFLAGS-libresolv.
42460 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42462         * nss/makedb.c (compute_tables): Make variables used in nested
42463         function static.
42465 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42467         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42468         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42469         if buffer was too small.
42471         * elf/pldd.c (main): Attach to all threads in the process.
42472         Rewrite /proc handling to use *at functions.
42474 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42476         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42477         specifies first scope to show.
42478         (dl_open_worker): Update callers.  Move printing scope of new
42479         object to before the relocation.
42480         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42481         * sysdeps/generic/ldsodefs.h: Update declaration.
42483         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42484         string for the scope number.
42486 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42488         * nscd/servicescache.c (cache_addserv): Make sure written is always
42489         initialized.
42491 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42493         * sysdeps/i386/i486/bits/atomic.h
42494         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42495         statement expression, so as to suppress "set but not used" warning.
42496         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42498         * string/strncat.c (STRNCAT): Use prototype definition.
42500         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42501         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42502         -Iprograms here.
42503         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42504         (localedef-modules): Add localedef.
42505         (locale-modules): Add locale.
42507         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42508         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42509         to avoid a warning.
42511 2011-08-14  David S. Miller  <davem@davemloft.net>
42513         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42514         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42516 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42518         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42519         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42520         * elf/rtld.c (dl_main): Set l_name of vDSO.
42521         Call _dl_show_scope when DL_DEBUG_SCOPES.
42522         (process_dl_debug): Recognize scopes flag and also set it for all.
42523         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42524         Declare _dl_show_scope.
42526         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42527         (do_dlopen): Pass caller_dlopen to dl_open.
42528         (__libc_dlopen_mode): Initialize caller_dlopen.
42530         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42531         of libc.  Make tolower call locale-independent.  Optimize a bit by
42532         using isdigit instead of isalnum.
42533         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42535 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42537         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42538         was a dependency or dynamically loaded.
42540 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42542         * intl/l10nflist.c: Allow architecture-specific pop function.
42543         * sysdeps/x86_64/l10nflist.c: New file.
42545         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42546         classification.
42548 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42550         * include/dirent.h: Add libc_hidden_proto for scandirat and
42551         scandirat64.  Don't declare __scandirat64.
42552         * dirent/scandirat.c: Add libc_hidden_def.
42553         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42554         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42556 2011-08-10  David S. Miller  <davem@davemloft.net>
42558         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42559         enum.
42560         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42561         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42562         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42564 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42566         * Versions.def [libc]: Add GLIBC_2.15.
42567         * dirent/Makefile (routines): Add scandirat and scandirat64.
42568         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42569         GLIBC_2.15.
42570         * dirent/dirent.h: Declare scandirat and scandirat64.
42571         * dirent/scandirat.c: New file.
42572         * dirent/scandirat64.c: New file.
42573         * sysdeps/wordsize-64/scandirat.c: New file.
42574         * sysdeps/wordsize-64/scandirat64.c: New file.
42575         * dirent/opendir.c: Define opendirat.
42576         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42577         using scandirat.
42578         * dirent/scandir64.c: Adjust for scandir.c change.
42579         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42580         __scandirat64, and __scandir_cancel_handler.
42581         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42582         additional parameter and use openat instead of open (outside of ld.so).
42583         Add new __opendir as wrapper around __opendirat.
42584         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42585         here without requiring old scandirat implementation.
42587 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42589         * dirent/scandir.c (cancel_handler): Renamed to
42590         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42591         defined.  Adjust users.
42592         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42593         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42595 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42597         * string/test-string.h (IMPL): Use __STRING to expand name and then
42598         stringify it.
42600         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42601         of cleanups.
42603 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42605         * string/Makefile: Update.
42606         (strop-tests): Append strncat.
42607         * string/test-wcscmp.c: New file.
42608         New comprehensive test for wcscmp.
42609         * string/test-strcmp.c: Update.
42610         (WIDE): New define.
42612 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42614         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42615         line.
42617 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42620         encoding to ACE if AI_IDN.
42622 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42624         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42625         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42627 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42629         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42630         Fix overflow bug in strncat.
42631         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42633         * string/test-strncat.c: Update.
42634         Add new tests for checking overflow bugs.
42636 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42638         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42639         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42640         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42641         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42642         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42643         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42644         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42645         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42646         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42648         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42649         (USE_AS_STRCAT): Define.
42650         Add strcat and strncat support.
42651         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42653 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42655         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42656         __n bigger than INT_MAX+1.
42657         (__strncmp_g): Likewise.
42659 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42661         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42662         * libio/stido.h: Likewise.
42664         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42665         (AF_NFC): Define.
42666         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42667         (AF_NFC): Define.
42669         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42670         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42671         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42672         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42673         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42675         [BZ #13021]
42676         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42677         installed.
42679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42680         typo.
42681         (_dl_x86_64_save_sse): Likewise.
42683 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42686         OSXSAVE.
42687         (_dl_x86_64_save_sse): Likewise.
42689         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42691         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42693 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42695         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42696         change.
42697         (_dl_x86_64_save_sse): Use correct AVX check.
42699 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42701         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42702         bug in strncpy/strncat.
42703         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42705 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42707         * string/tester.c (test_strcat): Add tests for different alignments
42708         of source and destination.
42709         (test_strncat): Likewise.
42711 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42713         [BZ #12852]
42714         * posix/glob.c (glob): Check passed in values before using them in
42715         expressions to avoid some overflows.
42716         (glob_in_dir): Likewise.
42718         [BZ #13007]
42719         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42720         check for AVX enablement so that we don't crash with old kernels and
42721         new hardware.
42722         * elf/tst-audit4.c: Add same checks here.
42723         * elf/tst-audit6.c: Likewise.
42725         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42727 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42729         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42731 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42733         * po/cs.po: Update from translation team.
42734         * po/bg.po: Likewise.
42736 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42738         * misc/sys/cdefs.h: Add support for const attribute.
42739         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42740         to gnu_dev_{major,minor,makedev} functions.
42742 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42744         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42746 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42748         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42749         strlen results.
42751 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42753         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42754         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42755         register in order to avoid conflicts with the soft frame pointer
42756         being held in r11 when necessary.
42757         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42758         (INTERNAL_VSYSCALL_NCS): Likewise.
42760 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42762         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42763         * elf/dl-fini.c (_dl_fini): Adjust caller.
42764         * elf/dl-close.c (_dl_close_worker): Likewise.
42765         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42767 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42769         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42770         "aux_cache->nlibs < 0".
42772         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42773         in the reload-count case.
42775 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42778         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42779         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42780         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42781         * sysdeps/x86_64/multiarch/strcat.S: New file.
42782         * sysdeps/x86_64/multiarch/strncat.S: New file.
42783         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42784         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42785         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42786         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42787         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42788         (USE_AS_STRCAT): Define.
42789         Add strcat and strncat support.
42790         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42791         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42792         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42793         * string/strncat.c: Update.
42794         (USE_AS_STRNCAT): Define.
42795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42796         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42797         and i7.
42798         * sysdeps/x86_64/multiarch/init-arch.h
42799         (bit_Prefer_PMINUB_for_stringop): New.
42800         (index_Prefer_PMINUB_for_stringop): Likewise.
42801         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42802         bit_Prefer_PMINUB_for_stringop.
42804 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42806         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42807         buffer64.
42808         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42809         of casting of buffer.
42810         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42811         buffer32 and buffer64.
42812         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42813         writes instead of casting of buffer.
42814         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42815         buffer32.
42816         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42817         casting of buffer.
42819 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42821         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42823 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42825         * nscd/nscd.c (termination_handler): Don't do anything for a database
42826         if it has not yet been initialized.
42828 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42830         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42832 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42834         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42836 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42838         * po/nl.po: Update from translation team.
42839         * po/sv.po: Likewise.
42841 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42843         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42844         now disallowed by GCC.
42846         * configure.in (use-default-link): Default to yes if a test -shared
42847         link meets our qualifications.
42848         * configure: Regenerated.
42850         * config.make.in (output-format): New variable.
42851         * configure.in: Check for ld --print-output-format support.
42852         * configure: Regenerated.
42853         * Makerules ($(common-objpfx)format.lds)
42854         [$(output-format) != unknown]: Just use $(output-format),
42855         instead of the linker-script munging.
42857 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42859         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42860         of $(common-objpfx)shlib.lds.
42861         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42863         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42864         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42866         * configure.in (-z relro check): Adjust test code to add a large
42867         writable data section after it.
42868         * configure: Regenerated.
42870 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42872         * configure.in (-z relro check): Fix test code to make the variable
42873         truly const.
42874         * configure: Regenerated.
42876 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42878         * nscd/nscd.h (struct traced_file): Define.
42879         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42880         elements.  Add traced_files.
42881         (inotify_fd): Declare.
42882         (register_traced_file): Declare.
42883         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42884         (inotify_fd): Export.
42885         (resolv_conf_descr): Remove.
42886         (nscd_init): Move inotify descriptor creation to main.
42887         Don't register files for notification here.
42888         (register_traced_file): New function.
42889         (invalidate_cache): Don't use reset_res to determine whether to call
42890         res_init, go through the list of registered files.
42891         (main_loop_poll): The inotify descriptors are now stored in the
42892         structures for the traced files.
42893         (main_loop_epoll): Likewise
42894         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42895         to __nss_disable_nscd.
42896         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42897         for a database anymore.  Check the records for all the registered
42898         files instead.
42899         * nss/Makefile (libnss_files-routines): Add files-init.
42900         (libnss_db-routines): Add db-init.
42901         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42902         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42903         * nss/nss_db/db-init.c: New file.
42904         * nss/nss_files/files-init.c: New file.
42905         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42906         __nss_lookup_function.
42907         (__nss_lookup_function): Call nss_load_library.
42908         (nss_load_all_libraries): New function.
42909         (__nss_disable_nscd): Take parameter with callback function for files
42910         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42911         used for the cached services.
42912         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42913         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42914         options for features to all the files in nscd.
42916         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42918 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42920         * csu/elf-init.c (__libc_csu_init): Comment typo.
42922 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42924         * po/pl.po: Update from translation team.
42925         * po/ja.po: Likewise.
42926         * po/ru.po: Likewise.
42927         * po/ko.po: Likewise.
42928         * po/fr.po: Likewise.
42930 2011-07-09  Roland McGrath  <roland@hack.frob.com>
42932         * configure.in (.ctors/.dtors header and trailer check):
42933         Use an empirical test on a built program.
42934         * configure: Regenerated.
42936         * configure.in (-z relro check): Use an empirical test on a built DSO.
42937         Detect, but do not require, on ia64.
42938         * configure: Regenerated.
42940         * configure.in (READELF): Find it with AC_CHECK_TOOL.
42941         Update tests that use readelf to use $READELF instead.
42942         * configure: Regenerated.
42944 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
42946         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42947         if the result is not used.
42949 2011-07-05  Andreas Jaeger  <aj@suse.de>
42951         [BZ#9696]
42952         * stdlib/tst-strtod.c: Add testcase.
42954 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
42956         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42957         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42958         The latter has a higher limit.  Take additional parameter to pass to
42959         the new function.
42960         (__pathconf): Pass file to __statfs_link_max.
42961         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42962         __statfs_link_max.
42963         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42964         __statfs_link_max.
42966         [BZ #12868]
42967         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42968         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42969         Handle Lustre.
42970         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42971         (__statfs_filesize_max): Likewise.
42972         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42974 2011-07-05  Andreas Jaeger  <aj@suse.de>
42976         * resolv/res_comp.c (dn_skipname): Remove unused variable.
42978 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
42980         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42981         `status' variable.
42982         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42983         Likewise.
42985 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
42987         * Makefile (strop-tests): Add strncat.
42988         * string/test-strncat.c: New file.
42990 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
42992         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42994 2011-06-21  Andreas Jaeger  <aj@suse.de>
42996         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42997         Copy rule from iconvdata/Makefile.
42999 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43001         [BZ #12922]
43002         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43003         but no long options are defined, just return 'W'.
43005 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43007         [BZ #9696]
43008         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43010 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43012         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43013         netgroups to read.
43014         (innetgr): Likewise.
43016 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43018         * config.make.in (install_root): Default to $(DESTDIR).
43020 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43022         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43024 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43026         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43028         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43029         containing directory rather than embedding absolute directory names.
43031         * scripts/check-local-headers.sh: Rewritten using awk.
43032         Match by word, not by line.  Print error messages for matches.
43033         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43035         * Makerules [shlib-lds-flags empty]:
43036         ($(common-objpfx)libc_pic.opts): New target.
43037         ($(common-objpfx)libc_pic.os.clean): New target.
43038         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43040         * config.make.in (OBJCOPY): New variable.
43041         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43042         * configure: Regenerated.
43044         * config.make.in (use-default-link): New variable.
43045         * configure.in (use_default_link): Grok --with-default-link to set it.
43046         * configure: Regenerated.
43047         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43048         (shlib-lds, shlib-lds-flags): Define to empty.
43050         * Makerules (shlib-lds): New variable.
43051         (shlib-lds-flags): New variable.
43052         (build-shlib, build-moduile, build-module-asneeded): Use it.
43053         ($(common-objpfx)libc.so): Use $(shlib-lds).
43054         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43055         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43057         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43058         DT_FLAGS/DT_FLAGS_1 with zero flags.
43060         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43061         linker script munging.
43063 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43065         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43066         as 128-bit value.
43067         * crypt/sha512.c (sha512_process_block): Perform total addition using
43068         128-bit if possible.
43069         (__sha512_finish_ctx): Likewise.
43070         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43071         as 64-bit value.
43072         * crypt/sha256.c (SWAP64): Define.
43073         (sha256_process_block): Perform total addition using 64-bit if
43074         possible.
43075         (__sha256_finish_ctx): Likewise.
43077 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43079         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43080         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43081         * nscd/hstcache.c (cache_addhst): Likewise.
43082         * nscd/grpcache.c (cache_addgr): Likewise.
43083         * nscd/aicache.c (addhstaiX): Likewise
43084         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43086 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43088         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43089         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43090         * nscd/hstcache.c (cache_addhst): Likewise.
43091         * nscd/grpcache.c (cache_addgr): Likewise.
43092         * nscd/aicache.c (addhstaiX): Likewise
43094 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43096         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43097         domain only when needed.
43099 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43102         is always restored.
43104 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43106         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43107         are re-adding the entry.
43108         * nscd/servicescache.c (cache_addserv): Likewise.
43110 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43112         * sysdeps/generic/dl-irel.h: fix protection against multiple
43113         inclusions.
43114         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43116 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43118         [BZ #12935]
43119         * malloc/memusage.sh: Fix quoting in message.
43120         * debug/xtrace.sh: Likewise.
43122         * configure.in: Remove support for --experimental-malloc option, make
43123         it the default.
43124         * config.make.in: Likewise.
43125         * malloc/Makefile: Likewise.
43127 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43129         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43130         two-byte characters.
43132 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43134         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43135         AC_CACHE_CHECK invocation.
43136         * configure: Regenerated.
43138         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43140 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43142         [BZ #12350]
43143         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43144         bit from old_res_options.
43146         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43148         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43149         value type for setfct.
43151 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43153         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43154         __gettimeofday instead of gettimeofday.
43156 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43158         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43160 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43162         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43164         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43165         info.
43167 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43170         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43171         strcpy-sse2-unaligned strncpy-sse2-unaligned
43172         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43173         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43174         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43175         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43176         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43177         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43178         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43179         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43180         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43181         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43182         (STRCPY): Support SSE2 and SSSE3 versions.
43184 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43186         [BZ #12874]
43187         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43188         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43189         kernels which artificially limit size of requests.
43191 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43193         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43194         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43195         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43196         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43197         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43198         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43199         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43200         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43201         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43202         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43203         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43204         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43205         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43206         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43207         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43209         Enable unaligned load optimization for Intel Core i3, i5 and i7
43210         processors.
43211         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43212         Define.
43213         (index_Fast_Unaligned_Load): Define.
43214         (HAS_FAST_UNALIGNED_LOAD): Define.
43216 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43218         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43220 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43222         [BZ #12907]
43223         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43224         until it is clear that the information is realy needed.
43225         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43227 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43231 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43233         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43234         /sys/devices/system/cpu/online if it is usable.
43236         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43237         reading the information from the /proc filesystem to once a second.
43239 2011-06-21  Andreas Jaeger  <aj@suse.de>
43241         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43242         NULL after inclusion of kernel headers.
43244 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43246         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43247         calls to internal_setent.
43249         [BZ #12885]
43250         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43251         addresses using gethostbyname4_r ignore IPv4 addresses.
43253         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43254         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43256         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43258 2011-06-20  David S. Miller  <davem@davemloft.net>
43260         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43261         inclusions.
43262         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43264         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43265         (elf_irel): Use it.
43266         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43267         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43268         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43269         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43270         * sysdeps/x86_64/dl-irel.h: Likewise.
43272         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43273         * elf/dl-sym.c: Likewise.
43275 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43277         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43278         need to dereference resplen2.
43280 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43282         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43284 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43286         * Makeconfig: Define vardbdir and inst_vardbdir.
43287         * nss/Makefile: Add rules to install db-Makefile.
43289         * nss/nss_db/db-XXX.c: Cleanup.
43291         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43292         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43293         GLIBC_PRIVATE.
43294         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43295         * nss/makedb.c: Implement -g option to specify that value strings
43296         are generated and should not be added to table iterated over for
43297         get*ent calls.
43298         * nss/nss_db/db-initgroups.c: New file.
43300         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43301         interface.
43303         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43304         (internal_getgrouplist): Adjust to name change.
43305         Update use_initgroups_entry if this is not the first call.
43306         * nss/databases.def: Add initgroups entry.
43308         * nss/makedb.c (compute_tables): Check result of multiple hash table
43309         sizes to minimize maximum chain length.
43311 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43313         * Versions.def: Add entry for libnss_db.
43314         * shlib-versions: Likewise.
43315         * nss/Makefile: Add rules to build libnss_db.
43316         * nss/Versions: Add libnss_db information.  Organize libnss_files
43317         entries better.
43318         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43319         makedb progra.  Some minor improvements to generate smaller files.
43320         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43321         here from...
43322         * nss/makedb.c: ...here.
43323         Improve database format to be smaller and require less memory at
43324         runtime.
43325         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43326         db anymore.
43327         * nss/nss_db/db-netgrp.c: Likewise.
43328         * nss/nss_db/db-open.c: Likewise.
43329         * nss/nss_files/flies-XXX.x: Adjust comments.
43330         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43331         * nss/nss_files/files-grp.c: Likewise.
43332         * nss/nss_files/files-hosts.c: Likewise.
43333         * nss/nss_files/files-network.c: Likewise.
43334         * nss/nss_files/files-proto.c: Likewise.
43335         * nss/nss_files/files-pwd.c: Likewise.
43336         * nss/nss_files/files-rpc.c: Likewise.
43337         * nss/nss_files/files-service.c: Likewise.
43338         * nss/nss_files/files-sgrp.c: Likewise.
43339         * nss/nss_files/files-spwd.c: Likewise.
43340         * nss/nss_db/db-alias.c: Removed.
43341         * nss/nss_db/dummy-db.h: Removed.
43343 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43345         * nss/makedb.c: Rewritten to not use database library.
43346         * nss/Makefile: Update to build new makedb program.
43348 2011-06-14  Andreas Jaeger  <aj@suse.de>
43350         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43351         memset declaration.
43353 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43356         tmpbuf.
43358 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43360         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43361         * elf/Makefile ($(objpfx)ld.so): Likewise.
43363         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43364         Don't list ld.so twice in dependencies.
43366         * posix/bug-regex31.c: Include <stdlib.h>.
43368         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43370         * nis/nss_compat/compat-spwd.c
43371         (getspent_next_nss_netgr): Remove unused variable.
43372         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43374         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43375         nonmembers" output to use the right array.
43377         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43379         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43381         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43382         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43383         * catgets/gencat.c (read_input_file): Likewise.
43384         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43386         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43387         variable definition inside #if's controlling its use.
43389         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43391         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43393         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43395         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43396         unreachable code.
43398         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43400         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43401         * configure: Regenerated.
43403         * Makerules: Revert last change.
43404         * elf/Makefile: Likewise.
43406 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43408         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43409         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43410         (reloc-link): Likewise.
43412 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43414         * elf/Makefile: Add rules to build pldd.
43415         * elf/pldd.c: New file.
43416         * elf/pldd-xx.c: New file.
43418 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43420         * version.h: Update for 2.15 development version.
43422 2011-06-07  David S. Miller  <davem@davemloft.net>
43424         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43425         ifuncs.
43426         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43427         elf_machine_lazy_rel): Likewise.
43428         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43429         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43430         elf_machine_lazy_rel): Likewise.
43431         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43432         dl_hwcap via passed in argument.
43433         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43434         Likewise.
43436 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43438         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43440 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43442         [BZ #12849]
43443         * manual/fdl-1.1.texi: New file, verbatim from:
43444         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43445         * manual/lgpl-2.1.texi: New file, verbatim from:
43446         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43447         * manual/Makefile (licenses): New variable, list those new file names.
43448         (texis): Use it.
43449         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43451         * manual/fdl.texi: File removed.
43452         * manual/lesser.texi: File removed.
43453         * manual/libc.texinfo (Copying, Documentation License):
43454         Use new @include file names, put @appendix directive before @include.
43456 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43458         [BZ #12841]
43459         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43460         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43461         (mq_open): Add __NTH.
43463 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43466         Assume Intel Core i3/i5/i7 processor if AVX is available.
43468 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43470         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43471         typo.
43473 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43475         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43476         memory.  Use alloca_account.  Fix memory leak when retrying.
43478 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43480         * version.h (RELEASE): Bump for 2.14 release.
43481         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43483         * config.make.in (RANLIB): Remove entry.
43485 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43487         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43488         (libc.pot): Work around missing support for .ksh extension in xgettext.
43490         [BZ #12684]
43491         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43492         if both request failed.
43493         (send_dg): In case of server errors clear resplen or *resplen2.
43495         [BZ #12454]
43496         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43497         when there are multiple maps.
43498         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43499         (_dl_fini): Remove test here.
43501         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43503 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43505         [BZ #12350]
43506         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43507         bit from old_res_options.
43508         (gaih_inet): Likewise.
43510         [BZ #11099]
43511         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43512         as signed.
43514         * resolv/res_init.c (res_setoptions): Make the code more compact.
43516         [BZ #11558]
43517         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43518         set RES_USEVC.
43520         [BZ #11634]
43521         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43523         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43525         [BZ #11781]
43526         * malloc/malloc.h: Declare malloc hook variables as volatile.
43528         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43529         in last patch.
43531         [BZ #11799]
43532         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43533         raise in the comment.
43534         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43535         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43536         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43538 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43540         [BZ #12811]
43541         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43542         grow the buffers more if it already has to be sufficient.
43543         (build_wcs_upper_buffer): Likewise.
43544         * posix/regexec.c (check_matching): Likewise.
43545         (clean_state_log_if_needed): Likewise.
43546         (extend_buffers): Don't enlarge buffers beyond size of the input
43547         buffer.
43548         Patches mostly by Emil Wojak <emil@wojak.eu>.
43549         * posix/bug-regex32.c: New file.
43550         * posix/Makefile (tests): Add bug-regex32.
43552         * locale/findlocale.c (_nl_find_locale): Return right away if
43553         _nl_explode_name failed.
43554         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43556         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43558         * debug/xtrace.sh: Unify messages.
43559         * malloc/memusage.sh: Likewise.
43561         [BZ #12813]
43562         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43563         time symbol from vDSO.  Substitute with vsyscall if not available.
43564         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43565         __vdso_time.
43567         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43568         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43569         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43570         Add sendmmsg and internal_sendmmsg.
43571         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43572         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43573         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43575         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43576         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43577         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43579 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43581         [BZ #12813]
43582         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43583         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43584         available.
43585         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43586         __vdso_getcpu.
43588         [BZ #12814]
43589         * iconvdata/Makefile (tests): Add bug-iconv9.
43590         * iconvdata/bug-iconv9.c: New file.
43592 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43594         [BZ #12814]
43595         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43597 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43599         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43600         (struct user_regs_struct): Change intcs field back to cs.
43602 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43604         * po/ja.po: Update from translation team.
43606 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43608         [BZ #12795]
43609         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43610         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43612 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43614         * stdlib/longlong.h: Update from GCC.
43616 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43618         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43619         parameter name.
43620         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43621         Add parameter name.
43622         (__sysconf): Pass it down.
43624 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43626         [BZ #12671]
43627         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43628         some situations.
43629         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43630         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43631         add in in __libc_use_alloca calls.  Adjust callers.
43632         (glob): Use malloc in some situations.
43634         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43635         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43636         pltexit.
43638 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43640         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43641         and CLOCK_BOOTTIME_ALARM.
43643         [BZ #12782]
43644         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43645         is returned.
43647         * string/_strerror.c (__strerror_r): Print negative errors as signed
43648         numbers.
43650         [BZ #12777]
43651         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43652         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43653         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43655         * configure.in: Fix typo in redirection and correct removal of test
43656         files in two cases.
43658         [BZ #12788]
43659         * locale/setlocale.c (new_composite_name): Fix test to check for
43660         identical name of all categories.
43662         [BZ #12792]
43663         * libio/filedoalloc.c (local_isatty): New function.
43664         (_IO_file_doallocate): Use local_isatty.
43665         * stdio-common/perror.c (perror): In case a new stream is used
43666         forward the stream error.
43667         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43668         error flag.
43670 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43672         [BZ #11869]
43673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43674         alloca.
43675         * include/alloca.h (extend_alloca_account): Define.
43677         [BZ #11857]
43678         * posix/regex.h: Fix comments with documentation of user-accessible
43679         fields after compilation and describe correct free'ing of pattern
43680         after re_compile_pattern.
43681         Patch by Reuben Thomas <rrt@sc3d.org>.
43683 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43685         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43686         and -mno-altivec to prevent the compiler from using Altivec and/or
43687         VSX instructions when the corresponding registers are not available.
43689 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43691         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43693 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43695         * libio/freopen.c (freopen): Use __dup2, not dup2.
43696         * libio/freopen64.c (freopen64): Likewise.
43698 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43700         [BZ #12775]
43701         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43702         * math/Makefile (tests): Add test-powl.
43703         (CFLAGS-test-powl.c): Define.
43704         * math/test-powl.c: New file.
43706 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43708         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43710 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43712         [BZ #11837]
43713         * iconvdata/gb18030.c: Update to GB18020-2005.
43715 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43717         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43718         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43719         Patch by Aharon Robbins <arnold@skeeve.com>.
43721         [BZ #11892]
43722         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43723         on the stack.
43725         [BZ #11895]
43726         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43727         through underflows.
43729         [BZ #12766]
43730         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43731         point to strings before performing equality test for error_one_per_line
43732         mode.
43734         [BZ #11697]
43735         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43737         [BZ #11820]
43738         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43739         (struct user_fpregs_struct): Avoid __uint*_t types.
43741         [BZ #6420]
43742         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43743         symbol info.  Use it instead of calling _dl_addr locally.
43744         (lock_and_info): New function.
43745         (tr_freehook): Call lock_and_info and pass symbol info as additional
43746         parameter to tr_where.
43747         (tr_mallochook): Likewise.
43748         (tr_reallochook): Likewise.
43749         (tr_memalignhook): Likewise.
43751         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43752         used and couldn't be at all thread-safe.
43754 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43756         * libio/freopen.c (freopen): Don't close old file descriptor
43757         before the new one is opened.  Instead dup the new file descriptor
43758         to the old one after the new stream is created.
43759         * libio/freopen64.c (freopen64): Likewise.
43760         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43761         * libio/fileops.c (_IO_new_file_close_it): Handle new
43762         _IO_FLAGS2_NOCLOSE flag.
43763         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43764         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43765         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43766         _IO_FLAGS2_NOCLOSE flag.
43767         * include/unistd.h: Add hidden_proto for dup3.
43768         Define __have_dup3.
43769         * io/dup3.c: Define hidden symbol.
43770         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43772         [BZ #7101]
43773         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43774         when an incomplete long option is used.
43775         * posix/tst-getopt_long1.c: New file.
43776         * posix/Makefile (tests): Add tst-getopt_long1.
43778         [BZ #10138]
43779         * scripts/config.guess: Update from autoconf-2.68.
43780         * scripts/config.sub: Likewise.
43782         [BZ #10157]
43783         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43784         tests into ...
43785         (has_cpuclock): ...this.  New function.
43786         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43787         macro here based on has_cpuclock code.
43789         [BZ #10149]
43790         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43791         First byte (not low byte) is now always NUL.
43792         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43794         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43795         Use non-cancelable interfaces.
43797         [BZ #9809]
43798         * locale/iso-639.def: Add entry for Sorani.
43800         [BZ #11901]
43801         * include/stdlib.h: Move include protection to the right place.
43802         Define abort_msg_s.  Declare __abort_msg with it.
43803         * stdlib/abort.c (__abort_msg): Adjust type.
43804         * assert/assert.c (__assert_fail_base): New function.  Majority
43805         of code from __assert_fail.  Allocate memory for __abort_msg with
43806         mmap.
43807         (__assert_fail): Now call __assert_fail_base.
43808         * assert/assert-perr.c: Remove bulk of implementation.  Use
43809         __assert_fail_base.
43810         * include/assert.hL Declare __assert_fail_base.
43811         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43812         mmap.
43813         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43815 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43817         [BZ #11952]
43818         [BZ #12453]
43819         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43820         until all modules are registered in the DTV.
43821         * elf/Makefile: Add rules to build and run tst-tls19.
43822         * elf/tst-tls19.c: New file.
43823         * elf/tst-tls19mod1.c: New file.
43824         * elf/tst-tls19mod2.c: New file.
43825         * elf/tst-tls19mod3.c: New file.
43826         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43828         [BZ #12083]
43829         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43830         correctly.
43832         [BZ #12601]
43833         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43834         two-byte sequence errors.
43835         * iconvdata/Makefile (tests): Add bug-iconv8.
43836         * iconvdata/bug-iconv8.c: New file.
43838         [BZ #12626]
43839         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43840         buf2 definition.
43842         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43844         [BZ #12432]
43845         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43846         (dummy_getcfa): New function.
43847         (init): Get _Unwind_GetCFA address, use dummy if not found.
43848         (backtrace_helper): In recursion check, also check whether CFA changes.
43849         (__backtrace): Completely initialize arg.
43851         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43852         storing incomplete byte sequence in state object.  Avoid testing for
43853         guaranteed too small input if we know there is enough data available.
43855 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43857         * Makeconfig (+link-pie): Indent.
43858         * Rules (binaries-pie): Define if $(have-fpie) and
43859         $(build-shared).
43860         (binaries-shared): Also filter out $(binaries-pie).
43861         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43862         * nscd/Makefile (others-pie): Add nscd.
43863         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43864         ($(objpfx)nscd): Remove command override.
43865         * login/Makefile (others-pie): Add pt_chown.
43866         ($(objpfx)pt_chown): Remove command override.
43867         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43868         remove command overrides.
43870 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43872         * libio/tst_putwc.c: Fix error messages.
43874         [BZ #12724]
43875         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43876         currently writing and seek to current position when not.
43877         * libio/Makefile (tests): Add bug-fclose1.
43878         * libio/bug-fclose1.c: New file.
43880 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43882         [BZ #12511]
43883         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43884         don't set DF_1_NODELETE here.
43885         (do_lookup_x): When entering new entry test for copy relocation
43886         and if necessary set DF_1_NODELETE flag.
43887         * elf/tst-unique4.cc: New file.
43888         * elf/tst-unique4.h: New file.
43889         * elf/tst-unique4lib.cc: New file.
43890         * elf/Makefile: Add rules to build and run tst-unique4.
43891         Patch by Piotr Bury <pbury@goahead.com>.
43893 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43895         [BZ #12052]
43896         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43898         [BZ #12625]
43899         * misc/mntent_r.c (addmntent): Flush the stream after the output
43901         [BZ #12393]
43902         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43903         (is_trusted_path_normalize): Skip initial colon.  Append slash
43904         to empty buffer.  Duplicate is_trusted_path code but allow
43905         constructed patch to be prefix.
43906         (is_dst): Allow $ORIGIN followed by /.
43907         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43908         Correct testing of result of is_trusted_path_normalize
43909         (decompose_rpath): Fix warning.
43911 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43913         [BZ #11257]
43914         * grp/initgroups.c (internal_getgrouplist): When we found the service
43915         list through the initgroups entry in nsswitch.conf do not always
43916         continue on a successful lookup.  Don't always use the
43917         __nss_group_database value if it is set.
43918         * nss/nsswitch.conf (initgroups): Change action for successful db
43919         lookup to continue for compatibility.
43921 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43923         [BZ #11532]
43924         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43925         and CP774 modules.
43926         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43927         and CP774 modules.
43928         * iconvdata/tst-tables.sh: Likewise.
43929         * iconvdata/cp770.c: New file.
43930         * iconvdata/cp771.c: New file.
43931         * iconvdata/cp772.c: New file.
43932         * iconvdata/cp773.c: New file.
43933         * iconvdata/cp774.c: New file.
43934         * iconvdata/testdata/CP770: New file.
43935         * iconvdata/testdata/CP770..UTF8: New file.
43936         * iconvdata/testdata/CP771: New file.
43937         * iconvdata/testdata/CP771..UTF8: New file.
43938         * iconvdata/testdata/CP772: New file.
43939         * iconvdata/testdata/CP772..UTF8: New file.
43940         * iconvdata/testdata/CP773: New file.
43941         * iconvdata/testdata/CP773..UTF8: New file.
43942         * iconvdata/testdata/CP774: New file.
43943         * iconvdata/testdata/CP774..UTF8: New file.
43945         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43946         END CHARMAP line.
43947         * iconvdata/gen-8bit-gap.sh: Likewise.
43948         * iconvdata/gen-8bit.sh: Likewise.
43950         * locale/iso-639.def: Add ary entry.
43952         [BZ #11258]
43953         * locale/C-translit.h.in: Add U20A1 transliteration.
43955         [BZ #12178]
43956         * locale/iso-639.def: Add wae entry.
43957         Patch by Kevin Bortis <bortis@translate-wae.ch>.
43959         [BZ #12545]
43960         * locale/programs/localedef.c (construct_output_path): Use ssize_t
43961         for n.
43963         [BZ #12711]
43964         * locale/C-translit.h.in: Add entry for U20B9.
43965         Patch by pravin.d.s@gmail.com.
43967 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
43969         [BZ #12713]
43970         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43971         ENAMETOOLONG use generic getcwd.
43972         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
43973         in rtld.  Use *stat64.
43974         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43975         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43976         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43977         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43978         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43979         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43980         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43981         __fstatat64 macros.
43982         * include/dirent.h: Add libc_hidden_proto for rewinddir.
43983         * dirent/rewinddir.c: Add libc_hidden_def.
43984         * sysdeps/mach/hurd/rewinddir.c: Likewise.
43985         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
43987         * include/dirent.h (__alloc_dir): Add flags parameter.
43988         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43989         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43990         __alloc_dir.
43991         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
43992         from fdopendir if O_CLOEXEC is already set.
43994 2011-03-15  Alan Modra  <amodra@gmail.com>
43996         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43997         l_tls_firstbyte_offset non-zero.  Save padding offset in
43998         l_tls_firstbyte_offset for later use.
43999         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44000         freeing static tls block.
44002 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44004         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44005         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44006         being defined by the kernel headers.
44008 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44010         [BZ #12734]
44011         * resolv/resolv.h: Define RES_NOTLDQUERY.
44012         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44013         no-tld-query and set RES_NOTLDQUERY.
44014         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44015         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44016         modern BIND to search name as TLD unless forbidden.
44018 2011-05-07  Petr Baudis  <pasky@suse.cz>
44019             Ulrich Drepper  <drepper@gmail.com>
44021         [BZ #12393]
44022         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44023         (is_trusted_path): ...to here.
44024         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44025         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44026         using is_trusted_path_normalize() in setuid scripts.
44028 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44030         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44031         __BEGIN/__END_DECLS.
44033 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44035         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44036         NSS_STATUS_NOTFOUND if no record was found.
44038 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44040         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44041         (headers-not-in-tirpc): Remove rpc/netdb.h
44042         * resolv/netdb.h: Revert last change.
44044 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44046         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44047         circular dependency between libgcc.a and libc.a.
44049 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44051         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44052         * nis/Makefile: Don't install rpcsvc/*.
44053         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44054         instead of <rpc/types.h>.
44055         (MAXHOSTNAMELEN): Define.
44057 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44059         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44061 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44063         [BZ #12714]
44064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44065         gethostbyname4_r when IPv6 results are possible.
44067 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44069         [BZ #12723]
44070         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44071         _PC_PIPE_BUF handling.
44073 2011-04-30  Bruno Haible  <bruno@clisp.org>
44075         [BZ #12717]
44076         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44077         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44078         to 'int'.
44079         * inet/getnameinfo.c (getnameinfo): Likewise.
44081 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44083         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44084         to groups setting in database lookup.
44085         * nss/nsswitch.conf: Add initgroups entry.
44087 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44089         [BZ #12685]
44090         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44091         mode string.
44092         Patch by Eric Blake <eblake@redhat.com>.
44094 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44096         * sunrpc/Makefile (need-export-routines): Add svc_run.
44097         (routines): Remove svc_run.
44098         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44099         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44100         * sunrpc/svc_run.c (svc_run): Likewise.
44101         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44103 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44105         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44106         problem in reallocation in last patch.
44108 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44110         * sunrpc/Makefile: Move inclusion of Rules.
44112 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44114         * nss/nss_files/files-initgroups.c: New file.
44115         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44116         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44117         _nss_files_initgroups_dyn.
44119 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44121         * elf/elf.h (R_ARM_IRELATIVE): Define.
44123 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44125         * po/ru.po: Update from translation team.
44127 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44129         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44130         dependencies.
44132 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44134         [BZ #12653]
44135         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44136         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44137         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44138         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44139         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44141 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44143         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44144         differing bytes.
44145         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44146         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44147         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44149 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44151         [BZ #12420]
44152         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44153         storing it.
44154         * stdlib/bug-getcontext.c: New file.
44155         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44157 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44159         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44160         instructions into .machine "z9-109".
44161         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44162         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44164 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44166         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44167         between environment variables and auxiliary vector.
44169 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44171         * Makefile: Add rules to build linkobj/libc.so.
44172         * include/libc-symbols.h: Define libc_hidden_nolink.
44173         * include/rpc/auth.h: Mark functions which are to be hidden.
44174         * include/rpc/auth_des.h: Likewise.
44175         * include/rpc/auth_unix.h: Likewise.
44176         * include/rpc/clnt.h: Likewise.
44177         * include/rpc/des_crypt.h: Likewise.
44178         * include/rpc/key_prot.h: Likewise.
44179         * include/rpc/pmap_clnt.h: Likewise.
44180         * include/rpc/pmap_prot.h: Likewise.
44181         * include/rpc/pmap_rmt.h: Likewise.
44182         * include/rpc/rpc_msg.h: Likewise.
44183         * include/rpc/svc.h: Likewise.
44184         * include/rpc/svc_auth.h: Likewise.
44185         * include/rpc/xdr.h: Likewise.
44186         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44187         * nss/Makefile: Likewise.
44188         * sunrpc/Makefile: Don't install headers.  Build library with normal
44189         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44190         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44191         for the compat linking library.  Remove use of INTDEF/INTUSE.
44192         * sunrpc/auth_none.c: Likewise.
44193         * sunrpc/auth_unix.c: Likewise.
44194         * sunrpc/authdes_prot.c: Likewise.
44195         * sunrpc/authuxprot.c: Likewise.
44196         * sunrpc/clnt_gen.c: Likewise.
44197         * sunrpc/clnt_perr.c: Likewise.
44198         * sunrpc/clnt_raw.c: Likewise.
44199         * sunrpc/clnt_simp.c: Likewise.
44200         * sunrpc/clnt_tcp.c: Likewise.
44201         * sunrpc/clnt_udp.c: Likewise.
44202         * sunrpc/clnt_unix.c: Likewise.
44203         * sunrpc/des_crypt.c: Likewise.
44204         * sunrpc/des_soft.c: Likewise.
44205         * sunrpc/get_myaddr.c: Likewise.
44206         * sunrpc/key_call.c: Likewise.
44207         * sunrpc/key_prot.c: Likewise.
44208         * sunrpc/netname.c: Likewise.
44209         * sunrpc/pm_getmaps.c: Likewise.
44210         * sunrpc/pm_getport.c: Likewise.
44211         * sunrpc/pmap_clnt.c: Likewise.
44212         * sunrpc/pmap_prot.c: Likewise.
44213         * sunrpc/pmap_prot2.c: Likewise.
44214         * sunrpc/pmap_rmt.c: Likewise.
44215         * sunrpc/publickey.c: Likewise.
44216         * sunrpc/rpc_cmsg.c: Likewise.
44217         * sunrpc/rpc_common.c: Likewise.
44218         * sunrpc/rpc_dtable.c: Likewise.
44219         * sunrpc/rpc_prot.c: Likewise.
44220         * sunrpc/rpc_thread.c: Likewise.
44221         * sunrpc/rtime.c: Likewise.
44222         * sunrpc/svc.c: Likewise.
44223         * sunrpc/svc_auth.c: Likewise.
44224         * sunrpc/svc_authux.c: Likewise.
44225         * sunrpc/svc_raw.c: Likewise.
44226         * sunrpc/svc_run.c: Likewise.
44227         * sunrpc/svc_simple.c: Likewise.
44228         * sunrpc/svc_tcp.c: Likewise.
44229         * sunrpc/svc_udp.c: Likewise.
44230         * sunrpc/svc_unix.c: Likewise.
44231         * sunrpc/svcauth_des.c: Likewise.
44232         * sunrpc/xcrypt.c: Likewise.
44233         * sunrpc/xdr.c: Likewise.
44234         * sunrpc/xdr_array.c: Likewise.
44235         * sunrpc/xdr_float.c: Likewise.
44236         * sunrpc/xdr_intXX_t.c: Likewise.
44237         * sunrpc/xdr_mem.c: Likewise.
44238         * sunrpc/xdr_rec.c: Likewise.
44239         * sunrpc/xdr_ref.c: Likewise.
44240         * sunrpc/xdr_sizeof.c: Likewise.
44241         * sunrpc/xdr_stdio.c: Likewise.
44243 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44245         [BZ #12650]
44246         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44247         * sysdeps/ia64/dl-tls.h: Likewise.
44248         * sysdeps/powerpc/dl-tls.h: Likewise.
44249         * sysdeps/s390/dl-tls.h: Likewise.
44250         * sysdeps/sh/dl-tls.h: Likewise.
44251         * sysdeps/sparc/dl-tls.h: Likewise.
44252         * sysdeps/x86_64/dl-tls.h: Likewise.
44253         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44255 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44257         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44258         rpath element also skip the following colon.
44259         (expand_dynamic_string_token): Add is_path parameter and pass
44260         down to DL_DST_REQUIRED and _dl_dst_substitute.
44261         (decompose_rpath): Call expand_dynamic_string_token with
44262         non-zero is_path.  Ignore empty rpaths.
44263         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44264         with zero is_path.
44266 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44269         Make cancelable.
44271 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44273         [BZ #12655]
44274         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44275         Patch by Filipe David Manana <fdmanana@apache.org>.
44277 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44279         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44280         Maintain aligned stack.
44281         (CHECK_RSP): Remove unused macro.
44283 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44285         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44286         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44288 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44290         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44292         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44294 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44296         [BZ #12518]
44297         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44298         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44299         * sysdeps/x86_64/memmove.c: New file.
44300         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44301         (memcpy): Renamed to ...
44302         (__new_memcpy): This.
44303         (memcpy): Provide GLIBC_2_14 memcpy.
44304         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44305         (memcpy): Provide GLIBC_2_2_5 memcpy.
44307 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44309         [BZ #12631]
44310         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44312 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44314         * misc/syncfs.c: New file.
44315         * misc/Makefile (routines): Add syncfs.
44316         * posix/unistd.h: Declare syncfs.
44317         * sysdeps/unix/syscalls.list: Add syncfs.
44319 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44321         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44322         open_by_handle_at.
44323         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44324         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44325         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44326         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44328         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44329         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44331 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44333         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44334         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44335         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44336         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44337         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44338         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44339         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44341         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44342         sync_file_range.c with -fexceptions.
44343         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44344         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44345         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44346         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44347         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44348         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44349         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44350         sync_file_range as cancellation point
44351         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44352         now a wrapper around __call_sync_file_range with cancellation handling.
44353         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44354         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44355         function name to __call_sync_file_range.
44356         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44357         Add call_sync_file_range.
44359 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44361         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44362         bits/timex.h.
44364 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44366         * iconv/iconv.h: Fix typo in comment.
44367         * io/fcntl.h: Likewise.
44368         * libio/stdio.h: Likewise.
44369         * posix/spawn.h: Likewise.
44370         * posix/unistd.h: Likewise.
44371         * stdlib/stdlib.h: Likewise.
44372         * time/time.h: Likewise.
44373         * wcsmbs/wchar.h: Likewise.
44375         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44376         open_by_handle): Add.
44377         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44378         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44379         Augment a few comments.
44380         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44381         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44382         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44383         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44384         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44385         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44386         open_by_handle.
44388         * io/fcntl.h (AT_EMPTY_PATH): Define.
44390 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44392         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44393         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44394         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44395         to...
44396         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44397         * Versions.def: Add GLIBC_2.14.
44398         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44399         Export.
44401 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44403         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44404         round counter.
44405         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44407 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44409         [BZ #12597]
44410         * string/test-strncmp.c (do_page_test): New function.
44411         (check2): Likewise.
44412         (test_main): Call check2.
44413         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44415 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44417         [BZ #12587]
44418         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44419         Handle cache information in CPU leaf 4.
44420         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44422 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44424         [BZ #12583]
44425         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44426         character representation.
44427         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44429 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44431         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44432         END(__isnan) to END(__isnanf) to match function entry point/label
44433         EALIGN(__isnanf,...).
44435 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44437         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44439 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44441         [BZ #12510]
44442         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44443         copy from the symbol referenced in the relocation to initialize the
44444         used variable.
44445         Patch by Piotr Bury <pbury@goahead.com>.
44446         * elf/Makefile: Add rules to build and tst-unique3.
44447         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44448         * elf/tst-unique3.cc: New file.
44449         * elf/tst-unique3.h: New file.
44450         * elf/tst-unique3lib.cc: New file.
44451         * elf/tst-unique3lib2.cc: New file.
44453         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44455 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44457         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44458         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44459         to _start.
44461 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44463         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44464         to-be-loaded object along a path to loader is ld.so.
44466 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44467             Ulrich Drepper  <drepper@gmail.com>
44469         * sysdeps/x86_64/memset.S: After aligning destination, code
44470         branches to different locations depending on the value of
44471         misalignment, when multiarch is enabled. Fix this.
44473 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44475         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44476         Set _x86_64_preferred_memory_instruction for AMD processsors.
44477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44478         Set bit_Prefer_SSE_for_memop for AMD processors.
44480 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44482         * libio/fmemopen.c (fmemopen): Optimize a bit.
44484 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44486         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44488 2011-03-03  Roland McGrath  <roland@redhat.com>
44490         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44492 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44494         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44495         __bzero_ultra1 instead of __memset_ultra1.
44497 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44498             Ulrich Drepper  <drepper@gmail.com>
44500         [BZ #12509]
44501         * include/link.h (struct link_map): Add l_orig_initfini.
44502         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44503         returning unsuccessfully.
44504         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44505         close of a file loaded at startup, restore the original l_initfini
44506         list.
44507         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44508         list, store the pointer.
44509         * elf/Makefile ($(objpfx)noload-mem): New rule.
44510         (noload-ENV): Define.
44511         (tests): Add $(objpfx)noload-mem.
44512         * elf/noload.c: Include <memcheck.h>.
44513         (main): Call mtrace.  Close all opened handles.
44515 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44517         [BZ #12454]
44518         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44519         dependencies are missing.
44521 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44523         Fix __if_freereq crash: Unlike the generic version which uses free,
44524         Hurd needs munmap.
44525         * sysdeps/mach/hurd/ifreq.h: New file.
44527 2011-01-27  Petr Baudis  <pasky@suse.cz>
44528             Ulrich Drepper  <drepper@gmail.com>
44530         [BZ 12445]#
44531         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44532         to extend_alloca().
44533         * stdio-common/bug23.c: New file.
44534         * stdio-common/Makefile (tests): Add bug23.
44536 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44537             Ulrich Drepper  <drepper@gmail.com>
44539         [BZ #12489]
44540         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44541         before performing relro protection.  At old place add assertion
44542         to make sure nothing changed.
44544 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44545             Glauber de Oliveira Costa  <glommer@gmail.com>
44547         * elf/elf.h: Add new ARM TLS relocs.
44549 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44552         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44553         cast from r3.
44554         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44555         'tests' variable.
44556         * sysdeps/wordsize-64/tst-writev.c: New file.
44558 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44560         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44561         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44562         insns in _dl_start to prevent a TOC reference before relocs are
44563         resolved.
44565 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44567         [BZ #12469]
44568         * Makeconfig: Remove RANLIB definition.
44569         * Makerules: Don't use RANLIB.
44570         * aclocal.m4: Remove ranlib test.
44571         * configure.in: No need to check for ranlib.
44572         * elf/rtld-Rules: Don't use RANLIB.
44574 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44576         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44577         protection macro.
44578         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44579         inclusion protection macro.
44581         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44582         SIGRTMIN and SIGRTMAX and print information in that case only when
44583         SIGRTMIN is defined.
44585 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44587         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44588         arginfo fn returning -1.
44590         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44591         and thousands string is zero terminated.
44593 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44595         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44596         sysdeps/unix/sysv/linux/bits/socket.h.
44598 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44600         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44601         (__CPU_COUNT): Remove old macros.
44602         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44603         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44604         (__CPU_ALLOC, __CPU_FREE): Add macros.
44605         (__sched_cpualloc, __sched_cpufree): Add declarations.
44607 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44609         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44610         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44611         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44612         (readdhstai): Return value of addhstaiX call.
44613         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44614         (addgrbyX): Return value returned by cache_addgr.
44615         (readdgrbyname): Return value returned by addgrbyX.
44616         (readdgrbygid): Likewise.
44617         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44618         (addpwbyX): Return value returned by cache_addpw.
44619         (readdpwbyname): Return value returned by addhstbyX.
44620         (readdpwbyuid): Likewise.
44621         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44622         (addservbyX): Return value returned by cache_addserv.
44623         (readdservbyname): Return value returned by addservbyX:
44624         (readdservbyport): Likewise.
44625         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44626         (addhstbyX): Return value returned by cache_addhst.
44627         (readdhstbyname): Return value returned by addhstbyX.
44628         (readdhstbyaddr): Likewise.
44629         (readdhstbynamev6): Likewise.
44630         (readdhstbyaddrv6): Likewise.
44631         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44632         (readdinitgroups): Return value returned by addinitgroupsX.
44633         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44634         (prune_cache): Keep track of timeout value of re-added entries.
44635         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44636         * nscd/nscd.h: Adjust prototypes of readd* functions.
44638 2011-02-04  Roland McGrath  <roland@redhat.com>
44640         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44641         (nis_stats): Likewise.
44642         * nis/nis_modify.c (nis_modify): Likewise.
44643         * nis/nis_remove.c (nis_remove): Likewise.
44644         * nis/nis_add.c (nis_add): Likewise.
44646         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44648         * posix/fnmatch_loop.c: Add some consts.
44650         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44652 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44654         [BZ #12460]
44655         * config.make.in (config-cflags-novzeroupper): Define.
44656         * configure.in: Substitute libc_cv_cc_novzeroupper.
44657         * elf/Makefile (AVX-CFLAGS): Define.
44658         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44659         (CFLAGS-tst-auditmod4a.c): Likewise.
44660         (CFLAGS-tst-auditmod4b.c): Likewise.
44661         (CFLAGS-tst-auditmod6b.c): Likewise.
44662         (CFLAGS-tst-auditmod6c.c): Likewise.
44663         (CFLAGS-tst-auditmod7b.c): Likewise.
44664         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44666 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44668         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44669         function to the callback.
44670         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44672 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44674         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44675         of errno.
44677 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44679         [BZ #11724]
44680         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44681         of constructors.
44682         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44683         of destructors.
44684         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44686         [BZ #11724]
44687         * elf/Makefile: Add rules to build and run new test.
44688         * elf/tst-initorder.c: New file.
44689         * elf/tst-initorder.exp: New file.
44690         * elf/tst-initordera1.c: New file.
44691         * elf/tst-initordera2.c: New file.
44692         * elf/tst-initordera3.c: New file.
44693         * elf/tst-initordera4.c: New file.
44694         * elf/tst-initorderb1.c: New file.
44695         * elf/tst-initorderb2.c: New file.
44696         * elf/tst-order-a1.c: New file.
44697         * elf/tst-order-a2.c: New file.
44698         * elf/tst-order-a3.c: New file.
44699         * elf/tst-order-a4.c: New file.
44700         * elf/tst-order-b1.c: New file.
44701         * elf/tst-order-b2.c: New file.
44702         * elf/tst-order-main.c: New file.
44703         New test case by George Gensure <werkt0@gmail.com>.
44705 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44708         decoding ACE if AI_CANONIDN.
44710 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44712         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44714 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44716         * version.h (RELEASE): Bump for 2.13 release.
44717         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44719         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44721         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44722         MADV_NOHUGEPAGE.
44723         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44724         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44725         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44726         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44727         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44728         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44730         * posix/getconf.c: Update copyright year.
44731         * catgets/gencat.c: Likewise.
44732         * csu/version.c: Likewise.
44733         * debug/catchsegv.sh: Likewise.
44734         * debug/xtrace.sh: Likewise.
44735         * elf/ldconfig.c: Likewise.
44736         * elf/ldd.bash.in: Likewise.
44737         * elf/sprof.c (print_version): Likewise.
44738         * iconv/iconv_prog.c: Likewise.
44739         * iconv/iconvconfig.c: Likewise.
44740         * locale/programs/locale.c: Likewise.
44741         * locale/programs/localedef.c: Likewise.
44742         * malloc/memusage.sh: Likewise.
44743         * malloc/mtrace.pl: Likewise.
44744         * nscd/nscd.c (print_version): Likewise.
44745         * nss/getent.c: Likewise.
44747         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44748         PF_CAIF, and PF_ALG.
44749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44751 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44753         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44754         (modules-names): Use them.
44755         (ifunc-test-modules, ifunc-pie-tests): Define.
44756         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44757         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44758         (test-extras): Likewise.
44759         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44760         $(compile-command.c).
44761         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44762         (all-built-dso): Define.
44763         (check-textrel.out, check-execstack.out): Depend on it.
44765         * configure.in: Don't override --enable-multi-arch.
44767 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44769         [BZ #6812]
44770         * nscd/hstcache.c (tryagain): Define.
44771         (cache_addhst): Return tryagain not notfound for temporary errors.
44772         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44773         failed.
44775 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44777         [BZ #10563]
44778         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44779         to make the syscall.
44780         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44782         [BZ #12378]
44783         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44784         and fall back to matching as normal character if the string ends before
44785         the matching ']' is found.  This is what POSIX requires.
44786         * posix/testfnm.c: Adjust test result.
44787         * posix/globtest.sh: Adjust test result.  Add new test.
44788         * posix/tst-fnmatch.input: Likewise.
44789         * posix/tst-fnmatch2.c: Add new test.
44791 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44793         * elf/Makefile (check-execstack): Revert last change.  Depend on
44794         check-execstack.h.
44795         (check-execstack.h): New target.
44796         (generated): Add check-execstack.h.
44797         * elf/check-execstack.c: Include "check-execstack.h".
44798         (main): Revert last change.
44799         (handle_file): Return zero if GNU_STACK is absent and
44800         DEFAULT_STACK_PERMS doesn't include PF_X.
44802 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44804         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44805         in child fails because the descriptor is already closed.
44806         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44807         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44808         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44810         [BZ #12397]
44811         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44812         syscall.
44814         [BZ #10484]
44815         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44816         temporary buffer used to handle multi lookups locally.
44817         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44819 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44821         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44822         loader is ld.so.
44824 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44826         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44827         alignment for SSE2.
44829 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44831         [BZ #12394]
44832         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44833         characters.  When rounding increased number of integer digits recompute
44834         number of groups.
44835         * stdio-common/tst-grouping.c: New file.
44836         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44838 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44840         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44841         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44843         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44844         void.
44845         * bits/select.h: Likewise.
44847 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44849         * po/ja.po: Update from translation team.
44851 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44853         [BZ #11155]
44854         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44855         implementation just like for lxstat, fxstatat, et al.
44857 2010-12-27  Jim Meyering  <meyering@redhat.com>
44859         [BZ #12348]
44860         * posix/regexec.c (build_trtable): Return failure indication upon
44861         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44863 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44865         [BZ #12201]
44866         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44867         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44868         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44869         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44871         [BZ #12207]
44872         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44874         [BZ #12204]
44875         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44876         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44878 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44880         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44881         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44882         script has SORT_BY_INIT_PRIORITY.
44883         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44884         NO_CTORS_DTORS_SECTIONS is defined.
44885         * elf/soinit.c: Likewise.
44886         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44887         NO_CTORS_DTORS_SECTIONS is defined.
44888         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44889         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44890         * sysdeps/sh/init-first.c: Likewise.
44891         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44893 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44895         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44896         always use the slow path.
44898 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44900         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44901         similar rule which adds the sysdep directories to the header search in
44902         order to pick up the correct platform stackinfo.h.
44903         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44904         perform test if it is, otherwise return successfully without testing.
44905         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44906         DEFAULT_STACK_PERMS define in stackinfo.h.
44907         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44908         defined in stackinfo.h.
44909         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44910         DEFAULT_STACK_PERMS defined in stackinfo.h.
44911         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44912         * sysdeps/ia64/stackinfo.h: Likewise.
44913         * sysdeps/s390/stackinfo.h: Likewise.
44914         * sysdeps/sh/stackinfo.h: Likewise.
44915         * sysdeps/sparc/stackinfo.h: Likewise.
44916         * sysdeps/x86_64/stackinfo.h: Likewise.
44917         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44918         PF_X for powerpc64.  Retain PF_X for powerpc32.
44920 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44922         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44923         accurately.
44924         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44925         GETDENTS_64BIT_ALIGNED.
44927 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
44929         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44931 2010-12-10  Andreas Schwab  <schwab@redhat.com>
44933         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44934         _GNU_SOURCE.
44936         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44937         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44938         Remove __restrict.
44939         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44940         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44942 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
44944         [BZ #11655]
44945         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44946         are initialized.
44948 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
44950         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44952 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
44954         * po/it.po: Update from translation team.
44956 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
44958         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44959         unused codes.
44961 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
44963         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44965 2010-11-24  Andreas Schwab  <schwab@redhat.com>
44967         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44968         specially.
44969         (gaih_getanswer_slice): Likewise.
44971 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
44973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44975 2010-05-31  Petr Baudis  <pasky@suse.cz>
44977         [BZ #11149]
44978         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44979         silently even in the chroot mode.
44981 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
44983         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44984         last patch a bit.  Pretty printing
44986 2010-05-31  Petr Baudis <pasky@suse.cz>
44988         [BZ #10085]
44989         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44990         initialization of skip_initgroups_dyn.
44992 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
44994         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44995         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44997 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
44999         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45001 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45003         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45004         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45005         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45006         ($(objpfx)tst-fnmatch-mem): New rule.
45007         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45008         * posix/tst-fnmatch.c (main): Call mtrace.
45010 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45012         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45013         Support Intel processor model 6 and model 0x2c.
45015 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45017         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45018           signed comparison.
45020 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45022         [BZ #12205]
45023         * string/test-strncasecmp.c (check_result): New function.
45024         (do_one_test): Use it.
45025         (check1): New function.
45026         (test_main): Use it.
45027         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45028         Support strcasecmp and strncasecmp.
45030 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45032         [BZ #12194]
45033         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45034         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45036 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45038         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45039         IFUNC support.
45040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45041         memset-x86-64.
45042         * sysdeps/x86_64/multiarch/bzero.S: New file.
45043         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45044         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45045         * sysdeps/x86_64/multiarch/memset.S: New file.
45046         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45048         Set bit_Prefer_SSE_for_memop for Intel processors.
45049         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45050         Define.
45051         (index_Prefer_SSE_for_memop): Define.
45052         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45054 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45056         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45057         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45059 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45061         [BZ #12191]
45062         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45063         (__x86_64_raw_data_cache_size_half): Likewise.
45064         (__x86_64_raw_shared_cache_size): Likewise.
45065         (__x86_64_raw_shared_cache_size_half): Likewise.
45067         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45068         (__x86_64_raw_data_cache_size_half): Likewise.
45069         (__x86_64_raw_shared_cache_size): Likewise.
45070         (__x86_64_raw_shared_cache_size_half): Likewise.
45071         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45072         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45073         and __x86_64_raw_shared_cache_size_half.  Round
45074         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45075         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45076         to multiple of 256 bytes.
45078 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45080         [BZ #12167]
45081         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45082         of inacessible symlinks.  Verify result of symlink before returning it.
45083         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45084         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45086 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45088         * math/math.h (isinf): Fix typo in comment.
45090 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45092         * po/da.po: Update from translation team.
45094 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45096         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45097         is added to the list.
45099 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45100             Ulrich Drepper  <drepper@gmail.com>
45102         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45103         the global list here.  Move code to...
45104         (_dl_add_to_namespace_list): ...here.  New function.
45105         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45106         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45107         * elf/dl-load.c (lose): Don't remove the element from the list.
45108         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45109         (_dl_map_object): Likewise.
45111 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45113         [BZ #12159]
45114         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45115         into all bytes of SSE register.
45116         Patch by Richard Li <richardpku@gmail.com>.
45118 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45120         [BZ #12140]
45121         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45122         perturbing.
45124 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45126         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45127         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45128         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45129         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45131         submachine.
45132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45134 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45136         * include/dlfcn.h (__RTLD_SECURE): Define.
45137         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45138         mode & __RTLD_SECURE instead.
45139         (open_path): Rename preloaded parameter to secure.
45140         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45141         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45142         * elf/dl-deps.c (openaux): Likewise.
45143         * elf/rtld.c (struct map_args): Remove is_preloaded.
45144         (map_doit): Don't use it.
45145         (dl_main): Likewise.
45146         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45147         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45149 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45151         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45152         (sysd-rules-targets): Remove duplicates.
45153         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45154         rtld-%.$o dependency.
45156 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45158         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45159         _dl_map_object do it.
45161 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45163         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45164         fast fma builtins, define the macros in the C99 standard.
45165         (FP_FAST_FMAF): Likewise.
45166         (FP_FAST_FMAL): Likewise.
45167         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45169         * bits/mathdef.h: Update copyright year.
45170         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45172 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45174         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45175         builtins, define the macros in the C99 standard.
45176         (FP_FAST_FMAF): Likewise.
45177         (FP_FAST_FMAL): Likewise.
45178         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45179         multiply/add.
45180         (FP_FAST_FMAF): Likewise.
45182 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45184         [BZ #3268]
45185         * math/libm-test.inc (fma_test): Some new testcases.
45186         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45187         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45188         y and infinite z.  Do multiplication by C already in long double.
45189         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45191         y and infinite z.  Do bitwise or of inexact bit into u.d.
45192         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45193         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45194         * sysdeps/i386/fpu/s_fma.S: Removed.
45195         * sysdeps/i386/fpu/s_fmal.S: Removed.
45197 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45199         [BZ #3268]
45200         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45202         computation is not scheduled after fetestexcept.  Fix value
45203         of minimum denormal long double.
45205 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45207         [BZ #3268]
45208         * math/libm-test.inc (fma_test): Add some more tests.
45209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45210         correctly.
45212 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45214         * scripts/data/localplt-s390-linux-gnu.data: New file.
45215         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45217 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45219         [BZ #3268]
45220         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45221         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45222         instead of dbl-64.
45223         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45224         inlines.
45225         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45227         if one of x and y is very large and the other is subnormal.
45228         * sysdeps/s390/fpu/s_fmaf.c: New file.
45229         * sysdeps/s390/fpu/s_fma.c: New file.
45230         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45231         * sysdeps/powerpc/fpu/s_fma.S: New file.
45232         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45233         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45234         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45236 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45238         [BZ #3268]
45239         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45240         fma tests.
45241         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45242         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45243         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45244         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45245         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45246         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45247         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45249 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45251         [BZ #12078]
45252         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45253         * posix/bug-regex31.input: Add test case.
45255 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45257         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45258         * posix/bug-regex31.input: New file.
45260         [BZ #12078]
45261         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45262         (parse_sub_exp): Fix last change, use postorder.
45264         * posix/bug-regex31.c: New file.
45265         * posix/Makefile: Add rules to build and run bug-regex31.
45267         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45269         [BZ #12078]
45270         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45272         [BZ #12108]
45273         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45274         to have entries in sys_siglist.
45276         [BZ #12093]
45277         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45278         be NULL.
45280 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45282         [BZ #3268]
45283         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45284         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45285         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45286         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45287         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45288         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45289         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45290         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45291         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45292         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45293         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45294         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45295         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45296         * math/ftestexcept.c (fetestexcept): Likewise.
45297         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45298         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45299         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45300         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45301         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45302         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45303         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45305 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45307         [BZ #12107]
45308         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45309         newline.
45311 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45313         * string/bug-strstr1.c: New file.
45314         * string/Makefile: Add rules to build and run bug-strstr1.
45316 2010-10-05  Eric Blake  <eblake@redhat.com>
45318         [BZ #12092]
45319         * string/str-two-way.h (two_way_long_needle): Always clear memory
45320         when skipping input due to the shift table.
45322 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45324         [BZ #12005]
45325         * malloc/mcheck.c: Handle large requests.
45327         [BZ #12077]
45328         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45329         for strncmp and strncasecmp.
45330         * string/stratcliff.c: Add tests for strcmp and strncmp.
45331         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45333 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45335         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45336         __set_fpscr.
45338 2010-09-30  Andreas Jaeger  <aj@suse.de>
45340         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45341         (CGROUP_SUPER_MAGIC): Define.
45342         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45343         Handle btrfs and cgroup file systems.
45344         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45345         Likewise.
45347 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45349         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45350         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45352 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45354         [BZ #12067]
45355         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45356         trying to locate the ELF header.
45358 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45360         [BZ #11611]
45361         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45362         Mask out sign-bit copies when constructing f_fsid.
45364 2010-09-24  Petr Baudis <pasky@suse.cz>
45366         * debug/stack_chk_fail_local.c: Add missing licence exception.
45367         * debug/warning-nop.c: Likewise.
45369 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45371         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45372         implementing getdents64 using getdents syscall, set d_type if
45373         __ASSUME_GETDENTS32_D_TYPE.
45375 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45377         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45378         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45380 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45382         [BZ #12037]
45383         * posix/unistd.h: Undo change of feature selection for ftruncate from
45384         2010-01-11.
45386 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45388         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45389         detection.
45391 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45393         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45394         fanotify_mark.
45395         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45397 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45399         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45400         variables after CHECK_SP call.
45401         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45403 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45404             Ulrich Drepper  <drepper@redhat.com>
45406         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45407         re-relocationg ld.so.
45408         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45409         _dl_init_paths call.
45410         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45411         here anymore.
45413 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45415         * resolv/res_init.c (__res_vinit): Count the default server we added.
45417 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45418             Ulrich Drepper  <drepper@redhat.com>
45420         [BZ #11968]
45421         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45422         (____longjmp_chk): Use %ebx for saving value across system call.
45423         Add unwind info.
45425 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45427         * manual/Makefile: Don't mix pattern rules with normal rules.
45429 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45431         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45432         operation.
45433         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45434         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45435         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45436         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45437         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45438         Likewise.
45440 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45442         [BZ #11979]
45443         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45444         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45446 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45448         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45449         * sysdeps/x86_64/addmul_1.S: Likewise.
45450         * sysdeps/x86_64/lshift.S: Likewise.
45451         * sysdeps/x86_64/mul_1.S: Likewise.
45452         * sysdeps/x86_64/rshift.S: Likewise.
45453         * sysdeps/x86_64/sub_n.S: Likewise.
45454         * sysdeps/x86_64/submul_1.S: Likewise.
45456 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45458         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45459         Define __sched_param instead of SCHED_* and sched_param when
45460         <bits/sched.h> is included with __need_schedparam defined.
45461         * bits/sched.h [__need_schedparam]
45462         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45463         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45464         (__defined_schedparam): Define to 1.
45465         (__sched_param): New structure, identical to sched_param.
45466         (__need_schedparam): Undefine.
45468 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45470         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45471         (epoll_create1): Declare.
45473         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45475 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45477         [BZ #7066]
45478         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45479         shifting retval into place.
45481 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45483         * nis/rpcsvc/nis.h: Update copyright notice.
45484         * nis/rpcsvc/nis.x: Likewise.
45485         * nis/rpcsvc/nis_callback.h: Likewise.
45486         * nis/rpcsvc/nis_callback.x: Likewise.
45487         * nis/rpcsvc/nis_object.x: Likewise.
45488         * nis/rpcsvc/nis_tags.h: Likewise.
45489         * nis/rpcsvc/yp.h: Likewise.
45490         * nis/rpcsvc/yp.x: Likewise.
45491         * nis/rpcsvc/ypupd.h: Likewise.
45492         * nis/yp_xdr.c: Likewise.
45493         * nis/ypupdate_xdr.c: Likewise.
45495         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45496         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45497         (pmap_getport): Use __libc_rpc_getport.
45498         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45499         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45500         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45502 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45505         fanotify_mark.
45507 2010-08-27  Roland McGrath  <roland@redhat.com>
45509         * sysdeps/i386/i686/multiarch/Makefile
45510         (CFLAGS-varshift.c): New variable.
45512 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45514         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45515         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45517         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45519         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45521 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45523         * sysdeps/x86_64/strlen.S: Unroll the loop.
45524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45525         strlen-sse2 strlen-sse2-bsf.
45526         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45527         __strlen_no_bsf if bit_Slow_BSF is set.
45528         (__strlen_sse42): Removed.
45529         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45530         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45532 2010-08-25  Roland McGrath  <roland@redhat.com>
45534         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45535         * sysdeps/x86_64/multiarch/varshift.c: New file.
45536         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45537         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45538         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45539         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45541 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45544         strlen-sse2 strlen-sse2-bsf.
45545         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45546         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45547         (__strlen_sse2): Removed.
45548         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45549         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45551         bit_Slow_BSF for Atom.
45552         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45553         (index_Slow_BSF): Define.
45554         (HAS_SLOW_BSF): Define.
45556 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45558         [BZ #10851]
45559         * resolv/res_init.c (__res_vinit): When no server address at all
45560         is given default to loopback.
45562 2010-08-24  Roland McGrath  <roland@redhat.com>
45564         * configure.in: Remove config-name.h generation.
45565         * configure: Regenerated.
45566         * config-name.in: File removed.
45567         * scripts/config-uname.sh: New file.
45568         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45569         ($(objdir)config-name.h): New target.
45571         * sunrpc/rpc_parse.h: Avoid nested comment.
45573 2010-08-24  Richard Henderson  <rth@redhat.com>
45574             Ulrich Drepper  <drepper@redhat.com>
45575             H.J. Lu  <hongjiu.lu@intel.com>
45577         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45579         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45580         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45581         _mm_alignr_epi8 with _mm_loadu_si128.
45582         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45583         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45584         (__m128i_shift_right): Removed.
45585         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45586         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45587         * sysdeps/x86_64/multiarch/varshift.h: New file.
45588         * sysdeps/x86_64/multiarch/varshift.S: New file.
45590 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45592         * configure.in: Move assembler checks to before sysdep dir checking.
45594 2010-08-20  Petr Baudis  <pasky@suse.cz>
45596         * LICENSES: Sync the sunrpc license.
45598 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45600         * sunrpc/auth_des.c: Update copyright notice once again.
45601         * sunrpc/auth_none.c: Likewise.
45602         * sunrpc/auth_unix.c: Likewise.
45603         * sunrpc/authdes_prot.c: Likewise.
45604         * sunrpc/authuxprot.c: Likewise.
45605         * sunrpc/bindrsvprt.c: Likewise.
45606         * sunrpc/clnt_gen.c: Likewise.
45607         * sunrpc/clnt_perr.c: Likewise.
45608         * sunrpc/clnt_raw.c: Likewise.
45609         * sunrpc/clnt_simp.c: Likewise.
45610         * sunrpc/clnt_tcp.c: Likewise.
45611         * sunrpc/clnt_udp.c: Likewise.
45612         * sunrpc/clnt_unix.c: Likewise.
45613         * sunrpc/des_crypt.c: Likewise.
45614         * sunrpc/des_soft.c: Likewise.
45615         * sunrpc/get_myaddr.c: Likewise.
45616         * sunrpc/getrpcport.c: Likewise.
45617         * sunrpc/key_call.c: Likewise.
45618         * sunrpc/key_prot.c: Likewise.
45619         * sunrpc/openchild.c: Likewise.
45620         * sunrpc/pm_getmaps.c: Likewise.
45621         * sunrpc/pm_getport.c: Likewise.
45622         * sunrpc/pmap_clnt.c: Likewise.
45623         * sunrpc/pmap_prot.c: Likewise.
45624         * sunrpc/pmap_prot2.c: Likewise.
45625         * sunrpc/pmap_rmt.c: Likewise.
45626         * sunrpc/rpc/auth.h: Likewise.
45627         * sunrpc/rpc/auth_unix.h: Likewise.
45628         * sunrpc/rpc/clnt.h: Likewise.
45629         * sunrpc/rpc/des_crypt.h: Likewise.
45630         * sunrpc/rpc/key_prot.h: Likewise.
45631         * sunrpc/rpc/netdb.h: Likewise.
45632         * sunrpc/rpc/pmap_clnt.h: Likewise.
45633         * sunrpc/rpc/pmap_prot.h: Likewise.
45634         * sunrpc/rpc/pmap_rmt.h: Likewise.
45635         * sunrpc/rpc/rpc.h: Likewise.
45636         * sunrpc/rpc/rpc_des.h: Likewise.
45637         * sunrpc/rpc/rpc_msg.h: Likewise.
45638         * sunrpc/rpc/svc.h: Likewise.
45639         * sunrpc/rpc/svc_auth.h: Likewise.
45640         * sunrpc/rpc/types.h: Likewise.
45641         * sunrpc/rpc/xdr.h: Likewise.
45642         * sunrpc/rpc_clntout.c: Likewise.
45643         * sunrpc/rpc_cmsg.c: Likewise.
45644         * sunrpc/rpc_common.c: Likewise.
45645         * sunrpc/rpc_cout.c: Likewise.
45646         * sunrpc/rpc_dtable.c: Likewise.
45647         * sunrpc/rpc_hout.c: Likewise.
45648         * sunrpc/rpc_main.c: Likewise.
45649         * sunrpc/rpc_parse.c: Likewise.
45650         * sunrpc/rpc_parse.h: Likewise.
45651         * sunrpc/rpc_prot.c: Likewise.
45652         * sunrpc/rpc_sample.c: Likewise.
45653         * sunrpc/rpc_scan.c: Likewise.
45654         * sunrpc/rpc_scan.h: Likewise.
45655         * sunrpc/rpc_svcout.c: Likewise.
45656         * sunrpc/rpc_tblout.c: Likewise.
45657         * sunrpc/rpc_util.c: Likewise.
45658         * sunrpc/rpc_util.h: Likewise.
45659         * sunrpc/rpcinfo.c: Likewise.
45660         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45661         * sunrpc/rpcsvc/key_prot.x: Likewise.
45662         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45663         * sunrpc/rpcsvc/mount.x: Likewise.
45664         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45665         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45666         * sunrpc/rpcsvc/rex.x: Likewise.
45667         * sunrpc/rpcsvc/rstat.x: Likewise.
45668         * sunrpc/rpcsvc/rusers.x: Likewise.
45669         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45670         * sunrpc/rpcsvc/spray.x: Likewise.
45671         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45672         * sunrpc/rtime.c: Likewise.
45673         * sunrpc/svc.c: Likewise.
45674         * sunrpc/svc_auth.c: Likewise.
45675         * sunrpc/svc_authux.c: Likewise.
45676         * sunrpc/svc_raw.c: Likewise.
45677         * sunrpc/svc_run.c: Likewise.
45678         * sunrpc/svc_simple.c: Likewise.
45679         * sunrpc/svc_tcp.c: Likewise.
45680         * sunrpc/svc_udp.c: Likewise.
45681         * sunrpc/svc_unix.c: Likewise.
45682         * sunrpc/svcauth_des.c: Likewise.
45683         * sunrpc/xcrypt.c: Likewise.
45684         * sunrpc/xdr.c: Likewise.
45685         * sunrpc/xdr_array.c: Likewise.
45686         * sunrpc/xdr_float.c: Likewise.
45687         * sunrpc/xdr_mem.c: Likewise.
45688         * sunrpc/xdr_rec.c: Likewise.
45689         * sunrpc/xdr_ref.c: Likewise.
45690         * sunrpc/xdr_sizeof.c: Likewise.
45691         * sunrpc/xdr_stdio.c: Likewise.
45693         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45694         handling.
45696 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45698         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45700 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45702         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45703         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45704         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45705         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45706         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45707         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45708         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45709         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45710         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45711         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45712         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45713         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45714         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45715         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45717 2010-07-26  Anton Blanchard  <anton@samba.org>
45719         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45720         * malloc/arena.c (heap_trim): Likewise.
45722 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45724         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45725         here.  Not...
45726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45727         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45729 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45731         * sysdeps/i386/elf/Makefile: New file.
45733 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45735         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45736         from fanotify_init.
45737         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45740 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45742         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45743         of strncasecmp_l.
45744         * sysdeps/multiarch/strcmp.S: Likewise.
45746 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45748         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45749         strncase_l-nonascii.
45750         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45751         Add strncase_l-ssse3.
45752         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45753         * sysdeps/x86_64/strcmp.S: Likewise.
45754         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45755         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45756         * sysdeps/x86_64/strncase.S: New file.
45757         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45758         * sysdeps/x86_64/strncase_l.S: New file.
45759         * string/Makefile (strop-tests): Add strncasecmp.
45760         * string/test-strncasecmp.c: New file.
45762         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45763         warning.
45765         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45766         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45768 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45770         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45772 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45774         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45775         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45776         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45778 2010-05-01  Alan Modra  <amodra@gmail.com>
45780         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45781         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45782         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45783         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45784         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45785         tidying.  Don't tail-call __sigjmp_save for static lib.
45786         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45787         save location.
45788         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45789         (CALL_MCOUNT): Add eh info, and nop after bl.
45790         (TAIL_CALL_SYSCALL_ERROR): New macro.
45791         (PSEUDO_RET): Use it.
45792         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45793         Correct save location of integer regs and cr.
45794         (_dl_profile_resolve): Correct cr save location.  Delete nops
45795         after bl when SHARED.  Reduce cfi size a little by better
45796         placement of cfi directives.
45797         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45798         make a stack frame.  Instead use parm save area as a temp.
45799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45800         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45802         Don't make a stack frame for parent, use parm save area.
45803         Increase child stack frame to 112 bytes.  Don't save unused reg,
45804         and adjust reg usage.  Set up cfi on error recovery and
45805         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45807         (__makecontext): Add dummy nop after jump to exit.
45808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45809         Use correct parm save area and cr save, reduce stack frame.
45810         Correct cfi for possible PSEUDO_RET frame setup.
45811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45812         Branch to local label emitted by PSEUDO_RET rather than
45813         __syscall_error.
45815 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45817         [BZ #11904]
45818         * locale/programs/locale.c (print_assignment): New function.
45819         (show_locale_vars): Use it.
45821 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45823         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45824         field.
45825         (struct statfs64): Likewise.
45826         (_STATFS_F_FLAGS): Define.
45827         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45828         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45829         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45830         (ST_VALID): Define locally.
45831         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45832         __statvfs_getflags, use the provided value.
45833         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45834         __ASSUME_STATFS_F_FLAGS.
45836         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45838         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45839         Add sys/fanotify.h.
45840         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45841         fanotify_mask for GLIBC_2.13.
45842         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45843         fanotify_init and fanotify_mark.
45844         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45845         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45847         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45848         Add prlimit.
45849         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45850         prlimit64 for GLIBC_2.13.
45851         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45852         prlimit64.
45853         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45854         syscall.
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45857         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45858         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45859         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45860         add prlimit alias.
45861         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45863         [BZ #11903]
45864         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45865         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45867         * nss/Makefile: Add rules to build and run tst-nss-test1.
45868         * shlib-versions: Add entry for libnss_test1.
45869         * nss/nss_test1.c: New file.
45870         * nss/tst-nss-test1.c: New file.
45872         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45873         (__nss_configure_lookup): Set appropriate entry in
45874         __nss_configure_lookup to true.
45875         * nss/nsswitch.h: Define enum with indeces of databases in
45876         databases and __nss_database_custom arrays.  Declare
45877         __nss_database_custom.
45878         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45879         to avoid using nscd when custom rules are installed.
45880         * nss/getXXbyYY_r.c: Likewise.
45881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45883         * nss/nss_files/files-parse.c: Whitespace fixes.
45885 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45887         [BZ #11883]
45888         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45889         * posix/fnmatch_loop.c: Likewise.
45891 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45893         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45894         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45895         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45896         * Versions.def [GLIBC_2.13]: Add.
45898 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45900         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45901         Also fail if tpwd after pwuid call is NULL.
45903 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45905         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45906         when converting to ms.
45908 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45910         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45911         EOPNOTSUPP errors with ENOTTY.
45912         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45913         EOPNOTSUPP errors with ENOTTY.
45915 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45917         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45918         Add strcasecmp_l-ssse3.
45919         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45920         strcasecmp.
45921         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45922         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45923         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45925 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45927         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45929         * string/Makefile (strop-tests): Add strcasecmp.
45930         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45931         strcasecmp_l-nonascii.
45932         (gen-as-const-headers): Add locale-defines.sym.
45933         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45934         * sysdeps/x86_64/strcasecmp.S: New file.
45935         * sysdeps/x86_64/strcasecmp_l.S: New file.
45936         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45937         * sysdeps/x86_64/locale-defines.sym: New file.
45938         * string/test-strcasecmp.c: New file.
45940         * string/test-strcasestr.c: Test both ends of the range of characters.
45941         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45943 2010-07-29  Roland McGrath  <roland@redhat.com>
45945         [BZ #11856]
45946         * manual/locale.texi (Yes-or-No Questions): Fix example code.
45948 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
45950         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45951         for ld.so.
45953 2010-07-27  Andreas Schwab  <schwab@redhat.com>
45955         * manual/memory.texi (Malloc Tunable Parameters): Document
45956         M_PERTURB.
45958 2010-07-26  Roland McGrath  <roland@redhat.com>
45960         [BZ #11840]
45961         * configure.in (-fgnu89-inline check): Set and substitute
45962         gnu89_inline, not libc_cv_gnu89_inline.
45963         * configure: Regenerated.
45964         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45966 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
45968         * string/test-strnlen.c: New file.
45969         * string/Makefile (strop-tests): Add strnlen.
45970         * string/tester.c (test_strnlen): Add a few more test cases.
45971         * string/tst-strlen.c: Better error reporting.
45973         * sysdeps/x86_64/strnlen.S: New file.
45975 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
45977         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45978         lower-latency instructions.
45980 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
45982         * string/test-strcasestr.c: New file.
45983         * string/test-strstr.c: New file.
45984         * string/Makefile (strop-tests): Add strstr and strcasestr.
45985         * string/str-two-way.h: Don't undefine MAX.
45986         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45988 2010-07-21  Andreas Schwab  <schwab@redhat.com>
45990         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45991         strcasestr-nonascii.
45992         (CFLAGS-strcasestr-nonascii.c): Define.
45993         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45994         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45995         Remove unused attribute.
45997 2010-07-20  Roland McGrath  <roland@redhat.com>
45999         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46000         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46001         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46002         like LD_HWCAP_MASK can disable hwcaps.
46004 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46006         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46008 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46010         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46011         call in strcasestr.
46012         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46013         __strcasestr_sse42_nonascii.
46014         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46015         strcasestr-nonascii.c.
46016         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46018 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46020         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46021         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46022         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46023         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46025 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46027         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46028         fcntl.
46030 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46032         [BZ #11577]
46033         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46034         dl_signal_cerror.
46036 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46038         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46039         _PC_PIPE_BUF using F_GETPIPE_SZ.
46041 2010-07-05  Roland McGrath  <roland@redhat.com>
46043         * manual/arith.texi (Rounding Functions): Fix rint description
46044         implicit in round description.
46046 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46048         * elf/Makefile: Fix linking for a few tests to make recent linker
46049         happy.
46051 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46053         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46054         $(common-objpfx)libc_nonshared.a.
46056 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46058         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46059         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46060         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46061         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46062         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46063         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46064         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46065         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46080         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46081         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46082         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46083         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46084         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46085         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46086         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46087         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46088         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46089         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46090         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46091         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46107 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46109         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46110         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46111         * string/memmove.c (memmove): Renamed to ...
46112         (MEMMOVE): ...this.  Default to memmove.
46113         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46114         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46115         (END_CHK): Define.
46116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46117         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46118         mempcpy-ssse3-back memmove-ssse3-back.
46119         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46120         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46121         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46122         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46123         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46124         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46125         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46126         * sysdeps/x86_64/multiarch/memmove.c: New file.
46127         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46128         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46129         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46130         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46131         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46132         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46133         Define.
46134         (index_Fast_Copy_Backward): Define.
46135         (HAS_ARCH_FEATURE): Define.
46136         (HAS_FAST_REP_STRING): Define.
46137         (HAS_FAST_COPY_BACKWARD): Define.
46139 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46141         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46142         Restore proper fallback handling.
46144 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46146         [BZ #11701]
46147         * posix/group_member.c (__group_member): Correct checking loop.
46149         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46150         OOM in getpwuid_r correctly.  Return error number when the caller
46151         should return, otherwise -1.
46152         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46153         call returning > 0 value.
46154         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46156 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46158         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46159         libc_nonshared.a from targets in modules-names.
46161 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46163         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46164         requires it.
46166 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46168         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46169         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46170         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46171         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46173 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46175         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46177 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46179         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46180         and F_GETPIPE_SZ.
46181         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46182         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46185         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46186         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46188 2010-06-14  Roland McGrath  <roland@redhat.com>
46190         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46192 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46194         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46195         __REDIRECT followed by __THROW.
46196         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46197         * posix/getopt.h (getopt): Likewise.
46199 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46201         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46202         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46203         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46204         in AT_FLAGS.
46205         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46206         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46208 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46210         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46212 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46214         [BZ #11640]
46215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46216         Properly check family and model.
46218 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46220         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46222 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46224         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46226 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46228         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46229         symbol reference.
46231 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46233         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46234         symbol reference.
46236 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46238         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46239         and internal_recvmmsg.
46240         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46241         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46242         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46243         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46245         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46246         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46247         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46249 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46251         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46253 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46255         POWER7 optimizations.
46256         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46257         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46259 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46261         * version.h: Update for 2.13 development version.
46263 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46265         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46266         exceptions.  Return 0.
46268 2010-05-07  Roland McGrath  <roland@redhat.com>
46270         * elf/ldconfig.c (main): Add a const.
46272 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46274         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46275         (args_options): Add no-idn option.
46276         (ahosts_keys_int): Add idn_flags to ai_flags.
46277         (parse_option): Handle 'i' option to clear idn_flags.
46279         * malloc/malloc.c (_int_free): Possible race in the most recently
46280         added check.  Only act on the data if no current modification
46281         happened.
46283 See ChangeLog.17 for earlier changes.